/* Solid surfaces and crisp type keep patterned wallpaper behind the work. */
body[data-filling-app=station]{background-color:#f3f6f8;color:#203e4b;font-family:"Segoe UI",Arial,sans-serif;line-height:1.5}
body[data-filling-app=station] details,body[data-filling-app=station] .card,body[data-filling-app=station] dialog{background:#fff;color:#203e4b;opacity:1;box-shadow:0 3px 16px #15323f0a}
body[data-filling-app=station] label{color:#294653;font-size:14px}body[data-filling-app=station] input,body[data-filling-app=station] select,body[data-filling-app=station] textarea{background:#fff;color:#1d3947;border:1px solid #9cb4bf;font-size:16px;opacity:1}body[data-filling-app=station] input[readonly]{background:#eef5f3;color:#245747}body[data-filling-app=station] th{background:#e4efeb;color:#224b43}body[data-filling-app=station] td{color:#203e4b;background:#fff}body[data-filling-app=station] .product-total td{background:#e7f3ed}body[data-filling-app=station] header small,body[data-filling-app=station] header p{color:#e5f2ef}body[data-filling-app=station] summary{background:#edf4f1;color:#254b45;font-size:16px}
#dashboard.workspace-navigation,#workspace.workspace-navigation{display:block!important;position:relative;padding-left:285px;padding-right:0;min-height:650px}
.workspace-nav{position:absolute;left:0;top:0;bottom:0;width:260px;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:8px;background:#15333f;color:#fff;border-radius:14px;padding:24px 16px;overflow:auto;margin:0}
.nav-brand{font-size:22px;font-weight:700;margin:4px 8px 24px}.nav-brand small{display:block;color:#bad9d0;letter-spacing:.15em;font-size:11px;margin-top:8px}
.workspace-nav button{display:flex!important;align-items:center;gap:14px;flex-shrink:0;min-height:54px;width:100%;text-align:left;background:transparent;color:#eaf3f5;border:0;box-shadow:none;border-radius:10px;font:500 15px/1.4 "Segoe UI",Arial,sans-serif;padding:14px}
.workspace-nav button:hover,.workspace-nav button[aria-current=true]{background:#2c505c;color:#fff}.workspace-nav svg{width:25px;height:25px;flex:none;fill:none;stroke:#b8dbce;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.workspace-nav button span{flex:1}.workspace-nav button[data-target]:after{content:'›';font-size:23px;color:#d8ede6}
.workspace-navigation .nav-managed[data-work-open=false]{display:none!important}.workspace-navigation .nav-managed[data-work-open=true]{display:block}.workspace-navigation .nav-managed{position:relative;min-width:0;background:#fff;border:1px solid #d6e3e7;border-radius:14px;padding:24px;margin-bottom:18px;color:#203e4b}
.workspace-navigation .nav-managed>.collapse-toggle{display:none!important}.workspace-navigation .work-close{display:block!important;float:right;width:auto!important;min-height:36px;padding:7px 12px;margin:0 0 12px 16px;background:#e8f1ed;color:#285448;border:1px solid #b9d0c7;position:relative;z-index:1}
.work-empty{background:#fff;border:1px solid #d6e3e7;border-radius:14px;padding:45px;margin:16px 0}.work-empty h2{color:#285448}.workspace-navigation:not(.work-selected) #workspaceRibbon{display:block}.workspace-navigation:not(.work-selected) #stationRibbon{display:block}
#dashboard.workspace-navigation .ribbon-layout{position:static!important;width:auto!important;margin:0 0 18px;grid-column:auto;grid-row:auto}#dashboard.workspace-navigation #workspaceRibbon,#workspace.workspace-navigation #stationRibbon{position:static!important;width:auto!important;max-height:none;margin:12px 0;padding:16px;background:#edf4f1;color:#234a43;border:1px solid #bed2ca;box-shadow:none}
#dashboard.workspace-navigation #ribbonActions,#workspace.workspace-navigation #stationRibbon #ribbonActions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.ribbon-group{margin:0 14px 0 0}.ribbon-group button{min-height:40px}.tutorial-launch{margin-top:20px}#workspace.workspace-navigation #reportForm{min-width:0}#workspace.workspace-navigation>nav:not(.workspace-nav){justify-content:flex-end;gap:16px}
@media(min-width:901px){#dashboard.workspace-navigation .ribbon-layout{position:sticky!important;top:8px;z-index:24}#workspace.workspace-navigation #stationRibbon{margin-left:0}}
@media(max-width:900px){#dashboard.workspace-navigation,#workspace.workspace-navigation{padding:0!important;min-height:0}.workspace-nav{position:static;width:100%;max-height:340px;margin-bottom:18px}.workspace-nav button{min-height:46px}.nav-brand{margin-bottom:10px}.workspace-navigation .nav-managed{padding:16px}.work-empty{padding:24px}#workspace.workspace-navigation #stationRibbon{position:sticky!important;bottom:0;max-height:220px;overflow:auto;z-index:25}#dashboard.workspace-navigation .ribbon-layout{padding:0!important}}

#workspace.workspace-navigation[hidden],#dashboard.workspace-navigation.hidden{display:none!important}

/* Floating ribbons reserve a column and stay visible while the page scrolls. */
@media(min-width:1100px){
 #dashboard.workspace-navigation,#workspace.workspace-navigation{padding-right:290px!important}
 #dashboard.workspace-navigation .ribbon-layout{position:fixed!important;top:125px!important;right:18px!important;bottom:auto!important;width:265px!important;z-index:45}
 #dashboard.workspace-navigation #workspaceRibbon{max-height:calc(100vh - 145px)!important;overflow:auto}
 #workspace.workspace-navigation #stationRibbon{position:fixed!important;top:125px!important;right:18px!important;bottom:auto!important;width:265px!important;max-height:calc(100vh - 145px)!important;overflow:auto;z-index:45}
 #dashboard.workspace-navigation #ribbonActions,#workspace.workspace-navigation #stationRibbon #ribbonActions{flex-direction:column}
}
@media(max-width:1099px){
 #dashboard.workspace-navigation,#workspace.workspace-navigation{padding-bottom:230px!important}
 #dashboard.workspace-navigation .ribbon-layout,#workspace.workspace-navigation #stationRibbon{position:fixed!important;bottom:8px!important;top:auto!important;left:12px!important;right:12px!important;width:auto!important;z-index:45;max-height:210px!important;overflow:auto}
 #dashboard.workspace-navigation #workspaceRibbon{max-height:195px!important;overflow:auto}
}
.upload-mini-tools{display:flex;gap:6px;clear:both;margin:5px 0 8px}
#dashboard .upload-mini-tools button,#workspace .upload-mini-tools button,.upload-mini-tools button{display:inline-flex!important;align-items:center;justify-content:center;min-height:26px!important;width:28px!important;padding:0!important;font-size:18px!important;background:#edf4f1;color:#285448;border:1px solid #b6ccc2;border-radius:6px;box-shadow:none}
.upload-remove-dialog{max-height:75vh;overflow:auto}.upload-remove-dialog div button{display:block;margin:8px 0;max-width:100%;overflow-wrap:anywhere}
.designed-entry{position:relative;border:1px solid #cbded6!important;border-radius:18px!important;background:#fff!important;box-shadow:0 16px 50px #15333f16!important;padding:30px!important;overflow:hidden}
.entry-banner{margin:-30px -30px 24px;padding:26px 30px;background:#15333f;color:#fff;border-bottom:4px solid #a6cebb}
.entry-banner svg{width:34px;height:34px;fill:none;stroke:#b8dbce;stroke-width:1.7}.entry-banner h2{color:#fff!important;margin:8px 0}.entry-banner p{color:#dceee7!important;margin:6px 0;font-size:14px}
.designed-entry input,.designed-entry select{border-radius:8px;background:#fff;color:#203e4b}.designed-entry label{color:#294653}.designed-entry>h2{font-size:20px}
@media(min-width:850px){
 .designed-entry{display:grid;grid-template-columns:240px minmax(0,1fr);column-gap:28px;max-width:1000px!important;width:100%;box-sizing:border-box}
 .designed-entry>.entry-banner{grid-column:1;grid-row:1 / 30;margin:-30px 0 -30px -30px;padding:38px 26px;border-bottom:0;border-right:4px solid #a6cebb;min-height:280px}
 .designed-entry>:not(.entry-banner){grid-column:2;min-width:0}
 .entry-banner h2{font-size:25px;line-height:1.3}.entry-banner p{line-height:1.8}
}

/* Shared readable reports on solid surfaces throughout all company workspaces. */
.summary-item,.received-record .card{background:#edf4f1!important;color:#183e37!important;border:1px solid #c5d9ce;box-shadow:none}
.summary-item b,.summary-item strong{color:#294b43!important;font-size:15px;line-height:1.5;font-weight:700}
.summary-item span,.summary-item p{color:#173c34;font-size:17px;line-height:1.55;font-weight:800;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.money,.litres,.summary-item .money,.summary-item .litres{color:#17583e!important;font-weight:800!important;font-variant-numeric:tabular-nums}
.negative,.summary-item .negative{color:#a32d43!important;font-weight:800}.positive,.summary-item .positive{color:#126048!important;font-weight:800}.zero{color:#37515a!important}
.summary-item .zero{color:#37515a!important}table th{color:#183d43!important;background:#dcebe6!important;font-size:14px!important;font-weight:800!important;line-height:1.5}table td{color:#203e47;font-size:15px!important;line-height:1.5;font-weight:600}table td.money,table td .money{color:#17583e!important;font-weight:800!important}
.section-title,details summary,.panel-heading h2{color:#244f45;font-weight:800;line-height:1.5}input[type=number],output,#cashSummary td,#generatedCashTotal,#dischargeSummary{font-weight:800!important;font-variant-numeric:tabular-nums}
.nav-identity{padding:10px 10px 16px;border-bottom:1px solid #638b8b;margin-bottom:12px;color:#fff}.nav-identity #who{font-size:17px}.nav-identity #role,.nav-identity #positionDisplay{color:#d7eee5;font-size:13px;line-height:1.6}.nav-identity #responsibilityDisplay{background:transparent;border:0;padding:0;font-size:12px;line-height:1.6;color:#d7eee5;margin:12px 0}
.workspace-nav #reviewCards{display:grid;grid-template-columns:1fr;gap:8px;margin:10px 0 0}.workspace-nav #reviewCards .card{display:grid;grid-template-columns:30px 1fr;column-gap:8px;min-width:0;width:100%;background:#284d57!important;color:#fff!important;border:1px solid #53757d;border-radius:9px;padding:10px}.workspace-nav #reviewCards .card>span:not(.nav-stat-icon){font-size:12px;color:#e2f0eb}.workspace-nav #reviewCards .card>b{grid-column:2;margin:1px 0 0;font-size:19px;overflow-wrap:anywhere}.nav-stat-icon{grid-row:1/3}.nav-stat-icon svg{width:24px;height:24px}
.company-access-shell{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:100vh;background:#f3f6f8;font:16px/1.6 "Segoe UI",Arial,sans-serif;color:#203e47}.access-side{padding:42px 24px;background:#15333f;color:#f2f8f5;display:flex;flex-direction:column;gap:34px}.access-brand{display:grid;grid-template-columns:54px 1fr;gap:0 12px;align-items:center}.access-symbol{grid-row:1/3;font-size:35px;color:#badfce}.access-brand strong{font-size:23px}.access-brand small{font-size:10px;letter-spacing:2px;color:#b8d7cf}.access-kicker{font:700 12px/1.5 "Segoe UI",Arial;letter-spacing:2px;color:#52736c;margin-bottom:14px}.access-side .access-kicker{color:#b5d4ce}.access-side nav{display:flex;flex-direction:column;align-items:stretch;gap:12px}.access-side nav a{display:flex;align-items:center;gap:15px;text-decoration:none;color:#edf7f3;padding:15px;border-radius:11px;font-size:15px}.access-side nav a.active,.access-side nav a:hover{background:#2b505c}.access-side nav a>span:last-child{margin-left:auto}.access-foot{margin-top:auto;border-top:1px solid #56717b;padding-top:20px}.access-foot p{color:#d0e5de}.access-foot strong{font-size:20px}.access-main{max-width:none!important;margin:0!important;padding:55px 4%!important;border:0!important}.access-main h1{font-size:32px!important;margin:12px 0}.access-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:25px;margin-top:30px}.access-card,.access-register{padding:30px;border:1px solid #d1e0db;border-radius:17px;background:#fff}.access-card-title{display:flex;gap:18px;align-items:center;border-bottom:1px solid #d9e5df;padding-bottom:22px;margin-bottom:25px}.access-card-title>span{font-size:35px;color:#39725b}.access-card-title h2{font-size:23px;margin:0;color:#244f45}.access-card-title p{font-size:14px;color:#496b64;margin:6px 0}.access-choice{display:flex;gap:14px;align-items:center;width:100%;text-align:left;background:#f6faf8!important;color:#244f45!important;border:1px solid #a8c7b9!important;padding:17px!important;margin:12px 0!important;box-shadow:none}.access-choice>span:nth-child(2){flex:1}.access-choice small{display:block;font-weight:400;color:#496b64;font-size:12px;margin-top:6px}.access-choice>span:first-child{font-size:25px}.access-help{font-size:13px;color:#496b64}.access-register{background:#e6f0eb;display:flex;flex-direction:column}.access-register>small{align-self:flex-start;background:#fff;border:1px solid #c2d9ca;border-radius:5px;padding:6px 10px;font-size:10px;letter-spacing:1px}.access-register h2{font-size:31px;line-height:1.4;color:#285448}.access-register a{display:block;margin-top:auto;padding:17px;background:white;color:#285448!important;border:1px solid #b5cec0;border-radius:8px;text-decoration:none;font-weight:700}
body[data-filling-app=entry]>.tutorial-launch{position:fixed;bottom:20px;left:24px;z-index:30}
@media(max-width:1050px){.company-access-shell{grid-template-columns:240px minmax(0,1fr)}.access-grid{grid-template-columns:1fr}.access-main{padding:32px 22px!important}.access-register{gap:7px}.access-register a{margin-top:20px}}
@media(max-width:650px){.company-access-shell{grid-template-columns:1fr}.access-side{padding:24px;gap:14px}.access-foot{display:none}.access-side nav{gap:4px}.access-main h1{font-size:27px!important}.access-card,.access-register{padding:22px}body[data-filling-app=entry]>.tutorial-launch{position:static;margin:20px}}

.summary-item{font-size:16px!important;font-weight:800!important;line-height:1.6}

.company-access-shell svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.access-symbol svg,.access-card-title>span svg{width:38px;height:38px}

#ownerWorkspace.owner-panel-layout{position:relative;min-height:650px;padding:0 275px 0 270px}#ownerWorkspace.owner-panel-layout[hidden]{display:none!important}
.owner-nav{position:absolute;left:0;top:0;bottom:0;width:245px;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;background:#15333f;color:#fff;border-radius:14px;padding:24px 16px;overflow:auto}
.owner-nav button{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;color:#edf7f3;border-radius:9px;font:500 15px/1.5 "Segoe UI",Arial;padding:13px;box-shadow:none}.owner-nav button:hover,.owner-nav button[aria-current=true]{background:#2c505c}.owner-nav svg{width:25px;height:25px;flex:none;fill:none;stroke:#b8dbce;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
body[data-filling-app=owner]>main{max-width:1550px!important;padding:26px!important}#ownerWorkspace>.panel{min-width:0;background:#fff;border:1px solid #d1e0db;border-radius:14px;padding:24px;color:#203e47}#ownerWorkspace>.panel>h2{font-size:23px;color:#285448}.owner-work-close{display:block!important;float:right;width:auto;background:#e6f0eb;color:#285448}.owner-select{display:inline-block!important;background:#e6f0eb;color:#285448}
#ownerWorkspace>.panel button:not(.owner-work-close):not(.owner-select){display:none}#ownerWorkspace>.panel input[type=number]{font-weight:800}#companyList>p{border:1px solid #cbded4;background:#f1f6f3;border-radius:10px;padding:15px;line-height:1.8;color:#244a41}#ownerEvents{white-space:pre-wrap;line-height:1.8;color:#244a41}
#ownerRibbon{position:fixed;right:22px;top:125px;width:245px;padding:18px;background:#edf4f1;border:1px solid #bed2ca;border-radius:12px;max-height:calc(100vh - 145px);overflow:auto;color:#244a41;z-index:45}#ownerRibbon h2{font-size:22px}#ownerRibbonActive{font-weight:700;overflow-wrap:anywhere}#ownerRibbonActions{display:flex;flex-direction:column;gap:8px}#ownerRibbonActions button{margin:0;white-space:normal;text-align:left;min-height:42px}
@media(max-width:1100px){#ownerWorkspace.owner-panel-layout{padding:0 0 230px}.owner-nav{position:static;width:100%;max-height:330px;margin-bottom:20px}#ownerRibbon{top:auto;bottom:8px;left:12px;right:12px;width:auto;max-height:210px}#ownerRibbonActions{flex-direction:row;flex-wrap:wrap}}
body[data-filling-app=owner]{background-color:#f3f6f8;color:#203e47}#companyList>p{font-weight:700;font-variant-numeric:tabular-nums}body[data-filling-app=owner] main>h1{color:#173d61}body[data-filling-app=owner] main>p{color:#375a63}

#ownerWorkspace>.panel.calculation-panel button:not([hidden]),#ownerWorkspace>.panel.currency-panel button:not([hidden]),
#workspace.has-station-ribbon .currency-panel button:not([hidden]),#workspace.has-station-ribbon .calculation-panel button:not([hidden]),#workspace.has-station-ribbon .cash-forward-panel button:not([hidden]){display:inline-flex!important}

/* Preserve panel colours, sizing and buttons while the workspace scrolls. */
.workspace-nav.navigation-pinned,.owner-nav.navigation-pinned{
 position:fixed;width:var(--navigation-width);left:var(--navigation-left);top:var(--navigation-top);bottom:auto;
 max-height:calc(100dvh - var(--navigation-top) - 12px);box-sizing:border-box;
 overflow-y:auto;overscroll-behavior:contain;z-index:35;
}

.station-expense-details{max-width:100%;font-size:13px}.station-expense-details summary{cursor:pointer}.station-expense-details table{min-width:190px}.station-expense-details td{overflow-wrap:anywhere}#receivedCashPanel [data-detail]:empty{display:none}
