:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#223531;background:#f4f6f5;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;background:#fff;color:#294940;border:1px solid #cfdbd5;border-radius:8px;padding:10px 15px;min-height:42px;font-weight:600}button:hover{background:#f0f5f2;border-color:#7c9b8d}button:disabled{cursor:wait;opacity:.55}button.primary{background:#206d58;border-color:#206d58;color:#fff}button.danger{color:#a43132;border-color:#e3bcbc}button.quiet{border-color:transparent;background:transparent}a{color:#1d725e;text-decoration:none;overflow-wrap:anywhere}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.5px;font-weight:650;margin-bottom:8px}h2{font-size:19px;font-weight:650;margin-bottom:16px}h3{font-size:15px}p{line-height:1.7}small,.muted{color:#6b7d77;line-height:1.65}.shell{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:100vh}.sidebar{background:#143d38;color:#d2e5de;padding:28px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow-y:auto}.brand{font-weight:700;font-size:21px;padding:0 12px 28px;color:#fff;letter-spacing:1px}.brand small{display:block;font-weight:400;font-size:11px;letter-spacing:2px;margin-top:10px;color:#9bb8aa}.nav{display:grid;gap:7px}.nav button{color:#c4d7cf;background:transparent;border:none;text-align:left;padding:13px 16px;display:flex;gap:13px;font-weight:500}.nav button.active{background:#2a554b;color:#fff}.nav em{font-size:11px;font-style:normal;color:#91b5a5}.sidebar-foot{margin-top:auto;padding:30px 12px 0;color:#a8c4b7;font-size:12px;line-height:1.8}.main{padding:32px 40px;max-width:1440px;width:100%}.topline{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:28px}.breadcrumb{font-size:12px;color:#708278}.top-actions{display:flex;gap:8px;align-items:center;font-size:12px}.pagehead{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.pagehead p{margin-bottom:0;color:#6b7d77}.eyebrow{font-size:11px;letter-spacing:2px;color:#40826a;margin-bottom:11px;font-weight:700}.badge{display:inline-flex;align-items:center;background:#e9f3ee;color:#34715a;font-size:12px;font-weight:600;border-radius:20px;padding:5px 10px;white-space:nowrap}.badge.warn{background:#fff2d9;color:#896319}.badge.bad{background:#fbe9e7;color:#a33c35}.panel{background:white;border:1px solid #dee6e0;border-radius:12px;padding:24px;margin-bottom:20px;box-shadow:0 2px 3px #0d382303}.hero{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(120deg,#e9f3ed,#f6faf7);border-color:#cddfd3}.hero h2{font-size:23px;margin-bottom:8px}.hero p{color:#62776b;margin-bottom:0}.hero-icon{width:52px;height:52px;background:#d5e9dd;border:1px solid #b7d5c3;border-radius:16px;display:grid;place-items:center;font-size:24px;color:#347452;flex:none}.hero-text{flex:1}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{margin:0;padding:21px}.metric-title{font-size:12px;color:#6b7d77}.metric-value{font-size:23px;margin:13px 0 7px;font-weight:650}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.split{justify-content:space-between}.actions{display:flex;gap:8px;flex-wrap:wrap}.addresses{display:grid;gap:12px}.address{padding:13px 0;border-bottom:1px solid #edf1ee;display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;align-items:baseline}.address:last-child{border:0}.address span{color:#6d7d75;font-size:12px}.path{font-family:Consolas,monospace;font-size:12px;overflow-wrap:anywhere;line-height:1.65;color:#63746c}.tip{padding:14px 16px;border:1px solid #e4dbc5;background:#fffbf1;color:#806533;border-radius:8px;line-height:1.7;font-size:13px;margin-bottom:18px}.tip.error{background:#fff4f2;color:#a43c34;border-color:#efcdc9}.tip.success{background:#edf6ef;color:#346847;border-color:#d1e5d4}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 20px}.tabs button{background:transparent;border-color:transparent;font-weight:500}.tabs button.active{background:#e1eee6;border-color:#c8dccf;color:#236047}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field.full{grid-column:1/-1}.field>span,.field>label{font-weight:600;font-size:13px}.field small{font-size:12px;font-weight:400}.field input:not([type=checkbox]),.field select,.field textarea{background:#fff;border:1px solid #ccd9d1;border-radius:7px;min-height:43px;padding:10px 12px;max-width:100%;width:100%;color:#203b2b}.field textarea{resize:vertical;min-height:90px;line-height:1.7}.field input:focus,.field textarea:focus{border-color:#397d5c;outline:2px solid #d2e9db}.choices{display:flex;gap:12px;flex-wrap:wrap}.choices label{padding:10px 14px;border:1px solid #dae5dd;border-radius:8px;display:flex;gap:8px;align-items:center;font-weight:400}.choices input{width:16px;height:16px;accent-color:#2a7252}.savebar{position:sticky;bottom:16px;background:#fffefc;border:1px solid #c7d7cb;box-shadow:0 8px 24px #18402312;padding:14px 18px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:16px;z-index:3}.savebar small{display:block;font-size:11px;margin-top:4px}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}th{text-align:left;background:#f5f8f5;color:#687a6c;font-size:12px;font-weight:600;padding:13px 14px}td{padding:16px 14px;border-bottom:1px solid #edf1ec;vertical-align:top}td.wrap{white-space:normal;min-width:180px;max-width:350px;line-height:1.7}pre{font-size:12px;background:#f4f7f4;border:1px solid #e1e8df;padding:14px;border-radius:8px;white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto}.empty{padding:38px 18px;text-align:center;color:#768579;border:1px dashed #d3dfd3;border-radius:10px;line-height:1.8}.signin{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.signin-aside{background:#163f36;color:#e1eee5;display:flex;flex-direction:column;justify-content:space-between;padding:55px 65px}.signin-aside h1{font-size:38px;line-height:1.4;max-width:440px}.signin-aside p{color:#b5d0bf;max-width:360px;font-size:15px}.signin-form{display:flex;align-items:center;justify-content:center;padding:40px}.signin-form>div{width:100%;max-width:390px}.signin-form .field{margin:20px 0}.signin-form button.primary{width:100%;margin-top:8px}.signin-form .brand{color:#305a3b;padding:0 0 26px}.loading{padding:60px;color:#647e6d}#notice{position:fixed;right:24px;bottom:24px;max-width:min(500px,90vw);background:#214b36;color:#fff;border-radius:9px;padding:0;z-index:40;box-shadow:0 5px 25px #0002;line-height:1.7}#notice:not(:empty){padding:13px 18px}dialog{width:min(630px,94vw);border:1px solid #d8e4d9;border-radius:14px;padding:28px;color:#243a2c;box-shadow:0 24px 80px #13271633}dialog::backdrop{background:#16332475}dialog .field{margin:20px 0}dialog .actions{justify-content:flex-end}dialog .tip{margin-top:16px}.list{display:grid;gap:14px}.list-item{border-bottom:1px solid #e8eee6;padding-bottom:14px}.list-item:last-child{border:none}.step-dot{display:inline-flex;border-radius:50%;width:25px;height:25px;background:#dfebdf;color:#426447;align-items:center;justify-content:center;margin-right:9px;font-size:12px}.secret-card{background:#f6f9f5;padding:18px;border-radius:9px;margin:18px 0}.readonly{background:#f7f8f5!important;color:#82917e!important}ul{line-height:1.9;padding-left:22px}.content-footer{color:#8a9789;font-size:11px;padding:8px 0 0}.divider{height:1px;background:#e3ebe1;margin:24px 0}
@media(max-width:1100px){.main{padding:26px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.grid2{grid-template-columns:1fr}.signin-aside{padding:40px}}
@media(max-width:740px){.shell{display:block}.sidebar{position:sticky;top:0;height:auto;z-index:10;padding:12px;background:#143d38;overflow:visible}.brand{padding:0 8px 12px;font-size:17px}.brand small,.sidebar-foot{display:none}.nav{display:flex;overflow-x:auto;white-space:nowrap;gap:4px;overscroll-behavior:contain;touch-action:pan-x}.nav button{flex:none;padding:10px 13px;min-height:42px}.nav em{display:none}.main{padding:20px 16px}.topline{margin-bottom:22px}.breadcrumb{font-size:11px}.top-actions{gap:0}.top-actions .login-name{display:none}.pagehead{display:block}.pagehead .badge{margin-top:12px}h1{font-size:25px}.panel{padding:19px}.hero{align-items:flex-start;flex-wrap:wrap}.hero-icon{width:42px;height:42px;font-size:20px;border-radius:12px}.hero h2{font-size:19px}.hero .actions{margin-left:0;width:100%}.cards{gap:10px;margin-bottom:18px}.metric-value{font-size:21px}.form-grid{grid-template-columns:1fr;gap:18px}.savebar{bottom:8px;align-items:flex-start;padding:12px;flex-direction:column;gap:10px}.savebar .actions{width:100%}.savebar .actions button{flex:1}.signin{display:block}.signin-aside{padding:28px;min-height:260px}.signin-aside h1{font-size:29px;margin:20px 0}.signin-aside .aside-bottom{display:none}.signin-aside .brand{padding:0}.signin-form{padding:30px 24px}.address{grid-template-columns:62px minmax(0,1fr)}.tabs{gap:1px}.tabs button{padding:9px 12px}.pagehead p{font-size:13px}.row.split{align-items:flex-start}.content-footer{padding-bottom:14px}}
/* ALLOWLIST2400: scoped list editors; no layout changes to other settings. */
.origin-editors{display:grid;gap:20px;margin-top:24px;min-width:0}
.origin-editor{border:1px solid #d5e1d8;border-radius:10px;padding:20px;min-width:0;background:#fff}
.origin-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.origin-heading h3{margin:0;font-size:16px}.origin-count{color:#657969;font-size:12px;white-space:nowrap;padding-top:3px}
.origin-editor p{margin:10px 0}.origin-format{font-size:12px;color:#66776b;line-height:1.7;overflow-wrap:anywhere}
.origin-editor code{overflow-wrap:anywhere;white-space:normal}
.origin-items{list-style:none;margin:16px 0;padding:0;display:grid;gap:12px}
.origin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px;background:#f7faf7;border:1px solid #e3ebe3;border-radius:8px}
.origin-row .field{min-width:0;margin:0}.origin-row button{margin-top:25px;min-height:43px}
.origin-row input[aria-invalid=true]{border-color:#ba5a4d}.origin-error{color:#a34436;line-height:1.6;overflow-wrap:anywhere}
.origin-error[hidden]{display:none}.origin-empty{padding:18px;color:#758679;border:1px dashed #d6e2d7;border-radius:8px;font-size:13px}
.origin-issue-summary{font-size:12px;color:#697b6f;line-height:1.7;overflow-wrap:anywhere}
.origin-bulk{margin-top:18px;padding:18px;background:#f3f7f3;border:1px solid #d3e0d5;border-radius:8px;min-width:0}
.origin-bulk textarea{min-height:130px}.origin-bulk>.actions{margin-top:12px}
.origin-preview-summary{margin:16px 0;font-size:13px;font-weight:600}
.origin-preview-items{list-style:none;max-height:340px;overflow:auto;margin:12px 0;padding:0;display:grid;gap:8px}
.origin-preview-item{padding:12px;border:1px solid #d5e3d7;border-radius:7px;background:#fff;min-width:0;font-size:12px}
.origin-preview-item code,.origin-preview-item small{display:block;margin-top:6px;overflow-wrap:anywhere}
.origin-preview-item.error{border-color:#dfa89e;background:#fff8f6}.origin-preview-item.duplicate{background:#fcfaf0;border-color:#e6dcb5}
@media(max-width:740px){.origin-editor{padding:14px}.origin-heading h3{font-size:15px}.origin-row{gap:8px;padding:10px}.origin-row button{padding:8px 10px}.origin-bulk{padding:12px}.origin-editor .actions{flex-wrap:wrap}.origin-editor .actions button{max-width:100%;white-space:normal}}

.brand[data-brand]{display:flex;gap:12px;align-items:center;min-width:0}.brand[data-brand] span{min-width:0;overflow-wrap:anywhere}.brand[data-brand] strong{font:inherit;display:block}.brand .customer-logo{width:44px;height:44px;flex:none;object-fit:contain}.brand .customer-logo[hidden]{display:none}

/* UPGRADE3130: explicit package status and non-destructive historical cards. */
.upgrade-current{padding:14px 16px;background:#f1f6f2;border-radius:8px;margin:20px 0;color:#50645b;line-height:1.7}
.upgrade-packages{display:grid;gap:16px;margin:18px 0}.upgrade-package{padding:20px;border:1px solid #d7e3dc;border-radius:10px;background:#fff;min-width:0}
.upgrade-package-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.upgrade-package-heading strong{font-size:17px}.upgrade-state{border-radius:20px;padding:5px 12px;font-size:12px;background:#edf1ed;color:#5e7166}.upgrade-state.current{background:#e2f2e9;color:#236953}.upgrade-state.newer{background:#e9effa;color:#345d8a}
.upgrade-reason{line-height:1.7;color:#6c7c72;font-size:13px;margin:12px 0}.upgrade-details{font-size:12px;color:#6c7c72}.upgrade-details summary{cursor:pointer;padding:6px 0}.upgrade-details .path{overflow-wrap:anywhere}.upgrade-package-action{display:flex;justify-content:flex-end;margin-top:16px}.upgrade-package-action button:disabled{opacity:1;color:#819087;background:#f4f6f4;border-color:#e0e6e1;cursor:not-allowed}
@media(max-width:740px){.upgrade-package{padding:15px}.upgrade-package-action button{width:100%;white-space:normal}}
.deployment-help { margin-top: 1.2rem; }
.deployment-help summary { cursor: pointer; font-weight: 600; }
.deployment-help dt { margin-top: .9rem; font-weight: 600; }
.deployment-help dd { margin: .35rem 0; overflow-wrap: anywhere; }
#deployment-token-once { min-height: 7rem; font-family: ui-monospace, monospace; overflow-wrap: anywhere; }

button.primary{background:var(--brand-primary,#206d58);border-color:var(--brand-primary,#206d58)}.sidebar{background:var(--brand-deep,#143d38)}.nav button.active{background:var(--brand-primary,#2a554b)}a{color:var(--brand-primary,#1d725e)}.hero{background:var(--brand-tint,#e9f3ed)}

/* Credential input modes are mutually exclusive, including labels styled as grid. */
#credential-existing[hidden], #credential-new[hidden] { display: none !important; }

/* 183: derived from existing scheduler/receipts. */
.readiness-metrics183{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.readiness-metrics183 .metric{box-shadow:none;margin:0}.readiness-checks183{display:grid;gap:10px}.readiness-check183{display:grid;grid-template-columns:110px minmax(0,1fr) 70px;align-items:start;gap:14px;padding:14px 0;border-bottom:1px solid var(--line,#dbe5df)}.readiness-check183 p{margin:6px 0 0;overflow-wrap:anywhere}.check-status183{font-size:13px;border-radius:6px;padding:6px;background:#eef3f0;color:#314b40}.check-status183.blocked{background:#fff0db;color:#795006}.check-status183.review{background:#eef1f7;color:#43597b}.readiness183 .metric-value{font-size:20px;overflow-wrap:anywhere}.readiness183 .notice{overflow-wrap:anywhere}@media(max-width:700px){.readiness-metrics183{grid-template-columns:1fr}.readiness-check183{grid-template-columns:1fr 60px}.check-status183{grid-column:1/-1;justify-self:start}}

.readiness-details183{margin:16px 0}.readiness-details183 summary{cursor:pointer;padding:12px 0;font-weight:600}.readiness-details183 summary:focus-visible{outline:2px solid #326752;outline-offset:3px}

.demo-mode-metrics187{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.demo-confirm187{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:14px;line-height:1.65}.demo-confirm187 input{margin-top:5px;flex-shrink:0}.demo-mode187 .notice{line-height:1.7}.demo-mode187 .actions{flex-wrap:wrap}@media(max-width:680px){.demo-mode-metrics187{grid-template-columns:1fr;gap:10px}.demo-mode187 .row.split{align-items:flex-start;flex-wrap:wrap}.demo-mode187 .actions button{flex:1;min-width:140px}}

/* 190: brand colors for interaction, neutral text; semantic status colors remain independent. */
body,h1,h2,h3,dialog{color:var(--brand-text,#28323d)}input,select,textarea{color:var(--brand-text,#28323d)}input:focus,select:focus,textarea:focus{border-color:var(--brand-primary,#236b52);box-shadow:0 0 0 3px var(--brand-tint,#e9f0ee)}input[type=checkbox]{accent-color:var(--brand-primary,#236b52)}button.primary:hover:not(:disabled){background:var(--brand-hover,#1d5843)}.tabs button.active{color:var(--brand-primary,#236b52);border-color:var(--brand-primary,#236b52);background:var(--brand-tint,#e9f0ee)}.signin-aside{background:var(--brand-deep,#12382b)}.signin-form .brand{color:var(--brand-primary,#236b52)}.brand small,.sidebar-foot{color:#e1e7ee}.brand{color:inherit}.panel,.origin-editor{border-color:#dce2e8}.field small,.origin-count,.origin-format,.content-footer{color:#667085}.origin-row,.secret-card{background:#f7f8fa}.hero p{color:#667085}.signin-aside p{color:#d3dfec}.signin-aside h1{color:white}button:focus-visible,a:focus-visible{outline:2px solid var(--brand-primary,#236b52);outline-offset:3px}

/* 190: non-semantic controls use the selected brand or neutral surfaces. */
:root{color:#28323d;background:#f5f6f8}button{color:var(--brand-text,#28323d);border-color:#dce2e8}button:hover:not(:disabled):not(.danger){background:var(--brand-tint,#e9f0ee);border-color:var(--brand-line,#bdd3c7)}button.primary:hover:not(:disabled){background:var(--brand-hover,#1d5843)}input,select,textarea{border-color:#dce2e8;background:#fff}.content{background:#f5f6f8}.sidebar .brand{color:#fff}

/* 192: control navigation and focus share the public brand palette. */
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--brand-line,#bdd3c7);outline-offset:3px}.readiness-details183 summary:focus-visible{outline-color:var(--brand-line,#bdd3c7)}.nav button:hover,.nav button.active{background:var(--brand-primary,#236b52);color:#fff}.actions button:not(.primary):hover,button.secondary:hover{color:var(--brand-primary,#236b52);border-color:var(--brand-line,#bdd3c7);background:var(--brand-soft,#f4f8f6)}

/* 192: instructional steps and links are interactions, not green success statuses. */
a{color:var(--brand-primary,#236b52)}.step-dot{background:var(--brand-tint,#e9f0ee);color:var(--brand-primary,#236b52)}.muted{color:#667085}

/* Read-only capability diagnostics: long content wraps without displacing adjacent rows. */
.diagnostics-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.diagnostics-heading h2{margin-bottom:6px}.diagnostics-heading p{margin-bottom:0}.diagnostics-heading small{flex:none}.capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.capability-card{min-width:0;border:1px solid #e1e7e3;border-radius:10px;padding:18px;background:#fcfdfc}.capability-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px;flex-wrap:wrap}.capability-head h3{margin:4px 0}.capability-head .badge{white-space:normal;overflow-wrap:anywhere;max-width:100%}.capability-card p{margin-bottom:0;font-size:13px;overflow-wrap:anywhere}.capability-card dl{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:12px;row-gap:9px;margin:0 0 14px;font-size:13px;line-height:1.6}.capability-card dt{color:#6b7d77}.capability-card dd{margin:0;overflow-wrap:anywhere;min-width:0}.diagnostics-note{margin:16px 0 0;font-size:12px;color:#6b7d77;line-height:1.7}@media(max-width:720px){.capability-grid{grid-template-columns:minmax(0,1fr)}.diagnostics-heading{flex-direction:column;gap:8px}.capability-card{padding:16px}.capability-card dl{grid-template-columns:88px minmax(0,1fr)}}
