:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;color:#243831;background:#f5f6f3;font-size:14px;color-scheme:light;--ink:#243831;--muted:#748078;--border:#dfe5dc;--sage:#426750}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--border);background:#fff;border-radius:9px;color:inherit;padding:10px 14px;white-space:nowrap;transition:background .15s,border-color .15s}button:hover{background:#eef3ec;border-color:#bbcbb9}button:disabled{opacity:.45;cursor:default}input,select,textarea{border:1px solid #d8dfd5;border-radius:8px;padding:10px 12px;background:#fff;color:inherit;min-width:0;max-width:100%}textarea{resize:vertical;line-height:1.6}input:focus-visible,select:focus-visible,button:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #678573;outline-offset:2px}.primary{background:#365a47;color:#fff;border-color:#365a47}.primary:hover{background:#294b3a}.subtle{background:transparent;border-color:transparent;color:#6f7b71}.brand{display:flex;align-items:center;gap:12px;line-height:1.3}.brand b{font-size:17px;letter-spacing:1px}.brand small{display:block;color:#768571;font-size:12px;margin-top:4px}.brand-mark{font-size:38px;line-height:1;font-weight:300;color:#52735c}.shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100vh}.sidebar{background:#eef1e9;border-right:1px solid var(--border);padding:30px 18px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:auto}.sidebar .brand{padding:0 14px 35px}.nav-link{border:0;background:transparent;width:100%;text-align:left;color:#68766b;display:flex;gap:10px;align-items:center;margin:3px 0;padding:11px 14px}.nav-link span{width:18px;text-align:center}.nav-link.selected{color:#2c4c37;background:#dde6d6;font-weight:600}.side-caption{font-size:11px;color:#85907d;margin:32px 14px 12px;letter-spacing:1px}.sidebar select{font-size:13px;background:#f7f9f4;width:100%;margin-bottom:12px}.side-bottom{margin-top:auto;padding:32px 14px 0;color:#7d8977;font-size:12px}.side-bottom small{display:block;font-size:11px;margin-top:8px}.live-dot{width:6px;height:6px;background:#7b946b;border-radius:100%;display:inline-block;margin-right:7px}.workspace{min-width:0}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid #e7eae2;gap:10px}.topbar #breadcrumb{font-size:12px;color:#7e8a79;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar #breadcrumb span{margin:0 10px;color:#b7c0af}.top-actions{display:flex;gap:4px}main{max-width:1450px;margin:36px auto;padding:0 40px 28px}h1{font-size:30px;letter-spacing:-.7px;margin:10px 0;font-weight:550}h2{font-size:18px;font-weight:550;margin:0}p{color:#748071;line-height:1.7}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:#84927b}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.heading p{margin:6px 0;max-width:700px;white-space:pre-wrap;overflow-wrap:anywhere}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:30px}.stat{padding:22px 24px;border:1px solid var(--border);background:#fafbf8;border-radius:12px}.stat small{display:block;color:#75816e;font-size:12px}.stat strong{display:block;font-size:32px;line-height:1.4;font-weight:400;margin-top:10px;letter-spacing:-1px}.stat p{margin:4px 0 0;font-size:11px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 18px}.section-title input{width:210px;background:transparent;font-size:12px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.project-card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:border-color .2s,box-shadow .2s}.project-card:hover{border-color:#b4c4ac;box-shadow:0 8px 28px #2a4c3410}.project-card-head{display:flex;gap:14px;align-items:center;padding:24px 24px 0}.project-emblem{background:#e8eee1;border:1px solid #d6e0cf;border-radius:12px;display:grid;place-items:center;min-width:45px;height:45px;font-size:20px;color:#607b50}.project-card h3{font-size:17px;font-weight:600;margin:0 0 5px}.project-card-head small{font-size:11px;color:#839078}.project-card>p{font-size:13px;margin:16px 24px;min-height:42px;overflow-wrap:anywhere}.chips{display:flex;flex-wrap:wrap;gap:7px;padding:0 24px 23px}.chip{font-size:11px;padding:5px 8px;border-radius:5px;background:#f1f4ed;color:#75856a}.card-footer{border-top:1px solid #edf0e8;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 22px;background:#fcfdfb}.card-footer small{color:#819078;font-size:11px}.card-footer button{font-size:12px;border:0;background:transparent;padding:6px;color:#466339}.panel{border:1px solid var(--border);background:white;border-radius:12px;padding:24px;margin-bottom:18px}.panel h2{margin-bottom:14px}.empty{text-align:center;padding:36px 20px;color:#85907e;font-size:13px;line-height:1.9}.empty strong{display:block;color:#55674e;font-size:15px;font-weight:500}.filters{display:flex;gap:10px;padding:16px}.filters input{width:290px;max-width:55%}.filters button{margin-left:auto}.table-panel{padding:0;overflow:hidden}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;color:#7d8977;font-weight:500;background:#fafbf7;padding:13px 16px}td{padding:16px;border-top:1px solid #edf0e9;font-size:12px}td small{display:block;color:#879180;font-size:10px;margin-top:6px}td:first-child{white-space:normal;min-width:170px;max-width:250px;overflow-wrap:anywhere}.actions{display:flex;gap:6px}.actions button{padding:6px 8px;font-size:11px}.pill{display:inline-block;background:#edf3e6;color:#607848;border-radius:5px;padding:4px 7px;font-size:11px}.pill.muted{background:#f1f1ef;color:#83867e}.footnote,.hint{font-size:12px}.footnote{margin:28px 0;color:#939c8c}.login{max-width:440px;margin:12vh auto 6vh;padding:30px}.login .brand{margin-bottom:50px}.login h1{font-size:30px;margin-top:18px}.login>p{font-size:14px}.login form{margin-top:30px}.login form>.primary{display:flex;justify-content:space-between}.login>small{display:block;text-align:center;color:#9aa38f;margin-top:32px;font-size:11px}label{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:12px}label small{color:#89947f;font-size:11px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}form>.primary{width:100%;margin-top:8px}dialog{border:1px solid #dce2d5;border-radius:16px;padding:26px;width:min(450px,calc(100vw - 32px));max-height:90vh;overflow:auto;box-shadow:0 20px 90px #18362329;color:inherit}dialog::backdrop{background:#1d302746;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:22px}.icon{border:0;background:transparent;font-size:22px;padding:0 4px}.module-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.module-options label{flex-direction:row;align-items:center;gap:8px;margin:0;padding:9px;background:#f5f7f1;border-radius:7px}.module-options input{accent-color:#426750}fieldset{border:1px solid var(--border);border-radius:9px;margin:0 0 14px;padding:14px}legend{font-size:12px;padding:0 5px}fieldset .hint{font-size:11px;margin-bottom:0}#code{width:100%;height:88px;resize:none;font:13px ui-monospace,monospace;margin-bottom:15px;line-height:1.7}#issued button{margin:0 6px 6px 0}#message{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#284838;color:white;box-shadow:0 8px 30px #0002;border-radius:10px;padding:12px 20px;z-index:100;max-width:min(540px,90vw)}#audit-list article,.record{padding:16px 0;border-top:1px solid #e4e9df}.record:first-child{border-top:0}.record-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.record-head b{font-size:14px;font-weight:500;overflow-wrap:anywhere}.record p{margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.record small{color:#8a9581;font-size:11px}.record a{color:#45653b;overflow-wrap:anywhere;text-decoration:none}.record .actions{flex-shrink:0}#audit-list small{color:#83907b;display:block;margin-bottom:7px}.trend{display:flex;align-items:end;gap:5px;height:130px;margin-top:28px;padding-bottom:20px;overflow:auto}.trend-column{min-width:18px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;gap:6px}.trend-column meter{writing-mode:vertical-lr;transform:rotate(180deg);height:90px;width:14px;accent-color:#8da47b}.trend-column small{font-size:9px;color:#8d9787}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.welcome-panel{background:#edf2e6}.metric-note{font-size:12px;color:#86917d;line-height:1.8}.inline-actions{display:flex;flex-wrap:wrap;gap:8px}.inline-actions button{font-size:12px}[hidden]{display:none!important}@media(max-width:1050px){.shell{grid-template-columns:185px minmax(0,1fr)}main{padding:0 24px}.topbar{padding:0 24px}.project-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:18px}.two-col{grid-template-columns:1fr}}@media(max-width:680px){.shell{display:block}.sidebar{position:static;height:auto;padding:18px;gap:0}.sidebar .brand{padding:0 0 18px}.sidebar #home{width:auto}.side-caption,.side-bottom{display:none}.sidebar #project-nav{display:flex;overflow:auto;gap:4px}.sidebar #project-nav button{width:auto}.sidebar select{margin:12px 0 8px}.topbar{height:58px;padding:0 18px}main{padding:0 18px;margin:24px auto}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat{padding:12px}.stat strong{font-size:27px}.stat p{font-size:10px}.heading{align-items:flex-start;gap:12px}h1{font-size:25px}.heading>.primary,.heading>button{font-size:12px;padding:9px 10px}.section-title input{width:145px}.record-head{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Owner workspace: compact navigation, readable records, content-sized tools. */
:root{--ink:#293a31;--muted:#657269;--border:#dce2dc;--sage:#456b50;background:#f4f6f3;color:var(--ink);font-size:14px}
button{min-height:36px;padding:8px 12px;border-radius:7px;transition:background .14s,border-color .14s;color:var(--ink)}
button:disabled:hover{background:revert;border-color:var(--border)}
.primary{color:#fff}.subtle{color:var(--muted)}
input,select,textarea{border-radius:7px;min-height:36px;padding:8px 10px;line-height:1.5}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:-2px}
label{font-size:13px;gap:6px;margin-bottom:15px}label small,.hint{font-size:12px;color:var(--muted)}
input[type=checkbox]{min-height:0}p{color:var(--muted)}
.shell{grid-template-columns:204px minmax(0,1fr)}
.sidebar{padding:23px 12px 16px;background:#edf0eb;gap:0}
.sidebar .brand{padding:0 12px 24px}.brand b{font-size:16px;letter-spacing:.3px}.brand small{font-size:12px;color:var(--muted)}
.brand-mark{font-size:34px}.nav-link{padding:10px 12px;font-size:13px;min-height:40px;border-radius:7px;margin:2px 0;color:#5d6b61;white-space:normal}
.nav-link.selected{background:#dfe8dd;color:#314e3a}.nav-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.side-caption{font-size:12px;letter-spacing:0;margin:25px 12px 10px;color:var(--muted)}
.sidebar select{font-size:13px;background:#f9faf7;margin-bottom:14px}.side-bottom{padding:18px 12px 0;color:var(--muted);font-size:12px}.side-bottom small{font-size:12px;line-height:1.6}
.topbar{height:58px;padding:0 28px;background:#f9faf7;border-color:var(--border);position:sticky;top:0;z-index:5}
.topbar #breadcrumb{font-size:13px;color:var(--muted)}.top-actions button{font-size:12px}
main{max-width:1500px;margin:25px auto 0;padding:0 28px 24px}
h1{font-size:25px;font-weight:600;letter-spacing:-.35px;margin:5px 0 7px;overflow-wrap:anywhere}h2{font-size:16px;font-weight:600;line-height:1.5}
.eyebrow{font-size:12px;letter-spacing:.8px;color:#697b69}.heading{gap:18px;margin-bottom:23px;align-items:flex-start}.heading>div{min-width:0}.heading>button{flex:none;margin-top:5px}.heading p{font-size:13px;margin:0;line-height:1.7}
.stats{background:#fafbf8;border:1px solid var(--border);border-radius:9px;gap:0;margin-bottom:22px;overflow:hidden}
.stat{padding:16px 20px;border:0;border-right:1px solid var(--border);background:transparent;border-radius:0;min-width:0}.stat:last-child{border:0}.stat small{font-size:12px;color:var(--muted);line-height:1.5}.stat strong{font-size:29px;font-weight:500;line-height:1.25;margin:6px 0 0;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.stat p{font-size:12px;color:var(--muted);line-height:1.5;margin-top:5px}
.section-title{margin:20px 0 13px;gap:10px}.section-title>.primary{font-size:13px}.section-title input{background:white;font-size:13px}
.project-tools{align-items:center;flex-wrap:wrap}.title-with-count,.project-filters{display:flex;align-items:center;gap:10px}.project-filters{flex-wrap:wrap}.project-filters select{max-width:170px;font-size:13px}.result-count{font-size:12px;color:var(--muted);white-space:nowrap}
.project-grid{gap:14px}.project-card{border-radius:10px}.project-card:hover{box-shadow:0 3px 12px #2a4c3408}.project-card-head{padding:18px 20px 0;gap:12px}.project-card-head>div{min-width:0}.project-card h3{font-size:16px;overflow-wrap:anywhere;line-height:1.6}.project-card-head small{font-size:12px;color:var(--muted)}.project-emblem{min-width:39px;height:39px;border-radius:9px;font-size:18px}
.project-card>p{margin:12px 20px;min-height:40px;color:var(--muted);font-size:13px}.chips{padding:0 20px 16px;gap:6px}.chip{font-size:12px;background:#eff3ec;color:#5d7057;padding:4px 7px}.card-footer{padding:10px 18px;flex-wrap:wrap;gap:6px}.card-footer small{font-size:12px;line-height:1.6;color:var(--muted)}.card-footer button{font-size:13px}.project-grid>.empty{grid-column:1/-1}
.panel{border-radius:9px;padding:20px;margin-bottom:16px}.panel h2{margin-bottom:12px}.panel>p{font-size:13px}.panel.table-panel{padding:0;overflow:hidden}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:18px}.overview-grid>div{min-width:0}.summary-panel .section-title{margin:0 0 10px}.summary-panel .section-title h2{margin:0}.summary-panel .section-title button{background:transparent;border-color:transparent;color:var(--muted);padding:4px 0;font-size:12px}.summary-panel .empty{padding:20px 0}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #e8ece5;font-size:13px}.summary-row>span:first-child{overflow-wrap:anywhere}.summary-row button{padding:4px 10px;font-size:12px;min-height:30px;flex:none}.summary-description{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.resource-link{display:block;padding:10px 0;border-top:1px solid #e8ece5;font-size:13px;color:#426750;text-decoration:none;overflow-wrap:anywhere}.resource-link:hover{text-decoration:underline}
.quick-panel{background:#eef3ea}.quick-actions{display:flex;flex-direction:column;gap:4px}.quick-action{display:flex;align-items:center;text-align:left;gap:12px;border-color:transparent;background:transparent;padding:10px 8px;white-space:normal;width:100%}.quick-action>span{min-width:0}.quick-action b{display:block;font-size:13px;font-weight:550}.quick-action small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:3px}.quick-action .arrow{margin-left:auto;font-size:16px;color:#73856c}.setup-panel p{line-height:1.7}.setup-panel button{font-size:13px}
.filters{padding:14px;flex-wrap:wrap;gap:8px}.filters input{flex:1 1 190px;width:auto;max-width:none}.filters select{font-size:13px}.filters button{font-size:13px;margin-left:0}.table-wrap{padding-bottom:2px}th{font-size:12px;color:var(--muted);padding:12px 14px}td{font-size:13px;padding:14px}td small{font-size:12px;color:var(--muted)}td:first-child{min-width:170px}td:nth-child(4){white-space:normal;min-width:110px;max-width:180px;overflow-wrap:anywhere}.actions button{font-size:12px;min-height:30px;padding:5px 8px}.pill{font-size:12px;color:#4d6c45}.pill.muted{color:#697168}
.empty{font-size:13px;padding:28px 18px;line-height:1.8;color:var(--muted)}.empty strong{font-size:14px;color:#485f4c;font-weight:550;margin-bottom:5px}.empty button{margin-top:13px;font-size:13px}.load-error{border:1px solid var(--border);border-radius:9px;background:#fff;min-height:190px}
.item-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.item-toolbar input{max-width:300px;flex:1 1 160px}.item-toolbar select{font-size:13px}.item-toolbar .result-count{margin-left:auto}.record{padding:14px 0}.record-head b{font-size:14px;min-width:0}.record p{font-size:13px;color:var(--muted);line-height:1.7}.record small{font-size:12px;color:var(--muted)}.record .actions{flex-wrap:wrap}.is-complete .record-head>b{color:var(--muted)}.customer-search{width:100%;margin-bottom:10px;font-size:13px}.customer-list{max-height:340px;overflow:auto;padding:2px 3px}.customer-panel h2{margin-bottom:13px}
.footnote{font-size:12px;color:var(--muted);line-height:1.7;border-top:1px solid var(--border);margin:20px 0 0;padding:14px 0 0}.trend-column small{font-size:11px;color:var(--muted)}.trend-column{min-width:30px}
dialog{padding:22px;border-radius:12px;max-height:calc(100dvh - 40px);width:min(450px,calc(100vw - 32px))}.dialog-head{gap:12px;margin-bottom:18px}.dialog-head h2{font-size:18px}.icon{min-width:32px;min-height:32px;font-size:22px}.module-options{gap:8px}.module-options label{font-size:13px;padding:9px}.module-options input{flex:none}fieldset .hint{font-size:12px}.login>small{font-size:12px;color:var(--muted)}
@media(max-width:1100px){.overview-grid{grid-template-columns:minmax(0,1fr) 270px}.shell{grid-template-columns:185px minmax(0,1fr)}main{padding:0 22px}.topbar{padding:0 22px}.project-grid{grid-template-columns:1fr}.stat{padding:15px 16px}}
@media(max-width:880px){.overview-grid{grid-template-columns:1fr}.overview-grid>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:14px}.overview-grid>div:last-child>.panel:only-child{grid-column:1/-1}.project-filters{width:100%}.project-filters input{flex:1;width:auto;min-width:140px}.record-head{flex-wrap:wrap}}
@media(max-width:680px){.shell{display:block}.sidebar{position:static;height:auto;padding:16px}.sidebar .brand{padding:0 0 14px}.sidebar #home{width:auto}.side-caption,.side-bottom{display:none}.sidebar #project-nav{display:flex;overflow:auto;gap:4px;padding:3px}.sidebar #project-nav button{flex:none;white-space:nowrap}.sidebar select{margin:10px 0 8px}.topbar{height:54px;padding:0 16px}main{padding:0 16px;margin-top:20px}h1{font-size:23px}.heading{margin-bottom:18px;gap:10px}.heading>button{font-size:12px}.stat{padding:12px 10px}.stat strong{font-size:25px}.stat p{font-size:12px}.overview-grid>div:last-child{display:block}.project-filters{gap:8px}.project-filters select{max-width:145px}.panel{padding:16px}.filters{padding:12px}.filters input{flex-basis:100%}.filters select{flex:1;min-width:0}.filters button{width:100%}.item-toolbar{gap:8px}.item-toolbar input{max-width:none}.record-head{gap:10px}.record .actions{gap:6px}.title-with-count{gap:8px}.form-row{gap:10px}.module-options label{font-size:12px}.footnote{margin-top:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.loading-status{font-size:13px;color:var(--muted);padding:12px 0;margin:0}body[aria-busy=true] #project-nav{pointer-events:none}
/* Package publishing stays compact; long hashes and release notes wrap. */
#release-dialog{width:min(520px,calc(100vw - 28px))}.upload-box{padding:14px;border:1px dashed var(--line,#cdd7d3);border-radius:12px;margin:12px 0}.upload-box input[type=file]{padding:8px;font-size:13px;max-width:100%}.upload-box progress{width:100%;height:7px;margin-top:12px;accent-color:#47705b}.upload-box .actions{flex-wrap:wrap;gap:8px}.release-checksum{font-size:12px;color:var(--muted,#67746e);margin-top:12px}.release-checksum code{display:block;overflow-wrap:anywhere;padding-top:8px}.release-record>.quiet{margin-left:12px}.release-preview-notes{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto}#publish-dialog{width:min(440px,calc(100vw - 28px))}#publish-confirm{width:100%}.release-record>p{white-space:pre-wrap;overflow-wrap:anywhere}
#release-dialog label{margin:10px 0;gap:6px}#release-dialog .dialog-head{margin-bottom:12px}#release-dialog .upload-box{padding:12px;margin:10px 0}#release-dialog .upload-box label:first-child{margin-top:0}#release-dialog .hint{line-height:1.5;margin:10px 0}#release-dialog textarea{min-height:66px}body:has(dialog[open]){overflow:hidden}

#operations-dialog{width:min(460px,calc(100vw - 32px))}#operations-dialog .summary-row{align-items:flex-start;flex-wrap:wrap}#operations-dialog .summary-row span{overflow-wrap:anywhere}#operations-content{margin-bottom:16px}
