:root{--ink:#203d35;--muted:#667b73;--green:#174c3d;--line:#dfe7e1;font-family:system-ui,"Yu Gothic",sans-serif;color:var(--ink);background:#f3f6f2;line-height:1.55;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;min-height:42px;padding:9px 15px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font-weight:600}button:hover{background:#edf4ed;border-color:#9ebaa9}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:3px solid #c49b42;outline-offset:3px}input,textarea,select{padding:10px 12px;border:1px solid #cbd7ce;border-radius:7px;min-height:44px;background:white;color:var(--ink);max-width:100%}input,textarea{width:100%}input[type=checkbox]{width:auto;min-height:20px}label{font-size:14px;font-weight:600}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.04em;margin-bottom:0}h2{font-size:20px}h3{font-size:17px}.small,small{font-size:12px;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.16em;color:var(--muted);font-weight:700;margin-bottom:6px}.hidden,[hidden]{display:none!important}.primary,#registerButton,#auditSearchButton,.login-box button[type=submit]{background:var(--green);color:white;border-color:var(--green)}
.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#153f33;color:#eff6ed;padding:32px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:700;margin-bottom:38px}.brand small{display:block;font-size:10px;color:#a9c5b6;margin-top:4px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid #729b83;border-radius:10px;font-size:23px;color:#d1e9ac}.nav-caption{font-size:10px;letter-spacing:.1em;color:#98b5a5;margin-bottom:10px}.sidebar nav{display:grid;gap:5px}.sidebar button{border:0;background:transparent;color:#c8dbd0;text-align:left;font-size:13px;font-weight:500;width:100%;min-height:44px}.sidebar button:hover,.sidebar button.active{background:#315d49;color:white}.sidebar button.active{box-shadow:inset 3px 0 #c6de99}.sidebar nav span{float:right;background:#456d53;padding:0 7px;border-radius:5px}.admin-nav{margin-top:32px}.admin-nav button{font-size:12px}.version-label{color:#92ae9d;font-size:10px;margin-top:14px}.app-header{margin-left:232px;padding:28px 36px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px}.account-toolbar{display:flex;gap:14px;align-items:center;font-size:12px;flex-wrap:wrap}.account-toolbar button{font-size:12px;min-height:36px}main{margin-left:232px;padding:0 36px 40px;max-width:1580px}section{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.top-save-panel{position:sticky;top:0;z-index:10;display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;padding:12px 18px;box-shadow:0 3px 12px #183c3105}.top-save-panel>div:first-child{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.top-save-panel h2{font-size:11px;color:var(--muted);margin:0}.top-save-panel p{margin:0;font-size:11px}#storagePath{display:none}.top-save-panel #dataMessage{flex-basis:100%}#dataMessage:empty,#backupStatusMessage:empty{display:none}.top-save-actions{margin-left:auto}.save-status{font-size:11px;padding:3px 8px;border-radius:5px;background:#edf4e9}.saved{color:#326244}.unsaved{color:#a54029;background:#fff1e6}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.section-heading h2,.section-heading h3,.section-heading p{margin-bottom:0}.section-heading label{display:flex;align-items:center;gap:8px;font-size:12px}.section-heading select{font-size:12px;min-height:36px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 34px}.stat{text-align:left;background:#f7faf5;border:1px solid #dce6d8;padding:20px}.stat span,.stat strong,.stat small{display:block}.stat span{font-size:13px}.stat strong{font-size:42px;line-height:1.2;margin:10px 0}.stat small{font-size:11px;font-weight:400}.alert-stat{background:#fff8ee;border-color:#eadbc4}.alert-stat strong{color:#a35a2a}.count{font-size:12px;color:var(--muted);font-weight:400;margin-left:6px}
.table-head,.vehicle-row{display:grid;grid-template-columns:minmax(190px,1.4fr) minmax(100px,1fr) minmax(130px,1fr) 100px;gap:14px;align-items:center}.table-head{background:#f5f7f3;border-radius:7px;padding:10px 14px;font-size:11px;color:var(--muted)}.vehicle-row{border-bottom:1px solid #edf0eb;padding:16px 14px;font-size:13px}.vehicle-row:last-child{border-bottom:0}.vehicle-identity{display:flex;align-items:center;gap:12px;min-width:0}.vehicle-identity>div{min-width:0}.vehicle-identity strong,.vehicle-identity span,.vehicle-identity small{display:block;overflow-wrap:anywhere}.vehicle-identity span{font-size:11px;color:var(--muted)}.vehicle-identity img,.photo-placeholder{width:66px;height:48px;object-fit:contain;flex-shrink:0;background:#fafbf8;border-radius:7px;border:1px solid #e9ede6}.photo-placeholder{font-size:9px;display:grid;place-items:center}.vehicle-row button{font-size:11px;padding:8px 10px;min-height:36px}.vehicle-location{overflow-wrap:anywhere}.status-pill{display:inline-block;font-size:10px;border-radius:5px;padding:5px 8px;background:#eef4ea;line-height:1.5}.overdue{color:#a5442d;background:#fff0e9}.due{color:#8a6518;background:#fff5d9}.normal{color:#3b6646}.empty-state{padding:28px;text-align:center;color:var(--muted);font-size:13px}
#searchSection,#registerSection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}#searchSection h2,#searchSection>p,#registerSection h2,#registerSection>p,#duplicatePanel{grid-column:1/-1}#searchSection h2,#registerSection h2{margin-bottom:0}.form-row{min-width:0}.form-row label{display:block;margin-bottom:6px}.form-row p{margin:6px 0 0;font-size:11px}#registerSection .form-row:has(textarea),#registerSection .form-row:has(input[type=file]){grid-column:1/-1}#duplicatePanel{border:1px solid #ddc69a;background:#fffaf0;border-radius:8px;padding:20px}#duplicateRows{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.bike-card{overflow-wrap:anywhere;border:1px solid var(--line);padding:18px;border-radius:10px;background:white}.bike-card p{font-size:13px;margin-bottom:10px}.bike-card img{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:8px}.bike-card ul{font-size:12px;color:var(--muted);max-height:150px;overflow:auto;padding-left:20px}.bike-card button{margin:5px 4px 0 0;font-size:12px}.account-panel{position:fixed;inset:6% 12%;z-index:40;overflow:auto;background:white;box-shadow:0 0 0 200vmax #0b231e80}.account-panel label{display:block;margin:12px 0}.account-panel input,.account-panel select{display:block;margin-top:5px}.account-panel form{max-width:680px}#userRows>div{padding:12px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8px;flex-wrap:wrap}#userRows span{flex:1;overflow-wrap:anywhere}dialog{width:min(640px,calc(100% - 28px));max-height:90dvh;border:1px solid var(--line);border-radius:14px;padding:24px;color:var(--ink)}dialog::backdrop{background:#0b231e80}dialog .bike-card{border:0;padding:0}dialog .section-heading{position:sticky;top:-24px;background:white;padding:12px 0;z-index:1}dialog .bike-card button{min-height:44px}.server-disconnect-notice{position:fixed;bottom:18px;right:18px;z-index:60;max-width:calc(100% - 36px);padding:14px 20px;border-radius:10px;background:#a63f29;color:white}.login-screen{width:min(440px,calc(100% - 32px));margin:10vh auto;padding:34px;box-shadow:0 18px 60px #183c310c}.login-box h2{font-size:27px}.login-box label{display:block;margin:18px 0}.login-box input{margin-top:7px}.login-box button[type=submit]{width:100%}.login-box p{font-size:13px}
@media(max-width:1000px){.table-head{display:none}.vehicle-row{grid-template-columns:1fr auto;gap:10px}.vehicle-identity{grid-column:1/-1}.vehicle-location{grid-column:1/-1}.app-header{padding:24px}main{padding:0 20px 30px}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:14px 16px}.brand{margin-bottom:12px}.brand small,.sidebar>.nav-caption,.version-label,.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sidebar nav button{font-size:11px;text-align:center;padding:8px 4px;min-height:44px}.sidebar nav span{float:none;font-size:10px}.admin-nav{margin-top:8px;display:flex;gap:4px;flex-wrap:wrap}.admin-nav .nav-caption{display:none}.admin-nav button{width:auto;min-height:34px;font-size:10px;padding:6px 10px}.app-header,main{margin-left:0}.app-header{padding:20px 16px;align-items:flex-start}.app-header h1{font-size:24px}.account-toolbar{font-size:10px;justify-content:flex-end;max-width:55%;gap:6px}.account-toolbar button{font-size:10px;padding:6px 10px;min-height:32px}main{padding:0 12px 28px}section{padding:18px}.top-save-panel{position:static;padding:12px}.top-save-panel>div:first-child{gap:6px 10px}.top-save-panel h2{display:none}.stat-grid{gap:8px;margin:18px 0 26px}.stat{padding:12px 8px}.stat span{font-size:11px}.stat strong{font-size:30px}.stat small{font-size:9px}.vehicle-row{padding:15px 0}.vehicle-identity img{width:70px;height:50px}.vehicle-location{font-size:12px}.vehicle-row button{min-height:44px}.section-heading{gap:10px}.section-heading h2{font-size:18px}#searchSection,#registerSection{grid-template-columns:1fr;gap:14px}#searchSection>*,#registerSection>*{grid-column:1}.account-panel{inset:2%;padding:18px}dialog{padding:18px}dialog .section-heading{top:-18px}.bike-card button{width:100%;margin-right:0}.login-screen{margin:6vh auto;padding:26px}}

/* v3.6.2 vehicle and field review layout */
.next-date{display:block;margin-top:8px;font-size:12px;color:var(--muted)}
.vehicle-filters{display:flex;gap:16px;align-items:end;background:#f5f8f3;padding:16px;border-radius:10px;margin-bottom:16px}.vehicle-filters label:first-child{flex:1}.vehicle-filters input,.vehicle-filters select{display:block;margin-top:6px;width:100%}
.vehicle-identity img{width:92px;height:70px}.vehicle-location{font-weight:600;font-size:14px}
.recheck-card{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,1.25fr) minmax(190px,1fr);gap:24px;margin-bottom:18px;padding:24px}.recheck-photo{display:grid;place-items:center;background:#f7f9f5;border-radius:10px;min-height:170px}.recheck-photo img{height:190px;width:100%;object-fit:contain}.recheck-info h3{font-size:20px;margin:12px 0}.recheck-info p{margin-bottom:7px}.recheck-actions{border-left:1px solid var(--line);padding-left:22px;display:flex;flex-direction:column;justify-content:center;gap:10px}.recheck-actions button{width:100%;min-height:48px;margin:0}.recheck-actions p{margin:0}.not-found{border-color:#cfaf91;background:#fff9f0;color:#805021}.recheck-actions small{line-height:1.8}
@media(max-width:1150px){.recheck-card{grid-template-columns:140px 1fr;gap:18px}.recheck-actions{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.recheck-photo img{height:160px}}
@media(max-width:760px){.vehicle-filters{flex-direction:column;align-items:stretch;padding:12px}.recheck-card{grid-template-columns:1fr;padding:16px}.recheck-photo{min-height:0}.recheck-photo img{height:190px}.recheck-info h3{font-size:19px}.recheck-actions{grid-column:1}.vehicle-identity img{width:92px;height:70px}}

/* Plain operational layout: web only. */
:root{--ink:#282d30;--muted:#62686c;--green:#38634d;--line:#d4d7d9;background:#fff;font-family:"Yu Gothic UI","Meiryo",sans-serif;font-size:14px}
button,input,select,textarea{border-radius:3px}button{font-weight:500;min-height:36px;padding:6px 12px}button:hover{background:#f0f2f1;border-color:#929b96}.primary:hover,#registerButton:hover{background:#2b503d;color:#fff}h1{font-size:22px;letter-spacing:0}h2{font-size:18px}h3{font-size:16px}
.sidebar{width:180px;background:#f4f5f5;color:var(--ink);border-right:1px solid var(--line);padding:22px 12px}.brand{font-size:16px;margin-bottom:25px;padding:0 6px;line-height:1.6}.sidebar button{color:#343a3d;font-size:14px;border-radius:2px;min-height:38px}.sidebar button:hover{background:#e9ecea;color:#282d30}.sidebar button.active{background:#e1e7e3;color:#223e2f;box-shadow:inset 3px 0 #52725d}.sidebar nav span{background:#d2dbd5;border-radius:2px;color:#344c3b;font-size:11px}.nav-caption{color:#696f72;letter-spacing:0}.admin-nav{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}.admin-nav button{font-size:13px}.version-label{color:#73797c}
.app-header{margin-left:180px;padding:18px 24px 12px}.account-toolbar{font-size:12px}main{margin-left:180px;padding:0 24px 28px;max-width:none}section{padding:18px 0;border:0;border-radius:0;border-top:1px solid var(--line);margin-bottom:12px;background:white}.section-heading{gap:12px;margin-bottom:14px}.top-save-panel{padding:8px 10px;border:1px solid #dde0de;background:#f7f8f7;box-shadow:none;gap:3px 14px}.top-save-panel h2{display:none}.top-save-panel p{font-size:12px}.save-status{border-radius:2px;background:transparent}.top-save-panel>div:first-child{gap:12px}.stat-grid{gap:0;margin:16px 0 24px;border-block:1px solid var(--line)}.stat{border:0;border-right:1px solid var(--line);background:white;padding:12px 18px;border-radius:0}.stat:last-child{border-right:0}.stat strong{font-size:28px;margin:4px 0}.stat span{font-size:13px}.stat small{font-size:11px}.alert-stat{background:white}.alert-stat strong{color:#9b501f}
.table-head{background:#f0f2f2;border-radius:0;font-size:12px}.vehicle-row{padding:10px 12px;border-color:var(--line)}.vehicle-identity img,.photo-placeholder{border-radius:2px;background:white}.status-pill{border-radius:2px;font-size:11px;padding:3px 5px}.vehicle-filters{padding:10px;background:#f5f6f6;border-radius:0}.next-date{margin-top:5px}.bike-card{border-radius:3px}.bike-card img{border-radius:0}
.recheck-card{grid-template-columns:140px minmax(200px,1fr) 245px;gap:20px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px 0;margin:0}.recheck-photo{background:white;border-radius:0;min-height:0}.recheck-photo img{height:115px;max-height:115px}.recheck-info h3{font-size:17px;margin:6px 0}.recheck-info p{margin-bottom:3px}.recheck-info>button{min-height:32px;padding:4px 8px}.recheck-actions{padding-left:18px;gap:7px}.recheck-actions button{min-height:38px}.recheck-actions>p{font-size:12px}.recheck-actions small{font-size:11px;line-height:1.5}.not-found{background:#fff;border-color:#b5aaa0;color:#654d39}
#searchSection,#registerSection{gap:12px 20px}input,select,textarea{min-height:38px;padding:7px 10px}#duplicatePanel{border-radius:3px}.account-panel{padding:20px;border:1px solid var(--line);box-shadow:0 0 0 200vmax #18202066}dialog{border-radius:4px}dialog::backdrop{background:#18202066}.login-screen{border:1px solid var(--line);padding:28px;box-shadow:none;border-radius:3px}.login-box h2{font-size:23px}.server-disconnect-notice{border-radius:3px}
@media(min-width:761px) and (max-width:1050px){.recheck-card{grid-template-columns:110px minmax(150px,1fr) 190px;gap:12px}.recheck-actions{grid-column:auto;border-top:0;border-left:1px solid var(--line);padding:0 0 0 12px}.recheck-info h3{font-size:16px}}
@media(max-width:760px){.sidebar{width:100%;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:16px;margin:0 0 10px;padding:0}.sidebar nav button{font-size:12px;min-height:44px}.admin-nav{margin-top:8px;padding-top:8px}.app-header,main{margin-left:0}.app-header{padding:14px 12px 10px}.app-header h1{font-size:20px}main{padding:0 12px 20px}section{padding:14px 0}.top-save-panel{padding:8px}.stat{padding:10px 7px}.stat span{font-size:11px}.stat strong{font-size:25px}.stat small{font-size:10px}.section-heading h2{font-size:17px}.vehicle-row{padding:12px 0}.recheck-card{grid-template-columns:90px minmax(0,1fr);gap:10px;padding:14px 0}.recheck-photo{align-self:start}.recheck-photo img{height:86px}.recheck-info h3{font-size:16px}.recheck-actions{grid-column:1/-1;border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.recheck-actions>p,.recheck-actions>small{grid-column:1/-1}.recheck-actions button{min-height:44px;font-size:12px;width:100%}.recheck-actions small br{display:none}.recheck-actions small{font-size:10px}.account-panel{padding:16px}.login-screen{padding:24px}}
@media(min-width:761px){.recheck-actions{grid-column:auto;border-top:0}}

/* Shared dialogs for application messages, confirmations and panels. */
body:has(dialog.app-modal[open]){overflow:hidden}
dialog.app-modal{position:fixed;inset:0;margin:auto;width:min(680px,calc(100% - 28px));max-width:calc(100% - 28px);height:fit-content;max-height:calc(100dvh - 32px);padding:22px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:4px;box-shadow:0 4px 18px #0002;overflow:auto;overscroll-behavior:contain}
dialog.app-modal:not([open]){display:none}
dialog.app-modal[open]{animation:modal-in 200ms ease-out both}
dialog.app-modal::backdrop{background:rgba(0,0,0,.35);backdrop-filter:none;animation:backdrop-in 200ms ease-out both}
dialog.app-modal.modal-closing{animation:modal-out 200ms ease-in both;pointer-events:none}
dialog.app-modal.modal-closing::backdrop{animation:backdrop-out 200ms ease-in both}
dialog.app-modal>h2{padding-right:36px;margin-bottom:20px}
dialog.app-modal .modal-x{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:36px;min-height:36px;padding:0;font-size:24px;background:#fff;border:0;color:#333;z-index:2}
dialog.app-modal .section-heading{position:static;padding:0 36px 0 0;min-height:30px}
.modal-footer{display:flex;justify-content:flex-end;margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}
.action-footer{gap:8px;flex-wrap:wrap}
.backup-facts{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin:16px 0}.backup-facts dt{font-weight:600}.backup-facts dd{margin:0;overflow-wrap:anywhere}.modal-error{padding:12px;border:1px solid #d9a08a;background:#fff4ef;color:#8b301b}
@keyframes modal-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes modal-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}
@keyframes backdrop-in{from{background:rgba(0,0,0,0)}to{background:rgba(0,0,0,.35)}}
@keyframes backdrop-out{from{background:rgba(0,0,0,.35)}to{background:rgba(0,0,0,0)}}
@media(max-width:760px){dialog.app-modal{padding:18px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.backup-facts{grid-template-columns:1fr;gap:5px}.backup-facts dd{margin-bottom:10px}dialog.app-modal .modal-x{width:44px;min-height:44px;top:4px;right:4px}}
@media(prefers-reduced-motion:reduce){dialog.app-modal[open],dialog.app-modal.modal-closing,dialog.app-modal::backdrop,dialog.app-modal.modal-closing::backdrop{animation:none!important;transform:none!important}}

/* v3.6.4: one layout for desktop, tablet and phone. */
.sidebar{overflow-y:auto;overscroll-behavior:contain}.version-label{margin-top:auto;padding-top:18px}
main,.app-header,section,.form-row,.vehicle-row>*,.recheck-card>*,.account-toolbar{min-width:0}
main,dialog.app-modal{overflow-wrap:anywhere}
button{white-space:normal}input,select,textarea{min-width:0}input[type=file]{width:100%}
.section-heading label{min-width:0;flex-wrap:wrap}.section-heading select{max-width:100%}
.table-head,.vehicle-row{grid-template-columns:minmax(180px,1.4fr) minmax(90px,1fr) minmax(125px,1fr) 100px}
.vehicle-filters label{min-width:0}.vehicle-filters label:first-child{min-width:0}
#userRows>div{gap:8px}#userRows span{min-width:0;flex-basis:180px}
#auditRows{max-width:100%;overflow-x:auto}#auditRows pre{white-space:pre-wrap;overflow-wrap:anywhere}
dialog.app-modal input,dialog.app-modal select,dialog.app-modal textarea{max-width:100%;box-sizing:border-box}
@media(max-width:1100px){.table-head{display:none}.vehicle-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.vehicle-identity,.vehicle-location{grid-column:1/-1}.recheck-card{grid-template-columns:110px minmax(0,1fr);gap:14px}.recheck-actions{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:12px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.recheck-actions>p,.recheck-actions>small{grid-column:1/-1}}
@media(max-width:800px){.sidebar{position:static;width:100%;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.brand{font-size:16px;margin:0 0 10px;padding:0}.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sidebar nav button{font-size:12px;text-align:center;padding:8px 4px;min-height:44px}.sidebar nav span{float:none}.admin-nav{margin-top:8px;padding-top:8px;display:flex;flex-wrap:wrap;gap:4px}.admin-nav .nav-caption,.version-label{display:none}.admin-nav button{width:auto;min-height:40px;padding:6px 10px}.app-header,main{margin-left:0}.app-header{padding:14px 12px 10px}.app-header h1{font-size:20px}main{padding:0 12px 20px}.top-save-panel{position:static}.account-toolbar{justify-content:flex-end;max-width:55%}}
@media(max-width:600px){.recheck-card{grid-template-columns:90px minmax(0,1fr);gap:10px}.recheck-actions{grid-column:1/-1}.recheck-actions button{min-height:44px}.vehicle-row{grid-template-columns:minmax(0,1fr)}.vehicle-row>div{grid-column:1}.vehicle-row>div:last-child button{min-height:44px}.section-heading{align-items:flex-start}.section-heading label{width:100%}.section-heading select{flex:1}.account-toolbar{gap:6px}.vehicle-filters{flex-direction:column;align-items:stretch}#searchSection,#registerSection{grid-template-columns:minmax(0,1fr)}#searchSection>*,#registerSection>*{grid-column:1}.recheck-actions small br{display:block}}
@media(max-height:500px){.top-save-panel{position:static}.sidebar{padding-top:12px}.brand{margin-bottom:12px}dialog.app-modal{max-height:calc(100dvh - 16px);padding:16px}.modal-footer{margin-top:12px}.login-screen{margin:16px auto}}

/* Lifecycle uses the existing responsive pages and shared dialogs. */
.lifecycle-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lifecycle-filters label,#lifecycleForm label{display:block;min-width:0}#lifecycleForm select,#lifecycleForm textarea{display:block;width:100%;margin:6px 0 14px}.closed-record{border-bottom:1px solid var(--line);padding:14px 0;overflow-wrap:anywhere}.closed-record h3{margin-bottom:8px}
@media(max-width:800px){.sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.lifecycle-filters{grid-template-columns:minmax(0,1fr)}}
