/* The original Grayson workspace shell, with its existing anchor routes.
   Sources: src/style.css, src/branding.css, src/workspace-shell.css. */
:root{font-family:"Times New Roman",Times,serif;color:#3f3f37;background:#f5efe0;font-synthesis:none;font-size:16px;font-variant-numeric:tabular-nums;--cream:#f5efe0;--tan:#ece3cc;--paper:#efe3ce;--ink:#1a1a1a;--olive:#6b705c;--rust:#a0522d;--line:#c4bba5}
.workspace-shell .topbar{background:var(--ink);color:var(--cream);min-height:76px;padding:18px 5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:5px solid var(--olive)}
.workspace-shell .brand{text-decoration:none;font-size:30px;letter-spacing:-1px;font-weight:bold}
.workspace-shell .brand span{font-weight:normal;color:#d6c6a1}
.workspace-shell .identity{display:flex;gap:22px;align-items:center}
.workspace-shell .identity button{background:none;border:0;color:var(--cream);padding:7px;font-size:16px}
.workspace-shell .identity>span{color:#d6c6a1}
.workspace-shell .workspace{max-width:1500px;margin:auto;padding:30px 5vw 55px;min-height:calc(100vh - 240px)}
.workspace-shell .workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px}
.workspace-shell .workspace-heading .eyebrow{margin:0 0 8px}
.workspace-shell .workspace-heading h1{font-size:36px;letter-spacing:-.5px;margin:0;font-weight:normal}
.workspace-shell .panel{border:1px solid var(--line);background:#f9f3e7;align-self:start}
.workspace-shell .panel-title{background:var(--olive);color:#fff9ec;display:flex;justify-content:space-between;align-items:center;padding:13px 18px;gap:12px}
.workspace-shell .panel-title h2{font-size:21px;margin:0;font-weight:normal}
.workspace-shell .panel-title span{font-size:14px}
.workspace-shell .panel-padding{padding:20px}
.workspace-shell .table-scroll{overflow-x:auto}
.workspace-shell .panel table{width:100%;border-collapse:collapse}
.workspace-shell .panel th,.workspace-shell .panel td{padding:13px 17px;text-align:right;font-weight:normal;border-bottom:1px solid #d9ceba;white-space:nowrap}
.workspace-shell .panel tr:last-child td,.workspace-shell .panel tr:last-child th{border-bottom:0}
.workspace-shell .panel th:first-child{text-align:left}
.workspace-shell .panel thead{background:var(--tan);font-size:15px}
.workspace-shell .panel thead th{color:#534e40}
.workspace-shell .panel tbody th{font-weight:bold;color:#37372e}
.workspace-shell :is(.topbar,.workspace-navigation,.console-navigation) a{text-decoration:none}
.workspace-shell :is(.topbar,.workspace-navigation,.console-navigation) :is(button,a,summary){font-family:"Times New Roman",Times,serif;border-radius:0}
.workspace-shell :is(.topbar,.workspace-navigation,.console-navigation) :is(button,a,summary):focus-visible{outline:2px solid var(--rust);outline-offset:4px}

/* The supplied logo is unchanged. The compact masthead frames its pumpjack
   symbol; company lettering stays readable alongside it at small screen sizes. */
.workspace-shell .grayson-brand{display:flex;align-items:center;gap:10px;text-decoration:none;line-height:1;color:#bd9a51;letter-spacing:0}
.grayson-brand-symbol{display:block;position:relative;overflow:hidden;width:65px;height:46px;flex:none}
.grayson-brand-symbol img{position:absolute;width:211px;max-width:none;height:auto;left:-74px;top:-16px}
.workspace-shell .grayson-brand-name{font-family:"Times New Roman",Times,serif;font-size:27px;font-weight:normal;color:#d3b775;letter-spacing:.3px}
.workspace-shell .grayson-brand-name>span{display:block;color:#d3b775;font-size:12px;letter-spacing:2px;margin-top:4px;text-transform:uppercase}
.workspace-shell>.topbar:has(.grayson-brand){padding-top:7px;padding-bottom:7px;border-bottom-color:#a88a4b}
.workspace-shell .identity .platform-name{font-size:13px;color:#c6bdab}
@media(max-width:650px){.workspace-shell .grayson-brand{gap:6px}.grayson-brand-symbol{width:49px;height:37px}.grayson-brand-symbol img{width:164px;left:-58px;top:-12px}.workspace-shell .grayson-brand-name{font-size:22px}.workspace-shell .grayson-brand-name>span{font-size:10px;letter-spacing:1.3px}.workspace-shell .identity .platform-name{display:none}}

/* Every workspace section shares the same compact masthead and navigation. */
html:has(.workspace-shell),body:has(.workspace-shell){height:100%;overflow:hidden}
.workspace-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:var(--cream);font-family:"Times New Roman",Times,serif;color:var(--ink)}
.workspace-shell>.topbar,.workspace-shell>.topbar:has(.grayson-brand){flex:none;min-height:42px;padding:4px 10px;border-bottom-width:1px;gap:12px}
.workspace-shell .brand{font-size:22px}
.workspace-shell .grayson-brand{gap:6px}
.workspace-shell .grayson-brand-symbol{width:42px;height:30px}
.workspace-shell .grayson-brand-symbol img{width:137px;left:-48px;top:-10px}
.workspace-shell .grayson-brand-name{font-size:18px;letter-spacing:0;white-space:nowrap}
.workspace-shell .grayson-brand-name>span{font-size:13px;letter-spacing:.4px;margin-top:0}
.workspace-shell .identity{gap:6px}
.workspace-shell .identity select{min-height:32px;max-width:170px;font-size:13px}
.workspace-shell .identity button{font:13px "Times New Roman",Times,serif;color:var(--cream);padding:6px 8px;min-height:32px}
.workspace-navigation{display:flex;flex:none;justify-content:space-between;align-items:stretch;background:var(--paper);border-bottom:1px solid var(--line);min-height:36px;padding:0 8px;gap:8px;min-width:0}
.workspace-navigation>nav{display:flex;min-width:0;flex-wrap:wrap;gap:0}
.workspace-navigation>nav>:is(button,a){min-height:34px;padding:7px 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--ink);font-size:15px;line-height:18px;white-space:nowrap}
.workspace-navigation>nav>:is(button,a)[aria-current=page]{background:var(--cream);border-bottom-color:var(--rust);font-weight:bold}
.workspace-tools{display:flex;flex:none;gap:7px;align-items:center;font-size:13px;color:var(--olive)}
.workspace-tools :is(button,a){min-height:32px;border:1px solid var(--line);padding:5px 8px;background:var(--cream);color:var(--ink);font-size:13px}
.workspace-shell>.workspace-main{flex:1;min-height:0;max-width:none;width:100%;margin:0;padding:14px 16px 24px;overflow:auto;scrollbar-gutter:stable}
.workspace-shell>.workspace-main.workspace-map{padding:0;display:flex;flex-direction:column;overflow:hidden;scrollbar-gutter:auto;--map-frame-offset:78px}
.workspace-main.workspace-map>.research-map-view{flex:1;min-height:0;height:auto}
.workspace-main.workspace-map>.error{flex:none;margin:0;padding:6px 10px}
.workspace-account,.console-navigation>details{position:relative}
.workspace-account>summary{cursor:pointer;list-style:none;min-height:32px;padding:8px 6px;font-size:13px;line-height:16px}
.workspace-account>summary::-webkit-details-marker,.console-navigation>details>summary::-webkit-details-marker{display:none}
.workspace-account>div,.console-navigation>details>div{position:absolute;right:0;top:100%;min-width:155px;background:var(--cream);border:1px solid var(--line);z-index:1100;box-shadow:0 3px 8px #1a1a1a22;display:grid}
.workspace-account>div>:is(button,a),.console-navigation>details>div>:is(button,a){color:var(--ink);text-align:left;border:0;background:transparent;padding:10px 14px;font-size:15px}
.workspace-account>div>:is(button,a):hover,.console-navigation>details>div>:is(button,a):hover{background:var(--paper)}
.console-navigation{display:flex;align-items:center;min-height:33px;border-bottom:1px solid var(--line);gap:0;margin-bottom:12px;flex-wrap:wrap}
.console-navigation>:is(button,a),.console-navigation>details>summary{border:0;border-bottom:2px solid transparent;background:none;padding:6px 10px;min-height:32px;color:var(--ink);font-size:13px;line-height:18px;list-style:none;cursor:pointer}
.console-navigation>:is(button,a)[aria-current=page]{border-bottom-color:var(--rust);font-weight:bold;background:var(--paper)}
.console-navigation>details{margin-left:auto}
.workspace-shell .workspace-main :is(.workspace-heading,.priority-page-heading,.well-files-toolbar) h1{font-size:25px;line-height:1.15;letter-spacing:0}
.workspace-main .workspace-heading h1{margin:0 0 8px}
.console-unconnected{padding:9px 12px;margin:0 0 12px;background:var(--paper);border-left:3px solid var(--rust);font-size:15px}
.nearby-producers{display:flex;flex:1;flex-direction:column;min-height:0;width:100%;overflow:hidden}
.nearby-producers>.console-navigation{flex:none;margin:0;padding:0 6px}
.nearby-producers-frame{width:100%;height:0;flex:1;min-height:0;border:0;background:var(--cream);display:block}
.workspace-sign-out{border:0;background:transparent;cursor:pointer}
.workspace-sign-out:hover{text-decoration:underline}
.workspace-sign-out:focus-visible,.workspace-account>summary:focus-visible{outline:2px solid var(--rust);outline-offset:-2px}
@media(min-width:1200px){
 .workspace-shell{display:grid;grid-template-columns:max-content minmax(0,1fr);grid-template-rows:42px minmax(0,1fr)}
 .workspace-shell>.topbar{grid-column:1;grid-row:1}
 .workspace-shell>.workspace-navigation{grid-column:2;grid-row:1}
 .workspace-navigation>nav{flex-wrap:nowrap}
 .workspace-shell>.workspace-main{grid-column:1/-1;grid-row:2;--map-frame-offset:42px}
}
@media(max-width:650px){
 .workspace-shell>.topbar,.workspace-shell>.topbar:has(.grayson-brand){padding:3px 7px;gap:6px}
 .workspace-shell .identity select{max-width:120px}
 .workspace-navigation{gap:5px;padding:0 5px}
 .workspace-navigation>nav{flex:1}
 .workspace-navigation>nav>:is(button,a){min-height:32px;padding:6px 8px;font-size:13px;line-height:18px}
 .workspace-tools{gap:5px}.workspace-tools>span{display:none}.workspace-tools :is(button,a){font-size:12px;padding:5px 6px}
 .workspace-shell>.workspace-main{padding:10px}
 .workspace-shell>.workspace-main.workspace-map{padding:0}
 .console-navigation>:is(button,a),.console-navigation>details>summary{padding:6px 8px}
 .nearby-producers>.console-navigation{padding:0 3px}
}
@media print{html:has(.workspace-shell),body:has(.workspace-shell){height:auto;overflow:visible}.workspace-shell{display:block;height:auto;overflow:visible}.workspace-navigation,.console-navigation{display:none}.workspace-shell>.workspace-main{padding:0;overflow:visible}}

/* The source workspace's environment label is plain text. */
.workspace-shell .workspace-tools>.prototype{font-size:13px;letter-spacing:normal;text-transform:none;border:0;padding:0}
@media print{.workspace-shell>.topbar{display:none!important}}

/* Existing standalone entry controls occupy the source console's detail row. */
.workspace-shell .route-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;flex-wrap:wrap}
.workspace-shell .route-entry-navigation{margin:0;flex:1;min-width:0}
.workspace-shell .date-control{font-size:13px;gap:8px}
.workspace-shell .date-control input{font-size:16px;min-height:34px;padding:5px 7px;width:146px;margin:0;background:#faf7ef}
.workspace-pumper .pumper-name{font-size:16px;white-space:nowrap}
.workspace-pumper .workspace-tools .date-control{display:flex;align-items:center;white-space:nowrap;margin:0}
.workspace-pumper .workspace-tools .date-control input{min-height:30px;padding:3px 6px}
@media(max-width:850px){.workspace-pumper>.workspace-navigation{flex-wrap:wrap;padding-bottom:5px}.workspace-pumper .workspace-tools{width:100%;justify-content:flex-end}.workspace-pumper .workspace-navigation>nav{width:100%;flex-wrap:wrap}}
.workspace-shell .status-line{font-size:13px;margin:13px 0 0;color:#666451}
@media(max-width:650px){.workspace-shell .route-controls{gap:8px}.workspace-shell .route-entry-navigation{flex-basis:100%}.workspace-shell .date-control{margin-left:auto}}

.workspace-shell .workspace-research{display:flex;flex-direction:column;overflow:hidden}.workspace-research>#content,.workspace-research #research-content{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column}.workspace-research>#feedback:empty{display:none}.workspace-research:has(.reference-research-files){overflow:auto}.workspace-research:has(.reference-research-files)>#content{flex:none}

@media print{html:has(.workspace-shell),body:has(.workspace-shell){height:auto;overflow:visible}.workspace-shell{height:auto;overflow:visible;display:block}.workspace-shell>.topbar,.workspace-shell>.workspace-navigation,.workspace-shell .console-navigation,.workspace-shell .route-controls,.workspace-shell .status-line{display:none!important}.workspace-shell>.workspace{height:auto;max-height:none;overflow:visible;padding:0;display:block}.workspace-shell #content{display:block}.workspace-shell .psm-dashboard{break-inside:auto}}
