:root {
    --navy: #0a2540;
    --navy-2: #12355b;
    --accent: #0f6fde;
    --accent-2: #0f9d8c;
    --danger: #c0392b;
    --warning: #b9770e;
    --bg: #eef2f7;
    --card: #ffffff;
    --line: #d7e0ea;
    --line-soft: #e8eef5;
    --ink: #17293d;
    --muted: #6b7f95;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 24px rgba(10, 37, 64, .06);
    --mono: "Cascadia Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.45;
}

h1, h2, h3 { margin: 0; font-weight: 600; }

button, input, select, textarea { font-family: inherit; font-size: 13px; color: inherit; }

button { cursor: pointer; }

kbd {
    font-family: var(--mono);
    font-size: 10.5px;
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
}

/* ---------------- top bar ---------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 22px;
    background: linear-gradient(98deg, var(--navy), #123d67 70%, #14507f);
    color: #fff;
    box-shadow: 0 2px 10px rgba(4, 18, 32, .25);
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-link { text-decoration: none; color: inherit; }

.mainnav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 22px;
    margin-right: auto;
}

.mainnav a {
    color: #dbe8f5;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    opacity: .72;
    border: 1px solid transparent;
}

.mainnav a:hover { background: rgba(255,255,255,.09); opacity: 1; }
.mainnav a.active { background: rgba(255,255,255,.15); opacity: 1; border-color: rgba(255,255,255,.14); }

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -.5px;
}

.brand-title { font-size: 15px; font-weight: 650; letter-spacing: .2px; }
.brand-sub { font-size: 11.5px; opacity: .72; letter-spacing: .3px; text-transform: uppercase; }

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

.topbar .ghost {
    background: rgba(255,255,255,.08);
    color: #eaf2fb;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background .15s;
}

.topbar .ghost:hover { background: rgba(255,255,255,.18); }

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    padding: 4px 8px;
}

.user-chip span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; opacity: .7; }

.topbar .user-chip input,
.user-chip input {
    width: 104px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: .4px;
    outline: none;
    padding: 4px 2px;
    text-transform: uppercase;
}

.topbar .user-chip input:focus { box-shadow: none; }

/* ---------------- workspace ---------------- */

.workspace {
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr) 322px;
    gap: 16px;
    padding: 16px 20px 48px;
    align-items: start;
    max-width: 1760px;
    margin: 0 auto;
}

body.list-hidden .workspace { grid-template-columns: 178px minmax(0, 1fr); }
body.list-hidden .listpanel { display: none; }

/* ---------------- tool rail ---------------- */

.toolrail {
    position: sticky;
    top: 76px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
}

.navgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 3px;
}

.navgrid button {
    border: 1px solid var(--line);
    background: #f7fafd;
    border-radius: 7px;
    height: 30px;
    font-size: 14px;
    color: var(--navy);
}

