:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172026;background:#f5f6f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f6f8}button,input,select,textarea{font:inherit}button{cursor:pointer}main{width:min(1480px,calc(100% - 32px));margin:0 auto;padding:26px 0 40px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;border-bottom:1px solid #d8dee6}.brand-line{display:flex;align-items:center;gap:9px;color:#52606b;font-size:.9rem;font-weight:800}h1,h2{margin:0;letter-spacing:0}h1{margin-top:6px;font-size:clamp(2rem,4vw,3.15rem);line-height:1}h2{font-size:1rem}.top-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.refresh-button,.primary-action,.icon-button,.segmented button{border:1px solid #cbd5df;background:#fff;color:#172026;border-radius:8px}.refresh-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:800}.refresh-button:disabled,.primary-action:disabled{opacity:.62}.stats-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.stat{min-height:86px;padding:15px;border:1px solid #d8dee6;background:#fff;border-radius:8px}.stat svg{color:#256b76}.stat span{display:block;margin-top:8px;color:#5f6c77;font-size:.86rem;font-weight:700}.stat strong{display:block;margin-top:4px;font-size:1.85rem}.workspace{display:grid;grid-template-columns:minmax(330px,460px) minmax(0,1fr);gap:18px;align-items:start}.form-panel,.list-panel{border:1px solid #d8dee6;background:#fffffff5;border-radius:8px}.form-panel{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;padding:16px}.list-panel{min-width:0;padding:16px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-heading>div{display:flex;align-items:center;gap:9px}.panel-heading svg{color:#256b76}.list-heading>span{color:#64727f;font-size:.9rem;font-weight:800}.app-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:grid;gap:6px}label span{color:#56636e;font-size:.82rem;font-weight:800}.wide{grid-column:1 / -1}input,select,textarea{width:100%;border:1px solid #cbd5df;border-radius:8px;background:#fbfcfd;color:#172026;outline:none}input,select{height:40px;padding:0 10px}textarea{min-height:82px;padding:10px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#256b76;box-shadow:0 0 0 3px #256b7624}.toggle-line{display:flex;align-items:center;gap:9px}.toggle-line input{width:18px;height:18px}.primary-action{min-height:42px;background:#173a45;color:#fff;border-color:#173a45;font-weight:900}.form-error,.empty-state.error{color:#a2323f}.filters{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;margin-bottom:14px}.search-field{position:relative;display:block}.search-field svg{position:absolute;left:11px;top:11px;color:#64727f}.search-field input{padding-left:38px}.segmented{display:flex;align-items:center;gap:6px;min-height:40px;padding:4px;border:1px solid #d8dee6;border-radius:8px;background:#f1f4f7;overflow-x:auto}.segmented button{min-height:30px;padding:0 10px;white-space:nowrap;font-weight:750}.segmented button.selected{background:#173a45;color:#fff;border-color:#173a45}.rows{display:grid;gap:10px}.app-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;padding:13px;border:1px solid #d8dee6;border-radius:8px;background:#fff}.app-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:8px;color:#fff;font-weight:950}.app-mark[data-health=healthy]{background:#2f7a56}.app-mark[data-health=attention]{background:#9a6b20}.app-mark[data-health=broken]{background:#a2323f}.app-mark[data-health=unknown]{background:#52606b}.app-main{min-width:0}.app-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.app-title strong{font-size:1.03rem}.app-title span,.app-description,.app-meta,.notes-line{color:#64727f;font-size:.88rem}.app-description{margin:4px 0 0}.app-meta,.link-line{display:flex;flex-wrap:wrap;gap:10px;margin-top:7px}.app-meta span,.link-line a{display:inline-flex;align-items:center;gap:4px;min-width:0}.app-meta span{max-width:100%;overflow-wrap:anywhere}.link-line a{color:#1f6370;text-decoration:none;font-weight:750}.notes-line{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.notes-line em{font-style:normal;color:#1f6370;background:#e7f2f4;border-radius:999px;padding:2px 8px}.row-status{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.status-pill,.health-pill{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;font-size:.8rem;font-weight:900}.status-active{background:#e6f3ec;color:#2f7a56}.status-planned{background:#e9f1fb;color:#285f96}.status-paused{background:#fff2d8;color:#7a5618}.status-archived{background:#eef1f4;color:#52606b}.health-healthy{background:#e6f3ec;color:#2f7a56}.health-attention{background:#fff2d8;color:#7a5618}.health-broken{background:#fae8eb;color:#a2323f}.health-unknown{background:#eef1f4;color:#52606b}.row-actions{display:flex;gap:6px}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;padding:0}.icon-button:hover,.refresh-button:hover,.segmented button:hover{border-color:#7f94a5}.icon-button.danger{color:#a2323f}.empty-state{display:grid;place-items:center;min-height:140px;color:#64727f;border:1px dashed #cbd5df;border-radius:8px;background:#fbfcfd}.auth-shell{display:grid;place-items:center;min-height:100vh;width:min(100% - 32px,520px);padding:24px 0}.auth-panel{width:100%;border:1px solid #d8dee6;background:#fff;border-radius:8px;padding:24px}.auth-panel .primary-action{width:100%;margin-top:20px}@media(max-width:1040px){main{width:min(100% - 24px,820px);padding-top:18px}.workspace,.stats-band{grid-template-columns:1fr}.list-panel{order:1}.form-panel{order:2;position:static;max-height:none}.filters{grid-template-columns:1fr}}@media(max-width:680px){.topbar{align-items:flex-start;flex-direction:column;padding-bottom:14px}.top-actions{justify-content:flex-start}.app-form{grid-template-columns:1fr}.app-row{grid-template-columns:42px minmax(0,1fr)}.app-mark{width:42px;height:42px}.row-status{grid-column:1 / -1;align-items:stretch;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.row-actions{justify-content:flex-end}}
