/* Shared application surfaces; customer document layouts remain independent. */
:root{--ink:#15384a;--muted:#526f80;--accent:#136c80;--surface:#edf4f6;--surface-raised:#f6fafb;--table-line:#d5e2e8}
body:not(.signed-out){background:#e8f0f3;color:var(--ink)}
body:not(.signed-out)>aside{padding:22px 16px;background:linear-gradient(175deg,#11364b 0%,#0e2c3e 100%);overflow-y:auto}
aside .brand{padding:13px;border-radius:12px;margin-bottom:18px;box-shadow:0 4px 18px #031b2920}.brand-logo{width:132px}
nav{gap:5px}nav .nav-label{padding:18px 12px 7px;font-size:10px;letter-spacing:1.4px;color:#a7c4d2}nav button{min-height:44px;border:0;padding:11px 12px;font-size:13px;border-radius:9px;line-height:1.45}aside nav button.active{border-left:0;box-shadow:inset 3px 0 #4ac5cd;background:#20566b}aside nav button>span{color:#8ebacb;flex-shrink:0}aside nav button.active>span{color:#74d5db}.aside-foot{padding-top:14px;margin-top:24px;border-color:#ffffff20}
body:not(.signed-out)>main{padding:26px 32px}main>header{gap:20px;align-items:center;margin-bottom:22px}main>header h1{font-size:28px;letter-spacing:-.65px;margin-top:7px}.page-subtitle{font-size:13px;line-height:1.6;color:var(--muted)}.header-actions{gap:10px}.header-actions>button{min-height:42px}
#workspace #toolbar{padding:11px 12px;border-radius:12px;background:var(--surface-raised);border-color:#cfdee5;box-shadow:0 2px 8px #163d4e04}#workspace #search{background:#e9f1f5;min-height:42px;color:var(--ink)}#workspace #search::placeholder{color:#617d8d}
#workspace .panel{padding:22px;border-radius:14px;border-color:#d0e0e7;box-shadow:0 4px 16px #15384a04;background:var(--surface)}#workspace .panel-head{margin-bottom:16px;gap:16px}#workspace .panel-head h2{font-size:17px;line-height:1.4}#workspace .muted{color:var(--muted);font-size:13px}
#workspace .card{background:#eff6f8;border-color:#cfdee6;border-radius:12px;padding:20px}#workspace .card.dark{background:#143f56;border-color:#143f56}#workspace .card .label{color:#567587;line-height:1.5}#workspace .card.dark .label{color:#b8d4df}#workspace .card .value{font-size:27px;letter-spacing:-.6px;margin:12px 0 7px}
#workspace .table-wrap{border-color:#cfdfe6;border-radius:10px}#workspace .data-table th{background:#dce9ef;color:#355d72}#workspace .table-sort{padding:12px 14px;min-height:46px;font-size:10px;letter-spacing:.35px}#workspace .data-table td{padding:13px 14px;line-height:1.55;background:transparent}#workspace .data-table tbody tr:nth-child(even){background:#edf4f7}#workspace .data-table tbody tr:hover{background:#e0edf3}#workspace .data-table td .sub{color:#5f7e90;font-size:11px}#workspace .record-link{font-size:13px;line-height:1.5;gap:6px}#workspace .badge{font-size:10px;padding:4px 8px;background:#dfebf1;color:#3d6176}#workspace .badge.warning{background:#fbebd8;color:#8c5a20}#workspace .negative{color:#b63c35}
#workspace .filter-tabs,#workspace .list-filters{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 18px}#workspace .filter-tabs button,#workspace .list-filters button{border:1px solid transparent;padding:8px 13px;border-radius:8px;color:#506f80;background:transparent;min-height:36px}#workspace .filter-tabs button.active,#workspace .list-filters button.active{background:#d6eaf0;color:#155d75;border-color:#bfdbe5;font-weight:600;box-shadow:none}
#workspace .order-hero{border:1px solid #ccdfe7;background:#eff6f8;padding:20px 22px;border-radius:14px;gap:18px}#workspace .order-hero h2{font-size:26px;line-height:1.4;margin:8px 0}#workspace .order-hero p{color:#58798c;line-height:1.6}#workspace .quick-actions{gap:8px}#workspace .quick-actions button{min-height:38px;border-radius:8px}#workspace .tabs{gap:4px;margin:16px 0;border-color:#cbdce5}#workspace .tabs button{padding:12px 15px;color:#54758a}#workspace .tabs button.active{color:#155f77;background:#e0eef3;border-radius:8px 8px 0 0;box-shadow:inset 0 -3px #168298}
#workspace .report-presets{gap:8px}#workspace .report-presets button{border-radius:8px;min-height:38px}#workspace .report-period{background:#edf4f7;border-color:#ccdee7;border-radius:12px}
body>dialog:not(#proforma-editor):not(#soa-editor):not(#delivery-editor){background:#f4f8fa;border-color:#cadce5;border-radius:14px;box-shadow:0 20px 80px #0a2a4030}body>#editor{border-radius:16px 0 0 16px;background:#f4f8fa}#editor .form-footer{background:#f4f8fa}#fields label{color:#42667b}#fields input,#fields select,#fields textarea{background:#fbfdfe;border-color:#c7d9e3}#fields input:focus,#fields select:focus,#fields textarea:focus{outline:2px solid #148397;outline-offset:2px}.dialog-heading button{min-width:36px;min-height:36px;border-radius:8px}.dialog-heading button:hover{background:#e4eef3}button:focus-visible{outline:2px solid #07889a;outline-offset:3px}button.primary{background:#146c80;border-color:#146c80}button.primary:hover{background:#0e5365}
@media(max-width:1100px){body:not(.signed-out)>main{padding:24px}.order-hero .quick-actions{width:100%}.cards{gap:12px}}
@media(max-width:720px){body:not(.signed-out)>aside{padding:14px 16px}aside .brand{width:150px;margin-bottom:12px;padding:8px}.brand-logo{width:110px}nav{display:grid;grid-template-columns:1fr 1fr;gap:5px}nav button{font-size:12px;min-height:40px;padding:9px}nav button>span{display:inline-block;font-size:15px}body:not(.signed-out)>main{padding:20px 14px}main>header{align-items:flex-start;gap:12px;flex-wrap:wrap}main>header .header-actions{width:100%;justify-content:flex-start}main>header h1{font-size:26px}#workspace .panel{padding:16px}#workspace .order-hero{padding:16px}#workspace .cards{gap:9px}#workspace .card{padding:15px}#workspace .card .value{font-size:22px}#workspace .data-table{min-width:640px}#workspace .table-wrap{max-width:100%;overflow-x:auto}#workspace .report-period{flex-wrap:wrap}#workspace .report-period label{flex:1;min-width:130px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:720px){aside nav{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}aside nav button{white-space:normal;min-width:0;overflow-wrap:anywhere;text-align:left}body:not(.signed-out)>aside{overflow-x:hidden}#workspace .quick-actions button{white-space:normal}}

.order-action-area{min-width:280px;display:grid;gap:12px;max-width:540px}.action-group{display:grid;gap:6px}.action-group-label{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:#58788a;font-weight:650}#workspace .order-action-area .quick-actions{justify-content:flex-start;max-width:none}.order-more{margin:0;position:relative}.order-more summary{display:inline-block;font-size:12px;color:#486d81;font-weight:500;padding:6px 0;list-style:none}.order-more summary::after{content:' ▾';padding-left:5px}.order-more[open] summary::after{content:' ▴'}.order-more>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;padding-top:10px;border-top:1px solid #d0dfe6}.order-more .archive-button{margin:0}.picker-context{margin:0;background:#e4f0f5;border-left:3px solid #258b9f;border-radius:6px;padding:12px 14px;color:#25566d;font-size:13px;font-weight:600}.picker-option{background:#eff6f8;border-radius:10px!important;min-height:78px}.picker-option:hover{background:#deedf3;border-color:#a9cbd8}.picker-option small{color:#536f80;line-height:1.5}#workspace .order-hero{align-items:flex-start}#workspace .order-hero>div:first-child{flex:1;min-width:0}#workspace .order-hero .order-action-area{flex:0 1 500px}@media(max-width:1100px){#workspace .order-hero .order-action-area{flex:none;width:100%;max-width:none;grid-template-columns:1fr 1fr}.order-more{grid-column:1/-1}}@media(max-width:620px){#workspace .order-hero .order-action-area{grid-template-columns:1fr;min-width:0}.order-more{grid-column:auto}}
.action-group:has(.quick-actions:empty){display:none}

aside nav{display:block}.nav-group{display:grid;gap:3px;padding:9px 0 13px;border-bottom:1px solid #ffffff18}.nav-group:first-child{padding-top:0}.nav-group:last-child{border-bottom:0;padding-bottom:5px}aside nav .nav-label{display:block;padding:7px 11px 6px;color:#99bbc9;font-size:10px}.account-footer{margin-top:auto;padding-top:16px;border-top:1px solid #ffffff20}.account-footer #account-menu{margin:0}.account-footer summary{display:flex;align-items:center;gap:9px;padding:11px 9px;background:#ffffff08;border:1px solid #ffffff15;border-radius:10px;list-style:none;cursor:pointer}.account-footer summary::-webkit-details-marker{display:none}.account-avatar{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;background:#256277;border-radius:9px;color:#c7eff4;font-weight:700}.account-label{display:grid;gap:3px;flex:1;min-width:0}.account-label strong{font-size:11px;color:#eef6fa;overflow-wrap:anywhere;font-weight:550;line-height:1.4}.account-label #identity{font-size:10px;color:#a6c5d3}.account-chevron{color:#9bbbc8}.account-options{display:grid;gap:4px;padding:7px 0 0}.account-footer .account-options button{width:100%;text-align:left;margin:0;border:0;background:#ffffff08;border-radius:7px;padding:10px 12px;font-size:12px;color:#e3eef3}.account-footer .account-options button:hover{background:#285366}.account-footer #logout{color:#f1c4bc}#account-details{width:min(500px,92vw)}#account-details dd{margin:6px 0;overflow-wrap:anywhere}aside .brand{margin-bottom:16px}aside nav button{min-height:40px;padding:10px 11px}.nav-group:has(button[hidden]):not(:has(button:not([hidden]))){display:none}@media(max-width:720px){aside nav{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nav-group{display:grid;align-content:start;border-bottom:0;padding:0;gap:4px}aside nav .nav-label{display:block;font-size:9px;padding:4px 8px;letter-spacing:.6px}aside .account-footer{display:block;margin-top:14px;padding-top:12px}.account-label strong{font-size:12px}.account-options{grid-template-columns:1fr 1fr}.account-footer summary{padding:8px 10px}}
.account-footer #account-menu{position:relative}.account-footer .account-options{position:absolute;left:0;right:0;bottom:calc(100% + 8px);z-index:30;display:grid;gap:4px;padding:7px;background:#173e52;border:1px solid #3c6173;border-radius:10px;box-shadow:0 10px 28px #031b2940}.account-footer #account-menu:not([open]) .account-options{display:none}.account-footer .account-options button{background:transparent}.account-footer #account-menu[open] summary{background:#245568;border-color:#4b7b8f}aside .nav-group{padding-bottom:9px;padding-top:7px}aside nav .nav-label{text-transform:uppercase;font-size:9px;letter-spacing:1px}@media(max-width:720px){.account-footer .account-options{grid-template-columns:1fr 1fr}aside .nav-group{padding:0}}

#nav-toggle{display:none}#workspace .data-table td{font-size:13px}#workspace .table-sort{font-size:11px}
@media(max-width:720px){body:not(.signed-out)>aside{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;position:sticky;top:0;z-index:40}aside .brand{margin:0;width:90px;padding:3px;order:0}aside .brand-logo{width:75px}#nav-toggle{display:block;order:1;margin-left:auto;border:1px solid #547484;background:#17465a;color:#fff;min-height:44px;padding:10px;border-radius:8px}body:not(.nav-open) aside #main-nav,body:not(.nav-open) aside .account-footer{display:none}aside #main-nav{order:2;width:100%}aside .account-footer{order:3;width:100%}.nav-open aside{max-height:85vh;overflow-y:auto}}

.management-bars{display:grid;gap:12px}.management-bar{display:grid!important;grid-template-columns:minmax(110px,1fr) minmax(70px,2fr) minmax(100px,1fr);gap:12px;align-items:center;width:100%;text-align:left}.management-track{height:9px;background:rgba(90,130,150,.14);border-radius:5px;overflow:hidden}.management-track>span{display:block;height:100%;background:#1885a8}.management-track .loss{background:#b9535b}@media(max-width:600px){.management-bar{grid-template-columns:minmax(0,1fr) 100px}.management-bar .management-track{grid-column:1/-1;grid-row:2}}
/* Clear surfaces and an action-first dashboard. */
body:not(.signed-out){background:#f5f7fa}.panel,.card{background:#fff;border-color:#dee6ec;box-shadow:0 3px 14px #12384a04}.card.dark{background:#123d58}.muted,.card small,.sub,.card .label{color:#536d7e}.card small,.sub{font-size:13px;line-height:1.6}.table-wrap{background:#fff}.data-table th{background:#eef3f6}.data-table tbody tr:nth-child(even){background:#f8fafb}.data-table tbody tr:hover{background:#edf6f8}.attention-section{margin:0 0 26px}.attention-section h2,.section-title{font-size:18px;margin:0 0 14px}.attention-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.attention-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;padding:22px;border-radius:10px;background:#fff;border-color:#dae4ea;min-width:0}.attention-card strong{font-size:27px;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.attention-card span{font-size:14px}.attention-card small{font-size:13px;color:#536d7e}.attention-card.urgent{background:#fff8ec;border-color:#e8c987;border-left:4px solid #c78b27}.attention-card.urgent strong,.overdue-balance strong{color:#8a550e}.attention-card:hover{box-shadow:0 5px 18px #14364712;background:#f0f8fa}.attention-card.urgent:hover{background:#fff0d5}.period-picker{margin:16px 0;display:flex;align-items:center;gap:12px}.period-picker label{display:flex;align-items:center;gap:14px}.period-picker select{min-width:180px;min-height:44px}.report-custom{margin-bottom:24px}.summary-period{color:#536d7e}.record-link:focus-visible{outline:2px solid #087e8b;outline-offset:3px}#notice:not(:empty){background:#fff9ee;border-radius:7px;color:#795b2b}#notice button{background:#fff}.section-title{margin-top:28px}.summary-balances{margin:20px 0 24px}.report-summary>.attention-section{margin-top:24px}
@media(max-width:900px){.attention-grid{grid-template-columns:1fr 1fr}.attention-card.urgent{grid-column:1/-1}}@media(max-width:600px){.attention-grid{grid-template-columns:1fr}.attention-card.urgent{grid-column:auto}.attention-card{padding:18px}.attention-card strong{font-size:25px}.period-picker label{width:100%;justify-content:space-between}.period-picker select{min-width:0;flex:1}.summary-balances{gap:22px}}

/* Compact navigation: consistent rows, contained scrolling, readable account. */
@media(min-width:721px){
 body:not(.signed-out)>aside{width:248px;padding:18px 14px 14px;overflow:visible;gap:0}
 body:not(.signed-out)>main{margin-left:248px;width:calc(100% - 248px)}
 aside .brand{width:100%;padding:10px;background:#fff;border-radius:10px;margin:0 0 18px;flex-shrink:0}
 aside .brand-logo{width:100px;height:86px;object-fit:contain}
 aside #main-nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#527588 transparent;padding-right:2px}
 aside .nav-group{padding:10px 0;border-bottom:1px solid #ffffff12;gap:4px}
 aside .nav-group:first-child{padding-top:0}
 aside nav .nav-label{padding:4px 12px 8px;font-size:10px;letter-spacing:.9px;color:#a9c8d6}
 aside nav button{display:flex;align-items:center;gap:11px;width:100%;min-height:44px;padding:11px 12px;line-height:1.4;font-size:13px;white-space:nowrap;border-radius:8px;color:#deebf1;box-shadow:none}
 aside nav button>span{display:inline-grid;place-items:center;width:20px;font-size:17px;color:#91b6c7;flex-shrink:0}
 aside nav button.active{background:#20576a;box-shadow:inset 3px 0 #56d0d3;font-weight:650;color:#fff}
 aside nav button:hover{background:#1b4559}
 aside nav button:focus-visible{outline:2px solid #74d5db;outline-offset:-2px}
 aside .account-footer{flex-shrink:0;margin-top:12px;padding-top:12px;border-top:1px solid #ffffff18}
 .account-footer summary{padding:11px 10px;gap:9px}
 .account-label strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
 .account-label #identity{font-size:11px;line-height:1.4}
}
@media(min-width:721px) and (max-height:740px){aside .brand-logo{width:80px;height:68px}aside .brand{margin-bottom:10px}aside .nav-group{padding:6px 0}aside nav button{min-height:40px;padding:9px 12px}}
@media(max-width:720px){aside nav button{display:flex;align-items:center;gap:9px;min-height:44px;line-height:1.4}aside nav button>span{width:18px;flex-shrink:0}.account-label strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}}

.project-controls{display:flex;flex-wrap:wrap;gap:12px}.project-controls label{flex:1 1 180px;min-width:0}.project-order-links{display:flex;flex-wrap:wrap;gap:8px}.project-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.data-table td details p{overflow-wrap:anywhere}.data-table td small{display:block;margin-top:6px}

.pf-dashboard-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.pf-kpis{margin:18px 0}.pf-kpis .card strong{display:block;font-size:clamp(22px,3vw,32px);margin-top:10px}.pf-net{background:#123f55;color:white}.pf-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pf-caption{color:#527487;font-size:13px;line-height:1.6}.pf-project-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.pf-project-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;text-align:left}.pf-project-card strong{font-size:16px}.pf-month{display:grid;grid-template-columns:75px 1fr 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #d2e3ea}.pf-month span{display:block;font-size:12px}.pf-month meter{width:100%;height:16px}.pf-source-details>summary{font-weight:600;cursor:pointer;padding:8px 0}.pf-source-details>.panel{margin-top:20px}@media(max-width:800px){.pf-dashboard-grid{grid-template-columns:1fr}.pf-month{grid-template-columns:65px 1fr 1fr}.pf-kpis{grid-template-columns:1fr!important}.pf-dashboard-head .project-controls{width:100%}}
/* Finance dashboard: override the shared four-column KPI layout locally. */
#workspace .pf-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%;margin:20px 0}
#workspace .pf-kpis>.card{min-width:0;padding:20px;overflow-wrap:anywhere}
#workspace .pf-kpis>.card>span{display:block;line-height:1.5;min-height:42px;color:#527487}
#workspace .pf-kpis>.card>strong{display:block;margin-top:8px;font-size:clamp(22px,2.3vw,30px);line-height:1.25;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
#workspace .pf-kpis>.card.pf-net{background:#123f55;border-color:#123f55;color:#fff}
#workspace .pf-kpis>.card.pf-net>span{color:#c3dee8}
#workspace .pf-kpis>.card.pf-net>strong{color:#fff}
#workspace .pf-dashboard-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:start;gap:20px}
#workspace .pf-dashboard-head>.project-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;width:100%}
#workspace .pf-dashboard-head select{width:100%;min-width:0}
#workspace .pf-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#workspace .pf-month>div{min-width:0}
@media(max-width:1000px){#workspace .pf-dashboard-head{grid-template-columns:1fr}#workspace .pf-dashboard-head>.project-controls{max-width:440px}#workspace .pf-kpis>.card{padding:16px}#workspace .pf-kpis>.card>strong{font-size:24px}}
@media(max-width:800px){#workspace .pf-kpis{grid-template-columns:1fr;gap:12px}#workspace .pf-kpis>.card>span{min-height:0}#workspace .pf-kpis>.card>strong{font-size:28px}#workspace .pf-dashboard-grid{grid-template-columns:1fr}}
.pf-section-head{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.pf-section-head h2{margin-right:auto}.pf-section-head label{font-size:12px;display:grid;gap:6px}.pf-section-head select{max-width:190px}.pf-dashboard-grid .project-pagination{margin-top:16px;font-size:12px}.pf-dashboard-grid .pf-project-card{padding:12px;gap:5px}.pf-dashboard-grid .pf-project-cards{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:420px){.pf-dashboard-grid .pf-project-cards{grid-template-columns:1fr}}
.pf-ship-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.pf-ship-options button{padding:20px 16px;min-height:64px;text-align:left;font-size:16px;font-weight:600}.pf-ship-options button[aria-pressed="true"]{background:#123f55;color:white;border-color:#123f55}.pf-ship-options button:focus-visible{outline:3px solid #32b8c2;outline-offset:3px}

.pf-month button{border:0;background:transparent;color:#126980;padding:0;min-height:28px;font-size:12px;text-align:left;text-decoration:underline;cursor:pointer}.pf-ledger-dialog{width:min(950px,94vw);max-height:85vh;overflow:auto;border:1px solid #c5dbe5;border-radius:14px;padding:24px;color:#153d50;background:#f7fbfd}.pf-ledger-dialog::backdrop{background:#102f4666}.pf-ledger-dialog .table-wrap{overflow:auto}

#workspace .pf-cash-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),320px));gap:16px} .pf-ship-options button{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.pf-ship-options small{font-size:11px;color:#607e91}

.pf-dashboard-grid{align-items:start}.pf-dashboard-grid .pf-project-card[hidden]{display:none}

.review-question{font-weight:600;line-height:1.45}.review-answer{background:#edf6f5;padding:10px;border-radius:8px}.pf-ledger-dialog form{display:grid;gap:14px}.pf-ledger-dialog form label{display:grid;gap:6px}.pf-ledger-dialog textarea{width:100%;box-sizing:border-box}.review-comparison{padding:12px;background:#eaf2f7;border-radius:8px}
@media(max-width:600px){.cw-queues{display:flex;flex-wrap:wrap}#content .review-question{min-width:180px}.pf-ledger-dialog{padding:16px}.cw-payment-detail td{white-space:normal}.data-table td:has([data-answer]){min-width:210px}}

@media(max-width:600px){#content .cw-review-table{display:block;min-width:0!important;width:100%}#content .cw-review-table thead{display:none}#content .cw-review-table tbody{display:block}#content .cw-review-table tr{display:block;border:1px solid #c9dce6;border-radius:10px;margin-bottom:14px;padding:10px;background:#f7fbfd}#content .cw-review-table td{display:block;min-width:0!important;width:auto!important;white-space:normal;word-break:normal;border:0;padding:8px!important}#content .cw-review-table td:nth-child(3)::before{content:"Kaynak tutar: ";font-weight:600}#content .cw-review-table td:nth-child(4)::before{content:"İş sahibi / hesap: ";font-weight:600}#content .cw-review-table td:nth-child(5)::before{content:"Gereken karar: ";font-weight:600}}

#workspace .pf-cash-cards>.card>span{display:block;line-height:1.5}
#workspace .pf-cash-cards>.card>span+strong{display:block;margin-top:8px;font-size:24px;line-height:1.25;font-variant-numeric:tabular-nums}

/* Commercial cloud revision: summary first, accessible control hierarchy */
.commercial-cash-dashboard{display:grid;gap:18px}.commercial-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.commercial-kpis .card{padding:22px;border:1px solid #cbdde8;border-top:3px solid #287d9b;background:#fff;border-radius:12px;display:flex;flex-direction:column;gap:10px}.commercial-kpis strong{font-size:clamp(20px,2.2vw,30px);font-variant-numeric:tabular-nums;color:#113b53}.commercial-kpis small,.commercial-kpis span{color:#526c7d}.commercial-control{border-left:4px solid #c99b49}.commercial-control>.panel{border:none;box-shadow:none;margin:0;padding:14px 0}.commercial-breakdown summary{cursor:pointer;font-weight:650;padding:8px 0}.daily-manual-entry{display:block;padding:22px;border:1px solid #b8d1df;background:#f6fafc;border-radius:12px;margin-top:20px}.daily-manual-entry h3{margin:0 0 16px}.commercial-cash-dashboard details>summary:focus-visible{outline:3px solid #167ca5;outline-offset:4px}@media(max-width:760px){.commercial-kpis{grid-template-columns:1fr}.commercial-kpis .card{padding:18px}}

.project-registration-form{display:grid;gap:18px}.project-registration-form label{display:grid;gap:7px}.project-registration-form input{width:100%;box-sizing:border-box}.project-registration-form button{min-height:42px}dialog:has(.project-registration-form){width:min(92vw,640px);box-sizing:border-box;padding:28px;border:1px solid #b9d1df;border-radius:14px;max-height:90vh;overflow:auto}dialog:has(.project-registration-form)::backdrop{background:rgba(12,39,56,.38)}

.cash-card-actions{display:grid;gap:8px;margin:12px 0}.cash-card-actions button{display:flex;justify-content:space-between;gap:8px;text-align:left}.cash-currency-picker{display:flex;align-items:center;gap:12px;margin-bottom:12px}.cash-currency-picker select{max-width:150px}.cash-summary .value{font-size:26px}

.pf-project-category{margin-top:24px}.pf-project-card{border:1px solid var(--line,#c8dbea);border-radius:8px;overflow:hidden;background:white}.pf-project-card>button{border:0;width:100%;min-height:92px;text-align:left}.pf-category-editor{padding:8px 12px;border-top:1px solid #d8e5ef}.pf-category-editor summary{cursor:pointer;font-size:12px}.pf-category-editor form{display:grid;gap:8px;padding-top:10px}.pf-category-editor label{display:grid;gap:5px}.pf-category-editor select{width:100%;max-width:100%}.pf-category-editor p:empty{display:none}

.pf-category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.pf-category-tabs [aria-selected="true"]{background:#145e7c;color:white;border-color:#145e7c}.pf-category-tabs button:focus-visible{outline:3px solid #00a4bd;outline-offset:3px}.pf-type-label{color:#145e7c;font-weight:600;margin-top:6px}

/* Scoped sales-register presentation; accounting and other views are unchanged. */
body.orders-register-view #new-record{display:none!important}
body.orders-register-view #page-subtitle{max-width:740px;color:#62768b}
body.orders-register-view #toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:12px}
body.orders-register-view #list-filters{margin:0 0 12px}
body.orders-register-view .orders-filter-control{display:inline-flex;align-items:center;gap:12px;font-size:12px;color:#62768b}
body.orders-register-view .orders-filter-control select{min-width:200px;background:#fff}
body.orders-register-view #workspace-context-links.orders-context-menu{display:flex;justify-content:flex-end;overflow:visible;margin:0 0 12px;background:transparent;border:0}
body.orders-register-view .orders-context-menu details{position:relative}
body.orders-register-view .orders-context-menu summary{cursor:pointer;list-style:none;padding:9px 14px;border:1px solid #dce5ec;border-radius:8px;background:#fff;color:#365b75;font-size:13px}
body.orders-register-view .orders-context-menu summary::after{content:' ▾'}
body.orders-register-view .orders-context-options{position:absolute;right:0;top:calc(100% + 6px);z-index:12;width:270px;padding:6px;background:#fff;border:1px solid #dce5ec;border-radius:10px;box-shadow:0 10px 30px #12334a20;display:grid;gap:2px}
body.orders-register-view .orders-context-options button{width:100%;text-align:left;border:0;background:transparent;padding:10px 12px;color:#264b64;border-radius:6px;white-space:normal}
body.orders-register-view .orders-context-options button:hover{background:#f0f6fa}
body.orders-register-view .orders-register{padding:0;overflow:hidden;border:1px solid #dce5ec;border-radius:12px;background:#fff;box-shadow:0 2px 6px #16395105}
body.orders-register-view .orders-list-meta{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;gap:12px;border-bottom:1px solid #e5ebf0}
body.orders-register-view .orders-list-meta strong{font-size:14px;color:#183f59}
body.orders-register-view .orders-list-meta span{font-size:12px;color:#708194;font-variant-numeric:tabular-nums}
body.orders-register-view .orders-register .table-wrap{margin:0;overflow-x:auto}
body.orders-register-view .orders-register-table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse;font-size:12px}
body.orders-register-view .orders-register-table th{background:#f8fafc;color:#667b8d;border:0;border-bottom:1px solid #e5ebf0;padding:12px 14px;font-size:11px;font-weight:600;vertical-align:middle}
body.orders-register-view .orders-register-table th:nth-child(1){width:11%}
body.orders-register-view .orders-register-table th:nth-child(2){width:18%}
body.orders-register-view .orders-register-table th:nth-child(3){width:31%}
body.orders-register-view .orders-register-table th:nth-child(4),body.orders-register-view .orders-register-table th:nth-child(5){width:13%}
body.orders-register-view .orders-register-table th:nth-child(6){width:14%}
body.orders-register-view .orders-register-table th button{background:transparent;border:0;border-radius:4px;padding:0;width:100%;font-size:inherit;font-weight:inherit;color:inherit;text-align:inherit;white-space:normal;min-width:0;display:inline}
body.orders-register-view .orders-register-table tr,body.orders-register-view .orders-register-table tbody tr:nth-child(even){background:#fff}
body.orders-register-view .orders-register-table tbody tr:hover{background:#f8fbfd}
body.orders-register-view .orders-register-table td{padding:13px 14px;border:0;border-bottom:1px solid #edf1f5;vertical-align:middle;color:#274b65;overflow-wrap:anywhere}
body.orders-register-view .orders-register-table td:first-child{font-size:11px;white-space:nowrap;color:#6d8192}
body.orders-register-view .orders-register-table .record-link{padding:0;border:0;background:transparent;font-weight:600;white-space:nowrap;color:#12618a}
body.orders-register-view .orders-register-table .sub{margin-top:5px;color:#7b8e9e;font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.orders-register-view .orders-register-table td:nth-child(3)>strong{display:block;color:#234c68;font-size:12px;line-height:1.4}
body.orders-register-view .orders-register-table .numeric-column,body.orders-register-view .orders-register-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
body.orders-register-view .orders-register-table .badge{font-size:10px;line-height:1.35;padding:4px 6px;border-radius:5px;white-space:normal;max-width:100%;overflow-wrap:normal;display:inline-block}
body.orders-register-view .orders-list-pagination{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:12px;color:#708194;font-size:12px}
body.orders-register-view .orders-list-pagination>div{display:flex;gap:8px}
body.orders-register-view .orders-list-pagination button{padding:7px 12px;font-size:12px;background:#fff;border:1px solid #dce5ec;border-radius:6px}
body.orders-register-view button:focus-visible,body.orders-register-view summary:focus-visible{outline:2px solid #1386ae;outline-offset:3px}
@media(max-width:760px){body.orders-register-view .orders-register-table{min-width:660px!important}body.orders-register-view .orders-list-meta,body.orders-register-view .orders-list-pagination{padding:14px}body.orders-register-view .orders-context-options{max-width:calc(100vw - 48px)}}

body.orders-register-view #workspace-context-links[hidden]{display:none!important}

body.orders-register-view #list-filters{float:left;width:calc(100% - 150px);min-height:44px;margin:0 0 12px}
body.orders-register-view #workspace-context-links.orders-context-menu{height:44px;align-items:center;padding:0;min-height:0;margin:0 0 12px}
body.orders-register-view #content{clear:both}
@media(max-width:600px){body.orders-register-view #list-filters{width:100%;float:none;margin-bottom:8px}body.orders-register-view #workspace-context-links.orders-context-menu{height:38px;margin-bottom:10px}}

body.orders-register-view .orders-context-menu details{margin:0;padding:0;min-height:0;border:0;background:transparent}
body.orders-register-view .orders-context-menu summary{margin:0;min-height:0;line-height:1.3}

/* Separate business opening date from the verified audit movement timestamp. */
body.orders-register-view .orders-register-table{min-width:800px!important}
body.orders-register-view .orders-register-table th:nth-child(1){width:11%}
body.orders-register-view .orders-register-table th:nth-child(2){width:15%;min-width:120px}
body.orders-register-view .orders-register-table th:nth-child(3){width:16%}
body.orders-register-view .orders-register-table th:nth-child(4){width:22%}
body.orders-register-view .orders-register-table th:nth-child(5),body.orders-register-view .orders-register-table th:nth-child(6){width:12%}
body.orders-register-view .orders-register-table th:nth-child(7){width:12%}
body.orders-register-view .orders-register-table th,body.orders-register-view .orders-register-table td{padding-left:10px;padding-right:10px}
body.orders-register-view .orders-register-table td:first-child{white-space:normal}
body.orders-register-view .orders-register-table td:nth-child(4)>strong{display:block;color:#234c68;font-size:12px;line-height:1.4}
body.orders-register-view .order-activity-time{display:block;margin-top:4px;color:#62768b;font-size:11px}

body.orders-register-view .orders-filter-control select{min-width:0;width:170px;max-width:100%;height:38px;min-height:38px;padding:8px 32px 8px 12px;font-size:13px;line-height:1.3;border:1px solid #dce5ec;border-radius:8px;background:#fff;color:#365b75}
body.orders-register-view .orders-filter-control{min-height:38px}
body.orders-register-view #list-filters{min-height:38px}
body.orders-register-view #workspace-context-links.orders-context-menu{height:38px}

body.orders-register-view .orders-register-table .order-customer-link{display:block;margin-top:5px;padding:0;border:0;background:transparent;color:#52758a;font-size:13px;font-weight:400;line-height:1.3;text-align:left;white-space:normal;cursor:pointer}
body.orders-register-view .orders-register-table .order-customer-link:hover{text-decoration:underline;color:#12618a}

.overdue-summary-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%;text-align:start;padding:20px;background:#fff8ec;border:1px solid #e8c987;border-inline-start:4px solid #c78b27;border-radius:10px;color:#183749;white-space:normal}.overdue-summary-card .value{font-size:30px;color:#8a550e;font-variant-numeric:tabular-nums}.overdue-summary-action{font-weight:700;color:#006b84}.overdue-summary-card:hover{background:#fff0d5}.overdue-summary-card:focus-visible{outline:3px solid #087e8b;outline-offset:3px}#cw-overdue-details{margin-top:20px;min-width:0}#cw-overdue-details .table-wrap{max-width:100%;overflow:auto}#cw-overdue-details td,#cw-overdue-details th{white-space:nowrap}.overdue-summary-panel{min-width:0}.overdue-summary-panel[hidden],#cw-overdue-details[hidden]{display:none}@media(max-width:600px){.overdue-summary-card{padding:16px}.overdue-summary-card .value{font-size:26px}}

