:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1b1b18; background: #efefea; }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: radial-gradient(circle at 100% 0, #fff1a5 0, transparent 25rem), #efefea; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.login-card { width: min(100%, 430px); padding: 35px; border: 1px solid #d9d9cf; border-top: 4px solid #f5c400; border-radius: 16px; background: #fff; box-shadow: 0 20px 55px rgba(31, 30, 23, .12); }
.kicker, .eyebrow { margin: 0 0 8px; color: #926f00; font-size: 11px; font-weight: 900; letter-spacing: 1.2px; }
.login-card h1 { margin: 0; font-size: 29px; letter-spacing: -1px; }
.login-card > p:not(.kicker) { margin: 12px 0 24px; color: #65655e; line-height: 1.55; }
.form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: #4b4b45; font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #d8d8cf; border-radius: 8px; color: #1b1b18; background: #fff; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #d4a600; outline: 3px solid #f5c40035; }
.button { min-height: 36px; padding: 0 12px; border: 1px solid #d3d3ca; border-radius: 8px; color: #262622; background: #fff; font-size: 13px; font-weight: 800; }
.button:hover { border-color: #bc9500; background: #fff8d8; }
.button.primary { border-color: #f5c400; background: #f5c400; }
.button.danger { border-color: #e4aba1; color: #a22d1f; background: #fff6f4; }
.button.full { width: 100%; }
.button.small { min-height: 31px; font-size: 12px; }
.error { margin: 0; color: #a5261b; font-size: 13px; }
.shell { display: grid; min-height: 100vh; grid-template-columns: 255px minmax(0, 1fr); }
.sidebar { display: flex; flex-direction: column; padding: 20px 14px; border-right: 3px solid #f5c400; background: #161616; color: #fff; }
.brand { padding: 7px 10px 24px; font-size: 15px; font-weight: 900; letter-spacing: .6px; }
.brand small { display: block; margin-top: 3px; color: #f5c400; font-size: 10px; letter-spacing: 1.3px; }
.nav { display: grid; gap: 4px; }
.nav-label { margin: 17px 10px 6px; color: #9c9c91; font-size: 10px; font-weight: 800; letter-spacing: .9px; }
.nav button { display: flex; align-items: center; gap: 10px; min-height: 39px; padding: 0 10px; border: 0; border-radius: 7px; color: #cbcbc3; background: transparent; text-align: left; font-size: 14px; }
.nav button:hover { background: #252522; color: #fff; }
.nav button.active { color: #171717; background: #f5c400; font-weight: 850; }
.nav i { width: 17px; font-style: normal; text-align: center; }
.sidebar-foot { margin-top: auto; padding: 16px 10px 6px; border-top: 1px solid #383835; color: #a7a79f; font-size: 12px; }
.sidebar-foot strong { display: block; margin-bottom: 4px; color: #fff; }
.content { min-width: 0; padding: 24px 29px 42px; }
.topbar, .view-heading, .panel-heading { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.topbar { padding-bottom: 18px; border-bottom: 1px solid #deded4; }
.topbar h1, .view-heading h2 { margin: 0; letter-spacing: -1px; }
.topbar h1 { font-size: 29px; }
.view-heading { margin: 25px 0 18px; align-items: flex-end; }
.view-heading h2 { font-size: 25px; }
.view-heading p { max-width: 680px; margin: 7px 0 0; color: #696963; line-height: 1.45; }
.user { display: flex; align-items: center; gap: 9px; }
.avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #352a00; background: #fff0ad; font-weight: 900; }
.user strong, .user small { display: block; }
.user small { color: #77776f; font-size: 12px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.card, .panel { border: 1px solid #deded4; border-top: 3px solid #f5c400; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(25,25,20,.055); }
.card { padding: 16px; }
.card span { color: #6c6c65; font-size: 12px; font-weight: 750; }
.card strong { display: block; margin-top: 9px; font-size: 27px; letter-spacing: -.7px; }
.card small { display: block; min-height: 17px; margin-top: 5px; color: #797970; font-size: 11px; }
.grid-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: 16px; margin-top: 16px; }
.panel { overflow: hidden; }
.panel-heading { padding: 16px 17px 12px; border-bottom: 1px solid #eeeeea; }
.panel-heading h3 { margin: 0; font-size: 16px; }
.panel-heading p { margin: 4px 0 0; color: #77776f; font-size: 12px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 11px 16px; color: #77776f; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .4px; }
td { padding: 13px 16px; border-top: 1px solid #ededE8; vertical-align: middle; font-size: 13px; }
td strong, td small { display: block; }
td small { margin-top: 3px; color: #77776f; font-size: 11px; }
.row-link { border: 0; padding: 0; color: #1c1c18; background: transparent; font-weight: 800; text-align: left; }
.row-link:hover { color: #896800; text-decoration: underline; text-underline-offset: 3px; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; color: #5f5f58; background: #efefea; font-size: 11px; font-weight: 850; white-space: nowrap; }
.tag.active, .tag.completed { color: #13663b; background: #dcf3e5; }
.tag.setup, .tag.warning, .tag.pending, .tag.arrived { color: #7f6000; background: #fff0b3; }
.tag.suspended, .tag.past_due, .tag.danger, .tag.no_car, .tag.cancelled { color: #a1281a; background: #ffe4df; }
.tag.draft, .tag.paused { color: #645da0; background: #e9e6ff; }
.alert-list { display: grid; gap: 8px; padding: 14px; }
.alert { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; padding: 11px; border: 1px solid #ece9dc; border-radius: 9px; background: #fffdf6; }
.alert i { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 6px; color: #785800; background: #fff0b3; font-style: normal; }
.alert.danger i { color: #a1281a; background: #ffe3df; }
.alert strong, .alert small { display: block; }
.alert small { margin-top: 3px; color: #77776f; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 11px; margin-bottom: 14px; }
.search { width: min(100%, 360px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters select { width: auto; }
.empty { padding: 32px 18px; color: #77776f; text-align: center; }
.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; overflow: auto; background: rgba(20,20,17,.55); }
.modal { width: min(100%, 1030px); max-height: calc(100vh - 40px); padding: 23px; overflow: auto; border-radius: 15px; background: #f7f7f2; box-shadow: 0 25px 70px rgba(0,0,0,.28); }
.modal-close { float: right; border: 0; color: #5f5f58; background: transparent; font-size: 26px; }
.tabs { display: flex; gap: 6px; margin: 18px 0; padding-bottom: 2px; overflow-x: auto; }
.tabs button { flex: 0 0 auto; min-height: 33px; padding: 0 11px; border: 1px solid #d9d9cf; border-radius: 7px; color: #5e5e57; background: #fff; font-size: 12px; font-weight: 850; }
.tabs button.active { border-color: #e0b100; color: #252000; background: #fff1b3; }
.modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.modal .panel { border-top-width: 2px; }
.form-panel { padding: 16px; }
.form-panel h3 { margin: 0 0 13px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.switch-line { display: flex; gap: 9px; align-items: center; padding: 9px 0; color: #494943; font-size: 13px; font-weight: 700; }
.switch-line input { width: 17px; min-height: 17px; }
.voice-list { display: grid; gap: 8px; }
.voice-line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid #e4e4dc; border-radius: 8px; background: #fff; }
.voice-line input { width: 18px; min-height: 18px; }
.voice-line strong, .voice-line small { display: block; }
.voice-line small { margin-top: 2px; color: #77776f; }
.note-list { display: grid; gap: 8px; }
.note { padding: 11px; border-left: 3px solid #f5c400; background: #fffdf3; }
.note p { margin: 0; line-height: 1.45; white-space: pre-wrap; }
.note small { display: block; margin-top: 7px; color: #77776f; }
.toast { position: fixed; z-index: 50; bottom: 22px; left: 50%; max-width: min(90vw, 560px); padding: 12px 16px; transform: translateX(-50%); border-radius: 9px; color: #fff; background: #22221f; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 13px; }
@media (max-width: 980px) { .shell { grid-template-columns: 1fr; }.sidebar { padding: 13px; border-right: 0; border-bottom: 3px solid #f5c400; }.brand { padding-bottom: 12px; }.nav { display: flex; overflow-x: auto; }.nav-label, .sidebar-foot { display: none; }.nav button { flex: 0 0 auto; }.content { padding: 20px 15px 34px; }.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }.grid-two { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .topbar, .view-heading { flex-direction: column; }.cards, .modal-grid, .form-row { grid-template-columns: 1fr; }.modal { padding: 16px; }.user { align-self: flex-end; } }
