:root{font-family:Inter,Arial,sans-serif;color:#172033;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}.stage{background:#f59e0b;color:#241500;padding:10px 24px;font-weight:700;text-align:center}.shell{min-height:100vh;display:grid;place-items:center;padding:32px}.card{width:min(440px,100%);background:#fff;border:1px solid #e4e8f0;border-radius:16px;padding:32px;box-shadow:0 18px 50px rgba(23,32,51,.08)}h1{font-size:26px;margin:0 0 8px}h2{font-size:19px;margin:0 0 18px}h3{margin:10px 0 4px}p{color:#637083;line-height:1.5}.field{margin:16px 0}.field label{display:block;font-weight:600;margin-bottom:7px}.field input,.field select,.field textarea,.inline-actions input{width:100%;border:1px solid #cfd6e3;border-radius:10px;padding:11px 13px;font:inherit;background:#fff}.field small,summary small{display:block;color:#7b8798;margin-top:5px}.button,.secondary-button,.danger-button{border:0;border-radius:10px;padding:11px 16px;font-size:14px;font-weight:700;cursor:pointer}.button{width:100%;background:#18b663;color:#fff}.button.compact{width:auto}.secondary-button{background:#e7f6ed;color:#147a45}.danger-button{background:#fff0f0;color:#a32a2a}.alert{padding:12px 15px;border-radius:10px;margin-bottom:18px}.error{background:#fff1f1;color:#a81f1f}.success{background:#eaf9f0;color:#146c3b}.topbar{display:flex;gap:24px;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #e4e8f0;padding:16px 24px}.topbar nav{display:flex;gap:20px;margin-left:auto}.topbar a{color:#526072;text-decoration:none}.topbar a.active,.topbar a:hover{color:#147a45}.content{max-width:1240px;margin:0 auto;padding:32px 24px}.panel{background:#fff;border:1px solid #e4e8f0;border-radius:14px;padding:24px}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-title p{margin:4px 0}.grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:22px}.side{align-self:start}.link-button{border:0;background:none;color:#147a45;cursor:pointer;font:inherit}.badge{display:inline-block;padding:4px 8px;border-radius:99px;font-size:12px}.badge.ok{background:#eaf9f0;color:#146c3b}.badge.muted{background:#eef1f5;color:#657184}.record-list,.project-list{display:grid;gap:10px}.record,.project-card{border:1px solid #e4e8f0;border-radius:12px;background:#fff}.record summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px;cursor:pointer;list-style:none}.record summary::-webkit-details-marker{display:none}.record-body{border-top:1px solid #edf0f5;padding:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-actions{grid-column:1/-1}.inline-actions{display:flex;align-items:end;justify-content:space-between;gap:12px;border-top:1px solid #edf0f5;margin-top:18px;padding-top:16px}.inline-actions form:first-child{display:flex;gap:8px;flex:1}.manager-form{border-top:1px solid #edf0f5;margin-top:18px;padding-top:2px}.archive-form{margin-top:14px}.project-card{padding:18px}.project-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0 0}.project-card dt{font-size:12px;color:#7b8798}.project-card dd{margin:4px 0 0}.domains{margin:0}.project-status.status-active{background:#eaf9f0;color:#146c3b}.project-status.status-paused{background:#fff4d6;color:#885f00}.project-status.status-completed,.project-status.status-archived{background:#eef1f5;color:#657184}.project-status.status-new{background:#e8f2ff;color:#225f9e}@media(max-width:800px){.grid,.form-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-wrap:wrap}.topbar nav{order:3;width:100%;overflow-x:auto;margin:0}.content{padding:22px 14px}.inline-actions{align-items:stretch;flex-direction:column}.inline-actions form:first-child{flex-direction:column}.inline-actions form,.inline-actions button{width:100%}.project-card dl{grid-template-columns:1fr}}
