:root {
  color-scheme: light;
  --ink:#17202a; --muted:#626b80; --faint:#747c8f; --line:#e7ecf1;
  --surface:#fff; --canvas:#f7f9fc; --accent:#1659ba; --accent-dark:#124895;
  --accent-soft:#e8f2ff; --accent-focus:#3784da; --accent-chart:#59a5f5; --radius:14px;
  font: 14px/1.5 Inter, "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink); background:var(--canvas);
}
* { box-sizing:border-box }
body { margin:0; min-width:300px }
h1,h2,h3,p { margin:0 }
h1,h2,h3,strong { letter-spacing:-.025em }
h1 { font-size:36px; line-height:1.14; font-weight:750 }
h2 { font-size:18px; line-height:1.25; font-weight:720 }
h3 { font-size:17px }
a { text-decoration:none; color:inherit }
button,input,select,textarea { font:inherit; color:inherit }
button { cursor:pointer }
button:disabled { opacity:.6; cursor:wait }
:focus-visible { outline:3px solid var(--accent-focus); outline-offset:2px }
svg { flex-shrink:0; vertical-align:middle }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:38px; padding:0 13px; border:1px solid transparent; border-radius:8px; font-weight:650; white-space:nowrap; background:transparent; transition:background .15s,color .15s }
.primary { background:var(--accent); color:#fff; box-shadow:0 2px 3px #23569529 }
.primary:hover { background:var(--accent-dark) }
.secondary { background:#fff; border-color:#e1e6ed; color:#35404e }
.secondary:hover,.plain:hover { background:#f2f6fa }
.danger { background:#fff0f0; color:#a02b35 }
.danger:hover { background:#ffe1e4 }
.icon-button { width:37px; height:37px; display:inline-grid; place-items:center; background:white; border:1px solid var(--line); border-radius:8px; color:#565e73; flex-shrink:0 }
.icon-button:hover { color:var(--accent); background:#f7fafe }
.inline { display:flex; align-items:center; gap:8px; flex-wrap:wrap }
.brand { display:inline-flex; align-items:center; gap:10px; font-size:24px; font-weight:800; letter-spacing:-.075em; white-space:nowrap }
.brand-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:white; background:linear-gradient(145deg,#3888e5,var(--accent)); box-shadow:0 2px 4px #347cd436 }
.brand-one { color:var(--accent) }
.section-label { color:#4d90e1; font-size:11px; letter-spacing:.12em; font-weight:780; margin-bottom:9px }
.card { background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 2px 4px #15223205 }
.tile-icon { display:inline-grid; place-items:center; width:40px; height:40px; flex:0 0 auto; border-radius:10px }
.accent-tile { color:#458fe9; background:#ecf4fe }
.blue { color:#3d6be5; background:#eaf0ff }
.mint { color:#167961; background:#e1f6ef }
.amber { color:#a7610b; background:#fff3dc }
.shell { --side:232px }
.sidebar { position:fixed; z-index:5; inset:0 auto 0 0; width:var(--side); display:flex; flex-direction:column; padding:21px 15px 12px; background:white; border-right:1px solid var(--line) }
.side-brand { display:flex; align-items:center; gap:9px; padding:0 7px; margin-bottom:25px }
.version { background:#eff6fe; color:#4688d9; font-size:10px; font-weight:800; padding:2px 6px; border-radius:5px; letter-spacing:.035em }
.workspace { display:grid; grid-template-columns:auto minmax(0,1fr) 19px; align-items:center; gap:8px; padding:8px; border:1px solid var(--line); border-radius:9px; margin:0 2px 18px }
.workspace strong,.profile strong { font-size:12px; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; letter-spacing:0 }
.workspace small,.profile small { color:var(--faint); font-size:11px; display:block }
.workspace-avatar,.person-avatar { display:grid; place-items:center; width:33px; height:33px; border-radius:8px; background:#e7f1fd; color:#4888d7; font-size:11px; font-weight:800 }
.person-avatar { border-radius:50%; background:#dfedfd; color:#3779c9 }
.side-nav { flex:1; overflow:auto; scrollbar-width:thin }
.nav-group { margin-bottom:15px }
.nav-caption { text-transform:uppercase; letter-spacing:.095em; color:var(--faint); font-size:10px; font-weight:760; padding:0 10px 5px }
.expandable { display:flex; justify-content:space-between; align-items:center; width:100%; background:none; border:0; text-align:left }
.nav-item { display:flex; align-items:center; gap:10px; padding:0 10px; height:37px; margin:2px 0; color:#535c72; font-size:13px; border-radius:7px; font-weight:570 }
.nav-item:hover { background:#f4f8fc }
.nav-item.active { background:var(--accent-soft); color:#3980d6; font-weight:720 }
.side-bottom { margin-top:auto; padding-top:6px }
.profile { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; text-align:left; background:none; border:0; border-top:1px solid var(--line); width:100%; padding:12px 5px 2px; margin-top:7px }
.main-shell { margin-left:var(--side); min-width:0 }
.topbar { min-height:64px; padding:0 29px; display:flex; align-items:center; justify-content:space-between; gap:12px; background:#fff; border-bottom:1px solid var(--line) }
.breadcrumb,.top-actions { display:flex; align-items:center; gap:10px; color:var(--faint); white-space:nowrap }
.breadcrumb strong { color:#32384d; letter-spacing:0 }
.search-trigger,.search-field { display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:8px; color:var(--muted); padding:0 9px; min-height:37px; background:#fff }
.search-trigger { width:226px; text-align:left }
.search-trigger kbd { margin-left:auto; background:#f3f4f8; border:1px solid var(--line); border-radius:4px; padding:0 4px; font-size:11px; line-height:1.6; white-space:nowrap }
.notification { position:relative }
.notification i { position:absolute; width:7px; height:7px; right:8px; top:7px; background:var(--accent); border:1px solid white; border-radius:50% }
.mobile-toggle,.scrim { display:none }
.app-content { max-width:1580px; margin:auto; padding:28px 29px 36px }
.page-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:15px; margin-bottom:24px }
.page-heading p { color:var(--muted); margin-top:7px }
.heading-actions { flex-shrink:0 }
.date-chip { display:flex; align-items:center; gap:8px; min-height:36px; padding:0 11px; background:white; border:1px solid var(--line); border-radius:8px; color:#525a71; font-size:12px; font-weight:620; white-space:nowrap }
.stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:17px }
.stat { padding:15px 16px; min-width:0 }
.stat-top { display:flex; align-items:center; gap:9px; font-size:12px; font-weight:670; color:#4f586e }
.stat .tile-icon { width:33px; height:33px; border-radius:8px }
.stat>strong { display:block; font-size:28px; line-height:1.16; margin:12px 0 6px; font-weight:770; overflow-wrap:anywhere }
.stat>small { color:var(--muted); font-size:11px }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:17px; margin-bottom:17px }
.card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; padding:17px 17px 0 }
.card-head p { color:var(--muted); font-size:12px; margin-top:4px }
.card-head .tile-icon { width:34px; height:34px }
.chart-card { min-height:300px; padding-bottom:16px }
select { background:#fff; border:1px solid #e2e7ee; border-radius:8px; min-height:36px; padding:0 8px; font-size:12px }
.chart-total { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 16px; padding:10px 17px 13px }
.chart-total strong { font-size:26px; font-weight:760 }
.chart-total span { font-size:11px; color:var(--muted); display:inline-flex; align-items:center; gap:5px }
.chart-total i { background:#5b9ef0; width:8px; height:8px; border-radius:50% }
.chart { display:grid; grid-template-columns:42px minmax(0,1fr); padding:0 17px; height:163px; gap:7px }
.chart-axis { display:flex; flex-direction:column; justify-content:space-between; min-width:0; text-align:right; color:var(--faint); font-size:10px; height:159px; transform:translateY(-7px) }
.plot { position:relative; margin-bottom:19px }
.plot-lines { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:space-between }
.plot-lines i { border-top:1px dashed #e5eaf1 }
.bars { position:absolute; inset:0; display:flex }
.bar-wrap { position:relative; display:flex; justify-content:center; align-items:flex-end; flex:1; min-width:0 }
.bar-wrap i { display:block; height:var(--height); width:54%; max-width:52px; background:linear-gradient(180deg,var(--accent-chart),var(--accent)); border-radius:5px 5px 0 0 }
.bar-wrap:hover i { background:#317dd9 }
.bar-wrap span { position:absolute; top:calc(100% + 4px); font-size:10px; white-space:nowrap; color:var(--faint) }
.schedule-card { display:flex; flex-direction:column }
.jobs-list { padding:6px 15px 4px }
.job-row,.activity-row { display:flex; align-items:center; gap:8px; width:100%; padding:9px 0; background:none; border:0; border-bottom:1px solid #eef0f5; text-align:left; min-height:54px }
.job-row:hover,.activity-row:hover,.search-result:hover { background:#f7fbff }
.job-row:last-child,.activity-row:last-child { border-bottom:none }
.job-icon { display:grid; place-items:center; width:31px;height:31px; flex:0 0 auto; border-radius:8px }
.job-title,.activity-row>span:nth-child(2) { flex:1; min-width:0 }
.job-title strong,.activity-row strong { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:12px }
.job-title small,.activity-row small { display:block; color:var(--muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.job-time { white-space:nowrap; color:#525a71; font-size:10px }
.status { background:#f1f3f6; color:#565e72; padding:3px 7px; border-radius:20px; font-size:10px; line-height:1.35; font-weight:680; white-space:nowrap; display:inline-flex; align-items:center; gap:4px }
.status i { width:5px;height:5px;border-radius:50%;background:currentColor }
.status:is([data-status="Active"],[data-status="Completed"],[data-status="Paid"],[data-status="Accepted"],[data-status="Won"],[data-status="Done"],[data-status="Available"],[data-status="Approved"],[data-status="In stock"],[data-status="Received"]) { color:#17765f; background:#e5f6f0 }
.status:is([data-status="Scheduled"],[data-status="Sent"],[data-status="New"],[data-status="Ordered"]) { color:#3b5cbe; background:#edf1ff }
.status:is([data-status="In progress"],[data-status="Proposal"],[data-status="Submitted"]) { color:#417dc7; background:#ebf4fe }
.status:is([data-status="Overdue"],[data-status="Lost"],[data-status="Canceled"],[data-status="Out of stock"]) { color:#a12f42; background:#ffedf0 }
.status:is([data-status="Qualified"],[data-status="Low stock"],[data-status="Maintenance"],[data-status="Prospect"]) { color:#8e5a09; background:#fff2d9 }
.card-footer { display:flex; justify-content:center; align-items:center; gap:7px; padding:10px; border-top:1px solid #eef0f5; color:#3a7ccc; font-size:12px; font-weight:670; margin-top:auto }
.card-footer:hover { background:#f8fbff }
.activity-row { padding:7px 0; margin:0 17px; width:calc(100% - 34px) }
.activity-row .tile-icon { width:30px; height:30px }
.quick-grid,.create-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:15px 17px }
.quick-grid .button,.create-grid .button { justify-content:flex-start; white-space:normal; text-align:left }
.list-toolbar { padding:13px; display:flex; align-items:center; gap:9px }
.search-field { width:min(100%,300px); flex:1 }
.search-field input { width:100%; padding:0; background:transparent; border:0; min-height:34px; outline:0 }
.search-field:focus-within { outline:2px solid var(--accent-focus); outline-offset:1px }
.list-toolbar>.button { margin-left:auto }
.table-scroll { overflow:auto }
table { width:100%; border-collapse:collapse; text-align:left; font-size:13px }
th,td { padding:11px 14px; border-top:1px solid var(--line); white-space:nowrap }
th { color:var(--muted); background:#fafcff; font-size:12px; font-weight:670 }
td { color:#535c72 }
td:last-child { width:44px; padding:7px }
td .icon-button { height:30px;width:30px }
.text-button { text-align:left; color:var(--ink); border:0; background:none; font-weight:700; padding:0 }
.text-button:hover { color:var(--accent) }
.pipeline-panel .list-toolbar { padding-left:0 }
.pipeline-board { display:grid; grid-template-columns:repeat(5,minmax(155px,1fr)); gap:10px; overflow:auto }
.pipeline-stage { border-radius:10px; background:#eef2f7; min-height:190px; padding:10px; min-width:0 }
.pipeline-stage header { display:flex; justify-content:space-between; align-items:center; font-size:12px; font-weight:650 }
.pipeline-stage>small { display:block; color:var(--muted); margin:4px 0 10px }
.pipeline-stage .button { font-size:11px; padding:0 5px }
.opportunity { display:flex; flex-direction:column; align-items:flex-start; text-align:left; width:100%; gap:5px; padding:10px; margin-bottom:7px; overflow-wrap:anywhere }
.opportunity:hover { border-color:#b0cff6 }
.opportunity span { color:var(--muted); font-size:11px }
.opportunity b { color:var(--accent) }
.week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; padding:13px 17px }
.week button { display:grid; place-items:center; gap:2px; background:#f8fafd; border:1px solid var(--line); border-radius:8px; padding:8px 0 }
.week button.chosen { background:#ebf4fe; border-color:#aacefa; color:#2f75cb }
.week small,.week span { color:var(--muted); font-size:11px }
.week strong { font-size:20px }
.calendar-panel .jobs-list { padding-bottom:12px }
.settings-card { padding:17px }
.settings-card>p { color:var(--muted); margin:6px 0 }
.settings-card form { margin-top:13px }
.integration-list { list-style:none; margin:9px 0 0; padding:0 }
.integration-list li { padding:11px 0; display:flex; align-items:center; gap:8px; border-bottom:1px solid var(--line) }
.integration-list li span { margin-left:auto; color:var(--muted); font-size:11px }
.empty { text-align:center; padding:19px 12px; display:grid; gap:5px; justify-items:center }
.empty p { color:var(--muted); font-size:12px }
.loading { display:grid; min-height:100vh; place-content:center; color:var(--muted) }
dialog { width:min(94vw,560px); max-height:90dvh; overflow:auto; border:1px solid var(--line); padding:16px; color:var(--ink); border-radius:14px; box-shadow:0 16px 70px #12213345 }
dialog::backdrop { background:#18293d60 }
dialog header,dialog footer { display:flex; align-items:center; gap:8px; justify-content:space-between }
dialog header { margin-bottom:13px }
dialog header h2 { display:flex; align-items:center; gap:8px }
dialog header .icon-button { width:32px;height:32px }
dialog footer { margin-top:10px; flex-wrap:wrap }
dialog footer>span { flex:1 }
dialog>p { margin-bottom:10px }
dialog .search-field { width:100% }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px }
.form-grid .full { grid-column:1/-1 }
form label { display:flex; flex-direction:column; gap:4px; font-weight:650; font-size:12px; min-width:0 }
form input,form textarea,form select { min-height:38px; width:100%; padding:7px 9px; border:1px solid #dfe2ed; border-radius:7px; background:#fff; font-size:14px }
form input[readonly] { background:#f4f6f9; color:var(--muted) }
form textarea { resize:vertical }
.form-error { color:#a22b43; font-size:13px }
.form-error:empty { display:none }
.form-error:not(:empty) { margin-top:7px }
.linked { margin-top:10px; color:var(--muted) }
.linked button { display:flex }
.search-result { display:flex; align-items:center; gap:10px; background:#fff; border:0; border-bottom:1px solid var(--line); width:100%; text-align:left; padding:9px 5px }
.search-result>span:nth-child(2) { flex:1 }
.search-result strong,.search-result small { display:block }
.search-result small,.search-hint { color:var(--muted) }
.search-hint { padding:10px 2px }
.create-grid { padding:0 }
#toast { position:fixed; z-index:10; right:18px; bottom:16px; padding:9px 13px; border-radius:8px; background:#213731; color:#fff; box-shadow:0 4px 16px #16202d2b; opacity:0; pointer-events:none }
#toast.visible { opacity:1 }
#toast.error { background:#8d2439 }
.public-header { background:#fff; border-bottom:1px solid var(--line) }
.public-inner { max-width:1190px; padding:13px 25px; margin:auto; display:flex; justify-content:space-between; align-items:center; gap:14px }
.public-inner nav,.public-inner>div { display:flex; align-items:center; gap:12px }
.public-inner nav { gap:24px; color:var(--muted); font-weight:650 }
.public-inner nav a:hover,.auth-bottom a:hover { color:var(--accent) }
.landing { background:#fff }
.public-hero { display:grid; grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr); gap:34px; align-items:center; max-width:1190px; margin:auto; padding:78px 25px 85px }
.hero-tag { display:inline-flex; align-items:center; gap:7px; color:#4084d7; background:#f0f6fe; border:1px solid #e8f2fe; padding:5px 9px; font-size:10px; font-weight:800; letter-spacing:.10em; border-radius:30px; margin-bottom:15px }
.hero-tag span { width:6px;height:6px;background:#5da1f5;border-radius:50% }
.public-hero h1 { font-size:clamp(44px,5vw,71px); letter-spacing:-.065em; line-height:.99 }
.public-hero h1 em { color:var(--accent); font-style:normal }
.public-hero p { color:var(--muted); font-size:17px; max-width:430px; margin:18px 0 }
.public-actions { display:flex; flex-wrap:wrap; gap:8px }
.public-actions .button { min-height:44px; padding:0 16px }
.hero-product { border:1px solid #dae8fa; border-radius:17px; background:#f7fbff; padding:8px; min-width:0; box-shadow:0 15px 55px #5491db22; transform:rotate(-1deg) }
.preview-window { display:flex; align-items:center; gap:5px; padding:6px 7px 11px; color:#6a7b90 }
.preview-window span { width:6px;height:6px;border-radius:50%;background:#b8d1ef }
.preview-window small { margin-left:6px; font-size:10px }
.preview-body { display:grid; grid-template-columns:minmax(85px,25%) minmax(0,1fr); min-height:274px; background:#f9fbfe; border:1px solid #e6eef7; border-radius:9px; overflow:hidden }
.preview-body aside { display:flex; flex-direction:column; padding:12px 7px; gap:6px; background:white; border-right:1px solid #e6eef7; font-size:10px; color:#546478 }
.preview-body aside strong,.preview-body aside span { display:flex; align-items:center; gap:5px; padding:4px; white-space:nowrap }
.preview-body aside strong { font-size:15px; margin-bottom:5px; color:#4284d4 }
.preview-active { background:var(--accent-soft); border-radius:4px; color:var(--accent) }
.preview-content { padding:13px; min-width:0 }
.preview-content>small { display:block; color:#4788d8; font-size:8px; letter-spacing:.08em }
.preview-content>strong { font-size:clamp(14px,2vw,22px) }
.preview-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin:10px 0 }
.preview-cards>div,.preview-chart { background:#fff; border:1px solid #e6eef7; border-radius:6px; padding:6px; color:var(--muted); font-size:9px }
.preview-cards b { display:block; font-size:clamp(9px,1.4vw,15px); color:var(--ink) }
.preview-chart { padding:9px }
.preview-chart>div { display:flex; align-items:flex-end; gap:7%; padding:0 6%; height:100px; background:repeating-linear-gradient(to top,#edf1f6 0 1px,white 1px 25px); margin-top:5px }
.preview-chart i { width:10%; background:linear-gradient(#73b7fb,#1764cf); border-radius:4px 4px 0 0 }
.public-section { max-width:1190px; margin:auto; padding:35px 25px 53px }
.public-section>h2 { font-size:clamp(28px,4vw,41px); letter-spacing:-.05em }
.public-section>p { margin-top:6px; color:var(--muted) }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:18px }
.feature-grid article { padding:17px; display:flex; align-items:flex-start; flex-direction:column; gap:7px }
.feature-grid article p { color:var(--muted) }
.feature-grid article .button { margin-top:auto }
.pricing .featured { border-color:#b5d4fa; background:#f9fcff }
.price strong { color:var(--ink); font-size:30px }
.public-footer { border-top:1px solid var(--line); background:white; padding:14px max(25px,calc((100% - 1140px)/2)); display:flex; align-items:center; justify-content:space-between; color:var(--muted) }
.auth-layout { min-height:calc(100vh - 66px); display:grid; place-items:center; padding:25px 14px; background:radial-gradient(ellipse at 50% 10%,#e7f1fe 0%,#f8fafc 62%) }
.auth-panel { background:#fff; width:min(100%,435px); border:1px solid var(--line); border-radius:18px; padding:25px; box-shadow:0 12px 40px #44628613 }
.auth-panel h1 { font-size:29px; margin:10px 0 4px }
.auth-panel>p,.auth-panel .hint { color:var(--muted) }
.auth-panel form,.settings-card form { display:grid; gap:9px }
.auth-panel form { margin-top:13px }
.auth-panel .hint { font-size:12px }
.demo-button { width:100%; margin-top:7px }
.auth-bottom { text-align:center; margin-top:11px; font-size:12px }
.auth-bottom a { color:var(--accent); font-weight:700 }
@media(max-width:1120px) {
  .shell { --side:202px }
  .topbar,.app-content { padding-left:20px; padding-right:20px }
  .dashboard-grid { grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); gap:12px }
  .stats-grid { gap:10px }
  .stat { padding:12px }
}
@media(max-width:930px) {
  .dashboard-grid { grid-template-columns:minmax(0,1fr) }
  .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .public-hero { padding-top:58px; padding-bottom:50px; gap:20px }
}
@media(max-width:740px) {
  .shell { --side:240px }
  .sidebar { transform:translateX(-100%); transition:transform .18s }
  .sidebar.mobile-open { transform:translateX(0) }
  .scrim { display:block; position:fixed; inset:0; z-index:4; background:#14213260; border:0 }
  .main-shell { margin:0 }
  .mobile-toggle { display:inline-grid }
  .breadcrumb>span,.breadcrumb>svg { display:none }
  .topbar { min-height:55px }
  .app-content { padding-top:20px }
  .public-hero { grid-template-columns:minmax(0,1fr); gap:24px }
  .hero-product { width:min(100%,520px); margin:auto }
}
@media(max-width:510px) {
  .topbar,.app-content { padding-left:12px; padding-right:12px }
  .top-actions,.breadcrumb { gap:5px }
  .search-trigger { width:35px; justify-content:center; padding:0 }
  .search-trigger span,.search-trigger kbd { display:none }
  .top-actions .button { padding:0 8px }
  h1 { font-size:28px }
  .page-heading { flex-wrap:wrap; align-items:flex-start; gap:8px; margin-bottom:15px }
  .stat>strong { font-size:23px }
  .stat-top { font-size:11px }
  .stat .tile-icon { width:28px;height:28px }
  .stat .tile-icon svg { width:16px;height:16px }
  .card-head { padding:13px 12px 0 }
  .chart-total { padding-left:12px }
  .chart { padding:0 9px; grid-template-columns:33px minmax(0,1fr) }
  .jobs-list { padding:5px 10px }
  .week { padding:10px 7px; gap:3px }
  .week span { font-size:9px }
  .list-toolbar { flex-wrap:wrap }
  .list-toolbar .search-field { width:100%; flex-basis:100% }
  .list-toolbar>.button { margin-left:auto }
  .public-inner { padding:10px 12px }
  .public-inner nav { display:none }
  .public-inner>div { gap:3px }
  .public-inner>div .button { padding:0 7px }
  .public-hero,.public-section { padding-left:14px; padding-right:14px }
  .public-hero { padding-top:42px; padding-bottom:30px }
  .public-hero h1 { font-size:clamp(40px,11vw,52px) }
  .feature-grid { grid-template-columns:1fr }
  .public-footer { padding:10px 14px }
}
.workflow { margin-top:11px; color:var(--muted) }
.settings-card form .button { justify-self:start }
.field-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:13px }
.field-card { padding:15px; min-width:0 }
.field-top { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; margin-bottom:5px }
.field-card p,.field-card small { color:var(--muted) }
.field-card details { margin-top:8px }
.field-card .field-blocker { color:#a12f42; font-weight:650; margin-top:5px }
.relationship-actions { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 }
.relationship-row { display:flex; flex-wrap:wrap; gap:5px; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line) }
.relationship-row .button { text-align:left; white-space:normal; justify-content:flex-start }
.checklist { display:grid; gap:8px; margin-top:12px }
.checklist label { flex-direction:row; align-items:center; gap:8px }
.checklist input { width:17px; min-height:17px; accent-color:var(--accent) }
.closeout-text { white-space:pre-wrap; overflow-wrap:anywhere }
.linked summary,.field-card summary { width:fit-content; padding:5px 3px; cursor:pointer; color:var(--accent-dark); font-weight:650 }
.table-scroll { position:relative }
.estimate-nav { display:flex; gap:7px; margin-bottom:12px }
.estimate-stats { grid-template-columns:repeat(3,minmax(0,1fr)) }
.section-top { display:flex; align-items:center; justify-content:space-between; gap:8px }
#estimate-pricing { border-top:1px solid var(--line); margin-top:13px; padding-top:13px }
.estimate-line { display:grid; grid-template-columns:90px minmax(110px,1fr) 66px 77px auto; gap:6px; padding:8px 0; border-bottom:1px solid var(--line); align-items:end }
.line-end { display:flex; align-items:center; gap:5px; justify-content:flex-end; padding-bottom:2px; font-size:12px; white-space:nowrap }
.line-end .icon-button { width:28px; height:29px }
.estimate-adjustments { margin:9px 0 }
.estimate-total { display:flex; justify-content:space-between; padding:8px 10px; border-radius:8px; background:var(--accent-soft) }
.quote-link-label { display:grid; gap:4px }
.quote-link-label input { width:100%; min-height:38px; padding:5px; border:1px solid var(--line); border-radius:6px }
.quote-page { margin:auto; max-width:780px; padding:24px 13px }
.quote-card { padding:24px }
.quote-card .section-top { align-items:flex-start }
.quote-scope { margin:15px 0 }
.quote-scope p { margin-top:5px; white-space:pre-wrap; overflow-wrap:anywhere }
.quote-lines { margin-top:12px }
.quote-lines small { display:block }
.quote-lines td:last-child { width:auto; padding:11px 14px }
.quote-totals { margin-left:auto; max-width:280px }
.quote-totals div { display:flex; justify-content:space-between; gap:8px; padding:5px; border-bottom:1px solid var(--line) }
.quote-totals dd { margin:0 }
.quote-totals .grand-total { font-weight:750; background:var(--accent-soft); padding:8px 5px }
.quote-card .hint { margin-bottom:11px }
@media(max-width:600px) {
  .estimate-line { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .estimate-line .line-end { grid-column:1/-1 }
  .estimate-stats { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .quote-card { padding:13px }
}
@media print {
  .quote-page { max-width:none; padding:0 }
  .quote-card { border:none; box-shadow:none }
  #quote-response,.quote-card [data-action="print-quote"] { display:none }
}
.side-nav .nav-group { margin:0 }
.nav-toggle { width:100%; border:0; background:transparent; text-align:left }
.nav-toggle.current-section { color:var(--accent-dark); font-weight:700 }
.nav-toggle svg:last-child { margin-left:auto }
.nav-children { margin:0 0 4px 10px; padding-left:5px; border-left:1px solid var(--line) }
.nav-children .nav-item { min-height:34px; height:auto; padding:5px 6px; gap:6px; line-height:1.25 }
.nav-children .nav-item>span:first-of-type { min-width:0; overflow-wrap:anywhere }
.nav-item .nav-pending { flex-shrink:0; margin-left:auto; font-size:9px; font-weight:650; color:var(--muted); background:#f1f3f6; padding:2px 4px; border-radius:4px }
.side-bottom .profile { margin-top:0 }
.breadcrumb { min-width:0 }
.breadcrumb strong { overflow:hidden; text-overflow:ellipsis }
.top-actions { flex-shrink:0 }
@media(max-width:740px) {
  .sidebar:not(.mobile-open) { visibility:hidden }
}
.hq-search-card { padding:16px 17px; margin-bottom:17px }
.hq-search-card .section-top { align-items:flex-start }
.hq-search-card .section-top p { color:var(--muted); margin:4px 0 }
#hq-search-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(135px,190px) auto; align-items:end; gap:8px; margin-top:10px }
.hq-tools { display:flex; gap:7px; flex-wrap:wrap; margin-top:11px }
.hq-results { padding-top:13px }
.hq-results h3 { font-size:13px; color:var(--muted) }
.hq-queue-list { max-height:335px; overflow:auto; margin-top:7px }
.guide-steps { padding-left:22px; display:grid; gap:7px; margin:12px 0 }
.hq-tool-label { display:grid; gap:5px; font-weight:650 }
.hq-calculator-fields { margin-top:9px }
.hq-calculator-output:not(:empty) { display:block; margin-top:9px; padding:8px; background:var(--accent-soft); border-radius:7px; font-weight:700 }
@media(max-width:570px) {
  #hq-search-form { grid-template-columns:minmax(0,1fr) auto }
  #hq-search-form label:first-child { grid-column:1/-1 }
  .hq-search-card { padding:12px }
}
.workspace-toggle { width:calc(100% - 4px); background:white; text-align:left; cursor:pointer }
.workspace-toggle:hover { border-color:#bed9fa }
.workspace small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.scope-bar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:5px 12px; padding:6px 9px; margin-bottom:14px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--muted); font-size:12px }
.scope-bar>span { overflow-wrap:anywhere }
.scope-bar button { color:var(--accent-dark) }
.organization-card { padding:17px; margin-bottom:16px }
.organization-card p,.organization-card small,.record-branch span { color:var(--muted) }
.organization-card p { margin-top:3px }
.organization-entities { display:grid; gap:10px; margin-top:13px }
.organization-entity { border:1px solid var(--line); border-radius:10px; overflow:hidden }
.organization-entity h3,.organization-branches strong { overflow-wrap:anywhere }
.entity-heading { background:#f8fbff; padding:9px 11px; flex-wrap:wrap }
.organization-branches { list-style:none; margin:0; padding:0 }
.organization-branches li { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px; padding:8px 11px; border-top:1px solid var(--line) }
.organization-branches small { display:block }
.record-branch { display:flex; gap:6px 12px; flex-wrap:wrap; padding:7px 9px; border-radius:7px; background:#f6f9fc; font-size:12px }
@media(max-width:510px) {
  .organization-card>.section-top { align-items:flex-start; flex-wrap:wrap }
  .entity-heading .button,.organization-branches .button { min-height:31px; font-size:11px; padding:0 7px }
}
.branch-report { margin-top:16px }
.branch-report .table-scroll { margin-top:10px }
.dispatch-day { margin-top:16px; padding-bottom:12px }
.dispatch-items { margin:0 15px }
.dispatch-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; padding:10px 0; border-top:1px solid var(--line) }
.dispatch-row>div { min-width:0 }
.dispatch-row p,.dispatch-review,.brief-content p,.brief-branch small { color:var(--muted); font-size:12px }
.dispatch-totals { margin:12px 15px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--line); border-radius:8px; background:#f9fcff }
.dispatch-totals>div { padding:8px 9px }
.dispatch-totals>div+div { border-left:1px solid var(--line) }
.dispatch-totals dt { color:var(--muted); font-size:11px }
.dispatch-totals dd { margin:2px 0 0; font-weight:750; font-size:16px; overflow-wrap:anywhere }
#dispatch-forecast-form label[hidden] { display:none }
.brief-toolbar { flex-wrap:wrap }
.brief-toolbar input { border:1px solid var(--line); border-radius:7px; padding:6px }
.brief-content { padding:0 15px }
.brief-content>.section-top { flex-wrap:wrap }
.brief-branch { margin-top:13px }
.brief-branch table { margin-top:6px }
.brief-branch td:first-child { min-width:170px; max-width:280px; white-space:normal }
.brief-branch td:first-child small { display:block; overflow-wrap:anywhere }
.brief-branch td:last-child { width:auto }
@media(max-width:570px) {
  .dispatch-row .button { min-height:32px }
  .calendar-panel .card-head,.dispatch-day .card-head { flex-wrap:wrap }
}
.brief-branch td:last-child small { white-space:normal }
#estimate-pricing label[hidden] { display:none }
.estimate-line .estimate-phase { grid-column:1/3 }
.estimate-line .estimate-tier { grid-column:3/5 }
.package-totals { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:8px }
.package-totals div { flex:1; min-width:80px; display:grid; padding:6px; border:1px solid var(--line); border-radius:7px }
.package-totals span { color:var(--muted); font-size:11px }
.quote-options { margin:10px 0 }
.quote-options label { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; font-weight:650 }
.quote-phase th { color:var(--accent-dark); background:var(--accent-soft) }
@media(max-width:600px) {
  .estimate-line .estimate-phase,.estimate-line .estimate-tier { grid-column:auto }
}
.bdr-section { border-top:1px solid var(--line); margin-top:13px; padding-top:12px }
.bdr-section .search-hint { margin:4px 0 6px }
.bdr-item { border:1px solid var(--line); border-radius:8px; margin:7px 0; padding:8px }
.bdr-item .button { justify-self:start }
.bdr-section [data-action="bdr-export"] { margin-top:6px }
.team-table { margin-top:12px }
.team-table .team-note { min-width:130px; max-width:260px; white-space:normal; overflow-wrap:anywhere }
.team-table .inline { flex-wrap:nowrap }
.team-branches { margin:9px 0; border:1px solid var(--line); border-radius:8px }
.team-branches legend { font-weight:650 }
form .inline-check { flex-direction:row; align-items:center }
form .inline-check input { width:17px; min-height:17px }
#team-action-form { display:grid; gap:7px }
.operations-panel { margin-bottom:14px }
.operations-panel .section-top { flex-wrap:wrap }
.operations-panel .dispatch-row { padding:9px 0 }
.purchase-meta { display:block; color:var(--muted); font-size:11px }
.purchase-notes { white-space:pre-wrap; overflow-wrap:anywhere }
.purchase-history { margin:6px 0 10px; padding-left:20px }
.purchase-history li { margin:7px 0 }
.purchase-history small,.purchase-history span { display:block; color:var(--muted); overflow-wrap:anywhere }
#purchase-form { display:grid; gap:8px }
.customer-header { margin-top:14px }
.customer-header .heading-actions,.customer-tabs { display:flex; gap:7px; align-items:center; flex-wrap:wrap }
.customer-tabs { margin-bottom:12px }
.customer-tabs .button { min-height:34px }
.customer-card { margin-bottom:13px }
.customer-card>.section-top { flex-wrap:wrap; margin-bottom:8px }
.customer-facts div { display:grid; grid-template-columns:1fr 1.5fr; gap:8px; padding:7px 0; border-bottom:1px solid var(--line) }
.customer-facts dt { color:var(--muted) }
.customer-facts dd { margin:0; overflow-wrap:anywhere }
.customer-note { white-space:pre-wrap; overflow-wrap:anywhere }
#customer-preference-form { display:grid; gap:8px }
.fundamental-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:10px }
.fundamental-tile { display:grid; gap:5px; padding:13px 15px }
.fundamental-tile:hover { border-color:var(--accent-focus); background:var(--accent-soft) }
.fundamental-tile span,.fundamental-workspace label small { color:var(--muted); font-weight:400 }
.fundamental-group { margin-bottom:17px }
.fundamental-group h2 { margin-bottom:8px }
.fundamental-workspace>h2,.fundamental-workspace>h3 { margin:9px 0 5px }
.fundamental-workspace a:not(.button) { color:var(--accent-dark); text-decoration:underline }
.fundamental-workspace ol,.fundamental-workspace ul { margin:6px 0 9px; padding-left:20px }
.fundamental-workspace textarea { width:100%; overflow-wrap:anywhere }
.fundamental-measurement,.fundamental-calculator { display:grid; gap:9px; margin-top:11px }
.fundamental-calculator [id="fundamental-jurisdiction"] { max-width:300px }
.fundamental-repeat { grid-column:1/-1; min-width:0; margin:0; border:1px solid var(--line); border-radius:8px; padding:8px }
.fundamental-repeat fieldset { min-width:0; border:1px solid var(--line); border-radius:8px; margin-bottom:7px }
.fundamental-repeat button { margin-top:7px }
.fundamental-result { border:1px solid var(--line); border-radius:8px; padding:12px; background:var(--accent-soft) }
.fundamental-result h3,.fundamental-result h4 { margin:5px 0 }
.fundamental-result p { overflow-wrap:anywhere }
.fundamental-result[data-result-status="stop_and_escalate"] { background:#fff0f0 }
.fundamental-result[data-result-status="review_required"] { background:#fff8eb }
.fundamental-values { margin:5px 0 }
.fundamental-values>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:7px; border-bottom:1px solid var(--line); padding:5px 0 }
.fundamental-values dd { margin:0; overflow-wrap:anywhere }
@media(max-width:500px) {
  .fundamental-calculator .form-grid { grid-template-columns:minmax(0,1fr) }
}

#report-workspace { display:grid; gap:1rem; min-width:0; }
.report-shortcuts { margin-bottom:1rem; }
.report-scope { font-weight:650; margin:0; }
[data-report-feedback] { margin:0; }
[data-report-feedback]:empty { display:none; }
.report-controls,.report-fields { display:flex; flex-wrap:wrap; gap:1rem; }
.report-controls { flex-direction:column; }
.report-fields { align-items:end; margin-bottom: .75rem; }
.report-fields label { min-width:0; max-width:100%; margin:0; }
.report-fields input,.report-fields select { max-width:100%; }
.report-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:1rem; }
.report-score { display:grid; gap:.65rem; text-align:left; padding:1rem; color:inherit; font:inherit; cursor:pointer; }
.report-score strong { font-size:1.75rem; }
.report-score span:last-child { text-decoration:underline; }
#report-workspace [aria-pressed=true] { border-color:currentColor; }
#report-workspace table { width:100%; }
#report-workspace th { text-align:left; }
.report-section .table-scroll { margin-top:.65rem; }
@media print {
  body.printing-report :is(.sidebar,.topbar,.scope-bar,.heading-actions,.report-controls,[data-report-feedback],.report-score span:last-child,button:not(.report-score)) { display:none!important; }
  body.printing-report :is(.app-shell,.shell,.main-shell,.app-content) { display:block!important; margin:0!important; padding:0!important; }
  body.printing-report .table-scroll { overflow:visible; }
  body.printing-report #report-workspace table { min-width:0; }
  body.printing-report tr { break-inside:avoid; }
}
#report-workspace { grid-template-columns:minmax(0,1fr); }
#report-workspace > article,.report-section { min-width:0; }
#report-workspace form.report-fields { display:flex; align-items:end; gap:.75rem; }
#report-workspace .report-fields > label { flex:1 1 10rem; }
#report-workspace .relationship-actions.report-controls { flex-direction:row; }
#report-workspace td { overflow-wrap:anywhere; }
@media print {
  body.printing-report #report-workspace :is(th,td) { white-space:normal; overflow-wrap:anywhere; }
}

:root[data-accent=ocean] { --accent:#067092; --accent-dark:#065772; --accent-soft:#e6f6fb; --accent-focus:#1d83a8; --accent-chart:#47a9cd; }
:root[data-accent=navy] { --accent:#284379; --accent-dark:#1c315d; --accent-soft:#eaf0fa; --accent-focus:#4768a7; --accent-chart:#7192c8; }
:root[data-density=compact] .app-content :is(th,td) { padding-top:6px; padding-bottom:6px; }
.settings-layout { display:grid; grid-template-columns:minmax(11rem,14rem) minmax(0,1fr); gap:1rem; align-items:start; }
.settings-nav { display:grid; padding:.5rem; gap:.125rem; }
.settings-nav a { display:block; padding:.55rem .7rem; border-radius:8px; }
.settings-nav a:hover,.settings-nav [aria-current] { background:var(--accent-soft); color:var(--accent-dark); }
.settings-nav [aria-current] { font-weight:700; }
.settings-pane { display:grid; gap:1rem; min-width:0; }
.settings-option { border:1px solid var(--line); border-radius:10px; padding:.75rem 1rem; margin:0 0 .4rem; min-width:0; }
.settings-option legend { font-weight:700; padding:0 .3rem; }
.settings-option p,.settings-option small { color:var(--muted); }
.settings-option-meta { display:flex; flex-wrap:wrap; gap:.35rem 1rem; margin:.5rem 0; }
.settings-value { overflow-wrap:anywhere; white-space:pre-wrap; }
.settings-option .settings-override { display:flex; align-items:center; justify-content:start; gap:.5rem; margin:.4rem 0; }
.settings-override input { width:auto; min-height:0; accent-color:var(--accent); }
.settings-pane form.settings-scope-picker { display:flex; flex-wrap:wrap; align-items:end; gap:.75rem; }
.settings-scope-picker label { flex:1 1 12rem; min-width:0; }
.settings-scope-picker select { max-width:100%; }
.settings-feedback:empty { display:none; }
.settings-history { padding-left:1.4rem; }
.settings-history>li { margin:.75rem 0; padding-bottom:.75rem; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.settings-history time { color:var(--muted); margin-left:.5rem; font-size:.85em; }
.week .outside-week:not(.chosen) { background:var(--canvas); }
.schedule-off { color:var(--muted); }
.fleet-reminders { margin-bottom:1rem; }
@media(max-width:700px) {
  .settings-layout { grid-template-columns:minmax(0,1fr); }
  .settings-nav { display:flex; overflow-x:auto; }
  .settings-nav a { flex:none; }
}

#training-workspace { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem; }
.training-card { min-width:0; }
.training-tabs { display:flex; flex-wrap:wrap; gap:.25rem; padding:.5rem; }
.training-tabs button { text-align:left; border:0; border-radius:8px; background:transparent; min-height:38px; padding:.4rem .7rem; }
.training-tabs [aria-pressed=true] { background:var(--accent-soft); color:var(--accent-dark); font-weight:700; }
.training-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap:1rem; }
.training-stats article { padding:1rem; display:grid; gap:.25rem; }
.training-stats strong { font-size:1.6rem; color:var(--accent-dark); }
.training-catalog { display:grid; gap:.75rem; margin-top:.75rem; }
.training-catalog > article { display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; border:1px solid var(--line); border-radius:10px; gap:.6rem; padding:.85rem; }
.training-catalog p,.training-catalog small { color:var(--muted); overflow-wrap:anywhere; }
.training-card fieldset { min-width:0; border:1px solid var(--line); border-radius:8px; padding:.75rem; }
.training-builder { display:grid; gap:.75rem; }
.training-builder label { margin-bottom:.5rem; }
.training-card .training-form-row { display:flex; flex-wrap:wrap; align-items:end; gap:.75rem; }
.training-form-row > label { flex:1 1 11rem; }
.training-checks label { display:flex; gap:.5rem; align-items:start; margin:.4rem 0; }
.training-checks input { width:auto; min-height:0; flex:none; }
.training-feedback:empty { display:none; }
.training-lessons { margin:.7rem 0; }
.training-lessons summary { font-weight:650; }
.training-lessons p { white-space:pre-wrap; overflow-wrap:anywhere; margin:.6rem 0; }
.training-link { display:inline-block; text-decoration:underline; }
@media(max-width:650px) {
  .training-tabs { flex-wrap:nowrap; overflow-x:auto; }
  .training-tabs button { flex:none; }
}

.community-nav { margin-bottom:1rem; }
#community-workspace { display:grid; gap:.85rem; grid-template-columns:minmax(0,1fr); }
.community-grid { display:grid; gap:1rem; grid-template-columns:minmax(0,1fr) minmax(0,1.7fr); }
.community-grid > div,.community-card { min-width:0; }
.community-card { display:grid; gap:.75rem; align-content:start; }
.community-card form.community-fields,.community-fields { display:flex; align-items:end; flex-wrap:wrap; gap:.75rem; }
.community-fields label { flex:1 1 10rem; min-width:0; }
.community-card h3 { margin-top:.35rem; }
.community-list,.community-posts,.community-messages { list-style:none; margin:0; padding:0; display:grid; gap:.65rem; }
.community-thread { display:grid; width:100%; text-align:left; border:1px solid var(--line); border-radius:8px; background:var(--surface); padding:.55rem .75rem; }
.community-thread[aria-pressed=true] { color:var(--accent-dark); background:var(--accent-soft); }
.community-thread span,.community-posts p,.community-messages p { overflow-wrap:anywhere; white-space:pre-wrap; }
.community-thread small,.community-posts small,.community-messages small { color:var(--muted); }
.community-posts>li,.community-messages>li,.community-listings>article { padding:.75rem; border:1px solid var(--line); border-radius:10px; }
.community-posts small { display:block; margin:.25rem 0; }
.community-posts .relationship-actions { margin-top:.55rem; }
.community-messages>li.mine { background:var(--accent-soft); margin-left:10%; }
.community-messages>li:not(.mine) { margin-right:10%; }
.community-listings { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:.75rem; }
.community-listings>article { display:grid; align-content:start; justify-items:start; gap:.45rem; overflow-wrap:anywhere; }
.community-subform { border:1px solid var(--line); border-radius:10px; padding:.8rem; }
.community-check { display:flex; align-items:start; gap:.5rem; }
.community-check input { min-height:0; width:auto; }
.community-feedback:empty { display:none; }
@media(max-width:700px) { .community-grid { grid-template-columns:minmax(0,1fr); } }
.community-import-table input:not([type=checkbox]) { min-width:9rem; }
.community-import-table input[type=checkbox] { width:auto; min-height:0; }
.community-import-table td:last-child { min-width:9rem; white-space:normal; }

.t6po-shell { max-width:760px; margin:auto; min-height:100vh; }
.t6po-header { background:var(--accent-dark); color:white; padding:1rem; display:flex; align-items:center; justify-content:space-between; gap:.75rem; flex-wrap:wrap; }
.t6po-header strong { font-size:1.45rem; }
.t6po-header p { overflow-wrap:anywhere; }
.t6po-header .relationship-actions { margin:0; }
.t6po-nav { display:flex; overflow:auto; gap:.35rem; background:var(--surface); border-bottom:1px solid var(--line); padding:.6rem; }
.t6po-nav a { flex:none; border-radius:8px; display:flex; align-items:center; min-height:44px; padding:.5rem .75rem; }
.t6po-nav a[aria-current] { background:var(--accent-soft); color:var(--accent-dark); font-weight:700; }
.t6po-main { display:grid; grid-template-columns:minmax(0,1fr); gap:.85rem; padding:1rem; }
.t6po-main h1 { margin:0; }
.t6po-main .button { min-height:44px; white-space:normal; }
#t6po-content { display:grid; grid-template-columns:minmax(0,1fr); gap:.85rem; }
.t6po-card,.t6po-jobs,.t6po-activity { display:grid; align-content:start; gap:.65rem; min-width:0; }
.t6po-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr)); gap:.6rem; }
.t6po-stats article { display:grid; padding:.75rem; }
.t6po-stats strong { font-size:1.5rem; }
.t6po-jobs article,.t6po-activity li { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.55rem; border:1px solid var(--line); border-radius:8px; padding:.65rem; }
.t6po-activity { list-style:none; margin:0; padding:0; }
.t6po-activity li { display:grid; }
.t6po-controls { display:flex; flex-wrap:wrap; gap:.65rem; align-items:end; }
.t6po-controls label { flex:1 1 9rem; min-width:0; }
.t6po-controls select { max-width:100%; }
.t6po-entry { border:1px solid var(--line); border-radius:8px; padding:.75rem; }
.t6po-text { white-space:pre-wrap; overflow-wrap:anywhere; }

.t6po-home-hero { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.7rem; padding:.9rem 1rem; border-left:4px solid var(--accent); background:var(--accent-soft); border-radius:10px; }
.t6po-home-hero h2 { font-size:1.45rem; overflow-wrap:anywhere; }
.t6po-home-hero p,.t6po-home-agenda .section-top p,.t6po-home-brief .section-top p { margin:0 0 .2rem; color:var(--muted); }
.t6po-home-top { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.t6po-home-top article,.t6po-home-agenda,.t6po-home-brief { padding:.85rem; }
.t6po-home-shift,.t6po-home-next { display:grid; align-content:start; justify-items:start; gap:.55rem; }
.t6po-home-shift form { display:flex; flex-wrap:wrap; align-items:end; gap:.5rem; }
.t6po-home-shift select { max-width:100%; }
.t6po-kicker { color:var(--accent-dark); font-weight:650; font-size:.85rem; }
.t6po-caution { border-radius:6px; padding:.3rem .55rem; background:#fff0d6; color:#774b0a; }
.t6po-home-agenda details { border-top:1px solid var(--line); }
.t6po-home-agenda summary { cursor:pointer; padding:.7rem .2rem; }
.t6po-home-agenda summary small { float:right; color:var(--muted); }
.t6po-home-agenda ol { margin:.1rem 0 .55rem; list-style:none; padding:0; }
.t6po-home-agenda ol a { display:grid; gap:.15rem; padding:.55rem .65rem; margin:.15rem 0; border-radius:7px; background:var(--canvas); }
.t6po-home-agenda ol span,.t6po-home-tools a span,.t6po-brief-item small { color:var(--muted); }
.t6po-home-agenda details p { padding:0 .25rem .6rem; }
.t6po-brief-item { border-top:1px solid var(--line); margin-top:.65rem; padding-top:.65rem; overflow-wrap:anywhere; }
.t6po-brief-item h3,.t6po-brief-item p { margin:0 0 .3rem; }
.t6po-home-tools > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; margin-top:.55rem; }
.t6po-home-tools a { display:grid; gap:.25rem; align-content:start; padding:.65rem; }
.t6po-home-tools a:hover,.t6po-home-agenda ol a:hover { background:var(--accent-soft); }
@media(max-width:520px) {
  .t6po-home-top { grid-template-columns:minmax(0,1fr); }
  .t6po-home-agenda summary span { font-size:.85rem; }
}
.t6po-timer { display:flex; justify-content:space-between; align-items:center; padding:.7rem; gap:.5rem; flex-wrap:wrap; background:var(--accent-soft); }
.t6po-queue-group { display:grid; gap:.35rem; margin-top:.4rem; }
.t6po-queue-group>h3 { display:flex; align-items:center; justify-content:space-between; }
.t6po-queue-group>h3 small { color:var(--muted); }
.t6po-card form.t6po-controls { display:flex; flex-wrap:wrap; align-items:end; }
.t6po-time-tabs { display:flex; gap:.4rem; flex-wrap:wrap; }
.t6po-time-tabs a { display:inline-flex; align-items:center; min-height:44px; padding:.45rem .7rem; border:1px solid var(--line); border-radius:8px; background:var(--surface); }
.t6po-time-tabs a[aria-current] { color:var(--accent-dark); background:var(--accent-soft); font-weight:700; }
.t6po-time-card { display:grid; gap:.55rem; min-width:0; }
.t6po-clock-durations { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin:.45rem 0; }
.t6po-clock-durations>div { display:grid; align-content:start; border-radius:8px; background:var(--canvas); padding:.6rem; }
.t6po-clock-durations strong { font-size:clamp(1.25rem,5vw,2rem); font-variant-numeric:tabular-nums; }
.t6po-time-list { list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.t6po-time-list li { border:1px solid var(--line); border-radius:8px; padding:.65rem; overflow-wrap:anywhere; }
.t6po-inventory-camera video { display:block; width:min(100%,28rem); margin-bottom:.5rem; border-radius:8px; }
.t6po-entry select,.t6po-controls input { min-width:0; max-width:100%; }
.training-meter { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; margin-top:.45rem; color:var(--muted); }
.training-meter progress { width:min(10rem,100%); accent-color:var(--accent); }
.training-resume { display:flex; justify-content:space-between; align-items:center; gap:.55rem; flex-wrap:wrap; padding:.65rem; background:var(--accent-soft); border-radius:8px; }
.training-wallet { display:grid; gap:.65rem; margin-top:.65rem; }
.training-certificate { border:1px solid var(--line); border-radius:10px; padding:.85rem; display:grid; gap:.4rem; justify-items:start; }
body > .training-print-target { display:none; }
@media print {
  body.training-print > :not(.training-print-target) { display:none!important; }
  body.training-print .training-print-target { display:grid; width:100%; border:0; }
  body.training-print .training-print-target button { display:none; }
}
.t6po-fleet-checks { display:grid; gap:.5rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr)); min-width:0; }
.t6po-fleet-checks select { max-width:100%; }
.t6po-score-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:.65rem; align-items:start; }
.t6po-score { display:grid; gap:.5rem; padding:.75rem; min-width:0; }
.t6po-score>strong { font-size:1.65rem; color:var(--accent-dark); }
.t6po-score progress { width:100%; accent-color:var(--accent); }
.t6po-score summary { cursor:pointer; padding:.35rem 0; }
[data-custom-dates][hidden] { display:none; }

@font-face {
  font-family:"Black Ops One";
  src:url("/brand/black-ops-one.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
.brand-workspace { gap:8px; }
.brand-mascot { width:38px; height:38px; object-fit:contain; flex:none; }
.brand-wordmark { font-family:"Black Ops One",sans-serif; font-size:25px; font-weight:400; letter-spacing:.015em; }

.landing { position:relative; isolation:isolate; background:linear-gradient(135deg,#eff6ff,#fff 52%,#eef2ff); }
.landing::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.2;
  background:url("https://d64gsuwffb70l.cloudfront.net/68163cb84ec074a1d731179e_1747971168575_c8df228d.png") center/cover no-repeat;
}
.landing-footer { gap:.75rem 1rem; flex-wrap:wrap; }
.brightforge-credit { display:flex; align-items:center; gap:.6rem; font-size:.875rem; }
.brightforge-credit img { flex:none; object-fit:contain; }
@media(max-width:510px) {
  .landing-header .public-inner { flex-wrap:wrap; }
  .landing-header .public-inner nav { display:flex; order:2; flex:1 0 100%; justify-content:center; }
}

.landing-footer { display:block; background:#111827; color:#cbd5e1; padding:2rem max(14px,calc((100% - 1140px)/2)); }
.landing-footer-inner { display:grid; gap:1.4rem; }
.landing-footer-main { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap:1.25rem; }
.landing-footer-main h2 { font-size:1rem; color:#fff; }
.landing-footer-main ul { list-style:none; margin:.5rem 0 0; padding:0; display:grid; gap:.35rem; }
.landing-footer .brand-wordmark { color:white; }
.landing-footer .brand-one { color:#8ec5ff; }
.footer-product-brand p { max-width:20rem; margin:.6rem 0; }
.footer-link { padding:0; border:0; background:transparent; color:inherit; font:inherit; text-align:left; }
.landing-footer a:hover,.footer-link:hover { color:white; text-decoration:underline; }
.landing-footer-legal { display:flex; justify-content:space-between; align-items:center; gap:.8rem; flex-wrap:wrap; border-top:1px solid #354153; padding-top:.85rem; }
.landing-footer-legal nav { display:flex; flex-wrap:wrap; gap:.85rem; font-size:.875rem; }
.company-login img { width:62px; height:62px; object-fit:contain; }
#company-overview .feature-grid { margin-bottom:1rem; }
@media(max-width:640px) {
  .landing-footer-main { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-product-brand { grid-column:1/-1; }
}

.brightforge-portal { display:grid; gap:1rem; }
.brightforge-portal .settings-card { min-width:0; }
.brightforge-portal .settings-card form { display:grid; gap:.75rem; margin-top:1rem; }
.brightforge-portal .relationship-row[hidden] { display:none; }
.brightforge-portal .support-message { white-space:pre-wrap; overflow-wrap:anywhere; }
.brightforge-portal .support-reply { border-bottom:1px solid var(--border); padding:.75rem 0; }
.brightforge-portal .support-reply small { margin-left:.75rem; }
.brightforge-portal textarea { min-height:6rem; width:100%; }
