*{box-sizing:border-box} :root{--bg:#080e19;--surface:#111c2d;--raised:#19283e;--line:#28374b;--ink:#f5f3ed;--muted:#a5afbf;--accent:#dcb05d;--soft:#2a261b;--green:#8ac7b0;--red:#e59b9b;--amber:#dcb05d;--radius:14px}body{margin:0;background:#060b13;color:var(--ink);font:14px 'Arabic',system-ui}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation;color:inherit;border:0;background:none}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:active{opacity:.75}button:disabled{opacity:.38;cursor:default}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:22px;line-height:1.6}h2{font-size:16px}h3{font-size:14px}small{font-size:12px;color:var(--muted)}.workbench{max-width:1140px;margin:auto;display:grid;grid-template-columns:290px minmax(0,1fr);gap:48px;direction:rtl;padding:32px}.review{padding-top:30px}.eyebrow{letter-spacing:1px;font:11px system-ui;color:var(--accent)}.review h1{font-size:27px;margin:10px 0}.review p{color:var(--muted);line-height:1.9;margin:12px 0 20px}.review .menu{display:flex;flex-wrap:wrap;gap:8px}.review .menu button{padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:12px}.review .menu button.active{border-color:var(--accent);color:var(--accent);background:var(--soft)}.review .tools{display:flex;flex-direction:column;gap:10px;margin-top:24px}.review .tools button,.review select{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px;text-align:start;color:var(--ink)}.review details{margin:20px 0;line-height:1.9;color:var(--muted)}.review li{margin-bottom:10px}.stage{display:flex;justify-content:center;align-items:flex-start}.phone{width:393px;height:852px;background:var(--bg);border:1px solid #30425a;border-radius:30px;overflow:hidden;box-shadow:0 30px 70px #0007;display:flex;flex-direction:column;position:relative;flex-shrink:0}.status{height:28px;padding:5px 18px;display:flex;justify-content:space-between;align-items:center;font:12px system-ui;direction:ltr;flex-shrink:0;color:#dededb}.status svg{width:16px;height:16px}.app-head{height:70px;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);flex-shrink:0}.app-head h1{font-size:21px}.app-head .sub{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px}.dot{width:5px;height:5px;background:var(--green);border-radius:50%;display:inline-block}.icon-btn{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px}.icon-btn.outline{border:1px solid var(--line)}.content{flex:1;overflow:auto;padding:18px;scrollbar-width:none;overscroll-behavior:contain}.content::-webkit-scrollbar{display:none}.nav{height:70px;border-top:1px solid var(--line);display:flex;background:var(--bg);flex-shrink:0;padding:5px 8px}.nav button{flex:1;min-height:48px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:var(--muted);font-size:10px}.nav button.active{color:var(--accent)}.nav button.active svg{background:var(--soft);box-sizing:content-box;padding:4px 10px;border-radius:9px}.nav button:not(.active) svg{box-sizing:content-box;padding:4px 10px}.gesture{height:13px;flex-shrink:0;display:grid;place-items:center;background:var(--bg)}.gesture:after{content:'';height:3px;width:98px;border-radius:3px;background:#777}.section{margin-bottom:20px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px}.text-btn{font-size:12px;color:var(--accent);min-height:44px;padding:0 8px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.padded{padding:16px}.amount{font:600 29px/1.25 'Arabic',system-ui;font-variant-numeric:tabular-nums;direction:ltr;display:inline-flex;align-items:baseline;gap:5px}.amount .currency{font:11px system-ui;color:var(--muted)}.amount.lg{font-size:36px}.amount.sm{font-size:18px}.amount.xs{font-size:15px}.positive{color:var(--green)}.negative{color:var(--red)}.accent{color:var(--accent)}.muted{color:var(--muted)}.summary{padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.summary .top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.summary .numbers{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:12px;margin-top:15px}.numbers>div{flex:1}.numbers>div+div{border-inline-start:1px solid var(--line);padding-inline-start:12px}.numbers small{display:block;margin-bottom:5px}.primary{background:var(--accent);color:#121a27;border-radius:11px;min-height:49px;padding:10px 16px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;width:100%}.secondary{background:var(--surface);border:1px solid var(--line);border-radius:10px;min-height:46px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:7px}.actions{display:flex;gap:8px;margin-top:10px}.actions>*{flex:1;font-size:12px}.actions svg{width:19px}.primary-sale{margin:14px 0 0}.attention{display:flex;gap:10px;align-items:center;background:#191e26;border:1px solid #60502e;border-radius:11px;padding:12px;color:var(--amber);text-align:start;width:100%;min-height:50px}.attention span{flex:1;font-size:12px}.row{min-height:75px;padding:13px 14px;display:flex;align-items:center;gap:11px;width:100%;text-align:start}.row+.row{border-top:1px solid var(--line)}.row .copy{flex:1;min-width:0}.row strong{font-size:14px;display:block;overflow-wrap:anywhere}.row small{display:block;margin-top:4px;font-size:11px}.row .end{text-align:end;flex-shrink:0}.avatar{width:36px;height:36px;background:var(--raised);border-radius:11px;display:grid;place-items:center;flex-shrink:0;color:var(--accent);font-size:13px}.avatar.positive{background:#142c2a;color:var(--green)}.avatar.negative{background:#31232e;color:var(--red)}.row .amount{font-size:16px}.badge{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:5px;font-size:10px;background:var(--raised);color:var(--muted)}.badge.warn{background:#30291c;color:var(--amber)}.badge.ok{background:#142c2a;color:var(--green)}.tabs{display:flex;padding:4px;gap:4px;border-radius:10px;background:var(--surface);margin-bottom:15px;overflow:auto;scrollbar-width:none}.tabs button{flex:1;padding:8px 10px;white-space:nowrap;min-height:39px;font-size:12px;border-radius:7px;color:var(--muted)}.tabs button.active{background:var(--raised);color:var(--ink)}.chips{display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin:12px 0}.chips button{padding:7px 13px;border:1px solid var(--line);border-radius:20px;white-space:nowrap;min-height:39px;font-size:11px;color:var(--muted)}.chips button.active{border-color:var(--accent);background:var(--soft);color:var(--accent)}.search{display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:0 12px;margin-bottom:13px}.search input{width:100%;height:47px;background:none;border:0;outline:0;color:var(--ink);font-size:12px;min-width:0}.search svg{color:var(--muted);width:20px}.search button{min-height:44px;min-width:38px}.stats{display:flex;gap:12px;margin:12px 0 16px}.stats>div{flex:1;background:var(--surface);border:1px solid var(--line);padding:13px;border-radius:11px}.stats small{display:block;margin-bottom:8px;font-size:11px}.filter-bar{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;color:var(--muted);font-size:11px}.add{border:1px solid var(--line);border-radius:8px;min-width:44px;min-height:44px;color:var(--accent);display:grid;place-items:center}.stepper{display:flex;align-items:center;gap:4px;direction:ltr;border:1px solid var(--line);border-radius:9px;overflow:hidden}.stepper button{width:44px;height:42px;font-size:23px;color:var(--accent);background:var(--raised)}.stepper b{min-width:24px;text-align:center;font:500 15px system-ui}.cart-line{padding:14px;border-bottom:1px solid var(--line)}.cart-line:last-child{border-bottom:0}.cart-line .line-top,.cart-line .line-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.cart-line .line-bottom{margin-top:12px}.cart-line small{font-size:11px}.sticky{background:var(--surface);padding:12px 18px;border-top:1px solid var(--line);flex-shrink:0;display:flex;align-items:center;gap:14px;min-height:80px}.sticky .primary{flex:1;min-height:48px}.sticky .total{min-width:110px}.sticky .total small{display:block;margin-bottom:4px}.sticky .amount{font-size:23px}.field{display:block;margin-bottom:15px}.field>span{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:12px;min-height:47px;outline:none}.field input[type=number]{direction:ltr;text-align:start}.pair{display:flex;gap:12px}.pair>*{flex:1;min-width:0}.divider{border-top:1px solid var(--line);margin:14px 0}.empty{padding:48px 12px;text-align:center;color:var(--muted)}.empty svg{width:33px;height:33px;margin-bottom:13px;opacity:.55}.empty strong{display:block;font-size:14px;color:var(--ink);margin-bottom:7px}.empty p{font-size:12px;line-height:1.8}.empty button{margin:16px auto 0;max-width:210px}.overlay{position:absolute;inset:0;z-index:5;background:#0009;display:flex;align-items:flex-end}.sheet{background:var(--bg);width:100%;border:1px solid var(--line);border-radius:22px 22px 0 0;max-height:84%;display:flex;flex-direction:column;padding:0 18px 19px}.sheet-handle{height:4px;background:#666;width:36px;margin:10px auto;border-radius:4px}.sheet-head{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;margin-bottom:10px}.sheet-body{overflow:auto;padding-bottom:8px}.sheet .primary{flex-shrink:0}.error{background:#31232e;color:var(--red);border-radius:8px;padding:10px;font-size:12px;margin:10px 0}.toast{position:absolute;bottom:85px;left:20px;right:20px;z-index:10;background:#414942;padding:13px;border-radius:10px;font-size:12px;border:1px solid #6b836a;box-shadow:0 6px 20px #0004}.success{text-align:center;padding:34px 8px 20px}.success .check{width:68px;height:68px;display:grid;place-items:center;background:#2d4233;border-radius:50%;margin:0 auto 18px;color:var(--green)}.success .check svg{width:33px;height:33px}.success h2{font-size:22px;margin-bottom:8px}.receipt{padding:17px}.receipt div{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.receipt div small{font-size:12px}.invoice-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.ledger-balance{margin-bottom:15px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.ledger-balance>small{display:block;margin-bottom:8px}.report-line{display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid var(--line)}.report-line:last-child{border:0}.report-line span{font-size:12px}.toggle{background:var(--accent);height:23px;width:40px;border-radius:15px;padding:3px}.toggle:after{content:'';width:17px;height:17px;border-radius:50%;display:block;background:#121a27}.paper{background:#f5f3ed;color:#222;padding:18px;border-radius:3px;margin:15px 0;font-size:12px}.paper hr{border:0;border-top:1px solid #bbb}.paper h3{text-align:center;margin-bottom:10px}.paper div{display:flex;justify-content:space-between;margin:9px 0}.preview-note{font-size:10px;color:var(--muted);text-align:center;padding-top:10px}.notice{font-size:12px;line-height:1.8;border-right:2px solid var(--accent);padding:0 12px;margin:12px 0 20px;color:var(--muted)}@media(max-width:820px){.workbench{grid-template-columns:1fr;padding:12px;gap:16px}.review{padding-top:0;max-width:520px;margin:auto}.review h1{font-size:22px}.review p{margin:8px 0 12px}.review .tools{flex-direction:row;flex-wrap:wrap;margin-top:12px}.review details{display:none}.phone{width:min(393px,100%);height:852px;max-height:calc(100dvh - 20px);border-radius:18px}.stage{width:100%}}@media(max-width:420px){.workbench{padding:0;display:flex;flex-direction:column}.review{padding:14px}.review p,.review details,.review .tools{display:none}.review h1{font-size:18px;margin:4px 0 10px}.review .menu{flex-wrap:nowrap;overflow:auto}.review .menu button{white-space:nowrap;flex-shrink:0}.phone{border-radius:0;border:0;width:100%;height:780px;max-height:none}.stage{display:block}.status{display:none}}@media(prefers-reduced-motion:no-preference){.sheet{animation:enter .18s ease-out}@keyframes enter{from{transform:translateY(30px);opacity:.6}to{transform:translateY(0);opacity:1}}}

.capture .review{display:none}.capture .workbench{display:block;position:absolute;left:0;top:0;width:393px;margin:0;padding:0}.capture .phone{width:393px;height:852px;max-height:none;border:0;border-radius:0}.capture .stage{display:block}.capture .status{display:flex}
.product-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;column-gap:8px;row-gap:6px}.product-row .copy{grid-column:1;min-width:0}.product-row .end{grid-column:1;grid-row:2;text-align:start}.product-row .icon-btn,.product-row .add{grid-column:2;grid-row:1 / span 2}.product-row strong{line-height:1.7}.product-row .amount{font-size:16px}

