.project-detail-shell{display:grid;gap:16px;padding:20px 24px 28px}.catalog-head-subtitle{display:block;margin-top:4px;color:var(--muted);font-size:.86rem;font-weight:780}.project-detail-head .status-pill{justify-self:end}.project-work-header{display:grid;gap:16px;border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:rgba(255,255,255,.95);box-shadow:var(--shadow-soft)}.project-work-header-actions,.project-work-header-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-work-header-top h1{margin:4px 0;color:var(--foreground);font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.05}.project-work-header-top p{display:flex;flex-wrap:wrap;gap:6px 12px;margin:0;color:var(--muted);font-size:.82rem;font-weight:760}.project-work-header-top p span{min-width:0;overflow-wrap:anywhere}.project-work-header-actions{align-items:center;justify-content:flex-end;flex-wrap:wrap}.project-work-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.project-work-metrics div{min-width:0;display:grid;gap:3px;border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:var(--surface-soft)}.project-work-metrics dt{color:var(--muted);font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.project-work-metrics dd{min-width:0;margin:0;color:var(--foreground);font-size:1.08rem;font-weight:920;overflow-wrap:anywhere}.project-compact-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.project-compact-progress-step{min-width:0;position:relative;display:grid;justify-items:center;gap:5px;text-align:center}.project-compact-progress-step>span{width:12px;height:12px;display:block;border-radius:999px;background:var(--line)}.project-compact-progress-step>em{position:absolute;top:5px;left:calc(50% + 10px);right:calc(-50% + 10px);height:2px;border-radius:999px;background:var(--line)}.project-compact-progress-step>strong{color:var(--muted);font-size:.68rem;font-weight:820;line-height:1.1}.project-compact-progress-step[data-done=true]>em,.project-compact-progress-step[data-done=true]>span{background:#16a34a}.project-compact-progress-step[data-active=true]>span{background:var(--primary);box-shadow:0 0 0 4px rgba(46,107,255,.16)}.project-compact-progress-step[data-active=true]>strong{color:var(--primary-strong)}.project-work-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);overflow-x:auto}.project-work-tabs a{min-width:0;display:flex;align-items:center;gap:9px;border-bottom:2px solid transparent;padding:10px 18px 11px;color:var(--muted-strong);font-weight:840;white-space:nowrap}.project-work-tabs a[data-active=true]{border-bottom-color:var(--primary);color:var(--primary-strong)}.project-work-tabs a:hover{color:var(--foreground);background:var(--surface-soft)}.project-work-tabs .project-folder-nav-icon{width:30px;height:30px}.project-work-tabs em,.project-work-tabs strong{display:block}.project-work-tabs strong{font-size:.9rem;line-height:1.05}.project-work-tabs em{margin-top:2px;color:var(--muted);font-size:.68rem;font-style:normal}.project-folder-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.project-folder-nav a{min-width:0;min-height:82px;display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;border:1px solid var(--line);border-radius:var(--radius);padding:11px 12px;background:rgba(255,255,255,.92);color:var(--foreground);box-shadow:var(--shadow-soft)}.project-folder-nav a[data-active=true]{border-color:rgba(46,107,255,.56);background:var(--surface-tint);box-shadow:inset 0 -2px 0 var(--primary),var(--shadow-soft)}.project-folder-nav a:hover{border-color:var(--primary);background:var(--surface-soft)}.project-folder-nav-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:var(--primary-soft);color:var(--primary)}.project-folder-nav-icon svg{width:17px;height:17px}.project-folder-nav small,.project-folder-section-head span:first-child,.project-panel-title span{display:block;color:var(--muted);font-size:.68rem;font-style:normal;font-weight:900;letter-spacing:.08em;line-height:1.1;text-transform:uppercase}.project-folder-nav strong{display:block;margin-top:3px;color:var(--foreground);font-size:.96rem;line-height:1.08;overflow-wrap:anywhere}.project-folder-nav em{display:block;margin-top:5px;color:var(--muted-strong);font-size:.74rem;font-style:normal;font-weight:760;overflow-wrap:anywhere}.project-work-folder{display:grid;gap:12px;scroll-margin-top:92px}.project-site-shell{grid-template-columns:minmax(0,1.55fr) minmax(320px,.78fr);align-items:start}.project-site-main,.project-site-shell,.project-site-side{display:grid;gap:12px}.project-site-shell .project-folder-section-head{padding:0 2px}.project-site-shell .project-work-folder{gap:10px}.project-folder-section-head{display:flex;align-items:end;justify-content:space-between;gap:14px}.project-folder-section-head h2,.project-panel-title h2{margin:2px 0 0;color:var(--foreground);font-size:1.22rem;line-height:1.05}.project-folder-section-head>span{color:var(--muted-strong);font-size:.86rem;font-weight:820;text-align:right}.project-detail-hero,.project-detail-lines{border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.92);box-shadow:var(--shadow-soft)}.project-detail-hero{display:grid;gap:14px;padding:18px}.project-detail-hero>div:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:var(--muted);font-size:.84rem;font-weight:760}.project-detail-hero>strong{font-size:clamp(1.8rem,4vw,3.4rem);line-height:.98}.project-detail-hero>p{max-width:860px;margin:0;color:var(--muted-strong);overflow-wrap:anywhere}.project-detail-hero dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.project-detail-hero dl div{display:grid;gap:5px;border:1px solid var(--line);border-radius:var(--radius);padding:12px;background:var(--surface-soft)}.project-detail-hero dt{color:var(--muted);font-size:.78rem;font-weight:780}.project-detail-hero dd{margin:0;color:var(--foreground);font-weight:850;overflow-wrap:anywhere}.project-detail-grid{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:12px}.project-detail-grid--home{grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr)}.project-detail-grid--wide{grid-template-columns:minmax(0,1fr) minmax(280px,.72fr)}.project-dashboard-overview{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.45fr);gap:12px}.project-dashboard-overview>.project-calendar-panel,.project-dashboard-overview>.project-diary-panel{grid-row:span 2}.project-panel-title{display:flex;align-items:center;gap:10px}.project-panel-title--split{justify-content:space-between}.project-expense-panel .project-panel-title>span,.project-panel-title--split>span{color:var(--muted-strong);font-size:.78rem;font-weight:820}.project-economy-card{gap:12px}.project-economy-card .project-panel-title strong{color:var(--primary-strong);font-size:1rem;white-space:nowrap}.project-economy-bars{height:118px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;padding:8px 4px 0}.project-economy-bars span{min-height:8px;border-radius:7px 7px 0 0;background:var(--line)}.project-economy-bars span:nth-child(2){background:var(--primary)}.project-economy-bars span:nth-child(3){background:#ef4444;opacity:.78}.project-economy-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.project-economy-list div{min-width:0;display:grid;gap:2px}.project-economy-list dt{color:var(--muted);font-size:.68rem;font-weight:860;text-transform:uppercase}.project-economy-list dd{margin:0;color:var(--foreground);font-size:.88rem;font-weight:900;overflow-wrap:anywhere}:root[data-theme=dark] .project-checklist-item,:root[data-theme=dark] .project-compact-list li,:root[data-theme=dark] .project-diary-list article,:root[data-theme=dark] .project-economy-bars span,:root[data-theme=dark] .project-expense-list article,:root[data-theme=dark] .project-phase-card,:root[data-theme=dark] .project-work-header,:root[data-theme=dark] .project-work-metrics div,:root[data-theme=dark] .project-work-tabs a:hover{background:var(--surface)}:root[data-theme=dark] .project-work-tabs a[data-active=true]{border-bottom-color:#6f9cf4;color:#eef4ff}:root[data-theme=dark] .project-compact-progress-step[data-active=true]>span,:root[data-theme=dark] .project-work-tabs a[data-active=true] .project-folder-nav-icon{background:#233f6e;color:#eef4ff}:root[data-theme=dark] .project-compact-progress-step[data-active=true]>strong,:root[data-theme=dark] .project-economy-card .project-panel-title strong,:root[data-theme=dark] .project-expense-list em,:root[data-theme=dark] .project-phase-head em{color:#9bbcff}.project-calendar-panel,.project-progress-panel{align-content:start}.project-calendar-panel--legacy{gap:12px}.project-calendar-actions,.project-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-calendar-actions{flex-wrap:wrap;justify-content:flex-end}.project-calendar-actions form{margin:0}.project-calendar-actions .secondary-action,.project-calendar-actions .status-pill{min-height:34px}.project-calendar-add-form{display:grid;grid-template-columns:minmax(128px,.45fr) minmax(104px,.34fr) minmax(92px,.3fr) minmax(180px,.8fr) minmax(190px,.78fr) minmax(220px,1fr) auto;align-items:end;gap:8px;border:1px solid var(--line);border-radius:var(--radius);padding:10px;background:var(--surface-soft)}.project-calendar-add-form label{min-width:0;display:grid;gap:4px}.project-calendar-add-form label span{color:var(--muted);font-size:.68rem;font-weight:860;letter-spacing:.06em;text-transform:uppercase}.project-calendar-add-form input{width:100%;min-width:0;min-height:34px;border:1px solid var(--line);border-radius:6px;padding:0 8px;background:var(--surface);color:var(--foreground);font-size:.78rem;font-weight:740}.project-calendar-add-form .primary-action{min-height:34px;padding:0 12px;font-size:.78rem}.project-calendar-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.project-calendar-strip>div{min-width:0;display:grid;gap:3px;border:1px solid var(--line);border-radius:8px;padding:8px;background:rgba(255,255,255,.76)}.project-calendar-strip>div.has-events{border-color:rgba(46,107,255,.32);background:rgba(46,107,255,.08)}.project-calendar-strip small,.project-calendar-strip span{color:var(--muted);font-size:.7rem;font-weight:780}.project-calendar-strip strong{color:var(--foreground);font-size:1.1rem;line-height:1}.project-event-list{display:grid;gap:8px}.project-event-card,.project-event-empty{min-width:0;display:grid;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.84)}.project-event-card{grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px}.project-event-date{width:52px;height:52px;display:grid;place-items:center;gap:0;border:1px solid rgba(46,107,255,.18);border-radius:8px;background:var(--primary-soft)}.project-event-date strong{color:var(--primary-strong);font-size:1.1rem;line-height:1}.project-event-date span{color:var(--muted);font-size:.68rem;font-weight:850;line-height:1}.project-event-card>div:nth-child(2){min-width:0;display:grid;gap:3px}.project-event-card p,.project-event-card small,.project-event-card span,.project-event-card strong{min-width:0;margin:0;overflow-wrap:anywhere}.project-event-card p,.project-event-card small,.project-event-card span{color:var(--muted)}.project-event-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.project-event-actions form{margin:0}.project-event-actions .icon-action,.project-event-actions .secondary-action{min-height:34px}.project-event-empty{gap:4px;padding:18px;color:var(--muted)}.project-event-empty strong{color:var(--foreground)}.project-mini-row--split{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.project-mini-row--split>div{min-width:0;display:grid;gap:5px}.project-diary-panel,.project-next-step-panel{align-content:start;gap:10px}.project-compact-list,.project-diary-list,.project-expense-list,.project-phase-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.project-compact-list li,.project-diary-list article,.project-expense-list article,.project-phase-card{min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px;background:var(--surface-soft)}.project-compact-list li{display:grid;gap:3px}.project-checklist-item small,.project-compact-list li span,.project-diary-list article span,.project-expense-list article span,.project-phase-head span{color:var(--muted);font-size:.72rem;font-weight:780}.project-compact-list li strong,.project-diary-list article strong{color:var(--foreground);font-size:.88rem;line-height:1.18}.project-compact-list li[data-done=true]{border-color:rgba(22,101,52,.16);background:rgba(22,163,74,.08)}.project-diary-form,.project-expense-form{display:grid;align-items:center;gap:8px}.project-diary-form{grid-template-columns:132px minmax(0,1fr) 88px}.project-expense-form{grid-template-columns:150px 120px 144px minmax(0,1fr) 88px}.project-diary-form input,.project-diary-form select,.project-expense-form input,.project-expense-form select{width:100%;min-width:0;min-height:34px;border:1px solid var(--line);border-radius:6px;padding:0 8px;background:var(--surface);color:var(--foreground);font-size:.78rem;font-weight:740}.project-diary-form .secondary-action,.project-expense-form .secondary-action{min-height:34px;padding:0 10px;font-size:.76rem}.project-expense-panel,.project-phase-panel{gap:12px}.project-phase-card{display:grid;gap:10px}.project-phase-card[data-active=true]{border-color:rgba(46,107,255,.38);background:rgba(46,107,255,.06)}.project-phase-card[data-completed=true]{border-color:rgba(22,101,52,.18);background:rgba(22,163,74,.08)}.project-expense-list article,.project-phase-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-expense-list article>div,.project-phase-head>div{min-width:0;display:grid;gap:3px}.project-expense-list strong,.project-phase-head strong{color:var(--foreground)}.project-expense-list em,.project-phase-head em{color:var(--primary-strong);font-style:normal;font-weight:900;white-space:nowrap}.project-checklist{display:grid;gap:6px}.project-checklist form{margin:0}.project-checklist-item{width:100%;min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr) 120px;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:8px;background:var(--surface);color:var(--foreground);text-align:left;cursor:pointer}.project-checklist-item>span{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;color:var(--primary-strong);font-size:.62rem;font-weight:900}.project-checklist-item strong{min-width:0;font-size:.82rem;overflow-wrap:anywhere}.project-checklist-item[data-checked=true]{border-color:rgba(22,101,52,.18);background:rgba(22,163,74,.08)}.project-phase-complete{justify-self:start;min-height:34px;padding:0 12px;font-size:.78rem}.project-progress-copy{display:flex;align-items:end;justify-content:space-between;gap:10px}.project-progress-copy span{color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase}.project-progress-copy strong{color:var(--foreground);font-size:1.55rem;line-height:1}.project-progress-track{height:10px;overflow:hidden;border-radius:999px;background:var(--surface-soft)}.project-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),var(--accent))}.project-economics-grid,.project-status-grid{display:grid;gap:10px}.project-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.project-economics-grid article,.project-status-grid div{min-width:0;display:grid;gap:4px;border:1px solid var(--line);border-radius:var(--radius);padding:10px;background:rgba(255,255,255,.88)}.project-economics-grid span,.project-status-grid dt{color:var(--muted);font-size:.72rem;font-weight:840;text-transform:uppercase}.project-economics-grid strong,.project-status-grid dd{min-width:0;margin:0;color:var(--foreground);font-size:.96rem;font-weight:900;overflow-wrap:anywhere}.project-detail-actions--inline{justify-content:flex-start}.project-economics-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.project-detail-lines{overflow:hidden}.project-detail-line,.project-detail-line-head{display:grid;grid-template-columns:minmax(260px,1.45fr) 116px 184px 76px 110px 110px;align-items:center;gap:12px}.project-detail-line-head{background:var(--surface-soft);color:var(--muted);font-size:.78rem;font-weight:780}.project-detail-line,.project-detail-line-head{padding:12px 14px;border-bottom:1px solid var(--line)}.project-detail-line{min-height:88px;color:var(--muted-strong);font-size:.86rem}.project-detail-line:last-child{border-bottom:0}.project-detail-line>div{min-width:0;display:grid;gap:3px}.project-detail-line p,.project-detail-line small,.project-detail-line strong{min-width:0;margin:0;overflow-wrap:anywhere}.project-detail-line strong{color:var(--foreground)}.project-detail-line p,.project-detail-line small{color:var(--muted)}.project-material-lines .project-detail-line-head,.project-material-lines .project-material-line{grid-template-columns:minmax(240px,1fr) minmax(104px,.42fr) minmax(78px,.26fr) minmax(190px,.62fr)}.project-material-line{align-items:start;min-height:68px}.project-material-product{min-width:0;display:grid;gap:3px}.project-material-product small{color:var(--muted)}.project-material-kit-pill{align-self:center;justify-self:start}.project-material-components{grid-column:1/-1;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.project-material-components summary{cursor:pointer;padding:8px 10px;color:var(--foreground);font-size:.78rem;font-weight:850}.project-material-components-list{display:grid;border-top:1px solid var(--line)}.project-material-component-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(78px,.24fr) minmax(190px,.58fr);align-items:center;gap:10px;padding:9px 10px;border-bottom:1px solid var(--line)}.project-material-component-row:last-child{border-bottom:0}.project-material-component-row>div{min-width:0;display:grid;gap:3px}.project-material-component-row .project-material-components{grid-column:1/-1}.project-material-status-form{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 56px;align-items:end;gap:6px}.project-material-status-form label{min-width:0;display:grid;gap:4px}.project-material-status-form label span{color:var(--muted);font-size:.72rem;font-weight:780;overflow-wrap:anywhere}.project-material-status-form select{width:100%;min-width:0;min-height:34px;border:1px solid var(--line);border-radius:6px;padding:0 8px;background:var(--surface);color:var(--foreground);font-size:.8rem;font-weight:760}.project-material-status-form .secondary-action{min-height:34px;padding:0 8px;font-size:.74rem}.ddt-line-edit-form{grid-column:3/6;min-width:0;display:grid;grid-template-columns:minmax(104px,1fr) 58px 78px 48px 62px;align-items:end;gap:6px}.ddt-line-edit-form label{min-width:0;display:grid;gap:4px}.ddt-line-edit-form label span{color:var(--muted);font-size:.72rem;font-weight:780;overflow-wrap:anywhere}.ddt-line-edit-form input,.ddt-line-edit-form select{width:100%;min-width:0;min-height:34px;border:1px solid var(--line);border-radius:6px;padding:0 8px;background:var(--surface);color:var(--foreground);font-size:.8rem;font-weight:760}.ddt-line-edit-form .secondary-action{min-height:34px;padding:0 8px;font-size:.74rem}.ddt-line-remove{color:#991b1b}.project-list-panel{gap:10px}.project-file-upload-form{display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:end;gap:8px;border-top:1px solid var(--line);padding-top:10px}.project-file-upload-form label{min-width:0;display:grid;gap:5px}.project-file-upload-form label span{color:var(--muted);font-size:.78rem;font-weight:780}.project-file-upload-form input{width:100%;min-width:0;min-height:38px;border:1px solid var(--line);border-radius:6px;padding:7px 8px;background:var(--surface);color:var(--foreground);font-size:.82rem;font-weight:720}.project-file-upload-form .secondary-action{min-height:38px;padding:0 8px;font-size:.78rem}.project-mini-row{display:grid;gap:5px;border-top:1px solid var(--line);padding-top:10px}.project-mini-row:first-of-type{border-top:0;padding-top:0}.project-mini-row p,.project-mini-row small,.project-mini-row span,.project-mini-row strong{min-width:0;margin:0;overflow-wrap:anywhere}.project-mini-row p,.project-mini-row small{color:var(--muted)}.project-mini-row form{display:grid;justify-items:start}.project-mini-row .danger-action{width:auto;min-height:32px;border-color:rgba(153,27,27,.18);color:#991b1b;padding:0 10px;font-size:.78rem}.project-detail-empty{padding:22px;color:var(--muted)}.status-pill[data-status=in_stock],.status-pill[data-status=installed],.status-pill[data-status=issued],.status-pill[data-status=synced]{border-color:rgba(22,101,52,.18);background:#ecfdf3;color:#166534}.status-pill[data-status=ordered]{border-color:rgba(180,83,9,.18);background:#fff7ed;color:#9a3412}.status-pill[data-status=cancelled],.status-pill[data-status=missing]{border-color:rgba(185,28,28,.18);background:#fef2f2;color:#991b1b}.ddt-form-window{display:grid;grid-template-columns:minmax(0,.9fr) minmax(320px,.55fr);gap:14px}.ddt-form-card{align-content:start;gap:12px}.ddt-form-card--identity{min-height:220px}.ddt-document-form-head,.ddt-form-card-head,.ddt-product-entry-panel{display:flex;align-items:center;justify-content:space-between;gap:12px}.ddt-form-card-head{justify-content:flex-start}.ddt-document-form-head h2,.ddt-form-card-head h2,.ddt-product-entry-panel h2{margin:0;font-size:1.08rem}.ddt-document-form-head .eyebrow,.ddt-form-card-head .eyebrow,.ddt-product-entry-panel .eyebrow{margin:0 0 3px}.ddt-form-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--primary),transparent 50%);border-radius:10px;background:var(--primary-soft);color:var(--primary)}.ddt-form-icon svg{width:18px;height:18px}.ddt-form-grid{grid-template-columns:minmax(170px,.55fr) minmax(140px,.45fr)}.ddt-form-preview{grid-row:span 3;min-height:100%;border:1px solid var(--line);border-radius:var(--radius);padding:14px;background:linear-gradient(180deg,var(--surface),var(--surface-soft));box-shadow:var(--shadow-soft)}.ddt-paper-preview{min-height:420px;display:grid;align-content:start;gap:22px;margin-top:8px;border:1px solid var(--line);border-radius:14px;padding:18px;background:var(--surface)}.ddt-paper-preview dl,.ddt-paper-preview>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.ddt-paper-preview h2{margin:0;font-size:1.8rem;line-height:1}.ddt-paper-preview dl{margin:0}.ddt-paper-preview dl div{min-width:0;flex:1 1;border:1px solid var(--line);border-radius:10px;padding:10px;background:var(--surface-soft)}.ddt-paper-preview dt{color:var(--muted);font-size:.72rem;font-weight:850;text-transform:uppercase}.ddt-paper-preview dd{margin:3px 0 0;font-weight:860}.ddt-paper-preview p{margin:0;color:var(--muted-strong)}.ddt-form-actions{grid-column:1/-1}.ddt-document-form{gap:12px}.ddt-document-form-head>strong{color:var(--primary);font-size:.96rem}.ddt-operational-form-grid--document{grid-template-columns:minmax(150px,.28fr) minmax(140px,.22fr) minmax(220px,1fr)}.ddt-document-form .quote-client-picker{border:1px solid var(--line);border-radius:var(--radius);padding:12px;background:var(--surface-soft)}.ddt-product-entry-panel{border:1px solid var(--line);border-radius:var(--radius);padding:14px;background:var(--surface);box-shadow:var(--shadow-soft)}.ddt-product-entry-panel>div{display:grid;gap:3px}.ddt-product-entry-panel span:not(.eyebrow){color:var(--muted);font-size:.84rem;font-weight:760}.ddt-product-modal-toolbar{grid-template-columns:auto minmax(260px,1fr) minmax(150px,.42fr) minmax(150px,.42fr) 96px 160px minmax(190px,.5fr)}.ddt-product-modal-checkbox{min-height:42px;align-self:end}.ddt-product-modal .quote-product-modal-window{max-width:1180px}.ddt-form-shell{max-width:1240px;margin-inline:auto}.ddt-form-window--modern{grid-template-columns:minmax(0,1fr) minmax(340px,.56fr);gap:22px;align-items:start;border:0;background:transparent;box-shadow:none}.ddt-form-main-column{min-width:0;display:grid;gap:18px}.ddt-form-window--modern .ddt-form-card,.ddt-form-window--modern .ddt-form-preview{border-color:color-mix(in srgb,var(--line) 72%,transparent);border-radius:22px;box-shadow:none}.ddt-form-window--modern .ddt-form-card{padding:18px;background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 96%,transparent),color-mix(in srgb,var(--surface-soft) 66%,transparent)),var(--surface)}.ddt-form-card--identity{min-height:auto}.ddt-form-card--document{gap:16px}.ddt-form-card-head{gap:11px}.ddt-form-icon{width:42px;height:42px;border-radius:999px;background:color-mix(in srgb,var(--primary) 12%,var(--surface))}.ddt-form-icon svg{width:17px;height:17px}.ddt-form-grid{grid-template-columns:1fr .72fr}.ddt-client-picker{display:grid;gap:12px}.ddt-client-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.ddt-client-manual-grid label,.ddt-client-search-field{display:grid;gap:7px}.ddt-client-search-input-wrap{position:relative;display:block}.ddt-client-search-input-wrap svg{position:absolute;top:50%;left:13px;width:16px;height:16px;color:var(--muted);transform:translateY(-50%);pointer-events:none}.ddt-client-search-input-wrap input{width:100%;padding-left:40px}.ddt-client-manual-toggle{align-self:end;min-height:38px;border:0;border-radius:10px;padding:0 4px;background:transparent;color:var(--primary);font:inherit;font-weight:850;cursor:pointer}.ddt-client-manual-toggle:hover{color:color-mix(in srgb,var(--primary) 80%,var(--foreground))}.ddt-client-search-help{color:var(--muted);font-size:.84rem;line-height:1.45}.ddt-client-suggestions{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.ddt-client-suggestion{display:grid;gap:3px;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 72%,transparent);padding:11px 13px;background:transparent;color:inherit;text-align:left;cursor:pointer}.ddt-client-suggestion:last-child{border-bottom:0}.ddt-client-suggestion:hover{background:color-mix(in srgb,var(--primary) 7%,transparent)}.ddt-client-selected-card span,.ddt-client-suggestion span{color:var(--muted);font-size:.84rem}.ddt-client-selected-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid color-mix(in srgb,var(--primary) 24%,var(--line));border-radius:16px;padding:12px 12px 12px 14px;background:color-mix(in srgb,var(--primary) 7%,var(--surface))}.ddt-client-selected-card>div{min-width:0;display:grid;gap:3px}.ddt-client-selected-card button{width:32px;height:32px;flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--foreground);font-weight:900;cursor:pointer}.ddt-client-manual-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.45fr);gap:10px}.ddt-preview-card{display:grid;gap:13px;padding:18px;background:color-mix(in srgb,var(--surface) 94%,transparent)}.ddt-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ddt-preview-heading h2{margin:0;font-size:1.02rem}.ddt-preview-heading span{border-radius:999px;padding:5px 9px;background:color-mix(in srgb,#10b981 13%,var(--surface));color:#047857;font-size:.72rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.ddt-paper-preview{min-height:430px;margin-top:0;gap:18px;border-radius:20px;padding:22px;background:radial-gradient(circle at 90% 0,color-mix(in srgb,var(--primary) 8%,transparent),transparent 32%),var(--surface);box-shadow:0 18px 46px color-mix(in srgb,var(--foreground) 8%,transparent)}.ddt-paper-brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.ddt-paper-brand-row strong{color:var(--muted-strong);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}.ddt-paper-reference{color:var(--primary);font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-weight:900}.ddt-paper-title-block{display:grid;gap:6px;padding-bottom:18px;border-bottom:1px solid color-mix(in srgb,var(--primary) 20%,var(--line))}.ddt-paper-title-block p{margin:0;color:var(--muted);font-size:.76rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.ddt-paper-title-block h2{margin:0;font-size:clamp(1.8rem,4vw,2.65rem);letter-spacing:-.04em}.ddt-paper-title-block strong{color:var(--muted-strong);font-size:.95rem}.ddt-paper-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.ddt-paper-preview .ddt-paper-meta div{border:0;border-radius:16px;padding:13px;background:color-mix(in srgb,var(--surface-soft) 78%,transparent)}.ddt-paper-body{display:grid;gap:14px;color:var(--muted-strong)}.ddt-paper-body p{line-height:1.58}.ddt-paper-body div{display:grid;gap:5px;border-top:1px solid color-mix(in srgb,var(--line) 72%,transparent);padding-top:12px}.ddt-paper-body span{color:var(--muted);font-size:.76rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.ddt-form-side-actions{display:grid;gap:10px;margin-top:auto;padding-top:4px}.ddt-form-side-actions .page-back-link{justify-content:center}.ddt-form-side-actions .primary-action{width:100%;justify-content:center}.ddt-form-side-actions .primary-action svg{width:16px;height:16px}:root[data-theme=dark] .ddt-paper-preview{background:radial-gradient(circle at 90% 0,color-mix(in srgb,var(--primary) 18%,transparent),transparent 34%),color-mix(in srgb,var(--surface) 92%,#020617);box-shadow:none}:root[data-theme=dark] .ddt-preview-heading span{color:#6ee7b7}@media (max-width:1020px){.ddt-form-window--modern{grid-template-columns:1fr}.ddt-form-card--document{order:-1}}@media (max-width:680px){.ddt-form-window--modern .ddt-form-card,.ddt-form-window--modern .ddt-form-preview{border-radius:18px;padding:14px}.ddt-client-manual-grid,.ddt-client-search-row,.ddt-form-grid{grid-template-columns:1fr}.ddt-paper-preview{min-height:360px;padding:17px}.ddt-paper-meta{grid-template-columns:1fr}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ddt-create-shell{max-width:1500px;margin-inline:auto}.ddt-create-page-head p{margin:3px 0 0;color:var(--muted);font-size:.86rem;font-weight:760}.ddt-create-form{display:grid;gap:12px;border:0;padding:0;background:transparent;box-shadow:none}.ddt-create-card{border:1px solid color-mix(in srgb,var(--line) 84%,transparent);border-radius:16px;background:var(--surface)}.ddt-create-testata{padding:13px}.ddt-create-testata-grid{display:grid;grid-template-columns:minmax(300px,1.55fr) minmax(130px,.45fr) minmax(150px,.5fr) minmax(150px,.5fr) minmax(160px,.58fr);gap:10px;align-items:start}.ddt-create-testata label,.ddt-details-body label{display:grid;gap:5px}.ddt-create-testata label>span,.ddt-details-body label>span,.ddt-summary-list dt{color:var(--muted);font-size:.625rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ddt-create-testata input,.ddt-create-testata select,.ddt-details-body input,.ddt-details-body textarea,.ddt-quick-add-strip input,.ddt-summary-list input{width:100%;border:1px solid color-mix(in srgb,var(--line) 90%,transparent);border-radius:10px;background:var(--surface);color:var(--foreground);font:inherit;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.ddt-create-testata input,.ddt-create-testata select,.ddt-details-body input,.ddt-quick-add-strip input{min-height:38px;padding:8px 10px}.ddt-details-body textarea{min-height:92px;padding:10px;resize:vertical}.ddt-create-testata input:focus,.ddt-create-testata select:focus,.ddt-details-body input:focus,.ddt-details-body textarea:focus,.ddt-lines-table input:focus,.ddt-quick-add-strip input:focus,.ddt-summary-list input:focus{border-color:color-mix(in srgb,var(--primary) 72%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 18%,transparent)}.ddt-create-recipient-cell .ddt-client-picker{gap:8px}.ddt-create-recipient-cell .ddt-client-search-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.ddt-create-recipient-cell .ddt-client-search-input-wrap input{min-height:38px}.ddt-create-recipient-cell .ddt-client-manual-toggle{min-height:38px;border:1px solid color-mix(in srgb,var(--line) 88%,transparent);border-radius:10px;padding-inline:10px;background:var(--surface);color:var(--foreground)}.ddt-create-recipient-cell .ddt-client-manual-grid,.ddt-create-recipient-cell .ddt-client-selected-card,.ddt-create-recipient-cell .ddt-client-suggestions{position:absolute;z-index:8;width:min(520px,100%);margin-top:6px}.ddt-create-recipient-cell .ddt-client-picker{position:relative}.ddt-quick-add-strip{display:grid;grid-template-columns:auto minmax(240px,1fr) auto;gap:12px;align-items:center;border:1px solid color-mix(in srgb,#60a5fa 38%,var(--line));border-radius:16px;padding:12px;background:color-mix(in srgb,#eff6ff 82%,var(--surface))}.ddt-quick-add-strip>div{display:grid;gap:2px}.ddt-quick-add-strip strong{font-size:.95rem}.ddt-quick-add-strip span{color:var(--muted);font-size:.8rem;font-weight:700}.ddt-quick-add-strip .primary-action{min-height:38px;padding-inline:16px}.ddt-create-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(290px,.74fr);gap:14px;align-items:start}.ddt-create-workspace{min-width:0;display:grid;gap:12px}.ddt-lines-card{overflow:hidden}.ddt-lines-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 12px}.ddt-lines-head h2{margin:0;font-size:1rem}.ddt-lines-head span{color:var(--muted);font-size:.82rem;font-weight:760}.ddt-lines-head>strong{font-size:1.1rem}.ddt-lines-table-wrap{overflow-x:auto}.ddt-lines-table{width:100%;min-width:840px;border-collapse:separate;border-spacing:0}.ddt-lines-table th{border-top:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-bottom:1px solid color-mix(in srgb,var(--line) 82%,transparent);padding:9px 8px;background:color-mix(in srgb,var(--surface-soft) 72%,transparent);color:var(--muted);font-size:.68rem;font-weight:900;letter-spacing:.06em;text-align:left;text-transform:uppercase}.ddt-lines-table td{border-bottom:1px solid color-mix(in srgb,var(--line) 76%,transparent);padding:7px 8px;vertical-align:middle}.ddt-lines-table td:first-child,.ddt-lines-table th:first-child{width:36px;padding-left:14px}.ddt-lines-table td:nth-child(3),.ddt-lines-table td:nth-child(4),.ddt-lines-table th:nth-child(3),.ddt-lines-table th:nth-child(4){width:86px}.ddt-lines-table td:nth-child(5),.ddt-lines-table td:nth-child(6),.ddt-lines-table th:nth-child(5),.ddt-lines-table th:nth-child(6){width:126px}.ddt-lines-table td:last-child,.ddt-lines-table th:last-child{width:58px;padding-right:14px;text-align:right}.ddt-line-row input{width:100%;border:1px solid transparent;border-radius:9px;padding:8px;background:transparent;color:var(--foreground);font:inherit;outline:none}.ddt-line-row input::placeholder{color:color-mix(in srgb,var(--muted) 70%,transparent)}.ddt-line-row:hover input{background:color-mix(in srgb,var(--surface-soft) 52%,transparent)}.ddt-line-row--empty td{border-top:1px dashed color-mix(in srgb,#3b82f6 58%,var(--line));border-bottom:1px dashed color-mix(in srgb,#3b82f6 58%,var(--line));background:color-mix(in srgb,#eff6ff 48%,var(--surface))}.ddt-line-row--empty td:first-child{border-left:1px dashed color-mix(in srgb,#3b82f6 58%,var(--line));border-radius:12px 0 0 12px}.ddt-line-row--empty td:last-child{border-right:1px dashed color-mix(in srgb,#3b82f6 58%,var(--line));border-radius:0 12px 12px 0}.ddt-line-handle{display:grid;width:24px;height:24px;place-items:center;border-radius:8px;color:var(--muted);opacity:.38;transition:opacity .16s ease,background .16s ease,color .16s ease}.ddt-line-handle svg{width:15px;height:15px}.ddt-line-row:hover .ddt-line-handle{background:color-mix(in srgb,var(--primary) 9%,transparent);color:var(--primary);opacity:1}.ddt-line-delete{display:inline-grid;width:34px;height:34px;place-items:center;border:1px solid color-mix(in srgb,#ef4444 25%,var(--line));border-radius:10px;background:color-mix(in srgb,#fef2f2 70%,var(--surface));color:#b91c1c;cursor:pointer}.ddt-line-delete svg{width:16px;height:16px}.ddt-accordion-list{display:grid;gap:8px}.ddt-details-section{border:1px solid color-mix(in srgb,var(--line) 84%,transparent);border-radius:14px;background:var(--surface)}.ddt-details-section summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;cursor:pointer;list-style:none}.ddt-details-section summary::-webkit-details-marker{display:none}.ddt-details-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:999px;background:color-mix(in srgb,var(--primary) 10%,var(--surface));color:var(--primary)}.ddt-details-chevron,.ddt-details-icon svg{width:15px;height:15px}.ddt-details-chevron{color:var(--muted);transition:transform .18s ease}.ddt-details-section[open] .ddt-details-chevron{transform:rotate(180deg)}.ddt-details-body{display:grid;gap:12px;border-top:1px solid color-mix(in srgb,var(--line) 72%,transparent);padding:14px}.ddt-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ddt-create-summary{position:sticky;top:86px;display:grid;gap:9px;max-height:calc(100dvh - 104px);overflow:auto;border:1px solid color-mix(in srgb,var(--line) 84%,transparent);border-radius:18px;padding:12px;background:var(--surface)}.ddt-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid color-mix(in srgb,var(--line) 74%,transparent);padding-bottom:8px}.ddt-summary-head span{color:var(--muted);font-size:.74rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ddt-summary-head strong{font-size:1.32rem}.ddt-summary-list{display:grid;gap:6px;margin:0}.ddt-summary-list div,.ddt-summary-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.ddt-summary-list dd{margin:0;font-weight:850}.ddt-summary-list input{width:86px;min-height:28px;padding:4px 8px;text-align:right}.ddt-summary-total{border:1px solid color-mix(in srgb,var(--primary) 22%,var(--line));border-radius:14px;padding:10px;background:color-mix(in srgb,var(--primary) 7%,var(--surface))}.ddt-summary-total span{color:var(--muted);font-size:.8rem;font-weight:850}.ddt-summary-total strong{color:var(--primary);font-size:1.25rem}.ddt-summary-actions{display:grid;gap:7px}.ddt-action-emerald,.ddt-action-ghost,.ddt-summary-actions .primary-action{width:100%;min-height:36px;justify-content:center;border-radius:12px;font-weight:900}.ddt-action-emerald,.ddt-action-ghost{border:1px solid transparent;cursor:pointer}.ddt-action-emerald{background:#059669;color:#fff}.ddt-action-emerald:hover{background:#047857}.ddt-action-ghost{border-color:color-mix(in srgb,var(--line) 88%,transparent);background:transparent;color:var(--foreground)}.ddt-action-ghost:hover{background:color-mix(in srgb,var(--surface-soft) 72%,transparent)}.ddt-mobile-create-bar{display:none}:root[data-theme=dark] .ddt-line-row--empty td,:root[data-theme=dark] .ddt-quick-add-strip{background:color-mix(in srgb,#1d4ed8 18%,var(--surface))}:root[data-theme=dark] .ddt-line-delete{background:color-mix(in srgb,#7f1d1d 26%,var(--surface));color:#fecaca}@media (max-width:1180px){.ddt-create-layout,.ddt-create-testata-grid{grid-template-columns:1fr}.ddt-create-summary{position:static}}@media (max-width:760px){.ddt-create-page-head{align-items:flex-start}.ddt-create-testata-grid,.ddt-details-grid,.ddt-quick-add-strip{grid-template-columns:1fr}.ddt-lines-table-wrap{overflow:visible}.ddt-lines-table{min-width:0}.ddt-lines-table thead{display:none}.ddt-lines-table,.ddt-lines-table tbody,.ddt-lines-table td,.ddt-lines-table tr{display:block;width:100%}.ddt-lines-table tr{border:1px solid color-mix(in srgb,var(--line) 84%,transparent);border-radius:14px;margin:10px 12px;overflow:hidden;background:var(--surface)}.ddt-lines-table td{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;align-items:center;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 60%,transparent);padding:9px 12px;text-align:left}.ddt-lines-table td:before{content:attr(data-label);color:var(--muted);font-size:.68rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.ddt-lines-table td:first-child,.ddt-lines-table td:last-child{width:auto;padding-inline:12px;text-align:left}.ddt-lines-table td:first-child:before{content:"Ordine"}.ddt-lines-table td:last-child{border-bottom:0}.ddt-line-row--empty td,.ddt-line-row--empty td:first-child,.ddt-line-row--empty td:last-child{border-radius:0;border-left:0;border-right:0}.ddt-create-summary{display:none}.ddt-mobile-create-bar{position:sticky;bottom:10px;z-index:18;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:16px;margin-top:6px;padding:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 12px 36px color-mix(in srgb,var(--foreground) 13%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.ddt-mobile-create-bar>div{display:grid;gap:2px}.ddt-mobile-create-bar span{color:var(--muted);font-size:.72rem;font-weight:850;text-transform:uppercase}}.app-shell,:root[data-theme=dark] .app-shell{background:var(--background)}.top-command{min-height:58px;grid-template-columns:minmax(170px,220px) minmax(260px,1fr) auto;gap:14px;padding:8px 20px;background:rgba(255,255,255,.96);box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.activity-icon,.brand-mark,.client-avatar,.ddt-badge,.module-icon,.product-folder-icon,.project-badge,.project-folder-nav-icon,.quote-badge{border-radius:5px;box-shadow:none}.brand-mark{width:32px;height:32px;border-width:1px;background:var(--surface);font-size:1rem}.brand strong{font-size:1.08rem;line-height:1.05}.brand span:not(.brand-mark),.metric-card-head span,.metric-note,.profile-button small,.queue-id{font-size:.72rem}.command-center{height:38px;box-shadow:none}.command-search{height:36px}.quick-actions{gap:8px}.editor-foot a,.editor-foot button,.editor-toolbar a,.editor-toolbar button,.ghost-icon,.icon-action,.panel-footer-action,.panel-head a,.panel-head button,.primary-action,.profile-button,.quick-actions a,.quick-actions button,.quote-table-row a,.quote-table-row button,.row-actions-menu summary,.row-actions-trigger,.secondary-action{border-radius:5px;box-shadow:none}.primary-action,.quick-actions a.primary-action,.quick-actions button.primary-action{border-color:#183b6d;background:#183b6d;color:#ffffff;box-shadow:none}.primary-action:hover,.quick-actions a.primary-action:hover,.quick-actions button.primary-action:hover{border-color:#102a5c;background:#102a5c}.quick-actions a.secondary-action,.quick-actions button.secondary-action,.secondary-action{background:var(--surface);color:var(--foreground)}.icon-action:hover,.panel-footer-action:hover,.row-actions-trigger:hover,.row-actions-trigger[aria-expanded=true],.secondary-action:hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.workspace{gap:12px;padding:14px 20px 24px}.main-stage{gap:12px}.account-password-fallback,.catalog-controls,.catalog-empty,.catalog-summary,.catalog-table,.dashboard-context-panel,.detail-panel,.entity-detail-hero,.entity-detail-lines,.entity-form-actions,.entity-form-alert,.entity-form-fieldset,.entity-form-panel,.metric-card,.module-strip,.period-filter,.product-folder-card,.profitability-card,.project-detail-hero,.project-detail-lines,.project-economics-grid article,.project-folder-nav a,.project-status-grid div,.quote-detail-hero,.quote-detail-lines,.quote-helper-card,.quote-wizard-margin-card,.quote-wizard-shell,.route-feedback,.work-panel{border-color:var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:none}.module-strip{top:58px;--module-nav-height:38px;--module-tab-width:96px}.module-strip,.module-strip-action .primary-action,.module-tabs,.module-tabs a{min-height:var(--module-nav-height)}.module-tabs a{min-width:0;gap:2px;padding:3px 5px}.module-strip-action{min-width:116px}.module-tabs a.is-active{background:#f0f5fb;box-shadow:inset 0 -2px 0 var(--primary)}.module-tabs a.is-active .module-icon{border-color:var(--primary);background:var(--primary);color:#ffffff}.module-icon{width:18px;height:18px;background:var(--surface)}.context-head h2,.editor-head h2,.module-tabs strong,.panel-head h2{font-size:.78rem}.dashboard-grid,.dashboard-overview-grid,.metric-grid{gap:10px}.metric-card{min-height:176px;gap:12px;padding:12px}.metric-card-head strong{font-size:.92rem}.metric-value{font-size:1.55rem}.metric-breakdown{gap:8px}.metric-breakdown-row{gap:7px;font-size:.78rem}.metric-total{padding-top:8px}.profitability-card{min-height:176px;grid-template-columns:minmax(116px,150px) minmax(0,1fr);gap:12px 16px;padding:12px}.profitability-heading h2{font-size:1.08rem}.profitability-chart{width:min(100%,136px)}.profitability-copy strong{font-size:1rem}.profitability-copy p{font-size:.82rem}.profitability-dot{width:16px;height:16px;box-shadow:none}.dashboard-context-panel,.work-panel{gap:10px;padding:12px}.dashboard-context-panel{top:74px}.dashboard-clock-card,.dashboard-weather-card{padding:11px}.clock-face{width:min(168px,100%);background:var(--surface);box-shadow:inset 0 0 0 8px var(--surface-soft)}.weather-visual{width:68px;height:68px;background:var(--surface-soft);color:var(--primary)}.weather-copy strong{font-size:1.42rem}.catalog-shell,.entity-detail-shell,.entity-form-shell,.project-detail-shell{gap:12px;padding:14px 20px 24px}.catalog-head h1{font-size:1.42rem}.catalog-head .primary-action,.detail-status-form .secondary-action,.entity-form-actions .primary-action,.entity-form-actions .secondary-action,.project-detail-actions .primary-action,.project-detail-actions .secondary-action,.quote-detail-actions .primary-action,.quote-detail-actions .secondary-action{min-height:34px}.catalog-summary article{min-height:46px;padding:6px 9px}.catalog-summary span,.catalog-summary--search span,.catalog-table-head,.period-filter-head span,.project-folder-nav small,.project-folder-section-head span:first-child,.project-panel-title span,.settings-form label span,.settings-kv dt{letter-spacing:.06em}.catalog-summary strong{font-size:.92rem}.catalog-table-head,.catalog-table-row{gap:9px}.catalog-table-head{padding:7px 10px}.catalog-table-row{min-height:48px;padding:7px 10px}.product-folder-card{min-height:112px;padding:10px}.status-pill{border-radius:4px;padding:2px 6px;font-size:.64rem;font-weight:820;letter-spacing:.04em;text-transform:uppercase}.status-pill[data-status=bundle],.status-pill[data-status=business],.status-pill[data-status=supabase]{border-color:#c8d8ef;background:#edf3fb;color:#183b6d}.tone-positive{color:#4f8f00}.period-month{min-height:40px;gap:1px;padding:4px}.period-month strong{font-size:.68rem}.period-year-form{min-height:40px}.period-month[data-active=true]{border-color:var(--primary);background:#183b6d;color:#ffffff}.catalog-view-toggle{border-radius:5px}.catalog-view-toggle a[data-active=true]{box-shadow:none}.row-actions-panel{width:180px;gap:4px;padding:6px;box-shadow:var(--shadow)}.row-actions-panel a,.row-actions-panel button{min-height:30px;border-radius:4px}.entity-detail-hero,.project-detail-hero{gap:10px;padding:14px}.account-session-hero>strong,.entity-detail-hero>strong,.project-detail-hero>strong{font-size:1.75rem;line-height:1.05}.entity-detail-hero dl div,.project-detail-hero dl div,.project-economics-grid article,.project-status-grid div,.settings-form,.settings-kv{border-radius:5px;background:var(--surface-soft)}.entity-form-fieldset,.entity-form-panel{gap:11px;padding:13px}.ddt-line-edit-form input,.ddt-line-edit-form select,.detail-status-form select,.entity-form input,.entity-form select,.entity-form textarea,.project-file-upload-form input,.project-material-status-form select,.settings-form input,.settings-form select{border-radius:5px;box-shadow:none}.entity-form input:focus,.entity-form select:focus,.entity-form textarea:focus{box-shadow:0 0 0 2px rgba(31,78,140,.12)}.quote-wizard-root{padding:10px 16px 20px}.quote-wizard-shell{min-height:calc(100vh - 96px);overflow:hidden}.quote-wizard-head{padding:12px 18px}.quote-wizard-title h1{font-size:1.28rem}.quote-client-search-help,.quote-helper-card p,.quote-tech-card-head p,.quote-wizard-section-title p,.quote-wizard-title span{font-size:.8rem}.quote-wizard-step-tab{border-radius:5px;padding:0 10px 0 7px;font-size:.8rem}.quote-wizard-step-tab span{width:21px;height:21px;border-radius:4px}#quote-step-conditions:checked~.quote-wizard-shell label[for=quote-step-conditions],#quote-step-details:checked~.quote-wizard-shell label[for=quote-step-details],#quote-step-products:checked~.quote-wizard-shell label[for=quote-step-products]{border-color:var(--primary);background:var(--primary-soft);box-shadow:none}#quote-step-conditions:checked~.quote-wizard-shell label[for=quote-step-conditions] span,#quote-step-details:checked~.quote-wizard-shell label[for=quote-step-details] span,#quote-step-products:checked~.quote-wizard-shell label[for=quote-step-products] span{background:var(--primary);color:#ffffff}.quote-wizard-step-panel{gap:16px;padding:20px 18px}.quote-helper-card{padding:13px 14px}.quote-wizard-close{width:38px;height:38px;border-radius:5px}.quote-wizard-footer{min-height:58px;padding:10px 18px}.quote-table-row{min-height:54px;background:var(--surface)}.project-folder-nav{gap:8px}.project-folder-nav a{min-height:64px;grid-template-columns:28px minmax(0,1fr);gap:8px;padding:8px 10px}.project-folder-nav a[data-active=true]{border-color:var(--primary);background:var(--primary-soft);box-shadow:inset 0 -2px 0 var(--primary)}.project-folder-nav-icon{width:28px;height:28px}.project-folder-nav strong{font-size:.84rem}.project-folder-nav em{margin-top:3px;font-size:.68rem}.project-folder-section-head h2,.project-panel-title h2{font-size:1.02rem}.project-progress-copy strong{font-size:1.18rem}.project-progress-track{height:8px;border-radius:4px}.project-progress-track span{background:var(--primary)}.project-detail-line{min-height:72px}:root[data-theme=dark] .account-password-fallback,:root[data-theme=dark] .catalog-controls,:root[data-theme=dark] .catalog-empty,:root[data-theme=dark] .catalog-summary,:root[data-theme=dark] .catalog-table,:root[data-theme=dark] .dashboard-context-panel,:root[data-theme=dark] .detail-panel,:root[data-theme=dark] .entity-form-actions,:root[data-theme=dark] .entity-form-alert,:root[data-theme=dark] .entity-form-fieldset,:root[data-theme=dark] .entity-form-panel,:root[data-theme=dark] .metric-card,:root[data-theme=dark] .module-strip,:root[data-theme=dark] .period-filter,:root[data-theme=dark] .product-folder-card,:root[data-theme=dark] .profitability-card,:root[data-theme=dark] .project-economics-grid article,:root[data-theme=dark] .project-folder-nav a,:root[data-theme=dark] .project-status-grid div,:root[data-theme=dark] .quote-detail-hero,:root[data-theme=dark] .quote-detail-lines,:root[data-theme=dark] .quote-helper-card,:root[data-theme=dark] .quote-wizard-margin-card,:root[data-theme=dark] .quote-wizard-shell,:root[data-theme=dark] .row-actions-panel,:root[data-theme=dark] .top-command,:root[data-theme=dark] .work-panel{background:var(--surface)}:root[data-theme=dark] .module-tabs a.is-active,:root[data-theme=dark] .project-folder-nav a[data-active=true]{border-color:#4972b8;background:#182944;color:#eef4ff;box-shadow:inset 0 -2px 0 #6f9cf4}:root[data-theme=dark] .module-tabs a.is-active .module-icon,:root[data-theme=dark] .project-folder-nav a[data-active=true] .project-folder-nav-icon{border-color:#6f9cf4;background:#233f6e;color:#eef4ff}:root[data-theme=dark] .module-tabs a.is-active strong,:root[data-theme=dark] .project-folder-nav a[data-active=true] em,:root[data-theme=dark] .project-folder-nav a[data-active=true] small,:root[data-theme=dark] .project-folder-nav a[data-active=true] strong{color:#eef4ff}:root[data-theme=dark] .activity-item strong,:root[data-theme=dark] .folder-row strong,:root[data-theme=dark] .line-description strong,:root[data-theme=dark] .metric-breakdown-row strong,:root[data-theme=dark] .metric-total strong,:root[data-theme=dark] .metric-value,:root[data-theme=dark] .queue-row strong,:root[data-theme=dark] .quote-detail-hero dd,:root[data-theme=dark] .quote-detail-hero>strong,:root[data-theme=dark] .quote-detail-line strong{color:var(--foreground)}:root[data-theme=dark] .activity-item p,:root[data-theme=dark] .folder-row p,:root[data-theme=dark] .metric-breakdown-row,:root[data-theme=dark] .metric-note,:root[data-theme=dark] .metric-total,:root[data-theme=dark] .queue-row p,:root[data-theme=dark] .quote-detail-hero dt,:root[data-theme=dark] .quote-detail-hero>div:first-child,:root[data-theme=dark] .quote-detail-line,:root[data-theme=dark] .quote-detail-line p,:root[data-theme=dark] .quote-detail-line small{color:var(--muted-strong)}:root[data-theme=dark] .quote-number{color:var(--foreground)}:root[data-theme=dark] .quote-detail-hero dl div,:root[data-theme=dark] .quote-detail-line-head{border-color:var(--line);background:var(--surface-soft)}:root[data-theme=dark] .quote-detail-line{border-color:var(--line);background:var(--surface)}:root[data-theme=dark] .quote-detail-line:nth-of-type(odd){background:rgba(15,23,42,.92)}:root[data-theme=dark] .quote-detail-line:nth-of-type(2n){background:rgba(30,41,59,.58)}:root[data-theme=dark] .quote-detail-line[data-section=option]{background:rgba(180,83,9,.18);box-shadow:inset 4px 0 0 #f59e0b}:root[data-theme=dark] .quote-detail-line[data-section=gift]{background:rgba(21,128,61,.18);box-shadow:inset 4px 0 0 #22c55e}:root[data-theme=dark] .quote-detail-line[data-section=option]>span:first-of-type{color:#fbbf24}:root[data-theme=dark] .quote-detail-line[data-section=gift]>span:first-of-type{color:#86efac}input[type=number]{appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.money-field{--money-field-height:42px;position:relative}.money-field input{padding-right:2rem!important}.money-field:after{content:"€";position:absolute;right:12px;bottom:0;height:var(--money-field-height);display:grid;place-items:center;color:var(--muted-strong);font-size:.9rem;font-weight:850;pointer-events:none}.ddt-line-edit-form .money-field,.ddt-manual-line-grid .money-field,.product-component-editor-fields .money-field,.product-form-compact .money-field,.quote-custom-line-form .money-field,.quote-line-component-editor-fields .money-field,.quote-line-modal-panel .money-field{--money-field-height:36px}@media (max-width:1360px){.workspace{grid-template-columns:minmax(0,1fr) minmax(300px,360px)}.dashboard-grid,.workspace-toolbar{grid-template-columns:1fr}.queue-panel{grid-column:auto}.quote-wizard-head{grid-template-columns:minmax(180px,.82fr) minmax(360px,1.3fr) minmax(126px,.5fr) auto 50px}.quote-wizard-details-grid{grid-template-columns:minmax(150px,.68fr) minmax(280px,1.6fr) minmax(150px,.72fr) minmax(170px,.82fr)}.project-calendar-add-form{grid-template-columns:repeat(3,minmax(0,1fr))}.project-calendar-add-form .primary-action,.project-calendar-add-form .project-calendar-notes{grid-column:1/-1}}@media (max-width:1120px){.top-command{grid-template-columns:1fr}.quick-actions{justify-content:flex-start;flex-wrap:wrap}.account-console-head,.dashboard-overview-grid,.metric-grid,.workspace{grid-template-columns:1fr}.account-console-state{border-left:0;border-top:1px solid var(--line)}.account-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-settings-tabs{grid-template-columns:1fr}.account-settings-active-card{min-height:124px}.dashboard-overview-grid .metric-grid{grid-template-columns:1fr}.dashboard-context-panel{position:static}.quote-wizard-head{grid-template-columns:1fr auto}.quote-wizard-head>form,.quote-wizard-margin-card,.quote-wizard-share-action,.quote-wizard-steps{grid-column:1/-1}.quote-wizard-close{grid-column:2;grid-row:1}.quote-conditions-grid,.quote-tech-grid,.quote-wizard-details-grid{grid-template-columns:1fr}.quote-wizard-details-grid>label:last-child{max-width:none}}@media (max-width:760px){.top-command,.workspace{padding:12px}.workspace-toolbar{gap:12px}.module-tabs{grid-auto-columns:86px}.module-tabs a{min-width:0}.module-strip{--module-nav-height:38px;--module-tab-width:86px;align-items:stretch;overflow:hidden}.module-strip-action{min-width:104px}.quote-wizard-root{padding:10px}.quote-wizard-shell{min-height:calc(100vh - 92px)}.quote-wizard-footer,.quote-wizard-head,.quote-wizard-step-panel{padding-right:14px;padding-left:14px}.quote-wizard-step-tab{flex:1 1 100%;justify-content:flex-start}.quote-wizard-footer{display:none;grid-template-columns:1fr;align-items:stretch}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-footer--conditions,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-footer--details,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer--products{display:grid}.quote-wizard-footer .primary-action,.quote-wizard-footer .secondary-action{justify-content:center}.dashboard-weather-card{grid-template-columns:1fr;justify-items:center;text-align:center}.metric-card{min-height:auto}.profitability-card,.profitability-legend{grid-template-columns:1fr}.profitability-chart{justify-self:center;width:168px}.quote-table{overflow-x:auto}.quote-table-head,.quote-table-row{min-width:760px}.editor-foot,.editor-foot>div,.queue-row{display:grid;grid-template-columns:1fr;text-align:left}.queue-meta{justify-items:start;text-align:left}.stepper{grid-template-columns:repeat(5,minmax(96px,1fr));overflow-x:auto}.catalog-shell{padding:12px}.account-shell{padding:10px}.account-console-state,.account-console-title,.account-settings-panel{padding:12px}.account-settings-tab-group,.account-settings-tab-list,.account-settings-tabs,.account-status-grid{grid-template-columns:1fr}.account-settings-tab-group{gap:5px}.account-settings-active-card{min-height:auto;grid-template-columns:38px minmax(0,1fr) auto;padding:12px}.account-settings-active-icon{width:38px;height:38px}.account-settings-tabs a{min-height:auto;padding:9px 10px}.catalog-head,.catalog-summary{grid-template-columns:1fr}.catalog-controls,.catalog-filter-form{display:grid;grid-template-columns:1fr}.period-filter-grid,.settings-form{grid-template-columns:1fr}.period-months{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-summary--ddt,.catalog-summary--projects,.catalog-summary--quotes,.catalog-summary--search{grid-template-columns:1fr}.catalog-summary--search a{border-right:0;border-bottom:1px solid var(--line)}.catalog-summary--search a:last-child{border-bottom:0}.catalog-head{display:grid;align-items:start}.ddt-form-grid,.ddt-form-window,.ddt-manual-line-grid,.ddt-operational-form-grid,.ddt-operational-form-grid--document,.ddt-product-modal-toolbar,.entity-detail-grid,.entity-detail-hero dl,.entity-form-grid,.entity-form-row,.entity-form-row--compact,.entity-form-row--main,.entity-form-row--quote-main,.product-image-preview,.project-detail-grid,.project-detail-hero dl,.project-file-upload-form,.public-quote-acceptance,.public-quote-acceptance-form,.public-quote-legal-grid,.public-quote-meta,.public-quote-total,.quote-custom-line-form,.quote-custom-line-grid,.quote-detail-grid,.quote-detail-hero dl,.quote-line-bundle-item,.quote-line-component-editor-fields,.quote-line-component-editor-grid,.quote-line-edit-grid,.quote-line-edit-panel,.quote-line-modal-body,.quote-line-modal-grid,.quote-line-modal-grid--image,.quote-line-modal-grid--main,.quote-line-tools,.quote-print-hero,.quote-print-terms,.settings-kv-grid{display:grid;grid-template-columns:1fr}.settings-panel-head{display:grid;justify-items:start}.quote-line-edit-panel{grid-column:1/-1}.quote-line-modal-backdrop{padding:10px}.quote-line-modal-window{max-height:94dvh}.quote-line-modal-body,.quote-line-modal-foot,.quote-line-modal-head{padding-right:14px;padding-left:14px}.quote-line-modal-head{flex-wrap:wrap;align-items:flex-start}.quote-line-modal-tabs{order:3;width:100%}.quote-line-modal-tabs button{flex:1 1;justify-content:center}.quote-line-modal-panel--bundle,.quote-line-modal-panel--components,.quote-line-modal-wide{grid-column:auto}.catalog-table{overflow:visible}.quote-detail-lines,.quote-form-lines{overflow-x:auto}.quote-form-line,.quote-form-line-head{min-width:760px}.quote-line-editor-head{display:grid}.entity-detail-lines{overflow-x:auto}.entity-form-shell{padding:12px}.entity-form-actions{display:grid;grid-template-columns:1fr}.public-quote-app,.quote-print-app{padding:12px}.public-quote-lines{overflow-x:auto}.quote-pdf-document{justify-items:start}.project-detail-lines{overflow-x:auto}.project-compact-progress,.project-dashboard-overview,.project-site-shell,.project-work-header-actions,.project-work-header-top{grid-template-columns:1fr}.project-work-header-actions,.project-work-header-top{display:grid;justify-items:start}.project-economy-list,.project-work-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-work-tabs a{padding-inline:12px}.project-folder-nav{grid-template-columns:1fr}.project-folder-nav a{min-height:68px}.project-folder-section-head,.project-mini-row--split,.project-progress-copy{display:grid;justify-items:start;text-align:left}.project-economics-grid,.project-status-grid{grid-template-columns:1fr}.project-calendar-actions,.project-calendar-toolbar,.project-event-actions{display:grid;justify-items:start}.project-calendar-add-form,.project-calendar-strip,.project-diary-form,.project-event-card,.project-expense-form{grid-template-columns:1fr}.project-checklist-item{grid-template-columns:34px minmax(0,1fr)}.project-checklist-item small{grid-column:2}.project-calendar-strip>div{grid-template-columns:64px 52px minmax(0,1fr);align-items:center}.catalog-table-head{display:none}.catalog-table--clients .catalog-table-row,.catalog-table--ddt .catalog-table-row,.catalog-table--products .catalog-table-row,.catalog-table--projects .catalog-table-row,.catalog-table--quotes .catalog-table-row,.catalog-table-row{min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 10px}.catalog-table-row>*{min-width:0}.catalog-table-row>.row-actions-menu{grid-column:2;grid-row:1}.catalog-table-row>:not(.row-actions-menu):not(:first-child){grid-column:1/-1}.catalog-pagination{display:grid;justify-items:start}.catalog-pagination>div{justify-content:start;flex-wrap:wrap}.search-result{grid-template-columns:1fr}.search-result time{justify-self:start}.quote-detail-line,.quote-detail-line-head{min-width:900px}.entity-detail-line,.entity-detail-line-head{min-width:860px}.public-quote-line,.public-quote-line-head{min-width:760px}.project-detail-line,.project-detail-line-head{min-width:980px}.project-material-lines .project-detail-line-head,.project-material-lines .project-material-line{min-width:720px}}.quote-wizard-root{padding:10px 16px 18px}.quote-wizard-shell{height:calc(100dvh - 112px);min-height:590px;grid-template-rows:auto auto minmax(0,1fr) auto}.quote-wizard-head{grid-template-columns:minmax(170px,.8fr) minmax(350px,1.35fr) minmax(126px,.48fr) auto 46px;gap:10px;padding:13px 22px 11px}.quote-wizard-title h1{font-size:clamp(1.12rem,1.5vw,1.36rem)}.quote-client-search-help,.quote-helper-card p,.quote-tech-card-head p,.quote-wizard-section-title p,.quote-wizard-title span{font-size:.78rem}.quote-wizard-step-tab{min-height:32px;gap:7px;padding:0 11px 0 7px;font-size:.82rem}.quote-wizard-step-tab--locked{cursor:not-allowed;opacity:.46;pointer-events:none}.quote-wizard-step-tab span{width:22px;height:22px;font-size:.74rem}.quote-wizard-margin-card{min-height:48px;padding:7px 10px}.quote-wizard-share-action{min-height:38px}.quote-wizard-close{width:40px;height:40px}.quote-wizard-content{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) clamp(286px,28vw,390px);gap:20px;overflow:hidden;padding:16px 22px 0}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-content,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-content{grid-template-columns:minmax(0,1fr)}.quote-wizard-form,.quote-wizard-main-column{min-width:0;min-height:0;display:grid}.quote-wizard-step-panel{min-height:0;gap:13px;overflow:hidden;padding:0}.quote-wizard-step-panel--details{gap:10px;overflow:visible}.quote-tech-card-head h2,.quote-wizard-section-title h2{font-size:1rem}.quote-wizard-details-grid{grid-template-columns:minmax(112px,.62fr) minmax(220px,1.45fr) minmax(118px,.58fr) minmax(134px,.62fr) minmax(134px,.62fr);gap:9px}.quote-wizard-details-grid .quote-client-picker{grid-column:span 2}.quote-wizard-details-grid>label:last-child{max-width:none}.quote-helper-card{gap:6px;padding:11px 13px}.quote-helper-card strong{font-size:.88rem}.quote-tech-card{gap:8px;border-top:1px solid var(--line);padding-top:10px}.quote-tech-grid{grid-template-columns:minmax(150px,.2fr) minmax(0,1.8fr);gap:10px}.quote-tech-grid textarea{min-height:50px}.quote-wizard-step-panel--details .quote-tech-card-head{gap:3px}.quote-wizard-step-panel--details .quote-tech-card-head p{display:none}.quote-conditions-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}.quote-conditions-grid textarea{min-height:58px}.quote-wizard-step-panel--conditions{overflow-x:hidden;overflow-y:auto;padding-right:6px}.auto-resize-textarea{box-sizing:border-box;overflow:hidden;overflow-y:hidden;resize:none;field-sizing:content}.quote-wizard-step-panel--products{align-self:stretch;min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:6px}#quote-step-products:checked~.quote-wizard-shell .quote-wizard-main-column{grid-template-rows:0 minmax(0,1fr)}#quote-step-products:checked~.quote-wizard-shell .quote-wizard-form{min-height:0;overflow:hidden}#quote-step-products:checked~.quote-wizard-shell .quote-line-editor,#quote-step-products:checked~.quote-wizard-shell .quote-line-editor>.entity-form-panel{min-height:0}.quote-wizard-step-panel--products .entity-form-panel{padding:12px}.quote-wizard-step-panel--products .quote-line-tools{grid-template-columns:minmax(0,1fr)}.quote-wizard-step-panel--products .quote-form-line,.quote-wizard-step-panel--products .quote-form-line-head{grid-template-columns:34px minmax(220px,1fr) 86px 104px 94px minmax(168px,auto);gap:7px;padding:7px 9px}.quote-wizard-step-panel--products .quote-form-line-head{font-size:.68rem}.quote-wizard-step-panel--products .quote-form-line{font-size:.86rem}.quote-wizard-preview{min-width:0;min-height:0;display:grid}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-preview,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-preview{display:none}.quote-wizard-preview-paper{min-height:0;max-height:100%;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px;overflow:hidden;border:1px solid rgba(46,107,255,.18);border-radius:18px;padding:18px 20px;background:linear-gradient(180deg,rgba(46,107,255,.06),rgba(255,255,255,0) 24%),#ffffff;box-shadow:0 24px 60px rgba(30,43,71,.12)}:root[data-theme=dark] .quote-wizard-preview-paper{border-color:rgba(125,160,255,.24);background:linear-gradient(180deg,rgba(78,118,255,.16),rgba(18,31,51,0) 28%),#111d31}.quote-preview-head,.quote-preview-line,.quote-preview-lines-head,.quote-preview-total{display:grid;align-items:center;gap:10px}.quote-preview-head{grid-template-columns:minmax(0,1fr) auto;color:var(--muted);font-size:.66rem;font-weight:880;letter-spacing:.12em;text-transform:uppercase}.quote-preview-head strong{color:var(--primary);letter-spacing:0;text-transform:none}.quote-preview-title{display:grid;gap:6px;border-bottom:2px solid rgba(46,107,255,.14);padding-bottom:12px}.quote-preview-title h2{margin:0;color:var(--foreground);font-size:1.3rem;line-height:1;font-weight:930}.quote-preview-title p{margin:0;color:var(--muted);font-size:.86rem;font-weight:780}.quote-preview-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quote-preview-meta>div{display:grid;gap:4px;border-radius:10px;padding:8px;background:var(--surface-soft)}.quote-preview-line small,.quote-preview-lines-head,.quote-preview-meta span,.quote-preview-total small,.quote-preview-total span{color:var(--muted);font-size:.7rem;font-weight:820}.quote-preview-meta strong{color:var(--foreground);font-size:.82rem;font-weight:880}.quote-preview-lines{min-height:0;display:grid;align-content:start;overflow:hidden;border:1px solid var(--line);border-radius:12px}.quote-preview-line,.quote-preview-lines-head{grid-template-columns:minmax(0,1fr) 54px 76px;padding:7px 10px}.quote-preview-lines-head{z-index:1;background:var(--surface-soft);text-transform:uppercase}.quote-preview-line{min-height:54px;border-top:1px solid var(--line)}.quote-preview-line>div{min-width:0;display:grid;gap:2px}.quote-preview-line>div>strong{min-width:0;display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--foreground);font-size:.74rem;line-height:1.25;font-weight:900}.quote-preview-line>span,.quote-preview-line>strong:last-child{color:var(--foreground);font-size:.76rem;font-weight:850;text-align:right}.quote-preview-gift-total{display:grid;gap:1px;color:#b91c1c!important}.quote-preview-gift-total del{text-decoration-thickness:1.6px}.quote-preview-gift-total small{color:#b91c1c;font-size:.62rem;font-weight:900;text-transform:uppercase}.quote-preview-empty{margin:0;align-self:start;padding:22px 12px;color:var(--muted);font-size:.84rem;font-weight:720;text-align:center}.quote-preview-pagebar{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:8px;border-top:1px solid var(--line);padding:7px 10px;background:var(--surface-soft)}.quote-preview-pagebar button{width:28px;height:28px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:#ffffff;color:var(--foreground);cursor:pointer}.quote-preview-pagebar button:disabled{color:var(--muted);cursor:not-allowed;opacity:.5}.quote-preview-pagebar svg{width:14px;height:14px}.quote-preview-pagebar span{color:var(--muted-strong);font-size:.68rem;font-weight:820;text-align:center}:root[data-theme=dark] .quote-preview-pagebar button{background:rgba(15,23,42,.72);color:var(--foreground)}.quote-preview-total{grid-template-columns:minmax(0,1fr) auto;border-top:1px solid var(--line);padding-top:10px}.quote-preview-total strong{color:var(--foreground);font-size:1.06rem;font-weight:930}.quote-preview-total small{grid-column:1/-1}.quote-wizard-footer{position:sticky;bottom:0;z-index:5;grid-template-columns:minmax(118px,.42fr) minmax(150px,.48fr) minmax(118px,.42fr);align-items:center;justify-content:space-between;min-height:50px;padding:7px 22px;border-top:1px solid var(--line);background:#ffffff;box-shadow:0 -12px 28px rgba(19,32,44,.07)}:root[data-theme=dark] .quote-wizard-footer{background:#111d31;box-shadow:0 -16px 40px rgba(0,0,0,.22)}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-footer--conditions,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-footer--details,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer--products{display:grid}.quote-wizard-footer .primary-action,.quote-wizard-footer .secondary-action{min-height:34px;border-radius:8px;padding:0 14px;font-size:.82rem;justify-content:center}.quote-wizard-footer .primary-action:disabled{cursor:not-allowed;opacity:.46;box-shadow:none}.quote-wizard-footer .quote-wizard-add-line-action{min-width:min(210px,100%)}.quote-wizard-footer-actions{display:flex;align-items:center;justify-content:center;gap:10px}.quote-wizard-footer-actions .quote-wizard-add-line-action{min-width:138px}.quote-wizard-footer>:last-child{justify-self:end}.quote-wizard-disabled-action{cursor:not-allowed;opacity:.45}@media (max-width:1280px){.quote-wizard-head{grid-template-columns:minmax(150px,.8fr) minmax(280px,1.2fr) minmax(118px,.45fr) auto 40px}.quote-wizard-content{grid-template-columns:minmax(0,1fr) 300px;gap:14px}.quote-conditions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-wizard-details-grid{grid-template-columns:minmax(104px,.58fr) minmax(210px,1.35fr) minmax(118px,.58fr) minmax(130px,.62fr) minmax(130px,.62fr)}.quote-product-modal-toolbar{grid-template-columns:auto minmax(240px,1fr) repeat(2,minmax(150px,.7fr))}.quote-product-modal-toolbar label:nth-last-child(-n+2){grid-column:span 1}}@media (max-width:980px){.quote-wizard-shell{height:auto;min-height:calc(100dvh - 92px);overflow:visible}.quote-wizard-content{grid-template-columns:1fr;overflow:visible}.quote-wizard-preview{display:none}.quote-wizard-step-panel{overflow:visible}.quote-wizard-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-wizard-details-grid .quote-client-picker{grid-column:1/-1}.quote-wizard-footer{grid-template-columns:1fr}.quote-product-modal-backdrop{padding:10px}.quote-product-modal-window{max-height:94dvh;min-height:82dvh;border-radius:14px}.quote-product-modal-body,.quote-product-modal-head,.quote-product-modal-results-head,.quote-product-modal-toolbar{padding-left:14px;padding-right:14px}.quote-product-modal-toolbar{grid-template-columns:1fr}.quote-product-modal-list-head{display:none}.quote-product-modal-item{grid-template-columns:minmax(0,1fr) auto}.quote-product-modal-item-meta{display:none}.quote-product-modal-item>strong{grid-column:2}}@media (max-width:680px){.quote-client-manual-grid,.quote-client-search-row,.quote-tech-grid,.quote-wizard-details-grid{grid-template-columns:1fr}.quote-client-manual-toggle{justify-self:start}}#quote-step-conditions:checked~.quote-wizard-shell,#quote-step-details:checked~.quote-wizard-shell,#quote-step-products:checked~.quote-wizard-shell{min-height:calc(100dvh - 112px);height:auto;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:visible}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-content,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-content,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-content{grid-row:3;min-height:0;overflow:visible;padding-bottom:10px}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-content,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-content,#quote-step-products:checked~.quote-wizard-shell .quote-line-editor,#quote-step-products:checked~.quote-wizard-shell .quote-line-editor>.entity-form-panel,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-form,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-step-panel--products{overflow:visible}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-footer--conditions,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-footer--details,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer--products{grid-row:4;position:sticky;grid-template-columns:auto minmax(0,1fr) auto;min-height:44px;padding:6px 22px;box-shadow:none}#quote-step-details:checked~.quote-wizard-shell .quote-wizard-alert{grid-row:2}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-footer>:first-child,#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-footer>:last-child,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-footer>:first-child,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-footer>:last-child,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer--products>.quote-wizard-disabled-action,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer-actions,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer>:first-child,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer>:last-child{width:fit-content}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-footer>:first-child,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-footer>:first-child,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer>:first-child{justify-self:start}#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer--products>.quote-wizard-disabled-action,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer-actions{justify-self:center}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-footer>:last-child,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-footer>:last-child,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer>:last-child{justify-self:end}@media (max-width:980px){#quote-step-conditions:checked~.quote-wizard-shell,#quote-step-details:checked~.quote-wizard-shell,#quote-step-products:checked~.quote-wizard-shell{min-height:calc(100dvh - 92px);height:auto;overflow:visible}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-content,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-content,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-content{overflow:visible}#quote-step-conditions:checked~.quote-wizard-shell .quote-wizard-footer--conditions,#quote-step-details:checked~.quote-wizard-shell .quote-wizard-footer--details,#quote-step-products:checked~.quote-wizard-shell .quote-wizard-footer--products{grid-template-columns:auto minmax(0,1fr) auto}}.account-recovery-form{gap:18px}.account-recovery-textarea{min-height:min(46vh,520px);width:100%;resize:vertical;border:1px solid var(--border);border-radius:12px;padding:14px;background:var(--surface);color:var(--ink);font:500 .86rem/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;outline:none}.account-recovery-textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 14%,transparent)}