:root {
    --ink: #101827;
    --muted: #64748b;
    --line: #dbe4ef;
    --panel: rgba(255, 255, 255, 0.92);
    --accent: #fb6b21;
    --accent-2: #08a6a6;
    --deep: #0d1726;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #eff4f8;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        linear-gradient(115deg, rgba(8, 20, 35, .78), rgba(8, 20, 35, .34)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.login-shell {
    width: min(1100px, 100%);
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 28px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
    backdrop-filter: blur(16px);
}

.login-visual {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.brand-pill,
.eyebrow {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
}

.login-visual h1 {
    max-width: 660px;
    margin: 24px 0 14px;
    font-size: clamp(36px, 5vw, 70px);
    line-height: .95;
    letter-spacing: 0;
}

.login-visual p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.55;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.signal-grid div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
}

.signal-grid strong,
.signal-grid span {
    display: block;
}

.signal-grid span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.login-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    background: rgba(255, 255, 255, .94);
}

.mark,
.logo {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #ff9d3f);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(251, 107, 33, .28);
}

.login-card h2 {
    margin: 26px 0 6px;
    font-size: 30px;
}

.login-card p {
    margin: 0 0 26px;
    color: var(--muted);
}

.login-card form {
    display: grid;
    gap: 16px;
}

label span {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

input {
    width: 100%;
    height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0 15px;
    font: inherit;
    outline: none;
    background: #fff;
}

select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    outline: none;
}

input:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 4px rgba(8, 166, 166, .12);
}

button {
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ff8d2c);
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(251, 107, 33, .22);
}

button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    color: #991b1b;
    background: #fff1f2;
    font-weight: 700;
}

.driver-link {
    margin-top: 18px;
    color: var(--accent-2);
    font-weight: 800;
    text-decoration: none;
}

.panel-page {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px;
    background: var(--deep);
    color: #fff;
}

.sidebar nav {
    display: grid;
    gap: 6px;
    margin-top: 32px;
}

.sidebar a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 12px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    font-weight: 750;
    line-height: 1.15;
}

.sidebar a.active,
.sidebar a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .11);
}

.panel-main {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.flash {
    margin: 20px 0 0;
    padding: 13px 15px;
    border-radius: 14px;
    font-weight: 800;
}

.flash-success {
    color: #047857;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
}

.flash-error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.topbar,
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar h1,
.section-head h2 {
    margin: 6px 0 0;
}

.topbar .eyebrow {
    color: var(--accent);
    background: #fff7ed;
    border-color: #fed7aa;
}

.logout {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #fff;
    text-decoration: none;
    font-weight: 800;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 26px 0;
    order: 4;
}

.stats article,
.work-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.stats article {
    padding: 20px;
}

.stats span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.stats strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(20px, 2vw, 34px);
}

.work-card {
    margin-top: 18px;
    padding: 22px;
}

.transfer-list-card {
    order: 1;
}

.transfer-form-card {
    order: 2;
}

.transfer-tools {
    order: 3;
}

.fold-panel {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.fold-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    color: #0f172a;
    font-weight: 900;
}

.fold-panel > summary::-webkit-details-marker {
    display: none;
}

.fold-panel > summary small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.fold-panel > .work-card,
.fold-panel > .paste-workspace {
    margin-top: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
}

.transfer-form-card > .work-card {
    padding: 10px;
}

.transfer-form-card .section-head {
    margin-bottom: 4px;
    padding-bottom: 4px;
}

.transfer-form-card .section-head h2 {
    font-size: 15px;
}

.transfer-form-card .section-head p {
    font-size: 11.5px;
}

.transfer-form-card .booking-form input,
.transfer-form-card .booking-form select,
.transfer-form-card .booking-form textarea,
.transfer-form-card .phone-combo input,
.transfer-form-card .phone-combo select {
    height: 26px !important;
    min-height: 26px !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
}

.transfer-form-card .booking-form label span {
    margin-bottom: 2px !important;
    font-size: 9.5px !important;
    line-height: 1.1 !important;
}

.transfer-form-card .booking-form {
    gap: 5px 8px !important;
}

.transfer-form-card .check-card {
    height: 26px !important;
    min-height: 26px !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
}

.transfer-form-card .swap-route,
.transfer-form-card .form-actions button,
.transfer-form-card .form-actions .ghost-button {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 11px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
}

.transfer-form-card .passenger-row input,
.transfer-form-card .passenger-row select {
    height: 25px !important;
    min-height: 25px !important;
    padding: 2px 7px !important;
}

.transfer-form-card .passenger-row {
    padding: 3px 0 !important;
}

.transfer-form-card .passenger-note {
    padding: 5px 9px !important;
    margin-bottom: 4px !important;
    font-size: 11px !important;
}

.transfer-form-card .passenger-add,
.transfer-form-card .icon-danger {
    height: 25px !important;
    min-height: 25px !important;
    padding: 0 9px !important;
    border-radius: 4px !important;
    font-size: 10.5px !important;
}

.paste-workspace {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 18px;
    margin-top: 18px;
}

.paste-card,
.preview-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.paste-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.paste-head h2 {
    margin: 0;
    font-size: 20px;
}

.paste-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.ghost-button {
    border: 1px solid var(--line);
    color: var(--ink);
    background: #fff;
    box-shadow: none;
    white-space: nowrap;
}

.paste-card form {
    padding: 16px;
}

.paste-area {
    width: 100%;
    min-height: 310px;
    resize: vertical;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    color: var(--ink);
    font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(251, 107, 33, .08);
}

.paste-area:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(251, 107, 33, .12);
}

.paste-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.file-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    background: #f8fafc;
    font-weight: 800;
    font-size: 12px;
}

.file-pill input {
    display: none;
}

.upload-status {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.upload-status.is-ready {
    border-color: #bae6fd;
    background: #e0f2fe;
    color: #075985;
}

.upload-status.is-loading {
    border-color: #fde68a;
    background: #fef3c7;
    color: #92400e;
}

.check-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #f8fafc;
    color: #26364d;
    font-weight: 800;
}

.check-card input {
    width: auto;
    min-height: auto;
}

.nav-group {
    display: grid;
    gap: 4px;
    margin-top: 6px;
    padding: 8px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.nav-group summary {
    display: flex;
    align-items: center;
    min-height: 38px;
    cursor: pointer;
    padding: 9px 14px;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    list-style: none;
    line-height: 1.1;
}

.nav-group summary::-webkit-details-marker {
    display: none;
}

.nav-group a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 32px;
    margin: 0;
    padding: 7px 10px 7px 26px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .64);
    font-size: 12.5px;
    font-weight: 760;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-group a.active,
.nav-group a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .10);
}

.uetds-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.uetds-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.uetds-tabs a.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.settings-note {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fbff;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    padding: 16px;
}

.uetds-send-panel {
    overflow: hidden;
    border: 1px solid #d7e0eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.uetds-form-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 14px;
    background: #1d242b;
    color: #fff;
}

.uetds-form-title strong {
    font-size: 17px;
    font-weight: 900;
}

.uetds-form-title span {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 650;
}

.uetds-form-title em {
    margin-left: auto;
    padding: 4px 9px;
    border-radius: 5px;
    background: #fff;
    color: #e11d48;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.uetds-ayt-form {
    padding: 12px 14px 16px;
}

.uetds-mini-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin: 0 14px 14px;
    border-bottom: 1px solid #dde5ee;
}

.uetds-mini-tabs span,
.uetds-mini-tabs button {
    min-height: 36px;
    padding: 9px 14px;
    color: #0d6efd;
    font-size: 12px;
    font-weight: 750;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.uetds-mini-tabs span.active,
.uetds-mini-tabs button.active {
    color: #101827;
    background: #fff;
    border: 1px solid #dbe4ef;
    border-bottom-color: #fff;
    border-radius: 6px 6px 0 0;
}

.uetds-tab-panel[hidden] {
    display: none;
}

.uetds-send-panel .select2-container {
    width: 100% !important;
}

.uetds-send-panel .select2-container--default .select2-selection--single {
    height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.uetds-send-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 11px;
    padding-right: 44px;
    color: #0f172a;
    font-size: 12px;
    line-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uetds-send-panel .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #64748b;
}

.uetds-send-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    right: 4px;
    width: 18px;
}

.uetds-send-panel .select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: #e2e8f0;
    box-shadow: none;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    line-height: 14px;
    text-align: center;
    cursor: pointer;
}

.uetds-send-panel .select2-container--default .select2-selection--single .select2-selection__clear:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.select2-dropdown {
    border-color: #7aa7ff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.select2-results__option {
    font-size: 12px;
    line-height: 1.35;
}

.uetds-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 16px;
    padding: 16px 14px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #fff;
}

.uetds-section legend {
    padding: 0 8px;
    color: #0067ff;
    font-size: 15px;
    font-weight: 900;
}

.uetds-section label {
    min-width: 0;
}

.uetds-section label.full,
.uetds-section .full {
    grid-column: 1 / -1;
}

.uetds-section small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 10.5px;
}

.operator-section {
    grid-template-columns: minmax(0, 1.35fr) 36px minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: end;
}

.operator-swap {
    align-self: center;
    color: #a1a8b3;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.trip-section {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.money-combo {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0;
}

.money-combo select {
    border-radius: 10px 0 0 10px;
    border-right: 0;
}

.money-combo input {
    border-radius: 0 10px 10px 0;
}

.helper-section {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 58px;
}

.helper-actions,
.passenger-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid #0dcaf0;
    border-radius: 5px;
    color: #0067ff;
    background: #fff;
    box-shadow: none;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.ghost-button.warn {
    border-color: #ffc107;
    color: #101827;
}

.passenger-section {
    grid-template-columns: 1fr;
}

.passenger-section legend {
    color: #0067ff;
}

.passenger-toolbar {
    margin-top: -4px;
}

.passenger-two-col {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 12px;
    align-items: stretch;
}

.weekday-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.weekday-options label {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #dbe4ef;
    border-radius: 6px;
    background: #f8fafc;
}

.bulk-passenger textarea {
    width: 100%;
    min-height: 138px;
    resize: vertical;
}

.bulk-passenger {
    padding: 14px;
    border: 1px solid #dbe4ef;
    border-radius: 6px;
    background: #fff;
}

.bulk-passenger-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.bulk-passenger-head span {
    color: #0067ff;
    font-size: 12px;
    font-weight: 900;
}

.single-passenger {
    padding: 12px;
    border: 1px solid #e5edf6;
    border-radius: 8px;
    background: #fbfdff;
}

.single-head {
    color: #0067ff;
    font-size: 13px;
    font-weight: 900;
}

.single-passenger p {
    margin: 4px 0 10px;
    color: #64748b;
    font-size: 11px;
}

.single-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.send-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 10px 0 0;
    color: #334155;
    font-size: 12px;
    font-weight: 750;
}

.send-check input {
    width: auto;
    height: auto;
}

.uetds-submit {
    min-height: 34px;
    padding: 8px 16px;
    border-radius: 7px;
    background: #df3045;
    box-shadow: none;
}

.uetds-prepared-list {
    margin-top: 16px;
}

.payload-details {
    margin-top: 6px;
}

.payload-details summary {
    cursor: pointer;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.panel-page .work-card,
.panel-page .paste-card,
.panel-page .preview-card {
    border-radius: 14px;
}

.panel-page .section-head {
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.panel-page .grid-form {
    gap: 10px;
}

.panel-page label span {
    font-size: 11px;
}

.panel-page input,
.panel-page select,
.panel-page textarea {
    min-height: 40px;
    border-radius: 10px;
    font-size: 13px;
}

.phone-combo {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 6px;
}

.phone-combo select,
.phone-combo input {
    width: 100%;
}

.swap-route {
    align-self: end;
    min-height: 31px;
    padding: 0 10px;
    border-radius: 6px;
    background: #0f172a;
    color: #fff;
    white-space: nowrap;
}

.passenger-editor {
    grid-column: 1 / -1 !important;
    margin-top: 4px;
    padding: 8px;
    border: 1px solid #dbe4ef;
    border-radius: 6px;
    background: #fff;
}

.passenger-title {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin: -1px 0 7px;
    padding: 0 10px;
    border-radius: 4px;
    background: #eef5f8;
    color: #0891b2;
    font-size: 12px;
    font-weight: 900;
}

.passenger-note {
    margin-bottom: 6px;
    padding: 7px 10px;
    border: 1px solid #fdba74;
    border-radius: 4px;
    background: #fff7ed;
    color: #f97316;
    font-size: 11.5px;
    font-weight: 800;
}

.passenger-bulk-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    margin-bottom: 7px;
}

.passenger-bulk-tools label {
    margin: 0 !important;
}

.passenger-bulk-tools textarea {
    min-height: 58px !important;
    resize: vertical;
}

.passenger-bulk-actions {
    display: grid;
    gap: 5px;
    min-width: 128px;
}

.passenger-bulk-actions .passenger-add,
.passenger-bulk-actions .ghost-button {
    float: none;
    width: 100%;
    margin: 0;
}

.passenger-table {
    overflow-x: auto;
}

.passenger-row {
    display: grid;
    grid-template-columns: 44px minmax(180px, 1.4fr) minmax(160px, 1fr) minmax(150px, .9fr) 52px;
    gap: 6px;
    align-items: center;
    min-width: 760px;
    padding: 5px 0;
    border-bottom: 1px solid #e5edf5;
}

.panel-page .passenger-table {
    overflow-x: hidden;
}

.panel-page .passenger-row {
    grid-template-columns: 40px minmax(140px, 1.35fr) minmax(140px, 1fr) minmax(120px, .8fr) 48px;
    min-width: 0;
}

.passenger-head {
    padding-top: 0;
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 900;
}

.passenger-order {
    text-align: center;
    font-weight: 800;
}

.passenger-row input,
.passenger-row select {
    width: 100%;
    min-height: 28px;
    border-radius: 4px;
}

.icon-danger {
    min-height: 28px;
    padding: 0 8px;
    border-radius: 5px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 11px;
}

.passenger-add {
    float: right;
    margin-top: 8px;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 5px;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
}

.compact-transfer-table {
    table-layout: auto;
    min-width: 1180px;
}

.compact-transfer-table th,
.compact-transfer-table td {
    padding: 8px 9px;
    vertical-align: middle;
}

.compact-transfer-table td {
    font-size: 12px;
}

.compact-transfer-table small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}

