:root {
    --ink: #0b1721;
    --muted: #66747f;
    --line: #dce5e4;
    --surface: #ffffff;
    --canvas: #f2f6f4;
    --navy: #071724;
    --navy-2: #0b2132;
    --green: #75e637;
    --green-dark: #3cab12;
    --cyan: #2fc9da;
    --orange: #ffac3f;
    --purple: #9b7cf7;
    --danger: #e35353;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(22, 45, 56, .08);
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .88em; }

.brand { display: inline-flex; align-items: center; gap: 13px; color: #f5fff2; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 19px; letter-spacing: -.5px; }
.brand small { margin-top: 5px; color: #8ea0ac; font-size: 8px; letter-spacing: 4px; }
.brand-symbol { width: 38px; height: 38px; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; transform: skewX(-12deg); }
.brand-symbol i { display: block; border-radius: 2px; background: var(--green); }
.brand-symbol i:nth-child(1) { height: 22px; align-self: end; opacity: .5; }
.brand-symbol i:nth-child(2) { height: 30px; align-self: end; opacity: .75; }
.brand-symbol i:nth-child(3) { height: 38px; }

/* Login */
.login-page { min-height: 100vh; overflow-x: hidden; background: #fff; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(520px, 1.1fr) minmax(440px, .9fr); }
.login-visual { position: relative; min-height: 720px; padding: 48px 6vw; overflow: hidden; color: white; background: radial-gradient(circle at 76% 22%, rgba(41, 128, 139, .24), transparent 25%), linear-gradient(145deg, #061724, #0a2232 68%, #0b2b35); }
.login-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, transparent 5%, black 45%, transparent 100%); }
.login-visual::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(117,230,55,.16); border-radius: 50%; right: -160px; top: 12%; box-shadow: 0 0 0 70px rgba(117,230,55,.025), 0 0 0 140px rgba(117,230,55,.018); }
.brand-light { position: relative; z-index: 2; }
.login-hero-copy { position: relative; z-index: 2; margin-top: clamp(110px, 16vh, 190px); max-width: 720px; }
.eyebrow, .page-kicker, .section-eyebrow, .login-kicker { color: var(--green); font-weight: 800; font-size: 11px; letter-spacing: 2.2px; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow i { width: 24px; height: 2px; background: var(--green); }
.login-hero-copy h1 { margin: 18px 0 20px; font-size: clamp(50px, 5.6vw, 86px); line-height: .96; letter-spacing: -4px; font-weight: 680; }
.login-hero-copy h1 em { color: var(--green); font-style: normal; }
.login-hero-copy p { max-width: 550px; color: #9eb0bb; font-size: 17px; line-height: 1.7; }
.login-tanker { position: absolute; z-index: 2; bottom: 112px; left: 7vw; width: min(620px, 75%); height: 124px; opacity: .9; }
.login-tank-shell { position: absolute; left: 0; bottom: 38px; width: 76%; height: 76px; border: 2px solid rgba(199,231,235,.56); border-radius: 42px 8px 8px 20px; display: grid; grid-template-columns: 1.25fr .8fr .7fr .8fr 1.25fr; overflow: hidden; }
.login-tank-shell span { border-right: 1px solid rgba(199,231,235,.35); background: linear-gradient(to top, rgba(117,230,55,.18) 48%, transparent 48%); }
.login-tank-shell span:nth-child(2) { background: linear-gradient(to top, rgba(47,201,218,.16) 73%, transparent 73%); }
.login-tank-shell span:nth-child(4) { background: linear-gradient(to top, rgba(117,230,55,.18) 35%, transparent 35%); }
.login-cab { position: absolute; right: 1%; bottom: 38px; width: 22%; height: 70px; border: 2px solid rgba(199,231,235,.56); border-radius: 7px 28px 6px 4px; }
.login-cab i { position: absolute; width: 45%; height: 26px; right: 12%; top: 10px; border: 1px solid rgba(199,231,235,.4); transform: skewX(13deg); }
.login-chassis { position: absolute; left: 1%; right: 0; height: 2px; bottom: 35px; background: rgba(199,231,235,.5); }
.login-wheel { position: absolute; bottom: 12px; width: 38px; height: 38px; border: 8px solid #182d39; outline: 2px solid #6f858e; border-radius: 50%; background: #aec0c7; }
.wheel-a { left: 13%; }.wheel-b { left: 62%; }.wheel-c { right: 10%; }
.login-visual-foot { position: absolute; z-index: 2; left: 6vw; bottom: 45px; display: flex; gap: 28px; color: #718a95; font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.login-panel { position: relative; display: grid; place-items: center; padding: 60px 8vw; background: #fff; }
.login-card { width: min(100%, 460px); }
.mobile-brand { display: none; }
.login-heading { margin-bottom: 36px; }
.login-kicker { color: #4ba62b; }
.login-heading h2 { margin: 10px 0 10px; font-size: 35px; letter-spacing: -1.3px; }
.login-heading p { margin: 0; color: var(--muted); line-height: 1.6; }
.alert { margin: 0 0 20px; padding: 14px 16px; border: 1px solid; border-radius: 11px; font-size: 13px; line-height: 1.5; }
.alert-error { color: #9a2d2d; background: #fff1f1; border-color: #ffd2d2; }
.alert-info { color: #245875; background: #eef8ff; border-color: #cde9f8; }
.alert-success { color: #286f20; background: #eefbea; border-color: #c9edbe; }
.field-label { display: block; margin: 18px 0 8px; color: #354651; font-size: 12px; font-weight: 750; }
.input-shell { display: flex; align-items: center; min-height: 54px; border: 1px solid #d7e0e3; border-radius: 12px; background: #f9fbfb; transition: .2s; }
.input-shell:focus-within { border-color: #73c751; box-shadow: 0 0 0 4px rgba(117,230,55,.12); background: white; }
.input-shell > svg { width: 19px; margin-left: 16px; color: #8b9aa3; }
.input-shell input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 15px 14px; }
.password-toggle { display: grid; place-items: center; width: 48px; height: 52px; border: 0; background: transparent; color: #7f909a; cursor: pointer; }
.password-toggle svg { width: 19px; }
.login-submit { width: 100%; min-height: 55px; margin-top: 26px; padding: 0 21px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 12px; color: #071724; background: var(--green); font-weight: 850; cursor: pointer; box-shadow: 0 12px 25px rgba(93, 202, 43, .25); transition: transform .2s, background .2s; }
.login-submit:hover { transform: translateY(-2px); background: #87f04d; }
.login-submit svg { width: 19px; }
.login-security { margin-top: 28px; display: flex; align-items: center; gap: 12px; padding-top: 25px; border-top: 1px solid #e7ecec; }
.login-security > span { width: 9px; height: 9px; border-radius: 50%; background: var(--green-dark); box-shadow: 0 0 0 5px rgba(60,171,18,.1); }
.login-security p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.login-security strong { font-size: 12px; }.login-security small { color: #89969d; font-size: 10px; }
.login-footer { position: absolute; bottom: 25px; color: #a0aaaf; font-size: 10px; }

/* App shell */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; z-index: 30; height: 100vh; display: flex; flex-direction: column; padding: 31px 20px 24px; color: #a9bbc5; background: linear-gradient(180deg, var(--navy), #081c2a); }
.sidebar .brand { padding: 0 12px 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.primary-nav { margin-top: 27px; display: grid; gap: 7px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 680; transition: .2s; }
.nav-item svg { width: 20px; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-item.is-active { color: white; background: rgba(117,230,55,.11); }
.nav-item.is-active::before { content: ""; position: absolute; left: 0; width: 3px; height: 24px; border-radius: 0 4px 4px 0; background: var(--green); }
.nav-item.is-active svg { color: var(--green); }
.sidebar-foot { margin-top: auto; display: grid; gap: 12px; padding: 18px 12px 0; border-top: 1px solid rgba(255,255,255,.07); }
.environment-pill { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; }
.environment-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.sidebar-foot small { color: #536b78; font-size: 9px; }
.app-workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; height: 72px; padding: 0 clamp(22px, 3vw, 44px); display: flex; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.topbar-context { display: flex; align-items: center; gap: 9px; color: #75838b; font-size: 11px; font-weight: 750; letter-spacing: .6px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-dark); }
.user-menu { margin-left: auto; display: flex; align-items: center; gap: 11px; }
.user-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #0b2633; background: linear-gradient(135deg, #c8f7b2, var(--green)); font-size: 13px; font-weight: 900; }
.user-copy { display: flex; flex-direction: column; min-width: 115px; }
.user-copy strong { font-size: 12px; }.user-copy small { margin-top: 3px; color: #8a979e; font-size: 9px; }
.logout-button, .icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e0e7e8; border-radius: 9px; background: #fff; color: #78878e; cursor: pointer; }
.logout-button svg, .icon-button svg { width: 18px; }
.mobile-menu { display: none; margin-right: 12px; }
.workspace-content { padding: 36px clamp(24px, 3.5vw, 54px) 55px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 27px; }
.page-head h1, .planner-heading h1 { margin: 7px 0 7px; font-size: 36px; letter-spacing: -1.5px; }
.page-head p, .planner-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.page-kicker { color: #51b826; }
.date-chip { display: flex; gap: 9px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.date-chip > span { font-size: 25px; font-weight: 800; }.date-chip div { display: flex; flex-direction: column; font-size: 9px; font-weight: 800; letter-spacing: 1px; }.date-chip small { color: #8b989e; font-size: 8px; margin-top: 3px; }
.welcome-strip { position: relative; min-height: 190px; padding: 38px 42px; display: flex; align-items: center; overflow: hidden; border-radius: 20px; color: white; background: linear-gradient(120deg, #092033, #0d3140); box-shadow: var(--shadow); }
.welcome-strip > div:not(.welcome-orbit):not(.welcome-stat) { position: relative; z-index: 2; }
.welcome-strip span { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.welcome-strip h2 { margin: 10px 0 8px; font-size: 27px; letter-spacing: -.7px; }.welcome-strip p { margin: 0; color: #93a9b4; font-size: 12px; }
.welcome-stat { position: relative; z-index: 2; margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; }
.welcome-stat strong { font-size: 48px; font-weight: 300; color: white; }.welcome-stat small { color: #76909b; letter-spacing: 1.5px; }
.welcome-orbit { position: absolute; width: 350px; height: 350px; right: 10%; border: 1px solid rgba(117,230,55,.12); border-radius: 50%; }
.welcome-orbit i { position: absolute; inset: 45px; border: 1px solid rgba(117,230,55,.08); border-radius: 50%; }.welcome-orbit i:nth-child(2) { inset: 100px; }.welcome-orbit i:nth-child(3) { inset: 155px; background: var(--green); box-shadow: 0 0 35px rgba(117,230,55,.6); }
.tool-section { margin-top: 38px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 17px; }.section-title span { color: #55aa31; font-size: 9px; letter-spacing: 1.6px; font-weight: 800; }.section-title h2 { margin: 5px 0 0; font-size: 22px; }.section-title > small { color: #9aa5aa; font-size: 10px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool-card { position: relative; min-height: 330px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 9px 30px rgba(31,55,67,.045); transition: transform .25s, box-shadow .25s, border-color .25s; }
a.tool-card:hover { transform: translateY(-5px); border-color: #a8d997; box-shadow: 0 20px 42px rgba(31,55,67,.1); }
.tanker-tool-card { color: white; background: linear-gradient(155deg, #0b2031, #0c2e38); border-color: transparent; }
.tool-card-top { display: flex; justify-content: space-between; align-items: center; }.tool-state { display: flex; align-items: center; gap: 7px; color: #bad0d7; font-size: 9px; letter-spacing: 1px; }.tool-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }.tool-arrow { color: var(--green); font-size: 21px; }
.mini-tanker { position: absolute; width: 185px; height: 65px; right: 20px; top: 73px; opacity: .75; }
.mini-tank { position: absolute; left: 0; bottom: 20px; width: 138px; height: 38px; border: 1px solid #6b8c99; border-radius: 20px 3px 4px 8px; display: flex; overflow: hidden; }.mini-tank i { flex: 1; border-right: 1px solid #506e79; }.mini-tank i:nth-child(2n) { background: linear-gradient(to top, rgba(117,230,55,.2) 45%, transparent 45%); }.mini-cab { position: absolute; right: 0; bottom: 20px; width: 43px; height: 35px; border: 1px solid #6b8c99; border-radius: 3px 12px 3px 3px; }.mini-tanker > span { position: absolute; bottom: 9px; width: 17px; height: 17px; border: 4px solid #182f3a; outline: 1px solid #66818a; border-radius: 50%; }.mw1 { left: 28px; }.mw2 { left: 115px; }.mw3 { right: 11px; }
.tool-card-copy { position: absolute; left: 24px; bottom: 54px; right: 24px; }.tool-number { color: var(--green); font-size: 8px; letter-spacing: 1.5px; }.tool-card h3 { margin: 8px 0; font-size: 25px; line-height: 1.05; letter-spacing: -.7px; }.tool-card-copy p { margin: 0; max-width: 85%; color: #92a9b3; font-size: 10px; line-height: 1.6; }
.tool-card-meta { position: absolute; bottom: 0; left: 0; right: 0; height: 38px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.07); color: #718a94; font-size: 8px; }
.tool-placeholder { display: grid; place-content: center; text-align: center; border-style: dashed; color: #99a6ac; background: rgba(255,255,255,.5); }.tool-placeholder .placeholder-plus { margin: auto; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid #cfdadb; border-radius: 50%; font-size: 25px; font-weight: 300; }.tool-placeholder > span { margin-top: 16px; color: #6c7b82; font-size: 12px; font-weight: 800; }.tool-placeholder p { max-width: 210px; margin: 8px auto; font-size: 10px; line-height: 1.5; }.tool-placeholder.muted { opacity: .65; }.placeholder-grid { width: 45px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: auto; }.placeholder-grid i { height: 19px; border: 1px solid #aab9bd; border-radius: 3px; }
.dashboard-bottom { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.dashboard-bottom article { min-height: 78px; padding: 17px 20px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; }.bottom-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; font-weight: 900; }.bottom-icon.green { color: #39991a; background: #eaf9e4; }.bottom-icon.blue { color: #278da2; background: #e7f8fa; }.dashboard-bottom div { display: flex; flex-direction: column; gap: 4px; }.dashboard-bottom strong { font-size: 11px; }.dashboard-bottom p { margin: 0; color: #8b989e; font-size: 9px; }.health-label { margin-left: auto; color: #4ca32b; font-size: 8px; font-weight: 900; letter-spacing: 1px; }

/* Planner */
.planner-page .workspace-content { max-width: 1720px; margin: auto; }
.planner-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.back-link { display: inline-block; margin-bottom: 15px; color: #728087; font-size: 10px; font-weight: 700; }.back-link:hover { color: var(--green-dark); }
.heading-line { display: flex; align-items: center; gap: 15px; }.draft-indicator { display: flex; align-items: center; gap: 6px; color: #8b989e; font-size: 9px; }.draft-indicator i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.heading-actions { display: flex; gap: 10px; padding-bottom: 4px; }.button { min-height: 42px; padding: 0 17px; border: 1px solid #d8e1e2; border-radius: 10px; background: white; font-size: 11px; font-weight: 800; cursor: pointer; }.button.primary { color: #0b1d25; border-color: var(--green); background: var(--green); }.button.primary span { margin-left: 14px; }.button:disabled { cursor: not-allowed; opacity: .5; }
.safety-banner { margin: 25px 0 18px; padding: 14px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid #f0d9aa; border-left: 3px solid var(--orange); border-radius: 12px; background: #fffbef; }.safety-banner svg { width: 22px; color: #c67d16; }.safety-banner div { display: flex; flex-direction: column; gap: 3px; }.safety-banner strong { font-size: 11px; }.safety-banner p { margin: 0; color: #87734f; font-size: 9px; }.safety-banner > span { margin-left: auto; color: #a86b13; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.planner-layout { display: grid; grid-template-columns: minmax(310px, 360px) minmax(0, 1fr); gap: 18px; align-items: start; }
.control-column, .visual-column { display: grid; gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 35px rgba(30, 54, 65, .045); }
.control-panel, .orders-panel, .validation-panel, .formula-panel { padding: 21px; }
.panel-title { display: flex; align-items: center; gap: 11px; margin-bottom: 21px; }.panel-title > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #387d21; background: #eaf8e5; font-size: 9px; font-weight: 900; }.panel-title h2 { margin: 0; font-size: 14px; }.panel-title p { margin: 4px 0 0; color: #93a0a6; font-size: 9px; }.panel-title.with-action button { margin-left: auto; border: 0; color: #45a51f; background: transparent; font-size: 10px; font-weight: 850; cursor: pointer; }
.control-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: #4c5c65; font-size: 9px; font-weight: 850; letter-spacing: .5px; }.control-label small { color: #98a5aa; font-weight: 500; letter-spacing: 0; }
.select-shell { position: relative; display: flex; align-items: center; }.select-shell select { width: 100%; height: 42px; appearance: none; border: 1px solid #dbe3e4; border-radius: 9px; outline: 0; background: #f9fbfb; padding: 0 34px 0 12px; font-size: 11px; font-weight: 700; }.select-shell span { position: absolute; right: 12px; color: #89969c; pointer-events: none; }.select-shell.compact select { height: 39px; font-size: 10px; }
.vehicle-facts { margin: 10px 0 19px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.vehicle-facts span { padding: 10px 11px; border-radius: 8px; background: #f2f6f5; }.vehicle-facts small { display: block; color: #99a5aa; font-size: 7px; letter-spacing: 1px; }.vehicle-facts strong { display: block; margin-top: 4px; font-size: 10px; }
.field-row { display: grid; grid-template-columns: 1fr .85fr; gap: 10px; }.field-row label > span { display: block; min-height: 27px; color: #4c5c65; font-size: 9px; font-weight: 850; }.field-row label small { display: block; color: #9aa6ac; font-weight: 500; }
.unit-input, .temperature-value, .kg-input { display: flex; align-items: center; border: 1px solid #dbe3e4; border-radius: 9px; background: #f9fbfb; }.unit-input input, .temperature-value input, .kg-input input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; }.unit-input input { height: 37px; padding: 0 6px 0 10px; font-size: 11px; font-weight: 750; }.unit-input b, .temperature-value b, .kg-input b { padding-right: 9px; color: #8a979d; font-size: 8px; }
.temperature-control { position: relative; display: block; margin-top: 18px; padding-top: 18px; border-top: 1px solid #edf1f1; }.temperature-value { position: absolute; right: 0; top: 12px; width: 80px; }.temperature-value input { height: 34px; padding-left: 10px; font-size: 11px; font-weight: 800; }.temperature-control input[type=range] { width: 100%; height: 4px; margin: 19px 0 0; accent-color: var(--green-dark); }.range-labels { display: flex; justify-content: space-between; margin-top: 7px; color: #9ba6ab; font-size: 7px; }
.order-list { display: grid; gap: 8px; }.order-list:empty::before { content: "Henüz talep eklenmedi"; padding: 18px 10px; border: 1px dashed #d7e1e1; border-radius: 9px; color: #89989e; background: #f9fbfb; font-size: 9px; text-align: center; }.order-row { display: grid; grid-template-columns: 6px minmax(68px,1fr) minmax(64px,.85fr) 78px 18px; align-items: center; gap: 6px; }.order-color { width: 6px; height: 30px; border-radius: 5px; }.color-a { background: var(--green-dark); }.color-b { background: var(--cyan); }.color-c { background: var(--purple); }.color-d { background: var(--orange); }.order-row > input { min-width: 0; width: 100%; height: 36px; padding: 0 7px; border: 1px solid #e0e7e7; border-radius: 8px; outline: 0; font-size: 8px; font-weight: 750; }.kg-input input { height: 34px; padding-left: 6px; text-align: right; font-size: 9px; font-weight: 800; }.order-row > button { padding: 0; border: 0; background: transparent; color: #9ba7ac; font-size: 17px; cursor: pointer; }.agency-help { margin: 10px 0 0; color: #89979d; font-size: 8px; line-height: 1.45; }.orders-total { margin-top: 12px; padding-top: 12px; display: flex; justify-content: space-between; border-top: 1px solid #e8eded; }.orders-total span { color: #7c8a91; font-size: 9px; }.orders-total strong { font-size: 12px; }
.tanker-panel { padding: 23px 25px 21px; overflow: hidden; }.tanker-panel-head { display: flex; justify-content: space-between; align-items: flex-start; }.tanker-panel-head h2 { margin: 5px 0 0; font-size: 18px; letter-spacing: .4px; }.calculation-state { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 20px; color: #66767e; background: #f1f5f4; font-size: 8px; font-weight: 800; }.calculation-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }.calculation-state.is-ready i { background: var(--green-dark); }.calculation-state.is-error i { background: var(--danger); }
.tanker-stage { position: relative; min-height: 330px; margin-top: 4px; padding: 38px 1% 0; }.orientation-label { position: absolute; top: 18px; color: #a0acb1; font-size: 7px; font-weight: 800; letter-spacing: 1.2px; }.orientation-label.rear { left: 3%; }.orientation-label.front { right: 3%; }.orientation-line { position: absolute; left: 10%; right: 10%; top: 21px; height: 1px; background: linear-gradient(90deg, #e1e7e7, transparent 47%, transparent 53%, #e1e7e7); }
.tanker-vehicle { position: relative; max-width: 980px; height: 255px; margin: 0 auto; }
.tank-body { position: absolute; z-index: 3; left: 1%; bottom: 62px; width: 77%; height: 155px; display: grid; grid-template-columns: repeat(var(--compartment-count, 5), minmax(0, 1fr)); overflow: hidden; border: 3px solid #19303b; border-radius: 79px 13px 15px 24px; background: linear-gradient(180deg, #f5f9f8, #e7efed); box-shadow: inset 0 8px 14px rgba(255,255,255,.8), 0 14px 25px rgba(18,44,55,.13); }
.tank-body::after { content: ""; position: absolute; left: 5%; right: 4%; top: 16px; height: 1px; background: rgba(255,255,255,.9); }
.tank-eye { position: relative; overflow: hidden; border-right: 2px solid #50636b; transition: background .3s; }.tank-eye:last-child { border-right: 0; }.tank-fill { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 0; overflow: hidden; background: var(--agency-fill, linear-gradient(135deg, rgba(85,198,35,.87), rgba(117,230,55,.95))); transition: height .7s cubic-bezier(.2,.8,.2,1), background .3s; }.tank-fill::before { content: ""; position: absolute; top: -5px; left: -20%; width: 140%; height: 11px; border-radius: 50%; background: rgba(255,255,255,.35); }.tank-fill span { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(135deg, rgba(255,255,255,.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.2) 50%, rgba(255,255,255,.2) 75%, transparent 75%); background-size: 18px 18px; animation: liquid-shift 8s linear infinite; }
@keyframes liquid-shift { to { background-position: 72px 0; } }
.tank-eye.is-review .tank-fill { background: linear-gradient(135deg, #ed921f, #ffc45d); }.tank-eye.is-error .tank-fill { background: linear-gradient(135deg, #c94545, #ef7777); }
.eye-content { position: absolute; z-index: 2; inset: 26px 5px 24px; display: flex; align-items: center; flex-direction: column; text-align: center; text-shadow: 0 1px rgba(255,255,255,.55); }.eye-content small { color: #60717a; font-size: 7px; font-weight: 900; letter-spacing: .7px; }.eye-content strong { margin-top: 18px; font-size: clamp(11px, 1.2vw, 17px); white-space: nowrap; }.eye-content em { margin-top: 5px; max-width: 92%; overflow: hidden; color: #52656d; font-style: normal; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.eye-content span { margin-top: auto; color: #263d46; font-size: 8px; font-weight: 900; }.eye-capacity { position: absolute; z-index: 3; left: 0; right: 0; bottom: 7px; color: #718189; font-size: 7px; font-weight: 800; text-align: center; }
.truck-cab { position: absolute; z-index: 3; right: 1%; bottom: 62px; width: 20%; height: 131px; border: 3px solid #19303b; border-radius: 13px 46px 9px 7px; background: linear-gradient(145deg, #17394a, #0d2635); box-shadow: 0 14px 25px rgba(18,44,55,.17); }.cab-window { position: absolute; top: 13px; right: 16px; width: 45%; height: 45px; border: 2px solid #4b6d7a; border-radius: 4px 21px 4px 4px; background: linear-gradient(135deg, #81a5af, #284c5b); }.cab-line { position: absolute; left: 15px; right: 12px; top: 73px; height: 1px; background: #345364; }.truck-cab > span { position: absolute; left: 14px; bottom: 17px; color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.truck-chassis { position: absolute; z-index: 2; left: 3%; right: 1%; bottom: 58px; height: 10px; border-radius: 3px; background: #172a33; }.truck-detail { position: absolute; z-index: 2; left: 10%; bottom: 39px; width: 60%; height: 22px; border: 2px solid #29414c; border-top: 0; }
.truck-wheel { position: absolute; z-index: 5; bottom: 15px; width: 58px; height: 58px; display: grid; place-items: center; border: 11px solid #13262f; outline: 3px solid #64737a; border-radius: 50%; background: #9ba7aa; box-shadow: 0 8px 12px rgba(20,40,48,.16); }.truck-wheel i { width: 14px; height: 14px; border-radius: 50%; background: #253e48; }.truck-wheel.wheel-1 { left: 12%; }.truck-wheel.wheel-2 { left: 65%; }.truck-wheel.wheel-3 { right: 6%; }
.legend { display: flex; justify-content: center; gap: 25px; padding-top: 13px; border-top: 1px solid #edf1f0; color: #76858c; font-size: 8px; }.legend span { display: flex; align-items: center; gap: 6px; }.legend i { width: 9px; height: 9px; border-radius: 3px; background: #e4eae9; }.legend i.loaded { background: var(--green-dark); }.legend i.review { background: var(--orange); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }.metric-grid article { min-height: 88px; padding: 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: white; }.metric-icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #459d22; background: #eaf8e5; font-size: 15px; font-weight: 900; }.metric-icon.cyan { color: #1a94a1; background: #e7f9fa; }.metric-icon.orange { color: #bf7419; background: #fff3df; }.metric-icon.purple { color: #7655d0; background: #f0ecff; }.metric-grid div { min-width: 0; }.metric-grid small { color: #97a3a8; font-size: 7px; font-weight: 900; letter-spacing: .8px; }.metric-grid strong { display: block; margin-top: 4px; font-size: 15px; white-space: nowrap; }.metric-grid p { margin: 3px 0 0; color: #89969b; font-size: 8px; }
.detail-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 18px; }.compact-title { margin-bottom: 14px; }.status-badge { margin-left: auto; padding: 6px 8px; border-radius: 6px; color: #98601a; background: #fff1d8; font-size: 7px; letter-spacing: .8px; }.status-badge.is-error { color: #a73c3c; background: #ffe5e5; }
.agency-allocation-panel { padding: 18px 21px; }.agency-allocation-panel .panel-title { margin-bottom: 10px; }.agency-allocation-panel td:nth-child(1) { font-weight: 900; }.agency-allocation-panel td:nth-child(2) { color: var(--ink); font-weight: 800; }.segment-list { display: flex; flex-wrap: wrap; gap: 5px; }.segment-list span { padding: 4px 7px; border-radius: 6px; color: #40535c; background: #eef4f2; font-size: 8px; white-space: nowrap; }
.validation-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }.validation-list li { display: flex; align-items: flex-start; gap: 9px; padding: 8px 10px; border-radius: 8px; background: #f7f9f8; }.validation-list li span { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: var(--orange); }.validation-list p { margin: 0; color: #66757c; font-size: 8px; line-height: 1.5; }
.formula-panel h2 { margin: 5px 0 15px; font-size: 15px; }.formula-line { padding: 8px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #edf1f1; font-size: 9px; }.formula-line span { color: #849198; }.formula-line strong { font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }.formula-foot { margin-top: 12px; display: flex; justify-content: space-between; color: #9aa5aa; font-size: 7px; }.formula-foot b { color: #4b5d65; }

/* Tanker planlama ekranında uzaktan ve yoğun operasyon kullanımına uygun okunabilirlik. */
.planner-page .planner-layout { grid-template-columns: minmax(380px, 420px) minmax(0, 1fr); gap: 22px; }
.planner-page .control-panel,
.planner-page .orders-panel,
.planner-page .validation-panel,
.planner-page .formula-panel { padding: 24px; }
.planner-page .panel-title > span { width: 32px; height: 32px; font-size: 11px; }
.planner-page .panel-title h2 { font-size: 17px; }
.planner-page .panel-title p { font-size: 11px; }
.planner-page .panel-title.with-action button { font-size: 12px; }
.planner-page .control-label { font-size: 11px; }
.planner-page .select-shell select { height: 48px; font-size: 13px; }
.planner-page .select-shell.compact select { height: 44px; font-size: 12px; }
.planner-page .vehicle-facts small { font-size: 9px; }
.planner-page .vehicle-facts strong { font-size: 13px; }
.planner-page .field-row label > span { min-height: 33px; font-size: 11px; }
.planner-page .unit-input input { height: 43px; font-size: 13px; }
.planner-page .unit-input b,
.planner-page .temperature-value b,
.planner-page .kg-input b { font-size: 10px; }
.planner-page .temperature-value { width: 92px; }
.planner-page .temperature-value input { height: 39px; font-size: 13px; }
.planner-page .range-labels { font-size: 9px; }
.planner-page .order-list { gap: 10px; }
.planner-page .order-list:empty::before { font-size: 11px; }
.planner-page .order-row { grid-template-columns: 7px minmax(90px, 1fr) minmax(75px, .85fr) 96px 20px; gap: 7px; }
.planner-page .order-color { width: 7px; height: 38px; }
.planner-page .order-row > input { height: 42px; padding: 0 9px; font-size: 11px; }
.planner-page .kg-input input { height: 40px; font-size: 11px; }
.planner-page .agency-help { font-size: 10px; line-height: 1.55; }
.planner-page .orders-total span { font-size: 11px; }
.planner-page .orders-total strong { font-size: 15px; }
.planner-page .tanker-panel-head h2 { font-size: 21px; }
.planner-page .calculation-state { font-size: 10px; }
.planner-page .orientation-label { font-size: 9px; }
.planner-page .eye-content small { font-size: 9px; }
.planner-page .eye-content strong { margin-top: 16px; font-size: clamp(16px, 1.35vw, 21px); }
.planner-page .eye-content em { margin-top: 7px; font-size: 10px; }
.planner-page .eye-content span { font-size: 10px; }
.planner-page .eye-capacity { font-size: 9px; }
.planner-page .legend { font-size: 11px; }
.planner-page .metric-grid article { min-height: 105px; padding: 19px; gap: 15px; }
.planner-page .metric-icon { width: 40px; height: 40px; font-size: 18px; }
.planner-page .metric-grid small { font-size: 9px; }
.planner-page .metric-grid strong { margin-top: 6px; font-size: 19px; }
.planner-page .metric-grid p { margin-top: 5px; font-size: 10px; }
.planner-page .agency-allocation-panel { padding: 22px 24px; }
.planner-page .responsive-table th { padding: 13px 14px; font-size: 10px; }
.planner-page .responsive-table td { padding: 16px 14px; font-size: 12px; }
.planner-page .segment-list { gap: 7px; }
.planner-page .segment-list span { padding: 6px 9px; font-size: 10px; }
.planner-page .status-badge { font-size: 9px; }
.planner-page .validation-list p { font-size: 11px; }
.planner-page .formula-panel h2 { font-size: 18px; }
.planner-page .formula-line { padding: 11px 0; font-size: 11px; }
.planner-page .formula-line strong { font-size: 11px; }
.planner-page .formula-foot { font-size: 9px; }
.planner-app.is-loading .tank-body { opacity: .78; }.planner-app.is-loading .calculation-state i { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.65); } }
.sidebar-scrim { display: none; }

/* Management, archive and print */
.page-alert { max-width: 900px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.narrow-settings { grid-template-columns: minmax(320px,620px); }
.settings-card, .table-card { padding: 24px; }
.identity-card { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.user-avatar.large { width: 52px; height: 52px; font-size: 18px; }
.identity-card h2 { margin: 0 0 5px; font-size: 18px; }.identity-card p { margin: 0; color: var(--muted); font-size: 11px; }
.settings-form { display: grid; gap: 14px; }
.settings-form label { display: grid; gap: 7px; color: #4d5d65; font-size: 10px; font-weight: 800; }
.settings-form label small { color: #8b989e; font-weight: 500; line-height: 1.4; }
.settings-form input, .settings-form select { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #d9e2e3; border-radius: 9px; outline: none; background: #fafcfc; color: var(--ink); }
.settings-form input:focus, .settings-form select:focus { border-color: #73c751; box-shadow: 0 0 0 3px rgba(117,230,55,.11); background: white; }
.settings-form .button { justify-self: start; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.admin-split { display: grid; grid-template-columns: minmax(280px,360px) minmax(0,1fr); gap: 18px; align-items: start; }
.section-title.simple { margin-bottom: 20px; }
.responsive-table { overflow-x: auto; }
.responsive-table table, .print-table { width: 100%; border-collapse: collapse; }
.responsive-table th { padding: 10px 12px; color: #87949a; border-bottom: 1px solid var(--line); font-size: 8px; letter-spacing: .7px; text-align: left; white-space: nowrap; }
.responsive-table td { padding: 13px 12px; border-bottom: 1px solid #edf1f1; color: #53636b; font-size: 10px; white-space: nowrap; }
.responsive-table td strong { display: block; color: var(--ink); font-size: 10px; }.responsive-table td small { display: block; margin-top: 3px; color: #94a0a5; font-size: 8px; }
.responsive-table tr:last-child td { border-bottom: 0; }.responsive-table a:hover strong { color: var(--green-dark); }
.table-status { display: inline-flex; padding: 5px 8px; border-radius: 20px; font-size: 7px; font-weight: 900; letter-spacing: .5px; }
.table-status.active { color: #347c1b; background: #eaf8e5; }.table-status.passive { color: #8a4b4b; background: #faeaea; }.table-status.review { color: #946018; background: #fff0d6; }
.table-status.completed { color: #267514; background: #e2f7dc; }
.table-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }.table-actions form, .plan-actions form { margin: 0; }.text-button.complete { color: #328b18; }.text-button.danger { color: #c84343; }.button.complete { color: #246f14; border-color: #a7d89a; background: #eef9eb; }.button.danger { color: #a82f2f; border-color: #efb9b9; background: #fff3f3; }.plan-actions { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.text-button { padding: 0; border: 0; color: #71838b; background: transparent; font-size: 8px; font-weight: 800; cursor: pointer; }.text-button:hover { color: var(--danger); }
.empty-cell { padding: 35px !important; text-align: center; color: #94a0a5 !important; }
.action-link { display: inline-flex; align-items: center; }
.fleet-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
.compartment-fields { display: grid; grid-template-columns: repeat(5,minmax(75px,1fr)); gap: 8px; }
.compartment-fields label > span { color: #718087; font-size: 8px; }.compartment-fields label > div { display: flex; align-items: center; border: 1px solid #d9e2e3; border-radius: 9px; background: #fafcfc; }.compartment-fields input { border: 0; box-shadow: none !important; background: transparent; }.compartment-fields b { padding-right: 9px; color: #8d999e; font-size: 8px; }
.fleet-create-card { margin-bottom: 18px; }
.fleet-create-form { grid-template-columns: 170px minmax(240px, 1fr) minmax(360px, 1.5fr) auto; align-items: end; gap: 14px; }
.fleet-create-form .button { min-height: 43px; margin: 0; white-space: nowrap; }
.fleet-table { min-width: 1120px; }
.fleet-table th { font-size: 10px; }
.fleet-table td { vertical-align: middle; font-size: 12px; }
.fleet-table td:first-child strong { font-size: 13px; letter-spacing: .3px; }
.fleet-table-input { height: 40px; padding: 0 10px; border: 1px solid #d9e2e3; border-radius: 8px; outline: none; background: #fafcfc; color: var(--ink); font: inherit; font-weight: 700; }
.fleet-table-input:focus, .fleet-eye-inputs label:focus-within { border-color: #73c751; box-shadow: 0 0 0 3px rgba(117,230,55,.11); background: white; }
.fleet-name-input { width: 220px; }.fleet-tare-input { width: 105px; }
.fleet-eye-inputs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 350px; }
.fleet-eye-inputs label { height: 40px; display: grid; grid-template-columns: auto 68px auto; align-items: center; gap: 5px; padding: 0 7px; border: 1px solid #d9e2e3; border-radius: 8px; background: #fafcfc; }
.fleet-eye-inputs span { color: #61727a; font-size: 9px; font-weight: 900; }
.fleet-eye-inputs input { width: 68px; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 800; text-align: right; }
.fleet-eye-inputs b { color: #94a0a5; font-size: 9px; }
.fleet-save-button { min-height: 38px; white-space: nowrap; }
.fleet-row-actions { display: flex; align-items: center; gap: 8px; }.fleet-row-actions form { margin: 0; }

.plan-detail-page .page-head { max-width: 1320px; margin: 0 auto 18px; }
.print-sheet { max-width: 1320px; margin: 0 auto; padding: 26px 30px 28px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.print-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 3px solid var(--navy); }
.print-head > div { display: flex; flex-direction: column; }.print-head > div:last-child { align-items: flex-end; }
.print-brand { color: #53b62b; font-size: 22px; font-weight: 950; letter-spacing: 1px; }.print-brand small { display: block; margin-top: 3px; color: #61727b; font-size: 9px; letter-spacing: 1.4px; }
.print-head h2 { margin: 9px 0 0; font-size: 26px; letter-spacing: -.5px; }.print-head > div:last-child strong { font-size: 17px; }.print-head > div:last-child span { margin-top: 6px; color: #65757d; font-size: 12px; }
.pilot-stamp { margin: 12px 0; padding: 9px; border: 1px solid #e7c276; color: #976515; background: #fff8e9; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-align: center; }
.plan-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 0 0 17px; border: 1px solid var(--line); background: var(--line); }.plan-facts div { padding: 12px 15px; background: #fff; }.plan-facts dt { color: #74858d; font-size: 10px; font-weight: 900; letter-spacing: .65px; }.plan-facts dd { margin: 5px 0 0; font-size: 14px; font-weight: 800; }
.plan-subsection { margin-top: 17px; }.plan-subsection h3 { margin: 0 0 9px; font-size: 14px; }.plan-subsection .print-table { margin-top: 0; }.demand-table { max-width: 760px; }
.saved-tanker { height: 180px; display: flex; align-items: flex-end; padding: 15px 3.5%; border-radius: 12px; background: #f3f7f6; }
.saved-tank-body { width: 80%; height: 130px; display: grid; grid-template-columns: repeat(var(--compartment-count, 5), minmax(0, 1fr)); overflow: hidden; border: 3px solid #19303b; border-radius: 65px 8px 8px 16px; }
.saved-eye { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-right: 1px solid #50636b; text-align: center; }.saved-eye:last-child { border: 0; }.saved-eye > *:not(.saved-fill) { position: relative; z-index: 1; }.saved-eye span { color: #53666f; font-size: 9px; font-weight: 900; }.saved-eye strong { margin: 9px 0 5px; font-size: 16px; }.saved-eye small { max-width: 92%; overflow: hidden; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.saved-fill { position: absolute; left: 0; right: 0; bottom: 0; background: #82e34f; }.saved-fill.review { background: #ffc15b; }
.saved-cab { width: 18%; height: 108px; display: flex; align-items: flex-end; padding: 13px; border: 3px solid #19303b; border-radius: 7px 32px 7px 4px; color: var(--green); background: #0d2a38; font-size: 11px; font-weight: 900; }
.print-table { margin-top: 17px; }.print-table th { padding: 11px 12px; color: white; background: var(--navy); font-size: 11px; letter-spacing: .45px; text-align: left; }.print-table td { padding: 12px; border-bottom: 1px solid var(--line); color: #43555e; font-size: 13px; }.print-table td strong, .print-table .total-row td { color: var(--ink); font-size: 14px; }.print-table .total-row td { border-top: 2px solid var(--ink); font-weight: 900; }
.print-warnings { margin-top: 16px; padding: 13px 15px; border-left: 3px solid var(--orange); background: #fff9ed; }.print-warnings h3 { margin: 0 0 6px; font-size: 13px; }.print-warnings ul { margin: 0; padding-left: 19px; color: #66583f; font-size: 11px; line-height: 1.5; }
.signature-grid { margin-top: 27px; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }.signature-grid div { min-height: 48px; display: flex; flex-direction: column; justify-content: flex-end; border-top: 1px solid #74848b; }.signature-grid span { margin-top: 6px; color: #6c7c84; font-size: 10px; }.signature-grid b { margin-top: 3px; font-size: 11px; }

@media (max-width: 1180px) {
    .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.tool-placeholder.muted { display: none; }
    .planner-layout { grid-template-columns: 310px minmax(0,1fr); }.metric-grid { grid-template-columns: 1fr 1fr; }
    .planner-page .planner-layout { grid-template-columns: 340px minmax(0, 1fr); }
    .planner-page .order-row { grid-template-columns: 7px minmax(72px, 1fr) minmax(65px, .8fr) 88px 18px; gap: 5px; }
    .tank-body { width: 74%; }.truck-cab { width: 23%; }
    .fleet-create-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .login-layout { grid-template-columns: 1fr; }.login-visual { display: none; }.login-panel { min-height: 100vh; padding: 55px 25px 80px; }.mobile-brand { margin-bottom: 65px; display: flex; align-items: center; gap: 12px; }.mobile-brand .brand-symbol { width: 29px; height: 29px; }.mobile-brand strong { font-size: 17px; }
    .app-shell { display: block; }.sidebar { position: fixed; left: 0; transform: translateX(-102%); width: 244px; transition: transform .25s; }.menu-open .sidebar { transform: translateX(0); }.sidebar-scrim { position: fixed; z-index: 25; inset: 0; background: rgba(3,13,20,.55); }.menu-open .sidebar-scrim { display: block; }.mobile-menu { display: grid; }
    .planner-layout { grid-template-columns: 1fr; }.control-column { grid-template-columns: 1fr 1fr; }.tanker-stage { min-height: 300px; }.tanker-vehicle { transform: scale(.9); transform-origin: center; }
    .planner-page .planner-layout { grid-template-columns: 1fr; }
    .admin-split, .fleet-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .workspace-content { padding: 24px 15px 40px; }.topbar { padding: 0 14px; }.topbar-context, .user-copy { display: none; }
    .page-head, .planner-heading { align-items: flex-start; flex-direction: column; }.page-head h1, .planner-heading h1 { font-size: 29px; }.date-chip { display: none; }
    .welcome-strip { min-height: 220px; padding: 30px 25px; }.welcome-stat { display: none; }.tool-grid, .dashboard-bottom { grid-template-columns: 1fr; }.tool-card { min-height: 320px; }
    .heading-actions { width: 100%; }.heading-actions .button { flex: 1; }.safety-banner { align-items: flex-start; }.safety-banner > span { display: none; }
    .control-column { grid-template-columns: 1fr; }.tanker-panel { padding: 18px 10px; }.tanker-stage { min-height: 260px; margin-top: 15px; padding: 20px 0 0; overflow-x: auto; }.tanker-vehicle { width: 720px; transform: scale(.78); transform-origin: left center; }.orientation-label, .orientation-line { display: none; }
    .metric-grid, .detail-grid { grid-template-columns: 1fr 1fr; }.detail-grid .panel { grid-column: 1 / -1; }
    .legend { gap: 13px; }.page-kicker { font-size: 9px; }.draft-indicator { display: none; }
    .form-row, .settings-grid { grid-template-columns: 1fr; }.compartment-fields { grid-template-columns: repeat(2,1fr); }
    .fleet-create-form { grid-template-columns: 1fr; }
    .print-sheet { padding: 18px 12px; overflow-x: auto; }.plan-facts { grid-template-columns: 1fr 1fr; }.saved-tanker { min-width: 650px; }.print-table { min-width: 650px; }
}

@media (max-width: 440px) {
    .metric-grid { grid-template-columns: 1fr; }.metric-grid article { min-height: 75px; }.field-row { grid-template-columns: 1fr; }.user-avatar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
    @page { size: A4 portrait; margin: 11mm; }
    body { background: white; }
    .sidebar, .topbar, .no-print, .sidebar-scrim { display: none !important; }
    .app-shell { display: block; }.workspace-content { padding: 0; }.print-sheet { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
    .print-head h2 { font-size: 22px; }.print-brand { font-size: 18px; }.print-brand small { font-size: 7px; }
    .plan-facts dt { font-size: 8px; }.plan-facts dd { font-size: 11px; }
    .saved-tanker { height: 145px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }.saved-tank-body { height: 100px; }.saved-cab { height: 86px; }
    .saved-eye span { font-size: 7px; }.saved-eye strong { font-size: 12px; }.saved-eye small { font-size: 8px; }
    .print-table th { padding: 8px; font-size: 8px; }.print-table td { padding: 8px; font-size: 10px; }.print-table td strong, .print-table .total-row td { font-size: 10px; }
    .print-warnings h3 { font-size: 10px; }.print-warnings ul { font-size: 9px; }
    .signature-grid { margin-top: 24px; }.signature-grid span { font-size: 8px; }.signature-grid b { font-size: 9px; }
    .print-table th, .pilot-stamp, .saved-fill, .saved-cab { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

