:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#233a32;background:#f4f6f1;font-synthesis:none;--green:#234f40;--accent:#b2d467;--muted:#79867e;--border:#e3e9e0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:background .15s;border:1px solid var(--border);border-radius:8px;background:white;color:var(--green);padding:9px 13px;font-size:13px;font-weight:550}button:hover{background:#eef3e6}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b2d467;outline-offset:2px}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#16382c}button+button{margin-left:5px}.text-button{border:0;background:transparent;padding:4px;color:#678747}#app{display:flex;min-height:100vh}aside{width:238px;background:#173b2f;color:#c1d1c6;position:fixed;inset:0 auto 0 0;padding:34px 18px;display:flex;flex-direction:column}.logo{font-size:29px;letter-spacing:-1.4px;font-weight:650;color:#f6fbef;padding:0 15px}.logo span{color:#c6d5b8;font-weight:350}.logo .leaf{margin-left:7px;color:#b2d467;font-size:29px}.brand-sub{font-size:9px;letter-spacing:2px;margin:8px 15px 36px;color:#839c8d}nav{display:grid;gap:7px}.nav{display:flex;align-items:center;gap:13px;border:0;background:transparent;color:#becfc4;padding:14px 16px;text-align:left}.nav span{font-size:19px;width:21px}.nav b{margin-left:auto;background:#3a5947;border-radius:5px;padding:2px 7px;font-size:11px}.nav:hover{background:#254738}.nav.active{background:#cee3a6;color:#173b2f}.nav-more{margin-top:2px}.nav-more summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:13px;color:#becfc4;padding:14px 16px;border-radius:8px;font-size:14px;font-weight:550}.nav-more summary::-webkit-details-marker{display:none}.nav-more summary::before{content:'⋯';font-size:19px;width:21px;text-align:center}.nav-more summary b{margin-left:auto;background:#3a5947;border-radius:5px;padding:2px 7px;font-size:11px;font-weight:600}.nav-more summary:hover{background:#254738}.nav-more[open] summary{color:#f6fbef}.nav-more-list{display:grid;gap:7px;margin-top:4px}.sidebar-foot{margin-top:auto;font-size:12px;padding:20px 15px;color:#a5b9ac;line-height:2}.sidebar-foot i{display:inline-block;width:6px;height:6px;background:#b2d467;border-radius:50%;margin-right:6px}.sidebar-foot small{color:#779683}main{margin-left:238px;width:calc(100% - 238px)}header{height:88px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fafbf8}.crumb{font-size:12px;color:#728278}.crumb span{margin:0 14px;color:#b7c3b7}.header-right{display:flex;gap:15px;align-items:center}header select{background:none;border:0;font-size:12px;color:#374b3e;max-width:190px}.avatar{width:35px;height:35px;border-radius:50%;background:#e5ecd9;display:grid;place-items:center;font-size:11px;font-weight:bold;color:#557342}.content{padding:32px 40px 50px;max-width:1550px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}h1{font-size:32px;letter-spacing:-1.1px;font-weight:550;margin:5px 0 12px}h2{font-size:16px;font-weight:600;margin:0 0 7px;letter-spacing:-.3px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#7c936d;margin:0 0 12px}.muted{color:var(--muted);font-size:13px;margin:5px 0}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.metric{border:1px solid var(--border);background:white;border-radius:12px;padding:23px;min-width:0}.metric-label{font-size:12px;color:#75867b;display:flex;justify-content:space-between;margin-bottom:18px}.metric-label span{font-size:19px;color:#88a571}.metric strong{font-size:26px;font-weight:550;letter-spacing:-.9px;display:block;white-space:nowrap}.metric small{font-size:11px;color:#8b968d;display:block;margin-top:12px}.dashboard-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:23px}.card{background:#fff;border:1px solid var(--border);border-radius:13px;padding:25px;margin-bottom:23px;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:23px}.badge{display:inline-block;border-radius:6px;font-size:10px;font-weight:600;background:#edf4e1;color:#52753d;padding:6px 8px;white-space:nowrap}.badge.amber{background:#fcf0da;color:#a67825}.badge.neutral{background:#f0f3ed;color:#778573}.badge.danger{background:#fbe9e5;color:#9b4f40}.stage-ladder{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:7px}.stage-ladder li{padding:10px 14px;border-radius:8px;background:#f4f7ee;font-size:12px;color:#aab5a6}.stage-ladder li.done{background:#edf4e1;color:#52753d}.stage-ladder li.current{background:#234f40;color:#fff;font-weight:600}.stage-actions{margin-top:20px;display:flex;flex-wrap:wrap;gap:6px}.stage-actions button{margin:0}.chart-legend{display:flex;align-items:center;gap:7px;font-size:11px;color:#7c8a7e;justify-content:flex-end}.chart-legend i{width:8px;height:8px;border-radius:2px;margin-left:8px}.revenue{background:#a6c968}.cost{background:#345b48}.chart{height:225px;display:flex;align-items:end;justify-content:space-around;gap:20px;border-bottom:1px solid var(--border);background:repeating-linear-gradient(to top,transparent,transparent 43px,#f0f3eb 44px,#f0f3eb 45px);margin-top:15px;padding:0 10px}.bar-group{display:flex;flex-direction:column;align-items:center;width:45%;height:100%;justify-content:end}.bars{height:180px;display:flex;align-items:end;gap:8px}.bar{width:40px;border-radius:6px 6px 0 0;min-height:3px}.h-0{height:3%}.h-1{height:10%}.h-2{height:20%}.h-3{height:30%}.h-4{height:40%}.h-5{height:50%}.h-6{height:60%}.h-7{height:70%}.h-8{height:80%}.h-9{height:90%}.h-10{height:100%}.bar-group>span{font-size:11px;color:#7c8a7e;margin:13px 0 9px;text-align:center}.note{font-size:11px;line-height:1.65;color:#8b978c;margin-top:18px}.task-preview{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #eef1ea;font-size:12px}.task-preview>div:nth-child(2){flex:1}.task-preview strong{font-size:12px;font-weight:550}.task-preview p{font-size:11px;color:#8b958a;margin:7px 0 0}.task-preview>span{font-size:11px;color:#8d9b87;white-space:nowrap}.task-dot{width:8px;height:8px;border:2px solid #c2d699;border-radius:50%;flex-shrink:0}.callout{margin-top:20px;padding:18px;border-radius:9px;background:#f4f7ee;font-size:12px;color:#62844c}.callout p{font-size:11px;line-height:1.6;color:#86977a;margin:9px 0 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{color:#8b978a;font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:500;text-align:left;border-bottom:1px solid var(--border);padding:13px 12px}td{padding:18px 12px;border-bottom:1px solid #eef1e9;line-height:1.55}tr:last-child td{border:0}td strong{font-weight:550}td small{display:block;color:#8b968d;font-size:10px;margin-top:4px;max-width:290px}.code{display:block;color:#a0ae98;font-size:10px;margin-bottom:3px}.positive{color:#608344;font-weight:600}.offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.offer-grid .metric{background:#fafbf7}.offer-bottom{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:18px}.offer-bottom small{color:#819078}.finance-metrics{grid-template-columns:repeat(2,1fr)}input,select,textarea{border:1px solid #dce5d5;border-radius:7px;padding:11px;background:#fff;color:#2d4536;font-size:13px}input#lead-search{min-width:280px}.settings{max-width:800px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--border)}.setting-row small{display:block;color:#8b9885;font-size:11px;margin-top:5px}.setting-row input{width:145px;text-align:right}.settings form>button{margin-top:23px}.campaign{padding:20px 0;border-bottom:1px solid var(--border)}.campaign .badge{margin-left:15px}.campaign p{white-space:pre-wrap;font-size:13px;line-height:1.8}.campaign small{color:#899581}.empty{text-align:center;padding:35px;color:#8a9882;font-size:14px}.empty p{font-size:12px}.welcome{margin:0;max-width:650px;padding:70px 45px;width:100%;margin:auto}.welcome .logo{color:#234f40;padding:0;margin-bottom:40px;font-size:39px}.welcome h1{font-size:60px;line-height:1.08}.welcome>p{color:#7e8b7b;line-height:1.75}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:30px 0}.profile-grid button{margin:0;padding:18px}.welcome small{font-size:11px;line-height:1.8;display:block;color:#939e8c}dialog{border:1px solid var(--border);border-radius:16px;width:510px;max-width:94vw;padding:30px;color:#294132}dialog::backdrop{background:#173b2f66;backdrop-filter:blur(3px)}dialog label{display:block;font-size:12px;margin:20px 0}dialog input,dialog select,dialog textarea{display:block;width:100%;margin-top:8px}dialog form>button{margin-top:8px}#form-error{color:#9b4f40;font-size:12px}#toast{position:fixed;bottom:25px;right:25px;background:#234f40;color:white;border-radius:10px;padding:14px 22px;box-shadow:0 8px 30px #0002;opacity:0;pointer-events:none;font-size:13px;z-index:100}#toast.show{opacity:1}@media(max-width:1100px){aside{width:210px}main{margin-left:210px;width:calc(100% - 210px)}.content{padding:25px}header{padding:0 25px}.metric{padding:17px}.metric strong{font-size:22px}.dashboard-grid{grid-template-columns:1fr}.offer-grid{grid-template-columns:1fr 1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){aside{position:static;width:100%;padding:18px}#app{display:block}.brand-sub,.sidebar-foot{display:none}nav{display:flex;overflow:auto;margin-top:14px}.nav{white-space:nowrap;padding:9px}.nav-more{flex-shrink:0;width:100%}.nav-more summary{white-space:nowrap;padding:9px}.nav span,.nav b{display:none}main{margin:0;width:100%}header{height:70px;padding:0 15px}.crumb{display:none}.header-right{width:100%;justify-content:space-between}.content{padding:22px 15px}.page-title{align-items:flex-start;gap:10px}h1{font-size:27px}.metric-grid,.offer-grid{grid-template-columns:1fr 1fr}.metric strong{font-size:20px}.metric small{font-size:10px}.card{padding:18px}.card-head{flex-wrap:wrap}input#lead-search{width:100%;min-width:0}.offer-bottom{display:block}.welcome h1{font-size:45px}}
@media(max-width:700px){nav{scrollbar-width:none;min-height:44px}nav::-webkit-scrollbar{display:none}.nav{flex-shrink:0;min-height:44px}}

@media(max-width:1000px){
 .absence-list .table-wrap{overflow:visible}
 .absence-list table,.absence-list tbody{display:block;width:100%}
 .absence-list thead{display:none}
 .absence-list tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px 0;border-top:1px solid #e4e9e2}
 .absence-list td{display:block;min-width:0;padding:0;border:0;white-space:normal}
 .absence-list td:nth-child(3),.absence-list td:nth-child(4){grid-column:1 / -1}
 .absence-list td:nth-child(4){display:flex;flex-wrap:wrap;gap:8px}
 .absence-list td:nth-child(4) button{margin:0;max-width:100%}
}

