/* Orange identity, neutral surfaces, large ledger figures and clear hierarchy. */
@media screen{
:root{--orange:#f45b28;--ink:#20272e;--muted:#747d87;--line:#e9ecef;--surface:#fff;--green:#15835c}
body{font-family:Arial,system-ui,sans-serif;background:#f5f6f8;color:var(--ink);font-size:14px}button,input,select,textarea{font-family:inherit}button,.btn{border-radius:8px;box-shadow:none}button.primary,.btn.primary,.modal-save{background:var(--orange);border-color:var(--orange);color:white}
aside{width:218px;padding:24px 16px;background:white;border-right:1px solid var(--line)}main{margin-left:218px;padding:0 28px 30px}aside .business{margin:22px 0 14px;background:#f7f8fa;border:1px solid var(--line);border-radius:8px}aside nav a{min-height:42px;border-radius:7px;font-size:13px}aside nav a.active{background:#fff0e9;color:#c74719}aside .foot{font-size:11px}
main>header{min-height:56px;position:sticky;top:0;z-index:15;background:var(--orange);color:#fff;margin:0 -28px 18px;padding:6px 24px;border:0}main>header #crumb{font-size:17px;font-weight:700}main>header .support-icon{color:white}main>header .page-options>summary{color:white}
.page-options-content{color:var(--ink);border-radius:10px;border:1px solid var(--line);box-shadow:0 10px 35px #14233720}.all-app-tools>small,#ledgerMenuTools>small{display:block;color:var(--muted);font-size:10px;letter-spacing:1px;padding:8px 4px}.all-app-tools a{display:flex;justify-content:space-between;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line);font-weight:600}#ledgerMenuTools>button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:12px 4px;color:var(--ink)}
.heading{margin:16px 0 14px;align-items:center}.heading h1{font-size:21px;font-weight:700;letter-spacing:-.4px}.heading p{font-size:12px;color:var(--muted)}.heading button{font-size:13px;min-height:42px}#app>.heading>div>p{margin-bottom:0}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:16px;box-shadow:none}
.tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin:0 0 16px;background:transparent}.tabs button{flex:1;border:0;border-radius:0;background:transparent;padding:13px 8px;font-size:14px;color:var(--muted)}.tabs button.active,.tabs button.selected{background:transparent;color:var(--orange);border-bottom:3px solid var(--orange);font-weight:700}
.account-totals{background:#fff;padding:14px 16px;border-radius:10px;border:1px solid var(--line);margin-bottom:14px}.account-total-values{display:flex;gap:20px;flex-wrap:wrap;padding:8px 0}.account-total-values>div{flex:1;min-width:100px}.account-total-values strong{font-size:27px;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.account-total-values small{font-size:12px}.account-totals>button{font-size:11px}.account-search input[type=search],.ledger-search{background:#f6f7f9;border:1px solid var(--line);border-radius:8px;min-height:44px}.account-search{margin-bottom:12px}.account-search>span{font-size:11px;color:var(--muted)}
#records table{width:100%;border-collapse:collapse}#records th{font-size:10px;color:var(--muted);font-weight:600;background:#f8f9fa;padding:10px 12px}#records td{padding:17px 12px;border-bottom:1px solid var(--line);background:#fff}#records td .link{font-size:15px;font-weight:600;color:var(--ink)}#records td small{font-size:11px;line-height:1.5;color:var(--muted)}#records .balance-amount strong{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}.party-avatar{width:40px;height:40px;border-radius:50%;background:#fff0e9;color:#c74719;flex-shrink:0}.party-avatar svg{width:20px;height:20px}.debit,.negative{color:#d24444}.credit,.positive{color:#15835c}
.k360-intro{display:flex;justify-content:space-between;align-items:center;background:white;border:1px solid var(--line);border-radius:10px;padding:18px;box-shadow:none}.k360-intro>div:first-child>small{font-size:10px;color:var(--muted);letter-spacing:.5px}.k360-intro h2{font-size:18px;color:var(--ink);margin:7px 0}.k360-intro p{display:none}.k360-intro .btn{font-size:12px;padding:10px 12px;min-height:40px}.intro-totals{padding:0 0 0 16px;background:transparent;border-left:1px solid var(--line);border-radius:0}.intro-totals span{font-size:11px;color:var(--muted)}.intro-totals strong{font-size:28px;color:var(--ink)}.intro-totals>a{font-size:10px;color:var(--muted)}.sectionhead h2{font-size:16px}.modules.own-tools{gap:10px}.own-tools .module{min-height:100px;background:white;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 8px;box-shadow:none}.own-tools .module svg{width:25px;height:25px;color:var(--orange)}.own-tools .module h3{font-size:14px;margin:10px 0 3px}.own-tools .module small{font-size:10px;color:var(--muted)}.own-utility{font-size:11px;margin:16px 0}.parcel-next{border:1px solid #ffd1bb;border-left:4px solid var(--orange);background:#fff6f0;border-radius:10px;padding:18px;box-shadow:none}.parcel-next h3{font-size:18px;color:#803614}.parcel-next p{font-size:12px;line-height:1.5}.parcel-next .tag{font-size:9px}.parcel-next .btn{font-size:12px;min-height:40px}.stats .card,.stat{box-shadow:none;border-radius:10px}.stats strong{font-size:27px}main>footer{font-size:10px;border-top:0;padding:20px 0;color:var(--muted)}
#modal>.modal-close-bar{background:var(--orange);color:white;border:0;padding:4px 16px;min-height:50px}#modal .entry-page-label{font-size:16px}#modal>#modalbody{background:#f6f7f9;padding-top:16px;padding-bottom:24px}#modal .sheet-head,#modal .simple-head,#modal .own-entry-head{background:transparent!important;border:0!important;padding:8px 0 14px!important;color:var(--ink)!important}#modal .simple-head h2,#modal .own-entry-head h2{color:var(--ink)!important;font-size:20px!important}#modal .simple-head small,#modal .simple-head .tag{display:none}#modal .simple-head p{color:var(--muted);font-size:13px}#modal .simple-form{padding:0;background:transparent}#modal .sheet-body{background:white;border:1px solid var(--line);border-radius:10px;padding:16px!important}
#modal .simple-amount{border:1px solid var(--line);border-radius:10px;background:white;padding:20px 16px;gap:8px}#modal .simple-amount input{color:var(--ink)!important;font-size:44px!important;font-weight:700!important}#modal .simple-amount>span{color:var(--muted);font-size:16px}#modal .simple-amount output{font-size:16px!important;color:var(--muted);font-weight:400;padding:0}#modal .simple-form textarea,#modal .simple-form input:not(#entryExpression),#modal .simple-form select{background:white;border:1px solid var(--line);border-radius:8px;min-height:46px;color:var(--ink)}#modal .voice-line{border:0;background:transparent;text-align:left;padding:12px 0;font-size:12px;color:var(--muted)}#modal .cash-party-switch{background:transparent;gap:8px}#modal .cash-party-switch button{background:white;border:1px solid var(--line);color:var(--ink);min-height:44px}.attachment-more{font-size:12px;color:var(--muted)}.linked-effect-note{padding:10px 0;font-size:12px}
#modal>.modal-cancel-bar{background:white;border-top:1px solid var(--line);box-shadow:0 -3px 12px #15253305;min-height:64px}#modal>.modal-cancel-bar button{border-radius:8px;min-height:44px}#modal .modal-save{background:var(--orange);border-color:var(--orange)}#modal .page-close{background:white;border:1px solid var(--line);color:var(--muted)}#bankActionDock .green{background:#e7f5ee;color:#12734d;border-color:#b7dfca}#bankActionDock .red{background:#fff0ef;color:#bc3636;border-color:#f2c8c5}
.own-ledger{background:white;border:1px solid var(--line);border-radius:10px;padding:16px}.own-ledger .business-document-header{display:none}.own-ledger-header{padding:0 0 14px;margin:0;border-bottom:1px solid var(--line)}.own-ledger-header h2{font-size:18px;margin:0 0 5px}.own-ledger-header small{font-size:11px}.own-ledger-header>button{font-size:12px;min-height:40px}.own-balance-card{border:0;background:#f8f9fb;border-radius:8px;margin:14px 0;padding:16px}.own-balance-card strong{font-size:32px!important}.own-balance-card small{font-size:12px}.own-ledger .ledger-search{width:100%;margin:0 0 14px}.own-ledger table{width:100%;table-layout:fixed;border-collapse:collapse}.own-ledger th:first-child{width:48%}.own-ledger th{font-size:10px;background:#f8f9fa;padding:10px 7px}.own-ledger td{padding:15px 7px;border-bottom:1px solid var(--line);min-width:0!important;overflow-wrap:anywhere}.own-ledger .debit-cell{background:#fff9f8;color:#c53f3f}.own-ledger .credit-cell{background:#f5fbf8;color:#15835c}.own-ledger .ledger-detail-link{font-size:14px;line-height:1.45;padding:5px 0;color:var(--ink)}.own-ledger td small{font-size:10px;color:var(--muted)}.own-ledger .row-balance{font-size:11px!important}.own-ledger .document-footer{display:none!important}.own-ledger .ledger-actions{display:flex;gap:10px;margin-top:20px}.own-ledger .ledger-actions button{flex:1;font-size:12px;min-height:48px}.own-ledger .urdu-label{font-size:10px}
.mobile-app-nav{display:none}
@media(max-width:650px){aside{display:none!important}main{margin:0;padding:0 14px 90px}main>header{margin:0 -14px 16px;padding:5px 14px;min-height:54px}main>header #crumb{font-size:16px}.heading{margin:12px 0}.heading h1{font-size:19px}.heading p{display:none}.heading>button{padding:9px 12px}.panel{padding:12px}.account-totals{padding:12px}.account-total-values strong{font-size:24px}.account-search .toolbar{gap:6px}.account-search .toolbar button{font-size:11px;padding:8px}.account-search .toolbar input[type=search]{flex-basis:100%;width:100%}#records td{padding:15px 5px}#records td .link{font-size:14px}#records .balance-amount strong{font-size:18px}.k360-intro{padding:14px;gap:12px}.k360-intro h2{font-size:16px}.intro-totals{padding-left:12px}.intro-totals strong{font-size:24px}.own-tools .module{min-height:93px;padding:12px 5px}.own-tools .module small{font-size:9px}.own-tools .module h3{font-size:13px}.parcel-next{padding:14px}.parcel-next h3{font-size:17px}.mobile-app-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);bottom:0;left:0;right:0;z-index:20;background:white;border-top:1px solid var(--line);padding:6px 8px calc(7px + env(safe-area-inset-bottom));gap:4px}.mobile-app-nav a,.mobile-app-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;padding:4px;border:0;background:transparent;color:#7c858c;font-size:10px;font-weight:600;border-radius:8px}.mobile-app-nav svg{width:21px;height:21px}.mobile-app-nav .more-grid{font-size:25px;line-height:21px}.mobile-app-nav .active{color:var(--orange);background:#fff3ed}#calcShortcut{bottom:80px;right:14px;border-radius:25px;padding:10px 14px;background:#fff;color:var(--orange);border:1px solid #f4cbbb;box-shadow:0 3px 10px #17253312;font-size:12px;min-height:44px}body:has(#modal[open])>.mobile-app-nav{display:none}#modal>#modalbody{padding:14px 12px 24px}.own-ledger{padding:12px}.own-ledger td:not(:first-child){font-size:16px}.own-ledger .ledger-actions button{padding:10px 5px}.page-options-content{max-height:75dvh}}
body[data-theme=dark]{--ink:#edf1f4;--muted:#a3acb5;--line:#37404a;--surface:#242b33;background:#1b2128}body[data-theme=dark] .panel,body[data-theme=dark] .account-totals,body[data-theme=dark] #records td,body[data-theme=dark] .k360-intro,body[data-theme=dark] .own-tools .module,body[data-theme=dark] .own-ledger,body[data-theme=dark] .mobile-app-nav,body[data-theme=dark] #modal .sheet-body,body[data-theme=dark] #modal>.modal-cancel-bar{background:#242b33}body[data-theme=dark] #modal>#modalbody{background:#1b2128}body[data-theme=dark] .own-balance-card,body[data-theme=dark] #records th,body[data-theme=dark] .own-ledger th,body[data-theme=dark] .account-search input[type=search],body[data-theme=dark] .ledger-search{background:#303942;color:var(--ink)}body[data-theme=dark] #modal .simple-amount input{color:#edf1f4!important}body[data-theme=dark] .own-ledger .debit-cell{background:#382c30;color:#ff9990}body[data-theme=dark] .own-ledger .credit-cell{background:#253d34;color:#80dbb2}body[data-theme=dark] .mobile-app-nav .active{background:#453026;color:#ffa77e}
}
@media print{.mobile-app-nav{display:none!important}}
@media screen{main>header #crumb{display:block!important}main>header .support-icon{color:#fff!important}.account-total-values>div{padding:7px 8px!important}.account-totals .account-total-values{margin:5px 0;min-height:0}.account-totals>small{font-size:10px}.tabs button{box-shadow:none!important}.account-search{padding:0!important}.account-totals{padding:12px!important}}
@media screen{
aside nav a[href="#calculator"]{display:none!important}
.top-tools-panel{margin:0 0 16px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:10px;padding:8px 12px}
.tools-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;font-weight:700}
#toggleTopTools{display:flex;align-items:center;justify-content:center;width:36px;min-height:36px;padding:0;background:transparent;border:1px solid var(--line);border-radius:8px;font-size:24px;color:var(--ink)}
#topToolsGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:10px 0 4px}#topToolsGrid[hidden]{display:none}
#topToolsGrid a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:8px 4px;border:1px solid var(--line);border-radius:8px;font-size:12px;font-weight:600;background:#f8f9fb;color:var(--ink)}#topToolsGrid a:hover{background:#fff0e9;color:#c74719}
body[data-theme=dark] #topToolsGrid a{background:#303942}
#modal.bank-action-page>.modal-cancel-bar{display:grid;grid-template-columns:1fr 1fr 1fr;justify-items:stretch;gap:8px;padding:10px max(12px,calc((100vw - 760px)/2)) calc(10px + env(safe-area-inset-bottom))}
#bankActionDock{grid-column:1/-1;width:min(100%,600px);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:12px}
#bankActionDock button{width:100%;min-height:56px;font-size:18px;font-weight:700;padding:12px 8px;white-space:normal}
#modal.bank-action-page .modal-cancel-bar>button{width:100%;min-height:44px;margin:0}
#modal.bank-action-page .modal-cancel-bar>.modal-save[hidden]{display:none!important}
#modal.bank-action-page .modal-cancel-bar:has(>.modal-save[hidden]){grid-template-columns:1fr 1fr}
@media(max-width:650px){#topToolsGrid{grid-template-columns:repeat(3,minmax(0,1fr))}#bankActionDock button{min-height:56px;font-size:16px}.top-tools-panel{margin-bottom:12px}}
}
@media print{.top-tools-panel{display:none!important}}
/* Compact orange brand shell with one tool collection. */
@media screen{
body{font-family:'DM Sans',Arial,sans-serif;background:#f5f6f8}
main>header{margin-bottom:0;min-height:60px;box-shadow:0 3px 16px #d8491714}
main>header #crumb{flex:1}main>header .header-brand{font-family:Manrope,sans-serif;letter-spacing:-1.2px}main>header .header-brand .brand-name{color:#fff;font-size:24px;font-weight:800;white-space:nowrap}main>header .header-brand b{color:#ffe6d9;font-weight:800}
.header-parcel-pro{display:flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #ffffff55;background:#ffffff20;color:#fff;border-radius:24px;font-size:12px;font-weight:700;white-space:nowrap}
.shell-business{display:flex;width:100%;align-items:center;gap:12px;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:20px 2px;margin:0 0 14px}.shell-business>.k-icon{width:38px;height:38px;padding:8px;background:#ffeadf;color:#d94b1c;border-radius:12px}.shell-business>span{min-width:0}.shell-business small{display:block;font-size:9px;color:var(--muted);letter-spacing:1.5px;margin-bottom:4px}.shell-business strong{display:block;font-family:Manrope,sans-serif;font-size:20px;overflow-wrap:anywhere}.business-chevron{margin-left:auto;color:var(--muted);font-size:22px}
.top-tools-panel{padding:10px 14px;border-radius:16px;box-shadow:0 4px 18px #182a3804}.tools-panel-heading{font-size:13px;color:var(--ink)}#toggleTopTools{border:0;background:#f5f6f8;border-radius:50%;width:30px;min-height:30px}#topToolsGrid{gap:8px;padding-top:12px}#topToolsGrid a{flex-direction:column;gap:7px;border:0;background:transparent;min-height:84px;padding:8px 3px;margin:0;font-size:11px;border-radius:12px}.tool-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#fff0e7;color:#dd5625}.tool-symbol svg{width:23px;height:23px}#topToolsGrid a:nth-child(3n+2) .tool-symbol{background:#e8f4ef;color:#27785b}#topToolsGrid a:nth-child(3n) .tool-symbol{background:#edf0fc;color:#6275b0}#topToolsGrid a.active{background:#fff3ec;color:#bc4019}#topToolsGrid a:hover{background:#f5f6f8}
.home-overview{border:1px solid var(--line);background:var(--surface);border-radius:16px;overflow:hidden;margin-top:18px}.home-overview-title{display:flex;justify-content:space-between;align-items:center;padding:20px}.home-overview-title small{font-size:9px;letter-spacing:1.5px;color:var(--muted)}.home-overview-title h1{font-size:19px;letter-spacing:-.6px;margin:6px 0 0}.home-overview-title>a{color:var(--orange)}.home-overview-title svg{width:22px;height:22px}.home-cash{display:flex;flex-direction:column;gap:7px;padding:22px;margin:0 18px;border-radius:13px;background:#fff3eb;border:1px solid #ffe0cd}.home-cash>span{font-size:12px;color:#8a5c45}.home-cash strong{font-size:36px;letter-spacing:-1px;color:#562c1b;font-variant-numeric:tabular-nums}.home-cash>a{font-size:11px;color:#a74421}.home-account-pair{display:grid;grid-template-columns:1fr 1fr;padding:20px 18px;gap:12px}.home-account-pair>a{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}.home-account-pair svg{width:22px;height:22px;color:var(--orange)}.home-account-pair strong{display:block;font-size:15px;color:var(--ink);margin-top:4px}.home-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 18px 20px}.home-primary-actions button{min-height:44px}main>footer{display:flex;align-items:center;justify-content:center;gap:16px;padding:26px 0}main>footer>span{display:block!important}main>footer .support-icon{background:#e8f5ed;color:#168452}
@media(max-width:650px){main>header{padding:6px 12px;gap:6px;min-height:56px}main>header .header-brand .brand-name{font-size:21px}.header-parcel-pro{font-size:11px;padding:8px 9px}.shell-business{padding:16px 1px}.shell-business strong{font-size:18px}#topToolsGrid{grid-template-columns:repeat(3,minmax(0,1fr))}#topToolsGrid a{min-height:76px;font-size:11px;gap:5px}.top-tools-panel{padding:9px 12px}.home-overview-title{padding:16px}.home-overview-title h1{font-size:17px}.home-cash strong{font-size:32px}}
body[data-theme=dark] .tool-symbol{background:#483227;color:#ffac85}body[data-theme=dark] #topToolsGrid a{background:transparent}body[data-theme=dark] #topToolsGrid a.active{background:#453026;color:#ffb391}body[data-theme=dark] .home-cash{background:#382a24;border-color:#604334}body[data-theme=dark] .home-cash strong{color:#ffdfce}body[data-theme=dark] .home-cash>span,body[data-theme=dark] .home-cash>a{color:#e2b59b}
}
@media print{.shell-business{display:none!important}}
@media screen{main>header .header-brand .brand-name b{color:#ffe6d9!important}}
@media screen{
body{font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font-family:inherit}h1,h2,h3,.shell-business strong{font-family:Manrope,'DM Sans',sans-serif;letter-spacing:-.4px}
#topToolsGrid a{font-size:12px;font-weight:600;line-height:1.3}.tools-panel-heading{font-size:14px;font-weight:700}
#modal .simple-amount{padding:12px 14px!important;gap:6px!important}#modal .simple-amount input#entryExpression,#modal .simple-amount input#entryAmount{font-size:32px!important;line-height:1.25!important;min-height:42px!important;padding:4px 0!important;font-weight:650!important}#modal .simple-amount>span{font-size:14px}#modal .simple-amount output{font-size:14px!important}
body[data-theme=dark] .top-tools-panel{background:#222a34!important;border-color:#3b4755!important;box-shadow:0 4px 18px #0002}
body[data-theme=dark] .tools-panel-heading{color:#f1f5fa!important}
body[data-theme=dark] #toggleTopTools{background:#354150!important;color:#fff!important;border:1px solid #516174!important}
body[data-theme=dark] #topToolsGrid a{background:#28323e!important;color:#f0f4fa!important;border:1px solid #3a4757!important}
body[data-theme=dark] #topToolsGrid a .tool-symbol{background:#503728!important;color:#ffc19b!important}
body[data-theme=dark] #topToolsGrid a:nth-child(3n+2) .tool-symbol{background:#25493e!important;color:#9fe6c9!important}
body[data-theme=dark] #topToolsGrid a:nth-child(3n) .tool-symbol{background:#343e60!important;color:#bfccff!important}
body[data-theme=dark] #topToolsGrid a.active{background:#4b3428!important;border-color:#d77d4b!important;color:#ffdcbe!important}
body[data-theme=dark] #topToolsGrid a:hover,body[data-theme=dark] #topToolsGrid a:focus-visible{background:#394859!important;color:#fff!important}
body[data-theme=dark] .shell-business{background:transparent!important;color:#f1f5fa!important}body[data-theme=dark] .shell-business small{color:#bac7d6!important}
body[data-theme=dark] #modal .simple-amount{background:#27313d!important;border-color:#4a596b!important}body[data-theme=dark] #modal .simple-amount input#entryExpression{background:transparent!important;color:#f2f6fc!important}body[data-theme=dark] #modal .simple-amount output{color:#bbc8d8!important}
@media(max-width:650px){#modal .simple-amount input#entryExpression,#modal .simple-amount input#entryAmount{font-size:30px!important}}
}
@media screen{
#modal #modalbody{font-family:'DM Sans',system-ui,sans-serif}
#modal .sheet-body{padding:12px!important}#modal .formgrid{gap:12px 16px;margin:14px 0}#modal label.field{gap:5px;font-size:12px;line-height:1.4}
#modal #modalbody input:not([type=checkbox]):not([type=radio]):not([type=file]),#modal #modalbody select{min-height:40px!important;padding:8px 10px!important;font-size:15px!important;border-radius:7px!important}
#modal #modalbody textarea{min-height:64px!important;padding:9px 10px!important;font-size:15px!important;line-height:1.45;max-height:160px}
#modal .simple-amount{padding:8px 12px!important;max-width:100%;border-radius:8px!important}
#modal #modalbody .simple-amount input#entryExpression,#modal #modalbody .simple-amount input#entryAmount{font-size:26px!important;min-height:36px!important;padding:3px 0!important;line-height:1.3!important}
#modal .simple-amount output{font-size:13px!important}#modal .simple-form .simple-two{gap:10px;margin:12px 0}#modal .simple-head h2,#modal .sheet-head h2{font-size:19px!important}#modal .sheet-head p{font-size:12px;line-height:1.5}#modal .bill-line{padding:12px;margin:10px 0;border-radius:8px}#modal .line-grid{gap:10px}#modal .line-amount-field{padding:8px!important}#modal .clock12{min-height:40px;padding:0 5px}#modal .clock12 select{min-height:36px!important;padding:5px!important}
.studio-downloads{display:flex;gap:8px;flex-wrap:wrap}.studio-downloads button,.studio-downloads .btn{min-height:42px;font-size:13px}.customer-whatsapp{display:flex;align-items:center;justify-content:center;padding:8px;color:#168453!important;min-width:40px;min-height:40px}.own-ledger-header>div{min-width:0;flex:1}.own-ledger-header h2{overflow-wrap:anywhere}
}
@media screen{
main>header{min-height:48px!important;padding-top:4px!important;padding-bottom:4px!important}main>header .header-brand .brand-name{font-size:21px!important}.header-parcel-pro{padding:6px 10px}.shell-business{padding:10px 0;margin-bottom:10px;gap:9px}.shell-business>.k-icon{width:30px;height:30px;padding:6px;border-radius:8px}.shell-business small{font-size:8px;margin-bottom:1px}.shell-business strong{font-size:16px}.top-tools-panel{padding:6px 10px;margin-bottom:10px;border-radius:10px}.tools-panel-heading{font-size:12px}#topToolsGrid{padding:6px 0 2px;gap:5px}#topToolsGrid a{min-height:60px;padding:5px 3px;gap:4px;font-size:11px}.tool-symbol{width:30px;height:30px;border-radius:9px}.tool-symbol svg{width:19px;height:19px}#toggleTopTools{min-height:28px;width:28px}
#app>.heading{margin:10px 0;gap:10px;min-height:30px;align-items:center}#app>.heading h1{font-size:18px;line-height:1.3;margin:0;letter-spacing:-.3px}#app>.heading p{font-size:11px;margin:3px 0 0;line-height:1.4}.heading .inline-actions:empty{display:none}.sectionhead{margin:14px 0 8px}.sectionhead h2,.sectionhead h3{font-size:15px;margin:0}
.stats{gap:10px;margin:10px 0}.stats .card,.stats .stat{padding:10px 12px!important;min-height:0!important;border-radius:8px}.stats .stat small{font-size:11px!important;line-height:1.3}.stats .stat strong,.stats strong{font-size:22px!important;line-height:1.25!important;margin:5px 0!important}.stats .stat em{font-size:10px;line-height:1.3;margin:0}
.account-totals{padding:8px 12px!important;border-radius:8px;margin-bottom:10px}.account-totals .account-total-values{gap:12px;margin:2px 0;padding:2px 0}.account-totals .account-total-values>div{padding:2px 0!important}.account-total-values strong{font-size:22px!important;line-height:1.25}.account-total-values small{font-size:11px;line-height:1.3}.account-totals>small{font-size:10px}.tabs{margin:8px 0 10px}.tabs button{padding:9px 6px;font-size:13px}.own-balance-card{padding:10px 12px;margin:10px 0}.own-balance-card strong{font-size:24px!important;line-height:1.3}.own-balance-card small{font-size:11px}.own-ledger-header{padding-bottom:9px}.own-ledger-header h2{font-size:17px}.home-overview{margin-top:12px}.home-overview-title{padding:12px 14px}.home-overview-title h1{font-size:17px;margin-top:3px}.home-cash{padding:12px 14px;margin:0 12px;gap:3px}.home-cash strong{font-size:27px;line-height:1.3}.home-account-pair{padding:12px;gap:10px}
#modal .modal-close-bar{min-height:44px!important}#modal .sheet-head,#modal .simple-head,#modal .own-entry-head{padding:3px 0 10px!important}#modal .sheet-head h2,#modal .simple-head h2,#modal .own-entry-head h2{font-size:18px!important;margin:0!important}
#pageAddDock{position:fixed;left:246px;bottom:20px;z-index:21;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 410px);flex-wrap:wrap}#pageAddDock[hidden]{display:none!important}#pageAddDock button{min-height:44px;border-radius:24px;padding:10px 16px;border:1px solid #ef5928;background:#f45b28;color:#fff;font-size:12px;font-weight:650;box-shadow:0 4px 14px #18233226;white-space:nowrap}#pageAddDock button.red{background:#b83c34;border-color:#b83c34}#pageAddDock button.green{background:#18794e;border-color:#18794e}body.has-page-add-actions main{padding-bottom:96px}body:has(#modal[open]) #pageAddDock{display:none!important}
@media(max-width:650px){#pageAddDock{left:12px;bottom:80px;gap:6px;max-width:calc(100vw - 142px)}#pageAddDock button{font-size:11px;padding:9px 12px;min-height:42px}body.has-page-add-actions main{padding-bottom:156px}#app>.heading h1{font-size:17px}.stats .stat strong,.account-total-values strong{font-size:20px!important}.stats{gap:7px}.stats .card{padding:9px 10px!important}.shell-business strong{font-size:15px}.home-cash strong{font-size:25px}}
body[data-theme=dark] #pageAddDock button{color:#fff!important;background:#b84720!important;border-color:#ed8a5b!important}body[data-theme=dark] #pageAddDock .red{background:#a53531!important}body[data-theme=dark] #pageAddDock .green{background:#176743!important}
}
@media print{#pageAddDock{display:none!important}}
@media screen{.account-totals{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px}.account-totals>button{grid-column:2;grid-row:1;min-height:32px!important;padding:3px 5px!important;font-size:10px}.account-totals>small{grid-column:1;grid-row:1}.account-totals .account-total-values{grid-column:1/-1;grid-row:2;width:100%;margin:0!important;padding:0!important}.account-totals .account-total-values>div{min-height:0!important}.account-totals .account-total-values strong{margin:0!important}.account-totals .account-total-values small{margin-top:2px!important}}
/* One typeface across every module, form, amount and control. */
:root{--app-font:'DM Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
body,body *{font-family:var(--app-font)!important}
/* Account columns use the same regular emphasis as other record lists. */
@media screen{#records .party-list-title b,#records .party-list-title .link,#records .balance-amount strong{font-weight:400!important;font-size:14px!important;letter-spacing:normal!important}}
.reminder-image-button{margin:8px 0 14px;padding:9px 14px;font-size:13px;border-radius:9px;width:auto}
/* Compact customer action and circular logo frames throughout the workspace. */
.wa-reminder,.customer-whatsapp.wa-reminder{display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:52px!important;min-width:44px;padding:5px!important;border:0!important;background:transparent!important;color:#168449!important;text-decoration:none;font-size:11px!important;line-height:1.2}
.wa-reminder svg{width:25px;height:25px}.wa-reminder small{font-size:10px;font-weight:400}
.brand-icon,.profile-logo img,.document-logo,.document-business img,.business-logo,.bank-logo,.bank-logo img,.party-avatar,.party-avatar img,.designed-card img,.business img,img[alt="Business logo"]{border-radius:50%!important;object-fit:contain;overflow:hidden}
.studio-thumb.layout-1 b{left:8%!important;width:35%!important}.studio-thumb.layout-1 em{left:58%!important;width:32%!important;top:25%!important}.studio-thumb.layout-2 b{left:30%!important;width:40%!important}.studio-thumb.layout-3 b{top:12%!important;left:8%!important}.studio-thumb.layout-3 em{left:58%!important;width:32%!important;top:40%!important}.studio-thumb.layout-4 b{top:40%!important;width:85%!important}

.studio-real-thumb{width:100%;height:112px;object-fit:contain;background:#f1f3f5;display:block;margin-bottom:6px;border-radius:4px}.designed-card:has(.business-card-preview){display:block;padding:0;background:none;border:0;max-width:740px}.designed-card img.business-card-preview{width:100%;height:auto;display:block;border-radius:0!important}.card-mark{border-radius:50%!important;overflow:hidden}

#reminderPopup{position:fixed!important;inset:auto 0 0!important;margin:0 auto!important;width:min(100%,480px)!important;max-width:480px!important;height:auto!important;max-height:90dvh!important;padding:18px!important;border:1px solid var(--line,#ddd)!important;border-radius:20px 20px 0 0!important;background:var(--panel,#fff);color:var(--text,#24313d);overflow:auto;box-shadow:0 -12px 50px #0003}#reminderPopup::backdrop{background:#0007}#reminderPopup header{display:flex;justify-content:space-between;align-items:center;padding:0;margin:0 0 12px;background:transparent}#reminderPopup h2{font-size:17px;margin:0}#reminderPopup header button{font-size:24px;border:0;background:transparent;color:inherit;min-width:44px;min-height:44px}#reminderPreview img{display:block;width:100%;height:auto;max-height:55dvh;object-fit:contain;border-radius:8px}#reminderPopup p{font-size:12px;line-height:1.5;margin:8px 0}#reminderShareButton{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;background:#168449;color:#fff;border:0;border-radius:10px}#reminderShareButton:disabled{opacity:.5}

.entry-detail-view{max-width:640px;margin:auto}.entry-detail-view h2{font-size:18px;margin:0 0 12px}.entry-detail-amount{font-size:32px;font-weight:600;margin:12px 0 20px}.entry-detail-view dl{margin:0}.entry-detail-view dl>div{display:grid;grid-template-columns:90px 1fr;gap:16px;padding:11px 0;border-bottom:1px solid var(--line,#ddd)}.entry-detail-view dt{font-size:13px;opacity:.65}.entry-detail-view dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px}.entry-detail-actions{display:flex;gap:12px;margin-top:24px}.entry-detail-actions button{flex:1;padding:11px}
.card-workspace{max-width:780px;margin:0 auto}.card-workspace h2{font-size:20px;margin:12px 0}.card-workspace #cardMainPreview{background:var(--panel,#f2f2f2);padding:12px;border-radius:14px;min-height:180px;display:flex;justify-content:center}.card-workspace #cardMainPreview img{width:100%;height:auto;max-height:450px;object-fit:contain;border-radius:8px!important}.card-controls{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px}.card-controls strong{font-size:14px;min-width:170px;text-align:center}.card-controls button{font-size:24px;padding:3px 15px}.card-gallery{margin-bottom:18px}.card-gallery summary{cursor:pointer;padding:10px;border-bottom:1px solid var(--line,#ddd)}#cardGalleryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0}#cardGalleryGrid button{padding:5px;min-width:0;font-size:10px}#cardGalleryGrid img{width:100%;height:82px;object-fit:contain;border-radius:4px}#cardGalleryGrid button.selected{outline:2px solid #fb542b}.card-logo-editor{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0}.card-logo-editor img{width:72px;height:72px;border-radius:50%;object-fit:contain}.card-share-actions{display:flex;gap:12px;margin-top:20px}.card-share-actions button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;padding:12px}.card-share-actions button:first-child{background:#168449;color:white}.card-share-caption{font-size:11px;opacity:.7}.card-workspace .formgrid{gap:10px}.card-workspace .field input{padding:9px;font-size:14px}

.current-document-preview{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;object-fit:contain}#cardMainPreview img{object-fit:contain;width:100%;height:auto;display:block}.studio-thumb:empty{background:var(--studio-pale);height:85px;display:block}

/* Keep action colours unambiguous under both themes. */
.own-ledger .ledger-actions button.green{background:#15803d;color:#fff;border-color:#15803d}.own-ledger .ledger-actions button.red{background:#c62828;color:#fff;border-color:#c62828}
.card-controls strong{min-width:0;flex:1;overflow-wrap:anywhere}.card-controls button{flex-shrink:0}

/* Circular bank marks on lists, ledgers, pickers and entry headers. */
.bank-logo-frame{border-radius:50%!important;aspect-ratio:1;overflow:hidden!important;flex-shrink:0;padding:6px;background:#fff!important;border:1px solid #dce3e8;box-shadow:0 2px 6px #15253308}
.bank-logo-frame img,.bank-logo-fallback{border-radius:50%!important;object-fit:contain;overflow:hidden}
.k-icon{flex-shrink:0;vertical-align:middle}.header-parcel-pro .k-icon{width:17px;height:17px}.header-parcel-pro{display:inline-flex;align-items:center;gap:5px}
#topToolsGrid a>span:last-child{white-space:normal;line-height:1.3;text-align:center}.card-controls .k-icon{width:20px;height:20px}
