/* MineOS · readable by design. Screen-only so approved print forms retain their layout. */
@media screen {
  :root {
    --fc-bg:#f3f5f7; --fc-panel:#fff; --fc-raised:#f6f7f9; --fc-line:#dce2e9;
    --fc-text:#182637; --fc-muted:#56677b; --fc-gold:#805b18; --fc-accent:#e6c68c;
    --fc-green:#246a53; --fc-red:#ad3844; --ui-radius:16px;
    font-size:16px; color:var(--fc-text); color-scheme:light;
  }
  :root[data-theme="dark"] {
    --fc-bg:#101721; --fc-panel:#18222f; --fc-raised:#1e2a39; --fc-line:#344254;
    --fc-text:#f2f5f9; --fc-muted:#afbdcd; --fc-gold:#e7c68d; --fc-accent:#e7c68d;
    --fc-green:#98d6ba; --fc-red:#ffa8af; color-scheme:dark;
  }
  body {font-size:16px;line-height:1.55;background:var(--fc-bg);color:var(--fc-text)}
  button,input,select,textarea {font-family:inherit}
  button,a,input,select,textarea {touch-action:manipulation}
  button:disabled {cursor:not-allowed}
  :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid var(--fc-gold);outline-offset:4px}
  :is(h1,h2,h3,h4,p) {overflow-wrap:break-word}
  .shell {grid-template-columns:280px minmax(0,1fr)}
  .sidebar {width:280px;padding:28px 18px;background:var(--fc-panel)!important;scrollbar-width:thin}
  .sidebar .mark {width:44px;height:44px;margin:0 12px 12px 8px;padding:5px}
  .brandtext {margin:0 8px 24px}
  .brandtext strong {font-size:23px;letter-spacing:.12em}
  .brandtext small {font-size:14px;letter-spacing:.18em}
  .fc-navgroup {margin:4px 0}
  .fc-navgroup summary {font-size:14px;font-weight:600;min-height:48px;align-items:center;letter-spacing:0;padding:12px 10px}
  .sidebar .nav {font-size:15px;font-weight:500;min-height:48px;padding:12px;border-radius:10px;gap:12px;line-height:1.4}
  .sidebar .nav.active {background:color-mix(in srgb,var(--fc-gold) 10%,transparent)!important;box-shadow:inset 3px 0 var(--fc-gold)}
  .sidebar .nav:hover {background:var(--fc-raised);color:var(--fc-text)}
  .nav em {font-size:14px;padding:2px 7px}
  .sidefoot {font-size:14px;padding:20px 0;margin:28px 10px 0}
  .topbar {height:84px;padding:0 36px;gap:16px;background:var(--fc-bg)!important;backdrop-filter:none}
  .crumb {font-size:14px;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .topright {gap:12px;flex-shrink:0}
  .topbar :is(select,button) {font-size:15px;min-height:44px;border-radius:10px}
  .topbar select {max-width:200px;font-size:16px}
  .whoami b,.whoami small {font-size:14px}
  .avatar {width:42px;height:42px;font-size:14px}
  .content {padding:36px 36px 64px;max-width:1800px}
  .heading,.fc-heading {margin:4px 0 30px;align-items:flex-start;gap:24px}
  .heading h1,.fc-heading h1 {font:600 clamp(30px,2.8vw,42px)/1.18 Manrope,system-ui,sans-serif;letter-spacing:-.045em;margin:8px 0 12px}
  .sub,.fc-heading p {font-size:16px;line-height:1.65;color:var(--fc-muted);max-width:72ch}
  .eyebrow,.fc-eyebrow {font-size:14px;letter-spacing:.1em;font-weight:600;color:var(--fc-gold)}
  .btn,.fc-button,.quick,.bigaction,.tab,.pbtn {min-height:48px;font-size:15px!important;border-radius:10px;padding:12px 18px;line-height:1.5}
  .btn.primary,.fc-button {background:var(--fc-accent);border-color:var(--fc-accent);color:#202733;font-weight:700}
  .btn.ghost {color:var(--fc-text);border-color:var(--fc-line)}
  .icononly,.close {width:48px;min-width:48px;height:48px;display:grid;place-items:center}
  .input,.select,textarea,.fc select,.fc input,.picker input {font-size:16px;min-height:48px;padding:12px 14px;border-radius:10px;line-height:1.5}
  .fc-context {padding:24px 0;gap:24px;align-items:center;flex-wrap:wrap}
  .fc-context-left {gap:24px;flex-wrap:wrap}
  .fc-context label {font-size:14px;gap:8px;letter-spacing:0}
  .fc-scope {font-size:16px;padding-left:24px}
  .fc-scope small {font-size:14px;margin-top:4px}
  .fc-refresh {font-size:14px!important;min-height:44px;padding:8px 0;margin-top:0}
  .fc-refresh i {width:8px;height:8px}
  .fc-disclosure {padding:16px 18px;font-size:14px;line-height:1.6;border-radius:12px;gap:12px;margin-bottom:24px;flex-wrap:wrap}
  .fc-badge,.pill {font-size:14px;line-height:1.5;padding:5px 9px;border-radius:7px;white-space:normal}
  .fc-kpis,.kpis {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}
  .fc-metric,.metric {padding:24px;border-radius:var(--ui-radius);background:var(--fc-panel);border:1px solid var(--fc-line);box-shadow:0 3px 12px #00000004}
  .fc-metric.featured {padding-top:23px;border-top:2px solid var(--fc-gold)}
  .fc-metric>span,.metric label {font-size:16px;color:var(--fc-muted)}
  .fc-metric>strong,.metric strong {font:600 clamp(32px,2.8vw,42px)/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.04em;margin:18px 0 14px}
  .fc-metric>small,.metric small {font-size:14px;line-height:1.6}
  .fc-summary {grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 0;margin:0 0 28px;border-radius:var(--ui-radius);row-gap:0}
  .fc-summary button {padding:20px 24px;border-bottom:1px solid var(--fc-line);min-height:96px}
  .fc-summary button:nth-child(2n) {border-right:0}
  .fc-summary button:nth-last-child(-n+2) {border-bottom:0}
  .fc-summary span,.fc-summary em {font-size:14px;line-height:1.6}
  .fc-summary b {font-size:18px;font-weight:600;line-height:1.6}
  .fc-summary em {display:inline;font-weight:400}
  .fc-grid,.fc-footer-grid,.grid {gap:24px}
  .fc-grid.primary,.fc-grid.secondary,.fc-footer-grid,.fc-recon-grid {grid-template-columns:1fr}
  .fc-panel,.panel {padding:28px;border-radius:var(--ui-radius);background:var(--fc-panel);border-color:var(--fc-line);margin-bottom:24px}
  .fc-grid>.fc-panel,.fc-footer-grid>.fc-panel {height:calc(100% - 24px)}
  .fc-panel>header {gap:16px;margin-bottom:24px;flex-wrap:wrap}
  .fc-panel h2,.panel h2,.panel h3 {font:600 21px/1.4 Manrope,system-ui,sans-serif;letter-spacing:-.025em}
  .fc-panel header p {font-size:14px;line-height:1.6;margin-top:7px}
  .fc-link {font-size:15px!important;min-height:44px;display:inline-flex;align-items:center;gap:6px;line-height:1.5;padding:6px 0}
  .fc-trend svg text {font-size:14px}
  .fc-trend-values {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:20px}
  .fc-trend-values button {padding:12px 8px;border:1px solid var(--fc-line);border-radius:10px;min-height:70px;background:var(--fc-raised)}
  .fc-trend-values small,.fc-trend-values b {font-size:14px}
  .fc-spending {flex-direction:row;gap:32px;min-height:260px;align-items:center}
  .fc-donut {width:210px;height:210px;padding:18px}
  .fc-donut small {font-size:14px;letter-spacing:0}
  .fc-donut strong {font:600 26px/1.3 Manrope,sans-serif;letter-spacing:-1px}
  .fc-donut span {font-size:14px}
  .fc-legend {width:100%}
  .fc-legend button {font-size:15px;gap:12px;padding:16px 0;min-height:56px;flex-wrap:wrap}
  .fc-legend span,.fc-legend b {font-size:15px}
  .fc-legend span {flex:1;min-width:90px}
  .fc-legend b {margin:0;font-weight:600}
  .fc-legend i {width:10px;height:10px}
  .fc-budget-bars button {margin-bottom:24px;min-height:80px}
  .fc-budget-bars button>span,.fc-budget-bars b {font-size:15px;flex-wrap:wrap;gap:6px;font-weight:500}
  .fc-budget-bars em,.fc-budget-bars small {font-size:14px}
  .fc-budget-bars i {height:8px;margin:12px 0 8px}
  .fc-exceptions button {padding:18px 0;gap:16px;min-height:76px}
  .fc-exceptions b {font-size:16px;font-weight:500;line-height:1.5}
  .fc-exceptions small {font-size:14px;line-height:1.6}
  .fc-alert-icon {width:36px;height:36px;font-size:18px;border-radius:10px}
  .fc-note,.fc-trace p,.fc-report-grid p,.fc-empty,.empty {font-size:16px;line-height:1.7}
  .fc-workflow-mini {font-size:15px;gap:12px;line-height:1.5}
  .fc-workflow-mini span {padding:12px;border-radius:10px}
  .fc-readiness>span {font-size:16px;flex-wrap:wrap;gap:12px;line-height:1.5}
  .fc-footnote {font-size:14px;padding:24px 0;line-height:1.7}
  .fc-stage-list button,.fc-stage-list b {font-size:16px;padding-top:18px;padding-bottom:18px;line-height:1.5;align-items:center}
  .fc-stage-list b {padding:0;flex-shrink:0;font-size:15px}
  .fc-date {font-size:14px;display:flex;flex-direction:column;gap:6px}
  .fc-date input {margin:0;max-width:none}
  .fc-report-grid {gap:20px}
  .fc-report-grid button {padding:26px;border-radius:12px}
  .fc-report-grid button>span {font-size:14px}
  .fc-report-grid h3,.fc-trace h3 {font-size:20px;line-height:1.4}
  .fc-trace-step {padding-bottom:32px}
  .fc-error {font-size:16px}
  .summarystrip {gap:16px}
  .mini {padding:22px;border-radius:14px;background:var(--fc-panel)}
  .mini span {font-size:14px;color:var(--fc-muted)}
  .mini b {font-size:28px;font-weight:600;overflow-wrap:anywhere}
  .toolbar {gap:12px;margin-bottom:24px}
  .tablewrap,.fc-table-scroll {border-radius:12px;max-width:100%;overscroll-behavior-x:contain}
  th,.fc-table th {font-size:14px;text-transform:none;letter-spacing:0;padding:16px;font-weight:600;white-space:normal}
  td,.fc-table td {font-size:15px;padding:18px 16px;line-height:1.6}
  .rowlink {min-height:44px;display:inline-flex;align-items:center;gap:8px;font-size:15px;text-align:left}
  .minor,.notice,.detail label,.field label,.field small,.event small,.sectiontag,.subtle,.opt,.stamp {font-size:14px;line-height:1.65}
  .detail strong,.event,.drawer p {font-size:16px;line-height:1.6}
  .detail label {color:var(--fc-muted)}
  .detailgrid {gap:24px}
  .detail {padding-bottom:18px}
  .drawerback {background:#070e19a8;backdrop-filter:blur(5px);z-index:40}
  .drawer,.drawer.wide {width:min(1000px,94vw);padding:32px;background:var(--fc-panel);color:var(--fc-text)}
  .drawer header {gap:20px;padding-bottom:24px}
  .drawer h2 {font-size:30px;letter-spacing:-.035em;font-weight:600}
  .drawer h3,.fsec h4 {font-size:19px!important;line-height:1.5}
  .drawer .fields,.drawer.wide .fields {gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .field label {font-weight:600;color:var(--fc-text)}
  .fsec {padding:24px;margin-bottom:20px;border-radius:14px}
  .drawerfoot {padding:20px 0;margin-top:24px;gap:12px}
  form .drawerfoot {position:sticky;bottom:-32px;background:var(--fc-panel);z-index:4;box-shadow:0 -12px 24px var(--fc-panel)}
  .modulehead,.process,.chain {flex-wrap:wrap}
  .alertrow strong,.approw strong,.activity strong,.reportcard strong {font-size:16px}
  .alertrow small,.approw small,.activity small,.reportcard small {font-size:14px;line-height:1.6}
  .reportcard,.scopeitem {padding:24px;border-radius:12px}
  .toast {font-size:15px;max-width:calc(100vw - 32px);line-height:1.6}
  .nav-close,.nav-backdrop,.mobile-navigation {display:none}
  body:has(.drawerback),body:has(.sidebar.open) {overflow:hidden}
  .lpanel {background:var(--fc-panel);padding:56px;gap:32px}
  .lintro h2 {font-size:clamp(32px,4vw,54px);font-weight:600;max-width:12ch}
  .lintro p {font-size:18px;color:var(--fc-muted)}
  .lhero {height:190px;border-radius:16px}
  .lform {background:var(--fc-bg);padding:48px}
  .lform .authcard {max-width:430px}
  .lform h1 {font-size:36px;font-weight:600}
  .lform .field {margin-bottom:24px}
  .lport {padding:20px;border-radius:14px;background:var(--fc-raised)}
  .lport b {font-size:16px}
  .lport small,.lfoot {font-size:14px;color:var(--fc-muted)}
  .pwrap {max-width:960px;padding:48px 24px 64px}
  .phead {margin-bottom:32px;gap:24px}
  .phead h1 {font-size:32px;font-weight:600;color:var(--fc-text)}
  .phead p,.pmuted,.pfoot {font-size:16px;color:var(--fc-muted)}
  .pcard {background:var(--fc-panel);border-color:var(--fc-line);padding:36px;border-radius:20px;color:var(--fc-text)}
  .pcard h2 {font-size:21px;letter-spacing:-.02em;text-transform:none;color:var(--fc-text);margin:36px 0 20px}
  .pinput {background:var(--fc-raised);border-color:var(--fc-line);color:var(--fc-text);font-size:16px;min-height:48px;padding:12px 14px;border-radius:10px}
  .pgrid {gap:24px}
  .pfield {margin-top:24px;gap:9px}
  .pfield label,.pgrid label,.pblock {font-size:15px;color:var(--fc-text)}
  .pfield small,.popt,.ptable td small {font-size:14px;color:var(--fc-muted)}
  .pnotice {font-size:16px;padding:18px;border-radius:12px}
  .pfacts {background:var(--fc-raised);border-color:var(--fc-line);padding:24px}
  .pfacts dt {font-size:14px;color:var(--fc-muted);letter-spacing:0;text-transform:none}
  .pfacts dd {font-size:18px}
  .ptable th {font-size:14px;color:var(--fc-muted)}
  .ptable td {font-size:16px}
  .pbtn {font-size:16px!important;background:var(--fc-accent);color:#202733;margin-top:32px}
  @media(min-width:1400px) {
    .fc-kpis {grid-template-columns:repeat(4,minmax(0,1fr))}
    .fc-metric {padding:24px 20px}
    .fc-metric.featured {padding-top:23px}
    .fc-metric>strong {font-size:36px}
    .fc-grid.primary {grid-template-columns:1.1fr 1fr}
    .fc-grid.secondary,.fc-footer-grid {grid-template-columns:1fr 1fr}
    .fc-spending {flex-direction:column;gap:20px}
    .fc-recon-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  }
  @media(min-width:1750px) {.fc-spending{flex-direction:row}.fc-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.fc-summary button{border-bottom:0}.fc-summary button:nth-child(2){border-right:1px solid var(--fc-line)}}
  @media(max-width:1200px) {
    .shell {display:block}
    .sidebar {position:fixed;inset:0 auto 0 0;width:min(360px,90vw);height:100dvh;max-height:100dvh;z-index:35;transform:translateX(-101%);transition:transform .2s ease;box-shadow:20px 0 80px #0005}
    .sidebar.open {transform:none}
    .nav-close {display:grid;place-items:center;position:absolute;top:20px;right:18px;width:48px;height:48px;background:var(--fc-raised);border:1px solid var(--fc-line);border-radius:10px;color:var(--fc-text);font-size:28px}
    .nav-backdrop {display:block;position:fixed;inset:0;border:0;background:#070e19aa;backdrop-filter:blur(4px);z-index:30}
    .menu {display:grid!important;place-items:center;min-width:44px}
    .whoami,.avatar {display:none}
    .topbar {height:76px;min-height:76px;flex-wrap:nowrap;padding:12px 24px}
    .topbar .crumb {display:block}
    .topright {width:auto;margin-left:auto;overflow:visible}
    .content {padding:28px 24px 112px}
    .mobile-navigation {display:flex;position:fixed;bottom:0;left:0;right:0;z-index:10;border-top:1px solid var(--fc-line);padding:8px 12px max(8px,env(safe-area-inset-bottom));background:var(--fc-panel);box-shadow:0 -6px 30px #0000000a;justify-content:space-evenly}
    .mobile-navigation button {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:1;max-width:160px;min-height:58px;background:none;border:0;border-radius:12px;color:var(--fc-muted);font-size:14px;line-height:1.4;font-weight:500}
    .mobile-navigation button>span {font-size:23px;line-height:1.15}
    .mobile-navigation button[aria-current] {color:var(--fc-gold);background:color-mix(in srgb,var(--fc-gold) 9%,transparent)}
    .toast {bottom:96px}
  }
  @media(max-width:700px) {
    .content {padding:26px 16px 110px}
    .topbar {padding:10px 16px;gap:10px}
    .topbar .crumb {display:none}
    .topright {gap:8px;min-width:0}
    .topbar select {max-width:145px;font-size:16px;padding:10px;min-width:0}
    .topbar #signout {font-size:14px;padding:8px 10px;white-space:nowrap}
    .topbar .icononly {width:44px;min-width:44px;padding:8px}
    .heading,.fc-heading {flex-direction:column;gap:18px;margin-bottom:26px}
    .heading h1,.fc-heading h1 {font-size:32px;margin-top:10px;line-height:1.2}
    .fc-heading>.fc-button {margin:0}
    .fc-eyebrow {font-size:14px;letter-spacing:.045em}
    .fc-eyebrow span {margin:0 5px}
    .fc-context {padding:20px 0;gap:12px}
    .fc-context-left {width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
    .fc-context label {min-width:0}
    .fc-context select {width:100%;min-width:0}
    .fc-scope {display:none}
    .fc-disclosure {padding:16px;gap:10px}
    .fc-disclosure>.fc-link {margin-left:0}
    .fc-panel,.panel {padding:20px;margin-bottom:20px}
    .fc-panel>header {gap:12px}
    .fc-panel h2,.panel h2,.panel h3 {font-size:21px}
    .fc-grid,.fc-footer-grid {gap:0}
    .fc-grid>.fc-panel,.fc-footer-grid>.fc-panel {height:auto}
    .fc-kpis,.kpis {gap:14px}
    .fc-metric>strong {font-size:34px}
    .fc-summary button {padding:18px 16px}
    .fc-summary b {font-size:17px}
    .fc-summary em {display:block}
    .fc-spending {flex-direction:column;gap:24px}
    .fc-donut {width:210px;height:210px}
    .fc-legend span {flex-basis:auto}
    .fc-trend svg text {display:none}
    .fc-trend svg {margin-top:12px}
    .fc-trend-values {gap:8px;padding-top:8px}
    .fc-trend-values button {padding:10px 4px}
    .fc-stage-list button {flex-wrap:wrap;gap:6px}
    .fc-stage-list b {flex-shrink:1}
    .fc-report-grid,.twocol,.bottomgrid,.scopegrid {grid-template-columns:1fr}
    .fc-report-grid {gap:16px}
    .summarystrip {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .mini {padding:18px 16px}
    .mini b {font-size:26px}
    .toolbar {display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
    .toolbar .input,.toolbar .select {width:100%;min-width:0}
    .actions {width:100%}
    .actions .btn {flex:1}
    /* Preserve semantic headers; transform read-only records into labelled vertical lists. */
    .record-table {display:block;min-width:0!important;width:100%;border-collapse:separate}
    .record-table thead {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
    .record-table tbody {display:block;width:100%}
    .record-table tr {display:block;padding:16px 0;border-bottom:1px solid var(--fc-line)}
    .record-table tr:last-child {border-bottom:0}
    .record-table td {display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:16px;align-items:start;border:0;padding:8px 16px;font-size:15px;overflow-wrap:anywhere;background:transparent}
    .record-table td::before {content:attr(data-label);font-size:14px;line-height:1.6;color:var(--fc-muted);font-weight:400}
    .record-table td:first-child {align-items:center;padding-top:0;padding-bottom:12px}
    .record-table td .pill,.record-table td .fc-badge {justify-self:start}
    .record-table td .rowlink,.record-table td .fc-link {padding:0;min-height:44px}
    .fc-table-scroll .record-table td {padding-left:0;padding-right:0}
    .drawer,.drawer.wide {width:100%;max-width:100%;height:100dvh;border:0;padding:24px 20px 40px;scrollbar-gutter:auto}
    .drawer header {gap:12px;margin-bottom:24px}
    .drawer h2 {font-size:28px}
    .drawer .fields,.drawer.wide .fields,.detailgrid {grid-template-columns:1fr;gap:20px}
    .field.full {grid-column:auto}
    .fsec {padding:18px}
    .drawerfoot {flex-wrap:wrap}
    form .drawerfoot {bottom:-40px;padding:16px 0 max(20px,env(safe-area-inset-bottom))}
    .drawerfoot .btn {flex:1}
    .lpanel {padding:28px 24px;gap:24px}
    .lintro h2 {font-size:36px;max-width:16ch}
    .lintro p {font-size:16px}
    .lhero {display:none}
    .lform {padding:36px 24px 48px}
    .lform h1 {font-size:32px}
    .lports {gap:12px}
    .pwrap {padding:24px 16px 40px}
    .phead {gap:16px;margin-bottom:24px}
    .phead h1 {font-size:30px;line-height:1.25}
    .pcard {padding:24px 20px;border-radius:16px}
    .pgrid {grid-template-columns:minmax(0,1fr)}
  }
  @media(max-width:480px) {
    .fc-kpis,.kpis {grid-template-columns:minmax(0,1fr)}
    .fc-metric {padding:24px}
    .fc-metric>strong {font-size:40px;margin:14px 0 10px}
    .fc-summary {grid-template-columns:minmax(0,1fr)}
    .fc-summary button {border-right:0;min-height:90px;padding:18px 22px}
    .fc-summary button:nth-last-child(2) {border-bottom:1px solid var(--fc-line)}
    .fc-summary em {display:inline}
    .fc-report-grid {grid-template-columns:minmax(0,1fr)}
    .mobile-navigation {padding-left:8px;padding-right:8px}
  }
  @media(prefers-reduced-motion:reduce) {*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
}
@media screen {
  .fc-disclosure-details {display:block;padding:0;background:var(--fc-raised)}
  .fc-disclosure-details>summary {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;padding:14px 18px;cursor:pointer;list-style:none;font-size:14px;color:var(--fc-gold);font-weight:600}
  .fc-disclosure-details>summary::-webkit-details-marker {display:none}
  .fc-disclosure-details>summary span {font-size:20px;line-height:1}
  .fc-disclosure-details[open]>summary span {transform:rotate(45deg)}
  .fc-disclosure-details>div {padding:0 18px 16px;color:var(--fc-muted)}
  .fc-disclosure-details p {margin:0 0 8px;font-size:14px;line-height:1.6}
  .record-table td[colspan] {display:block}
  .record-table td[colspan]::before {display:none}
  .fc-grid.primary {align-items:start}
  @media(max-width:1200px) {
    .sidebar {visibility:hidden}
    .sidebar.open {visibility:visible}
  }
  @media(min-width:1201px) {body:has(.sidebar.open):not(:has(.drawerback)){overflow:auto}}
  @media(max-width:360px) {
    .topbar {padding:10px;gap:6px}
    .topright {gap:6px}
    .topbar select {max-width:118px;padding:10px 6px}
    .topbar #signout {padding:8px 6px}
    .fc-eyebrow {letter-spacing:0;font-size:14px}
  }
}
@media screen {
  small {font-size:14px}
  .scopeitem small {display:block;font-size:14px;line-height:1.7}
  @media(max-width:700px) {
    .landing {display:flex;flex-direction:column}
    .landing .lpanel {display:contents}
    .landing .lbrand {order:0;padding:28px 24px 0}
    .landing .lintro {order:1;padding:24px 24px 0}
    .landing .lform {order:2}
    .landing .lports {order:3;padding:0 24px 24px}
    .landing .lfoot {order:4;padding:0 24px 28px}
  }
}
@media screen and (max-width:360px) {.topbar select{max-width:95px;width:95px}.topbar #signout{min-width:44px}}
@media screen {
  .fc-trend svg text {font-size:20px}
  .linetable .input,.linetable select.input {font-size:16px;min-height:48px}
  .linetable .linedel {min-height:44px;min-width:44px}
  .linetable col.c-del {width:60px}
  .drawer.wide .linetable td,.drawer.wide .linetable th {padding:10px}
  .qgrid {font-size:15px}
  .modalback {z-index:50}
}
@media screen {.rowlink,.fc-link{min-width:44px}}