/* Alkarna brand: ink navy and the logo column gold. */
.primary{border-radius:8px;border:1px solid #e5c17b;box-shadow:inset 0 1px 0 #fff3;min-height:50px}.secondary{border-radius:8px;background:#101b2c;border-color:#34435a}.secondary svg{color:var(--accent)}.icon-btn.outline{border-radius:8px;background:#101b2c}.nav button{position:relative;font-size:10px;line-height:1.5}.nav button.active:before{content:'';position:absolute;top:-6px;width:28px;height:3px;background:var(--accent);border-radius:0 0 3px 3px}.nav button.active svg{background:none;border-radius:0}.tabs button.active{color:var(--accent);box-shadow:inset 0 -2px var(--accent);background:#18243a}.chips button{border-radius:8px}.summary{border-top:2px solid var(--accent);background:linear-gradient(120deg,#15233a,#111b2b)}.avatar{border-radius:8px}.app-head{background:#0b1321}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border:1px solid #796135;border-radius:7px;color:var(--accent);margin-inline-end:8px;vertical-align:middle}.brand-mark svg{width:20px;height:20px}.brand-swatches{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.brand-swatches i{width:20px;height:20px;border-radius:5px;border:1px solid var(--line)}

/* Review 03: department badges and bounded financial metrics. */
.section-emblem,.action-emblem{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid var(--section-edge);background:color-mix(in srgb,var(--section-edge) 20%,var(--bg));color:var(--section-ink);border-radius:7px}.section-emblem{width:32px;height:32px}.section-emblem svg{width:19px;height:19px}.app-head h1{display:flex;align-items:center;gap:8px;line-height:1.4;font-size:19px}.app-head .brand-mark{margin-inline-end:0}.app-head .sub{margin-top:5px}.action-emblem{width:30px;height:30px}.actions .secondary{padding:8px 6px;gap:5px;flex-wrap:wrap}.primary .action-emblem{background:color-mix(in srgb,var(--section-edge) 90%,#111c2d);color:#fff}.nav button svg{color:var(--section-ink)}.nav button.active{color:var(--section-ink)}.nav button.active:before{background:var(--section-ink)}.row .section-emblem{width:36px;height:36px}
.secondary .action-emblem svg{color:inherit}.section-emblem svg{color:inherit}.metric-box .amount{align-self:flex-start}

/* Review 04: one compact daily card; two related amounts separated inside it. */
.daily-summary{padding:16px;background:linear-gradient(120deg,#15233a,#111b2b);border-top:2px solid var(--accent)}.daily-summary .summary-head{margin-bottom:14px}.summary-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.summary-head h2{font-size:16px}.daily-sales h3{font-size:15px;margin-bottom:7px}.daily-sales .amount{font-size:34px}.daily-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.daily-cell{min-width:0;padding:8px 11px;border-radius:7px}.daily-cell.profit{background:#142b2b}.daily-cell.expense{background:#2b202c;margin-inline-start:8px}.daily-cell h3{font-size:13px;line-height:1.7;margin-bottom:7px;color:var(--ink)}.daily-cell .amount{font-size:21px;max-width:100%;flex-wrap:wrap}.daily-summary .currency{color:#b6c2d3}.warehouse-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.warehouse-tools .secondary{font-size:12px;min-height:46px;padding:8px;justify-content:flex-start;line-height:1.6}.warehouse-tools svg{width:18px;height:18px}.section-title h2{display:flex;align-items:center;gap:7px;font-size:15px}.section-title h2:before{content:'';width:3px;height:15px;border-radius:2px;background:var(--section-ink,var(--accent));flex-shrink:0}.section-title:first-child{margin-top:2px}.phone:not([data-view=home]) .tabs button.active{color:var(--section-ink);box-shadow:inset 0 -2px var(--section-edge)}.phone:not([data-view=home]) .chips button.active{border-color:var(--section-edge);background:color-mix(in srgb,var(--section-edge) 15%,var(--bg));color:var(--section-ink)}.phone:not([data-view=home]) .secondary svg,.phone:not([data-view=home]) .text-btn{color:var(--section-ink)}.phone:not([data-view=home]) .summary{border-top-color:var(--section-edge)}.phone:not([data-view=home]) .ledger-balance{border-top:2px solid var(--section-edge)}.field>span{font-size:13px;font-weight:700;color:var(--ink)}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--section-edge);box-shadow:0 0 0 1px var(--section-edge)}.sheet-head{border-bottom:1px solid var(--section-edge);padding-bottom:9px}.sheet-head h2{color:var(--section-ink);font-size:17px}.stats small,.summary>small{font-size:13px;font-weight:700;color:var(--ink)}.phone:not([data-view=home]) .app-head{border-bottom:2px solid var(--section-edge)}.summary-head h2:before{display:none}.actions .secondary{min-height:49px}

.daily-summary{padding:14px}.daily-summary .summary-head{margin-bottom:9px}.daily-cell{padding:6px 10px}.daily-cell h3{margin-bottom:5px}.daily-split{margin-top:11px;padding-top:10px}

.traceable{cursor:pointer;border-bottom:1px dashed currentColor}.traceable:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.sheet-body .panel{margin-top:12px}
/* Review 08: compact mobile rendering of Offline Conta record columns. */
.invoice-record,.movement-record{display:block;width:100%;padding:14px 13px;background:transparent;color:var(--ink);font:inherit;text-align:start;border:0;border-bottom:1px solid var(--line);cursor:pointer}.invoice-record:last-child,.movement-record:last-child{border-bottom:0}.invoice-record:focus-visible,.movement-record:focus-visible{outline:2px solid var(--section-ink);outline-offset:-3px}.record-top,.record-party,.record-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}.record-top{font-size:12px;color:var(--muted);margin-bottom:8px}.record-top .amount{font-size:20px;font-weight:700}.record-top .currency{font-size:11px}.record-party{font-size:14px;margin-bottom:8px}.record-party strong{min-width:0;overflow-wrap:anywhere}.record-state{font-size:11px;color:var(--muted);white-space:nowrap}.record-meta{font-size:10px;line-height:1.8;color:var(--muted)}.record-meta>span{white-space:nowrap}.movement-record .record-meta{flex-wrap:wrap;gap:2px 8px}.movement-record>small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.resource-tabs button{font-size:11px;padding:10px 5px}.record-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.record-filters:has(>.field:only-child){grid-template-columns:1fr}.record-filters .field{margin-bottom:8px}.record-filters .field>span{font-size:11px}.record-filters select{font-size:12px;min-width:0;padding:10px 7px}.compact-record-summary{padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-top:8px}.compact-record-summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.compact-record-summary>div+div{border-top:1px solid var(--line);margin-top:9px;padding-top:9px}.compact-record-summary strong{font-size:13px}.compact-record-summary small{font-size:11px;color:var(--muted)}.overview-metric,.breakdown-entry{padding:13px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.overview-metric:last-child{border-bottom:0}.overview-metric>span,.breakdown-entry>div{min-width:0;flex:1}.overview-metric strong,.breakdown-entry strong{display:block;font-size:12px;line-height:1.8}.overview-metric .text-btn,.breakdown-entry .text-btn{display:block;font-size:11px;padding:4px 0;min-height:28px}.breakdown-entry small{display:block;color:var(--muted);font-size:10px}.overview-metric .amount{font-size:18px;white-space:nowrap}.breakdown-entry .amount{white-space:nowrap}.summary-detail-link{color:var(--section-ink)}
/* Review 09: one bank summary, grouped debt, structured account register and action catalogs. */
.bank-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:15px}.bank-navigation button{padding:10px 5px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);font:inherit;font-size:12px;min-height:43px}.bank-navigation button[aria-selected=true]{color:var(--section-ink);border-color:var(--section-edge);background:#192940;box-shadow:inset 3px 0 var(--section-edge)}.bank-summary-mobile{background:linear-gradient(135deg,#14243b,#101a29);border:1px solid #344761;border-top:2px solid var(--accent);border-radius:15px;overflow:hidden}.bank-summary-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 14px 4px}.bank-summary-heading h2{font-size:15px;margin:0}.bank-summary-heading small{font-size:10px;color:var(--muted)}.bank-summary-mobile button{background:none;border:0;color:var(--ink);font:inherit;text-align:start;cursor:pointer;min-width:0}.bank-summary-mobile button:focus-visible{outline:2px solid var(--section-ink);outline-offset:-3px}.bank-balance{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px;gap:10px}.bank-balance>span:first-child{font-size:12px;font-weight:700}.bank-balance .amount{font-size:27px}.bank-balance .currency{font-size:11px}.bank-flow-pair{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin:0 14px}.bank-flow-pair button{display:grid;gap:8px;padding:13px 0}.bank-flow-pair button+button{border-inline-start:1px solid var(--line);padding-inline-start:14px}.bank-flow-pair button>span:first-child{font-size:12px;font-weight:700}.bank-flow-pair .amount{font-size:23px}.bank-debts{border-top:1px solid var(--line);padding:11px 14px 13px;background:#0d1725}.bank-debts h3{font-size:12px;color:var(--ink);margin:0 0 9px}.bank-debts>div{display:grid;grid-template-columns:1fr 1fr}.bank-debts button{display:grid;gap:5px}.bank-debts button+button{border-inline-start:1px solid var(--line);padding-inline-start:14px}.bank-debts button>span:first-child{font-size:12px;font-weight:700}.bank-debts .amount{font-size:22px}.bank-debts small{font-size:10px;color:var(--muted)}.financial-account-list,.invoice-register{border:1px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden}.register-head{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#19263a;color:#b1bfd2;font-size:10px;font-weight:700;border-bottom:1px solid var(--line)}.financial-account-row,.invoice-register-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;background:none;border:0;border-bottom:1px solid var(--line);padding:12px;color:var(--ink);font:inherit;text-align:start;cursor:pointer}.financial-account-row:last-child,.invoice-register-row:last-child{border-bottom:0}.financial-account-row>span:first-child{display:grid;gap:4px}.financial-account-row strong{font-size:13px}.financial-account-row small{color:var(--muted);font-size:10px}.financial-account-row .amount{font-size:20px}.action-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.action-catalog.catalog-single{grid-template-columns:1fr}.catalog-item{background:var(--surface);color:var(--ink);font:inherit;position:relative;text-align:start;border:1px solid var(--line);border-inline-start:3px solid var(--section-edge);border-radius:12px;padding:13px;display:grid;align-content:start;gap:9px;min-height:143px;cursor:pointer}.catalog-item strong{font-size:13px;line-height:1.6}.catalog-item small{font-size:11px;line-height:1.8;color:var(--muted)}.catalog-icon{color:var(--section-ink);display:flex}.catalog-icon svg{width:23px;height:23px}.catalog-open{display:flex;align-items:center;gap:7px;color:var(--section-ink);font-size:10px;margin-top:auto}.catalog-open svg{width:13px;height:13px}.catalog-single .catalog-item{min-height:100px;grid-template-columns:27px 1fr;gap:4px 10px;align-items:center}.catalog-single .catalog-icon{grid-row:1/4}.catalog-single .catalog-open{grid-column:2}.register-document{display:grid;gap:6px;flex:1;min-width:0}.register-reference{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.register-reference b{font-size:11px;font-weight:400;color:var(--muted)}.register-reference small{font-size:10px;color:var(--muted)}.register-document>strong{font-size:14px;line-height:1.7}.register-document>small{font-size:10px;color:var(--muted)}.register-value{display:grid;justify-items:end;gap:7px;flex-shrink:0}.register-value .amount{font-size:21px}.register-value .currency{font-size:10px}.register-value>small{font-size:10px;color:var(--muted)}.invoice-register-row{padding:13px 12px}.invoice-register-row:focus-visible,.financial-account-row:focus-visible,.catalog-item:focus-visible{outline:2px solid var(--section-ink);outline-offset:-3px}
/* Review 10: review screens use compact pickers; sales controls keep their existing layout. */
.browse-toolbar{display:flex;gap:8px;margin:0 0 11px;min-width:0}.browse-select{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:12px;padding:9px 11px;border-radius:9px;min-height:42px;cursor:pointer;text-align:start}.browse-select>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.browse-caret{font-size:15px;color:var(--section-ink);flex-shrink:0}.browse-toolbar-minor{gap:7px;margin-bottom:7px}.browse-toolbar-minor .browse-select{min-height:36px;padding:7px 10px;font-size:11px;background:transparent;color:var(--muted)}.browse-toolbar-single .browse-select{flex:1}.browse-scope{display:block;color:var(--muted);font-size:10px;margin:0 0 8px}.browse-picker .sheet-body{padding:5px 14px 13px;max-height:55vh;overflow:auto}.browse-option{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;text-align:start;font-size:14px;padding:14px 9px;min-height:49px;cursor:pointer}.browse-option:last-child{border-bottom:0}.browse-option[aria-pressed=true]{background:#1a2b43;border-radius:8px;color:var(--section-ink)}.browse-option svg{width:19px;height:19px}.browse-option:focus-visible,.browse-select:focus-visible{outline:2px solid var(--section-ink);outline-offset:-2px}.browse-toolbar+.summary{margin-top:0!important}

/* Review 11: clear filter labels; destination size follows its role. */
.browse-select,.browse-toolbar-minor .browse-select{min-height:52px;padding:7px 11px;background:linear-gradient(140deg,#142237,#101b2b);border:1px solid #30445e;border-radius:10px;color:var(--ink);font-size:12px;box-shadow:inset 0 1px #ffffff04}
.browse-copy{display:grid;gap:1px;text-align:start;flex:1;min-width:0}.browse-copy small{font-size:10px;color:#a7b8cf;line-height:1.4}.browse-copy strong{font-size:12px;line-height:1.6;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.browse-caret{width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:#1d3049;color:var(--section-ink)}.browse-caret svg{width:13px;height:13px;transform:rotate(-90deg)}
.browse-toolbar{gap:8px;margin-bottom:9px}.browse-toolbar-minor{margin-bottom:6px}.browse-toolbar-minor .browse-select{min-height:48px;background:#0d1726}.content:has(>.browse-toolbar)>.search{margin-bottom:9px;padding:8px 11px;min-height:44px}
.action-catalog.compact-catalog{display:block;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}
.compact-catalog .catalog-item{display:flex;align-items:center;gap:10px;width:100%;min-height:64px;padding:11px 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none}
.compact-catalog .catalog-item:last-child{border-bottom:0}.compact-catalog .catalog-icon{width:33px;height:33px;border-radius:8px;align-items:center;justify-content:center;background:var(--section-soft);flex-shrink:0}.compact-catalog .catalog-icon svg{width:20px;height:20px}.compact-catalog .catalog-copy{display:grid;gap:2px;flex:1;min-width:0}.compact-catalog strong{font-size:13px;line-height:1.6}.compact-catalog small{font-size:10px;line-height:1.7}.compact-catalog .catalog-open{margin:0;flex-shrink:0}.compact-catalog .catalog-open svg{width:16px;height:16px}
.stock-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.stock-actions button{min-height:46px;display:flex;align-items:center;gap:8px;padding:9px 10px;background:#111d30;border:1px solid #35425c;border-radius:9px;text-align:start;font-size:12px;font-weight:700}.stock-actions svg{width:19px;height:19px;color:var(--section-ink)}.stock-actions+.section-title{margin-top:15px}
.content:has(>.browse-toolbar)>.search{padding:0 11px;height:44px}.content:has(>.browse-toolbar)>.search input{height:42px}

/* Review 12: numeric summaries as tiles; records retain clear structured fields. */
.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric-card,.overview-metric.metric-card{display:flex;flex-direction:column;align-items:stretch;gap:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface);padding:12px;min-width:0;position:relative}.metric-card strong{display:block;font-size:12px;line-height:1.6}.metric-card .amount{font-size:23px;align-self:flex-start;max-width:100%;flex-wrap:wrap;gap:4px}.metric-card .currency{font-size:10px}.metric-card .metric-count{font-size:25px;line-height:1.3}.metric-card .summary-detail-link{min-height:28px;padding:3px 0;margin-top:5px;font-size:11px;text-align:start}.overview-metric.metric-card>span{display:contents}.overview-metric.metric-card>span>strong{order:0}.overview-metric.metric-card>.amount{order:1}.overview-metric.metric-card>span>button{order:2;border-top:1px solid var(--line);padding-top:7px;margin-top:0}.metric-card:has(.positive){border-top:2px solid #4d907a}.metric-card:has(.negative){border-top:2px solid #a66169}.metric-card:not(:has(.positive,.negative)){border-top:2px solid #6a83a8}
.invoice-register{border:0;background:transparent;border-radius:0;display:grid;gap:9px}.invoice-register .record-card{border:1px solid var(--line);background:var(--surface);border-radius:11px;display:grid;gap:10px;width:100%;padding:11px 12px;text-align:start;color:var(--ink);font:inherit}.document-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.document-heading>b{font-size:12px;color:var(--section-ink);font-weight:700}.document-status{font-size:10px;color:var(--muted);background:#1c293b;padding:3px 7px;border-radius:5px;white-space:nowrap}.document-data{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.document-data>span{display:grid;gap:4px;min-width:0}.document-data small,.document-footer small,.stock-trail small{font-size:10px;color:var(--muted)}.document-data strong{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.document-total{justify-items:end}.document-total .amount{font-size:21px;white-space:nowrap}.document-total .currency{font-size:10px}.document-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:8px}.document-footer>span{display:grid;gap:3px}.document-footer>span:last-child{text-align:end}.document-footer b{font-size:10px;color:#b6c0d0;font-weight:400}.stock-trail{display:grid;grid-template-columns:repeat(3,1fr);background:#0d1725;border-radius:7px;padding:8px 0}.stock-trail>span{display:grid;gap:4px;text-align:center;border-inline-start:1px solid var(--line)}.stock-trail>span:first-child{border:0}.stock-trail b{font-size:14px;direction:ltr}.movement-record.record-card .document-heading{margin-bottom:0}.movement-record.record-card>.document-data{margin:0}.movement-record.record-card .document-footer{line-height:1.4}
.overview-metric.metric-card>span.amount{display:inline-flex}.overview-metric.metric-card>span:not(.amount){display:contents}.metric-card .amount{flex-wrap:nowrap}.report-numeric-grid,.financial-account-list:has(.financial-account-row){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;background:none;border:0;border-radius:0}.report-numeric-grid>.row,.financial-account-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;border:1px solid var(--line)!important;border-radius:11px;background:var(--surface);padding:12px;text-align:start}.report-numeric-grid .copy{min-width:0}.report-numeric-grid strong{font-size:12px}.report-numeric-grid small{font-size:10px;line-height:1.6}.report-numeric-grid .amount,.financial-account-row .amount{align-self:flex-start;font-size:21px}.report-numeric-grid>.row>svg{display:none}.financial-account-list:has(.financial-account-row)>.register-head{display:none}.financial-account-row strong{font-size:13px}.financial-account-row small{font-size:10px}.compact-record-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0;border:0;background:none}.compact-record-summary>div,.compact-record-summary>div+div{display:grid;gap:7px;padding:11px;margin:0;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.compact-record-summary .amount{font-size:22px}

/* Review 13: dense real tables, horizontal scrolling contained within the phone. */
.register-table-shell{min-width:0;width:100%;border:1px solid #34445c;border-radius:9px;overflow:hidden;background:var(--surface)}.table-instruction{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;font-size:11px;font-weight:700;background:#101b2c}.table-instruction small{font-size:9px;font-weight:400;color:var(--muted)}.register-scroll{width:100%;overflow:auto;max-height:440px;scrollbar-width:thin;scrollbar-color:#49617f #111b2b;overscroll-behavior:contain}.register-table{border-collapse:separate;border-spacing:0;min-width:790px;width:100%;font-size:12px;text-align:start;white-space:nowrap}.register-table th{position:sticky;top:0;z-index:2;background:#253d61;color:#e1ecff;font-size:11px;padding:10px 12px;border-inline-end:1px solid #49607b;border-bottom:1px solid #547398}.register-table td{padding:7px 11px;border-inline-end:1px solid #304058;border-bottom:1px solid #304058;height:48px;vertical-align:middle}.register-table tbody tr:nth-child(even){background:#152238}.register-table tbody tr:hover{background:#20334c}.register-table tbody tr:last-child td{border-bottom:0}.register-table th:last-child,.register-table td:last-child{border-inline-end:0}.table-date{display:grid;font-size:11px;gap:3px}.table-date small{font-size:9px;color:var(--muted)}.table-document{color:#91bfff;font-size:11px;padding:7px 0;min-height:32px;text-decoration:underline;text-underline-offset:4px}.table-party{max-width:200px;overflow:hidden;text-overflow:ellipsis}.table-number{font-variant-numeric:tabular-nums;text-align:center}.table-number .amount{font-size:15px;white-space:nowrap}.table-number .currency{font-size:9px}.table-actions{display:flex;gap:5px}.table-actions button,.table-open{min-height:34px;min-width:44px;border:1px solid #527298;border-radius:5px;background:#1c3552;color:#d8eaff;font-size:11px;padding:5px 8px}.table-actions .table-delete{border-color:#9b4854;background:#472331;color:#ffbac1}.register-scroll:focus-visible{outline:2px solid var(--section-ink);outline-offset:-2px}


/* Home recent invoices only: four original fields fit and wrap within the phone. */
.home-invoice-table .register-scroll{overflow:visible;max-height:none}.home-invoice-table .register-table{width:100%;min-width:0;table-layout:fixed;white-space:normal}.home-invoice-table caption{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.home-invoice-table th{position:static;padding:9px 4px;font-size:11px}.home-invoice-table td{padding:8px 4px;height:auto;font-size:11px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}.home-invoice-table .table-date{font-size:10px;gap:3px}.home-invoice-table .table-date small{font-size:9px}.home-invoice-party{display:block;width:100%;padding:0;min-height:36px;font-size:12px;line-height:1.65;text-align:start;white-space:normal;overflow-wrap:anywhere}.home-invoice-table .amount{font-size:14px;display:inline-flex;max-width:100%;flex-wrap:wrap;justify-content:center;gap:3px;white-space:normal}.home-invoice-table .amount>span{min-width:0;overflow-wrap:anywhere}.home-invoice-table .currency{font-size:9px}

.financial-row-direction,.financial-row-party{display:block;font-size:9px;color:var(--muted);line-height:1.5;margin-top:3px;overflow-wrap:anywhere}

.stock-register-empty{padding:20px!important;text-align:center;color:var(--muted)}

/* Review 19: fixed three-button rail; ordering lives in table headings. */
.register-three-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:stretch}.register-three-filters .browse-select{min-height:58px;padding:7px;gap:4px}.register-three-filters .browse-copy small{font-size:9px;white-space:normal}.register-three-filters .browse-copy strong{font-size:11px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.5}.register-three-filters .browse-caret{width:17px;height:20px;flex-shrink:0}.register-three-filters .browse-caret svg{width:11px;height:11px}.column-sort{display:flex;align-items:center;justify-content:space-between;gap:3px;width:100%;min-height:28px;padding:0;font:inherit;text-align:start;line-height:1.5;color:inherit}.column-sort>span{font-size:10px;color:#dcb05d}.register-table th[aria-sort=ascending],.register-table th[aria-sort=descending]{background:#304d73}.home-invoice-table th{padding:5px 4px}.column-sort:focus-visible{outline:2px solid var(--accent);outline-offset:1px}

/* Review 20: warehouse browsing with aligned values, compact footprint. */
.warehouse-products-table .register-scroll{overflow:visible;max-height:none}.warehouse-products-table .register-table{width:100%;min-width:0;table-layout:fixed;white-space:normal}.warehouse-products-table caption{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.warehouse-products-table th{position:static;padding:6px 8px;font-size:11px}.warehouse-products-table td{height:auto;padding:10px 8px;white-space:normal;overflow-wrap:anywhere}.warehouse-product-name{display:block;width:100%;text-align:start;padding:0;min-height:36px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.warehouse-product-name small{display:block;font-size:10px;line-height:1.5;margin-top:3px;color:var(--muted)}.warehouse-products-table .table-number b{font-size:16px}.stock-low-label{display:block;font-size:9px;line-height:1.5;color:var(--red);margin-top:4px}.warehouse-products-table .amount{font-size:16px;white-space:normal;max-width:100%;flex-wrap:wrap;justify-content:center;gap:3px}.warehouse-products-table .amount>span{min-width:0;overflow-wrap:anywhere}.warehouse-products-table .currency{font-size:9px}
.warehouse-audit-facts{background:var(--surface);border:1px solid var(--line);border-top:2px solid var(--section-edge);border-radius:12px;margin:7px 0 12px;padding:12px}.audit-facts-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:13px}.audit-facts-heading h2{font-size:14px}.audit-facts-heading small{font-size:9px}.audit-facts-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.audit-facts-row>div{display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center;min-width:0;padding:0 6px}.audit-facts-row>div+div{border-inline-start:1px solid var(--line)}.audit-facts-row h3{font-size:10px;font-weight:400;line-height:1.7;min-height:34px;display:flex;align-items:center;justify-content:center;color:#bcc7d7}.audit-facts-row b{font-size:24px;font-weight:700;line-height:1.3;font-variant-numeric:tabular-nums}.audit-facts-row small{font-size:9px}.audit-facts-row .amount{font-size:21px;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:7px;line-height:1.5}.audit-facts-row .amount>span{min-width:0;overflow-wrap:anywhere;white-space:normal}.audit-facts-row .currency{font-size:9px;line-height:1.3}

/* Review 21: one compact rhythm for data rows and column headings. */
main .register-table th,main .warehouse-products-table th,main .home-invoice-table th{height:34px;padding:3px 5px;font-size:10px;line-height:1.4}main .register-table td,main .warehouse-products-table td,main .home-invoice-table td{height:44px;padding:5px 6px;font-size:11px;line-height:1.5}.column-sort{min-height:26px;font-size:10px}.home-invoice-party,.warehouse-product-name{min-height:32px;font-size:12px;line-height:1.5}.home-invoice-table .table-date,.register-table .table-date{gap:1px;font-size:9px}.register-table .table-date small{font-size:8px}.warehouse-products-table .table-number b{font-size:15px}.stock-low-label{font-size:8px;margin-top:1px}.warehouse-products-table .amount,.home-invoice-table .amount{font-size:14px}.register-table .row-ordinal{width:26px;min-width:26px;max-width:26px;text-align:center;padding:3px 2px!important;font-size:10px;font-weight:400;font-variant-numeric:tabular-nums}.register-table th.row-ordinal{font-size:9px}.content .row{min-height:44px;padding:6px 8px;gap:8px}.content .row .copy strong{font-size:12px;line-height:1.6}.content .row .copy small{font-size:10px;line-height:1.5}.list-ordinal{min-width:20px;flex-shrink:0;color:var(--muted);font-size:10px;text-align:center}.financial-account-row,.report-numeric-grid>.row{position:relative;padding-inline-start:27px}.financial-account-row>.list-ordinal,.report-numeric-grid>.row>.list-ordinal{position:absolute;inset-inline-start:7px;top:9px;min-width:13px}
/* Numeric summaries stay tiles, but their title/value/detail share two short rows. */
.metric-grid{gap:7px}.metric-card,.overview-metric.metric-card{padding:9px 10px;border-radius:9px;gap:5px;min-height:0}.metric-card strong{font-size:11px;line-height:1.5}.metric-card .amount,.overview-metric.metric-card .amount{font-size:20px;line-height:1.3;gap:3px}.metric-card .currency{font-size:9px}.metric-card .metric-count{font-size:21px}.overview-metric.metric-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 6px;align-items:center}.overview-metric.metric-card>span>strong{grid-column:1/-1;grid-row:1;order:0;min-height:33px;display:flex;align-items:center}.overview-metric.metric-card>.amount{grid-column:1;grid-row:2;order:1;align-self:center}.overview-metric.metric-card>span>button{grid-column:2;grid-row:2;order:2;border:0;padding:0;margin:0;min-height:28px;font-size:9px;line-height:1.4;max-width:42px;text-align:center}.report-numeric-grid{gap:7px}.report-numeric-grid>.row,.financial-account-row{min-height:64px;gap:5px;padding-top:8px;padding-bottom:8px}.report-numeric-grid .amount,.financial-account-row .amount{font-size:19px}.compact-record-summary>div{padding:8px;gap:5px}.compact-record-summary .amount{font-size:20px}.warehouse-audit-facts{padding:10px}.audit-facts-heading{margin-bottom:8px}.audit-facts-row h3{min-height:30px;font-size:10px}.audit-facts-row b{font-size:22px}.audit-facts-row .amount{font-size:20px;gap:4px}.content .section-title{margin-top:16px;margin-bottom:8px}
.warehouse-products-table .table-number b{display:block;line-height:1.25}.stock-low-label{line-height:1.25}.paper .paper-item{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:8px}.paper-ordinal{text-align:center;font-size:11px}.line-top>.list-ordinal+strong{flex:1}

/* Review 22: full summary buttons and inline invoice content. */
.metric-grid.inline-metrics{gap:6px}.metric-grid.inline-metrics.metric-grid-wide{grid-template-columns:1fr}.inline-metric.metric-card{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:7px;min-height:42px;padding:7px 9px;text-align:start;color:var(--ink);font:inherit;cursor:pointer}.inline-metric.metric-card strong{font-size:11px;line-height:1.5;min-width:0;flex:1}.inline-metric.metric-card .amount{font-size:18px;line-height:1.3;gap:3px;align-self:center;flex-shrink:0}.inline-metric.metric-card .currency{font-size:8px}.inline-metric.metric-card:focus-visible{outline:2px solid var(--section-ink);outline-offset:2px}.metric-grid:not(.inline-metrics)>.metric-card{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:7px;padding:8px 9px;min-height:42px}.metric-grid:not(.inline-metrics)>.metric-card strong{font-size:11px;flex:1;min-width:0}.metric-grid:not(.inline-metrics)>.metric-card .amount{font-size:18px;align-self:center;flex-shrink:0}.compact-record-summary>div,.compact-record-summary>div+div{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px}.compact-record-summary strong,.compact-record-summary small{font-size:11px;line-height:1.5}.compact-record-summary .amount{font-size:17px;flex-shrink:0}
main .home-invoice-table td{height:36px;padding:4px 3px;font-size:10px;line-height:1.4}.home-invoice-party{font-size:10.5px;line-height:1.4;min-height:26px}.home-invoice-table .table-date{display:flex;align-items:center;justify-content:center;gap:3px;font-size:8px;white-space:nowrap}.home-invoice-table .table-date small{font-size:7px;line-height:1.4;white-space:nowrap}.home-invoice-table .amount{font-size:13px;line-height:1.3;gap:2px;flex-wrap:nowrap}.home-invoice-table .currency{font-size:8px}.home-invoice-table .financial-row-direction,.home-invoice-table .financial-row-party{font-size:8px;line-height:1.2;margin-top:1px}main .home-invoice-table th{height:30px;padding:2px 3px;font-size:9px}.home-invoice-table .column-sort{font-size:9px;min-height:25px}.home-invoice-table .row-ordinal{font-size:9px}
/* Review 23: shared backing panels and consistent two-column summary tiles. */
.content .metric-grid,.content .report-numeric-grid,.content .financial-account-list:has(.financial-account-row),.content .stats,.content .compact-record-summary,.content .stock-actions{background:#0c1625;border:1px solid #26364b;border-radius:14px;padding:8px;gap:7px;min-width:0}
.content .metric-grid,.content .metric-grid.inline-metrics.metric-grid-wide,.content .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.content .metric-grid>.metric-card,.content .metric-grid.inline-metrics>.inline-metric.metric-card{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:5px;min-height:76px;padding:8px 9px;text-align:start;background:#152236;border-radius:9px}
.content .metric-grid>.metric-card strong,.content .metric-grid.inline-metrics>.inline-metric.metric-card strong{flex:0;min-width:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.content .metric-grid>.metric-card .amount,.content .metric-grid.inline-metrics>.inline-metric.metric-card .amount{align-self:flex-start;font-size:19px;line-height:1.3;max-width:100%;gap:3px}
.content .metric-grid .currency{font-size:8px}
.content .stats>div,.content .compact-record-summary>div,.content .compact-record-summary>div+div,.content .report-numeric-grid>.row,.content .financial-account-row{background:#152236;border-radius:9px;min-width:0}
.content .stats>div{padding:9px}.content .stats small{margin-bottom:5px}.content .stats .amount{font-size:19px;max-width:100%}
.content .stock-actions button{background:#152236}.content .stock-actions+.section-title{margin-top:18px}
.content .metric-grid.period-performance-24{padding:6px;gap:6px;border-radius:12px}
.content .metric-grid.inline-metrics.period-performance-24>.inline-metric.metric-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-height:50px;padding:7px 8px;border:1px solid #2b3c52;border-inline-start:2px solid #6a83a8;border-radius:8px;background:#132033}
.content .metric-grid.inline-metrics.period-performance-24>.inline-metric.metric-card:has(.positive){border-inline-start-color:#4d907a}
.content .metric-grid.inline-metrics.period-performance-24>.inline-metric.metric-card:has(.negative){border-inline-start-color:#a66169}
.content .metric-grid.inline-metrics.period-performance-24>.inline-metric.metric-card strong{font-size:11px;line-height:1.5;font-weight:700}
.content .metric-grid.inline-metrics.period-performance-24>.inline-metric.metric-card .amount{align-self:center;justify-self:end;font-size:19px;gap:2px;white-space:nowrap}
.content .metric-grid.period-performance-24 .currency{font-size:7px}
/* Review 25: compact summary language with full semantic color surfaces. */
.content :is(.metric-card,.stats>div,.compact-record-summary>div,.report-numeric-grid>.row,.financial-account-row,.daily-cell,.bank-flow-pair>button,.bank-debts>div>button,.audit-facts-row>div){--tile-bg:#162b46;--tile-border:#345371}
.content :is(.metric-card,.stats>div,.compact-record-summary>div,.report-numeric-grid>.row,.financial-account-row,.daily-cell,.bank-flow-pair>button,.bank-debts>div>button):has(.positive){--tile-bg:#13352f;--tile-border:#346557}
.content :is(.metric-card,.stats>div,.compact-record-summary>div,.report-numeric-grid>.row,.financial-account-row,.daily-cell,.bank-flow-pair>button,.bank-debts>div>button):has(.negative){--tile-bg:#3a222d;--tile-border:#71444f}
.content :is(.metric-card,.stats>div,.compact-record-summary>div,.report-numeric-grid>.row,.financial-account-row):has(.accent){--tile-bg:#362d1b;--tile-border:#6b5934}
.content .metric-grid>.metric-card,.content .metric-grid.inline-metrics>.inline-metric.metric-card,.content .stats>div,.content .compact-record-summary>div,.content .compact-record-summary>div+div,.content .report-numeric-grid>.row,.content .financial-account-row,.content .daily-cell,.content .bank-flow-pair>button,.content .bank-debts>div>button,.content .audit-facts-row>div{background:var(--tile-bg);border:1px solid var(--tile-border)!important;border-radius:8px;color:var(--ink)}
.content .metric-grid,.content .metric-grid.period-performance-24{padding:6px;gap:6px;border-radius:12px}
.content .metric-grid>.metric-card,.content .metric-grid.inline-metrics>.inline-metric.metric-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-height:50px;padding:7px 8px}
.content .metric-grid>.metric-card strong,.content .metric-grid.inline-metrics>.inline-metric.metric-card strong{font-size:11px;line-height:1.5;min-width:0;min-height:0}
.content .metric-grid>.metric-card .amount,.content .metric-grid.inline-metrics>.inline-metric.metric-card .amount,.content .metric-grid>.metric-card .metric-count{align-self:center;justify-self:end;font-size:19px;gap:2px;white-space:nowrap}
.content .metric-grid .currency{font-size:7px}
.content .compact-record-summary>div,.content .compact-record-summary>div+div{min-height:50px;padding:7px 8px}
.content .financial-account-row,.content .report-numeric-grid>.row{flex-direction:row;align-items:center;justify-content:space-between;gap:6px;min-height:50px;padding-block:7px;padding-inline-end:8px}
.content .financial-account-row>span:not(.amount):not(.list-ordinal),.content .report-numeric-grid .copy{flex:1;min-width:0}.content .financial-account-row strong{font-size:11px;overflow-wrap:anywhere}.content .financial-account-row small{font-size:9px}.content .financial-account-row .amount,.content .report-numeric-grid .amount{font-size:17px;align-self:center;flex-shrink:0}
.content .daily-cell{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:50px;padding:7px 8px}.content .daily-cell h3{font-size:11px;margin:0}.content .daily-cell .amount{font-size:19px;flex-wrap:nowrap;flex-shrink:0}
.content .bank-flow-pair{gap:6px;padding-top:10px;margin-bottom:10px}.content .bank-flow-pair>button,.content .bank-flow-pair>button+button{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-height:50px;padding:7px 8px;text-align:start}.content .bank-flow-pair button>span:first-child{font-size:11px}.content .bank-flow-pair .amount{font-size:18px}
.content .bank-debts>div{gap:6px}.content .bank-debts>div>button,.content .bank-debts>div>button+button{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1px 5px;padding:7px 8px;min-height:50px;text-align:start}.content .bank-debts button>span:first-child{font-size:11px}.content .bank-debts button small{grid-column:1;grid-row:2;font-size:9px}.content .bank-debts .amount{grid-column:2;grid-row:1/3;font-size:18px}
.content .audit-facts-row{gap:6px}.content .audit-facts-row>div{padding:7px 5px;gap:4px}.content .audit-facts-row .amount{flex-direction:row;gap:3px;font-size:18px}.content .audit-facts-row b{font-size:20px}
.content :is(.metric-card,.financial-account-row,.report-numeric-grid>.row,.bank-flow-pair>button,.bank-debts>div>button) .currency{color:#c4cbd5}.content :is(.financial-account-row,.report-numeric-grid>.row) small{color:#c4cbd5}
.content .metric-grid.inline-metrics.period-performance-24>.inline-metric.metric-card{background:var(--tile-bg)}
.content .financial-account-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 5px;min-height:56px}
.content .financial-account-row>span:not(.amount):not(.list-ordinal){display:contents}
.content .financial-account-row strong{grid-column:1;grid-row:1;font-size:11px;line-height:1.5}
.content .financial-account-row small{grid-column:1/-1;grid-row:2;font-size:9px;line-height:1.4}
.content .financial-account-row .amount{grid-column:2;grid-row:1;font-size:16px;gap:2px}.content .financial-account-row .currency{font-size:7px}
.content .report-numeric-grid>.row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 5px;min-height:58px;padding-inline-start:22px}
.content .report-numeric-grid .copy{display:contents}.content .report-numeric-grid .copy strong{grid-column:1/-1;grid-row:1;font-size:11px;line-height:1.5}
.content .report-numeric-grid .copy small{grid-column:1;grid-row:2;margin:0;font-size:8px;line-height:1.4}
.content .report-numeric-grid .amount{grid-column:2;grid-row:2;font-size:15px;gap:2px}.content .report-numeric-grid .currency{font-size:7px}
/* Review 26: integrated section labels and exact, spacious large amounts. */
.content .section-title{gap:9px;min-width:0;margin-top:17px;margin-bottom:8px}
.content .section-title h2{display:block;max-width:100%;font-size:12px;line-height:1.6;padding:4px 9px;border-radius:7px;background:color-mix(in srgb,var(--section-ink,var(--accent)) 10%,var(--bg));border:1px solid color-mix(in srgb,var(--section-ink,var(--accent)) 25%,var(--line));color:var(--ink)}
.content .section-title h2:before{display:none}.content .section-title:after{content:'';flex:1;min-width:12px;height:1px;background:linear-gradient(to left,#34465f,transparent);order:1}.content .section-title .text-btn{order:2;min-height:30px;padding:2px 4px;font-size:10px;flex-shrink:0}
.content .metric-grid>.metric-card:has(.money-wide),.content .financial-account-row:has(.money-wide),.content .compact-record-summary>div:has(.money-wide),.content .report-numeric-grid>.row:has(.money-wide),.content .daily-cell:has(.money-wide),.content .bank-flow-pair>button:has(.money-wide),.content .bank-debts>div>button:has(.money-wide){grid-column:1/-1}
.content .metric-grid>.metric-card:has(.money-wide){grid-template-columns:minmax(0,1fr) auto;min-height:50px}.content .metric-grid>.metric-card:has(.money-wide) strong{font-size:11px;line-height:1.5}
.content .metric-grid>.metric-card .amount.money-wide{font-size:20px;white-space:nowrap}.content .metric-grid>.metric-card .amount.money-long{font-size:18px}
.content .financial-account-row:has(.money-wide){grid-template-columns:minmax(0,1fr) auto}.content .financial-account-row .money-wide{font-size:19px}
.content .report-numeric-grid>.row:has(.money-wide) .copy strong{grid-column:1;grid-row:1}.content .report-numeric-grid>.row:has(.money-wide) .amount{grid-column:2;grid-row:1/3;font-size:19px}
.content .bank-balance .money-long,.content .daily-sales .money-long{font-size:26px}
.content .metric-grid:has(>.metric-card .money-wide){grid-auto-flow:dense}
.content .metric-grid:has(>.metric-card .money-wide)>.metric-card:nth-child(odd of :not(:has(.money-wide))):nth-last-child(1 of :not(:has(.money-wide))){grid-column:1/-1}
/* Review 27: defined list boundaries and compact remaining legacy blocks. */
.content .register-table-shell{border:2px solid #526780;border-radius:9px}
.content .register-table th{border-inline-end:1.5px solid #617995;border-bottom:2px solid #718ba8;font-weight:700}
.content .register-table td{border-inline-end:1.5px solid #526780;border-bottom:1.5px solid #526780;font-weight:600}
.content .register-table th:last-child,.content .register-table td:last-child{border-inline-end:0}.content .register-table tbody tr:last-child td{border-bottom:0}
.content .register-table td button,.content .column-sort{font-weight:700}
.content .panel,.content .action-catalog.compact-catalog{border:1.5px solid #435a75}
.content .panel>.row+.row,.content .compact-catalog>.catalog-item+.catalog-item{border-top:1.5px solid #435a75}
.content .compact-catalog .catalog-item{border-bottom:0;min-height:52px;padding:7px 9px;gap:8px}.content .compact-catalog .catalog-icon{width:29px;height:29px}.content .compact-catalog strong{font-size:12px;line-height:1.5}.content .compact-catalog small{line-height:1.5;color:#bac5d5}
.content .panel>.row strong{font-weight:700}.content .panel>.row small{color:#bac5d5}.content .report-line+.report-line{border-top:1.5px solid #435a75}.content .report-line{font-weight:600}
.content .ledger-balance{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 9px;padding:9px 11px;min-height:50px;background:#162b46;border:1.5px solid #345371!important}
.content .ledger-balance:has(.accent){background:#362d1b;border-color:#6b5934!important}.content .ledger-balance>small{margin:0;font-size:12px;font-weight:700;color:var(--ink)}.content .ledger-balance>.amount{font-size:23px;white-space:nowrap;max-width:100%}
.content .ledger-balance>div{grid-column:1/-1;margin-top:0!important}.content .ledger-balance>div small{font-size:10px}.content .ledger-balance:has(.money-wide){grid-template-columns:1fr}.content .ledger-balance>.money-wide{font-size:22px;justify-self:end}
.content .warehouse-admin-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:4px 7px;padding:8px 9px}.content .warehouse-admin-row>.list-ordinal{grid-column:1;grid-row:1}.content .warehouse-admin-row>.copy{grid-column:2;grid-row:1}.content .warehouse-admin-row>.amount{grid-column:3;grid-row:1;font-size:18px;align-self:center}.content .warehouse-admin-row .copy small{margin-top:2px;font-size:10px}
.content .warehouse-row-tools{grid-column:2/-1;display:flex;gap:7px;border-top:1px solid #354b65;padding-top:4px}.content .warehouse-row-tools .text-btn{display:flex;align-items:center;gap:4px;min-height:28px;font-size:10px;padding:2px 7px;background:#1a2b43;border:1px solid #435a75;border-radius:6px}.content .warehouse-row-tools svg{width:13px;height:13px}
.phone[data-view=product] .content .summary{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:50px;padding:9px 11px;background:#162b46;border:1.5px solid #345371}.phone[data-view=product] .content .summary>div{margin-top:0!important}.phone[data-view=product] .content .summary .amount{font-size:24px}.phone[data-view=product] .content .summary>small{font-size:12px;font-weight:700;color:var(--ink)}
.content .stats>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-height:50px;padding:7px 8px}.content .stats small{margin:0;font-size:11px;line-height:1.5}.content .stats .amount{font-size:18px;gap:2px}.content .stats .currency{font-size:7px}
.phone[data-view=audit] .content .panel>.row{padding:7px 9px;gap:7px}.phone[data-view=audit] .content .row .copy small{font-size:9px;line-height:1.5;margin-top:2px}
.content .warehouse-admin-row>.copy{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.content .warehouse-admin-row .copy strong{font-size:11px;line-height:1.5}.content .warehouse-admin-row .copy small{margin:0;font-size:9px;line-height:1.5}
.content .product-row{grid-template-columns:20px minmax(0,1fr) auto 44px;column-gap:6px;row-gap:0;min-height:60px;padding:8px 9px}
.content .product-row>.list-ordinal{grid-column:1;grid-row:1/3;align-self:center}.content .product-row>.copy{grid-column:2;grid-row:1/3;align-self:center}.content .product-row>.end{grid-column:3;grid-row:1/3;align-self:center;text-align:end}.content .product-row>.add,.content .product-row>.icon-btn{grid-column:4;grid-row:1/3;align-self:center}.content .product-row .amount{font-size:16px}.content .product-row .copy small{font-size:9px;line-height:1.5}
/* Review 28: external list headings, balanced actions and unmistakable dividers. */
.content .list-section-heading{display:flex;align-items:center;gap:8px}.content .list-section-heading .section-count{order:2;flex-shrink:0;font-size:10px;font-weight:700;color:#c8d5e6;white-space:nowrap}.content .list-section-heading .text-btn{order:3}
.content .list-actions{display:flex;justify-content:flex-end;margin:10px 0 8px}
.content .new-record-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 11px;min-height:38px;border:1.5px solid #5077a2;border-radius:8px;background:#183553;color:#bddcff!important;font-size:11px;font-weight:700;white-space:nowrap}
.content .new-record-button svg{width:18px;height:18px;display:block;flex-shrink:0}
.content .register-table-shell{border:2px solid #7189a3}.content .register-table th{border-inline-end:2px solid #7189a3;border-bottom:3px solid #879db6}.content .register-table td{border-inline-end:2px solid #7189a3;border-bottom:2px solid #7189a3}.content .register-table th:last-child,.content .register-table td:last-child{border-inline-end:0}.content .register-table tbody tr:last-child td{border-bottom:0}
.content .panel,.content .action-catalog.compact-catalog{border:2px solid #607892}.content .panel>.row+.row,.content .compact-catalog>.catalog-item+.catalog-item{border-top:2px solid #607892}.content .report-line+.report-line{border-top:2px solid #607892}
/* Review 29: quieter night separators, and a complete warm-neutral day palette. */
.phone{color-scheme:dark}.content .register-table-shell{border-color:#4c6380}.content .register-table th{border-inline-end-color:#4c6380;border-bottom-color:#5a7290}.content .register-table td{border-inline-end-color:#394e68;border-bottom-color:#394e68}.content .panel,.content .action-catalog.compact-catalog{border-color:#3c526c}.content .panel>.row+.row,.content .compact-catalog>.catalog-item+.catalog-item,.content .report-line+.report-line{border-top-color:#3c526c}
.appearance-picker{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.appearance-picker button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid transparent;border-radius:7px;color:var(--muted);font-weight:700;font-size:12px}.appearance-picker button[aria-pressed=true]{background:var(--raised);border-color:var(--accent);color:var(--ink)}.appearance-picker svg{width:19px;height:19px}.appearance-note{margin-top:7px;font-size:10px;line-height:1.7;color:var(--muted)}
.phone[data-appearance=light]{color-scheme:light;--bg:#f2f4f7;--surface:#fff;--raised:#e6edf5;--line:#bcc9d7;--ink:#1b2b40;--muted:#536478;--accent:#8c671e;--soft:#f5ebd8;--green:#17644d;--red:#a33442;--amber:#8c671e;color:var(--ink);background:var(--bg);border-color:#a6b6c9}
.phone[data-appearance=light] :is(.status,.gesture){color:#32465e;background:var(--bg)}.phone[data-appearance=light] .gesture:after{background:#8997a6}
.phone[data-appearance=light] :is(.secondary,.icon-btn.outline,.browse-select,.browse-toolbar-minor .browse-select,.stock-actions button){background:var(--surface);border-color:var(--line);color:var(--ink)}
.phone[data-appearance=light] :is(.browse-copy small,.audit-facts-row h3,.panel>.row small,.compact-catalog small,.section-count,.financial-account-row small,.report-numeric-grid small,.document-footer b,.stock-trail,.table-document){color:var(--muted)}
.phone[data-appearance=light] .browse-caret{background:#e2ebf5;color:var(--section-ink)}
.phone[data-appearance=light] :is(.tabs button.active,.browse-option[aria-pressed=true],.bank-navigation button[aria-selected=true]){background:#e2ebf5;color:var(--section-ink)}
.phone[data-appearance=light] .primary{background:#dcb05d;color:#1b2b40}.phone[data-appearance=light] .primary .action-emblem{background:#f0cf91;color:#1b2b40}
.phone[data-appearance=light] .content :is(.metric-grid,.report-numeric-grid,.financial-account-list:has(.financial-account-row),.stats,.compact-record-summary,.stock-actions){background:#e9eef4;border-color:#c4cfdb}
.phone[data-appearance=light] .content :is(.metric-card,.stats>div,.compact-record-summary>div,.report-numeric-grid>.row,.financial-account-row,.daily-cell,.bank-flow-pair>button,.bank-debts>div>button,.audit-facts-row>div){--tile-bg:#e8eff7;--tile-border:#b0c2d6}
.phone[data-appearance=light] .content :is(.metric-card,.stats>div,.compact-record-summary>div,.report-numeric-grid>.row,.financial-account-row,.daily-cell,.bank-flow-pair>button,.bank-debts>div>button):has(.positive){--tile-bg:#e3f1eb;--tile-border:#99b9ad}
.phone[data-appearance=light] .content :is(.metric-card,.stats>div,.compact-record-summary>div,.report-numeric-grid>.row,.financial-account-row,.daily-cell,.bank-flow-pair>button,.bank-debts>div>button):has(.negative){--tile-bg:#f6e6e8;--tile-border:#c9a0a7}
.phone[data-appearance=light] .content :is(.metric-card,.stats>div,.compact-record-summary>div,.report-numeric-grid>.row,.financial-account-row):has(.accent){--tile-bg:#f5ebd8;--tile-border:#c3af80}
.phone[data-appearance=light] .content :is(.ledger-balance,.summary,.daily-summary,.bank-summary-mobile,.warehouse-audit-facts){background:#fff;border-color:#b5c5d6!important;color:var(--ink)}
.phone[data-appearance=light] .content .ledger-balance:has(.accent){background:#f5ebd8;border-color:#c3af80!important}
.phone[data-appearance=light] .bank-debts{background:#edf2f7}.phone[data-appearance=light] .content .warehouse-row-tools .text-btn{background:#e8eff7;border-color:#b0c2d6}
.phone[data-appearance=light] .content .register-table-shell{background:#fff;border-color:#9daec2}.phone[data-appearance=light] .register-scroll{scrollbar-color:#91a5bd #e5ebf3}
.phone[data-appearance=light] .content .register-table th{background:#d9e3ef;color:#1c3452;border-inline-end-color:#9daec2;border-bottom-color:#8ba2bc}
.phone[data-appearance=light] .content .register-table td{border-inline-end-color:#aebdcd;border-bottom-color:#aebdcd}.phone[data-appearance=light] .register-table tbody tr:nth-child(even){background:#edf2f8}.phone[data-appearance=light] .register-table tbody tr:hover{background:#dfe9f4}
.phone[data-appearance=light] .content .register-table th:is([aria-sort=ascending],[aria-sort=descending]){background:#c6d6e9}.phone[data-appearance=light] .column-sort>span{color:#244d7e}
.phone[data-appearance=light] .content :is(.panel,.action-catalog.compact-catalog){border-color:#aebdcd}.phone[data-appearance=light] .content :is(.panel>.row+.row,.compact-catalog>.catalog-item+.catalog-item,.report-line+.report-line){border-top-color:#aebdcd}
.phone[data-appearance=light] .content .new-record-button{background:#dceafa;border-color:#7d9cbe;color:#174774!important}
.phone[data-appearance=light] .content .section-title:after{background:linear-gradient(to left,#acbdd0,transparent)}.phone[data-appearance=light] .content .section-title h2{color:var(--ink)}
.phone[data-appearance=light] .content :is(.metric-card,.financial-account-row,.report-numeric-grid>.row,.bank-flow-pair>button,.bank-debts>div>button) .currency,.phone[data-appearance=light] :is(.amount .currency,.daily-summary .currency){color:#526478}
.phone[data-appearance=light] :is(.table-actions button,.table-open){background:#e0ebf7;border-color:#9ab3ce;color:#214d7e}.phone[data-appearance=light] .table-actions .table-delete{background:#f6e6e8;color:#a33442;border-color:#c9a0a7}
.phone[data-appearance=light] :is(.attention,.badge.warn){background:#f5ebd8;border-color:#c3af80;color:#775519}.phone[data-appearance=light] :is(.badge.ok,.avatar.positive){background:#e3f1eb;color:var(--green)}.phone[data-appearance=light] .avatar.negative{background:#f6e6e8;color:var(--red)}
.phone[data-appearance=light] .document-status{background:#e3f1eb;color:var(--green)}.phone[data-appearance=light] .error{background:#f6e6e8;color:#932c3b;border-color:#c9a0a7}.phone[data-appearance=light] .toast{background:#e3f1eb;color:#175d48}.phone[data-appearance=light] .sheet-handle{background:#a3afbd}
.phone[data-appearance=light] .app-head{background:var(--surface);color:var(--ink)}.phone[data-appearance=light] .success .check{background:#e3f1eb;color:var(--green)}
/* Review 30: one divider and row rhythm for lists, sheets and detail lines. */
.phone{--list-divider:#3c526c}.phone[data-appearance=light]{--list-divider:#aebdcd}
.phone .browse-option{border:0;min-height:48px;padding:9px 10px;gap:9px;font-size:12px;font-weight:600;line-height:1.6}.phone .browse-option+.browse-option{border-top:2px solid var(--list-divider)}
.phone .sheet-body .panel,.phone .sheet-body .action-catalog.compact-catalog{border:2px solid var(--list-divider)}
.phone .sheet-body .row{min-height:52px;padding:7px 9px;gap:8px}.phone .sheet-body .row strong{font-size:12px;line-height:1.5;font-weight:700}.phone .sheet-body .row small{font-size:10px;line-height:1.5;color:var(--muted)}
.phone .sheet-body .panel>.row+.row{border-top:2px solid var(--list-divider)}
.phone .sheet-body .compact-catalog .catalog-item{min-height:52px;padding:7px 9px;gap:8px;border:0}.phone .sheet-body .compact-catalog .catalog-item+.catalog-item{border-top:2px solid var(--list-divider)}
.phone .sheet-body .compact-catalog .catalog-icon{width:29px;height:29px}.phone .sheet-body .compact-catalog strong{font-size:12px;line-height:1.5}.phone .sheet-body .compact-catalog small{font-size:10px;line-height:1.5;color:var(--muted)}
.phone .report-line{border-bottom:0;padding:9px 11px;min-height:40px;gap:9px;font-size:12px;font-weight:600}.phone .report-line+.report-line{border-top:2px solid var(--list-divider)}
.phone .sheet-body .overview-metric,.phone .sheet-body .breakdown-entry{border-bottom:0;padding:9px 11px;min-height:44px}.phone .sheet-body .overview-metric+.overview-metric,.phone .sheet-body .breakdown-entry+.breakdown-entry{border-top:2px solid var(--list-divider)}