.compact-transfer-table .route-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}

.compact-transfer-table .actions {
    min-width: 320px;
}

.compact-transfer-table .action-stack {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    white-space: normal;
}

.compact-transfer-table .action-stack form {
    display: inline-flex;
    margin: 0;
}

.ege-havuz-card {
    padding: 0 6px 10px;
    border-radius: 0;
    background: #fff;
}

.ege-havuz-tabs {
    display: flex;
    height: 52px;
    align-items: end;
    border-bottom: 1px solid #d4d8dd;
}

.ege-havuz-tabs span {
    display: inline-flex;
    align-items: center;
    height: 52px;
    padding: 0 20px;
    border-bottom: 2px solid #11a7d9;
    color: #0694c3;
    font-size: 12px;
    font-weight: 800;
}

.ege-havuz-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 14px 0;
    background: #ffffff;
}

.ege-havuz-summary article {
    min-height: 36px;
    padding: 5px 9px;
    border: 1px solid #dfe7ef;
    border-radius: 4px;
    background: #f8fafc;
}

.ege-havuz-summary span,
.ege-havuz-summary strong {
    display: block;
}

.ege-havuz-summary span {
    color: #64748b;
    font-size: 9.5px;
    font-weight: 900;
    text-transform: uppercase;
}

.ege-havuz-summary strong {
    color: #111827;
    font-size: 17px;
    line-height: 1.05;
}

.havuz-bulk-bar,
.ege-havuz-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 10px 0 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.havuz-bulk-bar > select {
    flex: 1 1 170px;
    min-width: 130px;
}

.havuz-bulk-bar > select#sofor {
    flex-basis: 220px;
}

.havuz-bulk-bar > select#dis_cekim {
    flex-basis: 210px;
}

.havuz-bulk-bar select,
.havuz-pass-fee input {
    width: 100%;
    min-width: 0;
    min-height: 30px !important;
    height: 30px !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
    border: 1px solid #d8dce2 !important;
    font-size: 12px !important;
    background-color: #fff !important;
}

.havuz-bulk-bar button {
    flex: 0 0 150px;
    width: 150px;
    min-width: 0;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 4px;
    background: #159947;
    font-size: 12px;
    white-space: nowrap;
}

.havuz-bulk-bar button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.havuz-selection-count {
    display: none;
}

.havuz-or {
    flex: 0 0 auto;
    color: #000;
    font-size: 12px;
    text-align: center;
}

.havuz-pass-fee {
    display: grid;
    grid-template-columns: 1fr 40px;
    flex: 0 1 190px;
    min-width: 150px;
}

.havuz-pass-fee span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    border: 1px solid #d8dce2;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    background: #f5f6f8;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.ege-havuz-toolbar {
    display: grid;
    grid-template-columns: 120px 132px 120px minmax(180px, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ege-havuz-toolbar > select {
    height: 25px !important;
    min-height: 25px !important;
    padding: 2px 6px !important;
    border: 1px solid #d8dce2 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
}

.ege-havuz-toolbar input[type="search"] {
    width: 100%;
    height: 25px;
    min-height: 25px !important;
    border: 1px solid #d8dce2;
    border-radius: 0;
    font-size: 12px;
}

.ege-havuz-table-tools {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #000;
    font-size: 12px;
    font-weight: 700;
}

.ege-havuz-table-tools label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.ege-havuz-table-tools select {
    width: 46px;
    height: 26px !important;
    min-height: 26px !important;
    padding: 2px 4px !important;
}

.ege-havuz-table-tools .ghost-button {
    min-height: 26px;
    padding: 0 10px;
    border-radius: 0;
    background: #f4f4f4;
    color: #000;
    font-size: 12px;
    font-weight: 700;
}

.havuz-column-menu {
    position: relative;
}

.havuz-column-panel {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    max-height: none;
    overflow: visible;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #f8fafc;
    box-shadow: none;
}

.havuz-column-panel label {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    min-height: 20px;
    margin: 0 !important;
    padding: 2px 6px;
    border: 1px solid #dbe4ef;
    border-radius: 3px;
    background: #ffffff;
    color: #111827;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}

.havuz-column-panel label:hover {
    background: #eef3f7;
}

.havuz-column-panel input[type="checkbox"] {
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: #13a4b6;
}

.compact-transfer-table .select-col {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    text-align: center;
}

.compact-transfer-table .select-col input {
    width: 16px;
    height: 16px;
}

.ege-havuz-table {
    min-width: 1360px;
    border: 1px solid #d8d8d8;
    border-collapse: collapse;
    color: #000;
    table-layout: fixed;
}

.ege-havuz-table th,
.ege-havuz-table td {
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    padding: 5px 6px;
    background: #f4f4f4;
    color: #000;
    text-align: center;
    vertical-align: middle;
    font-size: 11px;
    line-height: 1.2;
}

.ege-havuz-table th {
    position: relative;
    height: 34px;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
}

.ege-havuz-table th:not(.select-col)::after {
    content: "↕";
    position: absolute;
    top: 5px;
    right: 5px;
    color: #8b8b8b;
    font-size: 13px;
    font-weight: 400;
}

.ege-havuz-table th.is-sortable {
    cursor: pointer;
    user-select: none;
}

.ege-havuz-table th[data-sort-direction="asc"]::after {
    content: "↑";
    color: #111827;
}

.ege-havuz-table th[data-sort-direction="desc"]::after {
    content: "↓";
    color: #111827;
}

.ege-havuz-table small {
    color: #000;
    font-size: 9.5px;
}

.ege-havuz-table .select-col {
    width: 32px;
}

.ege-havuz-table .havuz-order {
    width: 42px;
    font-weight: 800;
}

.ege-havuz-table .havuz-date {
    width: 76px;
}

.ege-havuz-table .havuz-guest {
    width: 104px;
    text-align: left;
}

.ege-havuz-table .havuz-route {
    width: 190px;
    text-align: left;
}

.ege-havuz-table .havuz-route div + div {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #d8d8d8;
}

.ege-havuz-table .havuz-flight {
    width: 64px;
}

.ege-havuz-table .havuz-count {
    width: 46px;
}

.ege-havuz-table .havuz-vehicle {
    width: 92px;
    font-weight: 800;
}

.ege-havuz-table .havuz-distance {
    width: 58px;
}

.ege-havuz-table .havuz-money {
    width: 90px;
    text-align: right;
}

.ege-havuz-table .havuz-status {
    width: 92px;
}

.ege-havuz-table .havuz-status a {
    display: inline-flex;
    margin-top: 5px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #21bf55;
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
}

.ege-havuz-table .havuz-track {
    width: 76px;
}

.ege-havuz-table .havuz-driver {
    width: 112px;
}

.ege-havuz-table .havuz-motion {
    width: 88px;
}

.ege-havuz-table .havuz-actions {
    width: 70px;
    min-width: 70px;
    justify-content: center;
}

.ege-havuz-table .havuz-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.ege-havuz-table .havuz-contact a,
.ege-havuz-table .driver-job-share,
.havuz-icon-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 22px;
    height: 18px;
    min-height: 18px !important;
    padding: 0 5px !important;
    border: 0;
    border-radius: 3px !important;
    background: #26bdd3 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 900;
    text-decoration: none;
    box-shadow: none !important;
}

.ege-havuz-table .havuz-contact a:first-child {
    background: #23c35f !important;
}

.ege-havuz-table .havuz-voucher-action {
    background: #f59e0b !important;
}

.ege-havuz-table .havuz-driver {
    position: relative;
}

.ege-havuz-table .driver-job-share {
    margin-top: 5px;
}

.assign-panel:not([open]) {
    display: none;
}

.assign-panel[open] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 18px;
}

.assign-panel[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(8px);
}

.assign-panel summary {
    display: none;
}

.assign-panel-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(330px, .75fr) minmax(720px, 1.55fr);
    gap: 18px;
    width: min(1260px, 96vw);
    max-height: min(760px, 90vh);
    overflow: auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .25);
}

.assign-modal-title {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.assign-modal-title strong {
    display: block;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.15;
}

.assign-modal-title small {
    display: block;
    max-width: 900px;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.assign-modal-title button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-size: 24px;
    box-shadow: none;
}

.assign-grid {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.assign-grid h3,
.external-assign::before {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.external-assign::before {
    content: "Dış Sürücü / Dış Araç";
}

.external-assign {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.external-assign button {
    grid-column: 1 / -1;
}

.assign-grid input,
.assign-grid select {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    border-radius: 11px;
    font-size: 13px;
}

.mini-action,
.compact-transfer-table button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 10.5px;
    font-weight: 850;
    text-decoration: none;
}

.mini-action {
    border: 1px solid #cbd5e1;
    color: #0f172a;
    background: #fff;
}

.danger-button {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
}

.empty-preview {
    display: grid;
    place-items: center;
    min-height: 420px;
    padding: 26px;
    text-align: center;
    color: var(--muted);
}

.empty-preview strong,
.empty-preview span {
    display: block;
}

.empty-preview strong {
    color: var(--ink);
    font-size: 22px;
}

.parsed-list {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.parsed-transfer {
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #f8fbff;
    overflow: hidden;
}

.select-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #dbeafe;
}

.select-row input {
    width: 18px;
    height: 18px;
}

.parsed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.parsed-grid .wide {
    grid-column: span 2;
}

.parsed-transfer details {
    padding: 0 16px 16px;
    color: #475569;
    font-size: 13px;
}

.parsed-transfer summary {
    cursor: pointer;
    font-weight: 800;
}

.parsed-transfer pre {
    white-space: pre-wrap;
    margin: 10px 0 0;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    color: #334155;
}

.parsed-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 16px 16px;
}

.sticky-save {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
}

.section-head p {
    margin: 6px 0 0;
    color: var(--muted);
}

.grid-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.booking-form {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px 8px;
    margin-top: 6px;
}

.booking-form label {
    min-width: 0;
}

.booking-form label span {
    margin-bottom: 3px;
    color: #1f2f46;
    font-size: 10px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    min-height: 28px;
    padding: 4px 7px;
    border-radius: 4px;
    font-size: 11.5px;
}

.booking-form .wide {
    grid-column: span 3;
}

.booking-form .phone-label {
    grid-column: span 2;
}

.booking-form .check-card {
    align-items: center;
    min-height: 28px;
    padding: 5px 7px;
}

.booking-form .form-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.booking-form .form-actions button,
.booking-form .form-actions .ghost-button {
    width: auto;
    min-height: 30px;
    padding: 0 16px;
    border-radius: 6px;
}

.ege-reservation-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.ege-fieldset {
    min-width: 0;
    margin: 0;
    padding: 9px 10px 11px;
    border: 1px solid #d5e0ec;
    border-radius: 6px;
    background: #fff;
}

.ege-fieldset legend {
    width: auto;
    margin: 0;
    padding: 0 7px;
    color: #0067ff;
    font-size: 13px;
    font-weight: 800;
}

.ege-person,
.ege-booker,
.ege-transfer,
.ege-payment,
.ege-fieldset.passenger-editor,
.ege-reservation-form .form-actions {
    grid-column: 1 / -1;
}

.ege-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(92px, 1fr));
    gap: 6px 8px;
}

.ege-grid.two {
    grid-template-columns: repeat(4, minmax(110px, 1fr));
}

.ege-grid label,
.ege-reservation-form label {
    min-width: 0;
}

.ege-grid .ege-wide {
    grid-column: span 2;
}

.ege-reservation-form .phone-label {
    grid-column: span 2;
}

.ege-transfer .route-field {
    grid-column: span 3;
}

.ege-reservation-form .swap-route {
    align-self: end;
}

.ege-reservation-form textarea {
    min-height: 42px !important;
}

.compact-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-form .wide {
    grid-column: span 2;
}

.uetds-grid,
.uetds-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.uetds-grid {
    margin-top: 18px;
}

.form-actions {
    display: flex;
    align-items: end;
}

.form-actions button {
    width: 100%;
}

.table-wrap {
    margin-top: 18px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

td small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

th {
    color: #475569;
    font-size: 12px;
    text-transform: uppercase;
}

.badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: 12px;
    font-weight: 850;
}

.badge-soft {
    color: #334155;
    background: #e2e8f0;
}

.arrow {
    color: var(--accent);
    font-weight: 900;
}

.empty {
    padding: 24px;
    color: var(--muted);
    text-align: center;
}

.actions {
    white-space: nowrap;
}

.actions form {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin: 0 5px 5px 0;
}

.actions select {
    width: 150px;
    min-height: 34px;
    font-size: 12px;
}

.actions button {
    margin-right: 6px;
    padding: 9px 11px;
    border-radius: 10px;
    background: #0f172a;
    box-shadow: none;
    font-size: 12px;
}

.action-stack {
    white-space: normal;
    min-width: 310px;
}

.compact-transfer-table .action-stack {
    min-width: 320px;
    flex-wrap: wrap;
    white-space: normal;
}

.compact-transfer-table .action-stack form {
    display: inline-flex;
    width: auto;
}

.compact-transfer-table .action-stack button,
.compact-transfer-table .action-stack .mini-action {
    min-height: 28px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 10.5px;
    margin-right: 0;
}

.compact-transfer-table .action-stack .js-open-assign:not(.havuz-icon-action) {
    min-width: 132px;
    border: 1px solid #cbd5e1;
    background: #fff !important;
    color: #0f172a !important;
}

.ege-havuz-table .havuz-actions.action-stack,
.ege-havuz-table .havuz-actions {
    display: flex;
    min-width: 70px !important;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

.ege-havuz-table .havuz-actions form {
    display: inline-flex;
    width: auto;
    margin: 0;
}

.ege-havuz-table .havuz-actions .havuz-icon-action {
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
    font-size: 10px !important;
    line-height: 18px !important;
}

.mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #fff;
    text-decoration: none;
    font-weight: 850;
}

.payload {
    max-width: 420px;
    max-height: 180px;
    overflow: auto;
    padding: 12px;
    border-radius: 12px;
    color: #dbeafe;
    background: #0f172a;
    font-size: 12px;
    white-space: pre-wrap;
}

.pac-container {
    z-index: 10000;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.driver-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(255,255,255,.9), rgba(239,244,248,.96)),
        url("https://images.unsplash.com/photo-1549924231-f129b911e442?auto=format&fit=crop&w=1800&q=80") center/cover fixed;
}