/* A bővülő modulmenü alacsony ablakban is elérhető marad. */
aside{overflow-y:auto}

.calendar-source{display:block;overflow-wrap:anywhere;margin-top:6px}
.incoming-item{padding:16px 0;border-top:1px solid var(--line,#e2e8e5)}.source-reference{overflow-wrap:anywhere;font-size:12px;color:#64746b}.incoming-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.incoming-values p{font-size:12px;color:#65746c}.incoming-values strong{display:block;font-size:20px;color:#20372a;margin-top:6px}.incoming-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.allocation-row{border:1px solid #dce6df;border-radius:12px;padding:14px;margin:16px 0}details{margin-top:16px}summary{cursor:pointer;color:#476c55}
#import-preview-form label{display:block;font-size:13px;margin:20px 0 8px}#import-preview-form textarea{display:block;width:100%;min-height:150px;margin-top:8px;font-family:ui-monospace,monospace;white-space:pre;overflow:auto;resize:vertical}.import-issue,#import-error{color:#9b4f40}

.logo{padding:0;line-height:0;display:flex;justify-content:center;flex-shrink:0}.brand-logo{display:block;width:100%;height:auto;object-fit:contain}aside .logo{width:168px;margin:0 auto;background:transparent;border-radius:0;padding:0}aside .brand-sub{margin-top:14px}.welcome .logo{width:210px;margin:0 auto 28px}

.document-photo{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:16px auto}.document-links{font-size:13px;overflow-wrap:anywhere}.document-links a{color:#476c55}
button:disabled,button.primary:disabled,button:disabled:hover{opacity:.45;cursor:not-allowed;background:#e3e9e0;color:#52645a;border-color:#cbd5ca}

#partner-source-form label{display:block;font-size:13px;margin:20px 0 8px}#partner-source-form textarea{display:block;width:100%;min-height:120px;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:8px;font-family:ui-monospace,monospace;white-space:pre;overflow:auto;resize:vertical}#partner-source-form input,#partner-source-form select{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:white;color:inherit}#partner-source-form details{margin:18px 0}#partner-source-form summary{cursor:pointer}#partner-source-form button.primary{margin-top:8px}

#partner-source-results small{overflow-wrap:anywhere;word-break:break-word}#partner-source-results details{margin:18px 0}#partner-source-results summary{cursor:pointer;font-weight:600;line-height:1.5}

#billingo-incoming-filter{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;gap:12px;margin:18px 0}#billingo-incoming-filter label{display:block;font-size:13px;min-width:0}#billingo-incoming-filter input,#billingo-incoming-filter select{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:white;color:inherit}#billingo-incoming-filter button{min-height:42px}@media(max-width:700px){#billingo-incoming-filter{grid-template-columns:minmax(0,1fr)}#billingo-incoming-filter button{width:100%}}

:is(#billingo-outgoing-filter,#outgoing-comparison-filter){display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;gap:12px;margin:18px 0}:is(#billingo-outgoing-filter,#outgoing-comparison-filter) label{display:block;font-size:13px;min-width:0}:is(#billingo-outgoing-filter,#outgoing-comparison-filter) input,:is(#billingo-outgoing-filter,#outgoing-comparison-filter) select{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:white;color:inherit}:is(#billingo-outgoing-filter,#outgoing-comparison-filter) button{min-height:42px}@media(max-width:700px){:is(#billingo-outgoing-filter,#outgoing-comparison-filter){grid-template-columns:minmax(0,1fr)}:is(#billingo-outgoing-filter,#outgoing-comparison-filter) button{width:100%}}

#project-partner-results form{display:grid;gap:12px;margin:18px 0}#project-partner-results label{display:block;font-size:13px;min-width:0}#project-partner-results input:not([type=checkbox]),#project-partner-results select{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:white;color:inherit}#project-partner-results select{min-width:0}#project-partner-results .note{overflow-wrap:anywhere}#project-partner-results button{min-height:42px}

.reconciliation-summary{display:grid;gap:6px;margin:16px 0}.reconciliation-summary .badge{justify-self:start}

.finance-worklist-filter{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}.finance-worklist-filter button{align-self:end}

.finance-worklist-filter label{display:flex;flex-direction:column;gap:6px;min-width:0}.finance-worklist-filter input,.finance-worklist-filter select{width:100%;min-width:0}

/* Precíz munkatér — approved office UI. Scoped to index.html; worker portal is unchanged. */
.workspace-ui{--green:#356447;--accent:#a9d9b7;--muted:#627169;--border:#dfe6e0;background:#f5f7f5;color:#202d25;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
.workspace-ui #app{min-height:100dvh}
.workspace-ui :is(button,input,select,textarea){font-size:14px;border-radius:9px;min-height:44px}
.workspace-ui button{font-weight:500;padding:10px 14px}
.workspace-ui button:hover{background:#e7f0e8}
.workspace-ui button.primary{background:#356447;border-color:#356447;color:#fff}
.workspace-ui button.primary:hover{background:#264d35}
.workspace-ui :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #528760;outline-offset:3px}
.workspace-ui button:disabled,.workspace-ui button:disabled:hover{opacity:.6;background:#e7ece8;color:#52645a;border-color:#cbd5ca}
.workspace-ui aside{width:216px;padding:24px 14px;background:#193e2e;color:#d4e6d8;overscroll-behavior:contain}
.workspace-ui aside .logo{width:126px}
.workspace-ui .brand-sub{font-size:9px;letter-spacing:1.6px;color:#adc7b7;margin:14px 10px 26px;text-align:center}
.workspace-ui aside nav{gap:4px}
.workspace-ui .nav{font-size:13px;min-height:46px;padding:11px 12px;gap:11px;color:#d4e6d8;margin:0}
.workspace-ui .nav>span{display:flex;width:20px;flex-shrink:0}
.workspace-ui .nav svg,.workspace-ui .mobile-dock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.workspace-ui .nav:hover,.workspace-ui .nav-more summary:hover{background:#264b38}
.workspace-ui .nav.active{background:#315b43;color:#fff}
.workspace-ui .nav b,.workspace-ui .nav-more summary b{background:#426a50;color:#fff;border-radius:6px}
.workspace-ui .nav-more{margin-top:8px}
.workspace-ui .nav-more summary{font-size:13px;color:#d4e6d8;min-height:46px;padding:11px 12px;gap:11px}
.workspace-ui .nav-more-list{gap:4px;padding-left:6px}
.workspace-ui .sidebar-foot{color:#b2cabb;padding:24px 12px 6px}
.workspace-ui .sidebar-foot small{color:#adc7b7}
.workspace-ui main{margin-left:216px;width:calc(100% - 216px);min-width:0}
.workspace-ui header{min-height:76px;height:auto;padding:18px 28px;background:#fff;gap:16px}
.workspace-ui .header-right{flex-wrap:wrap;gap:10px;justify-content:flex-end}
.workspace-ui .avatar{background:#e7f0e8;color:#356447;width:36px;height:36px}
.workspace-ui .crumb{color:#627169;flex-shrink:0}
.workspace-ui .content{padding:30px 28px 48px;max-width:1550px}
.workspace-ui .page-title{gap:20px;flex-wrap:wrap;margin-bottom:26px}
.workspace-ui h1{font-size:30px;letter-spacing:-.8px;font-weight:600;margin:4px 0 10px;line-height:1.2}
.workspace-ui h2{font-size:17px;line-height:1.35;font-weight:600}
.workspace-ui .eyebrow{color:#627169;font-size:10px;letter-spacing:1.5px}
.workspace-ui :is(.muted,.note,td small,.metric small){color:#627169}
.workspace-ui .note{font-size:12px}
.workspace-ui :is(.card,.metric){border-color:#dfe6e0;border-radius:12px;background:#fff;box-shadow:none}
.workspace-ui .card{padding:24px;margin-bottom:20px}
.workspace-ui .metric{padding:22px}
.workspace-ui .metric strong{font-size:27px;letter-spacing:-.7px;white-space:normal;overflow-wrap:anywhere}
.workspace-ui .metric-label{color:#627169;font-size:13px}
.workspace-ui .badge{background:#e7f0e8;color:#356447;font-size:11px;font-weight:500;border-radius:6px;padding:5px 8px;white-space:normal;line-height:1.4}
.workspace-ui .badge.amber{background:#f7efdc;color:#795a1c}
.workspace-ui .badge.neutral{background:#edf1ee;color:#52645a}
.workspace-ui .badge.danger{background:#fbe9e5;color:#963e32}
.workspace-ui .stage-ladder li{color:#627169;background:#f1f4f1}
.workspace-ui .stage-ladder li.done{color:#356447;background:#e7f0e8}
.workspace-ui .stage-ladder li.current{background:#356447;color:#fff}
.workspace-ui .table-wrap{max-width:100%;overscroll-behavior-x:contain}
.workspace-ui table{font-size:13px}
.workspace-ui th{font-size:11px;color:#627169;padding:14px 12px;text-transform:none;letter-spacing:0;font-weight:500}
.workspace-ui td{padding:21px 12px;border-color:#e8ede9;vertical-align:top;overflow-wrap:anywhere}
.workspace-ui td small{font-size:12px}
.workspace-ui .code{color:#627169;font-size:11px}
.workspace-ui :is(input,select,textarea){background:#f1f4f1;color:#202d25;border:1px solid #dfe6e0;padding:11px 12px;max-width:100%;min-width:0}
.workspace-ui input:is([type=checkbox],[type=radio]){min-height:22px;width:22px;height:22px;display:inline-block;vertical-align:middle;accent-color:#356447}
.workspace-ui :is(.actions,.stage-actions){display:flex;flex-wrap:wrap;gap:8px}
.workspace-ui :is(.actions,.stage-actions) button{margin:0}
.workspace-ui dialog{width:600px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:28px;border:1px solid #dfe6e0;border-radius:18px;color:#202d25;background:#fff;overscroll-behavior:contain}
.workspace-ui dialog::backdrop{background:#122b2159;backdrop-filter:blur(3px)}
.workspace-ui dialog label{font-size:13px;line-height:1.5;margin:20px 0}
.workspace-ui dialog :is(input,select,textarea){font-size:16px}
.workspace-ui #form-error{color:#963e32}
.workspace-ui .welcome{margin:auto;width:100%;padding:48px 24px;max-width:650px}
.workspace-ui .welcome h1{font-size:40px}
.workspace-ui .welcome :is(form label,form input){display:block;width:100%;margin-top:10px}
.workspace-ui .welcome form{margin:24px 0}
.workspace-ui .welcome form button{margin-top:16px}
.workspace-ui .mobile-dock{display:none}
@media(max-width:1000px) and (min-width:701px){
 .workspace-ui aside{width:194px}.workspace-ui main{margin-left:194px;width:calc(100% - 194px)}
 .workspace-ui header{padding:16px 22px}.workspace-ui .content{padding:26px 22px}
}
@media(max-width:700px){
 .workspace-ui #app{display:block}
 .workspace-ui aside{display:none}
 .workspace-ui main{margin:0;width:100%}
 .workspace-ui header{padding:12px 16px;min-height:64px}
 .workspace-ui .header-right{justify-content:space-between;font-size:12px;gap:8px}
 .workspace-ui .header-right select{max-width:150px}
 .workspace-ui .header-right .avatar{display:none}
 .workspace-ui .content{padding:24px 16px calc(100px + env(safe-area-inset-bottom))}
 .workspace-ui h1{font-size:27px}.workspace-ui .page-title{gap:14px}
 .workspace-ui .card{padding:18px}.workspace-ui .card-head{gap:12px;margin-bottom:18px}
 .workspace-ui .metric{padding:16px}.workspace-ui .metric strong{font-size:23px}
 .workspace-ui .metric-grid,.workspace-ui .offer-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace-ui .dashboard-grid{grid-template-columns:minmax(0,1fr)}
 .workspace-ui :is(input,select,textarea){font-size:16px}
 .workspace-ui .mobile-dock{display:flex;position:fixed;inset:auto 0 0;z-index:30;margin:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));gap:2px;overflow:visible;min-height:68px;background:#fff;border-top:1px solid #dfe6e0;justify-content:space-around}
 .workspace-ui .mobile-dock>button,.workspace-ui .mobile-menu{flex:1;min-width:0;margin:0}
 .workspace-ui .mobile-dock button,.workspace-ui .mobile-menu summary{border:0;background:transparent;color:#627169;border-radius:9px;min-height:54px;font-size:10px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1.2;text-align:center;cursor:pointer}
 .workspace-ui .mobile-dock button[aria-current=page],.workspace-ui .mobile-menu[open]>summary{color:#356447;background:#e7f0e8}
 .workspace-ui .mobile-menu{position:static}
 .workspace-ui .mobile-menu summary{list-style:none}
 .workspace-ui .mobile-menu summary::-webkit-details-marker{display:none}
 .workspace-ui .mobile-menu-list{position:absolute;bottom:calc(100% + 8px);left:12px;right:12px;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain;background:#193e2e;border:1px solid #315b43;border-radius:14px;padding:10px;box-shadow:0 12px 32px #122b2133;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .workspace-ui .mobile-menu-list button{display:flex;flex-direction:row;justify-content:flex-start;text-align:left;font-size:13px;color:#d4e6d8;gap:10px;padding:10px;min-height:48px}
 .workspace-ui .mobile-menu-list button[aria-current=page]{background:#315b43;color:#fff}
 .workspace-ui .mobile-records{overflow:visible}
 .workspace-ui .mobile-records :is(table,tbody){display:block;width:100%}
 .workspace-ui .mobile-records thead{clip-path:inset(50%);position:absolute;height:1px;width:1px;overflow:hidden}
 .workspace-ui .mobile-records tr{display:block;border-bottom:1px solid #dfe6e0;padding:14px 0}
 .workspace-ui .mobile-records tr:last-child{border-bottom:0}
 .workspace-ui .mobile-records td{display:block;border:0;padding:7px 0;max-width:100%;white-space:normal}
 .workspace-ui .mobile-records td::before{content:attr(data-label);display:block;color:#627169;font-size:11px;margin-bottom:4px;font-weight:500}
 .workspace-ui .mobile-records td:empty{display:none}
 .workspace-ui .mobile-records td button{margin:4px 4px 4px 0}
 .workspace-ui dialog{width:100vw;max-width:100vw;max-height:100dvh;min-height:100dvh;margin:0;padding:24px 18px calc(24px + env(safe-area-inset-bottom));border:0;border-radius:0}
 .workspace-ui dialog form>button{min-height:48px}
 .workspace-ui #toast{bottom:calc(84px + env(safe-area-inset-bottom));right:16px;left:16px;text-align:center}
 .workspace-ui .welcome{padding:32px 20px}.workspace-ui .welcome h1{font-size:34px}
}
@media(prefers-reduced-motion:reduce){.workspace-ui *{scroll-behavior:auto;transition:none}}
/* Shared list filters keep labels above controls at every screen size. */
.workspace-ui form[id$="-filter"]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));align-items:end;gap:12px;margin:20px 0}
.workspace-ui form[id$="-filter"]>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}
.workspace-ui form[id$="-filter"] :is(input,select){display:block;width:100%;margin:0}
.workspace-ui form[id$="-filter"]>button{margin:0}
@media(max-width:700px){.workspace-ui form[id$="-filter"]{grid-template-columns:minmax(0,1fr)}}
/* Preserve legibility on very wide financial/project tables instead of crushing columns. */
@media(min-width:701px){
 .workspace-ui .table-wrap:has(th:nth-child(7)) table{min-width:1100px}
 .workspace-ui .table-wrap:has(th:nth-child(7)) td:first-child{min-width:160px}
}
.workspace-ui aside .logo{background:#fff;border-radius:12px;padding:10px}
/* Navigation polish: branded mobile header, clear read-only state, stable focus. */
.workspace-ui .mobile-brand{display:none}
.workspace-ui .readonly-status{background:#e7f0e8;color:#264d35;border:1px solid #c4d8c9}
.workspace-ui main h1:focus{outline:none}
@media(max-width:700px){
 .workspace-ui .mobile-brand{display:block;width:44px;height:38px;object-fit:contain;flex-shrink:0}
 .workspace-ui header{gap:12px;align-items:center}
 .workspace-ui .header-right{width:auto;flex:1;min-width:0;justify-content:flex-end}
 .workspace-ui .header-right select{max-width:150px}
 .workspace-ui .mobile-dock{box-shadow:0 -3px 18px #193e2e08}
 .workspace-ui .mobile-dock :is(button,summary):focus-visible{outline-offset:-3px}
}
/* Schedule grids must preserve the worker/day and worker/time-slot relationship. */
.workspace-ui .schedule-matrix{border:1px solid var(--border);border-radius:10px;isolation:isolate}
.workspace-ui .schedule-matrix table{width:100%;min-width:max-content}
.workspace-ui .schedule-matrix :is(th,td){min-width:110px;padding:16px;white-space:nowrap}
.workspace-ui .schedule-matrix :is(th,td):first-child{position:sticky;left:0;z-index:1;min-width:165px;max-width:220px;white-space:normal;background:#fff;border-right:1px solid var(--border)}
.workspace-ui .schedule-matrix thead th{background:#f1f4f1}
.workspace-ui .schedule-matrix:focus-visible{outline:3px solid #528760;outline-offset:3px}
.workspace-ui dialog form>.card-head{position:sticky;top:0;background:#fff;z-index:2;padding:8px 0;border-bottom:1px solid #e8ede9}
.workspace-ui .form-footer{position:sticky;bottom:0;z-index:2;background:#fff;border-top:1px solid #e8ede9;padding:16px 0 0;margin-top:24px}
.workspace-ui .form-buttons{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.workspace-ui .form-buttons button{margin:0;min-width:100px}
.workspace-ui .form-footer #form-error:not(:empty){padding:0 0 12px;line-height:1.5}
@media(max-width:700px){
 .workspace-ui .schedule-matrix :is(th,td){min-width:100px;padding:14px 12px}
 .workspace-ui .schedule-matrix :is(th,td):first-child{min-width:130px;max-width:150px}
 .workspace-ui .form-buttons button{flex:1;min-height:48px}
}
/* Cover the dialog's padding while sticky controls pass over scrolling fields. */
.workspace-ui dialog form>.card-head{box-shadow:0 -28px 0 #fff}
.workspace-ui .form-footer{box-shadow:0 28px 0 #fff}

/* Tételes ajánlatkalkuláció és az ügyfélnek szánt, külön nyomtatási nézet. */
dialog.quote-editor,.workspace-ui dialog.quote-editor{width:min(1160px,96vw);max-width:calc(100vw - 32px);max-height:92vh;padding:28px;overflow:auto}
.workspace-ui dialog.quote-editor label:not(.quote-check){margin:0}
.quote-form{display:flex;flex-direction:column;gap:20px}.quote-form .card-head{margin-bottom:0}
.quote-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.quote-form label,.quote-line label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:500}
.quote-form input,.quote-form select,.quote-form textarea{width:100%;box-sizing:border-box}.quote-form textarea{min-height:76px}
.quote-line{border:1px solid var(--line,#d7ddd7);border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:14px}.quote-line legend{font-weight:650;padding:0 8px}
.quote-line>button{align-self:flex-start}.quote-form details{padding:14px;border:1px solid var(--line,#d7ddd7);border-radius:8px}.quote-form details>summary{cursor:pointer;margin-bottom:8px}
.quote-form .quote-check{display:flex;flex-direction:row;align-items:center;gap:8px;margin:14px 0}.quote-check input{width:auto}
.quote-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px}.quote-months label{font-size:11px}.quote-months input{padding:8px 4px;text-align:center}
.quote-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.quote-summary>div{padding:15px;background:#f2f5f0;border-radius:8px;display:flex;flex-direction:column;gap:6px;color:#1c3020}.quote-summary strong{font-size:22px}.quote-summary small{font-size:12px}
.quote-controls{display:flex;gap:10px;justify-content:flex-end;position:sticky;bottom:-28px;padding:16px 0;background:#fff;z-index:2}.quote-warning,#quote-error{color:#9b3e1b}.offer-calculation-details{margin:15px 0}.offer-calculation-details>summary{cursor:pointer;font-weight:600}
.quote-preline{white-space:pre-line}#offer-print-root{position:fixed;inset:0;z-index:10000;overflow:auto;background:#e8ece6;color:#182c20;padding:28px}.offer-print-controls{display:flex;justify-content:center;gap:12px;margin-bottom:20px}.offer-paper{background:#fff;max-width:800px;margin:auto;padding:48px;box-shadow:0 5px 30px #0002}.offer-paper h1{font-size:30px;margin:24px 0 12px}.offer-paper h2{font-size:20px;margin-top:28px}.offer-paper h3{font-size:15px;margin-bottom:6px}.offer-paper section{break-inside:avoid}.offer-paper table{width:100%}.offer-paper th{text-align:left}.offer-paper td{text-align:right}
@media(max-width:760px){dialog.quote-editor,.workspace-ui dialog.quote-editor{padding:16px}.quote-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-months{grid-template-columns:repeat(6,minmax(0,1fr))}.quote-summary{grid-template-columns:1fr}.quote-controls{bottom:-16px;flex-wrap:wrap}.offer-paper{padding:24px}#offer-print-root{padding:12px}}
@media(max-width:440px){.quote-fields{grid-template-columns:1fr}}
@media print{body:has(#offer-print-root)>*:not(#offer-print-root){display:none!important}#offer-print-root{position:static;padding:0;background:#fff;overflow:visible}.offer-print-controls{display:none!important}.offer-paper{padding:0;max-width:none;box-shadow:none;color:#000}.offer-paper img{max-width:170px}.offer-paper table{break-inside:avoid}@page{size:A4;margin:18mm}}

/* A KPI szerint a kiváló különül a megfelelő zöldtől. */
.badge.kpi-excellent,.workspace-ui .badge.kpi-excellent{background:#e7effb;color:#285c8a}

/* Saját, többoldalas ügyfélajánlat. A teljes és rövid változat azonos szerveradatból készül. */
.quote-document-editor textarea{min-height:85px}.quote-document-editor h3{margin-top:22px}.quote-image-list{display:grid;gap:12px;margin:16px 0}.quote-image-list fieldset{display:grid;grid-template-columns:150px 1fr 1fr;gap:12px;align-items:start;padding:14px;border:1px solid var(--line);border-radius:10px}.quote-image-list img{max-width:150px;max-height:120px;object-fit:contain}.quote-image-list button{grid-column:2 / -1;justify-self:start}
#offer-print-root .offer-paper{font-family:Georgia,'Times New Roman',serif;color:#222b23;line-height:1.55;max-width:900px}#offer-print-root .offer-paper h1{font-size:24px}#offer-print-root .offer-paper h2{font-size:18px}#offer-print-root .offer-paper h3{font-size:14px}#offer-print-root .offer-letterhead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9e1ce;margin-bottom:22px;padding-bottom:12px}#offer-print-root .offer-letterhead>img{width:180px}#offer-print-root .offer-letterhead>p{font:11px/1.5 Arial,sans-serif;text-align:right}#offer-print-root .offer-letterhead figure{margin:0;width:100%}#offer-print-root .offer-letterhead figure img{max-height:100px;width:100%;object-fit:contain}#offer-print-root figure{margin:20px 0;break-inside:avoid}#offer-print-root figure img{max-width:100%;max-height:560px;display:block;margin:auto;object-fit:contain}#offer-print-root figcaption{font-size:12px;color:#657060;text-align:center;margin-top:8px}#offer-print-root .offer-reference-gallery figure img{max-height:390px}#offer-print-root .offer-page-break{border-top:1px dashed #d5ddcd;padding-top:28px;margin-top:34px}#offer-print-root .offer-technical-item{break-inside:auto}#offer-print-root .offer-fees td:first-child{text-align:left}#offer-print-root .offer-fees,#offer-print-root .offer-totals{font-size:13px;border-collapse:collapse}#offer-print-root .offer-fees th,#offer-print-root .offer-fees td,#offer-print-root .offer-totals th,#offer-print-root .offer-totals td{padding:10px 8px;border-bottom:1px solid #d9e1ce}#offer-print-root .offer-totals{margin-top:20px}#offer-print-root .offer-totals tr:last-child{background:#eef3e6;font-weight:bold}
@media(max-width:650px){.quote-image-list fieldset{grid-template-columns:1fr}.quote-image-list button{grid-column:1}#offer-print-root .offer-letterhead{gap:15px}#offer-print-root .offer-letterhead>img{width:110px}.offer-print-controls{flex-wrap:wrap}}
@media print{#offer-print-root .offer-paper{max-width:none;font-size:11pt}#offer-print-root .offer-page-break{break-before:page;border:0;margin:0;padding:0}#offer-print-root .offer-paper img{max-width:100%}#offer-print-root .offer-reference-gallery figure img{max-height:95mm}#offer-print-root figure img{max-height:155mm}#offer-print-root .offer-letterhead figure img{max-height:25mm}#offer-print-root thead{display:table-header-group}#offer-print-root tr{break-inside:avoid}#offer-print-root .offer-paper table{break-inside:auto}#offer-print-root .offer-paper a{color:inherit}}

/* Prémium ügyfélajánlat: önálló, az ERP-kártyáktól független tipográfiai rendszer. */
#offer-print-root{background:#dfe5de;padding:28px 20px 60px}
#offer-print-root .offer-print-controls{position:sticky;top:0;z-index:2;padding:12px 18px;margin:-12px auto 24px;width:fit-content;max-width:100%;background:#f6f5efed;backdrop-filter:blur(16px);border:1px solid #d5dfd4;border-radius:12px;box-shadow:0 6px 24px #163d3210;align-items:center}
#offer-print-root .offer-print-controls a{color:#fff;background:#163d32;text-decoration:none;padding:10px 17px;border-radius:7px;font:600 13px/1.2 system-ui,sans-serif}
#offer-print-root .offer-paper{max-width:960px;padding:0;color:#21352d;background:#fff;font-family:'Avenir Next','Segoe UI',Arial,sans-serif;line-height:1.65;box-shadow:0 18px 70px #183e321a}
#offer-print-root .offer-sheet{padding:38px 58px 54px;border-bottom:12px solid #dfe5de;break-inside:auto}
#offer-print-root .offer-sheet:last-child{border-bottom:0}
#offer-print-root .offer-letterhead{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:0 0 20px;margin-bottom:34px;border-bottom:1px solid #dce3dc}
#offer-print-root .offer-letterhead figure{margin:0;max-width:430px;width:75%}
#offer-print-root .offer-letterhead figure img{width:100%;max-height:78px;object-fit:contain;object-position:left center;margin:0}
#offer-print-root .offer-letterhead figcaption{display:none}
#offer-print-root .offer-edition{font-size:10px;line-height:1.8;letter-spacing:.06em;text-align:right;color:#65746b;flex-shrink:0;display:grid;gap:3px}
#offer-print-root .offer-edition strong{font-weight:600;font-size:10px}
#offer-print-root .offer-brand-wordmark{font-size:30px;letter-spacing:-1px;font-weight:500;color:#163d32}
#offer-print-root .offer-brand-wordmark small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px}
#offer-print-root .offer-eyebrow{color:#a27b52;font-size:10px;font-weight:650;line-height:1.5;letter-spacing:.13em;text-transform:uppercase;margin:0 0 16px}
#offer-print-root .offer-paper h1,#offer-print-root .offer-section-heading>h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#163d32;letter-spacing:-.035em}
#offer-print-root .offer-paper h1{font-size:clamp(36px,5.5vw,60px);line-height:1.07;margin:0 0 24px;max-width:700px}
#offer-print-root .offer-project-title{font-size:18px;font-weight:650;line-height:1.45;margin:0 0 12px;max-width:620px}
#offer-print-root .offer-client{display:grid;gap:5px;font-size:13px;color:#65746b;margin-bottom:28px;line-height:1.6}
#offer-print-root .offer-client strong{font-size:15px;color:#21352d}
#offer-print-root .offer-introduction{font-size:14px;max-width:650px;margin:24px 0;color:#52665a}
#offer-print-root .offer-cover-gallery{margin:30px 0 18px;padding:26px 22px 16px;background:#f6f5ef}
#offer-print-root .offer-cover-gallery>.offer-eyebrow{margin-bottom:16px}
#offer-print-root .offer-cover-gallery figure{margin:0 auto 15px}
#offer-print-root .offer-cover-gallery figure img{max-height:340px;width:auto;max-width:100%}
#offer-print-root figure{margin:26px 0;break-inside:avoid}
#offer-print-root figure img{max-width:100%;max-height:580px;display:block;margin:auto;object-fit:contain}
#offer-print-root figcaption{font:11px/1.5 'Avenir Next','Segoe UI',Arial,sans-serif;color:#65746b;margin-top:10px;text-align:left}
#offer-print-root .offer-cover-gallery figcaption{text-align:center}
#offer-print-root .offer-price-band{background:#163d32;color:white;display:grid;grid-template-columns:1.6fr 1fr;gap:26px;padding:26px 28px;margin:24px 0 18px;break-inside:avoid}
#offer-print-root .offer-price-band>div{display:grid;align-content:center;gap:7px}
#offer-print-root .offer-price-band span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#c6d5c7}
#offer-print-root .offer-price-band strong{font-size:34px;font-weight:550;letter-spacing:-.035em;line-height:1.2}
#offer-print-root .offer-price-band>div+div strong{font-size:21px;letter-spacing:-.02em}
#offer-print-root .offer-section-heading{margin:0 0 32px;max-width:660px}
#offer-print-root .offer-section-heading>h2{font-size:38px;line-height:1.17;margin:0}
#offer-print-root .offer-paper section h2{color:#163d32}
#offer-print-root .offer-editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin-top:36px}
#offer-print-root .offer-editorial-column>h2{font-family:Georgia,serif;font-size:22px;font-weight:400;line-height:1.3;margin:0 0 24px}
#offer-print-root .offer-detail{margin-bottom:21px}
#offer-print-root .offer-detail h3{font-size:13px;font-weight:650;line-height:1.5;margin:0 0 5px;color:#21352d}
#offer-print-root .offer-detail p,#offer-print-root .offer-editorial-column>p{font-size:13px;line-height:1.7;color:#52665a;margin:0}
#offer-print-root .offer-testimonials{border-top:1px solid #dce3dc;padding-top:20px;margin-top:30px}
#offer-print-root .offer-testimonials>h2{font-family:Georgia,serif;font-weight:400;font-size:23px;margin:0 0 20px}
#offer-print-root .offer-testimonials img{max-height:240px}
#offer-print-root .offer-testimonials figure{margin:15px 0}
#offer-print-root .offer-portfolio{font-size:12px;letter-spacing:.025em;margin:24px 0 0}
#offer-print-root .offer-portfolio a{color:#163d32;text-decoration:none;border-bottom:1px solid #a27b52;padding-bottom:5px}
#offer-print-root .offer-text-section{margin:26px 0;break-inside:auto}
#offer-print-root .offer-text-section>h2{font-family:Georgia,serif;font-size:23px;font-weight:400;line-height:1.35;margin:0 0 15px;break-after:avoid}
#offer-print-root .offer-points{list-style:none;margin:0;padding:0;font-size:14px;line-height:1.75}
#offer-print-root .offer-points li{position:relative;padding-left:18px;margin:0 0 10px;break-inside:auto}
#offer-print-root .offer-points li:before{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#a27b52;left:1px;top:.73em}
#offer-print-root .offer-technical-item{border-top:1px solid #dce3dc;padding:25px 0 16px;break-inside:auto}
#offer-print-root .offer-item-meta{display:flex;align-items:baseline;justify-content:space-between;gap:18px;font-size:10px;line-height:1.6;letter-spacing:.065em;text-transform:uppercase;color:#a27b52;margin-bottom:12px}
#offer-print-root .offer-item-meta strong{font-size:11px;white-space:nowrap;color:#65746b}
#offer-print-root .offer-technical-item h3{font-size:21px;font-weight:600;letter-spacing:-.015em;line-height:1.35;margin:0 0 18px;break-after:avoid}
#offer-print-root .offer-months{font-size:12px;color:#65746b;margin:18px 0 0}
#offer-print-root .offer-fees{font-size:12px;margin:18px 0 24px;border-collapse:collapse}
#offer-print-root .offer-fees th{background:#eaf0e8;font-size:10px;font-weight:600;line-height:1.5}
#offer-print-root .offer-fees th,#offer-print-root .offer-fees td{padding:15px 10px;border-bottom:1px solid #dce3dc;text-align:right;white-space:nowrap}
#offer-print-root .offer-fees th:first-child,#offer-print-root .offer-fees td:first-child{text-align:left;white-space:normal}
#offer-print-root .offer-totals{font-size:12px;margin:12px 0 30px;border-collapse:collapse}
#offer-print-root .offer-totals th{font-weight:400;color:#65746b}
#offer-print-root .offer-totals th,#offer-print-root .offer-totals td{padding:9px 0;border:0;background:transparent}
#offer-print-root .offer-totals td{color:#21352d}
#offer-print-root .offer-totals tr:last-child{background:transparent;font-weight:400}
#offer-print-root .offer-conditions-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;border-top:1px solid #dce3dc;margin-top:25px;padding-top:5px}
#offer-print-root .offer-conditions-grid .offer-text-section>h2{font-size:21px}
#offer-print-root .offer-conditions-grid .offer-points{font-size:12px;line-height:1.8}
#offer-print-root .offer-signature{border-top:1px solid #dce3dc;margin-top:30px;padding-top:24px;font-size:12px;break-inside:avoid}
#offer-print-root .offer-signature p{margin:12px 0;line-height:1.7}
#offer-print-root .offer-appendices>.offer-points{margin-bottom:28px}
#offer-print-root .offer-simple h1{font-size:32px;line-height:1.2}
#offer-print-root .offer-simple .offer-item-meta{margin-bottom:8px}
#offer-print-root .offer-simple .offer-technical-item h3{font-size:19px}
#offer-print-root .offer-simple .offer-conditions-grid{display:block;border:0;margin-top:0;padding:0}
#offer-print-root .offer-simple .offer-totals tr:nth-child(3),#offer-print-root .offer-simple .offer-totals tr:last-child{background:#eaf0e8;font-weight:600}
#offer-print-root .offer-simple .offer-totals th,#offer-print-root .offer-simple .offer-totals td{padding:12px}
@media(max-width:650px){
 #offer-print-root{padding:10px 8px 30px}
 #offer-print-root .offer-sheet{padding:26px 24px 35px;border-bottom-width:8px}
 #offer-print-root .offer-letterhead{gap:14px;margin-bottom:26px;padding-bottom:16px}
 #offer-print-root .offer-letterhead figure{width:72%}
 #offer-print-root .offer-edition{font-size:8px;letter-spacing:0}
 #offer-print-root .offer-edition strong{font-size:8px}
 #offer-print-root .offer-paper h1{font-size:44px}
 #offer-print-root .offer-project-title{font-size:16px}
 #offer-print-root .offer-cover-gallery{padding:18px 10px 12px;margin-top:24px}
 #offer-print-root .offer-price-band{padding:22px;grid-template-columns:1fr;gap:17px}
 #offer-print-root .offer-price-band strong{font-size:32px}
 #offer-print-root .offer-price-band>div+div strong{font-size:21px}
 #offer-print-root .offer-section-heading>h2{font-size:32px}
 #offer-print-root .offer-editorial-grid,#offer-print-root .offer-conditions-grid{grid-template-columns:1fr;gap:22px}
 #offer-print-root .offer-editorial-column>h2{font-size:24px}
 #offer-print-root .offer-detail p,#offer-print-root .offer-editorial-column>p{font-size:14px}
 #offer-print-root .offer-technical-item h3{font-size:19px}
 #offer-print-root .offer-item-meta{flex-wrap:wrap;gap:6px}
 #offer-print-root .offer-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
 #offer-print-root .offer-fees{min-width:560px}
 #offer-print-root .offer-simple h1{font-size:29px}
}
@media print{
 #offer-print-root{padding:0;background:#fff}
 #offer-print-root .offer-paper{box-shadow:none;font-size:10pt;max-width:none}
 #offer-print-root .offer-sheet{break-before:page;border:0;margin:0;padding:0}
 #offer-print-root .offer-sheet:first-child{break-before:auto}
 #offer-print-root .offer-paper h1{font-size:36pt}
 #offer-print-root .offer-section-heading>h2{font-size:26pt}
 #offer-print-root .offer-price-band{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #offer-print-root .offer-reference-gallery figure img,#offer-print-root .offer-cover-gallery figure img{max-height:85mm}
 #offer-print-root .offer-letterhead figure img{max-height:20mm}
 #offer-print-root .offer-cover-gallery{background:#f6f5ef;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #offer-print-root .offer-figure img{max-width:100%;max-height:145mm}
 #offer-print-root .offer-paper a{color:inherit}
 #offer-print-root .offer-technical-item{break-inside:auto}
 #offer-print-root .offer-table-scroll{overflow:visible}
 #offer-print-root thead{display:table-header-group}
 #offer-print-root tr{break-inside:avoid}
 #offer-print-root .offer-editorial-grid,#offer-print-root .offer-conditions-grid{display:grid;grid-template-columns:1fr 1fr}
}

@media print{#offer-print-root .offer-editorial-column{break-inside:auto}}

/* Ügyfélcél, alátámasztott előny és könnyen követhető döntési lépések. */
#offer-print-root .offer-goals{border-left:3px solid #a27b52;padding:2px 0 2px 20px;margin:26px 0}
#offer-print-root .offer-goals .offer-points{font-size:13px;margin:8px 0;line-height:1.7}
#offer-print-root .offer-value-cards{display:grid;gap:18px;margin-top:30px}
#offer-print-root .offer-value-card{padding:24px 28px;background:#f6f5ef;border-left:3px solid #a27b52;break-inside:avoid}
#offer-print-root .offer-value-card h3{font-family:Georgia,serif;font-size:23px;font-weight:400;color:#163d32;margin:10px 0}
#offer-print-root .offer-value-card p{font-size:14px;line-height:1.75;white-space:pre-line;margin:10px 0;overflow-wrap:anywhere}
#offer-print-root .offer-value-solution{border-top:1px solid #dce3dc;margin-top:16px;padding-top:14px;color:#65746b}
#offer-print-root .offer-value-solution strong{font-size:11px;color:#21352d}
#offer-print-root .offer-value-solution p{font-size:12px;margin-bottom:0}
#offer-print-root .offer-decision-support{margin-bottom:35px}
#offer-print-root .offer-decision-support>h2{font-size:24px}
#offer-print-root .offer-qa-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#offer-print-root .offer-qa{border-bottom:1px solid #dce3dc;padding:12px 0;break-inside:avoid}
#offer-print-root .offer-qa h3{font-size:13px;color:#163d32;margin:0 0 8px}
#offer-print-root .offer-qa p{font-size:12px;line-height:1.8;white-space:pre-line;margin:0;overflow-wrap:anywhere}
#offer-print-root .offer-next-step{background:#eaf0e8;border-left:3px solid #a27b52;padding:8px 24px;margin-top:25px;break-inside:avoid}
#offer-print-root .offer-next-step .offer-text-section>h2{font-size:23px}
.quote-story-editor{padding:18px;border:1px solid var(--line,#dce3dc);border-radius:12px;margin:20px 0;background:var(--surface,#fff)}
.quote-story-editor fieldset{margin:16px 0;padding:16px;border:1px solid var(--line,#dce3dc);border-radius:10px;min-width:0}
.quote-story-editor fieldset>label{display:block;margin:12px 0}
@media(max-width:650px){#offer-print-root .offer-value-card{padding:20px}#offer-print-root .offer-goals{padding-left:15px}#offer-print-root .offer-next-step{padding:5px 18px}#offer-print-root .offer-qa-grid{grid-template-columns:1fr;gap:0}}
@media print{#offer-print-root .offer-value-card,#offer-print-root .offer-next-step{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
/* Vezetői előnézet: kizárólag .executive alatt. */
.executive{--ex-green:#285b49;--ex-ink:#263b33;--ex-line:#dce4dc;color:var(--ex-ink);background:#f6f7f2;border-radius:20px;padding:28px;line-height:1.5}.executive *{box-sizing:border-box}.executive h2{font-size:32px;letter-spacing:-1px;margin:5px 0}.executive h3{font-size:17px;margin:0 0 16px}.executive h4{font-size:14px;margin:7px 0;overflow-wrap:anywhere}.executive p{margin:6px 0 14px}.executive .ex-kicker{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--ex-green)}.executive .ex-heading,.executive .ex-panel-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.executive .ex-tag{border:1px solid var(--ex-line);padding:7px 12px;border-radius:20px;font-size:10px;white-space:nowrap}.executive .ex-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:20px 0;border-top:1px solid var(--ex-line);margin-top:20px}.executive label{font-size:12px;display:grid;gap:7px}.executive select{max-width:280px;width:100%;background:white}.executive button{margin:0;min-height:42px;border-radius:8px;background:#fff;color:var(--ex-green);border:1px solid #c4d3c8;font-weight:600}.executive a{color:var(--ex-green);font-size:12px;padding:10px}.executive :focus-visible{outline:3px solid #a56120;outline-offset:3px}.executive .ex-meta,.executive small,.executive .ex-panel-head span{font-size:12px;color:#596a60}.executive .ex-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.executive .ex-tile{background:#fff;border:1px solid var(--ex-line);border-radius:12px;padding:22px;min-width:0}.executive .ex-tile p{font-size:12px}.executive .ex-tile strong{display:block;font-size:32px;letter-spacing:-1px;overflow-wrap:anywhere}.executive small{display:block}.executive .ex-columns{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.executive .ex-panel{background:white;border:1px solid var(--ex-line);border-radius:12px;padding:24px;margin-bottom:20px;min-width:0}.executive .ex-task,.executive .ex-project{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid var(--ex-line);padding:16px 0}.executive .ex-task>div,.executive .ex-project>div{min-width:0}.executive .ex-task button,.executive .ex-project button{flex-shrink:0}.executive .ex-task p,.executive .ex-project p{font-size:12px;color:#596a60;margin-bottom:0}.executive .ex-status{font-size:10px;font-weight:bold;color:#78511e;background:#faf1df;border-radius:5px;padding:4px 7px}.executive .ex-table{overflow:auto}.executive table{width:100%;font-size:12px}.executive th,.executive td{white-space:normal;text-align:left;padding:12px 8px}.executive caption{text-align:left;font-size:11px;color:#596a60;margin:10px 0}.executive .ex-error{padding:16px;background:#fff0e8;color:#833715;border-radius:8px}@media(max-width:1200px){.executive .ex-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.executive .ex-columns{grid-template-columns:1fr}}@media(max-width:700px){.executive{padding:16px}.executive .ex-heading{align-items:start;flex-direction:column}.executive h2{font-size:27px}.executive .ex-tile{padding:14px}.executive .ex-tile strong{font-size:26px}.executive .ex-panel{padding:16px}.executive .ex-project,.executive .ex-task{align-items:start;flex-direction:column}.executive .ex-toolbar label,.executive select{width:100%;max-width:100%}}
/* A külön előnézet saját oldalkerete; minden más nézet változatlan. */
aside.executive-nav{background:#fff;color:#213e32;border-right:1px solid #e0e6df}.executive-nav .brand-sub{color:#708177}.executive-nav .nav{color:#4e6258;border-radius:8px;font-size:13px}.executive-nav .nav:hover{background:#edf3ec;color:#254e3d}.executive-nav .nav span{color:#657e6b}.executive-nav .sidebar-foot{color:#65796b}.executive-nav .nav-more summary{color:#4e6258}.executive-shell{background:#f0f3ed}.executive-shell>header{background:#f0f3ed;border-bottom:1px solid #dce3d8;height:64px}.executive-shell>.content{padding:32px 34px}.executive-shell>.content>.page-title{display:none}.executive-shell .executive{padding:0;border-radius:0;background:transparent;max-width:1600px;margin:auto}.executive-shell .ex-heading{padding:8px 0 22px;align-items:center}.executive-shell .ex-heading h2{font-size:40px;letter-spacing:-1.7px;font-weight:650;line-height:1.12;color:#203c30}.executive-shell .ex-heading h2>span{color:#81a346}.executive-shell .ex-heading p:not(.ex-kicker){color:#637369;font-size:14px}.executive-shell .ex-kicker{letter-spacing:2.2px;font-size:10px;margin-bottom:13px}.executive-shell .ex-tag{background:white;border-radius:6px;border-color:#dbe3d5;font-size:10px;letter-spacing:.6px;padding:10px 13px}.executive-shell .ex-toolbar{margin:0;background:#fff;border:1px solid #dce4d8;padding:16px 20px;border-radius:12px;gap:16px}.executive-shell .ex-toolbar label{font-size:10px;font-weight:650;letter-spacing:.5px;color:#617167}.executive-shell .ex-toolbar select{border:1px solid #d8e1d3;border-radius:6px;padding:10px 12px;min-height:42px;font-size:12px;color:#2a4234}.executive-shell .ex-toolbar button[type=submit],.executive-shell .ex-toolbar button:not([type]){background:#244c3b;color:#fff;border-color:#244c3b}.executive-shell .ex-meta{font-size:11px;margin:12px 0;color:#5c6d61}.executive-shell .ex-metrics{gap:16px;margin:22px 0}.executive-shell .ex-tile{position:relative;min-height:174px;border-radius:12px;padding:22px 22px 16px;border:1px solid #dae3d4;display:flex;flex-direction:column}.executive-shell .ex-tile p{font-size:12px;margin:0 0 13px}.executive-shell .ex-tile strong{font-size:43px;line-height:1.1;margin-bottom:9px;font-weight:600;letter-spacing:-1.5px}.executive-shell .ex-tile small{font-size:10px;line-height:1.4;max-width:190px}.executive-shell .ex-tile button{align-self:flex-end;min-height:24px;padding:4px 0;border:0;background:transparent;font-size:10px;margin-top:auto}.executive-shell .ex-tile:first-child{background:#264f3d;color:#fff;border-color:#264f3d}.executive-shell .ex-tile:first-child small{color:#d5e1cf}.executive-shell .ex-tile:first-child button{color:#e0edce}.executive-shell .ex-columns{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px}.executive-shell .ex-panel{padding:24px;border-radius:12px;border-color:#dae3d4}.executive-shell .ex-panel h3{font-size:16px;letter-spacing:-.3px;color:#263f30}.executive-shell .ex-section-number{font-size:10px;font-weight:500;color:#71866b;border:1px solid #dfe6d9;border-radius:5px;padding:4px 6px;margin-right:8px;vertical-align:middle}.executive-shell .ex-panel-head>span{font-size:10px}.executive-shell .ex-task{padding:16px 0}.executive-shell .ex-task h4{font-size:14px;font-weight:600}.executive-shell .ex-task button{border:0;background:#edf3e8;border-radius:7px;padding:8px 12px;font-size:11px}.executive-shell .ex-status{font-size:9px;letter-spacing:.4px}.executive-shell .ex-hour-bars{display:grid;gap:18px;padding:12px 0 20px}.executive-shell .ex-hour-bars p{font-size:11px;font-weight:600;margin:0 0 8px}.executive-shell .ex-hour-bars label{display:flex;align-items:center;gap:10px;font-size:10px;color:#52664f;margin:5px 0}.executive-shell .ex-hour-bars meter{width:100%;height:14px;flex:1}.executive-shell meter::-webkit-meter-bar{background:#edf1e8;border:0;border-radius:3px}.executive-shell meter::-webkit-meter-optimum-value{background:#365f49;border-radius:3px}.executive-shell .ex-hour-bars label:last-child meter::-webkit-meter-optimum-value{background:#a3b879}.executive-shell .ex-hour-bars b{width:32px;text-align:right;font-weight:500}.executive-shell .ex-table{border-top:1px solid #e5ebdf}.executive-shell .ex-table th{background:transparent;font-size:10px;letter-spacing:0;text-transform:none;color:#5d7058;font-weight:600}.executive-shell .ex-table td{font-size:12px}.executive-shell .ex-project{padding:20px 0}.executive-shell .ex-project small{font-size:10px;letter-spacing:.7px}.executive-shell .ex-project h4{font-size:17px;margin:5px 0}.executive-shell .ex-project button{background:#f3f6ee;border-color:#dfe6d8;font-size:11px}@media(max-width:1100px){.executive-shell .ex-columns{grid-template-columns:1fr}.executive-shell>.content{padding:24px}.executive-shell .ex-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.executive-shell>.content{padding:20px 14px}.executive-shell .ex-heading{align-items:start;padding:0 0 18px}.executive-shell .ex-heading h2{font-size:32px}.executive-shell .ex-toolbar{padding:14px}.executive-shell .ex-metrics{gap:10px}.executive-shell .ex-tile{padding:16px;min-height:170px}.executive-shell .ex-tile strong{font-size:36px}.executive-shell .ex-panel{padding:18px}.executive-nav nav{border-top:1px solid #e1e7dc;padding-top:10px}}
@media(max-width:700px){aside.executive-nav{padding:14px 18px}.executive-nav .logo{padding:0;display:flex;justify-content:flex-start}.executive-nav .brand-logo{width:112px;height:auto;max-height:98px;object-fit:contain}.executive-nav nav{margin-top:10px}.executive-shell .ex-heading{gap:10px}.executive-shell .ex-heading p{margin-bottom:6px}}
/* V3 — értékesítés, eredmény, projektek. */
.executive-shell .ex-v3{--ex-green:#183f35;--ex-line:#e2e6de;--ex-ink:#20372d;font-family:Arial,Helvetica,sans-serif}.executive-shell .ex-v3 .ex-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:9px;font-weight:700;letter-spacing:1.8px;color:#6a7c70;padding:4px 0 22px}.ex-v3 .ex-topline b{margin:0 10px;color:#a6b49e}.ex-v3 .ex-live{letter-spacing:.4px;border:1px solid #d4ddcd;border-radius:30px;padding:8px 11px;background:#fafcf7;font-weight:500;white-space:nowrap}.executive-shell .ex-v3 .ex-heading{align-items:center;margin-bottom:12px;padding:0 0 22px}.executive-shell .ex-v3 .ex-heading h2{font-size:52px;line-height:1;letter-spacing:-2.6px;font-weight:600;margin:0 0 18px}.ex-v3 .ex-heading h2 em{font-style:normal;color:#859b6e}.executive-shell .ex-v3 .ex-heading p{font-size:13px;color:#6e7b70}.ex-v3 .ex-heading-date{text-align:right;display:grid;gap:8px}.ex-v3 .ex-heading-date span{font-size:8px;letter-spacing:1.4px;color:#71816e}.ex-v3 .ex-heading-date strong{font-size:21px;font-weight:500;letter-spacing:-.6px}.executive-shell .ex-v3 .ex-heading-date small{font-size:10px}.ex-v3 .ex-scoreboard{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.ex-v3 .ex-profit{border-radius:17px;background:#193f36;color:#f4f8e7;padding:26px;display:flex;flex-direction:column;min-height:210px}.ex-v3 .ex-profit>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:9px;letter-spacing:1.3px}.ex-v3 .ex-chip{color:#d8edab;border:1px solid #53705a;border-radius:30px;padding:5px 8px;font-size:9px;letter-spacing:0}.ex-v3 .ex-profit>strong{font-size:clamp(26px,3.4vw,51px);font-weight:500;letter-spacing:-1.5px;line-height:1.2;margin-top:24px;color:#ddf4a6;overflow-wrap:anywhere}.executive-shell .ex-v3 .ex-profit>p{color:#bacbbd;font-size:10px;margin:6px 0 20px}.ex-v3 .ex-profit-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #426052;padding-top:14px;gap:10px;font-size:9px;color:#d2dfc8;margin-top:auto}.executive-shell .ex-v3 .ex-profit-foot button{background:transparent;border:0;color:#ddf4a6;font-size:10px;padding:0;min-height:24px}.ex-v3 .ex-stat{border-radius:17px;background:#fff;border:1px solid #e0e5d9;padding:26px;display:flex;flex-direction:column}.ex-v3 .ex-stat>span{font-size:9px;letter-spacing:1.4px;color:#71816d}.ex-v3 .ex-stat>strong{font-size:53px;font-weight:500;letter-spacing:-2px;line-height:1.1;margin-top:22px}.executive-shell .ex-v3 .ex-stat>p{font-size:11px;color:#71816d;margin:10px 0 20px}.executive-shell .ex-v3 .ex-stat>button{margin-top:auto;align-self:start;background:transparent;border:0;border-radius:0;padding:12px 0 0;font-size:10px;border-top:1px solid #e6eadf;width:100%;text-align:left;min-height:30px}.executive-shell .ex-v3 .ex-source-note{color:#64735e;font-size:10px;line-height:1.6;margin:12px 0 20px}.executive-shell .ex-v3 .ex-panel{border-radius:17px;padding:24px;border:1px solid #e1e6db;margin-bottom:22px}.executive-shell .ex-v3 .ex-panel h3{font-size:20px;letter-spacing:-.7px;line-height:1.25;margin:8px 0 4px;font-weight:500}.executive-shell .ex-v3 .ex-panel .ex-kicker{font-size:8px;letter-spacing:1.7px;color:#6c8160;margin:0}.executive-shell .ex-v3 .ex-panel-head{align-items:center;margin-bottom:22px}.executive-shell .ex-v3 .ex-panel-head>button{font-size:10px;background:#f4f7ee;border:0;padding:8px 11px}.ex-v3 .ex-pipeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.ex-v3 .ex-stage{background:#f4f6ef;border-radius:10px;padding:15px;min-width:0}.ex-v3 .ex-stage-index{font-size:8px;letter-spacing:1px;color:#87987c}.executive-shell .ex-v3 .ex-stage h4{font-size:11px;font-weight:500;margin:12px 0 18px;color:#506748;min-height:16px}.ex-v3 .ex-stage>strong{font-size:29px;font-weight:500;letter-spacing:-1px}.executive-shell .ex-v3 .ex-stage strong small{display:inline;font-size:9px;font-weight:400;letter-spacing:0}.executive-shell .ex-v3 .ex-stage p{font-size:11px;font-weight:600;margin:8px 0 13px}.executive-shell .ex-v3 .ex-stage p small{display:inline;font-weight:400;font-size:9px}.ex-v3 .ex-stage meter{display:block;width:100%;height:8px}.ex-v3 .ex-stage meter::-webkit-meter-bar{border:0;background:#dfe6d6;border-radius:2px}.ex-v3 .ex-stage meter::-webkit-meter-optimum-value{background:#89a95f;border-radius:2px}.ex-v3 .ex-stage-3{background:#e4edda}.executive-shell .ex-v3 .ex-toolbar{background:transparent;border:0;border-top:1px solid #d7dfcf;border-radius:0;padding:18px 0 22px;gap:12px}.ex-v3 .ex-filter-caption{font-size:8px;letter-spacing:1.2px;color:#6b7e61;align-self:center;margin-right:auto}.executive-shell .ex-v3 .ex-toolbar label{font-size:9px}.executive-shell .ex-v3 .ex-toolbar select{font-size:11px;padding:8px 10px;min-height:36px}.executive-shell .ex-v3 .ex-toolbar button{font-size:10px;min-height:36px;padding:8px 12px}.executive-shell .ex-v3 .ex-columns{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px}.ex-v3 .ex-project-cards{display:grid;gap:12px}.ex-v3 .ex-project-card{border:1px solid #dce5d3;border-left:3px solid #8fae66;border-radius:10px;padding:18px}.ex-v3 .ex-project-card.ex-negative{border-left-color:#be795e;background:#fffaf7}.ex-v3 .ex-project-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;color:#617555}.executive-shell .ex-v3 .ex-project-card-top small{display:inline;font-size:9px;color:#7c8a74}.ex-v3 .ex-project-result{color:#264e39;font-size:15px;font-weight:600;letter-spacing:-.4px}.ex-v3 .ex-negative .ex-project-result{color:#a14e32}.executive-shell .ex-v3 .ex-project-card h4{font-size:17px;letter-spacing:-.4px;margin:12px 0 8px;font-weight:500}.ex-v3 .ex-health{display:inline-block;background:#edf3e5;color:#4f6e39;padding:5px 7px;border-radius:4px;font-size:9px}.ex-v3 .ex-negative .ex-health{background:#f8e7df;color:#9c523c}.executive-shell .ex-v3 .ex-project-card p{font-size:10px;color:#6b7a60;line-height:1.6;margin:12px 0}.executive-shell .ex-v3 .ex-project-card button{background:transparent;padding:0;border:0;font-size:10px;min-height:30px}.ex-v3 .ex-finance dl{margin:24px 0}.ex-v3 .ex-finance dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e7ebdf;padding:17px 0;font-size:11px}.ex-v3 .ex-finance dt{color:#65755e}.ex-v3 .ex-finance dd{margin:0;font-weight:600;white-space:nowrap}.ex-v3 .ex-finance .ex-total{border:0;background:#f0f5e8;border-radius:8px;padding:18px 14px;margin:18px -5px}.ex-v3 .ex-operational summary{font-size:13px;font-weight:500;cursor:pointer}.ex-v3 .ex-operational summary span{float:right;font-size:10px;color:#718166}.ex-v3 .ex-operational[open] summary{margin-bottom:24px}.ex-v3 .ex-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#718066;padding:0 4px 12px}.executive-shell .ex-v3 .ex-footer a{font-size:10px;padding:0}.ex-v3 .ex-error{background:#fbe9e0;padding:14px;border-radius:8px;color:#85422c}@media(max-width:1200px){.ex-v3 .ex-pipeline{grid-template-columns:repeat(3,minmax(0,1fr))}.ex-v3 .ex-scoreboard{grid-template-columns:1.6fr 1fr 1fr}.executive-shell .ex-v3 .ex-columns{grid-template-columns:1fr}.ex-v3 .ex-profit{padding:20px}.ex-v3 .ex-stat{padding:20px}}@media(max-width:700px){.executive-shell .ex-v3 .ex-heading{flex-direction:row;gap:12px;margin-bottom:0}.executive-shell .ex-v3 .ex-heading h2{font-size:39px;letter-spacing:-1.8px}.ex-v3 .ex-heading-date{display:none}.executive-shell .ex-v3 .ex-heading p{font-size:11px}.ex-v3 .ex-scoreboard{grid-template-columns:1fr 1fr;gap:12px}.ex-v3 .ex-profit{grid-column:1/-1;min-height:190px}.ex-v3 .ex-profit>strong{font-size:42px;margin-top:20px}.ex-v3 .ex-stat{min-height:150px;padding:18px}.ex-v3 .ex-stat>strong{font-size:38px;margin-top:12px}.executive-shell .ex-v3 .ex-stat>p{font-size:10px;margin:6px 0 14px}.executive-shell .ex-v3 .ex-stat>button{font-size:9px}.ex-v3 .ex-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-v3 .ex-stage:last-child{grid-column:1/-1}.executive-shell .ex-v3 .ex-panel{padding:18px}.executive-shell .ex-v3 .ex-panel h3{font-size:18px}.executive-shell .ex-v3 .ex-panel-head{align-items:start;flex-direction:column;gap:12px}.ex-v3 .ex-topline{letter-spacing:1px!important;font-size:8px!important}.ex-v3 .ex-filter-caption{width:100%}.executive-shell .ex-v3 .ex-toolbar label{width:100%}.ex-v3 .ex-profit-foot{font-size:8px}.ex-v3 .ex-finance dl>div{font-size:10px}.ex-v3 .ex-operational summary span{float:none;display:block;margin-top:8px}}
.executive-shell .ex-v3 .ex-period{background:#fff;border:1px solid #e1e6db;border-radius:12px;padding:14px;margin-bottom:20px}.ex-v3 .ex-period input,.ex-v3 #executive-cf input{font-size:11px;padding:8px;border:1px solid #d8e1d3;border-radius:6px;min-height:36px;background:#fff}.ex-v3 .ex-cf-stat>strong{font-size:clamp(21px,2.6vw,36px);letter-spacing:-1px;overflow-wrap:anywhere}.ex-v3 .ex-cf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.ex-v3 .ex-cf-grid>div{background:#f3f6ee;border-radius:8px;padding:16px}.ex-v3 .ex-cf-grid strong{display:block;font-size:20px;margin-top:12px;color:#254d38}.ex-v3 .ex-cf-grid>div:nth-child(4){background:#e1ebd2}.ex-v3 #executive-cf>span{font-size:11px;color:#64735e}
.ex-v3 .ex-trend-summary,.ex-v3 .ex-compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.ex-v3 .ex-trend-summary>div,.ex-v3 .ex-compare-grid article{background:#f0f5e9;padding:18px;border-radius:10px}.ex-v3 .ex-trend-summary strong{display:block;font-size:20px;letter-spacing:-.5px;margin-top:10px}.ex-v3 .ex-trend-scroll{overflow:auto}.ex-v3 .ex-trend-svg{display:block;width:100%;min-width:580px;height:auto;background:#fafcf6;border-radius:10px}.ex-v3 .ex-zero{stroke:#9da995;stroke-width:1;stroke-dasharray:4 4}.ex-v3 .ex-trend-area{fill:#a4bc7b;fill-opacity:.18}.ex-v3 .ex-trend-line{fill:none;stroke:#2c6248;stroke-width:3;stroke-linejoin:round}.ex-v3 .ex-trend-dot{fill:#2c6248;stroke:#fff;stroke-width:2}.ex-v3 .ex-negative-dot{fill:#a34e34;stroke:#fff;stroke-width:2}.ex-v3 .ex-axis-text{fill:#586b50;font-size:10px}.ex-v3 .ex-sales-comparison{border-top:1px solid #e0e7d8;padding-top:18px;margin-bottom:24px}.ex-v3 .ex-comparison-title{display:flex;justify-content:space-between;gap:12px;font-size:12px;flex-wrap:wrap}.ex-v3 .ex-comparison-title>span{font-size:10px;color:#63765a}.ex-v3 .ex-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-v3 .ex-compare-grid article>span{font-size:11px}.ex-v3 .ex-compare-number{display:flex;align-items:center;gap:14px;margin-top:12px;flex-wrap:wrap}.ex-v3 .ex-compare-number strong{font-size:32px;font-weight:500}.ex-v3 .ex-compare-number span{font-size:11px;color:#4f6840}.ex-v3 .ex-compare-grid p{font-size:10px;color:#63765a}.ex-v3 .ex-compare-grid dl>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin:8px 0}.ex-v3 .ex-compare-grid dd{margin:0;font-weight:600}@media(max-width:700px){.ex-v3 .ex-trend-summary{grid-template-columns:1fr}.ex-v3 .ex-compare-grid{grid-template-columns:1fr}.ex-v3 .ex-trend-summary strong{font-size:18px}}
.ex-v3 .ex-trend-help{margin:14px 0}.ex-v3 .ex-trend-help summary{font-size:11px;color:#526a43;cursor:pointer;min-height:28px;padding:5px 0}
.ex-v3 .ex-cf-point{cursor:pointer;outline:none}.ex-v3 .ex-point-hit{fill:transparent}.ex-v3 .ex-cf-point:hover .ex-point-hit,.ex-v3 .ex-cf-point:focus-visible .ex-point-hit{fill:#91ad6350;stroke:#41633c;stroke-width:2}.ex-v3 .ex-week-detail:not(:empty){border:1px solid #d5dfca;background:#fafcf6;border-radius:10px;padding:20px;margin:16px 0}.ex-v3 .ex-week-detail:focus{outline:2px solid #7f9e5f;outline-offset:2px}.ex-v3 .ex-week-equation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.ex-v3 .ex-week-equation>span{font-size:10px;padding:12px;background:#edf3e6;border-radius:7px}.ex-v3 .ex-week-equation b{display:block;font-size:15px;margin-top:8px}.ex-v3 .ex-week-equation .ex-week-deficit{background:#f8e5db;color:#91482d}.ex-v3 .ex-week-detail section{margin-top:20px}.ex-v3 .ex-week-detail h4{font-size:14px}.ex-v3 .ex-week-detail table td{white-space:normal}.ex-v3 .ex-week-detail .table-wrap{overflow:auto}@media(max-width:700px){.ex-v3 .ex-week-equation{grid-template-columns:1fr 1fr}.ex-v3 .ex-week-detail:not(:empty){padding:14px}}
.ex-v3 .ex-gridline{stroke:#dce4d3;stroke-width:1}.ex-v3 .ex-axis-text{font-size:11px}.ex-v3 .ex-week-detail button{font-size:11px;padding:8px;white-space:normal}.ex-v3 .ex-week-detail td{min-width:90px}tr[id^="cf-source-"]:focus,article[id^="cf-source-"]:focus{outline:3px solid #8ba65e;outline-offset:3px;background:#f2f7e9}
.executive-shell .ex-v3 button.ex-sales-value{display:inline;background:transparent;border:0;border-radius:3px;padding:0;min-height:24px;color:inherit;font:inherit;text-align:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:#91a67c;text-underline-offset:4px}.executive-shell .ex-v3 button.ex-sales-value:hover{color:#2c6248;text-decoration-thickness:2px}.executive-shell .ex-v3 button.ex-sales-value:focus-visible{outline:3px solid #a56120;outline-offset:4px}
.executive-shell .ex-v3 .ex-own-tasks{margin-bottom:28px;border-top:3px solid #496f47}.ex-v3 .ex-own-task{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-top:1px solid #e2e8da}.ex-v3 .ex-own-task strong{font-size:13px;overflow-wrap:anywhere}.ex-v3 .ex-own-task small{font-size:10px;margin-top:5px}.ex-v3 .ex-own-task button{font-size:11px;flex-shrink:0}.ex-v3 .ex-project-comparison{margin:18px 0 4px}.ex-v3 .ex-project-comparison .table-wrap{overflow:auto}.ex-v3 .ex-project-comparison th,.ex-v3 .ex-project-comparison td{font-size:11px;white-space:normal;padding:10px 8px;min-width:90px}.ex-v3 .ex-project-comparison td small{font-size:9px;margin-top:5px}.ex-v3 .ex-project-comparison th{letter-spacing:0;text-transform:none}.ex-v3 .ex-project-comparison th:first-child{min-width:110px}@media(max-width:700px){.ex-v3 .ex-own-task{align-items:start;flex-direction:column}}
.ex-v3 .ex-demo-plan{display:grid;gap:7px;border:1px dashed #8a9e6b;background:#f2f7e8;border-radius:7px;padding:12px;margin-bottom:12px}.ex-v3 .ex-demo-plan strong{font-size:10px;letter-spacing:.6px}.ex-v3 .ex-demo-plan span{font-size:11px}.ex-v3 .ex-demo-unfavorable{border-color:#c28c6f;background:#fff0e6;color:#8e492e}.ex-v3 .ex-demo-favorable{color:#3f642d}
.ex-v3 .ex-project-example-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}.ex-v3 .ex-project-example-filter label{font-size:11px;flex:1;min-width:180px}.ex-v3 .ex-project-example-filter select{max-width:100%;font-size:12px}.ex-v3 .ex-project-example-filter button{font-size:11px}

.ex-v3 .ex-margin-detail{border-top:2px solid #b8c9bb;margin-top:1.2rem;padding-top:1rem;background:#f5f8f3}.ex-v3 .ex-margin-detail h4{margin:1rem 0 .5rem}.ex-v3 .ex-margin-detail:focus{outline:2px solid #3b755e;outline-offset:4px}

.ex-v3 .ex-cost-share{display:inline-flex;flex-direction:column;gap:6px;min-width:68px;vertical-align:middle;font-variant-numeric:tabular-nums}.ex-v3 .ex-cost-share-track{display:block;width:68px;height:6px;overflow:hidden;border-radius:99px;background:#dce5d9}.ex-v3 .ex-cost-share-bg{fill:#dce5d9}.ex-v3 .ex-cost-share-fill{fill:#527b48}@media(forced-colors:active){.ex-v3 .ex-cost-share-track{border:1px solid CanvasText}.ex-v3 .ex-cost-share-fill{fill:Highlight;forced-color-adjust:none}}

.ex-v3 .ex-fullcost td:nth-child(2){white-space:nowrap;min-width:105px}.ex-v3 .ex-fullcost th{text-transform:none;letter-spacing:0}.ex-v3 .ex-fullcost dl{margin:12px 0}.ex-v3 .ex-fullcost dl>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-top:1px solid #dce5d4;font-size:12px}.ex-v3 .ex-fullcost dd{margin:0;font-weight:650;white-space:nowrap}

.ex-v3 #ex-demo-material .table-wrap{overflow:auto}.ex-v3 #ex-demo-material table{min-width:0;width:100%}.ex-v3 #ex-demo-material th,.ex-v3 #ex-demo-material td{padding:10px 7px}.ex-v3 #ex-demo-material td{white-space:normal}

.ex-v3 .ex-fullcost,.ex-v3 #ex-demo-material{min-width:0;max-width:100%}

.ex-v3 .ex-category-comparison{min-width:0;margin:10px 0 18px;border-bottom:1px solid #dce5d4;padding-bottom:14px}.ex-v3 .ex-category-comparison .table-wrap{overflow:auto}.ex-v3 .ex-category-comparison td{white-space:nowrap}.ex-v3 .ex-category-comparison .ex-cost-overrun{color:#91482d}.ex-v3 .ex-category-comparison .ex-cost-saving{color:#3e6837}

.ex-v3 .ex-cost-alert{display:grid;gap:9px;background:#fff0e4;border-left:3px solid #a85832;border-radius:6px;padding:13px 14px;margin:12px 0;color:#844025}.ex-v3 .ex-cost-alert>span{font-size:10px;letter-spacing:.35px}.ex-v3 .ex-cost-alert button{display:flex;align-items:center;gap:12px;flex-wrap:wrap;text-align:left;padding:0;border:0;border-radius:2px;background:transparent;color:inherit}.ex-v3 .ex-cost-alert button strong{font-size:13px}.ex-v3 .ex-cost-alert button b{font-size:16px;font-variant-numeric:tabular-nums}.ex-v3 .ex-cost-alert button span{font-size:10px;text-decoration:underline}.ex-v3 .ex-cost-alert-clear{border-color:#72935a;background:#eef5e5;color:#43623b;font-size:11px}

.ex-v3 .ex-cost-alert-percent{font-style:normal;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;padding:3px 7px;border-radius:5px;background:#f4d9c4}.ex-v3 .ex-cost-alert>small{font-size:10px;line-height:1.5}

.ex-v3 .ex-active-project-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0;padding:12px;background:#edf3e5;border:1px solid #cad9bd;border-radius:10px}.ex-v3 .ex-active-project-filters>strong{font-size:11px;color:#385334;width:100%}.executive-shell .ex-v3 .ex-active-project-filters button{display:inline-flex;align-items:center;gap:12px;max-width:100%;min-height:36px;padding:7px 12px;border:1px solid #a3bd91;border-radius:20px;background:#fff;color:#294b28;font-size:12px;text-align:left}.ex-v3 .ex-active-project-filters button span:first-child{overflow-wrap:anywhere}.ex-v3 .ex-active-project-filters button span:last-child{font-size:20px;line-height:1}.ex-v3 .ex-active-project-filters button:hover{background:#e0ebd8}.ex-v3 .ex-active-project-filters button:focus-visible{outline:2px solid #345f33;outline-offset:3px}

/* Financial read-only overview: partial data, no operational dashboard fallback. */
.financial-dashboard .ex-scoreboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}
.financial-dashboard .ex-scoreboard>article,.financial-dashboard .ex-panel{padding:24px;border:1px solid #dce4da;border-radius:16px;background:#fff;margin-bottom:18px}
.financial-dashboard .ex-scoreboard>article>strong{display:block;margin:14px 0;font-size:24px;color:#234b38;line-height:1.3}
.financial-dashboard .ex-scoreboard>article>span{display:block;font-size:11px;letter-spacing:.08em;color:#52665a}
.financial-dashboard .ex-profit>strong{font-size:32px!important}
.financial-dashboard p,.financial-dashboard li{line-height:1.65}
.financial-dashboard .ex-heading h2{font-size:32px;letter-spacing:-.03em;margin:14px 0}
.financial-dashboard .ex-kicker{font-size:11px;letter-spacing:.1em;color:#52665a}
.financial-dashboard .actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
@media(max-width:900px){.financial-dashboard .ex-scoreboard{grid-template-columns:1fr}.financial-dashboard .ex-scoreboard>article{margin-bottom:0}.financial-dashboard .ex-panel{padding:20px}}
.hr-tabs,.hr-shortcuts{display:flex;flex-wrap:wrap;gap:8px}.hr-toolbar form{margin:20px 0}.hr-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.hr-form-grid input,.hr-form-grid select{min-width:0;width:100%}#dialog dd{margin:0 0 12px;overflow-wrap:anywhere}#dialog dt{font-weight:600}
@media(max-width:700px){.hr-form-grid{grid-template-columns:1fr}.hr-tabs button{flex:1 1 45%}}
.hr-source-row{border-top:1px solid var(--line,#dfe5e3);padding:18px 0}.hr-source-row h4{margin:0 0 8px}.hr-source-row details{margin-top:12px}.hr-source-row select{max-width:100%}#hr-source-workspace textarea{font-family:monospace;white-space:pre;overflow:auto}
#hr-source-form label{display:block;font-size:13px;margin:16px 0 8px}#hr-source-form input,#hr-source-form select,#hr-source-form textarea{display:block;width:100%;min-width:0;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:white;color:inherit}#hr-source-form textarea{min-height:160px;resize:vertical}#hr-source-form .actions{margin:18px 0}#hr-source-workspace summary{cursor:pointer}

.schedule-export-image{overflow:auto;max-height:45vh;margin:16px 0}.schedule-export-image canvas{display:block;max-width:100%;height:auto;border:1px solid #bbc4bd}#schedule-export-text{width:100%;font-family:monospace}

.allocation-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:16px 0;padding:16px;border:1px solid #cdd6cd;border-radius:10px}.allocation-row legend{font-weight:600}.allocation-row label{min-width:0}
/* Excel receipts: readable batch preview and separate invoice sources. */
dialog:has(form[data-kind="stock-import-confirm"]){width:1000px}
.stock-import-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0 20px}
dialog form[data-kind^="stock-import"] input[type="checkbox"],dialog input[name="inventoryPlanned"]{display:inline-block;width:auto;margin:0 8px 0 0}
