:root{color-scheme:light;--bg:#f4f6f8;--surface:#ffffff;--surface-2:#eef3f6;--text:#17212b;--muted:#607080;--line:#d9e0e6;--blue:#1f6feb;--green:#18865b;--amber:#a76500;--red:#bd3f32;--teal:#0f766e;--shadow:0 14px 34px rgba(25,38,52,0.12)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}.app-shell{width:min(100%,480px);min-height:100vh;margin:0 auto;background:var(--surface);box-shadow:var(--shadow)}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:10;justify-content:space-between;gap:16px;padding:18px 18px 12px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand-block,.topbar{display:flex;align-items:center}.brand-block{gap:10px;min-width:0}.brand-block>div{min-width:0}.brand-logo{width:46px;height:46px;flex:0 0 auto;border:1px solid var(--line);border-radius:12px;object-fit:contain;background:#fff}.topbar-actions{display:flex;gap:8px}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.08}h2{font-size:22px;line-height:1.16}h3{font-size:16px;line-height:1.2}.eyebrow{margin-bottom:4px;color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}main{padding:18px 18px 96px}.view{display:none}.view.is-active{display:block}.screen-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.head-actions{display:flex;gap:8px}.head-actions .primary-button,.head-actions .secondary-button{min-width:0;padding:0 10px;white-space:nowrap}.camera-button,.chip,.ghost-button,.icon-button,.primary-button,.secondary-button,.tab{min-height:44px;border:1px solid transparent;border-radius:8px;font-weight:750}.primary-button{display:inline-flex;align-items:center;justify-content:center;padding:0 14px;background:var(--blue);color:#fff;text-align:center}.primary-button.is-calm-action{border-color:var(--line);background:#f8fafc;color:var(--text)}.secondary-button{padding:0 12px;background:#e8f0ff;color:#164a9f}.ghost-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;text-align:center}.ghost-button{padding:0 10px;background:var(--surface-2);color:var(--text)}.icon-button{display:grid;width:44px;place-items:center;background:var(--surface-2);color:var(--text);font-size:21px}.full-width{width:100%;margin-top:16px}.case-form label,.photo-upload-panel label:not(.switch),.search-field{display:grid;grid-gap:7px;gap:7px}.search-field{margin-bottom:14px}.case-form span,.photo-upload-panel span,.search-field span{color:var(--muted);font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text)}input:disabled{background:#edf1f5;color:var(--muted)}input,select{height:46px;padding:0 12px}textarea{padding:12px;resize:vertical}.status-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin-bottom:14px}.status-grid article{min-height:78px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2)}.status-grid strong{display:block;font-size:28px;line-height:1}.status-grid span{color:var(--muted);font-size:13px;font-weight:700}.filter-row{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px;padding-bottom:2px}.chip{flex:0 0 auto;padding:0 12px;background:#fff;border-color:var(--line);color:var(--muted)}.chip.is-selected{background:#102033;border-color:#102033;color:#fff}.case-list{display:grid;grid-gap:10px;gap:10px}.archive-list{overflow:hidden}.archive-list,.case-row{display:grid;border:1px solid var(--line);border-radius:8px;background:#fff}.case-row{grid-template-columns:44px 1fr auto;grid-gap:12px;gap:12px;align-items:center;min-height:88px;padding:12px}.case-row:focus{outline:3px solid rgba(31,111,235,.24)}.archive-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:74px;padding:12px;border-bottom:1px solid var(--line);background:#fff}.archive-row:last-child{border-bottom:0}.archive-row:focus{outline:3px solid rgba(31,111,235,.24);outline-offset:-3px}.archive-row div{display:grid;min-width:0;grid-gap:3px;gap:3px}.archive-row small,.archive-row span,.archive-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.archive-row small,.archive-row span{color:var(--muted);font-size:13px}.archive-row .stage-badge{flex:0 0 auto}.vehicle-mark{width:44px;height:44px;border-radius:8px}.paint-red{background:linear-gradient(135deg,#f8d8d5,var(--red))}.paint-teal{background:linear-gradient(135deg,#ccefea,var(--teal))}.paint-amber{background:linear-gradient(135deg,#ffe1a8,var(--amber))}.paint-blue{background:linear-gradient(135deg,#d8e8ff,var(--blue))}.paint-purple{background:linear-gradient(135deg,#eadcff,#7c3aed)}.case-main{min-width:0}.case-main p,.case-side,.muted{color:var(--muted);font-size:13px}.case-main h3,.case-main p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.case-side{display:grid;justify-items:end;grid-gap:8px;gap:8px}.stage-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:8px;font-size:12px;font-weight:800;white-space:nowrap}.badge-blue{background:#e8f0ff;color:#164a9f}.badge-green{background:#e7f6ef;color:#116143}.badge-amber{background:#fff3d8;color:#784900}.progress-track{height:7px;margin-top:9px;overflow:hidden;border-radius:999px;background:#e2e8ee}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--blue)}.capture-panel,.case-hero,.costing-panel,.costing-summary,.customer-card,.customer-section,.lifecycle-panel{padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.capture-panel{display:grid;grid-gap:12px;gap:12px;margin-bottom:16px}.photo-picker{display:grid;grid-gap:9px;gap:9px}.photo-picker-preview{position:relative;display:grid;min-height:160px;place-items:center;overflow:hidden;border-radius:8px;background:#dfe7ed;text-align:center}.photo-picker-preview.has-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:#fff}.photo-picker-preview img{width:100%;height:100%;min-height:78px;max-height:160px;object-fit:cover}.photo-picker-preview strong{position:relative;z-index:1}.photo-picker-count{color:var(--muted);font-size:13px;font-weight:800}.damage-photo{position:relative;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#dfe7ed;color:#102033;text-align:center}.damage-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.damage-photo img+strong,.damage-photo img~span{padding:2px 6px;border-radius:6px;background:rgba(255,255,255,.82)}.large-photo{min-height:180px}.damage-photo span,.damage-photo strong{position:relative;z-index:1}.damage-photo span{color:var(--muted);font-size:13px;font-weight:700}.photo-shape{position:absolute;inset:18px;border-radius:42% 58% 48% 52%;background:radial-gradient(circle at 67% 45%,rgba(189,63,50,.9) 0 12%,transparent 13%),linear-gradient(140deg,rgba(21,31,43,.15),rgba(255,255,255,.35));transform:rotate(-8deg)}.camera-button{display:grid;min-height:48px;place-items:center;border:1px dashed #8aa3bd;background:#f7fafc;color:#12395f}.camera-button input{position:absolute;width:1px;height:1px;opacity:0}.hidden-file-input{position:fixed;right:0;bottom:0;width:1px;height:1px;opacity:0;pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.case-form{display:grid;grid-template-columns:1fr;grid-gap:12px;gap:12px}.case-form .full{grid-column:1/-1}.case-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.case-hero,.compact-hero{margin-bottom:14px}.overview-hero{display:block;padding:16px}.overview-hero h2{margin-bottom:8px;font-size:25px}.now-card,.overview-section{margin-bottom:14px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.now-card{border-color:rgba(31,111,235,.24);background:#f8fbff}.section-label{margin-bottom:7px;color:var(--muted);font-size:12px;font-weight:850}.now-card h2{margin-bottom:4px;font-size:26px}.now-card p:not(.section-label){color:var(--muted);font-size:14px;font-weight:800}.overview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;margin-top:14px}.overview-actions>.full-width{grid-column:1/-1}.overview-actions form{display:grid;min-width:0}.overview-actions button{min-width:0;white-space:normal}.overview-actions>:first-child:nth-last-child(3){grid-column:1/-1}.section-head-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.text-link-button{min-height:34px;padding:0;border:0;background:transparent;color:#164a9f;font-weight:850}.mini-stepper{display:grid;grid-gap:8px;gap:8px;margin-top:6px}.stage-progress-label{margin:4px 0 12px;color:var(--muted);font-weight:750}.stage-progress-label strong{color:var(--ink)}.stage-nav-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;align-items:center}.stage-nav-row form{display:contents}.stage-nav-row .primary-button,.stage-nav-row .secondary-button{width:100%}.quick-update-form{margin-top:12px}.approve-customer-form{display:grid;grid-gap:10px;gap:10px}.approve-customer-form label{display:grid;grid-gap:6px;gap:6px}.approve-customer-form input[type=date]{min-height:44px;padding:0 12px}.form-hint{margin:0;color:var(--muted);font-size:13px;font-weight:700}.queue-hint{margin-top:-4px;margin-bottom:8px}.settings-form{display:grid;grid-gap:14px;gap:14px}.settings-form label{display:grid;grid-gap:7px;gap:7px;margin-top:12px}.settings-form label:first-of-type{margin-top:0}.settings-form label span{color:var(--muted);font-size:13px;font-weight:800}.logo-upload-row{display:grid;grid-template-columns:64px 1fr;grid-gap:10px;gap:10px;align-items:center}.logo-placeholder,.logo-upload-row img{width:64px;height:64px;border:1px solid var(--line);border-radius:14px;object-fit:contain;background:#fff}.logo-placeholder{display:grid;place-items:center;color:var(--muted);font-size:12px;font-weight:900}.logo-upload-row input[type=file]{height:auto;padding:10px}.color-row{display:flex;align-items:center;gap:12px}.color-row input[type=color]{width:64px;height:44px;padding:4px}.color-row strong{color:var(--muted);font-size:14px}.success-note{margin-bottom:12px;padding:10px 12px;border:1px solid rgba(24,134,91,.22);border-radius:8px;background:#edfdf6;color:var(--green);font-weight:800}.error-note{margin:12px 0 0;border:1px solid rgba(189,63,50,.22);border-radius:8px;background:#fff0ed;color:var(--red)}.error-note,.warning-note{padding:10px 12px;font-size:13px;font-weight:800;line-height:1.35}.warning-note{margin-bottom:12px;border:1px solid rgba(167,101,0,.22);border-radius:8px;background:#fff8e6;color:var(--amber)}.login-card{display:grid;grid-gap:10px;gap:10px;margin-top:28px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}.login-card h2{font-size:28px}.login-copy{color:var(--muted);font-weight:700;line-height:1.35}.login-form{display:grid;grid-gap:12px;gap:12px;margin-top:6px}.login-form label{display:grid;grid-gap:7px;gap:7px}.login-form label span{color:var(--muted);font-size:13px;font-weight:800}.settings-logout-button{margin-top:14px}.mini-step{display:grid;grid-template-columns:30px 1fr;grid-gap:10px;gap:10px;align-items:start;min-height:48px}.mini-step>span{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:var(--surface-2);color:var(--muted);font-weight:900}.mini-step.current>span{background:var(--blue);color:#fff}.mini-step.done>span{color:var(--green)}.mini-step div{display:grid;grid-gap:3px;gap:3px}.mini-step small{color:var(--muted);font-size:12px;font-weight:800}.compact-full{margin-top:10px}.settings-list{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:0 12px;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--text);text-align:left;font-weight:800}.settings-row:last-child{border-bottom:0}.settings-row strong{color:var(--muted);font-size:14px;white-space:nowrap}.settings-row:not(.settings-row-control):after{content:"›";color:var(--muted);font-size:22px;line-height:1}.settings-row:not(.settings-row-control) strong{margin-left:auto}.settings-row-control input[type=date]{width:138px;min-width:0;height:40px;padding:0 8px;text-align:right}.appointment-row{align-items:center}.appointment-control{display:grid;justify-items:end;grid-gap:4px;gap:4px;margin-left:auto}.appointment-control small{color:var(--muted);font-size:11px;font-weight:800}.customer-message-row{display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px;align-items:center;min-height:48px}.customer-message-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.customer-message-row p{min-width:0;overflow:hidden;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.activity-preview{display:grid;grid-gap:8px;gap:8px}.activity-line{padding-top:8px;border-top:1px solid var(--line)}.activity-line:first-child{padding-top:0;border-top:0}.activity-line p{line-height:1.3;overflow-wrap:anywhere;word-break:break-word}.activity-line span{display:block;margin-top:5px;color:var(--muted);font-size:12px;font-weight:800}.overview-footer-action{margin-bottom:4px}.lifecycle-panel{margin-bottom:14px;padding:12px;background:#fff}.lifecycle-panel,.lifecycle-row,.message-line{display:grid;grid-gap:8px;gap:8px}.case-quick-controls{display:grid;grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);align-items:center;grid-gap:6px;gap:6px;min-width:0}.compact-switch{min-height:38px;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:#f8fafc;font-size:14px;white-space:nowrap}.date-compact{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:5px;gap:5px;min-width:0}.date-compact span,.message-line span{color:var(--muted);font-size:12px;font-weight:800}.date-compact input{width:100%;min-width:0;min-height:38px;padding:0 6px;font-size:13px}.message-line{grid-template-columns:1fr auto;align-items:center;padding-top:8px;border-top:1px solid var(--line)}.message-line span{grid-column:1/-1}.message-line p{min-width:0;overflow:hidden;color:var(--text);font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.costing-panel,.costing-summary{margin-bottom:12px}.costing-section-head,.costing-summary,.vat-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.costing-section-head h3{min-width:0}.costing-section-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px}.section-vat-switch{min-height:36px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#f8fafc;white-space:nowrap}.small-button{min-height:36px;padding:0 10px;font-size:13px}.costing-lines{display:grid;grid-gap:10px;gap:10px;margin-top:12px}.costing-line{display:grid;grid-template-columns:1fr 92px;grid-gap:10px;gap:10px;align-items:end}.costing-line label,.vat-row label:not(.switch){display:grid;grid-gap:7px;gap:7px}.costing-line span,.costing-summary span,.vat-row span{color:var(--muted);font-size:12px;font-weight:800}.vat-row{align-items:end;margin-bottom:14px}.vat-row label:first-child{max-width:96px}.costing-total{display:grid;grid-gap:8px;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.costing-summary div,.costing-total div,.grand-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.grand-total{padding-top:8px;border-top:1px solid var(--line);font-size:18px}.costing-summary{margin-bottom:10px;padding:12px 14px;background:#fff}.costing-summary div{display:flex;align-items:baseline;justify-content:flex-start;gap:8px}.tab{background:var(--surface-2);color:var(--muted)}.tab.is-active{background:#102033;color:#fff}.checklist,.parts-list,.photo-grid,.photo-history,.stage-list,.updates-list{display:grid;grid-gap:10px;gap:10px}.stage-item{grid-template-columns:30px 1fr auto;align-items:start;min-height:54px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.stage-item,.stage-photo-toolbar{display:grid;grid-gap:10px;gap:10px}.stage-photo-toolbar{padding:12px;border:1px solid rgba(31,111,235,.22);border-radius:8px;background:#f7faff}.stage-photo-toolbar div{display:grid;grid-gap:3px;gap:3px}.stage-photo-toolbar small,.stage-photo-toolbar span{color:var(--muted);font-size:12px;font-weight:800}.stage-photo-toolbar strong{font-size:22px}.stage-content{display:grid;grid-gap:5px;gap:5px}.stage-content span,.stage-photo-meta{color:var(--muted);font-size:12px;font-weight:800}.stage-photo-button{width:-moz-fit-content;width:fit-content;min-height:34px;margin-top:4px;padding:0 10px;font-size:12px}.stage-photo-toolbar .stage-photo-button{width:100%;min-height:44px;margin-top:0;font-size:15px}.stage-dot{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:var(--surface-2);color:var(--muted);font-weight:900}.stage-item.is-current{border-color:rgba(31,111,235,.55);background:#f7faff}.stage-item.is-current .stage-dot{background:var(--blue);color:#fff}.stage-action{min-height:36px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);font-size:13px;font-weight:800}.stage-item form{margin:0}.photo-card{overflow:hidden}.photo-card,.photo-upload-panel{border:1px solid var(--line);border-radius:8px;background:#fff}.photo-upload-panel{display:grid;grid-gap:10px;gap:10px;margin-bottom:16px;padding:12px}.photo-upload-panel>div{display:grid;grid-gap:3px;gap:3px}.photo-upload-panel>div span{font-size:12px;font-weight:800}.photo-group{display:grid;grid-gap:10px;gap:10px}.photo-group+.photo-group{margin-top:14px}.photo-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.photo-group-head div{display:grid;min-width:0;grid-gap:2px;gap:2px}.photo-group-head span{color:var(--muted);font-size:12px;font-weight:800}.photo-group-head .stage-photo-button{flex:0 0 auto;margin-top:0}.photo-card .damage-photo{min-height:116px;border-radius:0}.photo-meta{display:grid;grid-gap:10px;gap:10px;padding:10px}.photo-visibility-form{display:flex;align-items:center;justify-content:space-between;gap:10px}.switch{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:800}.switch input{width:18px;height:18px;accent-color:var(--blue)}.checklist label{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:700}.checklist input{width:18px;height:18px;accent-color:var(--green)}.insurance-strip{margin-bottom:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.insurance-strip summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:0 14px;cursor:pointer;list-style:none}.insurance-strip summary::-webkit-details-marker{display:none}.insurance-strip summary span{color:var(--muted);font-size:14px;font-weight:800}.insurance-strip summary strong{color:#164a9f;font-weight:850}.insurance-strip[open] summary{border-bottom:1px solid var(--line)}.insurance-strip[open] summary strong{font-size:0}.insurance-strip[open] summary strong:after{content:"Κλείσιμο";font-size:14px}.insurance-strip .checklist{gap:8px;padding:12px}.insurance-progress{margin-bottom:4px;color:var(--muted);font-size:13px;font-weight:850}.update-composer{display:grid;grid-gap:10px;gap:10px;margin-bottom:14px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.update-composer label:not(.switch){display:grid;grid-gap:7px;gap:7px}.update-composer span{color:var(--muted);font-size:13px;font-weight:800}.composer-switch{justify-content:flex-start;min-height:32px}.update-card{padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.update-card p{line-height:1.35;overflow-wrap:anywhere;word-break:break-word}.activity-preview,.customer-updates,.updates-list{min-width:0}.update-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;color:var(--muted);font-size:12px;font-weight:800}.empty-note{color:var(--muted);font-size:14px}.customer-card{margin-bottom:14px}.customer-card h2{margin-bottom:8px}.customer-progress{margin:14px 0 10px}[hidden]{display:none!important}.customer-section{margin-bottom:12px}.customer-section h3{margin-bottom:10px}.photo-grid.compact{grid-template-columns:1fr 1fr}.cost-row,.parts-list div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.cost-row:first-of-type,.parts-list div:first-child{border-top:0}.toast{position:fixed;left:50%;bottom:18px;z-index:20;width:min(calc(100% - 36px),430px);min-height:44px;padding:12px 14px;border-radius:8px;background:#102033;color:#fff;font-weight:800;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%,14px);transition:opacity .16s ease,transform .16s ease}.toast.is-visible{opacity:1;transform:translate(-50%)}.sheet-backdrop{position:fixed;inset:0;z-index:30;display:grid;align-items:end;background:rgba(16,32,51,.34)}.bottom-sheet{width:min(100%,480px);margin:0 auto;padding:10px 18px 18px;border-radius:14px 14px 0 0;background:#fff;box-shadow:0 -16px 38px rgba(16,32,51,.22)}.sheet-handle{width:44px;height:4px;margin:0 auto 14px;border-radius:999px;background:#cfd8e1}.bottom-sheet h2{margin-bottom:14px}.bottom-sheet label:not(.switch){display:grid;grid-gap:7px;gap:7px}.bottom-sheet label span{color:var(--muted);font-size:13px;font-weight:800}@media (max-width:390px){.customer-message-row,.overview-actions{grid-template-columns:1fr}.settings-row-control input[type=date]{width:124px;font-size:13px}}@media (min-width:860px){body{padding:24px}.app-shell{min-height:calc(100vh - 48px);border-radius:8px;overflow:hidden}}@media (min-width:430px){.case-form{grid-template-columns:1fr 1fr}.lifecycle-row{grid-template-columns:1fr auto;align-items:center}}