/* The shift terminal uses straight edges throughout. Only event markers are round. */
:root {
  --side: 194px;
  --chat: clamp(245px, 20vw, 320px);
  --gutter: clamp(17px, 2.1vw, 38px);
  --line: #d7dadd;
  --ink: #182126;
}
*, *::before, *::after {
  border-radius: 0 !important;
  box-shadow: none !important;
}
body { color: var(--ink); }
.sidebar { background: #f5f6f6; }
.sidebar .brand img { filter: brightness(0); }
.sidenav a { font-size: .81rem; }
.sidenav a[aria-current=page] { background: #242c2f; color: white; }
.sidenav a[aria-current=page] svg { color: white; }
.sidenav a:hover:not([aria-current]) { background: #e6e9e8; }
.navgroup { margin-top: 6px; }
.utility { height: 52px; }
.breadcrumbs a { color: #515b63; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.badge { background: #eceeef; color: #485059; font-size: .68rem; padding: 3px 7px; }
.badge i { width: 4px; height: 4px; }
.badge.amber { background: #fff0cd; color: #80500a; }
.badge.blue { background: #e6effb; color: #204f8b; }
.account-layout { display: grid; grid-template-columns: minmax(0,1fr) var(--chat); }
.account-layout main { margin: 0; padding: 0 var(--gutter) 70px; min-width: 0; max-width: none; }
.pagehead { padding: 24px 0 18px; }
.pagehead h1 { font-weight: 680; }
.fleet-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; border-bottom: 1px solid #aab0b4; }
.fleet-tabs { display: flex; gap: 17px; align-self: stretch; }
.fleet-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 9px 1px; font-size: .78rem; color: #626b71; }
.fleet-tabs button[aria-pressed=true] { color: #161c20; border-bottom-color: #171f21; }
.fleet-tabs b { font: .65rem var(--mono); color: #485258; padding: 1px 4px; background: #ecefee; }
.fleet-search { display: flex; flex-direction: row; align-items: center; gap: 6px; color: #697278; }
.fleet-search input { border: 0; padding: 6px 1px; max-width: 157px; font-size: .8rem; background: transparent; }
#deliverygrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 16px; }
.delivery-card { border: 1px solid #c7cdcf; min-width: 0; background: #fff; }
.delivery-card:focus-within { border-color: #5c6f7e; }
.delivery-card > header { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 14px 0; background: #f0f2f1; }
.delivery-card > header > a { color: #151c21; font-size: 1.09rem; font-weight: 650; letter-spacing: -.035em; text-decoration: none; }
.delivery-card > header > a:hover { text-decoration: underline; }
.delivery-photo { height: clamp(95px,8.6vw,145px); background: #f0f2f1; padding: 3px 15px; display: block; }
.delivery-photo img { display: block; height: 100%; width: 100%; object-fit: contain; }
.delivery-model { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 14px 10px; border-bottom: 1px solid var(--line); background: #f0f2f1; }
.delivery-model > b { font-size: .71rem; font-weight: 540; color: #485158; }
.delivery-info { padding: 11px 14px 12px; }
.delivery-info .cargo { display: block; font-size: .91rem; line-height: 1.3; font-weight: 610; letter-spacing: -.012em; overflow-wrap: anywhere; }
.delivery-route { font-size: .74rem; color: #586168; display: block; margin-top: 3px; }
.delivery-route i { font-style: normal; color: #7a8389; padding: 0 1px; }
.delivery-foot { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: 11px; }
.delivery-foot small { display: block; color: #616b70; font-size: .67rem; }
.delivery-foot b { font-size: .86rem; font-weight: 570; }
.delivery-foot a { font-size: .74rem; padding: 6px 9px; color: var(--ink); text-decoration: none; border: 1px solid #aeb6ba; font-weight: 560; white-space: nowrap; }
.delivery-foot a:hover { background: #222b30; border-color: #222b30; color: white; }
.directory #query { margin: 12px 0; }
.account-content > .panel:not(.trip-sheet), .account-content .twopanels > .panel { border-top: 1px solid #606a70; }
.account-content > .panel + .panel, .account-content > .panel + .twopanels { margin-top: 22px; }
.account-content > .panel > .pad { padding: 12px 0; }
.account-content .twopanels { grid-template-columns: 1fr; }
.account-content .twopanels .paneltitle { border-bottom: 1px solid var(--line); padding-top: 13px; }
.video-note { display: flex; width: 100%; justify-content: start; align-items: center; text-align: left; padding: 7px 12px 7px 7px; gap: 11px; border: 1px solid #c8cfd1; border-left: 3px solid #39464f; margin-bottom: 14px; background: #fafbfa; }
.video-thumb { width: 62px; height: 36px; position: relative; background: #eef0ee; display: grid; place-items: center; flex-shrink: 0; }
.video-thumb img { width: 100%; height: 100%; object-fit: contain; }
.video-thumb > b { position: absolute; bottom: 1px; right: 1px; display: flex; color: white; background: #1c252b; padding: 2px; }
.video-label small,.video-label strong { display: block; }
.video-label small { color: #616b72; font-size: .66rem; font-weight: 430; margin-bottom: 2px; }
.video-label strong { font-size: .84rem; font-weight: 580; }
.video-note > svg { margin-left: auto; }
.notice-player { display: block; width: 100%; max-height: 70dvh; background: #111; }
.trip-sheet { border-color: #bbc2c5; }
.trip-sheet .vehicle-studio { padding: 16px 20px 12px; min-height: 0; }
.trip-sheet .truckshot { height: clamp(145px,15vw,225px); }
.trip-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; border-top: 1px solid var(--line); padding: 2px 16px; }
.trip-facts > div { display: grid; grid-template-columns: minmax(80px,.7fr) minmax(0,1.2fr); gap: 8px; padding: 8px 0; align-items: baseline; }
.trip-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.trip-facts dt { font-size: .73rem; }
.trip-facts dd { font-size: .8rem; font-weight: 540; }
.ledger { margin: 21px 0 0; }
.ledger > h2 { padding-bottom: 10px; border-bottom: 1px solid #aab3b7; }
.ledger ol { list-style: none; padding: 0; margin: 0; }
.ledger li { position: relative; padding-left: 26px; }
.ledger li::before { content: ''; position: absolute; top: 0; bottom: 0; left: 6px; width: 1px; background: #aab2b7; }
.ledger li:first-child::before { top: 18px; }
.ledger li:last-child::before { bottom: auto; height: 18px; }
.stagepoint { display: grid; place-items: center; position: absolute; z-index: 1; top: 12px; left: 0; width: 13px; height: 13px; border: 1px solid #acb5ba; background: white; border-radius: 50% !important; }
.done .stagepoint { color: white; background: #2a393f; border-color: #2a393f; }
.current .stagepoint { border: 3px solid #2562ad; }
.stagehead { width: 100%; border: 0; border-bottom: 1px solid var(--line); justify-content: start; padding: 8px 0; gap: 10px; background: transparent; text-align: left; }
.stagehead strong { font-size: .87rem; font-weight: 570; }
.stagehead span { color: #616b72; font-size: .73rem; font-weight: 400; margin-left: auto; }
.stagehead svg { color: #737e84; }
.stagehead[aria-expanded=true] svg { transform: rotate(180deg); }
.current .stagehead span { color: #245795; }
.stage-detail { padding: 11px 4px 16px 0; }
.stage-detail p { font-size: .82rem; }
.stage-detail p + button,.stage-detail p + a,.stage-detail p + details,.stage-detail .access > p + form { margin-top: 10px; }
.stage-detail summary { cursor: pointer; font-size: .81rem; }
.stage-detail details > form { padding-top: 12px; }
.shift-chat { position: sticky; top: 0; height: calc(100dvh - 33px); max-height: calc(100dvh - 52px - 33px); align-self: start; border-left: 1px solid #bdc5c8; display: flex; flex-direction: column; min-width: 0; background: #fafbfa; }
.chat-title { display: flex; align-items: center; gap: 9px; padding: 18px 15px 8px; }
.chat-title h2 { font-size: 1.025rem; }
.chat-title > svg { color: #35464f; }
.chat-expand { display: none; margin-left: auto; }
.channel-status { padding: 0 15px 13px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 11px; font-size: .68rem; color: #657078; }
.channel-status .presence { font-size: inherit; color: #28704e; }
#messages { padding: 7px 13px 12px; max-height: none; min-height: 0; overflow-y: auto; flex: 1; }
.chat-entry { display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 8px; padding: 11px 0; align-items: start; }
.sender-icon { height: 25px; width: 25px; display: grid; place-content: center; background: #e4e9e7; font: 550 .62rem var(--mono); color: #475652; border: 1px solid #d1d9d6; }
.chat-entry.mine .sender-icon { color: #1d4771; background: #e2edf5; border-color: #c8d9e6; }
.chat-entry header { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; }
.chat-entry header strong { font-size: .76rem; font-weight: 620; }
.chat-entry header time { font-size: .58rem; color: #647078; }
.chat-entry p { margin: 4px 0 0; font-size: .79rem; color: #354047; line-height: 1.5; overflow-wrap: anywhere; }
.chat-compose { margin-top: auto; padding: 11px 12px; border-top: 1px solid var(--line); }
#chatform { display: flex; margin: 0; gap: 0; }
#chatform input { border: 1px solid #acb6bb; border-right: 0; padding: 8px; font-size: .78rem; }
#chatform button { min-height: 33px; width: 34px; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dock { z-index: 4; }
main.login-screen { display: grid; place-items: center; margin: 0; min-height: 100dvh; padding: 30px; max-width: none; background: #fff; }
.login-box { width: min(100%,320px); }
.fox-brand { width: min(90%,240px); max-height: 132px; display: block; margin: 0 auto 36px; }
.login-box .form { gap: 18px; }
.login-box input { padding: 11px; }
.login-box .primary { width: 100%; min-height: 42px; margin-top: 3px; }
@media(min-width:1500px) {
  #deliverygrid { grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); }
  .delivery-photo { height: 125px; }
}
@media(max-width:1160px) and (min-width:741px) {
  :root { --side: 57px; --gutter: 15px; --chat: 229px; }
  .sidebar { padding: 0 6px; }
  .sidebar>.brand,.sidenav a,.sideuser { justify-content: center; }
  .sidebar .brand strong,.sidebar .brand>span,.navgroup,.sidenav a span,.sidestatus,.sideuser>span:nth-child(2),.sideuser>svg { display: none; }
  .sideuser { padding-inline: 0; }
  .sidenav { gap: 5px; margin-top: 21px; }
  .sidenav a:nth-of-type(4) { margin-top: 0; }
  .delivery-foot { gap: 4px; }
  #deliverygrid { gap: 11px; }
}
@media(max-width:900px) and (min-width:621px) {
  #deliverygrid { grid-template-columns: 1fr; }
  .delivery-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .delivery-card > header { grid-column: 1/-1; background: white; padding: 9px 10px; border-bottom: 1px solid #d6dbdc; }
  .delivery-photo { height: 86px; padding: 5px 8px; }
  .delivery-model { grid-column: 1; border-bottom: 0; padding: 4px 9px 9px; flex-wrap: wrap; }
  .delivery-info { grid-column: 2; grid-row: 2/4; padding: 8px 10px; border-left: 1px solid var(--line); }
  .delivery-foot { flex-wrap: wrap; margin-top: 5px; }
  .fleet-toolbar { align-items: start; flex-wrap: wrap; }
}
@media(max-width:740px) {
  :root { --side: 0px; --chat: 205px; --gutter: 12px; }
  .utility { height: 45px; }
  .pagehead { padding: 17px 0 13px; }
  .shift-chat { max-height: calc(100dvh - 45px - 33px); }
  .trip-facts { grid-template-columns: 1fr; }
  .trip-facts > div { border-bottom: 1px solid var(--line); }
  .trip-facts > div:last-child { border-bottom: 0; }
}
@media(max-width:620px) {
  .account-layout { display: block; }
  .account-layout main { padding-bottom: 152px; }
  #deliverygrid { gap: 11px; }
  .fleet-tabs { gap: 9px; }
  .fleet-search input { max-width: 112px; }
  .delivery-card > header { padding: 9px 8px 0; flex-wrap: wrap; }
  .delivery-card > header > a { font-size: .91rem; }
  .delivery-photo { height: 77px; padding: 4px; }
  .delivery-model { padding: 0 8px 7px; flex-wrap: wrap; gap: 4px; }
  .delivery-info { padding: 8px; }
  .delivery-info .cargo { font-size: .81rem; }
  .delivery-foot { align-items: start; flex-direction: column; margin-top: 6px; gap: 7px; }
  .delivery-foot a { width: 100%; text-align: center; }
  .delivery-route { font-size: .68rem; }
  .trip-sheet .truckshot { height: clamp(108px,29vw,165px); }
  .shift-chat { position: fixed; z-index: 4; top: auto; right: 0; bottom: 34px; height: 95px; max-height: 68dvh; width: min(365px,100%); border: 1px solid #88959b; background: #fff; }
  .chat-title { padding: 2px 8px; min-height: 26px; gap: 7px; border-bottom: 1px solid var(--line); background: #edf0ef; }
  .chat-title > svg { width: 14px; height: 14px; }
  .chat-title h2 { font-size: .75rem; }
  .chat-expand { display: inline-flex; width: 24px; min-height: 23px; height: 23px; }
  .channel-status { display: none; }
  #messages { padding: 0 8px; }
  .shift-chat:not(.expanded) .chat-entry:not(:last-child) { display: none; }
  .shift-chat:not(.expanded) .chat-entry { display: flex; padding: 4px 0; }
  .shift-chat:not(.expanded) .sender-icon,.shift-chat:not(.expanded) time { display: none; }
  .shift-chat:not(.expanded) .chat-entry>div { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .69rem; }
  .shift-chat:not(.expanded) .chat-entry header,.shift-chat:not(.expanded) .chat-entry p { display: inline; font-size: .69rem; line-height: 1.2; }
  .shift-chat:not(.expanded) .chat-entry header strong { font-size: inherit; margin-right: 5px; }
  .chat-compose { padding: 4px 6px; }
  #chatform input { padding: 5px 7px; height: 32px; }
  #chatform button { min-height: 32px; }
  .shift-chat.expanded { height: min(430px,64dvh); }
  .shift-chat.expanded .channel-status { display: flex; padding: 5px 8px; }
  .shift-chat.expanded #messages { padding: 4px 9px; }
  #toast { bottom: 134px; }
}
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.truckshot .fleet-front { width: 100%; height: 100%; min-height: 0; }
/* Traktolis fleet livery, applied to operator surfaces. */
:root {
  --navy: #132d47;
  --navy-raised: #203f5c;
  --orange: #ed812e;
  --orange-ink: #933f0c;
  --text: #142c40;
  --ink: #152e43;
  --blue: #24557b;
  --muted: #5b6973;
}
.sidebar { background: var(--navy); border-right-color: #183854; color: white; }
.sidebar > .company-brand { min-height: 73px; padding: 0 4px; gap: 7px; }
.company-brand .company-type { display: grid; gap: 2px; background: transparent; padding: 0; border: 0; margin: 0; }
.sidebar > .brand img { width: 32px; height: 34px; filter: none; margin: 0; }
.sidebar > .brand .company-type strong { font: 650 1.01rem/1.1 Inter,sans-serif; letter-spacing: .012em; color: #fff; }
.company-brand .company-type small { font: 400 .63rem var(--mono); color: #bbc8d1; white-space: nowrap; }
.sidebar .navgroup { color: #b2c3d1; }
.sidebar .sidenav a { color: #e4ebf0; border-left: 3px solid transparent; padding-left: 8px; }
.sidebar .sidenav a svg { color: #b7c8d5; }
.sidebar .sidenav a[aria-current=page] { color: white; border-left-color: var(--orange); background: var(--navy-raised); }
.sidebar .sidenav a[aria-current=page] svg { color: #ffa45c; }
.sidebar .sidenav a:hover { background: #27455f; }
.sidebar .sidestatus,.sidebar .sideuser,.sidebar .sideuser strong { color: #edf3f7; }
.sidebar .sideuser { border-color: #365067; }
.sidebar .sideuser:hover { background: var(--navy-raised); }
.sidebar .sideuser small,.sidebar .sidestatus small { color: #bbccd6; }
.sidebar .avatar { background: #29465f; color: #fff; }
.utility { border-top: 3px solid var(--navy); }
button.primary,.button.primary { color: #162636; background: var(--orange); border-color: #d97427; font-weight: 650; }
button.primary:hover,.button.primary:hover { background: #ffa04f; border-color: #d97525; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline-color: #b64e0d; }
.fleet-tabs button[aria-pressed=true] { color: var(--navy); border-bottom-color: var(--orange); }
.delivery-card { border-color: #c8d0d5; }
.delivery-card > header { background: #fff; padding: 9px 13px; }
.delivery-card > header > a { color: var(--navy); }
.delivery-photo { padding: 0; height: auto; aspect-ratio: 2.32; background: #e5e8e8; overflow: hidden; }
.delivery-photo .yard-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.delivery-model { background: #f2f4f4; padding: 7px 13px; }
.delivery-model > b { color: var(--navy); font-weight: 655; font-size: .85rem; }
.delivery-foot a { color: var(--navy); border-color: #8fa1ad; }
.delivery-foot a:hover { color: white; background: var(--navy); border-color: var(--navy); }
.badge.amber { color: #82410d; background: #fff0df; }
.badge.blue { color: #214d71; background: #e4edf5; }
.trip-sheet .vehicle-studio { background: #f3f5f5; display: block; padding: 0; }
.studio-head { background: white; padding: 12px 16px; }
.angles button[aria-pressed=true] { background: var(--navy); color: white; }
.vehicle-frame { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #eff1f2; overflow: hidden; cursor: zoom-in; }
.vehicle-frame img { display: block; width: 100%; height: clamp(190px,22vw,375px); }
.vehicle-frame.is-photo img { object-fit: cover; object-position: 50% 55%; }
.vehicle-frame.is-render img { object-fit: contain; padding: 15px; }
.vehicle-frame > span { position: absolute; right: 9px; bottom: 9px; background: #102a40; color: white; padding: 4px; display: flex; }
.studio-foot { padding: 8px 15px; margin: 0; }
.enlarged-vehicle img { display: block; width: 100%; max-height: 73dvh; object-fit: contain; }
.video-note { border-left-color: var(--orange); }
.video-thumb .yard-image { object-fit: cover; }
.ledger .current .stagepoint { border-color: #c9611b; }
.ledger .current .stagehead span { color: var(--orange-ink); }
.ledger .done .stagepoint { background: var(--navy); border-color: var(--navy); }
.chat-title h2,.chat-title > svg { color: var(--navy); }
.chat-entry:nth-child(3n+1) .sender-icon { color: #6e3a1c; background: #f7e6d9; border-color: #e7c7ae; }
.chat-entry:nth-child(3n+2) .sender-icon { color: #25435c; background: #e5edf2; }
#chatform .primary { background: var(--navy); color: white; border-color: var(--navy); }
#chatform .primary:hover { background: #2a4f6d; }
.login-box label { color: var(--navy); }
.login-box .primary { color: white; border-color: var(--navy); background: var(--navy); }
.login-box .primary:hover { background: var(--navy-raised); }
@media(max-width:1160px) and (min-width:741px) {
  .sidebar > .brand .company-type { display: none; }
  .sidebar > .brand img { width: 30px; }
  .sidebar .sidenav a { padding: 8px 5px 8px 2px; }
}
@media(max-width:900px) and (min-width:621px) {
  .delivery-photo { height: 103px; aspect-ratio: auto; }
  .delivery-model { padding: 5px 8px; }
  .delivery-card > header { padding: 8px 10px; }
}
@media(max-width:620px) {
  .delivery-photo { aspect-ratio: 1.85; }
  .delivery-model { padding: 5px 8px; }
  .delivery-card > header { padding: 7px; }
  .delivery-model > b { font-size: .72rem; }
  .vehicle-frame img { height: clamp(150px,47vw,265px); }
  .chat-title { background: var(--navy); }
  .chat-title h2,.chat-title > svg,.chat-title .iconbtn { color: #fff; }
  .chat-title .iconbtn:hover { background: var(--navy-raised); }
}

.company-type .brand-type { width: 110px; height: 15px; color: white; }
.login-box .fox-brand { display: block; color: #142c43; width: min(235px, 76%); height: auto; margin: 0 auto 44px; }
.delivery-photo { aspect-ratio: 1.88; }
.delivery-photo .yard-image, .vehicle-frame.is-photo img { object-position: 50% 63%; }
.vehicle-frame.is-photo { aspect-ratio: 1.78; }
.vehicle-frame.is-photo img { height: 100%; }

/* Fleet catalogue photography is displayed uncropped at every breakpoint. */
.delivery-photo, .vehicle-frame, .enlarged-vehicle { background: #fff; }
.delivery-photo { display: flex; align-items: center; justify-content: center; height: clamp(126px,11.5vw,191px); aspect-ratio: auto; padding: 17px 13px 12px; }
.delivery-photo .fleet-profile, .vehicle-frame .fleet-profile, .video-thumb .fleet-profile { width: 100%; height: 100%; object-fit: contain; }
.vehicle-frame { height: clamp(178px,19vw,315px); padding: 20px 16px; }
.enlarged-vehicle { padding: 24px 12px; }
.video-thumb { background: white; }
.video-thumb .fleet-profile { padding: 3px; }
@media(max-width:900px) and (min-width:621px){.delivery-photo{height:118px}}
@media(max-width:620px){.delivery-photo{height:133px;padding:13px 10px}.vehicle-frame{height:155px;padding:13px 8px}}

.wh-paper header { padding-bottom:13px; border-bottom:2px solid var(--navy); }.wh-fields { margin:0; display:block; }.wh-fields div { display:grid; grid-template-columns:minmax(110px,.7fr) 1fr; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }.wh-fields dt,.wh-fields dd { margin:0; }.wh-trip-link { margin:12px 0; }
body[data-page=warehouse] .account-content { container-type:inline-size; }
.wh-paper header { display:flex;justify-content:space-between;align-items:center;gap:10px; }
.wh-receipt h2 { font-size:1.16rem;margin:0; }
.wh-docs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
button.wh-doc { display:grid; grid-template-columns:48px 1fr; gap:12px 10px; align-items:center; padding:14px; background:white;text-align:left;color:var(--navy);border:1px solid #bac8d2; }.wh-doc:hover {background:#f3f6f7;border-color:var(--navy);}
.wh-doc-caption strong,.wh-doc-caption small { display:block; }.wh-doc-caption strong { font-size:.91rem; line-height:1.2; }.wh-doc-caption small { font:.69rem var(--mono);color:#526777;margin-top:5px; }.wh-doc>b { grid-column:1/-1; border-top:1px solid #dde3e7; padding-top:8px; font-size:.74rem; font-weight:540; }
.wh-sheet-icon { display:grid; align-content:start; width:45px;height:55px;background:white;border:1px solid #bfc9d1; border-top:4px solid #25455c;padding:5px; gap:3px; }.wh-sheet-icon b {font:700 7px Inter,sans-serif;}.wh-sheet-icon i { height:1px; background:#a1b3bc; }.wh-sheet-icon i:nth-last-child(2) {width:70%}.wh-sheet-icon small { font:6px var(--mono); color:#566c7b; }.wh-sheet-packing{border-top-color:#d77a30}.wh-sheet-receipt{border-top-color:#587482}
.wh-receipt { margin:22px 0; padding:16px 18px; border-left:3px solid var(--orange); background:#f5f7f8; }.wh-receipt p,.wh-receipt .access { margin:9px 0; }.wh-diag { padding:12px 0;border-top:1px solid var(--line); }.wh-diag summary { cursor:pointer;font-size:.82rem;color:#475966; }
@container(max-width:740px) {
 .wh-docs { grid-template-columns:1fr; }
 button.wh-doc { grid-template-columns:45px minmax(0,1fr) auto; }
 .wh-doc>b { grid-column:auto;border:0;padding:0; }
}
.receipt-inbox h2,.doc-journal h2,.packet-summary h2 { font-size:1.17rem; letter-spacing:-.025em; margin:0; }
.receipt-inbox h2 { margin-bottom:11px; }.receipt-inbox h2 span { margin-left:4px;color:#7c3c12;font-size:.86rem; background:#fbebdc; padding:2px 6px; }
.receipt-task,.packet-summary { display:flex; align-items:center; gap:16px; padding:18px; }
.receipt-task { border:1px solid #d8c4b5; border-left:3px solid var(--orange); background:#fff9f3; }
.receipt-task+.receipt-task { margin-top:7px; }.task-symbol { color:#95501f; }
.receipt-task h3 { font-size:1.1rem; margin:4px 0; }.receipt-task small,.journal-doc small { font:.74rem var(--mono); color:#51606b; }
.receipt-task p,.packet-summary p { font-size:.84rem; margin:5px 0 0; color:#485968; }.receipt-task button,.packet-summary a { margin-left:auto; flex-shrink:0; }
.queue-empty { border-block:1px solid var(--line);padding:14px 0; }
.doc-journal { margin-top:29px; }.doc-journal header { display:flex; justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px; }.doc-journal label {display:flex;align-items:center;gap:7px;font-size:.83rem}.doc-journal select {max-width:240px;width:auto; min-height:36px;padding:5px 8px;}
.doc-journal table { width:100%; min-width:0; border-collapse:collapse; }
.doc-journal th {text-align:left;background:#f0f3f5;font-weight:550;color:#344b5d;padding:9px 12px;white-space:normal;}
.doc-journal td {padding:7px 12px;font-size:.84rem;border-bottom:1px solid var(--line);white-space:normal;}.doc-journal td a,.packet-summary a {color:var(--navy);text-underline-offset:3px;}
.doc-journal .journal-doc { display:flex; align-items:center;gap:10px;padding:3px 0;border:none;background:transparent;text-align:left;color:var(--navy); }
.journal-doc:hover strong {text-decoration:underline}.journal-doc strong,.journal-doc small {display:block}.journal-doc small {margin-top:3px}.journal-doc strong {font-size:.9rem;}
.packet-summary {background:#f2f5f6;border-top:2px solid var(--navy); margin-bottom:17px;}.packet-summary a {font-size:.85rem;}.journal-action { margin-top:14px; }
@container(max-width:540px){.receipt-task,.packet-summary {flex-wrap:wrap;padding:12px;gap:6px 10px}.task-symbol {display:none}.receipt-task button,.receipt-task .button,.packet-summary a {margin-left:0}.receipt-task>div,.packet-summary>div{width:100%}.doc-journal header{align-items:start;flex-direction:column}.doc-journal select{max-width:210px}.doc-journal td,.doc-journal th{padding:8px 4px;font-size:.75rem}.journal-doc svg{display:none}.doc-journal .journal-doc{padding:4px 0}.journal-doc strong{font-size:.82rem}}

[hidden] { display: none !important; }
.sidenav a .navlock { margin-left: auto; display: inline-flex; color: #9eb3c3; }
.sidenav a[aria-current=page] .navlock svg { color: #ffd0aa; }
.utilright { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.utilhandover { min-height: 30px; padding: 4px 10px; font-size: .75rem; font-weight: 560; gap: 6px; border-color: #9baab6; color: var(--navy); background: #fff; white-space: nowrap; }
.utilhandover:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.login-links { margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .78rem; }
.login-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-weight: 510; }
.login-links a:hover { text-decoration: underline; }
.login-links a svg { color: #526777; }
.login-tg { display: flex; align-items: center; }
.channel-status .presence.away { color: var(--orange-ink); font-weight: 560; }
.checkrow { display: flex !important; align-items: center; gap: 9px; font-size: .79rem; font-weight: 480; color: var(--muted); }
.checkrow input[type="checkbox"] { width: 15px; height: 15px; padding: 0; margin: 0; flex-shrink: 0; accent-color: var(--navy); }
.checkrow code { display: inline; padding: 2px 5px; font-size: .72rem; }
.policy-masked { color: #7d8994; font-size: .74rem; }
.receipt-task .button { margin-left: auto; flex-shrink: 0; }
#handoverstatus { margin-top: 12px; }
@media(max-width:1160px) and (min-width:741px) {
  .sidenav a .navlock { display: none; }
}
@media(max-width:540px) {
  .utilright { gap: 8px; }
  .utilhandover span { display: none; }
  .utilhandover { padding: 4px 7px; }
}

/* Видеоконтур NVR: монитор диспетчерской */
.cam-grid { display:grid; grid-template-columns:1fr 1fr; gap:0.8rem; margin-top:0.8rem; }
@media (max-width:760px){ .cam-grid { grid-template-columns:1fr; } }
.cam-feed { border:1px solid #d4dde4; border-radius:9px; overflow:hidden; background:#0b0f14; }
.cam-head { display:flex; justify-content:space-between; align-items:center; padding:0.45rem 0.7rem; background:#111a24; color:#dbe7f0; font-size:0.7rem; }
.cam-head .live { color:#ff5f56; }
.cam-head .loop { color:#f5b942; }
.cam-frame { min-height:110px; display:flex; align-items:center; justify-content:center; text-align:center; padding:0.8rem; font-size:0.78rem; }
.cam-frame.live { background:repeating-linear-gradient(45deg,#0b1a10,#0b1a10 12px,#0d2216 12px,#0d2216 24px); color:#7ee2a8; }
.cam-frame.loop { background:repeating-linear-gradient(45deg,#1a1408,#1a1408 12px,#241c0c 12px,#241c0c 24px); color:#f5b942; }
.cam-head .off { color:#94a3b8; }
.cam-frame.off { background:repeating-linear-gradient(90deg,#111,#111 14px,#1c1c1c 14px,#1c1c1c 28px); color:#94a3b8; }

/* Страница победы: именной сертификат A4, разбор 5 уязвимостей и курс «Пентест WEB» */
.cert-form { display: grid; gap: 12px; }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cert-preview-wrap { background: #18222c; padding: 14px; border: 1px solid #2b3947; }
#cert-svg { display: block; width: 100%; max-width: 1040px; height: auto; margin: 0 auto; border: 1px solid #334352; }

.bug-cards { display: grid; gap: 14px; }
.bug-card { border: 1px solid var(--line); border-left: 4px solid #132d47; background: #fbfcfd; padding: 15px 17px; display: grid; gap: 10px; }
.bug-card header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 14px; padding-bottom: 8px; border-bottom: 1px solid #e6eaee; }
.bug-card h3 { margin: 0; font-size: .98rem; color: #132d47; }
.bug-card header code { background: #eef2f6; color: #1d3b58; padding: 3px 8px; font-size: .75rem; word-break: break-all; }
.bug-card p { margin: 0; font-size: .88rem; line-height: 1.52; color: #22303c; }
.bug-bounty { background: #fff8eb; border-left: 3px solid #e08b2c; padding: 9px 12px; font-size: .84rem; line-height: 1.48; color: #3d2c14; }
.bug-links { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 2px; }
.bug-links a { display: inline-flex; align-items: center; gap: 6px; font-size: .83rem; font-weight: 560; color: #164878; text-decoration: none; }
.bug-links a:hover { text-decoration: underline; color: #0d2f52; }

.course-promo { border: 2px solid #132d47; }
.course-grid { display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: start; }
.course-cover { display: block; border: 1px solid var(--line); background: #0d1721; line-height: 0; }
.course-cover img { width: 100%; height: auto; display: block; }
.course-body h3 { margin: 0; font-size: 1.08rem; color: #132d47; }
.course-body p { margin: 0; font-size: .9rem; line-height: 1.55; color: #22303c; }
.course-list { margin: 2px 0 4px; padding-left: 18px; display: grid; gap: 7px; font-size: .87rem; line-height: 1.48; color: #22303c; }
.course-cta { padding-top: 4px; }
@media (max-width: 860px) {
  .course-grid { grid-template-columns: 1fr; }
  .course-cover { max-width: 290px; }
}

@page { size: 297mm 210mm; margin: 0; }
@media print {
  body * { visibility: hidden !important; }
  #cert-print-area, #cert-print-area * { visibility: visible !important; }
  #cert-print-area { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: #0d1721 !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 99999 !important; }
  #cert-svg { width: 100% !important; height: 100% !important; max-width: none !important; border: 0 !important; }
  * { print-color-adjust: exact !important; -webkit-print-color-adjust: exact !important; }
}
