:root{color-scheme:light;--bg:#f5f6f3;--panel:#fff;--panel2:#edf0e9;--line:#e1e5dc;--text:#222921;--muted:#707a6c;--green:#335e37;--accent:#dff0a9;--ink:#fff;--red:#ad423a;--radius:18px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}html[data-theme=dark]{color-scheme:dark;--bg:#151a16;--panel:#1d241e;--panel2:#273128;--line:#354036;--text:#eef2e9;--muted:#a4afa0;--green:#c5eaa6;--accent:#354a2f;--ink:#1b2817;--red:#f9a59c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--green);outline-offset:3px}a{color:inherit}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;pointer-events:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,2.7vw,43px);letter-spacing:-1.8px;line-height:1.15;font-weight:600}h2{font-size:22px;letter-spacing:-.7px;font-weight:600}h3{font-size:15px;font-weight:600}small,.muted{color:var(--muted);line-height:1.6}.brand{display:flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-1px}.brand img{width:31px;height:31px}.brand strong{font-weight:650}.brand span{color:var(--green)}.boot{display:grid;place-content:center;height:100dvh;font-size:36px}.boot small{font-size:14px}.shell{min-height:100dvh;padding-left:220px}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;border-right:1px solid var(--line);padding:34px 22px 20px;display:flex;flex-direction:column;background:var(--panel);z-index:20}.sidebar .brand{margin-bottom:57px}.sidebar-caption,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:var(--muted)}.sidebar-caption{margin:0 8px 17px;letter-spacing:1.2px;font-size:9px}.nav{display:grid;gap:8px}.nav button{padding:14px 15px;display:flex;align-items:center;gap:13px;background:transparent;color:var(--muted);border-radius:12px;text-align:left;font-weight:550}.nav button:hover{background:var(--bg);color:var(--text)}.nav button.active{background:var(--accent);color:var(--text)}.sidebar-bottom{margin-top:auto}.private-label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);padding:24px 3px}.private-label svg{width:16px}.profile{border-top:1px solid var(--line);padding:20px 0 0;display:flex;align-items:center;gap:10px;background:transparent;width:100%;color:var(--text);text-align:left}.profile>span:nth-child(2){min-width:0;flex:1}.profile strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.profile small{font-size:11px}.profile>svg{width:17px;color:var(--muted)}.avatar{border-radius:50%;width:36px;height:36px;display:grid;place-items:center;background:var(--panel2);color:var(--green);font-size:11px;font-weight:700;flex-shrink:0}.main{min-width:0}.topbar{height:88px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--bg)}.topbar-title{font-size:13px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:16px}.content{padding:42px 44px 70px;max-width:1700px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.heading .eyebrow{display:block;margin-bottom:12px}.record-total{font-size:12px;white-space:nowrap;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--text);font-size:13px;text-decoration:none;line-height:1.4;font-weight:550;min-height:42px}.btn:hover{background:var(--panel2)}.btn.primary{background:var(--green);border-color:var(--green);color:var(--ink)}.btn.primary:hover{filter:brightness(1.08)}.btn.small{padding:8px 12px;font-size:11px;min-height:34px}.btn.text{border-color:transparent;background:transparent}.btn.full{width:100%}.btn.danger{color:var(--red)}.icon-btn{display:inline-grid;place-items:center;width:38px;height:38px;min-width:38px;background:transparent;border-radius:10px;color:var(--muted);text-decoration:none}.icon-btn:hover{background:var(--panel2);color:var(--text)}.star.on{color:var(--green)}.star.on svg{fill:var(--accent)}.actions{display:flex;gap:8px;align-items:center}.searchbox{display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:15px 18px}.searchbox>svg{color:var(--muted)}.searchbox input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--text);font-size:14px}.searchbox:focus-within{border-color:var(--green);box-shadow:0 0 0 2px var(--accent)}kbd{font:10px inherit;color:var(--muted);border:1px solid var(--line);padding:4px 6px;border-radius:4px}.filterbar{display:flex;gap:10px;align-items:center;margin:16px 0 27px;flex-wrap:wrap}.filterbar select{max-width:240px;background:transparent;border-color:var(--line);font-size:12px;min-height:40px}.filterbar>span{margin-left:auto;font-size:11px;color:var(--muted)}select,input[type=date],input[type=month]{border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);padding:10px 12px;min-width:0;max-width:100%}.filter-popover{position:relative}.filter-popover>summary{display:flex;align-items:center;gap:7px;font-size:12px;padding:9px;cursor:pointer;color:var(--muted);list-style:none}.filter-popover>summary svg{width:16px}.filters{position:absolute;right:0;top:45px;z-index:10;width:260px;padding:16px;border:1px solid var(--line);background:var(--panel);box-shadow:0 10px 40px #15211014;border-radius:12px;display:grid;gap:12px}.filters label{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}.repairs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.repair-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:23px;min-width:0;transition:box-shadow .15s,border-color .15s}.repair-card:hover{border-color:var(--muted);box-shadow:0 6px 22px #17291605}.repair-copy{min-width:0}.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.vehicle-label{font-size:12px;font-weight:650;line-height:1.5}.vehicle-label>span{color:var(--muted);font-weight:400;margin-left:5px}.card-title{display:block;text-align:left;background:transparent;color:var(--text);font-size:19px;letter-spacing:-.45px;line-height:1.35;padding:0;font-weight:600;overflow-wrap:anywhere}.card-solution{color:var(--muted);font-size:13px;line-height:1.7;margin:12px 0 21px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px;overflow-wrap:anywhere}.card-footer{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted)}.card-footer time{margin-left:auto}.badge{display:inline-flex;padding:5px 8px;border-radius:6px;font-size:10px;background:var(--panel2);color:var(--green);white-space:nowrap}.badge.partial{background:#c9921915;color:#967120}.badge.unresolved{background:#bd554812;color:var(--red)}.unit-label{max-width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.tag{padding:4px 7px;border:1px solid var(--line);border-radius:5px;font-size:10px;color:var(--muted)}.photo-preview{position:relative;margin:20px -4px -4px;padding:0;background:var(--panel2);width:calc(100% + 8px);height:165px;border-radius:11px;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-preview>span{position:absolute;bottom:10px;right:10px;padding:6px 9px;border-radius:7px;background:#152218b8;color:#fff;font-size:11px;display:flex;align-items:center;gap:5px}.photo-preview svg{width:14px;height:14px}.empty{grid-column:1/-1;text-align:center;padding:72px 20px;background:var(--panel);border:1px dashed var(--line);border-radius:var(--radius)}.empty>svg{width:35px;height:35px;color:var(--muted);margin-bottom:18px}.empty h3{font-size:21px;font-weight:550}.empty p{font-size:13px;color:var(--muted);line-height:1.7;margin:12px auto 23px;max-width:400px}.banner{padding:13px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--accent);border-radius:12px;margin-bottom:20px;font-size:12px;line-height:1.6}.banner.info{background:var(--panel2);color:var(--muted)}.drafts-panel{margin-bottom:18px;padding:14px 17px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}summary{cursor:pointer;line-height:1.5}.drafts-panel summary{font-size:12px;color:var(--muted)}.draft{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}.draft strong,.draft small{display:block;font-size:12px}.draft small{font-size:10px;margin-top:4px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.panel{padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}.panel h2{margin-bottom:20px}.panel p{font-size:13px;line-height:1.7;margin:16px 0}.panel .btn{margin:8px 5px 0 0}.field{margin-bottom:20px;min-width:0}.field label{display:block;margin-bottom:9px;font-size:12px;font-weight:550}.field label span{font-weight:400;color:var(--muted);font-size:10px;margin-left:4px}.field input,.field textarea,.field select{display:block;width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);outline:none;min-height:44px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--green);box-shadow:0 0 0 2px var(--accent)}.field textarea{resize:vertical;min-height:105px;line-height:1.65}.field small{display:block;font-size:11px;margin-top:7px}.field input[type=file]{font-size:12px;max-width:100%}.field input[type=file]::file-selector-button{background:var(--panel2);border:0;border-radius:5px;padding:7px;margin-right:8px;color:var(--text);font:inherit}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.two-col.brand-row{grid-template-columns:1fr}.error{color:var(--red);font-size:12px;line-height:1.6;margin-bottom:12px;white-space:pre-line}.error:empty{display:none}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:22px;padding:0;max-width:min(680px,calc(100vw - 32px));width:680px;max-height:92dvh;box-shadow:0 24px 100px #0b180e26;overscroll-behavior:contain}dialog::backdrop{background:#10201766;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:23px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--panel);z-index:2}.dialog-head h2{font-size:21px}.dialog-head small{font-size:10px;letter-spacing:1px}.dialog-body{padding:25px 28px}.dialog-footer{padding:19px 28px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;bottom:0;background:var(--panel);z-index:2}.dialog-footer small{font-size:10px;max-width:180px}.details-toggle{border-top:1px solid var(--line);padding-top:19px}.details-toggle>summary{font-size:12px;color:var(--muted);margin-bottom:20px}.details-toggle[open]>summary{color:var(--green)}.detail-title{font-size:29px;line-height:1.3;margin:23px 0;overflow-wrap:anywhere}.detail-meta{display:flex;gap:8px;flex-wrap:wrap}.detail-section{padding:20px 0;border-top:1px solid var(--line)}.detail-section h3{font-size:11px;color:var(--muted);margin-bottom:12px;text-transform:uppercase;letter-spacing:1px}.detail-section p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.detail-value{padding:14px;border-radius:10px;background:var(--bg);min-width:0}.detail-value small,.detail-value strong{display:block;overflow-wrap:anywhere}.detail-value strong{font-size:12px;font-weight:550;margin-top:4px}.history article{padding:15px 0}.history strong,.history small{display:block;font-size:11px;margin-bottom:7px}.history summary{font-size:11px;color:var(--muted)}.history pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 inherit;background:var(--bg);padding:15px}.attachment{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12px}.attachment a{flex:1;overflow-wrap:anywhere}.attachment small{font-size:10px}.similar{padding:14px 16px;background:var(--bg);border:1px solid var(--line);border-radius:10px;margin-bottom:20px}.similar small{font-size:9px;letter-spacing:1px}.similar button{display:flex;justify-content:space-between;align-items:center;width:100%;gap:15px;background:transparent;color:var(--green);font-size:12px;text-align:left;padding:10px 0 0}.photo-strip{display:flex;gap:9px;overflow:auto;margin-bottom:24px}.photo-strip button{padding:0;min-width:130px;width:130px;height:105px;border-radius:10px;overflow:hidden;background:var(--panel2)}.photo-strip img{width:100%;height:100%;object-fit:cover}.recovery-code{overflow-wrap:anywhere;background:var(--bg);padding:20px;margin:20px 0;font:15px/1.8 monospace}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1.08fr 1fr}.auth-art{padding:48px clamp(35px,5vw,85px);background:#e7eccf;color:#253420;display:flex;flex-direction:column}.auth-art .brand{margin-bottom:65px}.auth-art .eyebrow{color:#727d62}.auth-art h1{font-size:clamp(36px,4.4vw,66px);line-height:1.12;font-weight:550;letter-spacing:-3px;margin:24px 0}.auth-art h1>span{color:#66804c}.auth-art>p{max-width:360px;line-height:1.7;color:#67765d;font-size:14px}.auth-example{margin-top:38px;padding:24px;border-radius:16px;background:#ffffff82;max-width:400px;transform:rotate(-2deg);border:1px solid #fff9}.auth-example .car-mark{font-size:10px;background:#d1dcbb;padding:9px;border-radius:8px}.auth-example .car-name{flex:1}.car-name strong,.car-name small{display:block;font-size:11px}.auth-example h3{font-size:18px;margin:14px 0}.auth-example p{font-size:12px;line-height:1.7;margin-bottom:17px;color:#69765c}.auth-foot{font-size:10px;color:#67765d;margin-top:auto;padding-top:45px}.auth-main{display:grid;place-content:center;padding:55px 32px;background:var(--panel)}.auth-form{width:350px;max-width:100%}.auth-form h2{font-size:30px;margin-bottom:12px}.auth-form>p{color:var(--muted);line-height:1.7;font-size:13px;margin-bottom:28px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-bottom:28px}.auth-tabs button{padding:12px 0;background:transparent;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}.auth-tabs button.active{color:var(--text);border-color:var(--green)}.auth-links{margin-top:18px;text-align:center}.auth-links button{background:transparent;color:var(--muted);font-size:12px}.auth-demo{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.auth-demo small{font-size:10px;display:block;text-align:center;margin-top:12px}#toasts{position:fixed;right:24px;bottom:24px;z-index:1000;display:grid;gap:8px;max-width:min(420px,calc(100vw - 32px));pointer-events:none}.toast{padding:15px 20px;background:var(--text);color:var(--bg);box-shadow:0 8px 32px #0002;border-radius:12px;font-size:12px;line-height:1.6}.toast.bad{background:#783d38;color:#fff}.bottom-nav,.mobile-add,.mobile-profile,.mobile-brand{display:none}
/* A calendar that is a workspace on desktop, and a sequence of months on phones. */
.schedule-content{padding-top:35px}.calendar-heading{margin-bottom:26px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.month-controls{display:flex;align-items:center;gap:8px}.month-picker{position:relative;display:inline-flex;align-items:center;font-size:20px;font-weight:550;letter-spacing:-.6px;text-transform:capitalize;cursor:pointer;min-height:40px}.month-picker input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.month-picker input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;cursor:pointer}.month-picker:focus-within{outline:2px solid var(--green);outline-offset:3px}.calendar-legend{display:flex;gap:20px;color:var(--muted);font-size:11px}.calendar-legend>span{display:flex;align-items:center;gap:7px}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:3px;background:var(--line);flex-shrink:0}.legend-dot.work{background:#779a5b}.legend-dot.off{background:#dfbb69}.calendar-month{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--panel)}.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line);padding:14px 0;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.weekdays span{padding-left:17px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--line)}.calendar-cell{min-width:0;min-height:max(112px,calc((100dvh - 370px)/5));background:var(--panel);color:var(--text);padding:14px 15px;display:flex;flex-direction:column;align-items:flex-start;position:relative;text-align:left;transition:box-shadow .12s}.calendar-cell.work{background:color-mix(in srgb,var(--panel) 90%,#b8d799)}.calendar-cell.off{background:color-mix(in srgb,var(--panel) 93%,#e4c46d)}.calendar-cell.outside{background:var(--bg);color:var(--muted);opacity:.65}.calendar-cell.outside>*:not(.day-number){visibility:hidden}.calendar-cell:hover:not(:disabled){box-shadow:inset 0 0 0 2px var(--green);z-index:1}.calendar-cell:focus-visible{outline:3px solid var(--green);outline-offset:-3px;z-index:1}.day-number{font-size:18px;line-height:28px;width:29px;height:29px;display:grid;place-items:center;margin-left:-4px}.today .day-number{background:var(--green);color:var(--ink);border-radius:50%}.shift-label{font-size:9px;color:var(--muted);margin-top:9px}.day-note{font-size:10px;line-height:1.5;color:var(--text);margin-top:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.today-label{position:absolute;top:22px;right:12px;font-size:8px;color:var(--green)}.note-dot{display:none}.day-draft{font-size:9px;color:var(--red);margin-top:5px}.calendar-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;color:var(--muted);font-size:10px;line-height:1.6}.calendar-foot svg{width:14px;height:14px;margin-right:5px}.following-month,.scroll-month-label,.load-months{display:none}.schedule-hint{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 20px}.cycle-presets{display:flex;gap:10px;margin-bottom:25px}.cycle-presets button{flex:1;padding:13px 8px}.cycle-presets .selected{border-color:var(--green);background:var(--accent)}.cycle-explanation{font-size:12px}.cycle-preview{margin:20px 0;padding:16px;border-radius:12px;background:var(--bg)}.cycle-preview>small{font-size:9px;letter-spacing:1px}.cycle-preview>div{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px;margin-top:12px}.preview-day{display:grid;place-items:center;min-height:29px;border-radius:5px;font-size:10px;background:var(--panel2)}.preview-day.work{background:#c6ddb0;color:#355029}.preview-day.off{background:#f0dfb7;color:#756031}.switch-label{display:flex;align-items:center;gap:10px;font-size:12px;margin-bottom:13px}.switch-label input{accent-color:var(--green);width:18px;height:18px}.switch-label+p{font-size:11px}.day-status{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:23px;color:var(--muted)}.day-options{display:flex;gap:8px;border:0;padding:0;margin:0 0 24px}.day-options legend{font-size:12px;margin-bottom:10px}.day-options label{flex:1;position:relative;cursor:pointer}.day-options input{position:absolute;opacity:0}.day-options span{display:block;padding:13px 8px;border:1px solid var(--line);border-radius:10px;text-align:center;font-size:12px}.day-options input:checked+span{background:var(--accent);border-color:var(--green)}.day-options input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}#day-title{text-transform:capitalize}#day-draft-status{font-size:11px}
/* Photos stay private and are fetched with the current session. */
#gallery{width:min(1200px,calc(100vw - 40px));max-width:calc(100vw - 40px);height:92dvh;max-height:92dvh;background:#121713;color:#eef2e9;border-color:#334035;overflow:hidden;padding:0}#gallery[open]{display:flex;flex-direction:column}#gallery::backdrop{background:#06110be6}.gallery-head{padding:20px 25px;display:flex;align-items:center;justify-content:space-between;gap:12px}.gallery-head h2{font-size:18px}.gallery-head span{font-size:11px;color:#acb9ac;overflow-wrap:anywhere}.gallery-head .icon-btn{color:#fff}.gallery-stage{display:flex;align-items:center;flex:1;min-height:0;position:relative;padding:0 65px}.gallery-picture{height:100%;width:100%;display:flex;align-items:center;justify-content:center;overflow:auto}.gallery-picture>img{max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in;touch-action:pan-y}.gallery-picture.zoomed{display:block}.gallery-picture.zoomed>img{max-width:none;max-height:none;cursor:zoom-out;min-width:100%}.gallery-arrow{position:absolute;top:calc(50% - 24px);width:44px;height:44px;border-radius:50%;background:#ffffff16;color:white;display:grid;place-items:center;z-index:2}.gallery-arrow.prev{left:10px}.gallery-arrow.next{right:10px}.gallery-thumbs{display:flex;gap:10px;justify-content:center;padding:20px;overflow:auto;flex-shrink:0}.gallery-thumbs button{width:60px;height:48px;padding:3px;background:transparent;border:2px solid transparent;border-radius:7px;flex-shrink:0}.gallery-thumbs button.selected{border-color:#dff0a9}.gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:3px}.gallery-help{text-align:center;font-size:10px;padding-bottom:16px;color:#acb9ac}.image-error{text-align:center;font-size:19px;line-height:1.8}.image-error small{color:#acb9ac;font-size:12px}.image-error button{display:block;margin:14px auto}.image-error[hidden]{display:none}.error-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 20px;background:var(--bg)}.error-page img{width:min(350px,75vw);margin:25px 0}.error-page .error-number{font-size:12px;letter-spacing:3px;color:var(--muted)}.error-page h1{max-width:600px}.error-page p{line-height:1.8;margin:17px 0 25px;color:var(--muted);max-width:400px}.error-page .meme-caption{font-size:13px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 22px;margin-bottom:25px}.error-page .brand{position:absolute;top:30px;left:40px}
@media(min-width:1100px){#detail{position:fixed;inset:12px 12px 12px auto;margin:0;width:min(620px,48vw);max-width:48vw;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);z-index:50;box-shadow:-20px 0 90px #16271826;border-radius:20px}}
@media(min-width:1700px){.repairs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.shell{padding-left:190px}.sidebar{width:190px;padding:30px 16px}.content{padding:32px 25px 60px}.topbar{padding:0 25px}.calendar-toolbar{flex-wrap:wrap;gap:12px}.today-label{display:none}.calendar-cell{padding:12px 9px}.weekdays span{padding-left:11px}.unit-label{display:none}}
@media(max-width:900px){.repairs-grid{grid-template-columns:1fr}.auth-art h1{letter-spacing:-1.5px}.auth-form{width:100%}.auth-art{padding:35px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){.shell{padding-left:0}.sidebar{display:none}.topbar{height:65px;padding:0 20px;position:sticky;top:0;z-index:15;background:var(--bg)}.topbar-title,.top-add{display:none}.mobile-brand{display:block;font-size:21px;letter-spacing:-.8px}.mobile-brand b{color:var(--green);font-weight:550}.mobile-profile{display:grid}.topbar-right{gap:8px}.content{padding:28px 18px 115px}.heading{margin-bottom:25px;gap:12px}.heading h1{font-size:29px;letter-spacing:-1.3px;max-width:330px}.heading .eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:10px}.record-total{display:none}.bottom-nav{position:fixed;inset:auto 0 0;z-index:25;display:flex;background:var(--panel);border-top:1px solid var(--line);padding:8px 20px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;gap:10px}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;background:transparent;color:var(--muted);font-size:10px;padding:5px 16px;border-radius:10px;min-height:47px;min-width:78px}.bottom-nav button.active{color:var(--green);background:var(--accent)}.mobile-add{display:grid;place-items:center;position:fixed;bottom:calc(88px + env(safe-area-inset-bottom));right:20px;width:54px;height:54px;border-radius:18px;background:var(--green);color:var(--ink);box-shadow:0 8px 25px #23392125;z-index:20}.mobile-add svg{width:25px;height:25px}.searchbox{padding:14px}.searchbox input{font-size:12px}.searchbox kbd{display:none}.filterbar{gap:7px;margin:12px 0 20px}.filterbar select{font-size:11px;max-width:calc(50% - 6px);flex:1;padding:10px 7px}.filter-popover{flex:none}.filter-popover summary{font-size:0;padding:8px}.filter-popover svg{width:20px;height:20px}.filterbar>span{display:none}.filters{right:0}.repair-card{padding:20px;border-radius:15px}.card-title{font-size:18px}.card-solution{font-size:12px}.card-footer{font-size:10px}.card-footer .unit-label{display:none}.photo-preview{height:175px}.banner{font-size:10px;flex-wrap:wrap;padding:12px}.banner .btn{font-size:10px}.settings-grid{grid-template-columns:1fr;gap:16px}.panel{padding:23px}.panel h2{font-size:20px}.auth-shell{grid-template-columns:1fr;min-height:100dvh}.auth-art{padding:28px 24px 30px}.auth-art .brand{margin-bottom:30px}.auth-art h1{font-size:35px;margin:15px 0 0}.auth-art .eyebrow{font-size:9px}.auth-art>p,.auth-example,.auth-foot{display:none}.auth-main{padding:30px 24px;display:block}.auth-form{max-width:430px;margin:auto}.auth-form h2{font-size:27px}.dialog-head{padding:20px}.dialog-head h2{font-size:19px}.dialog-body{padding:22px 20px}.dialog-footer{padding:16px 20px;flex-wrap:wrap}.dialog-footer small{max-width:none;font-size:9px}.dialog-footer .actions{margin-left:auto}.dialog-footer .btn{font-size:12px;padding:10px 12px}.two-col{gap:0 12px}dialog{max-width:calc(100vw - 20px);max-height:94dvh;border-radius:18px}.field label span{display:none}.field input,.field textarea{font-size:16px}.field label{font-size:12px}.detail-title{font-size:24px}.detail-section p{font-size:13px}.draft{flex-wrap:wrap}#toasts{bottom:90px;right:16px}.schedule-content{padding:26px 12px 100px}.calendar-heading{padding:0 6px;align-items:flex-end}.calendar-heading h1{font-size:29px}.cycle-button{font-size:10px;padding:10px;gap:6px}.cycle-button svg{width:15px;height:15px}.calendar-toolbar{padding:0 3px;gap:15px}.month-controls{width:100%;gap:3px;justify-content:space-between}.month-picker{font-size:18px}.month-controls .btn{font-size:10px}.calendar-legend{width:100%;padding:0 9px;font-size:10px;gap:18px}.calendar-month{border-radius:13px;margin-bottom:24px}.calendar-cell{min-height:87px;padding:8px 4px 7px 7px;overflow:hidden}.day-number{font-size:14px;width:25px;height:25px;line-height:25px;margin-left:-2px}.shift-label{font-size:0;margin-top:6px}.shift-label:after{content:'';display:block;width:15px;height:3px;border-radius:3px;background:var(--line)}.work .shift-label:after{background:#819c64}.off .shift-label:after{background:#c2a151}.day-note{font-size:8px;line-height:1.3;margin-top:5px;-webkit-line-clamp:1;max-width:100%}.note-dot{display:block;position:absolute;right:7px;top:14px;width:4px;height:4px;border-radius:50%;background:var(--green)}.day-draft{font-size:7px}.weekdays{padding:12px 0;font-size:9px}.weekdays span{padding-left:12px}.following-month{display:block}.scroll-month-label{display:block;padding:20px 15px;text-transform:capitalize;font-size:18px;border-bottom:1px solid var(--line)}.calendar-month:first-child .scroll-month-label{display:none}.calendar-foot{padding:0 7px}.calendar-foot>span:last-child{display:none}.load-months{display:flex;width:100%;margin:3px 0 20px}.schedule-hint{font-size:11px;padding:0 7px}.cycle-preview>div{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;display:flex;flex-wrap:wrap}.preview-day{width:calc((100% - 30px)/7);min-height:30px}.day-options{gap:6px}.day-options span{font-size:11px;padding:12px 7px}#gallery{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.gallery-head{padding:20px 15px}.gallery-stage{padding:0 10px}.gallery-arrow{top:auto;bottom:12px;background:#101b13b8;width:40px;height:40px}.gallery-thumbs{justify-content:flex-start;padding:16px;gap:7px}.gallery-help{padding:0 15px 20px;font-size:9px}.gallery-head h2{font-size:15px}.gallery-head span{font-size:9px}.gallery-head .icon-btn{min-width:33px;width:33px}.error-page .brand{top:22px;left:22px}.error-page h1{font-size:30px}.error-page p{font-size:13px}.error-page .meme-caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.failure-body{text-align:center}.failure-body img{width:240px;max-width:90%}.failure-body p{line-height:1.8;margin:14px 0 22px;font-size:13px}
.photo-preview{display:block}.photo-open{padding:0;width:100%;height:100%;display:block;border:0;background:transparent}.photo-open img{display:block}.photo-preview .photo-count{pointer-events:none}.card-photo-arrow{position:absolute;top:calc(50% - 17px);z-index:1;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#132018ad;color:white}.card-photo-arrow.prev{left:9px}.card-photo-arrow.next{right:9px}.card-photo-arrow svg{width:18px;height:18px}.photo-unavailable{display:none;font-size:11px;color:var(--muted);padding:25px}.photo-preview.unavailable img{display:none}.photo-preview.unavailable .photo-unavailable{display:block}
/* Shared choice sheets and confirmation dialogs. */
.native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);opacity:0;padding:0!important;border:0!important;pointer-events:none}.select-control{position:relative;min-width:0}.select-trigger{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--text);text-align:left;font-size:13px}.select-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.select-trigger svg{width:16px;height:16px;color:var(--muted)}.field .select-trigger{background:var(--bg);font-size:14px}.filterbar>.select-control{max-width:240px;flex:0 1 210px}.filterbar .select-trigger{font-size:12px;background:var(--panel);min-height:42px}.filters .select-control{width:100%}.repair-card[data-repair]{cursor:pointer}.repair-card[data-repair]:focus-visible{outline:3px solid var(--green);outline-offset:3px}.repair-card[data-repair]:active{border-color:var(--green)}#confirm-dialog,#picker-dialog{width:480px}.confirmation-mark{width:48px;height:48px;border-radius:14px;background:var(--accent);display:grid;place-items:center;color:var(--green);margin-bottom:18px}.confirmation-mark.warning{background:color-mix(in srgb,var(--panel) 88%,var(--red));color:var(--red)}.confirmation-message{font-size:14px;line-height:1.75;color:var(--muted)}.btn.destructive{background:var(--red);color:#fff;border-color:var(--red)}#confirm-dialog .dialog-footer>.btn{flex:1}.picker-body{padding:16px}.picker-body>.searchbox{margin:0 4px 14px}.picker-options{display:grid;gap:4px}.picker-option{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;min-height:48px;border-radius:11px;text-align:left;background:transparent;color:var(--text);font-size:14px}.picker-option:hover{background:var(--panel2)}.picker-option.selected{background:var(--accent);color:var(--text)}.picker-option[hidden],.picker-empty[hidden]{display:none}.picker-option svg{width:18px;height:18px;color:var(--green)}.picker-empty{padding:30px 15px;text-align:center;font-size:13px;color:var(--muted);line-height:1.7}
@media(max-width:760px){.content{padding:24px 16px 112px}.heading{margin-bottom:22px}.heading h1{font-size:28px;line-height:1.16;max-width:100%;letter-spacing:-1.05px}.heading .eyebrow{font-size:9px;letter-spacing:1.1px}.topbar{padding:0 16px}.topbar-right>.icon-btn{width:42px;height:42px}.searchbox{min-height:50px;border-radius:12px;padding:12px 14px}.searchbox input{font-size:14px;line-height:1.5}.filterbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:8px;align-items:stretch;margin:12px 0 18px}.filterbar>.select-control{max-width:none;min-width:0}.filterbar .select-trigger{min-height:44px;font-size:12px;padding:10px;border-radius:10px;gap:5px}.filter-popover>summary{width:44px;min-height:44px;display:grid;place-items:center;background:var(--panel);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:10px}.filters{top:52px;width:min(280px,calc(100vw - 32px));padding:16px}.filters input[type=date]{width:180px;min-height:44px}.repairs-grid{gap:14px}.repair-card{padding:18px;border-radius:16px}.card-top{margin-bottom:12px;align-items:center}.vehicle-label{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.vehicle-label>span{font-size:12px}.star{width:42px;height:42px;min-width:42px;margin-right:-8px}.card-title{font-size:18px;line-height:1.4}.card-solution{font-size:13px;line-height:1.65;margin:11px 0 17px;min-height:43px}.card-footer{gap:8px;font-size:10px;min-height:27px}.badge{font-size:10px;padding:6px 8px}.card-footer time{white-space:nowrap}.photo-preview{margin-top:17px;border-radius:12px;height:185px}.card-photo-arrow{width:42px;height:42px;top:calc(50% - 21px)}.bottom-nav{padding:8px 16px calc(8px + env(safe-area-inset-bottom));gap:8px}.bottom-nav button{flex:1;min-width:0;padding:7px 10px;font-size:11px;min-height:51px;gap:5px}.mobile-add{right:16px;bottom:calc(94px + env(safe-area-inset-bottom))}.banner{padding:12px 14px;gap:10px;font-size:11px;line-height:1.6}.banner .btn{min-height:38px;font-size:11px}.schedule-content{padding:24px 16px 112px}.calendar-heading{padding:0;gap:10px}.calendar-toolbar{padding:0}.calendar-legend{padding:0 4px}.month-controls .btn{min-height:40px}.calendar-month{margin-bottom:20px}.day-note{font-size:9px}.calendar-cell{padding-left:6px}.weekdays span{padding-left:10px}.cycle-button{min-height:42px;font-size:11px;padding:10px}.dialog-head{padding:20px 20px 16px;gap:12px}.dialog-head h2{font-size:20px;line-height:1.3;letter-spacing:-.5px}.dialog-head .icon-btn{width:42px;height:42px;min-width:42px;margin-right:-6px}.dialog-body{padding:22px 20px}.dialog-footer{padding:16px 20px calc(16px + env(safe-area-inset-bottom));gap:10px}.dialog-footer .actions{width:100%;margin:0;display:flex;gap:10px}.dialog-footer .btn{font-size:13px;min-height:46px;padding:12px 15px}.dialog-footer .actions>.btn{flex:1}.dialog-footer small{font-size:10px;line-height:1.5;width:100%;max-width:none}.field{margin-bottom:18px}.field label{font-size:13px;margin-bottom:9px}.field input,.field textarea,.field .select-trigger{min-height:48px;border-radius:11px}.field textarea{line-height:1.6}.two-col{gap:0 12px}.two-col:not(.brand-row){grid-template-columns:1fr 1fr}.detail-grid{gap:10px}.detail-title{font-size:25px;margin:20px 0;line-height:1.3}.details-toggle>summary{font-size:13px;line-height:1.6}.attachment{font-size:13px;line-height:1.5}.cycle-presets{gap:8px}.cycle-presets .btn{min-height:46px;font-size:13px}.day-options span{min-height:46px;font-size:12px;padding:13px 7px}.panel{padding:22px;border-radius:16px}.panel .btn{min-height:44px}.draft{gap:12px}.draft .actions{width:100%;justify-content:flex-end}.draft .btn{min-height:42px}.auth-main{padding:30px 20px}.auth-art{padding:26px 20px}.auth-form .btn{min-height:48px}.auth-links button{min-height:44px}dialog:not(#gallery):not(#detail){position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;max-height:90dvh;border-radius:24px 24px 0 0;border-bottom:0;box-shadow:0 -15px 70px #0b180e26}#detail{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:94dvh;margin:auto;border-radius:20px}#confirm-dialog .dialog-body{padding-top:18px;padding-bottom:26px}.confirmation-message{font-size:14px}.picker-body{padding:14px 12px 22px}.picker-body .searchbox{margin:0 6px 12px}.picker-option{min-height:50px;padding:14px;border-radius:12px}.picker-body .searchbox input{font-size:16px}#picker-dialog{max-height:85dvh}.picker-body .picker-options{padding-bottom:env(safe-area-inset-bottom)}}
@media(max-width:370px){.heading h1{font-size:25px}.filterbar .select-trigger{font-size:11px;padding:9px 8px}.calendar-heading{align-items:center}.calendar-heading h1{font-size:26px}.cycle-button{max-width:145px;font-size:10px}.two-col:not(.brand-row){grid-template-columns:1fr}.cycle-presets{gap:6px}}
