@font-face{font-family:Inter;src:url('/assets/fonts/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--ink:#182433;--muted:#667382;--line:#dce1e7;--bg:#f6f8fb;--teal:#206bc4;--pale:#e8f4ed;--blue:#206bc4;--bluebg:#e9f0fb;--amber:#946200;--sand:#fff3db;font-family:Inter,Arial,sans-serif;font-size:14px}
body{font-family:Inter,Arial,sans-serif}.brand{display:inline-flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-.03em}.brand-mark{display:grid;place-items:center;background:#f6d601;color:#111;width:34px;height:34px;font-weight:800}.brand-stack{display:grid;line-height:1.15;gap:4px}.brand-stack small{font-size:9px;letter-spacing:.12em;font-weight:500}.muted{color:var(--muted)}.caption{font-size:12px}.flex-row{display:flex;gap:16px;align-items:center}.card{padding:20px}p{line-height:1.6}dialog{border-radius:5px}dialog::backdrop{background:#101827a6}.dialog-head h2{font-size:22px}.dialog-body{padding:24px}.notice{border-radius:4px}.photo img{background:#f2f3f3}.secondary{color:var(--ink)}.badge{font-size:11px;border-radius:4px;padding:6px 9px}.badge.active{color:#136c3c;background:#dff3e7}.badge.pending{color:#916100;background:#fff0d3}.badge.confirmed{color:#1b5ca4;background:#e1ecfb}.badge.completed,.badge.cancelled{background:#eceff3;color:#667382}
/* Native Tabler structure and controls. Only rental-specific timeline/layout rules below. */
.rental-crm{background:var(--tblr-body-bg);color:var(--tblr-body-color);--teal:#206bc4}
.crm-shell.page{display:flex;min-height:100vh}.rental-crm .sidebar.navbar{position:fixed;inset:0 auto 0 0;width:240px;height:100vh;padding:24px 16px;display:flex;flex-direction:column;align-items:stretch;gap:28px;background:#fff;border-right:1px solid var(--line);color:#667382}.sidebar .brand{padding:0 12px;color:#182433}.sidebar>small{color:#9aa4ae;font-size:10px}.sidebar nav.navbar-nav{display:flex;flex-direction:column;gap:5px}.sidebar nav .nav-link{border:0;background:transparent;color:#667382;font-size:14px;padding:12px;justify-content:flex-start;font-weight:400;gap:12px;border-radius:4px;min-height:44px}.sidebar nav .nav-link.selected{background:#e9f0fa;color:#206bc4;font-weight:600}.sidebar nav .nav-link svg{width:20px;height:20px;flex:none}.sidebar .profile{font-size:12px;padding:16px 12px 0;border-top:1px solid var(--line)}.sidebar .profile p{margin-bottom:10px}.sidebar .profile a{color:#667382}.crm-main.page-wrapper{margin-left:240px;display:block;min-width:0;width:calc(100% - 240px)}.topbar.navbar{height:64px;min-height:64px;padding:0 30px;display:flex;justify-content:flex-start;font-size:12px}.topbar .workspace-name{font-weight:600}.crm-content{max-width:1600px;margin:auto;padding:30px}.crm-content h1.page-title{font-size:25px;letter-spacing:0;margin-bottom:7px}.crm-content>.page-header{margin:0 0 22px}.crm-content>.page-header p{margin-bottom:0}.rental-crm h3{font-size:17px;letter-spacing:0}.rental-crm label.form-label{font-size:12px;color:#667382;display:grid;gap:7px;margin:0}.rental-crm .form-control,.rental-crm .form-select{font-size:14px;padding:9px 12px;border-radius:4px}.rental-crm .btn{border-radius:4px;font-size:13px;min-height:36px;padding:8px 14px}.rental-crm .btn.btn-sm{font-size:12px;min-height:30px;padding:5px 10px}.rental-crm .btn-ghost-secondary{background:transparent;border-color:transparent;color:#667382}.rental-crm .btn-danger{background:#d63939;border-color:#d63939;color:#fff}.rental-crm .btn-primary{background:#206bc4;border-color:#206bc4;color:#fff}.rental-crm .btn-outline-secondary{background:#fff;color:#344557;border-color:#dce1e7}.rental-crm .stats{margin:22px 0}.rental-crm .stat{padding:20px;border-top:0}.stat strong{font-size:28px;letter-spacing:0;margin-bottom:6px;font-weight:600}.stat small{font-size:12px}.rental-crm .rental-toolbar{gap:8px;margin:22px 0 16px}.rental-toolbar select{min-width:155px}.calendar-wrap{border-radius:4px}.calendar-head{background:#f6f8fb}.calendar-days>div{background:#f6f8fb;font-size:11px}.calendar-label{font-size:12px}.calendar-label strong{font-size:12px}.calendar-row{height:74px}.event-bar{font-size:11px;min-height:0;border-left:3px solid #2fb344;background:#e5f5e9;color:#1b7131}.event-bar.confirmed{border-left-color:#206bc4}.event-bar.maintenance{border-left-color:#f59f00}.event-bar.transfer{border-left-color:#667382}.rental-crm .table{margin:0;font-size:13px}.rental-crm .table th{background:#f6f8fb;font-size:11px;color:#667382;padding:13px 18px;letter-spacing:.03em}.rental-crm .table td{padding:17px 18px}.rental-crm .table-wrap{padding:0}.table-wrap tbody tr:hover{background:#f6f8fb}.table td .caption{margin-top:5px}.request-line{font-size:13px}.request-line p{margin-bottom:5px}.rental-crm .rental-steps span{border-radius:4px;background:#edf0f4}.rental-crm .rental-steps span.done{background:#e7f0fc;color:#206bc4}.rental-crm .filters{padding:20px;box-shadow:none}.rental-crm .detail-grid{grid-template-columns:1.5fr 1fr}.rental-crm .message-form{display:grid}.rental-crm .message-form button{justify-self:end}.rental-crm .login{margin:9vh auto;padding:32px;border-top:3px solid #206bc4}.login h1{font-size:28px}.rental-crm .login .brand{margin-bottom:0}.rental-crm .login>button{margin-top:12px}.rental-crm .login .muted{font-size:14px}
.import-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:24px}.import-step{padding:21px;background:#fff;border:1px solid var(--line);border-radius:5px}.import-step .step-number{font-size:10px;letter-spacing:.1em;color:#8995a0;display:block;margin-bottom:16px}.import-step h3{margin-bottom:11px}.import-step p{font-size:11px;color:#7b8791}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.model-photo-card{padding:0;overflow:hidden}.model-photo-card img{width:100%;height:170px;object-fit:cover;background:#eef0f1}.model-photo-card .copy{padding:17px}.model-photo-card h3{font-size:15px;margin:0 0 6px}.model-photo-card p{font-size:10px;color:#85919c;margin-bottom:17px}.model-photo-card button{font-size:11px;min-height:34px}.photo-manager{display:grid;gap:17px}.photo-preview{margin:0;background:#eef1f3;border:1px solid var(--line);height:210px;border-radius:4px;display:grid;place-items:center;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:contain}.photo-preview .placeholder{font-size:12px}.photo-source-list{display:grid;gap:10px}.photo-source-row{display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:11px;border-bottom:1px solid var(--line);padding-bottom:10px}.photo-source-row .small{font-size:10px;padding:6px 9px;min-height:28px}.photo-source-row small{display:block;color:#89949d;margin-top:4px}.photo-upload{border:1px dashed #c9d1d8;padding:16px;background:#fff;border-radius:4px;display:grid;gap:12px}.photo-upload input{padding:0;border:0;font-size:11px}.photo-upload p{font-size:10px;color:#7d8994;margin:0}.photo-history{border-top:1px solid var(--line);padding-top:18px}.photo-history h3{font-size:12px}.photo-history-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;padding:9px 0}.photo-history-row p{margin:0;color:#7d8994}.photo-history-row button{font-size:10px;min-height:28px;padding:6px 10px}.bike-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.bike-editor-grid h3{font-size:14px}.storage-card{margin-top:24px}.storage-card .stats{margin:16px 0}.storage-card .stat{border:1px solid var(--line);padding:16px;background:#fafbfc}.storage-card .stat strong{font-size:24px}.photo-policy{font-size:10px;color:#7c8893;line-height:1.7}.photo-change{border-left:3px solid #d8cf5a;padding:12px 15px;background:#faf9ee;font-size:11px;margin:15px 0}.photo-change p{margin:4px 0}.footer-credit{font-size:10px;color:#8b949a;margin-top:18px}.site-separator{font-size:10px;letter-spacing:.1em;color:#8a959e;text-transform:uppercase;margin:0 0 20px}.crm-empty-note{padding:14px;font-size:11px;color:#87939c}

.history-thumb{width:54px;height:42px;object-fit:cover;border-radius:3px}.photo-history-row p{flex:1}.photo-history summary{font-size:12px;cursor:pointer;color:#667382}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-policy{font-size:12px}.photo-upload p{font-size:12px}.photo-source-row,.photo-history-row{font-size:12px}.import-step p{font-size:12px}.import-step h3{font-size:16px}.photo-change{border-left-color:#206bc4;background:#edf4fd}.footer-credit{font-size:11px}
@media(max-width:1100px){.rental-crm .sidebar.navbar{width:200px}.crm-main.page-wrapper{margin-left:200px;width:calc(100% - 200px)}.crm-content{padding:24px}.rental-crm .detail-grid{grid-template-columns:1fr}.import-guide{grid-template-columns:1fr 1fr}.import-step:last-child{grid-column:1/-1}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.crm-shell.page{display:block}.rental-crm .sidebar.navbar{position:static;width:100%;height:auto;padding:16px 14px;gap:16px;min-width:0}.sidebar nav.navbar-nav{flex-direction:row;overflow:auto;min-width:0}.sidebar nav .nav-link{font-size:12px;white-space:nowrap;min-height:38px;padding:9px 12px}.sidebar nav .nav-link svg{width:17px;height:17px}.sidebar>small,.sidebar .profile{display:none}.crm-main.page-wrapper{margin-left:0;width:100%}.topbar.navbar{padding:0 16px;font-size:11px;height:52px;min-height:52px}.topbar .workspace-name{display:none}.crm-content{padding:22px 14px}.crm-content h1.page-title{font-size:25px}.import-guide{grid-template-columns:1fr}.import-step:last-child{grid-column:auto}.photo-grid{grid-template-columns:1fr 1fr;gap:12px}.model-photo-card img{height:140px}.bike-editor-grid{grid-template-columns:1fr}.rental-crm .login{margin:25px 15px}.rental-crm .detail-grid{grid-template-columns:1fr}.dialog-body{padding:16px}.rental-crm .rental-toolbar select{min-width:0}.rental-crm .stats{gap:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.crm-content>.page-header{justify-content:space-between;align-items:center;text-align:left;flex-direction:row}.topbar .badge{align-self:center;line-height:1;flex:none}.calendar-wrap{overflow-x:auto;overflow-y:hidden}.rental-crm .calendar-row{min-height:76px;height:76px}.rental-crm .calendar-row .timeline{min-height:0;height:75px}
.photo-preview{display:flex;align-items:center;justify-content:center}.photo-preview img{display:block;min-height:0;min-width:0;max-height:100%;object-fit:contain}
@media(max-width:720px){.rental-crm .rental-toolbar select{flex:1 1 130px;min-width:120px}.rental-crm .rental-toolbar input{flex:1 1 160px}.crm-content>.page-header{gap:15px}.rental-crm .rental-toolbar button{flex:none}.crm-content>.page-header>div{flex:1 1 200px}}

.rental-toolbar{display:flex;flex-wrap:wrap;align-items:center}.rental-crm #week{min-width:155px}
.rental-crm .sidebar.navbar>*{width:100%;max-width:100%;min-width:0}.sidebar.navbar nav.navbar-nav{width:100%;max-width:100%;min-width:0}
.confirm-dialog{max-width:520px}.confirm-dialog .dialog-head h2{font-size:19px}