.driver-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    color: #fff;
    background: rgba(13, 23, 38, .88);
}

.driver-top h1 {
    margin: 8px 0 4px;
}

.driver-top p {
    margin: 0;
    color: rgba(255,255,255,.72);
}

.driver-main {
    padding: 22px;
}

.driver-jobs {
    display: grid;
    gap: 14px;
}

.job-card {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.job-time {
    display: grid;
    place-items: center;
    min-height: 72px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-2), #14b8a6);
}

.job-time strong,
.job-time span {
    display: block;
}

.job-body h2 {
    margin: 0 0 8px;
}

.job-body p {
    margin: 0;
    color: #334155;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.job-meta span {
    padding: 6px 9px;
    border-radius: 999px;
    color: #475569;
    background: #f1f5f9;
    font-size: 12px;
    font-weight: 800;
}

.job-actions {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.job-actions form {
    display: flex;
    gap: 8px;
}

.job-actions select {
    width: 150px;
}

.empty-state {
    text-align: center;
}

@media (max-width: 900px) {
    .login-shell,
    .panel-page {
        grid-template-columns: 1fr;
    }

    .login-shell {
        min-height: auto;
    }

    .login-visual {
        padding: 34px;
    }

    .login-card {
        padding: 30px;
    }

    .signal-grid,
    .stats,
    .grid-form,
    .paste-workspace,
    .parsed-grid {
        grid-template-columns: 1fr;
    }

    .grid-form .wide,
    .parsed-grid .wide {
        grid-column: span 1;
    }

    .booking-form,
    .booking-form .wide,
    .booking-form .phone-label,
    .passenger-editor {
        grid-column: 1 / -1 !important;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }

    .ege-reservation-form,
    .ege-grid,
    .ege-grid.two,
    .ege-grid .ege-wide,
    .ege-reservation-form .phone-label,
    .ege-transfer .route-field,
    .havuz-bulk-bar {
        grid-template-columns: 1fr;
        grid-column: 1 / -1;
    }

    .compact-form,
    .uetds-grid,
    .uetds-lists {
        grid-template-columns: 1fr;
    }

    .paste-actions,
    .paste-head {
        flex-direction: column;
        align-items: stretch;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .panel-main {
        padding: 18px;
    }

    .topbar,
    .section-head,
    .driver-top,
    .job-card {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .job-card {
        display: grid;
    }

    .job-actions {
        justify-items: stretch;
    }

    .job-actions form {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    html {
        -webkit-text-size-adjust: 100%;
    }

    .assign-panel[open] {
        align-items: end;
        padding: 10px;
    }

    .assign-panel-body {
        grid-template-columns: 1fr;
        width: min(100%, 520px);
        max-height: 86vh;
        border-radius: 18px 18px 10px 10px;
        padding: 12px;
    }

    .external-assign {
        grid-template-columns: 1fr;
    }

    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    .login-page {
        padding: 12px;
        place-items: stretch;
    }

    .login-shell {
        border-radius: 18px;
    }

    .login-visual {
        padding: 24px;
    }

    .login-visual h1 {
        font-size: 34px;
        line-height: 1.02;
    }

    .login-card {
        padding: 24px;
    }

    .panel-page {
        display: block;
        padding-bottom: 88px;
    }

    .sidebar {
        position: fixed;
        inset: auto 0 0;
        z-index: 50;
        height: auto;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 -12px 30px rgba(15, 23, 42, .22);
    }

    .sidebar .logo {
        display: none;
    }

    .sidebar nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        margin: 0;
    }

    .sidebar a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 6px;
        border-radius: 12px;
        text-align: center;
        font-size: 11px;
        line-height: 1.12;
    }

    .panel-main {
        padding: 14px 12px 92px;
    }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 20;
        flex-direction: row;
        align-items: center;
        margin: -14px -12px 12px;
        padding: 12px;
        border-bottom: 1px solid var(--line);
        background: rgba(239, 244, 248, .94);
        backdrop-filter: blur(12px);
    }

    .topbar .eyebrow {
        display: none;
    }

    .topbar h1 {
        margin: 0;
        font-size: 20px;
        line-height: 1.15;
    }

    .logout,
    .mini-link {
        min-height: 38px;
        padding: 9px 11px;
        border-radius: 10px;
        font-size: 13px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 14px 0;
    }

    .stats article {
        padding: 13px;
        border-radius: 14px;
        box-shadow: none;
    }

    .stats span {
        font-size: 11px;
    }

    .stats strong {
        margin-top: 6px;
        font-size: 21px;
    }

    .work-card,
    .paste-card,
    .preview-card {
        border-radius: 14px;
        box-shadow: none;
    }

    .work-card {
        margin-top: 12px;
        padding: 14px;
    }

    .section-head,
    .paste-head {
        gap: 10px;
    }

    .section-head h2,
    .paste-head h2 {
        font-size: 18px;
    }

    .section-head p,
    .paste-head p {
        font-size: 12px;
    }

    .paste-workspace {
        gap: 12px;
        margin-top: 12px;
    }

    .paste-head {
        padding: 14px;
    }

    .paste-card form,
    .parsed-list,
    .parsed-grid {
        padding: 12px;
    }

    .paste-area {
        min-height: 220px;
        border-radius: 14px;
        font-size: 13px;
    }

    .paste-actions {
        gap: 8px;
    }

    .paste-actions button,
    .file-pill,
    .ghost-button,
    .sticky-save button {
        width: 100%;
        justify-content: center;
    }

    .empty-preview {
        min-height: 180px;
        padding: 20px;
    }

    .parsed-transfer {
        border-radius: 14px;
    }

    .select-row {
        padding: 12px;
    }

    .grid-form {
        gap: 10px;
        margin-top: 12px;
    }

    .grid-form input,
    .grid-form select,
    .parsed-grid input {
        height: 44px;
        border-radius: 12px;
    }

    .form-actions,
    .form-actions button {
        width: 100%;
    }

    .sticky-save {
        bottom: 72px;
        justify-content: stretch;
        padding: 10px 12px;
    }

    .table-wrap {
        overflow: visible;
    }

    .table-wrap table,
    .table-wrap thead,
    .table-wrap tbody,
    .table-wrap tr,
    .table-wrap td {
        display: block;
        width: 100%;
    }

    .table-wrap thead {
        display: none;
    }

    .table-wrap tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    }

    .table-wrap td {
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 9px 0;
        border-bottom: 1px solid #edf2f7;
        font-size: 13px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .table-wrap td:last-child {
        border-bottom: 0;
    }

    .table-wrap td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 11px;
        font-weight: 850;
        line-height: 1.25;
        text-transform: uppercase;
    }

    .table-wrap td.empty {
        display: block;
        padding: 20px;
        text-align: center;
    }

    .table-wrap td.empty::before {
        display: none;
    }

    .actions,
    .action-stack {
        min-width: 0;
        white-space: normal;
    }

    .actions form {
        display: flex;
        width: 100%;
        gap: 8px;
        margin: 0 0 8px;
    }

    .actions select {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        min-height: 40px;
    }

    .actions button {
        flex: 1 0 auto;
        min-height: 40px;
        margin: 0;
        padding: 9px 10px;
    }

    .payload {
        width: 100%;
        max-width: none;
        max-height: 220px;
        font-size: 11px;
    }

    .driver-top {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 14px 12px;
    }

    .driver-top .eyebrow {
        display: none;
    }

    .driver-top h1 {
        margin: 0 0 4px;
        font-size: 20px;
    }

    .driver-main {
        padding: 12px;
    }

    .job-card {
        gap: 12px;
        padding: 14px;
        border-radius: 14px;
        box-shadow: none;
    }

    .job-time {
        display: flex;
        justify-content: space-between;
        min-height: 48px;
        padding: 0 14px;
        border-radius: 12px;
    }

    .job-body h2 {
        font-size: 19px;
    }

    .job-body p {
        font-size: 13px;
        line-height: 1.4;
    }

    .job-actions,
    .job-actions form {
        width: 100%;
    }

    .job-actions form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .job-actions select,
    .job-actions button {
        width: 100%;
    }
}

/* Codex compact forms: final override for operation/admin/driver panels */
.panel-page label span,
.driver-main label span,
.transfer-form-card label span {
    margin-bottom: 2px !important;
    font-size: 10px !important;
    line-height: 1.12 !important;
}

.panel-page input,
.panel-page select,
.panel-page textarea,
.driver-main input,
.driver-main select,
.driver-main textarea,
.booking-form input,
.booking-form select,
.booking-form textarea,
.phone-combo input,
.phone-combo select,
.assign-grid input,
.assign-grid select,
.select-row input,
.money-combo input,
.money-combo select {
    min-height: 28px !important;
    height: 28px !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    font-size: 11.5px !important;
    line-height: 1.16 !important;
}

.panel-page textarea,
.driver-main textarea,
.booking-form textarea,
.bulk-passenger textarea {
    height: auto !important;
    min-height: 64px !important;
    padding: 6px 8px !important;
    line-height: 1.28 !important;
}

.panel-page .grid-form,
.booking-form,
.transfer-form-card .booking-form {
    gap: 6px 8px !important;
}

.passenger-editor {
    margin-top: 4px !important;
    padding: 7px !important;
    border-radius: 6px !important;
}

.passenger-row {
    padding: 3px 0 !important;
    gap: 5px !important;
}

.passenger-row input,
.passenger-row select {
    min-height: 25px !important;
    height: 25px !important;
    padding: 2px 7px !important;
    font-size: 11px !important;
}

.check-card,
.swap-route,
.passenger-add,
.icon-danger,
.form-actions button,
.form-actions .ghost-button {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
}

.phone-combo {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 5px !important;
}

/* Dalaman operasyon ana sayfa özeti + atama ekranı düzeltmeleri */
.ops-dashboard {
    order: 0;
    display: grid;
    gap: 16px;
    margin: 22px 0 6px;
}

.ops-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(251, 107, 33, .18), transparent 32%),
        linear-gradient(135deg, #0d1726, #14243a 58%, #102033);
    color: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
}

.dash-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .10);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ops-hero-card h2 {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 38px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.ops-hero-card p {
    max-width: 720px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    line-height: 1.55;
}

.ops-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.dash-button,
.dash-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 850;
}

.dash-button {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ff8d2c);
    box-shadow: 0 12px 28px rgba(251, 107, 33, .22);
}

.dash-button-soft {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .12);
    box-shadow: none;
}

.ops-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ops-metrics article,
.summary-panel {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
}

.ops-metrics article {
    position: relative;
    overflow: hidden;
    padding: 18px;
}

.ops-metrics article::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -30px;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: rgba(8, 166, 166, .10);
}

.ops-metrics .metric-warn::after {
    background: rgba(251, 107, 33, .13);
}

.ops-metrics .metric-wide {
    grid-column: span 2;
}

.ops-metrics span,
.summary-head span,
.summary-transfer-row small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.ops-metrics strong {
    display: block;
    margin-top: 7px;
    color: #0f172a;
    font-size: clamp(24px, 2.1vw, 34px);
    line-height: 1.05;
}

.ops-metrics small {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 750;
}

.ops-summary-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 14px;
}

.summary-panel {
    min-width: 0;
    padding: 16px;
}

.summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.summary-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.2;
}

.summary-list {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.summary-transfer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    background: #f8fafc;
}

.summary-transfer-row.with-action {
    grid-template-columns: minmax(0, 1fr) 64px;
}

.summary-transfer-row strong,
.summary-transfer-row span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-transfer-row strong {
    color: #0f172a;
    font-size: 12.5px;
}

.summary-transfer-row span {
    margin-top: 4px;
    color: #64748b;
    font-size: 11.5px;
}

.summary-transfer-row small {
    text-align: right;
    white-space: nowrap;
}

