/* Workspace structure; the public TerraScore masthead and light content palette remain. */
.workspace-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0 22px}
body>header nav .user-menu{position:relative;margin:0}
body>header nav .user-menu summary{list-style:none;min-height:44px;display:flex;align-items:center;padding:8px 14px;border:1px solid #4b4b43;border-radius:6px;background:#1a1a18;color:#f5f4ee;cursor:pointer}
body>header nav .user-menu summary::-webkit-details-marker{display:none}
body>header nav .user-menu summary:after{content:' ▾';margin-left:8px}
body>header nav .user-menu button{position:absolute;right:0;top:48px;z-index:10;min-width:150px;box-shadow:0 8px 20px #0004}
.workspace-top h1{margin:3px 0 5px;font-size:clamp(25px,3vw,34px)}
.workspace-top .eyebrow{margin:0}
.workspace-top .help{margin:0}
.workspace-new{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:12px 19px;border-radius:6px;text-decoration:none;max-width:100%;width:auto;flex:none}
.workspace-new:hover{color:white}
.workspace-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}
.workspace-side{position:sticky;top:16px;display:flex;flex-direction:column;gap:4px;background:white;border:1px solid #d9e1d5;border-radius:12px;padding:10px}
.workspace-side a{display:block;padding:11px 12px;border-radius:7px;text-decoration:none;font-weight:600;color:#284e38}
.workspace-side a:hover,.workspace-side a[aria-current=page]{background:#e9f0e4;color:#193c2b}
.workspace-panels{min-width:0}
.workspace-panels .card{margin-bottom:20px}
.workspace-panels .primary{width:auto}
.workspace-first .primary{display:inline-block;padding:12px 18px;border-radius:6px;text-decoration:none}
.workspace-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.workspace-summary button{display:block;text-align:left;width:100%;margin:8px 0}
#workspace-new>.card{max-width:800px}
#workspace-new #service-form{display:flex;flex-direction:column}
.wizard-progress{font-size:13px;font-weight:700;color:#345b40;letter-spacing:.04em;margin:4px 0 18px}
.wizard-step{min-width:0;border:0;margin:0;padding:0}
.wizard-step legend{font-family:'IBM Plex Serif',Georgia,serif;font-size:23px;font-weight:600;margin-bottom:12px}
.wizard-step>label:first-of-type{margin-top:6px}
.service-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.service-choice{display:flex;flex-direction:column;gap:8px;text-align:left;min-height:116px;border-radius:9px;padding:15px;background:#fff}
.service-choice[aria-pressed=true]{border:2px solid #345b40;background:#eef3e7}
.service-choice strong{font-size:15px}
.service-choice span{font-size:13px;color:#4d6656;line-height:1.45}
.wizard-controls{display:flex;gap:12px;justify-content:flex-end;margin-top:18px}
.wizard-controls button{min-width:130px}
.wizard-controls .primary{margin:0}
#parcel-preview-result{margin-top:14px;overflow-wrap:anywhere}
#parcel-preview-result strong{display:block;margin:12px 0}
#parcel-preview-result .map{margin-top:14px}
#wizard-review{background:#f5f7f1;border:1px solid #d9e1d5;padding:14px;border-radius:8px}
.crop-picker{border:1px solid #d9e1d5;border-radius:8px;padding:12px;margin:8px 0 16px}
.crop-chips{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}
.crop-chip{font-size:13px;background:#e9f0e4;border-radius:20px;padding:6px 11px}
.crop-chip:after{content:' ×'}
.crop-options{max-height:235px;overflow-y:auto;padding:3px 6px}
.crop-option{display:grid;grid-template-columns:auto minmax(100px,1fr);gap:2px 9px;align-items:center;padding:8px 3px;margin:0;border-bottom:1px solid #e8ede5;cursor:pointer}
.crop-option input{grid-row:1/3;width:auto;margin:0}
.crop-option small{grid-column:2;font-weight:400;color:#586c61}
.report-section{border-bottom:1px solid #d9e1d5;padding:10px 0}
.report-section:last-child{border-bottom:0}
.report-section h3{margin:0 0 10px}
.report-lead{background:#f5f7f1;border-radius:8px;padding:16px}
.library-controls{display:grid;grid-template-columns:minmax(0,1fr) 150px 150px 150px;gap:12px;margin-bottom:14px}
#workspace-library .library-item button,#parcel-list .library-item button{width:100%}
#workspace-reports #service-report,#workspace-reports #report{scroll-margin-top:15px}
#workspace-reports #service-report .report-tools a{font-weight:700}
#workspace-reports #service-report .report-tools a[id=service-pdf]{order:-2;background:#284e38;color:white}
#workspace-reports #service-report .report-tools a[id=service-xlsx]{order:-1}
#workspace-documents #older-analysis>.card{border:0;margin:12px 0 0;padding:0}
body.workspace-ready main>.intro,body.workspace-ready main>#public-examples,body.workspace-ready main>#free-demo-notice,body.workspace-ready main>#cadastral-hold,body.workspace-ready main>#service-workspace,body.workspace-ready main>#service-report,body.workspace-ready main>#workspace,body.workspace-ready main>#report,body.workspace-ready main>#environmental{display:none}
body.workspace-ready .workspace-panels #service-report,body.workspace-ready .workspace-panels #report,body.workspace-ready .workspace-panels #environmental{display:block}
body.workspace-ready [hidden]{display:none!important}
body.workspace-ready #workspace-new #service-form[hidden]{display:none}
body.workspace-ready .wizard-step[hidden],body.workspace-ready [data-workspace-panel][hidden]{display:none}
:focus-visible{outline:3px solid #b49346;outline-offset:2px}
@media(max-width:760px){.workspace-layout{display:block}.workspace-side{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:18px;padding:6px}.workspace-side a{font-size:13px;padding:10px;line-height:1.25}.workspace-top{align-items:flex-start}.workspace-top h1{font-size:25px}.workspace-new{font-size:13px;padding:10px 12px}.library-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.workspace-top{display:block}.workspace-new{margin-top:12px;width:100%}.workspace-side{grid-template-columns:repeat(2,minmax(0,1fr))}.library-controls{display:block}.library-controls>*{margin:6px 0}.wizard-controls{justify-content:stretch}.wizard-controls button{min-width:0;flex:1}.pair,.service-cards{grid-template-columns:1fr}}
@media print{.workspace-top,.workspace-side,.workspace-first,.workspace-summary,.library-controls,#workspace-library,#parcel-list,#workspace-new,#workspace-documents,#workspace-help{display:none!important}.workspace-layout{display:block}.workspace-panels{width:100%}#workspace-reports>[hidden]{display:none!important}}
