:root {
  color-scheme: light;
  --ink: #222422;
  --muted: #5d605b;
  --line: #d9d8cf;
  --canvas: #eeede6;
  --paper: #fffefa;
  --green: #343c36;
  --rail: #212323;
  --rail-ink: #e1e1da;
  --signal: #ff783c;
  --speed: 200ms;
  --ease: cubic-bezier(.2,.7,.25,1);
  --danger: #a63932;
  --sans: "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
  font: 16px/1.45 var(--sans);
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #b67318; outline-offset: 3px; }
button { cursor: pointer; }
button:disabled { cursor: progress; opacity: .62; }
h1, h2, h3, p { margin: 0; }
small { color: var(--muted); font-size: .82rem; }
svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
strong { font-weight: 650; }
.muted { color: var(--muted); }
.loading { padding: 3rem; }
.layout { display: grid; grid-template-columns: 242px minmax(0,1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: auto; color: var(--rail-ink); background: var(--rail); border-right: 1px solid #3a3d3a; padding: 1.45rem .9rem 1rem; }
.brand { display: flex; gap: .75rem; align-items: center; padding: 0 .4rem; color: #faf8f0; }
.brand-mark { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; background: #171918; border: 1px solid #50514c; }
.brand img { width: 35px; height: 35px; object-fit: contain; }
.brand strong { display: block; font-size: 1.42rem; font-weight: 780; line-height: 1.1; letter-spacing: -.055em; }
.brand strong + span { display: block; font: 500 .68rem/1.6 var(--mono); color: #bdbfb7; }
.workspace { display: flex; align-items: center; gap: .65rem; margin: 1.75rem .12rem .95rem; padding: .65rem .55rem; border-block: 1px solid #494c46; background: #282b27; }
.workspace > span { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; border: 1px solid #5b6157; background: #30352e; color: #f0f6ef; font: 600 .75rem var(--mono); }
.workspace strong,.identity strong { display: block; color: #f6f8f4; font-size: .88rem; overflow-wrap: anywhere; }
.workspace small,.identity small { display: block; color: #b9bcb4; font-size: .77rem; }
.nav-group { margin: .75rem 0 1.05rem; }
.nav-group p { color: #b9bcb2; padding: .25rem .62rem .45rem; font: 600 .72rem/1.35 var(--mono); }
.nav-item { display: flex; align-items: center; gap: .64rem; min-height: 39px; padding: .48rem .55rem; border-left: 3px solid transparent; font-size: .9rem; font-weight: 550; }
.nav-item svg { color: #b9bcb2; }
.nav-item.current { color: #fff; border-left-color: var(--signal); background: #373630; }
.nav-item.current svg { color: var(--signal); }
.nav-item:hover { background: #373a35; }
.identity { display: flex; align-items: center; gap: .6rem; margin-top: auto; padding: .8rem .17rem 0; border-top: 1px solid #494c46; }
.identity .icon-btn { color: #cbdad0; margin-left: auto; }
.identity .icon-btn:hover { background: #36564b; }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; width: 32px; height: 32px; flex: 0 0 auto; color: #1b4134; background: #cdddce; font: 650 .74rem var(--mono); }
.identity .avatar { background: var(--signal); color: #28231e; }
@media (min-width: 806px) and (max-height: 780px) {
  .sidebar { padding-block: 1rem .75rem; }
  .workspace { margin-top: 1.1rem; margin-bottom: .55rem; }
  .nav-group { margin-block: .5rem .7rem; }
  .nav-item { min-height: 35px; }
}
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-location,.top-actions,.today { display: flex; align-items: center; gap: .72rem; }
.top-location { color: var(--muted); font-size: .88rem; }
.top-location strong { color: var(--ink); }
.top-location i { width: 1px; height: 15px; background: #c7d2c9; transform: skew(-18deg); }
.top-location .icon-btn { display: none; }
.today { font-size: .84rem; border: 1px solid var(--line); padding: .38rem .65rem; border-radius: 4px; white-space: nowrap; }
.bell { position: relative; }
.bell b { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; background: #bc722a; border-radius: 50%; }
.page { width: min(100%, 1530px); margin: 0 auto; padding: 1.85rem 2rem 3rem; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: 0 0 1.45rem; }
.page-heading h1 { font-size: clamp(2rem,3vw,2.95rem); letter-spacing: -.065em; font-weight: 750; line-height: 1.04; }
.page-heading p { color: var(--muted); margin-top: .55rem; font-size: .96rem; }
.heading-actions,.button-group { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; font-size: .87rem; font-weight: 650; min-height: 37px; padding: .45rem .66rem; border-radius: 4px; border: 1px solid transparent; line-height: 1.25; }
.btn.primary { background: var(--signal); color: #241b15; border-color: #ed6d33; min-height: 42px; padding-inline: .82rem; font-weight: 750; }
.btn.primary:hover { background: #ff925d; border-color: #b34a1b; }
.btn.secondary { color: var(--green); background: var(--paper); border-color: var(--line); }
.btn.secondary:hover { background: #f2f0e7; border-color: #a7a799; }
.btn.icon-btn { width: 38px; padding: .35rem; background: transparent; color: inherit; }
.btn.icon-btn:hover { background: #e3ebe3; }
.text-link,.back-link { color: var(--green); font-weight: 650; font-size: .87rem; }
.back-link { display: inline-block; margin-bottom: .8rem; }
.text-link:hover,.back-link:hover,td a:not(.btn):hover,.side-list a:hover,.notice-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dashboard > .page-heading { position: relative; isolation: isolate; overflow: clip; border-left: 4px solid var(--signal); padding: clamp(1rem, 2.5vw, 2rem); background: #292c29; color: #faf8ef; }
.dashboard > .page-heading::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .14; background: repeating-linear-gradient(135deg, transparent 0 21px, #d4d6c6 21px 22px, transparent 22px 29px); mask-image: linear-gradient(90deg,transparent 34%,#000); }
.dashboard > .page-heading p { color: #d9dad0; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 1rem; border-block: 1px solid var(--line); background: var(--paper); }
.metric { min-width: 0; padding: .75rem .95rem .8rem; border-left: 1px solid var(--line); box-shadow: inset 0 3px 0 #788072; }
.metric:last-child { border-right: 1px solid var(--line); }
.metric:hover { background: #f4f0e3; }
.metric-top { display: flex; align-items: center; gap: .48rem; min-height: 24px; color: #335248; font-weight: 650; font-size: .87rem; }
.metric-top svg { width: 1.05rem; }
.metric strong { display: block; font-size: 2.35rem; font-weight: 730; line-height: 1.05; letter-spacing: -.075em; margin: .25rem 0 .3rem; font-variant-numeric: tabular-nums; }
.metric.danger { box-shadow: inset 0 3px 0 #bb5a4f; }
.metric.danger strong,.metric.danger .metric-top { color: var(--danger); }
.metric.warm { box-shadow: inset 0 3px 0 #d37839; }
.metric.warm .metric-top { color: #775723; }
.dashboard-middle { display: grid; grid-template-columns: minmax(0,1fr) minmax(248px, .37fr); align-items: start; gap: 1rem; }
.dashboard-rail { display: grid; gap: .85rem; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); margin: 0 0 1rem; overflow: hidden; }
.dashboard-rail .panel { margin: 0; }
.dashboard-middle { margin-bottom: 1rem; }
.dashboard-middle > .panel { margin: 0; }
.panel-head { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; justify-content: space-between; min-height: 54px; padding: .65rem .95rem; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.08rem; letter-spacing: -.035em; font-weight: 700; }
.panel-body { padding: .85rem .95rem; }
.panel-body .empty { padding: .65rem 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .89rem; text-align: left; }
th { color: #494b41; background: #f1efe5; font-size: .80rem; font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--line); }
td, th { padding: .65rem .8rem; vertical-align: middle; }
td { border-bottom: 1px solid #e6ebe6; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f9f5ec; }
td a:not(.btn) { font-weight: 650; color: #203f33; }
.order-title,.stack { display: grid; gap: .15rem; min-width: 150px; }
.order-id { color: #4e695c; font: 600 .78rem/1.35 var(--mono); white-space: nowrap; }
.order-title small,.side-list small { display: block; }
.site-name { min-width: 83px; display: inline-block; }
.due { display: inline-block; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.due.late { color: var(--danger); }
.tag,.priority { display: inline-flex; align-items: center; gap: .32rem; white-space: nowrap; font-size: .81rem; font-weight: 650; line-height: 1.22; }
.tag { border-radius: 4px; padding: .3rem .38rem; background: #e9efed; color: #345349; }
.tag i,.priority i { height: 6px; width: 6px; border-radius: 50%; background: currentColor; }
.tag.scheduled { background: #e9efeb; color: #3e5a4f; }
.tag.progress { background: #e2edf5; color: #275577; }
.tag.paused { background: #f6ead8; color: #765222; }
.tag.review { background: #f3ebd7; color: #6a5523; }
.tag.closed { background: #e1f0e3; color: #28583e; }
.priority.urgent { color: var(--danger); }
.priority.high { color: #8a542b; }
.priority.normal,.priority.low { color: #546760; }
.person { display: flex; gap: .48rem; align-items: center; white-space: nowrap; }
.person i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e3ece3; color: #315746; font: 600 .68rem var(--mono); }
.workload { padding: .7rem .85rem .8rem; display: grid; gap: .64rem; }
.workload-row > div { display: flex; gap: .52rem; align-items: center; font-size: .87rem; }
.workload-row > div > span:last-child { margin-left: auto; font: 650 .85rem var(--mono); }
.workload .avatar { width: 27px; height: 27px; font-size: .68rem; }
.shade-1 { background: #e7d8ad; color: #654d20; }
.shade-2 { background: #dbe5eb; color: #375766; }
progress { appearance: none; border: 0; width: 100%; height: 6px; display: block; margin-top: .4rem; overflow: hidden; border-radius: 2px; background: #e4eae4; }
progress::-webkit-progress-bar { background: #e4eae4; }
progress::-webkit-progress-value { background: #618a77; }
progress::-moz-progress-bar { background: #618a77; }
.side-list > div { padding: .52rem .92rem; border-bottom: 1px solid #e6ebe6; }
.side-list > div:last-child { border-bottom: 0; }
.side-list a { font-size: .87rem; font-weight: 650; color: #284839; }
.performance { display: grid; grid-template-columns: repeat(3,1fr); }
.performance > div { padding: .72rem .95rem; border-right: 1px solid var(--line); }
.performance > div:last-child { border: 0; }
.performance span,.performance small,.performance strong { display: block; }
.performance span { font-size: .87rem; font-weight: 630; }
.performance strong { font-size: 1.65rem; letter-spacing: -.05em; }
.record-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .55rem .85rem; border-bottom: 1px solid var(--line); }
.tabs { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.tabs a { border: 1px solid transparent; font-size: .84rem; font-weight: 650; padding: .42rem .45rem; color: #50645a; border-radius: 4px; }
.tabs a.selected { background: #e5eee6; color: #244e3d; border-color: #d0e0d2; }
.tabs a:hover { background: #edf3ed; }
.search { display: flex; align-items: center; background: #f9fbf9; gap: .3rem; border: 1px solid #d4dfd6; padding: .28rem .55rem; border-radius: 4px; min-width: 10rem; }
.search svg { color: #587467; }
.search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: .15rem; color: var(--ink); font-size: .86rem; }
.empty { padding: 1rem .95rem; color: var(--muted); font-size: .93rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(8rem,1fr)); }
.calendar-grid > section { min-height: 18rem; padding: .5rem; border-right: 1px solid var(--line); }
.calendar-grid > section:last-child { border-right: 0; }
.calendar-grid > section > header { display: flex; justify-content: space-between; align-items: center; padding: .3rem .2rem .6rem; color: #51695e; text-transform: capitalize; }
.calendar-grid > section > header strong { font-size: 1.3rem; }
.calendar-today { background: #eaf3e9; }
.calendar-order { display: grid; gap: .2rem; justify-items: start; padding: .48rem; margin-bottom: .48rem; border: 1px solid #d6e2d6; border-left: 3px solid #6a9582; border-radius: 4px; background: #fff; font-size: .83rem; }
.calendar-order.corrective { border-left-color: #b98743; }
.calendar-order:hover { border-color: #849d8e; }
.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: .9rem 1.1rem; }
.facts dt { color: var(--muted); font-size: .82rem; }
.facts dd { margin: .13rem 0 0; font-weight: 620; overflow-wrap: anywhere; }
.facts dd a:hover { text-decoration: underline; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.prewrap:not(:empty) { margin: .8rem 0 0; }
.qr { display: flex; gap: .9rem; align-items: center; }
.qr img { width: min(9.5rem,48%); min-width: 6rem; border: 1px solid var(--line); }
.qr > div { display: grid; gap: .42rem; justify-items: start; }
.qr strong { font: 650 1.25rem var(--mono); }
.files { display: flex; flex-wrap: wrap; align-items: start; gap: .55rem; margin: .5rem 0; }
.files a { display: grid; align-items: center; justify-items: center; gap: .2rem; width: 9.2rem; max-width: 100%; padding: .38rem; background: #f7faf7; border: 1px solid var(--line); border-radius: 4px; font-size: .8rem; overflow-wrap: anywhere; }
.files img { width: 100%; height: 6rem; object-fit: cover; }
.task-list { list-style: none; margin: 0 0 .55rem; padding: 0; }
.task-list li { display: flex; align-items: center; gap: .6rem; border-bottom: 1px solid var(--line); padding: .5rem 0; }
.task-list li > .tag { margin-left: auto; }
.task-list svg { color: #507867; }
.timeline > article,.timeline > details,.notice-list article { padding: .6rem .92rem; border-bottom: 1px solid var(--line); }
.timeline > :last-child,.notice-list article:last-child { border-bottom: 0; }
.timeline small,.notice-list small,.inline-details small { display: block; margin-top: .15rem; }
.timeline summary,.previous-reports summary { cursor: pointer; font-weight: 650; }
.notice-list article,.inline-details { display: flex; gap: .7rem; align-items: center; }
.notice-list article > div,.inline-details > :first-child { flex: 1; }
.notice-symbol { display: inline-grid; place-items: center; width: 32px; height: 32px; color: #346650; background: #e6efe6; border-radius: 4px; }
.report .paper,.previous-reports { margin: .95rem; padding: .95rem; border: 1px solid var(--line); }
.report-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; border-bottom: 2px solid #3d6957; padding-bottom: .55rem; margin-bottom: .65rem; }
.report-head h2 { margin-top: .2rem; font-size: 1.35rem; }
.report-head small { display: block; }
.report-brand { display: flex; align-items: center; gap: .35rem; font-weight: 750; letter-spacing: -.025em; }
.report-brand img { object-fit: contain; }
.report-section { margin-top: .9rem; }
.report-section h3,.previous-reports h3 { font-size: .96rem; }
.report-section .prewrap { margin-top: .2rem; }
.previous-reports details { padding: .5rem 0; }
.previous-reports summary { margin-bottom: .45rem; }
dialog { width: min(100% - 1.5rem, 550px); max-height: min(90vh, 760px); border: 1px solid #b9cbbe; border-radius: 7px; padding: 0; color: var(--ink); background: white; box-shadow: 0 15px 50px #0c211c4d; }
dialog::backdrop { background: #1026228f; }
dialog form { display: flex; flex-direction: column; max-height: min(89vh, 756px); }
dialog form > header,dialog form > footer { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .65rem .9rem; background: #f7faf7; }
dialog form > header { border-bottom: 1px solid var(--line); }
dialog form > footer { justify-content: end; border-top: 1px solid var(--line); }
dialog h2 { font-size: 1.25rem; letter-spacing: -.035em; }
.dialog-fields { overflow-y: auto; padding: .75rem .9rem; }
.field { display: grid; gap: .26rem; font-weight: 600; font-size: .88rem; margin: 0 0 .7rem; }
.field input,.field textarea,.field select { border: 1px solid #bdcdc2; border-radius: 4px; padding: .55rem .65rem; color: var(--ink); background: #fcfefc; width: 100%; min-height: 42px; font-size: 1rem; font-weight: 400; }
.field textarea { resize: vertical; }
.field small { font-weight: 400; }
.select-wrap { position: relative; }
.select-wrap::after { position: absolute; content: ""; right: .85rem; top: .95rem; width: .4rem; height: .4rem; border-right: 2px solid #536d60; border-bottom: 2px solid #536d60; transform: rotate(45deg); pointer-events: none; }
.field select { appearance: none; padding-right: 1.8rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.check { display: flex; align-items: center; gap: .55rem; min-height: 34px; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: #275441; }
fieldset { border: 1px solid var(--line); padding: .45rem .65rem; margin: .4rem 0; }
.form-error { color: #9b322c; font-size: .88rem; margin: .35rem 0; }
.form-error:empty { display: none; }
.draft-tools { margin-bottom: .75rem; }
.draft-results { color: var(--muted); margin-top: .42rem; }
.draft-preview { padding: .58rem; border: 1px solid var(--line); background: #f5f8f4; }
.draft-preview .btn { margin-top: .5rem; }
#toast { position: fixed; z-index: 7; bottom: 1rem; right: 1rem; max-width: min(25rem, calc(100vw - 2rem)); padding: .7rem .85rem; border: 1px solid #456957; border-radius: 4px; color: #fff; background: var(--rail); visibility: hidden; }
#toast.visible { visibility: visible; }
.login-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); min-height: 100vh; }
.login-identity { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 4rem; padding: 2.4rem clamp(1.4rem,5vw,5rem); background: var(--rail); color: #f9fbf5; }
.login-identity .brand { padding: 0; }
.login-title { margin: auto 0; padding-bottom: 6vh; }
.login-title h1 { font-size: clamp(3rem,6vw,6.4rem); line-height: .98; letter-spacing: -.075em; }
.login-title h1 span { color: var(--signal); }
.login-title p { color: #deded3; margin-top: 1.25rem; font-size: clamp(.95rem,1.3vw,1.2rem); }
.login-mark { position: absolute; z-index: -1; pointer-events: none; width: clamp(22rem, 44vw, 48rem); right: -16%; bottom: -26%; opacity: .19; }
.login-mark img { display: block; width: 100%; }
.login-access { display: grid; place-items: center; padding: 2.1rem; background: #f7f5eb; }
.login-inner { width: min(100%, 390px); }
.login-inner h2 { font-size: 2.35rem; letter-spacing: -.06em; margin-bottom: 1.15rem; }
.login-inner .primary { width: 100%; margin-top: .3rem; }
.demo-area { margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.demo-area p { margin-bottom: .55rem; color: var(--muted); font-weight: 650; font-size: .87rem; }
.demo-area .btn { margin: 0 .3rem .3rem 0; }
.drawer-shade { display: none; }
@media(max-width: 1240px) {
  .layout { grid-template-columns: 216px minmax(0,1fr); }
  .page { padding-inline: 1.3rem; }
  .topbar { padding-inline: 1.3rem; }
  .dashboard-middle { grid-template-columns: minmax(0,1fr) minmax(226px,.36fr); }
  td,th { padding-inline: .55rem; }
}
@media(max-width: 1090px) {
  .dashboard-middle { grid-template-columns: 1fr; }
  .dashboard-rail { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 805px) {
  .layout { display: block; }
  .sidebar { position: fixed; z-index: 4; top: 59px; left: 0; width: min(285px,88vw); height: calc(100dvh - 59px); box-shadow: 4px 10px 26px #23241f52; visibility: hidden; transform: translateX(-102%); transition: transform var(--speed) var(--ease), visibility 0s var(--speed); }
  .sidebar.menu-open { visibility: visible; transform: translateX(0); transition-delay: 0s; }
  .drawer-shade { display: block; position: fixed; z-index: 3; inset: 59px 0 0; background: #20221eb0; opacity: 0; pointer-events: none; transition: opacity var(--speed) var(--ease); }
  .drawer-shade.visible { opacity: 1; pointer-events: auto; }
  .top-location .icon-btn { display: inline-flex; margin-left: -.42rem; }
  .topbar { position: sticky; z-index: 5; top: 0; height: 59px; padding-inline: .85rem; }
  .page { padding: 1.25rem .85rem 2rem; }
  .btn { min-height: 42px; }
  .page-heading { align-items: start; }
  dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 8px 8px 0 0; }
}
@media(max-width: 570px) {
  .top-location > span,.top-location > i { display: none; }
  .today { padding-inline: .4rem; }
  .page-heading,.record-toolbar { flex-direction: column; align-items: start; }
  .page-heading { margin-bottom: .95rem; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(even) { border-right: 1px solid var(--line); }
  .metric { padding: .52rem .6rem; }
  .metric strong { font-size: 1.85rem; }
  .dashboard-rail,.detail-grid { grid-template-columns: 1fr; }
  .detail-grid { gap: 0; }
  .performance { grid-template-columns: 1fr; }
  .performance > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .search { width: 100%; }
  .login-layout { display: block; }
  .login-identity { min-height: 205px; gap: 1.3rem; padding: 1.1rem 1rem; }
  .login-title { padding-bottom: 0; }
  .login-title h1 { font-size: 2.6rem; }
  .login-title p { margin-top: .45rem; }
  .login-mark { right: -32%; bottom: -63%; }
  .login-access { padding: 1.25rem 1rem; }
  .login-inner h2 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn,.nav-item,.metric,.calendar-order { transition: background-color 140ms, border-color 140ms, color 140ms, transform 140ms var(--ease); }
  .btn:active:not(:disabled) { transform: translateY(1px); }
  .login-title,.login-inner { animation: surface-in 280ms var(--ease) both; }
  dialog { opacity: 0; transform: translateY(16px) scale(.985); transition: opacity var(--speed), transform var(--speed) var(--ease), display var(--speed) allow-discrete, overlay var(--speed) allow-discrete; }
  dialog[open] { opacity: 1; transform: none; }
  dialog::backdrop { background: #20211d00; transition: background var(--speed), display var(--speed) allow-discrete, overlay var(--speed) allow-discrete; }
  dialog[open]::backdrop { background: #20211daa; }
  @starting-style {
    dialog[open] { opacity: 0; transform: translateY(16px) scale(.985); }
    dialog[open]::backdrop { background: #20211d00; }
  }
  ::view-transition-old(root) { animation: 110ms ease-out both surface-out; }
  ::view-transition-new(root) { animation: 210ms var(--ease) both surface-in; }
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .timeline details, .previous-reports details { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; opacity: 0; overflow: clip; transition: block-size var(--speed) var(--ease), opacity var(--speed), content-visibility var(--speed) allow-discrete; }
    details[open]::details-content { block-size: auto; opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar,.drawer-shade { transition: none; }
}
@keyframes surface-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes surface-out { from { opacity: 1; } to { opacity: 0; } }
@media print {
  :root,body { background: white; }
  .layout,.surface,.page { display: block; padding: 0; }
  .sidebar,.topbar,.page > :not(.report),.report > :not(.paper),#toast { display: none !important; }
  .report,.report .paper { margin: 0; padding: 0; border: 0; overflow: visible; }
  .report-section,.report-head,tr { break-inside: avoid; }
}