.summary-empty {
    padding: 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.summary-empty.success {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.dash-mini {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    color: #fff;
    background: #0f172a;
    box-shadow: none;
    font-size: 11px !important;
}

.external-assign::before {
    content: none !important;
}

.assign-panel[open]::before {
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(10px);
}

.assign-panel-body {
    grid-template-columns: minmax(300px, .55fr) minmax(820px, 1.45fr) !important;
    gap: 18px !important;
    width: min(1380px, 96vw) !important;
    padding: 26px !important;
    border-radius: 24px !important;
    background: #f8fafc !important;
}

.assign-modal-title {
    padding: 4px 0 18px !important;
}

.assign-modal-title strong {
    font-size: 23px !important;
    font-weight: 850 !important;
}

.assign-modal-title button {
    color: #fff !important;
    background: #0f172a !important;
    border-color: #0f172a !important;
    box-shadow: none !important;
}

.assign-grid {
    padding: 18px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.assign-grid h3 {
    margin: 0 0 8px !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

.assign-grid input,
.assign-grid select {
    min-height: 44px !important;
    height: 44px !important;
    padding: 9px 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
}

.assign-grid button {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
}

.external-assign {
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
}

.external-assign h3,
.external-assign button {
    grid-column: 1 / -1 !important;
}

@media (max-width: 1100px) {
    .ops-metrics,
    .ops-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .summary-panel:first-child,
    .ops-metrics .metric-wide {
        grid-column: 1 / -1;
    }

    .assign-panel-body {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    .ops-dashboard {
        margin-top: 12px;
        gap: 12px;
    }

    .ops-hero-card {
        display: grid;
        padding: 18px;
        border-radius: 18px;
    }

    .ops-hero-actions,
    .dash-button {
        width: 100%;
    }

    .ops-metrics,
    .ops-summary-grid {
        grid-template-columns: 1fr;
    }

    .ops-metrics .metric-wide,
    .summary-panel:first-child {
        grid-column: auto;
    }

    .summary-transfer-row,
    .summary-transfer-row.with-action {
        grid-template-columns: 1fr;
    }

    .summary-transfer-row small {
        text-align: left;
    }

    .dash-mini {
        width: 100%;
    }

    .assign-panel-body {
        width: min(100%, 560px) !important;
        max-height: 88vh !important;
        padding: 14px !important;
        border-radius: 18px 18px 10px 10px !important;
    }

    .external-assign {
        grid-template-columns: 1fr !important;
    }
}

.actions .assign-panel form.assign-grid,
.compact-transfer-table .action-stack .assign-panel form.assign-grid {
    display: grid !important;
    width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
}

.assign-panel-body {
    grid-template-columns: minmax(340px, .62fr) minmax(780px, 1.38fr) !important;
    width: min(1360px, 96vw) !important;
    padding: 28px !important;
    gap: 18px !important;
}

.assign-panel .assign-grid:not(.external-assign) {
    grid-template-columns: 1fr auto !important;
    align-items: end !important;
    gap: 12px !important;
}

.assign-panel .assign-grid:not(.external-assign) h3 {
    grid-column: 1 / -1 !important;
}

.assign-panel .external-assign {
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    align-items: end !important;
    gap: 14px !important;
}

.assign-panel .external-assign h3 {
    grid-column: 1 / -1 !important;
    margin-bottom: 2px !important;
    white-space: normal !important;
}

.assign-field {
    display: grid !important;
    gap: 6px !important;
    min-width: 0 !important;
}

.assign-field span {
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.assign-panel .assign-grid input,
.assign-panel .assign-grid select,
.assign-panel .assign-grid button {
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 10px 13px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
}

.assign-panel .assign-grid button {
    padding-left: 18px !important;
    padding-right: 18px !important;
    white-space: nowrap !important;
}

.assign-panel .external-assign button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 48px !important;
}

@media (max-width: 1180px) {
    .assign-panel-body {
        grid-template-columns: 1fr !important;
        width: min(860px, 96vw) !important;
    }
}

@media (max-width: 720px) {
    .assign-panel-body {
        width: min(100%, 560px) !important;
        max-height: 88vh !important;
        padding: 16px !important;
        border-radius: 18px 18px 10px 10px !important;
    }

    .assign-panel .external-assign,
    .assign-panel .assign-grid:not(.external-assign) {
        grid-template-columns: 1fr !important;
    }

    .assign-panel .external-assign button,
    .assign-panel .assign-grid:not(.external-assign) button {
        grid-column: 1 / -1 !important;
    }
}

/* Büyük kayıt ekranı: sürücü atama, sürücü ekleme, araç ekleme */
.record-modal-large,
.inline-record-modal {
    width: 100%;
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.record-create-card {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.record-form-title,
.record-modal-large .assign-modal-title {
    padding: 26px 30px 22px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

.record-form-title strong,
.record-modal-large .assign-modal-title strong {
    font-size: 24px !important;
    font-weight: 850 !important;
    letter-spacing: -.03em !important;
    color: #0f172a !important;
}

.record-form-title small,
.record-modal-large .assign-modal-title small {
    margin-top: 7px !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.record-tabbar {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    padding: 0 30px !important;
    min-height: 66px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    white-space: normal !important;
}

.record-tabbar span,
.record-tabbar button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 66px !important;
    color: #64748b !important;
    font-size: 15px !important;
    font-weight: 750 !important;
}

.record-tabbar span.active,
.record-tabbar button.active {
    color: #0f172a !important;
}

.record-tabbar span.active::after,
.record-tabbar button.active::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #16a34a !important;
}


/* DTO_CLEAN_RECORD_TABS_20260603_2005 */
.record-tabbar button {
    appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.record-tab-panel {
    display: contents !important;
}

.record-tab-panel[hidden] {
    display: none !important;
}

.record-large-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 22px !important;
    padding: 28px 30px 30px !important;
    background: #ffffff !important;
}

.vehicle-large-form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.record-large-form label {
    display: grid !important;
    gap: 9px !important;
    min-width: 0 !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: normal !important;
}

.record-large-form label span {
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

.record-large-form input,
.record-large-form select,
.record-large-form textarea {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.record-actions {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 10px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.record-actions button {
    min-height: 48px !important;
    padding: 0 24px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
}

.assign-panel[open] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 22px !important;
    border: 0 !important;
    background: transparent !important;
    white-space: normal !important;
    overflow: visible !important;
}

.assign-panel[open]::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    background: rgba(15, 23, 42, .62) !important;
    backdrop-filter: blur(10px) !important;
}

.assign-panel[open] summary {
    display: none !important;
}

.assign-panel[open] .assign-panel-body {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: min(1240px, calc(100vw - 72px)) !important;
    max-width: none !important;
    max-height: calc(100vh - 72px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .30) !important;
    overflow: auto !important;
    white-space: normal !important;
}

.compact-transfer-table .action-stack .assign-panel[open],
.compact-transfer-table .action-stack .assign-panel[open] *,
.actions .assign-panel[open],
.actions .assign-panel[open] * {
    white-space: normal !important;
}

.assign-panel[open] .assign-modal-title {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 26px 30px 22px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

.assign-panel[open] .assign-modal-title button {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #64748b !important;
    font-size: 28px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.assign-panel[open] .assign-tabs {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.assign-panel[open] .assign-grid {
    display: grid !important;
    width: auto !important;
    margin: 0 !important;
    padding: 24px 30px !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    align-items: end !important;
    gap: 16px !important;
}

.assign-panel[open] .assign-registered-card {
    grid-template-columns: minmax(0, 1fr) 170px !important;
}

.assign-panel[open] .external-assign {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    padding-bottom: 30px !important;
    border-bottom: 0 !important;
}

.assign-panel[open] .assign-grid h3 {
    grid-column: 1 / -1 !important;
    margin: 0 0 2px !important;
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

.assign-panel[open] .assign-field,
.assign-panel[open] .assign-registered-select {
    display: grid !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.assign-panel[open] .assign-field span,
.assign-panel[open] .assign-registered-select span {
    display: block !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

.assign-panel[open] .assign-grid input,
.assign-panel[open] .assign-grid select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.assign-panel[open] .assign-grid button {
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 18px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.assign-panel[open] .external-assign button {
    grid-column: 3 / 5 !important;
}

@media (max-width: 1100px) {
    .vehicle-large-form,
    .record-large-form,
    .assign-panel[open] .external-assign {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .assign-panel[open] .external-assign button {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 720px) {
    .record-form-title,
    .record-modal-large .assign-modal-title,
    .assign-panel[open] .assign-modal-title {
        padding: 20px 18px 18px !important;
    }

    .record-tabbar,
    .assign-panel[open] .assign-tabs {
        gap: 16px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        overflow-x: auto !important;
    }

    .record-large-form,
    .vehicle-large-form,
    .assign-panel[open] .assign-registered-card,
    .assign-panel[open] .external-assign {
        grid-template-columns: 1fr !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .assign-panel[open] {
        padding: 12px !important;
        align-items: flex-start !important;
    }

    .assign-panel[open] .assign-panel-body {
        width: 100% !important;
        max-height: calc(100vh - 24px) !important;
        border-radius: 18px !important;
    }

    .record-actions,
    .assign-panel[open] .external-assign button,
    .assign-panel[open] .assign-registered-card button {
        grid-column: 1 / -1 !important;
    }
}

/* DTO_DRIVER_VEHICLE_LIST_ACTIONS_20260603_1830 */
.row-actions {
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.row-edit-box {
    position: relative;
}

.row-edit-box summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d6deea;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.row-edit-box summary::-webkit-details-marker {
    display: none;
}

.row-edit-box[open] summary {
    border-color: #12a85b;
    color: #0f7a42;
}

.row-edit-form {
    position: absolute;
    right: 0;
    top: 44px;
    z-index: 30;
    width: min(720px, 82vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border: 1px solid #dce5f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.row-edit-form label {
    display: grid;
    gap: 6px;
}

.row-edit-form label span {
    font-size: 12px;
    font-weight: 800;
    color: #25334d;
}

.row-edit-form input,
.row-edit-form select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d6deea;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}

.row-edit-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 760px) {
    .row-edit-form {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 86px;
        width: auto;
        max-height: calc(100vh - 120px);
        overflow: auto;
        grid-template-columns: 1fr;
    }
}


/* DTO_DRIVER_LIVE_TRACKING_20260603_1915 */
.live-map-card { overflow: hidden; }
.live-map { width: 100%; height: 520px; border-radius: 24px; overflow: hidden; background: #e5e7eb; border: 1px solid rgba(15, 23, 42, .10); }
.live-dashboard { margin-bottom: 18px; }
.badge-live { background: #dcfce7; color: #166534; border-color: rgba(22, 101, 52, .20); }
.copy-track-link, .driver-live-buttons button { border: 0; border-radius: 14px; padding: 10px 14px; font-weight: 800; cursor: pointer; background: #111827; color: #fff; }
.copy-track-link:hover, .driver-live-buttons button:hover { transform: translateY(-1px); }
.driver-live-actions { min-width: 260px; }
.driver-location-state { font-size: 12px; font-weight: 800; color: #92400e; background: #fffbeb; border: 1px solid rgba(146, 64, 14, .18); border-radius: 999px; padding: 7px 10px; display: inline-flex; margin: 8px 0; }
.driver-location-state.is-active { color: #166534; background: #dcfce7; border-color: rgba(22, 101, 52, .20); }
.driver-live-buttons { display: grid; gap: 8px; grid-template-columns: 1fr; margin: 8px 0; }
.driver-live-buttons .stop-location { background: #7f1d1d; }
.driver-track-url { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; color: #0f172a; background: #f8fafc; border: 1px solid rgba(15, 23, 42, .10); border-radius: 999px; padding: 7px 10px; text-decoration: none; }
.track-page { min-height: 100vh; margin: 0; background: #0f172a; color: #0f172a; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.track-shell { width: min(1180px, calc(100% - 28px)); margin: 0 auto; padding: 24px 0; }
.track-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-bottom: 16px; }
.track-card { background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.18); border-radius: 26px; padding: 20px; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.track-card h1, .track-card h2 { margin: 0 0 8px; }
.track-card p { margin: 0; color: #475569; }
.track-code { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #f97316; color: #fff; font-weight: 900; margin-bottom: 10px; }
.track-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.track-info-grid div { background: #f8fafc; border-radius: 18px; padding: 12px; border: 1px solid rgba(15,23,42,.08); }
.track-info-grid span { display: block; font-size: 11px; color: #64748b; font-weight: 800; text-transform: uppercase; }
.track-info-grid strong { display: block; margin-top: 4px; }
.track-actions { display: grid; gap: 10px; margin-top: 14px; }
.track-actions a { text-align: center; text-decoration: none; background: #111827; color: #fff; border-radius: 16px; padding: 13px; font-weight: 900; }
.track-actions a.whatsapp { background: #16a34a; }
.track-map { height: 560px; width: 100%; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 24px 80px rgba(0,0,0,.25); background: #e5e7eb; }
.track-status { display: inline-flex; border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 900; background: #fee2e2; color: #991b1b; }
.track-status.is-live { background: #dcfce7; color: #166534; }
.track-footer-note { color: rgba(255,255,255,.72); text-align: center; margin: 14px 0 0; font-size: 12px; }
@media (max-width: 820px) {
    .live-map, .track-map { height: 430px; }
    .track-hero { grid-template-columns: 1fr; }
    .track-info-grid { grid-template-columns: 1fr; }
    .track-shell { width: min(100% - 18px, 1180px); padding: 12px 0; }
    .track-card { border-radius: 20px; padding: 16px; }
}

/* DTO_TABS_VISUAL_RECOVERY_20260603_2025
   Sürücü/Araç kayıt sekmelerini normal çizgili tab görünümüne döndürür. */
.record-modal-large .record-tabbar button,
.inline-record-modal .record-tabbar button,
.record-create-card .record-tabbar button {
    appearance: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #64748b !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 66px !important;
    height: 66px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transform: none !important;
}

.record-modal-large .record-tabbar button:hover,
.inline-record-modal .record-tabbar button:hover,
.record-create-card .record-tabbar button:hover,
.record-modal-large .record-tabbar button:focus,
.inline-record-modal .record-tabbar button:focus,
.record-create-card .record-tabbar button:focus {
    background: transparent !important;
    box-shadow: none !important;
    color: #0f172a !important;
    transform: none !important;
}

.record-modal-large .record-tabbar button.active,
.inline-record-modal .record-tabbar button.active,
.record-create-card .record-tabbar button.active {
    background: transparent !important;
    box-shadow: none !important;
    color: #0f172a !important;
}

.record-modal-large .record-tabbar button.active::after,
.inline-record-modal .record-tabbar button.active::after,
.record-create-card .record-tabbar button.active::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #16a34a !important;
}

/* DTO_DRIVER_EDIT_BUTTON_VISIBLE_20260603_2225
   Sürücü listesi işlem alanındaki Düzenle butonunun global .actions button stilinden etkilenip siyah/boş görünmesini engeller. */
.actions button.mini-link,
.row-actions button.mini-link,
table .actions button.mini-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
}

.actions button.mini-link:hover,
.row-actions button.mini-link:hover,
table .actions button.mini-link:hover {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
}

.driver-job-page {
    min-height: 100vh;
    margin: 0;
    background: #edf3f8;
    color: #0f172a;
    font-family: Inter, Arial, sans-serif;
}

.driver-job-shell {
    width: min(760px, calc(100% - 22px));
    margin: 0 auto;
    padding: 14px 0 28px;
}

.driver-job-hero,
.driver-job-card {
    border: 1px solid #d5e0ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.driver-job-hero {
    padding: 18px;
    background: #111827;
    color: #fff;
}

.driver-job-hero h1 {
    margin: 8px 0 4px;
    font-size: 24px;
}

.driver-job-hero p {
    margin: 0;
    color: #dbeafe;
}

.driver-job-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.driver-job-card {
    margin-top: 10px;
    padding: 14px;
}

.driver-job-card h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

.driver-job-route {
    display: grid;
    gap: 10px;
}

.driver-job-route span,
.driver-job-card dt {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.driver-job-route strong {
    display: block;
    margin-top: 3px;
    font-size: 14px;
}

.driver-job-main-action,
.driver-job-actions a,
.driver-job-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    border-radius: 6px;
    background: #0ea5e9;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.driver-job-main-action {
    background: #16a34a;
}

.driver-job-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.driver-job-card dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.driver-job-card dd {
    margin: 2px 0 0;
    font-weight: 800;
}

.driver-job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.driver-job-actions.vertical {
    display: grid;
}

.driver-job-status {
    padding: 10px;
    border-radius: 6px;
    background: #ecfeff;
    color: #0f766e;
    font-weight: 900;
}

#driverJobLocationState.is-active {
    color: #15803d;
    font-weight: 900;
}

@media (max-width: 720px) {
    .driver-job-grid {
        grid-template-columns: 1fr;
    }

    .driver-job-actions a,
    .driver-job-actions button,
    .driver-job-main-action {
        width: 100%;
    }
}

/* EGE VIP professional operations refresh */
.panel-page {
    --sidebar-bg: #17202b;
    --sidebar-soft: #202b38;
    --content-bg: #f3f6f9;
    --card-bg: #ffffff;
    --text-strong: #111827;
    --text-soft: #5b6675;
    --brand-teal: #13a4b6;
    --brand-orange: #f07a24;
    --success: #138a55;
    --warning: #b7791f;
    --danger: #c2414b;
    grid-template-columns: 240px minmax(0, 1fr);
    background: var(--content-bg);
}

.panel-page .sidebar {
    padding: 0;
    background: var(--sidebar-bg);
    box-shadow: 18px 0 40px rgba(15, 23, 42, .14);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.panel-page .sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sidebar-brand {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 60px;
    padding: 8px 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.sidebar-brand .logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #ffffff;
    color: #17202b;
    box-shadow: none;
}

.sidebar-brand strong,
.sidebar-brand span,
.branch-switcher span,
.branch-switcher strong,
.sidebar-status span,
.sidebar-status strong {
    display: block;
}

.sidebar-brand strong {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: .06em;
}

.sidebar-brand span {
    margin-top: 2px;
    color: #9fb0c3;
    font-size: 12px;
    font-weight: 750;
}

.panel-page .ayt-sidebar-brand {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 4px;
    min-height: 102px;
    padding: 12px 10px 10px;
    border-bottom: 0;
}

.ayt-gauge-mark {
    position: relative;
    width: 78px;
    height: 44px;
    border: 7px solid #ffffff;
    border-bottom: 0;
    border-radius: 78px 78px 0 0;
}

.ayt-gauge-mark::before {
    content: "";
    position: absolute;
    left: 34px;
    bottom: -1px;
    width: 34px;
    height: 5px;
    border-radius: 999px;
    background: #ffffff;
    transform: rotate(-42deg);
    transform-origin: left center;
}

.panel-page .ayt-sidebar-brand span {
    color: #27c2dc;
    font-size: 12px;
    font-weight: 800;
}

.branch-switcher {
    margin: 14px 6px 16px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    background: var(--sidebar-soft);
}

.branch-switcher span,
.sidebar-status span {
    color: #8ea0b5;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.branch-switcher strong,
.sidebar-status strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 13px;
}

.panel-page .sidebar nav {
    gap: 0;
    margin-top: 0;
}

.nav-caption {
    display: block;
    margin: 16px 10px 6px;
    color: #7d90a7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.panel-page .sidebar a,
.panel-page .nav-group summary {
    position: relative;
    min-height: 40px;
    padding: 10px 26px 10px 38px;
    border-radius: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-page .sidebar a::before,
.panel-page .nav-group summary::before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
    top: 50%;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    transform: translateY(-50%);
}

.panel-page .sidebar a.active,
.panel-page .sidebar a:hover,
.panel-page .nav-group summary:hover {
    background: #3a414d;
    color: #ffffff;
}

.panel-page .sidebar a.active::before {
    color: #ffffff;
}

.panel-page .nav-group {
    margin-top: 0;
    padding: 0;
    border-top: 0;
}

.panel-page .nav-group a {
    min-height: 24px;
    margin-left: 0;
    padding: 5px 10px 5px 28px;
    color: #ffffff;
    background: #111a25;
    font-size: 11px;
    font-weight: 850;
}

.panel-page .nav-group a::before {
    content: none;
    display: none;
}

.panel-page .nav-group summary::after {
    content: "›";
    position: absolute;
    right: 14px;
    top: 50%;
    color: #ffffff;
    font-size: 21px;
    font-weight: 500;
    transform: translateY(-50%);
}

.panel-page .nav-group[open] summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.panel-page .server-ip-link {
    color: #ffffff;
    font-weight: 900;
}

.sidebar-status {
    margin: 18px 6px 0;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.panel-page .panel-main {
    min-width: 0;
    padding: 22px 24px 34px;
}

.panel-page .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -22px -24px 22px;
    padding: 16px 24px;
    border-bottom: 1px solid #d9e1ea;
    background: rgba(243, 246, 249, .94);
    backdrop-filter: blur(14px);
}

.panel-page .topbar .eyebrow {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--brand-teal);
    font-size: 11px;
    letter-spacing: .08em;
}

.panel-page .topbar h1 {
    margin-top: 4px;
    color: var(--text-strong);
    font-size: 24px;
    line-height: 1.15;
}

.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-action,
.panel-page .logout,
.panel-page .ghost-button,
.panel-page .mini-action,
.panel-page .dash-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #cfd9e5;
    border-radius: 7px;
    background: #ffffff;
    color: #17202b;
    box-shadow: none;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.quick-action,
.panel-page .dash-button {
    border-color: var(--brand-teal);
    background: var(--brand-teal);
    color: #ffffff;
}

.quick-action.secondary,
.panel-page .dash-button-soft,
.panel-page .logout {
    border-color: #cfd9e5;
    background: #ffffff;
    color: #17202b;
}

.panel-page .work-card,
.panel-page .paste-card,
.panel-page .preview-card,
.panel-page .summary-panel,
.panel-page .ops-hero-card,
.panel-page .stats article,
.panel-page .fold-panel,
.panel-page .record-modal-large,
.panel-page .inline-record-modal,
.panel-page .record-create-card,
.panel-page .driver-create-card {
    border: 1px solid #d9e1ea;
    border-radius: 8px !important;
    background: var(--card-bg);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.panel-page .ops-dashboard {
    display: grid;
    gap: 16px;
}

.panel-page .ops-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: #ffffff;
}

.panel-page .dash-kicker {
    color: var(--brand-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.panel-page .ops-hero-card h2 {
    margin: 5px 0 4px;
    color: var(--text-strong);
    font-size: 24px;
    line-height: 1.18;
}

.panel-page .ops-hero-card p {
    max-width: 760px;
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.45;
}

.panel-page .ops-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.panel-page .ops-metrics,
.panel-page .stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 10px;
    margin: 0;
}

.panel-page .ops-metrics article,
.panel-page .stats article {
    min-height: 92px;
    padding: 14px;
    border-radius: 8px;
}

.panel-page .ops-metrics span,
.panel-page .stats span {
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.panel-page .ops-metrics strong,
.panel-page .stats strong {
    display: block;
    margin-top: 8px;
    color: var(--text-strong);
    font-size: 26px;
    line-height: 1.1;
}

.panel-page .ops-metrics small,
.panel-page .stats small {
    color: #758195;
    font-size: 12px;
    font-weight: 750;
}

.panel-page .metric-warn {
    border-color: #f5c06f;
    background: #fff8ed;
}

.panel-page .metric-wide {
    border-left: 4px solid var(--brand-teal);
}

.panel-page .ops-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.panel-page .summary-panel {
    min-width: 0;
    padding: 0;
    overflow: hidden;
}

.panel-page .summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-bottom: 1px solid #e5ebf2;
}

.panel-page .summary-head h3 {
    margin: 0;
    color: var(--text-strong);
    font-size: 15px;
}

.panel-page .summary-head span {
    color: var(--brand-teal);
    font-size: 12px;
    font-weight: 900;
}

.panel-page .summary-list {
    display: grid;
}

.panel-page .summary-transfer-row,
.panel-page .summary-empty {
    padding: 12px 14px;
    border-bottom: 1px solid #edf1f5;
}

.panel-page .summary-transfer-row:last-child,
.panel-page .summary-empty:last-child {
    border-bottom: 0;
}

.panel-page .summary-transfer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.panel-page .summary-transfer-row strong,
.panel-page .summary-transfer-row span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-page .summary-transfer-row strong {
    color: var(--text-strong);
    font-size: 13px;
}

.panel-page .summary-transfer-row span,
.panel-page .summary-transfer-row small,
.panel-page .summary-empty {
    color: var(--text-soft);
    font-size: 12px;
}

.panel-page .dash-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 6px;
    background: #17202b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.panel-page .work-card {
    margin-top: 14px;
    padding: 16px;
}

.panel-page .section-head h2 {
    color: var(--text-strong);
    font-size: 18px;
}

.panel-page .section-head p {
    color: var(--text-soft);
    font-size: 12px;
}

.panel-page input,
.panel-page select,
.panel-page textarea {
    border-radius: 6px !important;
    border-color: #cfd9e5;
    background-color: #ffffff;
}

.panel-page button {
    border-radius: 7px;
    background: #17202b;
    box-shadow: none;
}

.panel-page .table-wrap {
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #ffffff;
}

.panel-page table {
    border-collapse: separate;
    border-spacing: 0;
}

.panel-page th {
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid #ccd7e3;
    background: #eef3f7;
    color: #334155;
    font-size: 11px;
    letter-spacing: .04em;
}

.panel-page td {
    border-bottom-color: #e7edf4;
}

.panel-page tr:nth-child(even) td {
    background: #fafbfd;
}

.panel-page .ege-havuz-card {
    padding: 0;
    overflow: visible;
}

.panel-page .ege-havuz-tabs {
    height: 46px;
    padding: 0 14px;
    align-items: center;
    background: #ffffff;
}

.panel-page .ege-havuz-tabs span {
    color: var(--brand-teal);
    font-size: 12px;
}

.panel-page .ege-havuz-tools,
.panel-page .ege-havuz-toolbar {
    padding: 12px 14px;
    background: #f8fafc;
}

.panel-page .havuz-icon-action,
.panel-page .actions button,
.panel-page .compact-transfer-table .action-stack button,
.panel-page .compact-transfer-table .action-stack .mini-action {
    min-width: 30px;
    min-height: 30px;
    border-radius: 6px;
}

.panel-page .badge {
    border-radius: 999px;
}

.panel-page .module-shell {
    display: grid;
    gap: 14px;
}

.panel-page .module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.panel-page .module-grid article {
    min-height: 94px;
    padding: 14px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #f8fafc;
}

.panel-page .module-grid span,
.panel-page .module-grid small {
    display: block;
}

.panel-page .module-grid span {
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.panel-page .module-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--text-strong);
    font-size: 22px;
}

.panel-page .module-grid small {
    margin-top: 4px;
    color: #758195;
    font-size: 12px;
    line-height: 1.35;
}

.panel-page .module-table-wrap {
    margin-top: 14px;
}

.panel-page .module-data-table {
    min-width: 860px;
}

.panel-page .module-data-table td small,
.panel-page .module-data-table td span {
    display: block;
    margin-top: 4px;
    color: var(--text-secondary, #667085);
    font-size: 12px;
    font-weight: 450;
}

.panel-page .module-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.panel-page .module-list-grid article {
    display: grid;
    gap: 5px;
    min-height: 78px;
    padding: 14px;
    border: 1px solid var(--border, #d9e2ec);
    border-radius: 8px;
    background: var(--surface-secondary, #f8fafc);
}

.panel-page .module-list-grid strong {
    color: var(--text-primary, #111827);
    font-size: 14px;
    font-weight: 700;
}

.panel-page .module-list-grid span {
    color: var(--text-secondary, #667085);
    font-size: 12px;
    line-height: 1.45;
}

.panel-page .module-inline-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.panel-page .ayt-reference-screen {
    display: grid;
    gap: 14px;
    overflow: hidden;
}

.panel-page .ayt-screen-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 1px solid var(--border, #d9e2ec);
}

.panel-page .ayt-screen-tabs span {
    min-height: 38px;
    padding: 11px 18px 10px;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary, #667085);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.panel-page .ayt-screen-tabs span.active {
    border-color: var(--primary, #10a6b6);
    color: var(--primary-strong, #087989);
}

.panel-page .ayt-table-toolbar {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border, #d9e2ec);
    border-radius: 8px;
    background: var(--surface-secondary, #f8fafc);
}

.panel-page .ayt-table-toolbar label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary, #111827);
    font-size: 13px;
    font-weight: 700;
}

.panel-page .ayt-table-toolbar select,
.panel-page .ayt-table-toolbar input {
    min-height: 36px;
    border: 1px solid var(--border-strong, #cad7e5);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text-primary, #111827);
}

.panel-page .ayt-table-toolbar input {
    width: 100%;
    padding: 0 12px;
}

.panel-page .ayt-table-toolbar > div {
    display: flex;
    gap: 8px;
}

.panel-page .ayt-reference-table-wrap {
    width: 100%;
    overflow: auto;
    border: 1px solid var(--border, #d9e2ec);
    border-radius: 8px;
    background: #ffffff;
}

.panel-page .ayt-reference-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
}

.panel-page .ayt-reference-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 13px 12px;
    border-bottom: 1px solid var(--border, #d9e2ec);
    background: #eef4f8;
    color: #223044;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.panel-page .ayt-reference-table td {
    min-width: 86px;
    padding: 11px 12px;
    border-right: 1px solid var(--border, #d9e2ec);
    border-bottom: 1px solid var(--border, #d9e2ec);
    color: #111827;
    font-size: 13px;
    vertical-align: middle;
}

.panel-page .ayt-reference-table tr:nth-child(even) td {
    background: #fbfdff;
}

.panel-page .ayt-reference-table td small,
.panel-page .ayt-reference-table td span {
    display: block;
    margin-top: 3px;
    color: var(--text-secondary, #667085);
    font-size: 12px;
    line-height: 1.35;
}

.panel-page .mini-chip {
    display: inline-flex !important;
    align-items: center;
    min-height: 22px;
    margin: 2px 4px 2px 0 !important;
    padding: 0 7px;
    border-radius: 6px;
    background: #e8f7f9;
    color: #087989 !important;
    font-size: 11px !important;
    font-weight: 800;
}

.panel-page .mini-sort-input {
    width: 54px;
    min-height: 32px;
    border: 1px solid var(--border-strong, #cad7e5);
    border-radius: 7px;
    text-align: center;
}

.panel-page .ayt-add-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border, #d9e2ec);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.panel-page .ayt-add-title {
    color: var(--primary-strong, #087989);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
}

.panel-page .ayt-form-grid,
.panel-page .ayt-template-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.panel-page .ayt-form-grid label,
.panel-page .ayt-template-grid label {
    display: grid;
    gap: 5px;
    min-width: 0;
    color: var(--text-primary, #111827);
    font-size: 12px;
    font-weight: 800;
}

.panel-page .ayt-form-grid input,
.panel-page .ayt-form-grid select,
.panel-page .ayt-form-grid textarea,
.panel-page .ayt-template-grid textarea {
    width: 100%;
    min-height: 36px;
    border: 1px solid var(--border-strong, #cad7e5);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text-primary, #111827);
    font-size: 13px;
}

.panel-page .ayt-form-grid textarea,
.panel-page .ayt-template-grid textarea {
    min-height: 88px;
    resize: vertical;
}

.panel-page .ayt-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .panel-page .ayt-table-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .panel-page .ayt-table-toolbar > div {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .panel-page .ayt-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .panel-page .ayt-table-toolbar,
    .panel-page .ayt-form-grid,
    .panel-page .ayt-template-grid {
        grid-template-columns: 1fr;
    }

    .panel-page .ayt-table-toolbar > div {
        justify-content: stretch;
    }

    .panel-page .ayt-table-toolbar > div > * {
        flex: 1;
    }

    .panel-page .ayt-screen-tabs span {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
}

.geo-page-shell {
    display: grid;
    gap: 16px;
}

.geo-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(15, 159, 173, .22);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(242, 250, 251, .96)),
        radial-gradient(circle at 92% 24%, rgba(15, 159, 173, .12), transparent 34%);
    box-shadow: 0 18px 55px rgba(15, 23, 42, .07);
}

.geo-hero h2 {
    max-width: 820px;
    margin: 7px 0 0;
    color: var(--text-primary, #111827);
    font-size: 24px;
    font-weight: 760;
    line-height: 1.18;
}

.geo-hero p {
    max-width: 900px;
    margin: 9px 0 0;
    color: var(--text-secondary, #667085);
    font-size: 13.5px;
    line-height: 1.55;
}

.geo-source-pill {
    display: grid;
    min-width: 128px;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--border, #d9e2ec);
    border-radius: 10px;
    background: #fff;
    text-align: right;
}

.geo-source-pill strong {
    color: var(--text-primary, #111827);
    font-size: 20px;
    font-weight: 760;
}

.geo-source-pill span {
    color: var(--text-secondary, #667085);
    font-size: 12px;
    font-weight: 650;
}

.panel-page .geo-metrics {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.geo-management-grid {
    display: grid;
    grid-template-columns: minmax(500px, .95fr) minmax(500px, 1.05fr);
    gap: 16px;
    align-items: start;
}

.panel-page .geo-card {
    margin-top: 0;
    padding: 18px;
}

.panel-page .geo-filter-bar {
    grid-template-columns: minmax(180px, 1fr) 140px auto auto;
}

.geo-table-wrap {
    max-height: 680px;
    overflow: auto;
}

.geo-table {
    min-width: 720px;
}

.geo-table tr.is-selected td {
    background: #f0fbfc !important;
}

.geo-table tr.is-selected td:first-child {
    box-shadow: inset 3px 0 0 var(--primary, #0f9fad);
}

.geo-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.geo-actions .mini-action,
.geo-actions .ghost-button,
.geo-table .ghost-button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
}

.panel-page .extra-services-fieldset {
    grid-column: 1 / -1;
}

.panel-page .extra-services-fieldset legend {
    padding: 0;
}

.panel-page .extra-services-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 5px 10px;
    border: 0;
    border-radius: 4px;
    background: #f2f4f6;
    color: #0b77b7;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.panel-page .extra-services-toggle::before {
    content: "+";
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: #0fc3d5;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
}

.panel-page .extra-services-fieldset.is-open .extra-services-toggle::before {
    content: "-";
}

.panel-page .extra-services-toggle small {
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.panel-page .extra-services-body {
    margin-top: 6px;
}

.panel-page .extra-services-table {
    display: grid;
    gap: 4px;
}

.panel-page .extra-service-row {
    display: grid;
    grid-template-columns: 74px minmax(220px, 1fr) minmax(160px, 220px);
    gap: 8px;
    align-items: center;
    min-height: 34px;
    padding: 5px 8px;
    border: 1px solid #e1e8f0;
    border-radius: 6px;
    background: #ffffff;
}

.panel-page .extra-service-head {
    min-height: 28px;
    border-color: transparent;
    background: #eef3f7;
    color: #334155;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.panel-page .extra-service-row strong {
    color: var(--text-strong);
    font-size: 12px;
}

.panel-page .extra-service-row input {
    min-height: 28px !important;
    height: 28px !important;
}

.panel-page .extra-service-row label {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 5px;
    align-items: center;
}

.panel-page .extra-service-row label span {
    margin: 0 !important;
    color: #64748b;
    font-size: 11px !important;
    font-weight: 900;
}

.panel-page .return-transfer-field.is-disabled {
    opacity: .48;
}

.panel-page .approval-badge {
    display: inline-flex;
    width: fit-content;
    margin-top: 4px;
    padding: 3px 7px;
    border: 1px solid #f6b84b;
    border-radius: 999px;
    background: #fff7df;
    color: #965400;
    font-size: 10.5px;
    font-weight: 900;
}

.panel-page .approval-action {
    min-width: 56px !important;
    min-height: 26px !important;
    height: 26px !important;
    padding: 0 8px !important;
    border-radius: 5px !important;
    font-size: 10.5px !important;
}

.panel-page .approval-action.is-approve {
    background: #12a66a;
}

.panel-page .approval-action.is-reject {
    background: #b42318;
}

.panel-page .transfer-form-card > .work-card {
    padding: 12px;
}

.panel-page .ege-reservation-form {
    gap: 7px;
}

.panel-page .ayt-reservation-layout {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: minmax(0, .48fr) minmax(0, .52fr);
    gap: 8px;
    align-items: start;
}

.panel-page .ayt-reservation-left,
.panel-page .ayt-reservation-right {
    display: grid;
    gap: 7px;
    align-items: start;
    min-width: 0;
}

.panel-page .ege-fieldset {
    padding: 8px 9px 10px;
}

.panel-page .ege-grid {
    grid-template-columns: repeat(12, minmax(76px, 1fr));
    gap: 5px 7px;
}

.panel-page .ege-grid.two {
    grid-template-columns: repeat(6, minmax(92px, 1fr));
}

.panel-page .ayt-reservation-layout .ege-grid {
    grid-template-columns: repeat(6, minmax(72px, 1fr));
}

.panel-page .ege-grid .ege-wide,
.panel-page .ege-reservation-form .phone-label {
    grid-column: span 3;
}

.panel-page .ege-transfer .route-inline {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: 8px;
    align-items: end;
}

.panel-page .ege-transfer .route-field {
    min-width: 0;
}

.panel-page .ege-flight .ege-wide,
.panel-page .ege-payment .ege-wide {
    grid-column: 1 / -1;
}

.panel-page .ege-transfer .route-swap-mini {
    width: 34px;
    min-width: 34px;
    padding: 0 !important;
    background: #17202b;
    font-size: 14px !important;
    font-weight: 900;
}

.panel-page .ege-customer-location .customer-location-link {
    grid-column: span 2;
    align-self: end;
    width: 100%;
    background: #1ca8d1;
}

.panel-page .ege-reservation-form input,
.panel-page .ege-reservation-form select,
.panel-page .ege-reservation-form .phone-combo input,
.panel-page .ege-reservation-form .phone-combo select {
    height: 30px !important;
    min-height: 30px !important;
    padding: 4px 7px !important;
    font-size: 11.5px !important;
}

.panel-page .ege-reservation-form textarea {
    min-height: 48px !important;
}

.panel-page .ege-reservation-form label span {
    font-size: 10px !important;
    font-weight: 850;
}

.panel-page .ege-reservation-form .check-card,
.panel-page .ege-reservation-form .swap-route,
.panel-page .ege-reservation-form .form-actions button,
.panel-page .ege-reservation-form .form-actions .ghost-button {
    height: 30px !important;
    min-height: 30px !important;
}

.panel-page .extra-service-row {
    min-height: 32px;
}

@media (max-width: 1180px) {
    .panel-page {
        grid-template-columns: 238px minmax(0, 1fr);
    }

    .panel-page .ops-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .havuz-bulk-bar .havuz-or {
        display: none;
    }

    .havuz-bulk-bar button {
        flex-basis: 150px;
        width: 150px;
    }

    .ege-havuz-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ege-havuz-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ege-havuz-table-tools {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .panel-page .ops-summary-grid {
        grid-template-columns: 1fr;
    }

    .panel-page .module-grid {
        grid-template-columns: 1fr;
    }

    .panel-page .ayt-reservation-layout {
        grid-template-columns: 1fr;
    }

    .passenger-bulk-tools {
        grid-template-columns: 1fr;
    }

    .panel-page .extra-service-row {
        grid-template-columns: 64px minmax(160px, 1fr) minmax(130px, 180px);
    }
}

@media (max-width: 860px) {
    .panel-page {
        display: block;
    }

    .panel-page .sidebar {
        position: relative;
        height: auto;
    }

    .sidebar-status {
        display: none;
    }

    .panel-page .panel-main {
        padding: 16px;
    }

    .panel-page .topbar {
        position: relative;
        margin: -16px -16px 16px;
        padding: 14px 16px;
    }

    .topbar-actions {
        justify-content: flex-start;
    }

    .panel-page .ops-hero-card {
        display: grid;
    }
}

.panel-page .ege-havuz-card {
    overflow: visible !important;
}

.panel-page #havuzBulkForm {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.panel-page #havuzBulkForm > select {
    flex: 1 1 170px !important;
    min-width: 130px !important;
    max-width: 100% !important;
}

.panel-page #havuzBulkForm .havuz-pass-fee {
    flex: 0 1 190px !important;
    min-width: 150px !important;
}

.panel-page #bulkProcessButton {
    flex: 0 0 156px !important;
    width: 156px !important;
    min-width: 156px !important;
    max-width: 156px !important;
    margin-left: auto !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

.panel-page .cms-dashboard .ops-hero-card {
    border-left: 4px solid var(--brand-teal);
}

.panel-page .cms-roadmap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 16px;
}

.panel-page .cms-roadmap span {
    display: grid;
    min-height: 42px;
    place-items: center;
    border: 1px solid #d9e1ea;
    border-radius: 6px;
    background: #f8fafc;
    color: #17202b;
    font-size: 12px;
    font-weight: 900;
}

.panel-page .cms-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px auto auto;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #d9e1ea;
    border-radius: 6px;
    background: #f8fafc;
}

.panel-page .cms-filter-bar button,
.panel-page .cms-filter-bar .ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    text-decoration: none;
}

.panel-page .cms-airport-table {
    min-width: 980px;
}

.panel-page .cms-airport-table code {
    color: #0f766e;
    font-size: 11px;
    font-weight: 850;
}

.panel-page .inline-action-form {
    display: inline-flex;
    margin: 0;
}

.panel-page .status-pill {
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    box-shadow: none;
}

.panel-page .status-pill.is-active {
    background: #138a55;
}

.panel-page .status-pill.is-passive {
    background: #64748b;
}

.panel-page .cms-airport-form {
    display: grid;
    gap: 12px;
}

.panel-page .cms-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 10px;
}

.panel-page .cms-form-grid .ege-wide {
    grid-column: 1 / -1;
}

.panel-page .cms-form-grid small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-page .cms-language-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.panel-page .cms-language-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #d9e1ea;
    border-radius: 6px;
    background: #f8fafc;
}

.panel-page .cms-language-card h3 {
    margin: 0;
    color: #0b77b7;
    font-size: 13px;
}

@media (max-width: 1180px) {
    .panel-page .cms-form-grid,
    .panel-page .cms-language-grid,
    .panel-page .cms-roadmap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-page .cms-filter-bar {
        grid-template-columns: 1fr 170px;
    }
}

@media (max-width: 860px) {
    .panel-page .cms-form-grid,
    .panel-page .cms-language-grid,
    .panel-page .cms-roadmap,
    .panel-page .cms-filter-bar {
        grid-template-columns: 1fr;
    }
}

/* Professional SaaS design system layer */
.panel-page {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-secondary: #f8fafc;
    --surface-tertiary: #eef2f7;
    --border: #d9e2ec;
    --border-strong: #c7d2df;
    --text-primary: #111827;
    --text-secondary: #667085;
    --text-muted: #8a96a8;
    --primary: #0f9fad;
    --primary-strong: #0b7f8b;
    --success: #16885a;
    --warning: #b7791f;
    --danger: #bd2e3a;
    --sidebar-bg: #111827;
    --sidebar-soft: #172232;
    --sidebar-hover: #202b3a;
    --sidebar-active: #263445;
    --sidebar-text: #d5dde8;
    --sidebar-muted: #8794a7;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, .08);
    grid-template-columns: 256px minmax(0, 1fr);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(245, 247, 251, .92) 220px),
        var(--bg);
    color: var(--text-primary);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 450;
}

.panel-page .sidebar {
    width: 256px;
    background: var(--sidebar-bg);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
}

.panel-page .ayt-sidebar-brand {
    min-height: 112px;
    padding: 18px 18px 12px;
    place-items: start;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.panel-page .ayt-sidebar-brand strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
}

.panel-page .ayt-sidebar-brand span {
    color: #93a4b8;
    font-size: 12px;
    font-weight: 500;
}

.panel-page .ayt-gauge-mark {
    width: 48px;
    height: 30px;
    border-width: 4px;
    opacity: .92;
}

.panel-page .ayt-gauge-mark::before {
    left: 21px;
    width: 24px;
    height: 3px;
}

.panel-page .ayt-sidebar-nav {
    padding: 12px;
}

.panel-page .nav-caption {
    margin: 18px 10px 8px;
    color: var(--sidebar-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.panel-page .sidebar a,
.panel-page .nav-group summary {
    min-height: 38px;
    margin: 1px 0;
    padding: 9px 34px 9px 40px;
    border-radius: 8px;
    color: var(--sidebar-text);
    font-size: 13px;
    font-weight: 560;
    transition: background-color .16s ease, color .16s ease;
}

.panel-page .sidebar a::before,
.panel-page .nav-group summary::before {
    content: "";
    left: 12px;
    width: 18px;
    height: 18px;
    background: currentColor;
    opacity: .86;
    -webkit-mask: var(--nav-icon) center / 18px 18px no-repeat;
    mask: var(--nav-icon) center / 18px 18px no-repeat;
}

.panel-page .sidebar a[data-icon="home"],
.panel-page .nav-group summary[data-icon="home"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.panel-page .sidebar a[data-icon="calendar"],
.panel-page .nav-group summary[data-icon="calendar"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.panel-page .sidebar a[data-icon="users"],
.panel-page .nav-group summary[data-icon="users"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.panel-page .sidebar a[data-icon="archive"],
.panel-page .nav-group summary[data-icon="archive"],
.panel-page .sidebar a[data-icon="database"],
.panel-page .nav-group summary[data-icon="database"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v14c0 1.66 4.03 3 9 3s9-1.34 9-3V5'/%3E%3Cpath d='M3 12c0 1.66 4.03 3 9 3s9-1.34 9-3'/%3E%3C/svg%3E");
}

.panel-page .nav-group summary[data-icon="route"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='3'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Cpath d='M12 19h2a4 4 0 0 0 0-8H9a4 4 0 0 1 0-8h1'/%3E%3C/svg%3E");
}

.panel-page .nav-group summary[data-icon="car"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9L18 6H6l-2.5 5.1C2.7 11.3 2 12.1 2 13v3c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3Cpath d='M5 11h14'/%3E%3C/svg%3E");
}

.panel-page .nav-group summary[data-icon="send"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
}

.panel-page .sidebar a[data-icon="wallet"],
.panel-page .nav-group summary[data-icon="wallet"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7H5a2 2 0 0 1 0-4h12'/%3E%3Cpath d='M5 7h16v14H5a2 2 0 0 1-2-2V5'/%3E%3Cpath d='M16 14h.01'/%3E%3C/svg%3E");
}

.panel-page .nav-group summary[data-icon="shield"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-8 9-4.5-1.5-8-4-8-9V5l8-3 8 3Z'/%3E%3C/svg%3E");
}

.panel-page .nav-group summary[data-icon="settings"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.65 1.65 0 0 0 15 19.4a1.65 1.65 0 0 0-1 .6 1.65 1.65 0 0 0-.4 1v.2a2 2 0 1 1-4 0V21a1.65 1.65 0 0 0-.4-1 1.65 1.65 0 0 0-1-.6 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.6 15a1.65 1.65 0 0 0-.6-1 1.65 1.65 0 0 0-1-.4h-.2a2 2 0 1 1 0-4H3a1.65 1.65 0 0 0 1-.4 1.65 1.65 0 0 0 .6-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.6a1.65 1.65 0 0 0 1-.6 1.65 1.65 0 0 0 .4-1v-.2a2 2 0 1 1 4 0V3a1.65 1.65 0 0 0 .4 1 1.65 1.65 0 0 0 1 .6 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9c.14.35.35.66.6.9.25.25.56.45.9.6h.2a2 2 0 1 1 0 4h-.2c-.34.15-.65.35-.9.6-.25.24-.46.55-.6.9Z'/%3E%3C/svg%3E");
}

.panel-page .nav-group summary[data-icon="globe"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 0 20M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E");
}

.panel-page .sidebar a[data-icon="headset"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1'/%3E%3Cpath d='M7 15v4H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2ZM17 15v4h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-2Z'/%3E%3C/svg%3E");
}

.panel-page .sidebar a[data-icon="server"] {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='8' rx='2'/%3E%3Crect x='3' y='12' width='18' height='8' rx='2'/%3E%3Cpath d='M7 8h.01M7 16h.01'/%3E%3C/svg%3E");
}

.panel-page .nav-group a {
    min-height: 29px;
    margin: 0;
    padding: 6px 10px 6px 40px;
    border-radius: 7px;
    background: transparent;
    color: #aeb9c8;
    font-size: 12px;
    font-weight: 500;
}

.panel-page .nav-group a::before {
    content: "";
    left: 22px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    opacity: .42;
    -webkit-mask: none;
    mask: none;
}

.panel-page .sidebar a.active,
.panel-page .sidebar a:hover,
.panel-page .nav-group summary:hover {
    background: var(--sidebar-hover);
    color: #ffffff;
}

.panel-page .sidebar a.active,
.panel-page .nav-group a.active {
    background: var(--sidebar-active);
    color: #ffffff;
}

.panel-page .nav-group[open] summary {
    color: #ffffff;
}

.panel-page .nav-group summary::after {
    right: 13px;
    color: #8ea0b5;
    font-size: 18px;
}

.panel-page .panel-main {
    padding: 24px 28px 40px;
}

.panel-page .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -24px -28px 28px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(245, 247, 251, .92);
    backdrop-filter: blur(14px);
}

.panel-page .topbar > div:first-child {
    min-width: 0;
}

.panel-page .topbar .eyebrow {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.panel-page .topbar h1 {
    margin: 4px 0 0;
    color: var(--text-primary);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.16;
}

.panel-page .topbar p {
    max-width: 760px;
    margin: 7px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.45;
}

.quick-action,
.panel-page .logout,
.panel-page .ghost-button,
.panel-page .mini-action,
.panel-page .dash-button,
.panel-page .button,
.panel-page button {
    min-height: 36px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 13px;
    font-weight: 650;
}

.quick-action,
.panel-page .dash-button,
.panel-page button[type="submit"]:not(.danger-link):not(.status-pill) {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.quick-action:hover,
.panel-page .dash-button:hover,
.panel-page button[type="submit"]:not(.danger-link):not(.status-pill):hover {
    background: var(--primary-strong);
}

.quick-action.secondary,
.panel-page .dash-button-soft,
.panel-page .logout,
.panel-page .ghost-button,
.panel-page .mini-action,
.panel-page .button.secondary {
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text-primary);
}

.panel-page .button.danger,
.panel-page .danger-link {
    border-color: var(--danger);
    background: var(--danger);
    color: #ffffff;
}

.panel-page .work-card,
.panel-page .summary-panel,
.panel-page .ops-hero-card,
.panel-page .stats article,
.panel-page .paste-card,
.panel-page .preview-card {
    border: 1px solid var(--border);
    border-radius: 8px !important;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.panel-page .work-card {
    margin-top: 18px;
    padding: 18px;
}

.panel-page .section-head {
    margin-bottom: 16px;
}

.panel-page .section-head h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
}

.panel-page .section-head p {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.panel-page input,
.panel-page select,
.panel-page textarea {
    min-height: 38px;
    border: 1px solid var(--border-strong);
    border-radius: 8px !important;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 450;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.panel-page textarea {
    padding: 10px 12px;
    line-height: 1.45;
}

.panel-page input:focus,
.panel-page select:focus,
.panel-page textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 159, 173, .12);
}

.panel-page label span {
    color: #2f3b4c;
    font-size: 12px;
    font-weight: 650;
}

.panel-page .flash {
    position: fixed;
    top: 20px;
    right: 22px;
    z-index: 80;
    max-width: min(420px, calc(100vw - 32px));
    margin: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.panel-page .ops-hero-card {
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.panel-page .dash-kicker {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.panel-page .ops-hero-card h2 {
    font-size: 22px;
    font-weight: 700;
}

.panel-page .ops-metrics,
.panel-page .stats {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 12px;
}

.panel-page .ops-metrics article,
.panel-page .stats article {
    min-height: 88px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.panel-page .ops-metrics article::after,
.panel-page .stats article::after {
    content: none !important;
}

.panel-page .ops-metrics span,
.panel-page .stats span {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.panel-page .ops-metrics strong,
.panel-page .stats strong {
    color: var(--text-primary);
    font-size: 27px;
    font-weight: 700;
}

.panel-page .summary-head {
    min-height: 48px;
    border-bottom-color: var(--border);
}

.panel-page .summary-head h3 {
    font-size: 14px;
    font-weight: 700;
}

.panel-page .table-wrap {
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.panel-page .cms-airport-table-wrap {
    overflow: visible;
}

.panel-page table {
    width: 100%;
}

.panel-page th {
    height: 46px;
    padding: 0 12px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-secondary);
    color: #475467;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
}

.panel-page td {
    min-height: 58px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    vertical-align: middle;
}

.panel-page tr:hover td {
    background: #fbfdff;
}

.panel-page tr:nth-child(even) td {
    background: #fcfdff;
}

.panel-page tr:nth-child(even):hover td {
    background: #f8fbff;
}

.panel-page .badge,
.panel-page .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.panel-page .badge-soft {
    border-color: #bdebef;
    background: #ecfeff;
    color: #0b7f8b;
}

.panel-page .status-pill.is-active {
    border-color: #bfe9d5;
    background: #edfdf4;
    color: var(--success);
}

.panel-page .status-pill.is-passive {
    border-color: #d8dee8;
    background: #f2f4f7;
    color: #667085;
}

.panel-page .cms-filter-bar {
    grid-template-columns: minmax(260px, 1fr) 190px auto auto;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-secondary);
}

.panel-page .cms-airport-table {
    min-width: 980px;
}

.panel-page .cms-airport-table td:first-child,
.panel-page .cms-airport-table th:first-child {
    width: 64px;
}

.panel-page .cms-airport-table td:last-child,
.panel-page .cms-airport-table th:last-child {
    width: 72px;
    text-align: right;
}

.panel-page .cms-airport-table small {
    display: block;
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 450;
}

.panel-page .cms-airport-table code {
    color: #0b7f8b;
    font-size: 12px;
    font-weight: 650;
}

.row-action-menu {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
}

.row-action-menu summary {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    list-style: none;
}

.row-action-menu summary::-webkit-details-marker {
    display: none;
}

.row-action-menu summary::before {
    content: "⋮";
    color: inherit;
    font-size: 18px;
    line-height: 1;
}

.row-action-menu[open] summary,
.row-action-menu summary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.row-action-menu > div {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    display: grid;
    min-width: 150px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.row-action-menu a,
.row-action-menu button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 34px;
    width: 100%;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent !important;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

.row-action-menu a:hover,
.row-action-menu button:hover {
    background: var(--surface-secondary) !important;
}

.row-action-menu .danger-link {
    color: var(--danger);
}

.empty-state {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 28px;
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    background: var(--surface-secondary);
}

.empty-state strong {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
}

.empty-state span {
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.45;
}

.panel-page .cms-airport-form {
    gap: 16px;
}

.panel-page .cms-dashboard .ops-metrics {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.panel-page .cms-dashboard .metric-wide {
    grid-column: 1 / -1;
}

.panel-page .cms-dashboard .ops-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-form-tabs {
    position: sticky;
    top: 104px;
    z-index: 12;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.cms-form-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 7px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.cms-form-tabs a:hover,
.cms-form-tabs a.active {
    background: var(--surface-tertiary);
    color: var(--text-primary);
}

.panel-page .cms-form-section {
    scroll-margin-top: 160px;
    padding: 16px;
    border-color: var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.panel-page .cms-form-section legend {
    padding: 0 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.panel-page .cms-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.panel-page .cms-language-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.panel-page .cms-language-card {
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-secondary);
}

.panel-page .cms-language-card h3 {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.panel-page .check-card {
    border-radius: 8px;
    background: var(--surface-secondary);
}

.panel-modal-backdrop[hidden] {
    display: none;
}

.panel-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, .48);
}

.panel-modal {
    display: grid;
    gap: 18px;
    width: min(440px, 100%);
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.modal-kicker {
    color: var(--warning);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.panel-modal h2 {
    margin: 6px 0 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
}

.panel-modal p {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.panel-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 1180px) {
    .panel-page {
        grid-template-columns: 238px minmax(0, 1fr);
    }

    .panel-page .sidebar {
        width: 238px;
    }

    .panel-page .ops-metrics,
    .panel-page .stats,
    .panel-page .cms-form-grid,
    .panel-page .cms-language-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-page .cms-filter-bar {
        grid-template-columns: 1fr 190px;
    }

    .geo-management-grid {
        grid-template-columns: 1fr;
    }

    .panel-page .geo-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .panel-page {
        display: block;
    }

    .panel-page .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        max-height: 62vh;
    }

    .panel-page .ayt-sidebar-nav,
    .panel-page .sidebar nav {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        align-items: stretch !important;
    }

    .panel-page .nav-caption,
    .panel-page .sidebar a,
    .panel-page .nav-group,
    .panel-page .nav-group summary,
    .panel-page .nav-group a {
        width: 100%;
        max-width: 100%;
    }

    .panel-page .sidebar a,
    .panel-page .nav-group summary {
        justify-content: flex-start;
    }

    .panel-page .panel-main {
        padding: 16px;
    }

    .panel-page .topbar {
        position: relative;
        margin: -16px -16px 18px;
        padding: 18px 16px;
    }

    .panel-page .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .panel-page .ops-metrics,
    .panel-page .stats,
    .panel-page .cms-form-grid,
    .panel-page .cms-language-grid,
    .panel-page .cms-filter-bar {
        grid-template-columns: 1fr;
    }

    .panel-page .table-wrap,
    .panel-page .cms-airport-table-wrap {
        overflow-x: auto;
    }

    .cms-form-tabs {
        position: static;
    }

    .geo-hero {
        display: grid;
        padding: 18px;
    }

    .geo-source-pill {
        width: 100%;
        text-align: left;
    }

    .panel-page .geo-metrics,
    .panel-page .geo-filter-bar {
        grid-template-columns: 1fr;
    }

    .geo-management-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .geo-table-wrap {
        max-height: none;
        overflow-x: auto;
    }
}

.panel-page .geo-management-grid {
    grid-template-columns: minmax(0, 1fr);
}

.panel-page .geo-card {
    min-width: 0;
}

.panel-page .geo-table-wrap {
    max-width: 100%;
    overflow: auto !important;
}

.panel-page .geo-table {
    min-width: 980px;
}

.pricing-zone-shell {
    background: #fff;
    border: 1px solid #d7e2ee;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.pricing-zone-grid {
    display: grid;
    grid-template-columns: minmax(420px, .9fr) minmax(0, 1.4fr);
    gap: 16px;
    padding: 16px;
}

.zone-list-panel,
.zone-editor-panel {
    min-width: 0;
}

.zone-list-panel {
    border: 1px solid #d7e2ee;
    background: #f8fbfe;
}

.compact-zone-wrap {
    max-height: 720px;
    overflow: auto;
}

.zone-list-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

.zone-list-table th,
.zone-list-table td {
    padding: 10px 9px;
    border: 1px solid #e2eaf3;
    font-size: 12px;
    vertical-align: middle;
}

.zone-list-table th {
    background: #edf5fb;
    color: #25364d;
    font-weight: 900;
    text-align: left;
}

.zone-list-table tr.is-selected td {
    background: #effcff;
}

.zone-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.zone-actions form {
    margin: 0;
}

.zone-actions button {
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid #cbd8e6;
    border-radius: 4px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.zone-form {
    display: grid;
    gap: 14px;
}

.zone-map-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.zone-map-toolbar span {
    margin-left: auto;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.pricing-zone-map {
    min-height: 420px;
    border: 1px solid #cbd8e6;
    background:
        linear-gradient(135deg, rgba(8, 166, 166, .10), rgba(251, 107, 33, .06)),
        #edf5fb;
}

.pricing-map-fallback {
    display: grid;
    min-height: 420px;
    place-items: center;
    padding: 24px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.polygon-json-fallback {
    width: 100%;
    min-height: 82px;
    margin-top: 10px;
    border: 1px solid #d7e2ee;
    border-radius: 4px;
    background: #f8fbfe;
    color: #475569;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 11px;
}

.zone-rules-card {
    overflow: hidden;
}

.zone-rule-head,
.zone-rule-row {
    display: grid;
    grid-template-columns: 150px 115px 130px 130px minmax(150px, 1fr) 96px 150px 90px 78px 82px 82px;
    gap: 7px;
    align-items: center;
    min-width: 1330px;
}

.zone-rule-head {
    padding: 8px;
    border: 1px solid #d7e2ee;
    background: #edf5fb;
    color: #334155;
    font-size: 11px;
    font-weight: 900;
}

.zone-rule-row {
    padding: 8px;
    border: 1px solid #e1eaf3;
    border-top: 0;
    background: #fff;
}

.zone-rule-row input,
.zone-rule-row select,
.pricing-debug-form input,
.pricing-debug-form select {
    width: 100%;
    min-height: 32px;
    border: 1px solid #cbd8e6;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 12px;
}

.zone-rules-card {
    overflow-x: auto;
}

.pricing-debug-card {
    margin-top: 14px;
}

.pricing-debug-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.pricing-debug-form label {
    display: grid;
    gap: 5px;
}

.pricing-debug-form label span {
    color: #102033;
    font-size: 11px;
    font-weight: 900;
}

.pricing-debug-result {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.pricing-debug-result strong {
    font-size: 18px;
}

.pricing-debug-result span {
    font-size: 12px;
    font-weight: 800;
}

.vehicle-pricing-shell {
    background: #fff;
    border: 1px solid #d7e2ee;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.vehicle-pricing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
}

.vehicle-type-panel,
.vehicle-editor-panel {
    min-width: 0;
}

.vehicle-editor-panel {
    overflow: hidden;
}

.vehicle-type-panel {
    border: 1px solid #d7e2ee;
    background: #f8fbfe;
}

.mini-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #d7e2ee;
}

.mini-section-title strong {
    color: #0f172a;
    font-size: 13px;
}

.mini-section-title span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.vehicle-type-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    max-height: none;
    overflow: auto;
}

.vehicle-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    color: #172033;
    text-decoration: none;
    border-right: 1px solid #e4edf6;
    border-bottom: 0;
}

.vehicle-type-row:last-child {
    border-right: 0;
}

.vehicle-type-row:hover,
.vehicle-type-row.is-active {
    background: #eaf8fb;
}

.vehicle-type-row strong,
.vehicle-type-row small {
    display: block;
}

.vehicle-type-row strong {
    font-size: 13px;
}

.vehicle-type-row small {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}

.vehicle-type-row em {
    min-width: 48px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #dff8ed;
    color: #047857;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    text-align: center;
}

.pricing-context-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    margin-bottom: 14px;
    border: 1px solid #d7e2ee;
    background: #f8fbfe;
}

.pricing-context-bar label,
.pricing-identity-grid label,
.adjustment-grid label {
    display: grid;
    gap: 5px;
}

.pricing-context-bar span,
.pricing-identity-grid span,
.adjustment-grid span {
    color: #102033;
    font-size: 11px;
    font-weight: 900;
}

.pricing-context-bar select,
.pricing-identity-grid input,
.pricing-identity-grid select,
.vehicle-capacity-grid input,
.adjustment-grid input,
.adjustment-grid select,
.special-price-row input,
.special-price-row select {
    width: 100%;
    min-height: 34px;
    border: 1px solid #cbd8e6;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 13px;
}

.pricing-form {
    display: grid;
    gap: 14px;
}

.vehicle-identity-card,
.vehicle-feature-card,
.vehicle-included-card,
.pricing-matrix-card,
.special-area-card,
.special-price-card,
.adjustment-card {
    margin: 0;
}

.vehicle-identity-card {
    order: 1;
}

.vehicle-feature-card {
    order: 2;
}

.vehicle-included-card {
    order: 3;
}

.special-area-card {
    order: 4;
}

.pricing-matrix-card {
    order: 5;
}

.pricing-bottom-grid {
    order: 6;
}

.pricing-identity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.vehicle-capacity-grid {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(220px, 260px);
    gap: 12px;
}

.vehicle-capacity-grid label {
    display: grid;
    gap: 5px;
}

.vehicle-capacity-grid span {
    color: #102033;
    font-size: 11px;
    font-weight: 900;
}

.baggage-input {
    grid-template-columns: minmax(80px, 1fr) 58px;
}

.vehicle-feature-checks {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 8px 24px;
    padding: 10px;
}

.vehicle-feature-checks label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.vehicle-feature-checks input {
    width: 18px;
    height: 18px;
    accent-color: #22c55e;
}

.pricing-note {
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    color: #075985;
    font-size: 12px;
    font-weight: 800;
}

.pricing-matrix-wrap {
    max-width: 100%;
    overflow: auto;
    border: 1px solid #d7e2ee;
}

.special-area-card {
    border-color: #b9dce7;
    background: #fbfdff;
    max-width: 100%;
    overflow-x: auto;
}

.special-area-head,
.special-area-row {
    display: grid;
    grid-template-columns: minmax(140px, .9fr) minmax(260px, 1.4fr) minmax(116px, .65fr) minmax(150px, .8fr) minmax(110px, .55fr) 84px 82px 82px;
    gap: 8px;
    align-items: stretch;
    min-width: 1040px;
}

.special-area-head {
    padding: 8px 10px;
    border: 1px solid #d7e2ee;
    background: #edf5fb;
    color: #334155;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.special-area-row {
    padding: 8px 0;
    border-bottom: 1px solid #e6eef7;
}

.special-area-row:last-child {
    border-bottom: 0;
}

.special-area-row input,
.special-area-row select,
.special-area-row textarea {
    width: 100%;
    min-height: 34px;
    border: 1px solid #cbd8e6;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 12px;
}

.special-area-row textarea {
    min-height: 34px;
    resize: vertical;
}

.pricing-matrix {
    width: max-content;
    min-width: 1380px;
    border-collapse: collapse;
    background: #fff;
}

.pricing-matrix th,
.pricing-matrix td {
    border: 1px solid #dfe8f2;
    padding: 6px;
    vertical-align: middle;
}

.pricing-matrix thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #eef5fb;
    color: #243247;
    font-size: 11px;
    font-weight: 900;
    text-align: left;
}

.pricing-matrix-fill-row th {
    top: 31px;
    background: #f8fbfe;
}

.pricing-matrix-fill-row th:first-child strong,
.pricing-matrix-fill-row th:first-child small {
    display: block;
}

.pricing-matrix-fill-row th:first-child strong {
    color: #0891b2;
    font-size: 12px;
}

.pricing-matrix-fill-row th:first-child small {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
    text-transform: none;
}

.pricing-matrix-fill-row .money-input input {
    background: #fff;
    border-color: #8bd3e1;
}

.pricing-matrix .region-name-cell {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 160px;
    min-width: 160px;
    background: #f8fbfe;
}

.region-name-cell strong,
.region-name-cell small {
    display: block;
}

.region-name-cell strong {
    color: #0f172a;
    font-size: 12px;
}

.region-name-cell small {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
}

.money-input {
    display: grid;
    grid-template-columns: minmax(64px, 1fr) 30px;
    align-items: center;
}

.money-input input {
    width: 100%;
    min-height: 30px;
    border: 1px solid #cbd8e6;
    border-radius: 4px 0 0 4px;
    padding: 6px 8px;
    text-align: right;
    font: inherit;
    font-size: 12px;
}

.money-input span {
    display: grid;
    min-height: 30px;
    place-items: center;
    border: 1px solid #cbd8e6;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    background: #edf2f7;
    color: #334155;
    font-size: 11px;
    font-weight: 900;
}

.percent-input {
    grid-template-columns: minmax(58px, 1fr) 28px;
}

.pricing-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 14px;
}

.special-price-head,
.special-price-row {
    display: grid;
    grid-template-columns: 44px minmax(130px, .8fr) minmax(110px, .7fr) minmax(150px, .8fr) minmax(220px, 1.4fr);
    gap: 8px;
    align-items: center;
}

.special-price-head {
    padding: 8px 0;
    color: #334155;
    font-size: 11px;
    font-weight: 900;
}

.special-price-row {
    padding: 6px 0;
    border-top: 1px solid #e6eef7;
}

.special-price-row > span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.adjustment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .8fr);
    gap: 10px;
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    order: 99;
    justify-content: flex-end;
    padding: 12px;
    border: 1px solid #d7e2ee;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
}

@media (max-width: 1180px) {
    .pricing-zone-grid {
        grid-template-columns: 1fr;
    }

    .pricing-bottom-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-type-list {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .pricing-identity-grid,
    .pricing-context-bar,
    .vehicle-capacity-grid,
    .vehicle-feature-checks,
    .adjustment-grid,
    .pricing-debug-form {
        grid-template-columns: 1fr 1fr;
    }

    .special-area-head {
        display: none;
    }

    .special-area-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px;
        border: 1px solid #e2ebf5;
        border-radius: 6px;
        background: #fff;
    }
}

@media (max-width: 680px) {
    .vehicle-pricing-layout {
        padding: 10px;
    }

    .vehicle-type-list {
        grid-template-columns: 1fr;
    }

    .vehicle-type-row {
        border-right: 0;
        border-bottom: 1px solid #e4edf6;
    }

    .vehicle-capacity-grid,
    .vehicle-feature-checks {
        grid-template-columns: 1fr;
    }

    .pricing-identity-grid,
    .pricing-context-bar,
    .adjustment-grid,
    .pricing-debug-form,
    .special-price-head,
    .special-price-row {
        grid-template-columns: 1fr;
    }
}

/* Web & Partner approval table: keep the wide AYT-style grid inside the card. */
.panel-page .web-partner-reference-screen {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.panel-page .web-partner-reference-screen .ayt-table-toolbar {
    min-width: 0;
    max-width: 100%;
}

.panel-page .web-partner-table-wrap {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
}

.panel-page .web-partner-table {
    width: max-content;
    min-width: 1460px;
    table-layout: fixed;
}

.panel-page .web-partner-table th,
.panel-page .web-partner-table td {
    min-width: 0;
    padding: 10px 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.35;
}

.panel-page .web-partner-table th:nth-child(1),
.panel-page .web-partner-table td:nth-child(1) {
    width: 50px;
}

.panel-page .web-partner-table th:nth-child(2),
.panel-page .web-partner-table td:nth-child(2) {
    width: 90px;
}

.panel-page .web-partner-table th:nth-child(3),
.panel-page .web-partner-table td:nth-child(3) {
    width: 130px;
}

.panel-page .web-partner-table th:nth-child(4),
.panel-page .web-partner-table td:nth-child(4) {
    width: 220px;
}

.panel-page .web-partner-table th:nth-child(5),
.panel-page .web-partner-table td:nth-child(5) {
    width: 82px;
    text-align: center;
}

.panel-page .web-partner-table th:nth-child(6),
.panel-page .web-partner-table td:nth-child(6) {
    width: 68px;
}

.panel-page .web-partner-table th:nth-child(7),
.panel-page .web-partner-table td:nth-child(7) {
    width: 94px;
}

.panel-page .web-partner-table th:nth-child(8),
.panel-page .web-partner-table td:nth-child(8),
.panel-page .web-partner-table th:nth-child(9),
.panel-page .web-partner-table td:nth-child(9),
.panel-page .web-partner-table th:nth-child(10),
.panel-page .web-partner-table td:nth-child(10) {
    width: 92px;
}

.panel-page .web-partner-table th:nth-child(11),
.panel-page .web-partner-table td:nth-child(11),
.panel-page .web-partner-table th:nth-child(12),
.panel-page .web-partner-table td:nth-child(12) {
    width: 76px;
}

.panel-page .web-partner-table th:nth-child(13),
.panel-page .web-partner-table td:nth-child(13),
.panel-page .web-partner-table th:nth-child(14),
.panel-page .web-partner-table td:nth-child(14),
.panel-page .web-partner-table th:nth-child(15),
.panel-page .web-partner-table td:nth-child(15) {
    width: 118px;
}

.panel-page .web-partner-table th:last-child,
.panel-page .web-partner-table td:last-child {
    position: sticky;
    right: 0;
    z-index: 4;
    width: 120px;
    background: #ffffff;
    box-shadow: -10px 0 18px rgba(15, 23, 42, .08);
}

.panel-page .web-partner-table th:last-child {
    z-index: 6;
    background: #eef4f8;
}

.panel-page .web-partner-table tr:nth-child(even) td:last-child {
    background: #fbfdff;
}

.panel-page .web-partner-table .action-stack {
    display: grid;
    min-width: 104px;
    gap: 5px;
    justify-items: stretch;
}

.panel-page .web-partner-table .action-stack form {
    margin: 0;
}

.panel-page .web-partner-table .approval-action,
.panel-page .web-partner-table .mini-action {
    width: 100%;
    min-width: 0 !important;
    justify-content: center;
    padding-inline: 7px !important;
    font-size: 10.5px !important;
}

.panel-page .web-partner-table td[data-label="Alış/Varış Noktası"] small {
    display: block;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 1180px) {
    .panel-page .web-partner-table {
        min-width: 1360px;
    }
}
