:root {
  color-scheme: light;
  --paper: #f6f7f3;
  --card: #fff;
  --ink: #1c2b25;
  --muted: #5c6b63;
  --line: #dce2da;
  --green: #1b5845;
  --dark: #143d31;
  --red: #a13f35;
  --amber: #885c0c;
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; color: inherit; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #b37a27; outline-offset: 3px; }
[hidden], .svg-bank, .nav-short, .mobile-brand { display: none !important; }
.icon { display: inline-block; vertical-align: middle; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip { position: fixed; top: 4px; left: 8px; transform: translateY(-150%); background: white; padding: 10px; z-index: 20; color: var(--green); }
.skip:focus { transform: none; }
.shell { display: grid; grid-template-columns: 234px minmax(0,1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; height: 100dvh; padding: 29px 17px 24px; background: #fcfdf9; border-right: 1px solid var(--line); }
.identity { margin: 0 8px; display: flex; align-items: center; gap: 11px; }
.mark { width: 41px; height: 41px; background: #1b5845; border-radius: 12px; display: grid; place-items: center; color: #f4efca; flex: 0 0 auto; }
.mark svg { width: 36px; height: 36px; }
.identity b, .mobile-brand { font-size: 22px; line-height: 1.1; letter-spacing: -1.15px; font-weight: 750; }
.identity div>span { display: block; font-size: 12px; margin-top: 4px; color: var(--muted); font-weight: 500; }
.navigation { margin-top: 57px; }
.nav-label, .hero-kicker { font-size: 10px; line-height: 1.45; font-weight: 750; letter-spacing: .145em; }
.nav-label { color: #6b786e; margin: 0 12px 13px; }
.nav-btn { width: 100%; min-height: 45px; border: 0; border-radius: 8px; display: flex; justify-content: flex-start; align-items: center; gap: 13px; background: transparent; padding: 11px 13px; text-align: start; font-size: 14px; font-weight: 570; color: #506158; margin-bottom: 5px; }
.nav-btn:hover { background: #f0f3ed; }
.nav-btn.active, .nav-btn[aria-current="page"] { color: #1f5946; background: #e4eee5; font-weight: 700; }
.nav-rule { height: 1px; background: var(--line); margin: 18px 11px; }
.legend { margin: auto 10px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.legend .nav-label { margin: 0 0 13px; }
.legend>span { display: flex; align-items: center; gap: 9px; color: var(--muted); margin: 8px 0; font-size: 12px; }
.signal { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.signal.red { background: #bd655c; }.signal.amber { background: #cd9c43; }.signal.green { background: #4e8f66; }
.work-area { min-width: 0; }
.topbar { min-height: 69px; padding: 8px clamp(24px,3.8vw,66px); border-bottom: 1px solid var(--line); background: #fbfcf8; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.workspace-tag, .today { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.workspace-tag { font-weight: 620; }.workspace-tag .icon, .today .icon { width: 16px; height: 16px; }
.content { margin: 0 auto; max-width: 1390px; padding: 35px clamp(24px,3.8vw,66px) 54px; }
.view-head, .panel-head, .dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.view-head { margin-bottom: 25px; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: clamp(31px,3vw,44px); font-weight: 675; letter-spacing: -.055em; line-height: 1.13; }
#page-caption { color: var(--muted); margin-top: 7px; font-size: 14px; }
.btn, .text-btn, .chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; min-height: 42px; padding: 10px 14px; font-size: 14px; font-weight: 650; text-decoration: none; }
.btn { background: #eef2eb; color: #315742; }
.btn:hover, .chip:hover { filter: brightness(.97); }.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--green); color: white; }.btn.primary:hover { background: #144635; }
.btn.secondary { background: #fff; border: 1px solid #cdd8ce; color: var(--ink); }
.deal-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.btn.danger-outline { background: #fff; color: #9f302e; border: 1px solid #ddbfbc; }
.btn.danger { background: #a2332e; color: white; }
.top-action { flex: 0 0 auto; padding-inline: 16px; box-shadow: 0 1px 2px #1b3d3020; }
.btn .icon, .text-btn .icon { width: 17px; height: 17px; }
.text-btn { background: transparent; color: var(--green); min-height: 38px; padding: 6px; }
#app { display: grid; row-gap: 20px; min-width: 0; }
#app:focus { outline: none; }
.overview-hero { isolation: isolate; overflow: hidden; position: relative; display: flex; flex-flow: column; justify-content: center; min-height: 172px; padding: 27px 32px; background: #164636; color: #fff; border-radius: 15px; }
.overview-hero:after { content: ""; position: absolute; pointer-events: none; inset: 0 0 0 auto; width: 46%; z-index: -1; background-image: linear-gradient(to right,#164636,transparent 24%),repeating-linear-gradient(0deg,transparent 0 21px,#9fc6a611 21px 22px),repeating-linear-gradient(90deg,transparent 0 21px,#9fc6a611 21px 22px); }
.overview-hero:before { content: ""; position: absolute; pointer-events: none; z-index: -1; width: 44%; height: 100%; right: 1%; top: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 190'%3E%3Cg stroke='%23a4c8a7' fill='none' opacity='.67' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M22 122l8-12 5-14 37-7c18-6 40-23 67-31 23-6 61-7 95-4 18 2 31 6 48 17l34 19c19 3 43 4 59 9l11 10 3 9-1 13-13 4-13 1c4-38-53-38-52 1l-171 1c0-39-53-38-53 0l-45-2-17-4z'/%3E%3Cpath d='M72 89l34-4c13-10 27-18 42-22 17-4 33-6 56-6l-4 28-83 4m91-32c20-1 39 1 54 8l35 22-90-2zM119 92l-3 9 9 22 24 7 144-2 12-16 1-19m-105-5-1 41M31 110l28-4 11-7-35 4m302-5 33 2 8 6-31-2zM25 124l46 4m292-6 25-4M155 93h11m52-1h11'/%3E%3Ccircle cx='112' cy='136' r='20'/%3E%3Ccircle cx='112' cy='136' r='11'/%3E%3Ccircle cx='336' cy='134' r='20'/%3E%3Ccircle cx='336' cy='134' r='11'/%3E%3Cpath d='M106 128l12 16m-15-6 18-4m-8-7-2 18m218-18 13 14m-16-4 18-5m-8-6-2 17'/%3E%3C/g%3E%3Cg stroke='%23add0ae' opacity='.4' fill='none' stroke-width='.8'%3E%3Cpath d='M18 160h377M112 162v12m224-12v12m-222-4h220m-216-3-4 3 4 3m212-6 4 3-4 3M400 52h9m-9 103h9m-5-101v99m-3-95 3-4 3 4m-6 91 3 4 3-4'/%3E%3C/g%3E%3C/svg%3E") center/92% auto no-repeat; }
.overview-hero>* { position: relative; max-width: 55%; }
.hero-kicker { color: #c7ddc0; margin-bottom: 12px; }
.overview-hero h2 { font-size: clamp(32px,3.25vw,54px); font-weight: 590; line-height: 1.05; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.overview-hero p { margin-top: 9px; color: #d1dfd2; font-size: 14px; }
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 14px; }
.stat, .panel { border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.stat { text-align: left; display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: center; position: relative; gap: 4px 12px; min-width: 0; padding: 19px 20px; }
.stat-label { font-size: 13px; font-weight: 590; color: var(--muted); grid-column: 1; grid-row: 1; }
.stat strong { grid-column: 1; grid-row: 2; font-size: clamp(24px,2.6vw,34px); font-weight: 650; letter-spacing: -.045em; line-height: 1.17; overflow-wrap: anywhere; }
.stat .icon-box { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.icon-box { display: inline-grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: #e9f1e9; color: var(--green); flex-shrink: 0; }
.icon-box .icon { width: 19px; height: 19px; }
.red:is(.badge,.icon-box) { color: #9f4439; background: #fbeae4; }
.amber:is(.badge,.icon-box) { color: #885d0d; background: #fcf0d9; }
.green:is(.badge,.icon-box) { color: #276246; background: #e5f1e6; }
.blue:is(.badge,.icon-box) { color: #476a80; background: #e6eff2; }
.muted:is(.badge,.icon-box) { color: #58675e; background: #edf0eb; }
.panel { min-width: 0; overflow: hidden; }
.panel-head { padding: 17px 22px; min-height: 62px; border-bottom: 1px solid var(--line); }
.panel-head h2, .dialog-head h2 { font-size: 20px; font-weight: 675; letter-spacing: -.04em; line-height: 1.22; }
.panel-head p, .muted, .hint { color: var(--muted); }.panel-head p { font-size: 13px; margin-top: 4px; }
.panel-body { padding: 18px 22px; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 27px 16px; gap: 6px; }
.empty>.icon, .empty .icon-box { width: 45px; height: 45px; margin-bottom: 5px; color: #35634d; }
.empty>.icon { padding: 11px; background: #eaf0e8; border-radius: 14px; }
.empty h3 { font-size: 17px; font-weight: 660; letter-spacing: -.026em; }
.empty p { max-width: 43ch; color: var(--muted); font-size: 14px; }
.empty .btn { margin-top: 7px; }
.row { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 12px 0; border-bottom: 1px solid #e8ece5; }
.panel>.row { padding-inline: 22px; }.row:last-child { border-bottom: 0; }
.row-main { flex: 1; min-width: 0; }.row-tail { margin-left: auto; text-align: right; flex-shrink: 0; }
.row-main strong, .row-tail strong { display: block; overflow-wrap: anywhere; }
.row small, .row-main p, .row-tail p { display: block; color: var(--muted); font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 4px 8px; color: #54685a; background: #edf1ec; font-size: 12px; font-weight: 670; }
.badge:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip { min-height: 38px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); color: #526358; background: white; font-size: 13px; }
.chip.active, .chip[aria-pressed="true"] { background: #e4eee5; color: var(--green); border-color: #c2d5c3; }
.loading { color: var(--muted); font-size: 14px; }
dialog { width: min(520px,calc(100vw - 32px)); max-height: 88vh; max-height: 88dvh; border: 1px solid #d3dcd3; border-radius: 16px; padding: 0; color: var(--ink); box-shadow: 0 14px 65px #14291e32; }
dialog::backdrop { background: #13271ed1; opacity: .68; }
#dialog-body { padding: 24px; } .dialog-head { margin-bottom: 20px; }
.dialog-head button, .icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
form { display: grid; gap: 14px; } .field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.field label, label.field, form label { font-size: 13px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 11px; }
input:not([type="checkbox"],[type="radio"],[type="file"]), select, textarea { display: block; min-width: 0; width: 100%; max-width: 100%; min-height: 44px; border: 1px solid #c7d1c7; border-radius: 8px; color: var(--ink); background: #fff; padding: 9px 11px; font-weight: 450; font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #69a180; outline-offset: 0; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; vertical-align: middle; accent-color: var(--green); }
.dialog-foot { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 15px; }
.hint, .error { font-size: 13px; font-weight: 450; }.error { color: var(--red); }
#toast { position: fixed; right: 20px; bottom: 22px; z-index: 50; max-width: min(380px,calc(100% - 40px)); padding: 11px 16px; background: #1b493b; color: #fff; border-radius: 9px; font-size: 14px; box-shadow: 0 5px 18px #16322625; }
#toast:empty { display: none; }
@media (min-width: 1280px) { .shell { grid-template-columns: 250px minmax(0,1fr); } }
@media (min-width: 741px) and (max-width: 995px) { .shell { grid-template-columns: 190px minmax(0,1fr); }.sidebar { padding-inline: 12px; }.identity b { font-size: 20px; }.content,.topbar { padding-inline: 23px; }.stat { padding: 15px; gap: 5px; }.stat .icon-box { width: 29px; height: 29px; }.nav-btn { gap: 9px; }.stat-label { font-size: 12px; } }
@media (max-width: 740px) {
  .shell { display: block; }.sidebar { position: static; padding: 0; height: auto; border: 0; }
  .identity, .legend, .navigation .nav-rule, .navigation .nav-label, .nav-long, .workspace-tag { display: none !important; }
  .nav-short { display: inline !important; }
  .navigation { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 5px max(8px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); border-top: 1px solid #d8dfd6; background: #fcfdfb; }
  .nav-btn { flex-direction: column; gap: 4px; min-height: 50px; justify-content: center; text-align: center; padding: 5px; margin: 0; font-size: 11px; line-height: 1.1; border-radius: 9px; }
  .nav-btn .icon { width: 19px; height: 19px; }.nav-btn.active,.nav-btn[aria-current="page"] { background: #e8f0e8; }
  .topbar { min-height: 60px; padding: calc(10px + env(safe-area-inset-top)) 19px 10px; }
  .mobile-brand { display: flex !important; align-items: center; gap: 8px; font-size: 19px; }
  .mobile-brand .mark { width: 32px; height: 32px; border-radius: 9px; }.mobile-brand .mark svg { width: 28px; height: 28px; }
  .today { font-size: 11px; gap: 5px; }.today .icon { width: 14px; height: 14px; }
  .content { padding: 24px 16px calc(82px + env(safe-area-inset-bottom)); }
  .view-head { gap: 10px; margin-bottom: 19px; }h1 { font-size: 28px; }#page-caption { font-size: 13px; margin-top: 5px; }
  .top-action { min-height: 44px; padding: 9px 11px; font-size: 13px; gap: 5px; }
  .overview-hero { min-height: 145px; padding: 19px; border-radius: 12px; }.overview-hero h2 { font-size: 32px; }
  .overview-hero p { font-size: 13px; }.overview-hero>* { max-width: 60%; }.hero-kicker { margin-bottom: 9px; }
  .overview-hero:before { width: 43%; right: -.5%; background-size: 99% auto; }.overview-hero:after { width: 44%; }
  #app { row-gap: 13px; }.stats { gap: 7px; }.stat { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 12px 10px; border-radius: 9px; }
  .stat .icon-box { align-self: flex-start; width: 28px; height: 28px; margin-bottom: 2px; border-radius: 8px; }.stat .icon-box .icon { width: 16px; height: 16px; }
  .stat-label { font-size: 11px; line-height: 1.25; }.stat strong { font-size: 24px; }
  .panel-head { padding: 13px 15px; min-height: 51px; }.panel-body { padding: 13px 15px; }.panel-head h2 { font-size: 18px; }
  .empty { padding: 22px 7px; }.empty p { font-size: 13px; }.row { gap: 8px; }.panel>.row { padding-inline: 15px; }
  .text-btn { font-size: 13px; }.btn:not(.top-action) { min-height: 44px; }
  #toast { bottom: calc(72px + env(safe-area-inset-bottom)); right: 14px; }
}
@media (max-width: 389px) { .content { padding-inline: 12px; }.topbar { padding-inline: 14px; }.view-head { align-items: flex-start; }.top-action { min-width: 81px; font-size: 12px; padding-inline: 7px; }h1 { font-size: 25px; }.stat { padding: 9px 7px; }.field-row { grid-template-columns: 1fr; }.today { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
button.row { width: 100%; border: 0; border-bottom: 1px solid #e8ece5; background: transparent; text-align: left; border-radius: 0; }
button.row:last-child { border-bottom: 0; }
button.row:hover { background: #f7f9f5; }
button.row:after { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-right: 1.5px solid #7b897e; border-top: 1.5px solid #7b897e; transform: rotate(45deg); margin-inline: 0 3px; }
.row-main small, .row-tail small { margin-top: 3px; line-height: 1.35; overflow-wrap: anywhere; }.row-tail { max-width: 46%; }.row-tail strong { overflow-wrap: anywhere; }
.panel-pad { padding: 4px 1px 8px; }.panel-pad h3 { font-size: 18px; letter-spacing: -.025em; }
.panel-pad p { margin: 5px 0 15px; color: var(--muted); font-size: 14px; max-width: 64ch; }
.panel-pad hr { border: none; height: 1px; background: var(--line); margin: 21px 0; }
.check-field { display: flex; align-items: center; gap: 8px; }.check-field input { margin: 0; }
#dialog-body>form+p { margin-top: 14px; }.error:empty { display: none; }
.search-field { max-width: 470px; margin-bottom: 13px; }
.panel-body>.hint:first-child { margin-bottom: 9px; }.filters+.row { margin-top: 12px; }.filters+.empty { padding-top: 31px; }
.overview-hero h2 { overflow-wrap: anywhere; }
.stat:has(strong):has(.stat-label) strong { line-height: 1.18; }
.view-head>div { min-width: 0; }#page-title { overflow-wrap: anywhere; }
@media (max-width: 740px) {
  dialog { max-height: 90dvh; }#dialog-body { padding: 18px 16px; }.check-field { min-height: 35px; }.chip { min-height: 42px; }
  .filters { gap: 4px; }.chip { padding-inline: 9px; }.row-main small, .row-tail small { font-size: 12px; }
  .row-main strong, .row-tail strong { font-size: 14px; }.badge { font-size: 11px; }
  .panel-body .icon-box + .row-main { margin-left: 0; }.panel-body .row .icon-box { width: 30px; height: 30px; }
}
@media (max-width: 740px) {
  .filters { display: grid; grid-template-columns: auto auto auto auto; gap: 4px; }
  .filters .chip { min-height: 44px; padding: 6px 3px; font-size: 12px; }
}

.header-controls,#account-actions { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.topbar {flex-wrap:wrap}
.header-controls {margin-left:auto}
.language-label select {min-height:42px;border:1px solid var(--line);border-radius:8px;background:white;padding:6px;color:var(--ink)}
.sr-only {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.auth-form {max-width:460px;margin:12px auto;padding:8px}
.auth-form .btn {margin-top:8px}
.danger-zone {margin-top:24px;border:1px solid #d8a49f;border-radius:12px;padding:18px}
.danger-zone h3 {color:#a2332e}
.danger-zone p {margin:10px 0}
@media(max-width:740px){.topbar .today {display:none}.header-controls {gap:5px}.header-controls .btn {padding:8px;font-size:12px}.language-label select{font-size:12px}}
.settings-section {border-top:1px solid var(--line);margin-top:22px;padding-top:20px}
.settings-section h3 {margin-bottom:10px}
.admin-user {padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.admin-user .btn {margin:4px 0;font-size:13px}
.admin-user small {color:var(--muted)}
@media(max-width:740px){.header-controls {justify-content:flex-end;width:100%;margin:0}.topbar{gap:8px}.mobile-brand {margin-bottom:2px}}
/* nasib. — emerald, cream and gold */
@font-face{font-family:Montserrat;src:url('./Montserrat.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--green:#0b4d3b;--ink:#183b2c;--muted:#687466;--card:#fffaf0;--line:#e6ddcb;--red:#b63b3b;--gold:#d4af37;--cream:#f8f4e8}
html{background:#003c2d}
body{font-family:Montserrat,system-ui,sans-serif;background:#f8f4e8;color:#203b30}
button,input,select,textarea{font-family:inherit}
.shell{min-height:100vh;grid-template-columns:240px minmax(0,1fr);background:#f8f4e8}
.sidebar{background:linear-gradient(165deg,#0b4d3b,#002f25);border-right:1px solid #d4af3755;color:#f8f4e8;padding:30px 18px}
.identity{padding:2px 8px 28px;align-items:center;gap:10px}
.identity b{font-size:31px;font-weight:600;letter-spacing:-1.5px;color:#f8f4e8;text-transform:none}
.identity>div>span{font-size:9px;color:#dbcba5;letter-spacing:0;max-width:140px}
.mark{background:none!important;color:#d4af37;box-shadow:none;border-radius:0;overflow:visible;flex-shrink:0}
.mark img{width:100%;height:100%;object-fit:contain}
.identity .mark{width:62px;height:62px}
.nav-label{color:#d4c292;font-weight:500;letter-spacing:2px;font-size:10px}
.nav-btn{color:#e7e9d9;border-radius:13px;padding:14px 13px;font-size:13px;margin-bottom:8px}
.nav-btn .icon{color:#d4ba70}
.nav-btn.active,.nav-btn[aria-current=page]{background:#f8f4e8;color:#0b4d3b;box-shadow:0 5px 15px #001a141c}
.nav-btn.active .icon{color:#0b4d3b}
.nav-btn:hover{background:#ffffff15}
.nav-btn.active:hover{background:#fffaf0}
.nav-rule{border-color:#d4af3733}
.legend{border-color:#d4af3733;color:#e2e6d7;font-size:11px}
.work-area{background:linear-gradient(180deg,#0b4d3b 0,#003e2e 285px,#f8f4e8 286px);min-width:0;position:relative}
.topbar{background:transparent;border:0;color:#f8f4e8;min-height:90px;padding:16px 36px;position:relative;z-index:3}
.topbar .workspace-tag,.topbar .today{color:#f0e9d5}
.topbar .workspace-tag{font-size:12px;font-weight:400}
.header-controls{gap:10px}
.language-label select{background:#ffffff10;color:#fff6df;border:1px solid #ddc88766;border-radius:10px;font-size:12px}
.language-label select option{color:#153a2a;background:#fffaf0}
.header-controls .btn{border:1px solid #d8c18877;background:#ffffff0b;color:#fff2ce;min-height:38px;padding:8px 11px;font-size:11px;box-shadow:none}
.menu-toggle{display:none}
.content{max-width:1180px;margin:auto;padding:10px 36px 55px;position:relative;z-index:1}
.content:after{content:"";position:fixed;bottom:-60px;right:-50px;width:300px;height:180px;z-index:-1;border:1px solid #d4af3755;border-radius:60% 60% 0 0;background:url('./ornament.svg');opacity:.3;pointer-events:none}
.view-head{color:#fff7e5;margin-bottom:22px}
.view-head h1{color:#fff7e5;font-size:30px;font-weight:600;letter-spacing:-1px;line-height:1.3}
#page-caption{color:#d9e4d4;font-size:12px}
.top-action.btn{background:linear-gradient(110deg,#ead49d,#d0ac4e);color:#153d2c;border:1px solid #ebd89b;box-shadow:0 4px 14px #00251c22}
#app{display:grid;gap:18px}
.btn{border-radius:13px;min-height:44px}
.btn.primary{background:linear-gradient(120deg,#10614a,#004430);border:1px solid #c7aa5a55;box-shadow:0 5px 13px #093e2620;color:#fff8e5}
.btn.secondary{background:#fffaf0;border-color:#e0d5be;color:#0b4d3b}
.btn.danger-outline{background:#fffaf0}
.btn.wide{width:100%;padding:17px;min-height:55px;font-size:16px}
.sales-banner{width:100%;min-height:190px;text-align:left;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;border:1px solid #c8c797a6;border-radius:22px;background:radial-gradient(ellipse at 20% 0,#5d8c6e88,transparent 75%),linear-gradient(120deg,#39735d,#004532);box-shadow:inset 0 1px 1px #fff5,0 12px 25px #002d2020;color:#fff9e8;padding:23px 28px}
.sales-banner span{position:relative;z-index:2;flex:1}
.sales-banner small{display:block;font-size:13px;letter-spacing:2px;color:#e6d097;margin-bottom:7px}
.sales-banner strong{font-size:27px;font-weight:600;line-height:1.28;letter-spacing:-.8px}
.sales-banner em{display:block;font-style:normal;font-size:11px;color:#e6ead2;margin-top:15px}
.sales-banner em b{font-size:20px;margin-left:8px}
.sales-banner img{width:49%;max-width:440px;min-width:0;filter:drop-shadow(0 15px 12px #00281c77);position:relative;z-index:1}
.sales-banner:after{content:"";position:absolute;right:-45px;bottom:-140px;width:430px;height:280px;border:1px solid #d1b86466;border-radius:50%;transform:rotate(-15deg)}
.shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.shortcut{position:relative;text-align:left;display:grid;grid-template-columns:1fr auto;align-content:start;gap:8px;border:1px solid #e8dcc4;background:linear-gradient(145deg,#fffdf5,#f4eddf);border-radius:20px;box-shadow:0 7px 14px #72644315;min-height:158px;padding:22px;color:#0c4d36}
.shortcut>.icon{width:31px;height:31px;grid-column:1/-1;margin-bottom:3px}
.shortcut>span:not(.shortcut-arrow){font-size:13px;color:#2a392d;grid-column:1/-1}
.shortcut>strong{font-size:27px;letter-spacing:-.6px;font-weight:650;overflow-wrap:anywhere}
.shortcut-arrow{align-self:end;font-size:25px;color:#837149}
.panel,.client-profile,.vehicle-card,.monthly-card,.client-card{background:linear-gradient(145deg,#fffdf6,#f6efe2);border:1px solid #ebe1cf;border-radius:21px;box-shadow:0 6px 14px #6d5b3310;overflow:hidden}
.panel-head{border-color:#e8dcc6;padding:19px 23px;min-height:58px}
.panel-head h2{font-size:17px;font-weight:650;letter-spacing:-.4px;color:#182e23}
.panel-body{padding:8px 23px 20px}
.summary-line{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #e5dcca;font-size:13px}
.summary-line:last-child{border:0}
.summary-icon{width:27px;flex-shrink:0;color:#0b4d3b;display:flex}
.summary-icon .icon{width:26px;height:26px}
.summary-line:nth-child(2) .summary-icon{color:#a6842e}
.summary-line>span:nth-child(2){flex:1;min-width:0}
.summary-line strong{font-size:14px;font-weight:650;text-align:right;max-width:55%;overflow-wrap:anywhere;color:#252a22}
.filters{gap:7px;padding-top:6px;margin-bottom:9px}
.chip{border-color:#ded3b7;background:#faf4e6;border-radius:20px;padding:9px 14px;font-size:11px}
.chip.active,.chip[aria-pressed=true]{color:#fff9df;background:#0b4d3b;border-color:#0b4d3b}
button.row{background:transparent;border-color:#e6dcc7;padding-top:16px;padding-bottom:16px}
button.row:hover{background:#eee5d345}
.row-main strong,.row-tail strong{font-size:14px;font-weight:600;color:#172f22}
.row-main small,.row-tail small{color:#687162;font-size:11px}
.badge{border-radius:10px;padding:5px 8px;font-size:10px;font-weight:600;white-space:normal;text-align:center}
.badge:before{display:none}
.badge.green{background:#dceccd;color:#2e6b36}
.badge.red{background:#f8d6d1;color:#b33737}
.badge.amber,.badge.muted{background:#f4e5b2;color:#87691a}
.payment-check{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:50%;color:#ad8d29}
.payment-check .icon{width:21px;height:21px}
.payment-check.paid{background:#0b6a43;color:#fff}
.payment-check.paid .icon{width:17px;height:17px}
.payment-check.overdue{color:#cc4552}
.row-tail{max-width:45%}
.avatar{width:66px;height:66px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#f3dfb5,#f8e9cc);color:#0b4d3b}
.avatar .icon{width:37px;height:37px;stroke-width:1.8}
.client-profile{display:flex;gap:17px;padding:23px;align-items:center}
.client-profile>div{flex:1;min-width:0}
.client-profile h2{font-size:21px;letter-spacing:-.6px;overflow-wrap:anywhere}
.client-profile p{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:7px}
.client-profile p .icon{width:15px;height:15px}
.client-profile>.badge{align-self:flex-start}
.vehicle-card{display:flex;align-items:center;padding:10px 22px;gap:12px;min-height:118px}
.vehicle-card img{width:40%;max-width:230px;filter:drop-shadow(0 6px 4px #6d5f4433)}
.vehicle-card h3{font-size:18px;letter-spacing:-.5px}
.vehicle-card p{font-size:12px;margin-top:6px;color:#5d6559}
.progress-caption{display:flex;justify-content:space-between;align-items:center;padding:14px 0;font-size:13px}
.progress-caption strong{font-size:18px}
.payment-progress{width:100%;height:16px;border:0;border-radius:20px;overflow:hidden;background:#eadfc8;accent-color:#0b4d3b;margin-bottom:10px}
.payment-progress::-webkit-progress-bar{background:#eadfc8;border-radius:20px}
.payment-progress::-webkit-progress-value{background:linear-gradient(90deg,#087346,#00412e);border-radius:20px}
.payment-progress::-moz-progress-bar{background:#0b4d3b;border-radius:20px}
.schedule-tabs .filters{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e3cc8766;border-radius:30px;padding:4px;background:#003e2d;margin:0}
.schedule-tabs .chip{border:0;color:#f8edcf;background:transparent;min-height:46px;font-size:13px}
.schedule-tabs .chip.active{background:#fff4db;color:#153b2b}
.monthly-card{display:flex;align-items:center;padding:23px;gap:18px}
.monthly-card>.icon{width:37px;height:37px;color:#0b4d3b;flex-shrink:0}
.monthly-card span{font-size:13px}
.monthly-card strong{display:block;font-size:23px;letter-spacing:-.7px;margin-top:6px;overflow-wrap:anywhere}
.deal-actions{margin:0;gap:10px}
.deal-actions .btn{font-size:11px;padding:9px 12px}
.client-card{display:flex;align-items:center;gap:17px;padding:20px;margin-top:14px;flex-wrap:wrap}
.client-card h3{font-size:17px}
.client-card p{font-size:12px;color:#687162;margin:4px 0}
.client-links{display:flex;flex-wrap:wrap;gap:7px;flex:1 1 100%;padding-top:8px}
.client-links .btn{font-size:12px}
.report-status{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:12px}
.stat{background:#fcf7ec;border:1px solid #e9ddc3;border-radius:15px;box-shadow:none}
.stat strong{font-size:25px}
.stats{gap:12px}
input:not([type=checkbox],[type=radio],[type=file]),select,textarea{background:#fffcf4;border-color:#dcd0b7;border-radius:12px}
input:focus,select:focus{outline-color:#cba84a}
dialog{background:#fffaf0;border:1px solid #d7be7d;border-radius:24px;box-shadow:0 30px 90px #00291dcc}
.dialog-head h2{font-size:20px;color:#0b4d3b}
dialog::backdrop{background:#002b21;opacity:.72}
.auth-form{padding:12px 0 5px}
body[data-view=overview] .view-head h1{font-size:24px}
.menu-toggle{width:42px;height:42px;border:0;background:transparent;gap:5px;padding:10px}
.menu-toggle span{display:block;height:1.5px;background:#f0e7c9;width:22px}
@media(min-width:1100px){.content{padding-inline:44px}.topbar{padding-inline:44px}}
@media(max-width:1000px) and (min-width:741px){.shell{grid-template-columns:200px minmax(0,1fr)}.content,.topbar{padding-inline:22px}.shortcuts{grid-template-columns:repeat(2,1fr)}}
@media(max-width:740px){
 .shell{display:block}
 .sidebar{height:0;padding:0;border:0;position:relative;z-index:20}
 .navigation{display:none;position:fixed;inset:110px 14px auto;z-index:30;padding:16px;border:1px solid #d4af3777;border-radius:20px;background:linear-gradient(150deg,#0b4d3b,#003527);box-shadow:0 20px 45px #001e1bb0;max-height:75vh;overflow:auto}
 .menu-open .navigation{display:block}
 .navigation .nav-rule{display:block!important;border:0;border-top:1px solid #d4af3744;margin:12px 0}
 .nav-btn{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;min-height:48px;padding:12px;font-size:13px;gap:13px;text-align:left;margin-bottom:4px}
 .nav-btn .nav-long{display:inline!important}.nav-btn .nav-short{display:none!important}
 .work-area{min-height:100vh;background:linear-gradient(180deg,#0b4d3b 0,#003a2c 400px,#f8f4e8 401px)}
 .topbar{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;padding:14px 17px 8px;gap:8px;min-height:130px}
 .menu-toggle{display:grid;grid-column:1;grid-row:1;align-content:center;align-self:start;margin-top:14px}
 .mobile-brand{grid-column:2;grid-row:1;display:flex!important;flex-direction:column;gap:0;font-size:30px;font-weight:550;letter-spacing:-1px;justify-self:center;align-self:center;line-height:1.05}
 .mobile-brand .mark{width:65px;height:58px;margin-bottom:-5px}
 .mobile-brand .mark img{width:65px;height:58px}
 .header-controls{grid-column:1/-1;grid-row:2;display:flex;justify-content:center;gap:6px;width:100%;margin:0;align-items:center}
 .language-label select{font-size:10px;min-height:32px;padding:5px 7px;border-radius:8px}
 #account-actions{gap:4px;justify-content:center}
 .header-controls .btn{min-height:32px;padding:5px 7px;font-size:9px;border-radius:8px}
 .today,.workspace-tag{display:none!important}
 .content{padding:12px 16px 65px}
 .view-head{margin-bottom:15px;align-items:center}
 .view-head h1{font-size:21px;letter-spacing:-.7px}
 #page-caption{font-size:10px;line-height:1.6;margin-top:3px}
 .top-action.btn{min-height:37px;padding:8px 10px;font-size:10px;gap:5px;white-space:nowrap}
 body[data-view=overview] .view-head>div{display:none}
 body[data-view=overview] .view-head{justify-content:flex-end;margin-bottom:12px}
 #app{gap:15px}
 .sales-banner{min-height:142px;padding:18px 18px;border-radius:20px}
 .sales-banner small{display:none}
 .sales-banner strong{font-size:21px;line-height:1.3}
 .sales-banner em{font-size:9px;margin-top:9px}
 .sales-banner img{width:52%;margin-right:-8px}
 .shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .shortcut{min-height:139px;padding:18px;border-radius:20px;gap:5px}
 .shortcut>.icon{width:29px;height:29px;margin-bottom:3px}
 .shortcut>span:not(.shortcut-arrow){font-size:12px}
 .shortcut>strong{font-size:27px}
 .shortcut-arrow{font-size:22px}
 .panel{border-radius:20px}
 .panel-head{padding:17px 17px 10px;min-height:48px;border-bottom:0}
 .panel-head h2{font-size:16px}
 .panel-body{padding:2px 17px 15px}
 .summary-line{padding:16px 0;gap:9px;font-size:11px}
 .summary-icon{width:24px}.summary-icon .icon{width:23px;height:23px}
 .summary-line strong{font-size:11px;max-width:51%;letter-spacing:-.15px}
 .filters{display:flex;flex-wrap:wrap;gap:5px}
 .filters .chip{font-size:10px;padding:7px 9px;min-height:36px}
 .payment-row{gap:9px;padding-block:17px}
 .row-tail{max-width:45%}
 .payment-row .row-main strong,.payment-row .row-tail strong{font-size:11px}
 .payment-row .row-main small,.payment-row .row-tail small{font-size:9px}
 .payment-row .row-tail .badge{font-size:9px}
 .payment-check{width:21px;height:21px}
 .payment-check .icon{width:19px;height:19px}
 button.row:after{width:5px;height:5px;margin-right:1px}
 .avatar{width:63px;height:63px}.avatar .icon{width:35px;height:35px}
 .client-profile{padding:17px 15px;gap:12px}
 .client-profile h2{font-size:16px;letter-spacing:-.4px}
 .client-profile p{font-size:10px;margin-top:6px}
 .vehicle-card{padding:7px 13px;min-height:104px;gap:9px}
 .vehicle-card img{width:43%}.vehicle-card h3{font-size:15px}.vehicle-card p{font-size:10px}
 .progress-caption{font-size:11px}.progress-caption strong{font-size:15px}
 .schedule-tabs .filters{display:grid}
 .schedule-tabs .chip{font-size:11px;min-height:41px}
 .monthly-card{padding:20px;gap:15px}
 .monthly-card span{font-size:12px}.monthly-card strong{font-size:20px}
 .monthly-card>.icon{width:34px;height:34px}
 .report-status{grid-template-columns:1fr}
 .deal-actions{gap:7px}.deal-actions .btn{min-height:37px;font-size:10px;padding:7px 9px}
 .btn.wide{font-size:15px}
 .content:after{width:230px;height:140px;right:-60px;bottom:-70px}
 #toast{bottom:18px}
 dialog{width:calc(100vw - 24px);border-radius:20px}
}

.sales-banner img{height:160px;object-fit:contain}
.vehicle-card img{height:115px;object-fit:contain}
@media(max-width:740px){.sales-banner img{height:104px}.vehicle-card img{height:86px}}
.call-client{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#0b4d3b;text-decoration:none;font-size:12px;margin-top:7px}
.call-client>.icon{width:15px;height:15px}.call-client>span{font-size:10px;border:1px solid #c4ae70;padding:4px 7px;border-radius:8px;background:#f9ebc8}
.license-plate{display:inline-block!important;border:1px solid #c7cbbb;background:white;border-radius:5px;padding:4px 8px;letter-spacing:1.2px;font-weight:650;color:#203729!important}
.due-today-banner{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:18px;border:1px solid #debf63;border-radius:17px;color:#4f3e12;background:#fff1c9;box-shadow:0 4px 12px #2e291010}
.due-today-banner strong{display:block;font-size:14px}.due-today-banner small{display:block;margin-top:4px;font-size:11px}
.notification-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:50%;background:#d4af37;color:#163d2a;font-weight:700;margin-left:4px}
/* Phone verification shares one server-backed flow on every online client. */
.auth-method{display:flex;gap:8px;background:#eee6d5;padding:5px;border-radius:14px;margin-bottom:18px}
.auth-method button{flex:1;display:flex;justify-content:center;align-items:center;gap:7px;border:0;border-radius:10px;padding:11px;background:transparent;color:#496052;font-weight:600}
.auth-method button[aria-pressed=true]{background:#fffaf0;color:#0b4d3b;box-shadow:0 2px 7px #163c2c12}
.auth-step{display:block;font-size:11px;font-weight:600;color:#657263;letter-spacing:.3px;margin-bottom:12px}
.field .phone-number-input{display:flex;align-items:center;border:1px solid #dcd0b7;border-radius:12px;background:#fffcf4;overflow:hidden}
.phone-number-input>span{padding:12px;color:#0b4d3b;font-weight:600;border-right:1px solid #e5dac4}
.phone-number-input input:not([type=checkbox]){border:0;border-radius:0;flex:1;width:100%;min-width:0;background:transparent}
.phone-verification-card{max-width:440px;margin:0 auto;padding:28px 24px}
.phone-verification-card h3{font-size:22px;line-height:1.3;margin:8px 0 14px;color:#123f30}
.phone-verification-card>p{margin:10px 0}.phone-verification-card strong{font-size:19px;letter-spacing:.4px}
.phone-verification-icon{width:52px;height:52px;border-radius:16px;background:#e2eddf;color:#0b4d3b;display:grid;place-items:center;margin-bottom:18px}
.phone-verification-icon .icon{width:26px;height:26px}.phone-verification-card form{margin-top:24px}
input.verification-code{font-size:26px;font-weight:600;letter-spacing:8px;text-align:center;min-height:64px;padding:12px 8px 12px 16px;font-variant-numeric:tabular-nums}
.phone-verification-card form>.btn{width:100%;min-height:46px}.phone-countdown{font-size:12px;color:#687466;margin:12px 0}
.phone-verification-actions{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:18px 0}.phone-verification-actions button{font-size:12px}
.phone-settings-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.phone-verified{font-size:11px;font-weight:600;color:#0b4d3b;background:#dcebd5;border-radius:20px;padding:5px 9px;display:inline-flex;gap:5px;align-items:center}
.phone-verified .icon{width:14px;height:14px}.auth-form .hint{line-height:1.65}
@media(max-width:480px){.phone-verification-card{padding:24px 16px}.phone-verification-card h3{font-size:21px}}

/* Explicit control styling avoids pale native GTK buttons with pale text. */
#language-select{
 appearance:none;-webkit-appearance:none;color-scheme:light;
 background-color:#fffaf0;color:#0b4d3b;-webkit-text-fill-color:#0b4d3b;
 background-image:linear-gradient(45deg,transparent 50%,#0b4d3b 50%),linear-gradient(135deg,#0b4d3b 50%,transparent 50%);
 background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;
 background-size:5px 5px;background-repeat:no-repeat;
 border:1px solid #d4ba70;border-radius:10px;min-width:112px;min-height:40px;
 padding:8px 32px 8px 12px;font-size:12px;font-weight:600;line-height:1.3;
 text-shadow:none;opacity:1;cursor:pointer;
}
#language-select:hover{background-color:#f4ecd8;border-color:#b58d35}
#language-select:focus-visible{outline:2px solid #d4af37;outline-offset:3px}
#language-select option{background:#fffaf0;color:#0b4d3b;-webkit-text-fill-color:#0b4d3b}
#language-select option:checked{background:#0b4d3b;color:#fffaf0;-webkit-text-fill-color:#fffaf0}
@media(forced-colors:active){
 #language-select{appearance:auto;-webkit-appearance:menulist;background:ButtonFace;color:ButtonText;-webkit-text-fill-color:ButtonText;border-color:ButtonText}
 #language-select option,#language-select option:checked{background:Canvas;color:CanvasText;-webkit-text-fill-color:CanvasText}
}

/* Explicit consent and the third-party bot check share the existing form layout. */
[data-phone-protection]{display:grid;gap:10px;margin:14px 0}[data-phone-protection] .check-field{align-items:flex-start;font-size:13px;line-height:1.55}[data-phone-protection] input[type="checkbox"]{margin-top:4px;accent-color:var(--green)}[data-otp-widget]{min-height:65px}