.navgrid button:hover { background: #e9f1fb; }

.toolrail .block {
    border: 1px solid var(--line);
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    font-weight: 550;
    color: var(--ink);
    transition: background .15s, border-color .15s;
}

.toolrail .block:hover { background: #eef5fd; border-color: #bdd3ea; }

.toolrail .block.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.toolrail .block.primary:hover { background: #0b5fc0; }

.toolrail .block.accent {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.toolrail .block.accent:hover { background: #0f3560; }

.toolrail .block.subtle { color: var(--muted); }
.toolrail .block:disabled { opacity: .45; cursor: not-allowed; background: #f4f6f9; }
.toolrail .block.muted { font-size: 12px; color: var(--muted); }

.divider { height: 1px; background: var(--line-soft); margin: 3px 0; }

.rail-hint {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 10.5px;
    color: var(--muted);
    border-top: 1px dashed var(--line);
    padding-top: 8px;
}

.rail-hint b { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: #8b9db1; }
.rail-hint kbd {
    border: 1px solid var(--line);
    background: #f0f4f9;
    color: var(--navy);
    margin-right: 4px;
}

/* ---------------- sheet ---------------- */

.sheet { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.sheet-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 14px;
    box-shadow: var(--shadow);
}

.banner-left, .banner-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .9px;
    background: #fff4e2;
    color: #9a6208;
    border: 1px solid #f0d9ae;
}

.pill.original { background: #e7f7f1; color: #0b6b53; border-color: #b7e6d6; }

.muted { color: var(--muted); }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(#fbfdff, #f5f9fd);
    flex-wrap: wrap;
}

.card-head h2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
}

.card-head h2::before {
    content: "";
    display: inline-block;
    width: 3px; height: 12px;
    background: var(--accent);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: -1px;
}

.hint { font-size: 11px; color: var(--muted); }

.card-body { padding: 14px 16px; display: grid; gap: 12px 14px; }

.grid-id { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-shipment { grid-template-columns: 1.1fr 1.1fr .6fr 1.4fr 1.4fr; }
.grid-agent { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.grid-shipment .wide, .grid-agent .wide { grid-column: span 5; }
.grid-agent .wide { grid-column: span 4; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.two-col .party { padding: 0 0 10px; border-right: 1px solid var(--line-soft); }
.two-col .party:last-child { border-right: none; }
.two-col .card-head { background: transparent; border-bottom: 1px dashed var(--line); margin: 0 0 8px; padding: 10px 16px 6px; }
.two-col textarea { margin: 0 16px; width: calc(100% - 32px); }

/* ---------------- fields ---------------- */

.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.field > label, .compact-label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #71849a;
    font-weight: 650;
}

.field.inline { display: grid; grid-template-columns: minmax(88px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 8px; }
.field.inline > label { text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 500; color: #55708c; }
.field.inline.strong > label { font-weight: 700; color: var(--navy); }
.field.inline.strong input { background: #f1f7fe; font-weight: 700; }

.field.small { grid-column: span 1; }
.field.tiny { max-width: 80px; }
.field.wide { grid-column: span 2; }

.req { color: var(--danger); }

input[type=text], input:not([type]), input[type=date], input[type=number], select, textarea {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 7px 9px;
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 111, 222, .12);
}

input[readonly] { background: #f7f9fc; color: #48607a; }
input.invalid, select.invalid, textarea.invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12) !important;
}
input.locked { background: #f4f7fb; color: #5b718a; }
input.inactive { opacity: .45; }
#recordMeta.dirty { color: var(--warning); font-weight: 600; }
input.upper { text-transform: uppercase; }
input.num, input.money {
    text-align: right;
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
}
input.mark { text-align: center; font-weight: 700; color: var(--accent-2); }
textarea { resize: vertical; font-family: var(--mono); font-size: 12px; line-height: 1.5; }
select { cursor: pointer; }

.field-note { font-size: 10.5px; color: var(--muted); min-height: 13px; }
.field-note.error { color: var(--danger); font-weight: 600; }

.number-row { display: flex; gap: 8px; align-items: center; }

.number-row input {
    font-family: var(--mono);
    font-weight: 700;
    letter-spacing: .6px;
    font-size: 14.5px;
    text-transform: uppercase;
}

.airline-badge {
    flex: none;
    min-width: 44px;
    text-align: center;
    border-radius: 7px;
    padding: 5px 7px;
    background: var(--navy);
    color: #fff;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 12.5px;
}

.line-counter { margin: 4px 16px 0; font-size: 10.5px; color: var(--muted); text-align: right; }
.line-counter.ok { color: var(--accent-2); }
.line-counter.bad { color: var(--danger); }

/* ---------------- routing ---------------- */

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

.leg {
    border: 1px solid var(--line-soft);
    border-radius: 9px;
    padding: 9px 10px;
    background: #fbfdff;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.leg .field.inline { grid-template-columns: 38px minmax(0, 1fr); gap: 6px; }
.leg .field.inline > label { font-size: 11px; color: #6b7f95; }

.leg.flight-leg .field.inline {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
}

.leg.flight-leg .field.inline > label { font-size: 10px; }

.leg-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
}

.flight-summary {
    font-family: var(--mono);
    font-size: 11.5px;
    color: #45607c;
    background: #f4f8fc;
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 7px 10px;
}

.input-with-btn { display: flex; gap: 6px; }
.input-with-btn input { flex: 1; }

.icon-btn {
    border: 1px solid var(--line);
    background: #f7fafd;
    border-radius: 7px;
    padding: 5px 9px;
    font-size: 11.5px;
    color: var(--navy);
    font-weight: 600;
    white-space: nowrap;
}

.icon-btn:hover { background: #eaf2fc; border-color: #b9d2ec; }
.icon-btn.dim { background: #fff7e3; border-color: #eed9a6; }

.dimension-box {
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    background: #fbfdff;
    min-height: 34px;
    white-space: pre-wrap;
}

.dimension-preview { grid-column: span 5; }

/* ---------------- charges ---------------- */

.head-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.compact { width: auto; padding: 5px 8px; font-size: 12px; }
input.compact { width: 68px; }
select.compact { width: auto; }

.charges { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }

.charge-col {
    border: 1px solid var(--line-soft);
    border-radius: 9px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: #fbfdff;
}

.charge-col h3 {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7b8ea3;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 5px;
    margin-bottom: 2px;
}

/* ---------------- MOF ---------------- */

.mof-panel {
    background: #fffdf7;
    border: 1px solid #ecd9ab;
    border-radius: var(--radius);
    padding: 0 0 12px;
    box-shadow: var(--shadow);
}

.mof-panel .card-head { background: #fff8e9; border-color: #f0e2c2; }
.mof-rows { padding: 10px 16px; display: flex; flex-direction: column; gap: 6px; }
.mof-row { display: flex; gap: 8px; align-items: center; }
.mof-row input { max-width: 220px; font-family: var(--mono); }
.mof-panel .field-note { padding: 0 16px; }

/* ---------------- list panel ---------------- */

.listpanel {
    position: sticky;
    top: 76px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 96px);
    overflow: hidden;
}

.list-head { padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 8px; }
.list-head h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); }
.list-head input { font-size: 12px; }

.list-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px 10px;
    border-bottom: 1px solid var(--line-soft);
    flex-wrap: wrap;
}

.check { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #55708c; }
.check input { accent-color: var(--accent); }

.list-scroll { overflow: auto; flex: 1; }

.awb-list { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.awb-list th {
    position: sticky;
    top: 0;
    background: #f5f9fd;
    text-align: left;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #7b8ea3;
    padding: 6px 6px;
    border-bottom: 1px solid var(--line);
}

.awb-list td { padding: 7px 6px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.awb-list tr { cursor: pointer; }
.awb-list tbody tr:hover { background: #f2f8ff; }
.awb-list tr.active { background: #e8f2ff; box-shadow: inset 3px 0 0 var(--accent); }
.awb-list .awb-no { font-family: var(--mono); font-weight: 700; color: var(--navy); }
.awb-list .dest { font-family: var(--mono); color: #45607c; }
.awb-list td input[type=checkbox] { accent-color: var(--accent); }

.mini-pill {
    white-space: nowrap;
    font-size: 9px;
    letter-spacing: .5px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #fff4e2;
    color: #96600a;
    border: 1px solid #f0d9ae;
    display: inline-block;
}

.mini-pill.original { background: #e7f7f1; color: #0b6b53; border-color: #b7e6d6; }

.list-foot { padding: 8px 14px; font-size: 11px; border-top: 1px solid var(--line-soft); }

/* ---------------- modals ---------------- */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 23, 39, .5);
    backdrop-filter: blur(2px);
    display: grid;
    place-items: center;
    z-index: 90;
    padding: 24px;
}

.modal-backdrop[hidden] { display: none; }

.modal {
    background: #fff;
    border-radius: 14px;
    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 70px rgba(4, 20, 36, .35);
    overflow: hidden;
}

.wide-modal { width: min(880px, 100%); }

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

.modal-head h2 { font-size: 14px; color: var(--navy); }

.modal-x {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: var(--muted);
    padding: 0 4px;
}

.modal-body { padding: 16px 18px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }

.modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid var(--line-soft);
    background: #fbfdff;
}

.modal-foot .ghost, .modal-foot .primary {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    border: 1px solid var(--line);
    background: #fff;
}

.modal-foot .primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.modal-foot .primary:hover { background: #0b5fc0; }

.help-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.help-grid h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin: 4px 0 6px; }
.help-grid ol, .help-grid ul { margin: 0 0 8px; padding-left: 18px; }
.help-grid li { margin-bottom: 5px; }
.keys { list-style: none; padding-left: 0; }
.keys kbd { border: 1px solid var(--line); background: #f0f4f9; color: var(--navy); margin-right: 6px; }

.party-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.party-preview label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 650; }
.party-preview pre {
    margin: 6px 0 0;
    background: #f7fafd;
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--mono);
    font-size: 11.5px;
    white-space: pre-wrap;
    min-height: 92px;
}

.dim-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dim-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; }
.dim-table th {
    font-family: "Segoe UI", sans-serif;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #7b8ea3;
    text-align: left;
    padding: 4px 6px;
    border-bottom: 1px solid var(--line);
}
.dim-table td { padding: 3px 6px; }
.dim-table input { padding: 5px 7px; text-align: right; }
.dim-table .vol { text-align: right; color: #45607c; }
.dim-table .del {
    border: none; background: transparent; color: var(--danger); font-size: 16px; line-height: 1;
}
.dim-summary { display: flex; gap: 22px; font-size: 12px; background: #f4f8fc; border-radius: 8px; padding: 9px 12px; }
.dim-summary b { font-family: var(--mono); color: var(--navy); }

.copy-list { display: grid; grid-template-columns: 1fr 110px; gap: 6px 12px; align-items: center; }
.copy-list .copy-name { font-size: 12px; color: #3c5873; }
.copy-list input { text-align: right; font-family: var(--mono); }

.issue-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.issue-list li {
    background: #fff6f5;
    border: 1px solid #f3d3cf;
    color: #8f2a1f;
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 12.5px;
}

.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 120;
}

.toast {
    background: var(--navy);
    color: #fff;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 12.5px;
    box-shadow: 0 12px 30px rgba(4, 20, 36, .3);
    animation: toast-in .18s ease-out;
    max-width: 380px;
}

.toast.error { background: #8f2a1f; }
.toast.success { background: #0f6b53; }

@keyframes toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1400px) {
    .workspace { grid-template-columns: 168px minmax(0, 1fr); }
    .listpanel {
        position: fixed;
        right: 16px;
        top: 78px;
        width: 330px;
        z-index: 45;
        max-height: calc(100vh - 110px);
    }
    .grid-id { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .routing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .charges { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
    .workspace { grid-template-columns: 1fr; padding: 12px; }
    .toolrail { position: static; flex-direction: row; flex-wrap: wrap; }
    .toolrail .block { flex: 1 1 120px; }
    .navgrid { flex: 1 1 100%; grid-template-columns: repeat(4, 1fr); }
    .rail-hint { display: none; }
    .grid-id, .routing-grid, .grid-shipment, .grid-agent { grid-template-columns: 1fr 1fr; }
    .grid-shipment .wide, .grid-agent .wide, .dimension-preview { grid-column: span 2; }
    .two-col { grid-template-columns: 1fr; }
    .two-col .party { border-right: none; border-bottom: 1px solid var(--line-soft); }
    .charges { grid-template-columns: 1fr; }
    .help-grid, .party-form { grid-template-columns: 1fr; }
    .listpanel { width: calc(100vw - 32px); }
}

@media print {
    .topbar, .toolrail, .listpanel, .sheet-banner, .modal-backdrop, .toast-stack { display: none !important; }
    .workspace { display: block; padding: 0; }
    .card { box-shadow: none; break-inside: avoid; }
}

/* ---------------- embedded in the desktop workspace ---------------- */

html.embed .topbar { display: none !important; }
html.embed .workspace { padding-top: 10px; }
html.embed .page { padding-top: 14px; }
html.embed .invoice-editor-page .sheet-banner { top: 0; }
html.embed .listpanel { top: 8px; max-height: calc(100vh - 16px); }
html.embed .print-toolbar { display: none !important; }
html.embed .awb-sheet { margin: 10px auto; }

/* ---------------- session ---------------- */

.session-bar {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 12px;
    border: 1px solid rgba(10, 37, 64, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px rgba(10, 37, 64, .14);
    backdrop-filter: blur(8px);
}

.session-user {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.session-bar button {
    border: 0;
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.session-bar button:hover {
    background: var(--navy-2);
}
