:root { font-family: Inter, system-ui, sans-serif; color: #1b2722; background: #f3f5f2; } * { box-sizing: border-box; } body { margin: 0; } .topbar { height: 62px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: #143d2e; color: white; } .topbar span { opacity: .7; font-size: .86rem; } main { max-width: 1480px; margin: 0 auto; padding: 30px; } .heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; } .heading p,.sheet-heading p { color: #277454; font-size: .72rem; font-weight: 800; letter-spacing: .15em; margin: 0; } .heading-actions { display: flex; gap: 10px; } h1 { margin: 5px 0 0; font-size: 2.5rem; } button { border: 0; background: #1d6548; color: white; border-radius: 8px; padding: 10px 15px; font-weight: 700; cursor: pointer; } button:disabled { opacity: .45; cursor: default; } .secondary-button { background: #e7ece8; color: #284338; } .metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 16px; } .metrics article,.panel { background: white; border: 1px solid #dbe1dc; border-radius: 13px; padding: 20px; } .metrics article { display: grid; gap: 8px; } .metrics small { color: #66736d; } .metrics strong { font-size: 1.9rem; } .columns { display: grid; grid-template-columns: minmax(0,2fr) minmax(300px,1fr); gap: 16px; } .panel h2 { margin-top: 0; } .table-wrap { overflow: auto; max-height: 600px; } table { width: 100%; border-collapse: collapse; font-size: .82rem; } th,td { text-align: left; border-bottom: 1px solid #e7ebe8; padding: 9px 7px; white-space: nowrap; } th { position: sticky; top: 0; background: white; color: #68746e; } .state { padding: 3px 7px; border-radius: 999px; background: #eef1ef; } .state.succeeded { color: #17633f; background: #e2f2e8; } .state.failed { color: #a2312b; background: #fbe8e6; } .adjustment > p { color: #67736d; line-height: 1.45; font-size: .86rem; } label { display: grid; gap: 5px; margin: 12px 0; font-size: .8rem; font-weight: 700; } input,textarea,select { width: 100%; border: 1px solid #b8c3bc; border-radius: 7px; padding: 9px; font: inherit; background: white; } input:focus,textarea:focus,select:focus { outline: 3px solid rgba(29,101,72,.13); border-color: #1d6548; } textarea { min-height: 70px; resize: vertical; } .saved { color: #17633f !important; font-weight: 700; } .error { background: #fdecea; color: #9b2f29; padding: 12px; border-radius: 8px; margin-bottom: 14px; } .authentication-status,.access-denied { max-width: 680px; margin: 12vh auto 0; background: white; border: 1px solid #dbe1dc; border-radius: 13px; padding: 28px; } .access-denied h1 { font-size: 1.8rem; } .account-switch { display: inline-block; margin-top: 8px; border-radius: 8px; padding: 10px 15px; background: #1d6548; color: white; font-weight: 700; text-decoration: none; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; background: rgba(10,24,18,.55); }
.account-sheet { width: min(720px, 100%); height: 100%; overflow-y: auto; background: #f7f9f7; box-shadow: -20px 0 60px rgba(0,0,0,.22); }
.sheet-heading { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 20px; padding: 25px 28px; border-bottom: 1px solid #dbe1dc; background: rgba(255,255,255,.97); }
.sheet-heading h2 { margin: 4px 0 7px; font-size: 1.7rem; }
.sheet-heading span,.form-hint { color: #66736d; font-size: .82rem; line-height: 1.45; }
.icon-button { align-self: flex-start; padding: 0 5px; background: transparent; color: #506057; font-size: 1.8rem; line-height: 1; }
.form-section,.created-account { margin: 18px 22px; padding: 21px 23px; border: 1px solid #dbe1dc; border-radius: 12px; background: white; }
.form-section h3,.created-account h3 { margin: 0; font-size: 1rem; }
.form-grid { display: grid; gap: 0 14px; }
.form-grid.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
.form-grid .wide { grid-column: 1/-1; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-title-row > span { color: #66736d; font-size: .74rem; }
.segmented-control { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 14px 0; padding: 4px; border-radius: 9px; background: #edf1ee; }
.segmented-control button { padding: 8px; background: transparent; color: #526058; font-size: .78rem; }
.segmented-control button.active { background: white; color: #174c37; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.suggestion-list { max-height: 230px; overflow-y: auto; margin-top: -8px; border: 1px solid #b8c3bc; border-radius: 8px; background: white; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.suggestion-list button { display: grid; width: 100%; gap: 3px; padding: 11px 12px; border-radius: 0; border-bottom: 1px solid #e6eae7; background: white; color: #223a30; text-align: left; }
.suggestion-list button:hover { background: #edf5ef; }
.suggestion-list span,.customer-preview span { color: #66736d; font-size: .76rem; }
.customer-preview { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 13px; border: 1px solid #b9cec1; border-radius: 8px; background: #edf5ef; }
.customer-preview > div { display: grid; gap: 4px; }
.link-button { padding: 5px; background: transparent; color: #1d6548; }
.inline-check { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.inline-check input { width: auto; }
.sheet-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 4px 22px 24px; }
.created-account p { color: #66736d; line-height: 1.5; }
.created-account input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; background: #f2f5f3; }
.job-row { cursor: pointer; }
.job-row:hover,.job-row.selected { background: #edf5ef; }
.stage-details { margin-top: 18px; padding-top: 17px; border-top: 1px solid #dbe1dc; }
.stage-details h3 { margin: 0; }
.stage-details p { color: #66736d; font-size: .83rem; }
.load-timing-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 14px 0; }
.lifecycle-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 10px 0 18px; }
.lifecycle-grid > div { display: grid; gap: 5px; padding: 10px; border: 1px solid #d9e3dd; border-radius: 8px; background: #fbfdfb; }
.lifecycle-grid span { color: #66736d; font-size: .7rem; }
.lifecycle-grid strong { color: #173f31; font-size: .9rem; }
.load-timing-grid > div { display: grid; gap: 5px; padding: 10px; border-radius: 8px; background: #f1f5f2; }
.load-timing-grid span { color: #66736d; font-size: .7rem; }
.load-timing-grid strong { color: #174c37; font-size: .9rem; }

@media(max-width:900px){.columns{grid-template-columns:1fr}.metrics{grid-template-columns:1fr}.load-timing-grid,.lifecycle-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.form-grid.two-columns{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.segmented-control{grid-template-columns:1fr}.heading{align-items:flex-start;gap:16px}.heading-actions{flex-direction:column}}

.topbar { gap: 18px; }
.topbar > span { margin-right: auto; }
.preferences-status { padding: 3px 24px; background: #eaf0ec; color: #30493c; font: 12px/1.5 system-ui, sans-serif; }
.preferences-status button { margin: 4px 8px; }
.preferences-status details { padding: 6px; border: 1px solid #a8b8af; }
.preferences-status pre { max-height: 180px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.language-selector { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: white; }
.language-selector select { width: auto; min-width: 112px; border-color: rgba(255,255,255,.45); padding: 6px 24px 6px 7px; color: #173f31; font-size: .8rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.selected-report { background: #e3f0e7; }
.report-facts { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 8px 18px; }
.report-facts dt { font-weight: 700; }
.report-facts dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.diagnostic-detail { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 500px; overflow: auto; background: #f3f5f2; padding: 12px; }
#report-details { margin-top: 18px; }
#report-details details { margin: 16px 0; }
#report-details summary { cursor: pointer; font-weight: 700; }
@media(max-width:620px){.report-facts{grid-template-columns:1fr}.report-facts dd{margin-bottom:8px}}
