:root{--ink:#102923;--ink-2:#243a34;--muted:#71817b;--bg:#f4f5f1;--card:#fff;--line:#e0e7e2;--green:#126a50;--green-2:#dff3e9;--orange:#d87c3d;--orange-2:#fff0e5;--shadow:0 14px 40px rgba(18,45,33,.055);font-family:"DM Sans",system-ui,sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}
.auth-wrap{min-height:100vh;display:grid;grid-template-columns:minmax(330px,46%) 1fr}.auth-hero{background:#102923;color:white;padding:64px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-hero:after{content:"";width:560px;height:560px;border:1px solid rgba(255,255,255,.12);border-radius:50%;position:absolute;right:-180px;top:15%}.auth-hero:before{content:"";width:420px;height:420px;border:1px solid rgba(255,255,255,.12);border-radius:50%;position:absolute;right:-110px;top:25%}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.04em;font-size:24px}.brand-mark{width:36px;height:36px;border-radius:11px;background:#d6a571;color:#152c25;display:grid;place-items:center;font-size:22px}.auth-hero h1{font-family:Manrope,sans-serif;font-size:clamp(36px,4vw,62px);line-height:1.08;letter-spacing:-.055em;max-width:660px;margin:0}.auth-hero p{color:#b4cbc0;font-size:17px;line-height:1.6;max-width:520px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:800;color:var(--orange)}.auth-hero .eyebrow{color:#e1ba91}.hero-foot{color:#9eb7aa;font-size:13px}.auth-panel{display:grid;place-items:center;padding:32px}.auth-card{width:min(100%,410px)}.auth-card h2{font:800 32px Manrope,sans-serif;letter-spacing:-.05em;margin:12px 0 7px}.auth-card p{color:var(--muted);line-height:1.5;margin:0 0 26px}.auth-card .btn{width:100%;margin-top:12px}
.app-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--ink);color:#e6f0ea;display:flex;flex-direction:column;padding:30px 18px;position:sticky;top:0;height:100vh}.sidebar .brand{padding:0 15px 36px}.nav-label{color:#759083;text-transform:uppercase;font-size:10px;letter-spacing:.16em;font-weight:800;margin:18px 15px 10px}.nav-item{border:0;background:transparent;color:#a9beb3;text-align:left;width:100%;padding:13px 15px;display:flex;align-items:center;gap:13px;border-radius:10px;font-weight:700;font-size:13px;margin:2px 0}.nav-item:hover,.nav-item.active{background:#1c3b30;color:#fff}.nav-icon{font-size:18px;width:22px;text-align:center;line-height:1}.nav-count{margin-left:auto;border-radius:20px;background:#d6a571;color:#142c23;padding:2px 7px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:16px 10px 0;border-top:1px solid #315045}.workspace-name{color:#fff;font-weight:800;font-size:13px}.workspace-role{font-size:11px;color:#99afa3;margin-top:3px}.sidebar-bottom button{background:none;border:0;color:#b7cbbd;padding:16px 0 0;font-size:12px}.main{min-width:0}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:800}.top-actions{display:flex;align-items:center;gap:12px}.date-pill{font-size:12px;color:#52665c;background:#f4f6f2;border:1px solid var(--line);border-radius:9px;padding:9px 12px}.avatar{width:35px;height:35px;border-radius:50%;background:#e6efe6;color:var(--green);display:grid;place-items:center;font-weight:800;font-size:13px}.content{padding:34px 42px 60px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:29px}.page-head h1{font:800 clamp(25px,2.8vw,34px) Manrope,sans-serif;letter-spacing:-.05em;margin:4px 0 7px}.page-head p{margin:0;color:var(--muted);font-size:13px}.head-actions{display:flex;gap:10px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:800;display:inline-flex;justify-content:center;align-items:center;gap:8px;white-space:nowrap}.btn.primary{background:var(--green);color:white}.btn.primary:hover{background:#0c543e}.btn.secondary{background:white;border-color:#d7e1d9;color:var(--ink)}.btn.secondary:hover{border-color:#a6b9aa}.btn.ghost{background:transparent;border-color:var(--line);color:var(--ink)}.btn.sm{padding:7px 10px;font-size:11px}.btn:disabled{opacity:.45;cursor:not-allowed}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.stat{background:white;border:1px solid var(--line);border-radius:15px;padding:22px;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;font-weight:700}.stat-icon{width:32px;height:32px;border-radius:9px;background:#eef3ed;display:grid;place-items:center;color:var(--green);font-size:17px}.stat strong{font:800 clamp(18px,2vw,27px) Manrope,sans-serif;letter-spacing:-.04em;display:block;margin:14px 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat small{color:#8e9c94;font-size:11px}.grid-two{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(285px,1fr);gap:20px}.card{background:var(--card);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.card-head{padding:19px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px}.card-head h2{font:800 15px Manrope,sans-serif;letter-spacing:-.02em;margin:0}.card-head span,.card-head a{font-size:11px;color:var(--green);font-weight:800}.card-body{padding:20px 23px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:600px}th{text-align:left;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#8c9d93;padding:13px 20px;border-bottom:1px solid var(--line);font-weight:800}td{padding:14px 20px;border-bottom:1px solid #ecf0ed;font-size:12px;vertical-align:middle}tr:last-child td{border-bottom:0}.type-pill{font-size:10px;font-weight:800;border-radius:5px;padding:5px 7px;background:#e5f1e9;color:#1a7754;white-space:nowrap}.type-pill.sale{background:#e9eff8;color:#3b639b}.type-pill.payment,.type-pill.expense{background:#fff0e5;color:#b3632c}.type-pill.receipt{background:#e4f4ef;color:#187359}.amount{font-weight:800;font-family:Manrope,sans-serif;white-space:nowrap}.sub{display:block;color:#97a49c;font-size:10px;margin-top:3px}.empty{padding:40px 24px;text-align:center;color:var(--muted);font-size:13px}.empty strong{display:block;color:var(--ink);margin-bottom:5px;font-size:14px}.action-tile{border-radius:12px;background:#eff5ef;padding:23px;margin-bottom:14px}.action-tile.orange{background:#fff3e9}.action-tile h3{font:800 15px Manrope,sans-serif;margin:12px 0 6px}.action-tile p{font-size:12px;color:#657b6e;line-height:1.5;margin:0 0 15px}.action-tile.orange p{color:#9b7150}.action-tile .btn{background:#fff}.small-list{list-style:none;padding:0;margin:0}.small-list li{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.small-list li:last-child{border-bottom:0}.small-list strong{font-weight:800}.section-top{display:flex;justify-content:space-between;align-items:center;margin:25px 0 14px}.section-top h2{font:800 16px Manrope,sans-serif;margin:0}.badge{border-radius:20px;padding:5px 9px;font-size:10px;font-weight:800;background:#e9f4eb;color:#207a50}.badge.new{background:#fff0dd;color:#ad6b25}.badge.draft{background:#e8efff;color:#4167a5}.badge.posted{background:#e9f4eb;color:#207a50}.inbox-layout{display:grid;grid-template-columns:minmax(270px,340px) minmax(0,1fr);gap:18px;align-items:start}.upload-zone{background:#f7faf6;border:1.5px dashed #a7c6b5;border-radius:12px;padding:20px;text-align:center;cursor:pointer;display:block}.upload-zone:hover{background:#ecf5ed}.upload-icon{width:43px;height:43px;margin:0 auto 10px;border-radius:12px;background:#e2efe4;display:grid;place-items:center;font-size:21px;color:var(--green)}.upload-zone strong{display:block;font-size:12px}.upload-zone span{display:block;color:var(--muted);font-size:11px;margin-top:5px}.upload-zone input{display:none}.submission-list{padding:8px}.submission{display:flex;width:100%;gap:11px;align-items:center;background:none;border:0;text-align:left;padding:13px;border-radius:9px;color:var(--ink)}.submission:hover,.submission.active{background:#edf4ed}.photo-thumb{width:42px;height:42px;border-radius:8px;background:#dfe9de;display:grid;place-items:center;font-size:19px;flex:none}.submission-main{flex:1;min-width:0}.submission-main strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.submission-main small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.review-grid{display:grid;grid-template-columns:minmax(220px,38%) minmax(0,1fr);gap:18px;padding:20px}.image-frame{background:#e9ede8;border-radius:10px;min-height:360px;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-frame img{max-width:100%;max-height:620px;object-fit:contain;display:block}.review-fields h3{font:800 16px Manrope,sans-serif;margin:0 0 6px}.review-fields p{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 16px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:800;color:#415b4c}.input,.field input,.field select,.field textarea{width:100%;border:1px solid #dce5dd;background:white;border-radius:8px;padding:10px 11px;outline:none;color:var(--ink);font-size:12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4eaa80;box-shadow:0 0 0 3px #e0f4e7}.field textarea{resize:vertical;min-height:70px}.entry-row{border:1px solid var(--line);border-radius:10px;padding:14px;margin:13px 0;background:#fff}.entry-row-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;font-weight:800}.entry-row-title button{border:0;background:none;color:#bc6b4b;font-size:11px;font-weight:800}.form-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.notice{font-size:11px;padding:11px 13px;border-radius:8px;background:#eff5ef;color:#54705d;line-height:1.45}.notice.warn{background:#fff5e8;color:#9b6d40}.list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.item-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;border-bottom:1px solid var(--line);font-size:12px}.item-row:last-child{border-bottom:0}.item-row strong{font-weight:800}.item-row small{display:block;color:var(--muted);margin-top:4px}.item-row b{font:800 13px Manrope,sans-serif}.filter-bar{display:flex;gap:10px;margin-bottom:14px;align-items:center}.filter-bar input,.filter-bar select{max-width:240px}.toast{position:fixed;right:24px;bottom:24px;background:#102923;color:#fff;padding:13px 18px;border-radius:10px;box-shadow:0 20px 45px #0003;font-size:12px;z-index:10;max-width:min(420px,calc(100vw - 32px))}.toast.error{background:#9e3d32}.help-line{color:var(--muted);font-size:11px;line-height:1.5;margin-top:8px}.mobile-head{display:none}.mono{font-variant-numeric:tabular-nums}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1fr}.review-grid{grid-template-columns:1fr}.image-frame{min-height:250px;max-height:400px}.content{padding:28px}.topbar{padding:0 28px}}
@media(max-width:760px){.auth-wrap{grid-template-columns:1fr}.auth-hero{min-height:250px;padding:28px}.auth-hero h1{font-size:31px}.auth-hero p{font-size:13px}.auth-hero .hero-foot{display:none}.auth-panel{padding:30px 20px}.app-shell{display:block}.sidebar{position:fixed;z-index:20;width:260px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.mobile-head{display:block;background:none;border:0;font-size:21px;margin-right:12px;color:var(--ink)}.topbar{height:66px;padding:0 18px}.date-pill{display:none}.content{padding:24px 17px 90px}.page-head{align-items:flex-start;flex-direction:column;margin-bottom:22px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:20px}.grid-two,.list-grid,.inbox-layout{grid-template-columns:1fr}.review-grid{padding:15px}.field-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.head-actions{width:100%}}
@media(max-width:430px){.stats{grid-template-columns:1fr 1fr}.stat-top{font-size:10px}.stat-icon{width:27px;height:27px}.field-grid,.field-grid.three{grid-template-columns:1fr}.form-actions .btn{flex:1}}
.lang-switch{background:#f2f5f1;border:1px solid #d7e2d8;color:#1c5f47;border-radius:8px;padding:7px 12px;font-size:12px;font-weight:800;white-space:nowrap}.lang-switch:hover{background:#e8f3e8}.auth-lang{display:block;margin:0 0 30px auto}
.auth-help{margin-top:24px;padding:15px 17px;border-radius:10px;background:#eef5ee;border:1px solid #dce9dc}.auth-help strong{font-size:12px}.auth-help p{font-size:12px;margin:5px 0 0;line-height:1.55}
[lang=ur]{font-family:"Noto Naskh Arabic",Tahoma,Arial,sans-serif;line-height:1.65}[lang=ur] .brand,[lang=ur] h1,[lang=ur] h2,[lang=ur] h3,[lang=ur] .stat strong,[lang=ur] .amount,[lang=ur] .item-row b{font-family:"Noto Naskh Arabic",Tahoma,Arial,sans-serif;letter-spacing:0}[lang=ur] .eyebrow,[lang=ur] th,[lang=ur] .nav-label{letter-spacing:0}[lang=ur] .auth-hero h1{line-height:1.32}[lang=ur] .auth-card h2,[lang=ur] .page-head h1{line-height:1.35}[lang=ur] th,[lang=ur] td{text-align:right}[lang=ur] .auth-lang{margin:0 auto 30px 0}[lang=ur] input[type="number"],[lang=ur] input[inputmode="decimal"],[lang=ur] input[type="date"]{direction:ltr;text-align:right}[lang=ur] .toast{left:24px;right:auto}
[lang=ur] body{font-size:16px;font-weight:600;line-height:1.8}
[lang=ur] .brand{font-size:25px}
[lang=ur] .eyebrow,[lang=ur] .nav-label{font-size:13px;font-weight:700}
[lang=ur] .nav-item,[lang=ur] .workspace-name,[lang=ur] .breadcrumb{font-size:15px}
[lang=ur] .workspace-role,[lang=ur] .sidebar-bottom button,[lang=ur] .date-pill{font-size:14px}
[lang=ur] .page-head p,[lang=ur] .auth-card p,[lang=ur] .auth-help p,[lang=ur] .auth-hero p{font-size:16px;line-height:1.85}
[lang=ur] .auth-help strong{font-size:16px}
[lang=ur] .btn,[lang=ur] .lang-switch{font-size:15px;line-height:1.5}
[lang=ur] .btn.sm{font-size:14px}
[lang=ur] .stat-top,[lang=ur] .stat small{font-size:15px;color:#52665c}
[lang=ur] .card-head h2,[lang=ur] .section-top h2,[lang=ur] .action-tile h3,[lang=ur] .review-fields h3{font-size:19px}
[lang=ur] .card-head span,[lang=ur] .card-head a,[lang=ur] .action-tile p,[lang=ur] .review-fields p,[lang=ur] .empty,[lang=ur] .help-line,[lang=ur] .notice{font-size:15px;line-height:1.8}
[lang=ur] .empty strong{font-size:17px}
[lang=ur] .field label,[lang=ur] .entry-row-title,[lang=ur] .entry-row-title button{font-size:15px}
[lang=ur] .input,[lang=ur] .field input,[lang=ur] .field select,[lang=ur] .field textarea{font-size:16px;min-height:46px}
[lang=ur] .upload-zone strong,[lang=ur] .submission-main strong,[lang=ur] .item-row{font-size:16px}
[lang=ur] .upload-zone span,[lang=ur] .submission-main small,[lang=ur] .item-row small,[lang=ur] .sub,[lang=ur] .badge,[lang=ur] .type-pill{font-size:14px}
[lang=ur] th{font-size:14px;color:#53675b}[lang=ur] td{font-size:15px}
[lang=ur] .toast{font-size:15px}
@media(max-width:760px){[lang=ur] .sidebar{right:0;left:auto;transform:translateX(100%)}[lang=ur] .sidebar.open{transform:translateX(0)}}
@media(max-width:430px){[lang=ur] .stat-top{font-size:14px}[lang=ur] .stat strong{font-size:22px}[lang=ur] .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.demo-banner{margin-bottom:18px;padding:12px 16px;border-radius:9px;background:#fff4dd;border:1px solid #eed8a8;color:#604816;font-size:12px;font-weight:700;line-height:1.5}
[lang=ur] .demo-banner{font-size:16px;line-height:1.8}
.sidebar{overflow-y:auto;height:100dvh}.sidebar .brand{padding-bottom:20px}.sidebar .nav-label{margin-top:14px}.sidebar .nav-item{padding-block:10px}
.entry-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.ledger-search{margin-bottom:18px}.ledger-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ledger-table{min-width:1050px}.ledger-table th,.ledger-table td{padding-inline:16px}.ledger-table .sub{max-width:230px;overflow-wrap:anywhere}
.row-check:not(:empty){border-top:1px solid var(--line);padding-top:13px;margin-top:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.progress-track{list-style:none;padding:0;margin:0 0 24px;display:flex;gap:12px}.progress-track li{display:flex;align-items:center;gap:8px;flex:1;color:#6b7b70;font-size:12px;font-weight:700}.progress-track b{display:grid;place-items:center;min-width:29px;height:29px;border-radius:50%;background:#e9ede8}.progress-track .done{color:#165b40}.progress-track .done b{background:#d7eadc}.source-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:14px;color:#52665c}.source-link{display:flex;gap:12px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.activity-note{margin-bottom:22px}
.access-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.access-cards h3{font-size:17px;margin:14px 0 8px}.access-cards p{font-size:13px;line-height:1.7;color:var(--muted)}
.record-details{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:12px 22px;font-size:14px;line-height:1.6}.record-details dt{color:var(--muted)}.record-details dd{margin:0;overflow-wrap:anywhere}.slip-dialog{border:1px solid var(--line);border-radius:16px;padding:24px;width:min(620px,calc(100vw - 28px));max-height:90dvh;color:var(--ink);background:white;box-shadow:0 24px 80px #0003}.slip-dialog::backdrop{background:#0b231cb3}.slip-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px}.slip-brand{padding:22px 0;border-bottom:1px dashed var(--line)}.slip-brand h2{font-size:22px;margin:8px 0}.slip-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px}#print-sheet{display:none}
[lang=ur] .progress-track li,[lang=ur] .source-meta,[lang=ur] .record-details,[lang=ur] .access-cards p{font-size:16px}[lang=ur] .access-cards h3{font-size:21px}
@media(max-width:1100px){.ledger-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.access-cards{grid-template-columns:1fr}.progress-track{flex-wrap:wrap}.progress-track li{min-width:110px}}
@media(max-width:760px){.sidebar{top:0;bottom:0}.slip-dialog{padding:18px}.record-details{gap:10px 14px}.source-meta{flex-wrap:wrap}.entry-tabs .btn{flex:1}.ledger-table{min-width:1000px}}
@media(max-width:430px){.progress-track{flex-direction:column}.ledger-filters{gap:12px}.record-details{grid-template-columns:minmax(100px,1fr) minmax(0,1.6fr)}}
@media print{@page{size:A4;margin:18mm}body{background:white!important;color:#111!important}body>*:not(#print-sheet){display:none!important}dialog::backdrop{display:none!important}#print-sheet{display:block!important;font-family:Arial,sans-serif}.record-details{font-size:12pt}.slip-brand h2{font-size:20pt}[lang=ur] #print-sheet{font-family:"Noto Naskh Arabic",Tahoma,Arial,sans-serif}}
