/* AmSpec Platform v305 - final visual and responsive normalization layer. */
:root {
  --v305-ink: #101828;
  --v305-muted: #5f6b7c;
  --v305-line: #d9e0e9;
  --v305-soft: #f4f7fa;
  --v305-panel: #ffffff;
  --v305-red: #a51f2b;
  --v305-red-dark: #7f1721;
  --v305-navy: #111b2b;
  --v305-green: #16845b;
  --v305-amber: #c67a09;
  --v305-radius: 8px;
  --v305-shadow: 0 7px 22px rgba(16, 24, 40, .07);
}

html { font-size: 14px; }
body { color: var(--v305-ink); background: #eef2f6; font-family: "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
body * { box-sizing: border-box; }
body button, body input, body select, body textarea { font: inherit; letter-spacing: 0; }
body h1, body h2, body h3, body h4, body p { margin-top: 0; }
body h1 { font-size: clamp(25px, 2vw, 34px); line-height: 1.12; }
body h2 { font-size: 18px; line-height: 1.25; }
body h3 { font-size: 15px; line-height: 1.3; }

/* Global shell */
body .app-shell { display: grid !important; grid-template-columns: 248px minmax(0, 1fr) !important; min-height: 100vh; }
body .content { min-width: 0; width: 100%; padding: 0 16px 24px; }
body .platform-sidebar-v295.sidebar.sidebar-dense {
  position: sticky !important; inset: 0 auto auto 0 !important; z-index: 90; display: flex !important;
  width: 248px !important; min-width: 248px !important; max-width: 248px !important; height: 100vh !important; min-height: 0 !important; padding: 14px 12px !important;
  background: linear-gradient(180deg, #111b2b 0%, #172235 100%) !important; border-right: 1px solid rgba(255,255,255,.08) !important;
  overflow: hidden auto !important;
}
body .platform-brand-v295 { padding: 6px 8px 14px !important; margin: 0 0 8px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body .platform-brand-v295 .brand-logo { width: 128px !important; max-height: 52px !important; object-fit: contain; object-position: left center; }
body .platform-brand-v295 .brand-subtitle { color: #fff !important; font-size: 11px !important; font-weight: 800; text-transform: uppercase; }
body .platform-brand-v295 .brand-tag { color: #9eacbf !important; font-size: 11px !important; }
body .platform-nav-v295 { display: grid !important; gap: 5px !important; }
body .platform-nav-v295 details { border: 1px solid transparent !important; border-radius: 7px !important; background: transparent !important; }
body .platform-nav-v295 details[open] { background: rgba(255,255,255,.045) !important; border-color: rgba(255,255,255,.07) !important; }
body .platform-nav-v295 summary { min-height: 46px !important; padding: 8px 10px !important; gap: 9px !important; border: 0 !important; color: #f5f7fa !important; }
body .platform-nav-v295 summary > svg { width: 18px !important; height: 18px !important; color: #d8e0ea !important; }
body .platform-nav-v295 summary span { font-size: 12px !important; font-weight: 750 !important; }
body .platform-nav-v295 summary small { margin-top: 1px; color: #8998ad !important; font-size: 10px !important; font-weight: 500 !important; }
body .platform-nav-v295 .nav-module-body-v294 { padding: 0 6px 7px 35px !important; gap: 2px !important; }
body .platform-nav-v295 .nav-link { min-height: 34px !important; padding: 7px 8px !important; border-radius: 5px !important; color: #bdc7d4 !important; font-size: 11px !important; font-weight: 600 !important; }
body .platform-nav-v295 .nav-link svg { width: 14px !important; height: 14px !important; }
body .platform-nav-v295 .nav-link:hover { background: rgba(255,255,255,.07) !important; color: #fff !important; }
body .platform-nav-v295 .nav-link.active { background: var(--v305-red) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(165,31,43,.22); }
body .platform-sidebar-footer-v295 { margin-top: auto !important; padding: 10px 4px 0 !important; }
.platform-language-v306 { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: rgba(255,255,255,.045); }
.platform-language-v306 > svg { width: 15px; height: 15px; margin: 0 4px; color: #aab7c8; }
.platform-language-v306 a { display: grid; min-width: 31px; height: 27px; padding: 0 6px; place-items: center; border-radius: 4px; color: #aeb9c8; font-size: 10px; font-weight: 800; text-decoration: none; }
.platform-language-v306 a.active { color: #fff; background: var(--v305-red); }
.platform-language-top-v306 { flex: 0 0 auto; border-color: #dce3eb; background: #f5f7fa; }
.platform-language-top-v306 a { color: #667085; }
.login-language-v306 { position: absolute; top: 22px; right: 24px; border-color: #dce3eb; background: #f5f7fa; }
.login-access-v305 { position: relative; }
body .platform-quick-v295 a { border-radius: 6px !important; }
body .user-card { border-radius: 7px !important; }

body .platform-topbar-v295 {
  position: sticky !important; top: 0 !important; z-index: 70; width: calc(100% + 32px) !important; margin: 0 -16px 14px !important;
  height: 101px !important; min-height: 101px !important;
  background: rgba(255,255,255,.97) !important; border-bottom: 1px solid var(--v305-line) !important; box-shadow: 0 3px 14px rgba(16,24,40,.045) !important;
  backdrop-filter: blur(12px);
}
body .platform-topbar-v295 .ops-topbar-row-v291 { height: 58px !important; min-height: 58px !important; padding: 7px 16px !important; gap: 12px !important; grid-template-columns: minmax(210px,280px) minmax(300px,1fr) auto auto auto !important; }
body .ops-topbar-brand-v291 img { width: 92px !important; height: 36px !important; object-fit: contain; }
body .ops-topbar-brand-v291 small { font-size: 9px !important; }
body .ops-topbar-brand-v291 strong { font-size: 12px !important; }
body .ops-command-v291 { height: 40px !important; max-width: 520px !important; border-radius: 7px !important; }
body .ops-live-v291 { min-width: 140px !important; }
body .ops-live-v291 > svg { width: 27px !important; height: 27px !important; }
body .ops-tools-v291 a { min-width: 40px !important; min-height: 38px !important; border-radius: 6px !important; font-size: 10px !important; }
body .platform-topbar-v295 .ops-tabs-v291 { height: 42px !important; min-height: 42px !important; padding: 0 16px !important; gap: 3px !important; overflow-x: auto; }
body .ops-tabs-v291 a { min-height: 40px !important; padding: 0 15px !important; border-radius: 0 !important; font-size: 11px !important; }
body .ops-tabs-v291 a.active { color: var(--v305-red) !important; border-bottom: 3px solid var(--v305-red) !important; background: transparent !important; }
body .ops-tabs-v291 .atlas-link-v291 { margin-left: auto; }

body .panel, body .card, body .cc-panel-v291, body .stuffing-panel-v295 { border-radius: var(--v305-radius) !important; border-color: var(--v305-line) !important; box-shadow: var(--v305-shadow) !important; }
body table { font-size: 12px; }
body th { font-size: 10px; text-transform: uppercase; letter-spacing: .035em; }
body .btn, body button, body a { transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }

/* Login */
body.endpoint-auth-login { min-height: 100vh; overflow-x: hidden; }
body.endpoint-auth-login .app-shell { display: block !important; min-height: 100vh; }
body.endpoint-auth-login .content-public { display: grid !important; place-items: center; min-height: 100vh; width: 100%; padding: clamp(18px, 5vw, 64px) !important; }
.login-v305 { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .72fr); width: min(1080px, 100%); min-height: 620px; overflow: hidden; border: 1px solid #d7dee8; border-radius: 12px; background: #fff; box-shadow: 0 28px 70px rgba(15,23,42,.16); }
.login-brand-v305 { position: relative; display: flex; flex-direction: column; padding: clamp(36px, 5vw, 66px); overflow: hidden; color: #fff; background: linear-gradient(145deg, #101a2b 0%, #18263b 68%, #7f1721 190%); }
.login-brand-v305::after { content: ""; position: absolute; right: -120px; bottom: -170px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.02); }
.login-brand-v305 > img { position: relative; z-index: 1; width: 172px; height: 70px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.login-brand-copy-v305 { position: relative; z-index: 1; max-width: 600px; margin: auto 0 34px; }
.login-brand-copy-v305 > span, .login-access-head-v305 > span { display: block; margin-bottom: 10px; color: #e66570; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.login-brand-copy-v305 h1 { max-width: 560px; margin-bottom: 16px; color: #fff; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; }
.login-brand-copy-v305 p { max-width: 540px; color: #b9c4d3; font-size: 16px; line-height: 1.6; }
.login-capabilities-v305 { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.login-capabilities-v305 > div { display: flex; align-items: center; min-width: 0; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; background: rgba(255,255,255,.04); }
.login-capabilities-v305 svg { flex: 0 0 auto; width: 20px; color: #f08d95; }
.login-capabilities-v305 b, .login-capabilities-v305 small { display: block; }
.login-capabilities-v305 b { font-size: 11px; }.login-capabilities-v305 small { color: #9cabbf; font-size: 9px; }
.login-brand-v305 footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin-top: 25px; color: #97a6ba; font-size: 10px; text-transform: uppercase; }
.login-brand-v305 footer span { width: 6px; height: 6px; border-radius: 50%; background: #30b77c; box-shadow: 0 0 0 4px rgba(48,183,124,.12); }
.login-access-v305 { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 68px); background: #fff; }
.login-access-head-v305 h2 { margin-bottom: 7px; font-size: 30px; }.login-access-head-v305 p { color: var(--v305-muted); }
.login-form-v305 { display: grid; gap: 17px; margin-top: 30px; }
.login-form-v305 label > span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 750; }
.login-form-v305 label > div { display: flex; align-items: center; height: 48px; padding: 0 13px; border: 1px solid #cfd8e5; border-radius: 7px; background: #fbfcfe; }
.login-form-v305 label > div:focus-within { border-color: var(--v305-red); box-shadow: 0 0 0 3px rgba(165,31,43,.09); }
.login-form-v305 svg { width: 18px; color: #718096; }.login-form-v305 input { width: 100%; min-width: 0; height: 100%; padding: 0 0 0 10px; border: 0; outline: 0; background: transparent; }
.login-form-v305 > button { display: flex; align-items: center; justify-content: center; gap: 9px; height: 48px; margin-top: 4px; border: 0; border-radius: 7px; color: #fff; background: var(--v305-red); font-weight: 750; box-shadow: 0 8px 18px rgba(165,31,43,.2); }
.login-form-v305 > button:hover { background: var(--v305-red-dark); transform: translateY(-1px); }
.login-environment-v305 { display: flex; gap: 10px; margin-top: 28px; padding: 13px; border-radius: 7px; color: #6b7280; background: #f5f6f8; }
.login-environment-v305 svg { width: 19px; }.login-environment-v305 b,.login-environment-v305 small { display: block; }.login-environment-v305 b { color: #374151; font-size: 11px; }.login-environment-v305 small { margin-top: 2px; font-size: 10px; }

/* Command center */
body .command-center-v291 { max-width: 1680px; margin: 0 auto; }
body .cc-hero-v291 { min-height: 124px !important; padding: 24px !important; border-radius: 9px !important; }
body .cc-hero-v291 h1 { margin-bottom: 6px !important; font-size: 29px !important; }
body .cc-metrics-v291 { display: grid !important; grid-template-columns: repeat(5,minmax(0,1fr)) !important; gap: 10px !important; }
body .cc-metrics-v291 > article { min-width: 0 !important; min-height: 116px !important; padding: 18px !important; border-radius: 8px !important; }
body .cc-kpi-icon-v297 { flex: 0 0 48px !important; width: 48px !important; height: 48px !important; border-radius: 8px !important; }
body .cc-kpi-icon-v297 svg { width: 24px !important; height: 24px !important; stroke-width: 1.8; }
.cc-kpi-icon-operating-v306 { position: relative; color: var(--v305-red) !important; }
.cc-kpi-icon-operating-v306 > span { position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--v305-green); box-shadow: 0 0 0 2px rgba(22,132,91,.14); }
body .cc-kpi-copy-v297 { min-width: 0; }
body .cc-kpi-copy-v297 small { font-size: 9px !important; }
body .cc-kpi-copy-v297 strong { display: block; max-width: 100%; color: #981f2a !important; font-size: clamp(14px,1.15vw,20px) !important; line-height: 1.18 !important; white-space: nowrap; }
body .cc-kpi-copy-v297 span { font-size: 10px !important; }
body .cc-layout-v291 { gap: 12px !important; }

/* Stuffing workflow and evidence */
body .stuffing-workspace-v295, body .stuffing-label-page-v301 { max-width: 1680px; margin: 0 auto; }
body .stuffing-command-hero { padding: 22px 24px !important; border-radius: 9px !important; }
body .stuffing-command-hero h1 { margin-bottom: 5px !important; font-size: 28px !important; }
body .stuffing-panel-v295 { padding: 16px !important; }
body .stuffing-panel-v295 > header { gap: 14px; margin: -16px -16px 15px !important; padding: 14px 16px !important; }
body .stuffing-panel-v295 > header h2 { font-size: 17px !important; }
body .stuffing-panel-v295 > header p { font-size: 11px !important; }
body .stuffing-operation-nav-v295 { min-height: 48px !important; border-radius: 8px !important; }
body .stuffing-operation-nav-v295 a { min-height: 46px !important; padding: 0 14px !important; font-size: 11px !important; }
body .stuffing-command-kpis-v295 span { font-size: 9px !important; }body .stuffing-command-kpis-v295 small { font-size: 9px !important; }
body .stuffing-command-side-v295 { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; min-width: 0; }
.stuffing-photo-intake-v305 { display: grid; grid-template-columns: minmax(260px,.9fr) minmax(0,1.7fr); gap: 12px 18px; align-items: center; margin-bottom: 16px; padding: 15px; border: 1px solid #cfd9e7; border-radius: 8px; background: linear-gradient(100deg,#f8fafc,#fff); }
.stuffing-bulk-drop-v305 { position: relative; display: flex; align-items: center; gap: 12px; min-height: 80px; padding: 14px; border: 1px dashed #aebbd0; border-radius: 7px; cursor: pointer; background: #fff; }
.stuffing-bulk-drop-v305 > svg { flex: 0 0 31px; width: 31px; height: 31px; color: var(--v305-red); }.stuffing-bulk-drop-v305 span { min-width: 0; flex: 1; }.stuffing-bulk-drop-v305 b,.stuffing-bulk-drop-v305 small { display: block; }.stuffing-bulk-drop-v305 b { font-size: 13px; }.stuffing-bulk-drop-v305 small { margin-top: 3px; color: var(--v305-muted); font-size: 10px; line-height: 1.35; }
.stuffing-bulk-drop-v305 strong { flex: 0 0 auto; padding: 8px 11px; border-radius: 6px; color: #fff; background: var(--v305-red); font-size: 10px; }.stuffing-bulk-drop-v305 input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.stuffing-sequence-v305 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }.stuffing-sequence-v305 span { display: flex; align-items: center; min-width: 0; gap: 6px; padding: 6px 8px; border: 1px solid #e1e7ef; border-radius: 5px; color: #475467; background: #fff; font-size: 9px; }.stuffing-sequence-v305 b { display: grid; flex: 0 0 19px; width: 19px; height: 19px; place-items: center; border-radius: 4px; color: var(--v305-red); background: #fdecef; }
.stuffing-photo-intake-v305 > output { grid-column: 1/-1; color: var(--v305-muted); font-size: 10px; }
.stuffing-mobile-bulk-v305 { position: relative; margin: 10px 10px 2px; }.stuffing-mobile-bulk-v305 label { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; border: 1px dashed #aebbd0; border-radius: 7px; color: #344054; background: #f8fafc; }.stuffing-mobile-bulk-v305 label > svg { flex: 0 0 25px; width: 25px; color: var(--v305-red); }.stuffing-mobile-bulk-v305 span { display: grid; }.stuffing-mobile-bulk-v305 b { font-size: 11px; }.stuffing-mobile-bulk-v305 small { color: var(--v305-muted); font-size: 9px; }.stuffing-mobile-bulk-v305 input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.stuffing-mobile-bulk-v305.is-uploading label { opacity: .55; pointer-events: none; }
body .stuffing-photo-slots-multi-v305 { grid-template-columns: repeat(3,minmax(0,1fr)) !important; align-items: start; gap: 12px !important; }
body .stuffing-photo-slots-multi-v305 > article { min-width: 0; padding: 11px !important; border-radius: 8px !important; }
.stuffing-slot-gallery-v305 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 8px 0; }
.stuffing-slot-photo-v305 { position: relative; min-width: 0; }.stuffing-slot-photo-v305 .stuffing-photo-thumb-v295 { width: 100%; min-height: 115px !important; margin: 0 !important; }.stuffing-slot-photo-v305 .stuffing-photo-thumb-v295 img { width: 100%; height: 115px !important; object-fit: cover; }.stuffing-slot-photo-v305 > form { position: absolute; top: 5px; right: 5px; z-index: 2; }.stuffing-slot-photo-v305 .danger { display: grid !important; width: 30px !important; height: 30px !important; min-height: 0 !important; padding: 0 !important; place-items: center; border-radius: 5px !important; color: #fff !important; background: rgba(126,22,31,.9) !important; }.stuffing-slot-photo-v305 .danger svg { width: 14px; }
body .stuffing-slot-add-v305 { min-height: 62px !important; margin-top: 7px; }.stuffing-slot-add-v305 label { min-height: 54px !important; border-radius: 6px !important; }.stuffing-slot-add-v305 label > svg { width: 18px !important; }

/* Photo Studio */
body .stuffing-photo-studio-shell-v299 { display: grid !important; grid-template-columns: minmax(210px,.68fr) minmax(450px,1.55fr) minmax(220px,.72fr) !important; gap: 12px !important; align-items: start; }
body .stuffing-studio-library-v299, body .stuffing-studio-actions-v299 { min-width: 0 !important; }
body .stuffing-studio-section-v299 button img { aspect-ratio: 4/3; object-fit: cover; }
body .stuffing-studio-preview-v299 { min-width: 0 !important; }
body .stuffing-studio-preview-v299 .stuffing-report-options-v302 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 9px !important; }
body .stuffing-studio-preview-v299 .stuffing-report-options-v302 label,body .stuffing-studio-preview-v299 .stuffing-report-options-v302 select { min-width: 0 !important; width: 100% !important; }
body .stuffing-studio-preview-v299 .stuffing-report-options-v302 button { grid-column: 1 / -1; width: 100%; }
body .stuffing-studio-actions-v299 .stuffing-form-v295 { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 10px !important; }
body .stuffing-studio-actions-v299 .stuffing-form-v295 label,body .stuffing-studio-actions-v299 .stuffing-form-v295 .wide,body .stuffing-studio-actions-v299 .stuffing-form-v295 button { grid-column: 1 / -1 !important; width: 100% !important; min-width: 0 !important; }
body .stuffing-studio-actions-v299 .stuffing-form-v295 select,body .stuffing-studio-actions-v299 .stuffing-form-v295 textarea { width: 100% !important; min-width: 0 !important; }
body .stuffing-studio-actions-v299 .stuffing-report-actions-v295 a { min-width: 0 !important; width: 100% !important; white-space: normal !important; text-align: center; }
body .studio-preview-frame-host-v302 { min-height: 680px !important; }
body .stuffing-photo-studio-global-v299 { width: min(1160px,calc(100vw - 30px)) !important; max-width: none !important; height: min(820px,calc(100vh - 30px)); padding: 0 !important; overflow: hidden; border: 0 !important; border-radius: 10px !important; box-shadow: 0 30px 80px rgba(10,18,31,.35) !important; }
body .stuffing-photo-studio-v296 > form { height: 100%; }
body .stuffing-photo-studio-v296 header { min-height: 80px; padding: 16px 20px !important; }
body .stuffing-studio-layout-v296 { display: grid !important; grid-template-columns: minmax(0,1.6fr) minmax(330px,.72fr) !important; height: calc(100% - 80px); min-height: 0 !important; }
body .stuffing-studio-canvas-v296 { min-width: 0; min-height: 0 !important; padding: 22px !important; background: #151d29 !important; }
body .stuffing-studio-canvas-v296 > div { width: min(100%,720px); aspect-ratio: 1.42; overflow: hidden; background: #0b111b; box-shadow: 0 0 0 1px rgba(255,255,255,.12),0 18px 50px rgba(0,0,0,.35); }
body .stuffing-studio-canvas-v296 img { width: 100%; height: 100%; max-width: none !important; max-height: none !important; transform-origin: center; }
body .stuffing-studio-controls-v296 { min-height: 0; padding: 16px !important; overflow: auto; background: #fff; }
body .stuffing-studio-controls-v296 label, body .stuffing-studio-controls-v296 legend { font-size: 10px !important; }
body .stuffing-studio-controls-v296 input,body .stuffing-studio-controls-v296 select { min-height: 36px !important; border-radius: 5px !important; }
.studio-report-placement-v306 { display: grid; gap: 9px; margin: 10px 0; padding: 11px; border: 1px solid #cfd9e7; border-radius: 6px; background: #f7f9fc; }
.studio-report-placement-v306 > small { color: var(--v305-muted); font-size: 9px; line-height: 1.4; }
.studio-check-v306 { display: flex !important; align-items: center; gap: 8px; min-height: 32px; }
.studio-check-v306 input { width: 16px !important; min-height: 16px !important; }
.studio-position-grid-v305 { display: grid; grid-template-columns: repeat(3,28px); gap: 5px; }.studio-position-grid-v305 button { position: relative; width: 28px; height: 28px; min-height: 0 !important; padding: 0 !important; border: 1px solid #cdd6e2 !important; border-radius: 4px !important; background: #f7f9fc !important; }.studio-position-grid-v305 button::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--v305-red); }.studio-position-grid-v305 button:nth-child(1)::after{left:5px;top:5px}.studio-position-grid-v305 button:nth-child(2)::after{left:10px;top:5px}.studio-position-grid-v305 button:nth-child(3)::after{right:5px;top:5px}.studio-position-grid-v305 button:nth-child(4)::after{left:5px;top:10px}.studio-position-grid-v305 button:nth-child(5)::after{left:10px;top:10px}.studio-position-grid-v305 button:nth-child(6)::after{right:5px;top:10px}.studio-position-grid-v305 button:nth-child(7)::after{left:5px;bottom:5px}.studio-position-grid-v305 button:nth-child(8)::after{left:10px;bottom:5px}.studio-position-grid-v305 button:nth-child(9)::after{right:5px;bottom:5px}
.studio-corrections-v305 { margin: 8px 0; padding: 10px; border: 1px solid #d9e1eb; border-radius: 6px; }.studio-corrections-v305 summary { cursor: pointer; font-size: 11px; font-weight: 750; }.studio-corrections-v305[open] summary { margin-bottom: 10px; }

/* Atlas - operational map is the primary surface */
body.endpoint-main-operations_atlas .content { height: 100vh; padding-bottom: 8px; overflow: hidden; background: #e9eef4; }
body.endpoint-main-operations_atlas .platform-topbar-v295 { margin-bottom: 8px !important; }
body .atlas-control-v295 { display: grid !important; grid-template-rows: auto auto auto minmax(480px,1fr) auto !important; width: 100%; max-width: none !important; height: calc(100vh - 126px) !important; min-height: 700px; margin: 0 !important; gap: 8px !important; overflow: hidden; }
body .atlas-command-head-v295 { position: relative !important; inset: auto !important; min-height: 58px !important; padding: 9px 12px !important; border: 1px solid var(--v305-line) !important; border-radius: 8px !important; background: #fff !important; box-shadow: 0 5px 18px rgba(16,24,40,.055) !important; }
body .atlas-command-head-v295 h1 { margin: 0 0 2px !important; font-size: 24px !important; }
body .atlas-command-head-v295 p { margin: 0 !important; font-size: 10px !important; }
body .atlas-command-actions-v295 button,body .atlas-command-actions-v295 a { min-height: 36px !important; border-radius: 6px !important; font-size: 10px !important; }
body .atlas-kpi-rail-v296 { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px !important; }
body .atlas-kpi-rail-v296 { height: 61px !important; min-height: 61px !important; overflow: visible !important; }
body .atlas-kpi-rail-v296 a { min-height: 61px !important; padding: 9px 12px !important; border-radius: 7px !important; box-shadow: none !important; }
body .atlas-kpi-rail-v296 a > svg { width: 22px !important; height: 22px !important; }
body .atlas-kpi-rail-v296 b { font-size: 19px !important; }
body .atlas-filterbar-v295 { display: grid !important; grid-template-columns: repeat(4,minmax(110px,.58fr)) minmax(220px,1.4fr) auto !important; gap: 7px !important; padding: 8px !important; border-radius: 8px !important; box-shadow: none !important; }
body .atlas-filterbar-v295 label > span { font-size: 8px !important; }
body .atlas-filterbar-v295 select,body .atlas-filterbar-v295 input { height: 35px !important; min-height: 35px !important; border-radius: 5px !important; font-size: 10px !important; }
body .atlas-workspace-v295 { display: grid !important; grid-template-columns: 260px minmax(0,1fr) 290px !important; min-height: 0 !important; height: 100% !important; gap: 8px !important; }
body .atlas-queue-v295,body .atlas-intelligence-v295 { min-width: 0; height: 100% !important; overflow: hidden auto !important; border: 1px solid var(--v305-line) !important; border-radius: 8px !important; background: #fff !important; box-shadow: var(--v305-shadow) !important; }
body .atlas-map-stage-v295 { min-width: 0; min-height: 0 !important; height: 100% !important; overflow: hidden; border: 1px solid #aebdcd !important; border-radius: 8px !important; background: #d6dee5; box-shadow: 0 10px 28px rgba(16,24,40,.11) !important; }
body .atlas-map-v295 { width: 100%; height: 100% !important; min-height: 0 !important; }
body .atlas-map-stage-v295::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 70px rgba(11,23,38,.14); }
body .atlas-map-stage-v295::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(165,31,43,.025); }
body .atlas-map-stage-v295[data-basemap="night"]::before { background: rgba(10,23,40,.12); }
body .atlas-map-status-v295,body .atlas-port-context-v296,body .atlas-map-legend-v295,body .atlas-layer-switch-v295,body .atlas-object-drawer-v295 { z-index: 4; }
body .atlas-port-context-v296 { border-radius: 6px !important; background: rgba(13,25,42,.91) !important; color: #fff !important; box-shadow: 0 8px 24px rgba(4,13,27,.25); }
body .atlas-port-context-v296 small { color: #aebdce !important; }
body .atlas-map-legend-v295 { border-radius: 6px !important; background: rgba(255,255,255,.94) !important; backdrop-filter: blur(8px); }
body .atlas-layer-switch-v295 { border-radius: 6px !important; box-shadow: 0 10px 26px rgba(12,24,40,.17) !important; }
.atlas-basemap-switch-v305 { display: grid; gap: 3px; margin-top: 5px; padding-top: 5px; border-top: 1px solid #dfe5ec; }.atlas-basemap-switch-v305 button { min-width: 0 !important; }.atlas-basemap-switch-v305 button.active { color: #fff !important; border-color: var(--v305-red) !important; background: var(--v305-red) !important; }
body .atlas-map-stage-v295[data-basemap="night"] .atlas-map-status-v295,body .atlas-map-stage-v295[data-basemap="night"] .atlas-map-legend-v295 { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
body .atlas-marker-v295 { width: 42px !important; height: 42px !important; border: 3px solid #fff !important; box-shadow: 0 5px 13px rgba(7,20,37,.28),0 0 0 5px rgba(165,31,43,.12) !important; }
body .atlas-marker-v295.vessel { width: 46px !important; height: 34px !important; border-radius: 16px 16px 9px 9px !important; }
body .atlas-marker-v295.vessel svg { width: 23px !important; height: 23px !important; }
body .atlas-marker-v295.vessel span { top: 38px !important; }
body .atlas-marker-v295::before { content: ""; position: absolute; inset: -9px; border: 1px solid currentColor; border-radius: 50%; opacity: .28; animation: atlasPulseV305 2.4s ease-out infinite; }
body .atlas-marker-v295 span { top: 44px !important; max-width: 150px; padding: 4px 7px !important; border-radius: 4px !important; color: #fff !important; background: rgba(13,25,42,.91) !important; font-size: 9px !important; box-shadow: 0 4px 12px rgba(7,18,32,.22); }
body .atlas-terminal-hub-v296 { border-radius: 6px !important; background: rgba(255,255,255,.95) !important; box-shadow: 0 7px 20px rgba(7,20,35,.18) !important; }
body .atlas-object-drawer-v295 { width: min(340px,calc(100% - 24px)) !important; border-radius: 8px !important; background: rgba(255,255,255,.97) !important; box-shadow: 0 22px 55px rgba(9,20,36,.28) !important; backdrop-filter: blur(12px); }
body .atlas-bottom-deck-v295 { min-height: 80px !important; max-height: 110px; gap: 8px !important; }
body .atlas-timeline-v295,body .atlas-summary-v295 { border-radius: 8px !important; }
@keyframes atlasPulseV305 { from { transform: scale(.78); opacity:.38 } to { transform: scale(1.35); opacity:0 } }

/* Stuffing photo report - strict A4 geometry and preserved aspect ratio */
body.stuffing-report-body { background: #dfe5ec !important; }
body .stuffing-report-page { position: relative !important; width: 210mm !important; height: 297mm !important; min-height: 297mm !important; overflow: hidden !important; }
body .stuffing-photo-page { display: flex !important; flex-direction: column; padding: 12mm 13mm 23mm !important; }
body .stuffing-photo-rows { display: grid !important; flex: 1 1 auto; min-height: 0; align-content: start; gap: 3mm !important; overflow: hidden; }
body .stuffing-photo-row { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 0; gap: 4mm !important; }
body .stuffing-photo-card { min-width: 0; min-height: 0; height: auto !important; align-self: start; overflow: hidden; border-radius: 0 !important; }
body .stuffing-photo-frame { position: relative; flex: 0 0 auto !important; width: 100%; overflow: hidden !important; background: #f0f2f4; }
body .stuffing-photo-frame img { position:absolute !important; inset:0 !important; display:block !important; width:100% !important; height:100% !important; max-width:none !important; max-height:none !important; margin:0 !important; transform-origin:center center !important; }
body.stuffing-report-body .stuffing-photo-page.stuffing-page-default-small .stuffing-photo-card .stuffing-photo-frame { height: 48mm !important; }
body.stuffing-report-body .stuffing-photo-page.stuffing-page-default-medium .stuffing-photo-card .stuffing-photo-frame { height: 61mm !important; }
body.stuffing-report-body .stuffing-photo-page.stuffing-page-default-large .stuffing-photo-card .stuffing-photo-frame { height: 82mm !important; }
body.stuffing-report-body .stuffing-photo-page.stuffing-page-default-full .stuffing-photo-card .stuffing-photo-frame { height: 125mm !important; }
body.stuffing-report-body .stuffing-photo-page .stuffing-photo-card-size-small .stuffing-photo-frame { height: 48mm !important; }
body.stuffing-report-body .stuffing-photo-page .stuffing-photo-card-size-medium .stuffing-photo-frame { height: 61mm !important; }
body.stuffing-report-body .stuffing-photo-page .stuffing-photo-card-size-large .stuffing-photo-frame { height: 82mm !important; }
body .stuffing-photo-card-size-full { grid-column: 1 / -1; }
body.stuffing-report-body .stuffing-photo-page .stuffing-photo-card-size-full .stuffing-photo-frame { height: 125mm !important; }
body .stuffing-page-layout-single .stuffing-photo-row { grid-template-columns: 1fr !important; }
body .stuffing-photo-card h3 { margin: 1.2mm 0 0 !important; font-size: 9pt !important; line-height: 1.2 !important; }
body .stuffing-photo-card p { margin: .6mm 0 0 !important; font-size: 7pt !important; }
body .stuffing-photo-row-full { grid-template-columns: 1fr !important; }
body .stuffing-photo-row-full .stuffing-photo-card-empty { display: none !important; }
body .stuffing-page-footer { position: absolute !important; right: 13mm !important; bottom: 7mm !important; left: 13mm !important; height: 13mm !important; }
body .stuffing-container-divider { grid-column: 1/-1; margin: 1mm 0 !important; padding: 1.5mm 2mm !important; font-size: 7pt !important; }

/* Stuffing labels: one geometry for preview and print. */
body .stuffing-booking-label { width: 100mm !important; height: 80mm !important; overflow: hidden !important; }
body .stuffing-booking-label-line { left: 3.8mm !important; width: 90mm !important; height: 3.8mm !important; display: grid !important; grid-template-columns: 31mm minmax(0,1fr) !important; align-items: center !important; column-gap: 1.5mm !important; overflow: visible !important; white-space: nowrap !important; }
body .stuffing-booking-label-line.qr-safe { width: 65.5mm !important; }
body .stuffing-booking-label-line span { width: auto !important; padding: 0 !important; box-sizing: border-box !important; font-size: 6.9pt !important; line-height: 1 !important; }
body .stuffing-booking-label-line b { min-width: 0; overflow: visible !important; text-overflow: clip !important; white-space: nowrap; font-size: 6.9pt !important; line-height: 1 !important; }
body .stuffing-booking-label-line.is-long b { font-size: 6.35pt !important; }
body .stuffing-booking-label-line.is-xl b { font-size: 5.7pt !important; }
body .stuffing-booking-label-line.is-xxl b { font-size: 5.15pt !important; }
body .stuffing-booking-label-seal { right: 4mm !important; width: 32mm !important; height: 3.6mm !important; display: grid !important; grid-template-columns: 14.2mm minmax(0,1fr) !important; align-items: end !important; column-gap: .8mm !important; overflow: visible !important; }
body .stuffing-booking-label-seal span { width: auto !important; padding: 0 !important; font-size: 6.15pt !important; line-height: 2.8mm !important; text-align: right !important; }
body .stuffing-booking-label-seal b { display: block !important; width: auto !important; min-width: 0 !important; height: 3.05mm !important; min-height: 0 !important; padding: 0 .3mm .35mm !important; border-bottom: .2mm dotted #444 !important; font-size: 6.15pt !important; line-height: 2.45mm !important; text-align: center !important; overflow: hidden !important; white-space: nowrap !important; }
body .stuffing-label-print-window { overflow: auto !important; }

/* Responsive */
@media (max-width: 1250px) {
  body .cc-metrics-v291 { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  body .stuffing-photo-studio-shell-v299 { grid-template-columns: 220px minmax(430px,1fr) !important; }
  body .stuffing-photo-studio-shell-v299 > .stuffing-studio-actions-v299 { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body .atlas-workspace-v295 { grid-template-columns: 230px minmax(0,1fr) 260px !important; }
  body .atlas-filterbar-v295 { grid-template-columns: repeat(4,minmax(105px,1fr)) !important; }.atlas-search-filter-v295 { grid-column: span 3; }.atlas-view-modes-v295 { grid-column: span 1; }
}
@media (max-width: 1600px) {
  body .stuffing-command-layout-v295 { grid-template-columns: minmax(0,1fr) !important; }
  body .stuffing-command-side-v295 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 980px) {
  body .app-shell { display: block !important; min-height: 100vh; }
  body .content { min-height: 100vh; padding: 0 10px 80px; }
  body .platform-sidebar-v295.sidebar.sidebar-dense { position: fixed !important; inset: 0 auto 0 0 !important; z-index: 300 !important; display: flex !important; width: min(300px,86vw) !important; min-width: 0 !important; max-width: min(300px,86vw) !important; height: 100dvh !important; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 20px 0 50px rgba(8,18,31,.25); }
  body.sidebar-open-v295 .platform-sidebar-v295.sidebar.sidebar-dense { transform: translateX(0); }
  body .mobile-nav-scrim-v295 { position: fixed !important; inset: 0 !important; z-index: 290 !important; display: block !important; pointer-events: none; opacity: 0; background: rgba(8,16,28,.48); transition: opacity .2s ease; }
  body.sidebar-open-v295 .mobile-nav-scrim-v295 { pointer-events: auto; opacity: 1; }
  body .platform-topbar-v295 { width: calc(100% + 20px) !important; margin: 0 -10px 10px !important; }
  body .ops-topbar-row-v291 { min-height: 54px !important; padding: 7px 10px !important; }.ops-command-v291{order:5;flex-basis:100%;max-width:none!important}.ops-live-v291,.ops-tools-v291{display:none!important}.ops-topbar-brand-v291 span{display:none}.ops-tabs-v291{padding:0 8px!important}.ops-tabs-v291 a{padding:0 11px!important}.ops-tabs-v291 .atlas-link-v291{margin-left:0}
  body .cc-metrics-v291 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body .stuffing-photo-slots-multi-v305 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .stuffing-photo-intake-v305 { grid-template-columns: 1fr; }.stuffing-sequence-v305 { grid-template-columns: repeat(3,minmax(0,1fr)); }.stuffing-photo-intake-v305 > output { grid-column: auto; }
  body .stuffing-photo-studio-shell-v299 { display: block !important; }.stuffing-photo-studio-shell-v299 > * { margin-bottom: 12px; }.stuffing-studio-library-v299 { max-height: 340px; overflow:auto; }.stuffing-studio-actions-v299 { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  body .stuffing-command-side-v295 { grid-template-columns: 1fr !important; }
  body.endpoint-main-operations_atlas .content { height: auto; overflow: visible; padding-bottom: 80px; }
  body .atlas-control-v295 { height: auto !important; min-height: 0; overflow: visible; }
  body .atlas-workspace-v295 { grid-template-columns: 220px minmax(0,1fr) !important; height: 690px !important; }.atlas-intelligence-v295{display:none!important}.atlas-bottom-deck-v295{max-height:none!important}.atlas-filterbar-v295{grid-template-columns:repeat(2,minmax(0,1fr))!important}.atlas-search-filter-v295,.atlas-view-modes-v295{grid-column:1/-1!important}
}
@media (max-width: 700px) {
  html { font-size: 13px; }
  body.endpoint-main-field_job .platform-sidebar-v295.sidebar.sidebar-dense, body.endpoint-main-stuffing_field_operation .platform-sidebar-v295.sidebar.sidebar-dense { display: none !important; }
  body.endpoint-main-field_job .platform-topbar-v295, body.endpoint-main-stuffing_field_operation .platform-topbar-v295 { display: none !important; }
  body.endpoint-main-field_job .content, body.endpoint-main-stuffing_field_operation .content { min-height: 100dvh !important; padding-top: 0 !important; }
  .login-v305 { grid-template-columns: 1fr; min-height: 0; }.login-brand-v305 { min-height: 330px; padding: 28px; }.login-brand-copy-v305 { margin: 46px 0 22px; }.login-brand-copy-v305 h1 { font-size: 35px; }.login-capabilities-v305 { grid-template-columns: 1fr; }.login-capabilities-v305 > div:nth-child(n+3) { display: none; }.login-access-v305 { padding: 30px 25px 35px; }
  body .platform-topbar-v295{height:99px!important;min-height:99px!important}body .platform-topbar-v295 .ops-command-v291 { display: none !important; }body .platform-topbar-v295 .ops-topbar-row-v291{display:flex!important;height:56px!important;min-height:56px!important;padding:7px 10px!important}.topbar-menu-v295{flex:0 0 38px}.ops-topbar-brand-v291{margin:0 auto!important}.ops-topbar-brand-v291 img{width:104px!important}body .platform-topbar-v295 .ops-tabs-v291{height:42px!important;min-height:42px!important}.ops-tabs-v291 a{min-width:82px;justify-content:center}.ops-tabs-v291 a:nth-child(n+5):not(.atlas-link-v291){display:none}.ops-tabs-v291 .atlas-link-v291{margin-left:0}
  body .cc-hero-v291 { padding: 18px !important; }.cc-hero-actions-v297{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.cc-hero-actions-v297 a{justify-content:center}.cc-metrics-v291{grid-template-columns:1fr!important}.cc-metrics-v291>article{min-height:92px!important;padding:14px!important}.cc-kpi-copy-v297 strong{font-size:21px!important}
  body .stuffing-booking-head-v295{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;padding:17px!important}.stuffing-booking-title-v295{min-width:0}.stuffing-booking-title-v295 h1{font-size:27px!important}.stuffing-booking-title-v295 p{white-space:normal!important;line-height:1.35}.stuffing-booking-state-v295{display:grid!important;grid-template-columns:auto repeat(3,minmax(0,1fr))!important;width:100%;gap:6px!important}.stuffing-booking-state-v295>a{min-width:0!important;padding:0 6px!important;justify-content:center;font-size:10px!important}.stuffing-booking-state-v295>a svg{width:15px!important}.stuffing-booking-strip-v295{grid-template-columns:repeat(2,minmax(0,1fr))!important}.stuffing-booking-strip-v295>div{min-height:88px!important;padding:14px!important}.stuffing-booking-strip-v295 b{overflow-wrap:anywhere;font-size:13px!important}.stuffing-workspace-nav-v295{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:5px!important;padding:8px!important;scroll-snap-type:x proximity}.stuffing-workspace-nav-v295 a{display:flex!important;flex:0 0 92px!important;min-width:92px!important;min-height:60px!important;flex-direction:column;justify-content:center;gap:5px!important;padding:7px!important;scroll-snap-align:start}.stuffing-workspace-nav-v295 a span{display:block!important;max-width:100%;font-size:9px!important;white-space:normal;text-align:center}.stuffing-container-ribbon-v295{padding:10px!important}.stuffing-container-ribbon-v295>div{min-width:155px}.stuffing-container-ribbon-v295 nav{overflow-x:auto}.stuffing-container-ribbon-v295 nav a{flex:0 0 120px}.stuffing-command-hero { padding: 18px !important; }.stuffing-command-hero h1{font-size:25px!important}.stuffing-operation-nav-v295{overflow-x:auto;white-space:nowrap}.stuffing-operation-nav-v295 a{flex:0 0 auto}.stuffing-photo-slots-multi-v305{grid-template-columns:1fr!important}.stuffing-slot-gallery-v305{grid-template-columns:repeat(2,minmax(0,1fr))}.stuffing-sequence-v305{grid-template-columns:1fr 1fr}.stuffing-studio-actions-v299{grid-template-columns:1fr!important}
  body .stuffing-photo-studio-global-v299 { width: 100vw !important; height: 100dvh !important; max-height: none !important; border-radius: 0 !important; }.stuffing-photo-studio-v296 header{min-height:68px;padding:12px 15px!important}.stuffing-studio-layout-v296{display:block!important;height:calc(100% - 68px);overflow:auto}.stuffing-studio-canvas-v296{position:sticky;top:0;z-index:3;height:42vh;padding:12px!important}.stuffing-studio-controls-v296{overflow:visible;padding:14px!important}.studio-action-row-v303{position:sticky;bottom:0;z-index:5;padding:10px;background:#fff;border-top:1px solid var(--v305-line)}
  body .stuffing-studio-preview-v299 .stuffing-report-options-v302 { grid-template-columns: 1fr !important; }
  body .atlas-kpi-rail-v296 { grid-template-columns: repeat(2,minmax(0,1fr)); }.atlas-command-head-v295{align-items:flex-start!important}.atlas-command-head-v295 p{display:none}.atlas-command-actions-v295 span{display:none}.atlas-command-actions-v295 button,.atlas-command-actions-v295 a{width:36px;padding:0!important}.atlas-workspace-v295{display:block!important;height:auto!important}.atlas-queue-v295{height:220px!important;margin-bottom:8px}.atlas-map-stage-v295{height:62vh!important;min-height:480px!important}.atlas-filterbar-v295{grid-template-columns:1fr 1fr!important}.atlas-filterbar-v295 label:nth-child(3),.atlas-filterbar-v295 label:nth-child(4){display:none}.atlas-bottom-deck-v295{display:block!important}.atlas-summary-v295{margin-top:8px}

  /* v306 mobile clarity: preserve hierarchy instead of squeezing desktop rows. */
  body .platform-topbar-v295 .ops-topbar-brand-v291 { flex: 0 0 96px !important; width: 96px !important; min-width: 96px !important; overflow: visible !important; }
  body .platform-topbar-v295 .ops-topbar-brand-v291 img { width: 96px !important; max-width: 96px !important; }

  body.endpoint-main-dashboard .cc-hero-amspec-v297.cc-hero-v291 { display: block !important; min-height: 0 !important; padding: 0 !important; }
  body.endpoint-main-dashboard .cc-hero-copy-v297 { max-width: none !important; padding: 22px 20px 10px !important; }
  body.endpoint-main-dashboard .cc-hero-v291 h1 { max-width: 260px; font-size: 27px !important; line-height: 1.08 !important; }
  body.endpoint-main-dashboard .cc-hero-v291 p { max-width: none !important; font-size: 13px !important; line-height: 1.45 !important; }
  body.endpoint-main-dashboard .cc-hero-actions-v297.cc-quick-actions-v291 { position: static !important; display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; width: auto !important; margin: 8px 20px 20px !important; padding: 0 !important; gap: 7px !important; background: transparent !important; backdrop-filter: none !important; }
  body.endpoint-main-dashboard .cc-hero-actions-v297 a { width: 100% !important; min-width: 0 !important; height: 38px !important; padding: 0 8px !important; font-size: 10px !important; }
  body.endpoint-main-dashboard .cc-metrics-icons-v297.cc-metrics-v291 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; }
  body.endpoint-main-dashboard .cc-metrics-icons-v297 article { min-height: 90px !important; padding: 12px !important; gap: 10px !important; }
  body.endpoint-main-dashboard .cc-metrics-icons-v297 article:last-child { grid-column: 1 / -1; }
  body.endpoint-main-dashboard .cc-kpi-icon-v297 { flex: 0 0 40px !important; width: 40px !important; height: 40px !important; border-radius: 9px !important; }
  body.endpoint-main-dashboard .cc-kpi-icon-v297 svg { width: 23px !important; height: 23px !important; }
  body.endpoint-main-dashboard .cc-kpi-copy-v297 strong { font-size: 16px !important; white-space: normal !important; overflow-wrap: anywhere; }
  body.endpoint-main-dashboard .cc-kpi-copy-v297 small, body.endpoint-main-dashboard .cc-kpi-copy-v297 span { font-size: 9px !important; }

  body .stuffing-command-head-v295 > div:last-child { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 7px !important; }
  body .stuffing-command-head-v295 > div:last-child a, body .stuffing-command-head-v295 > div:last-child button { width: 100% !important; min-width: 0 !important; padding: 0 6px !important; font-size: 10px !important; }
  body .stuffing-command-kpis-v295 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; }
  body .stuffing-command-kpis-v295 a { min-height: 92px !important; padding: 12px !important; gap: 10px !important; }
  body .stuffing-command-kpis-v295 > a > svg { flex: 0 0 23px !important; width: 23px !important; height: 23px !important; }
  body .stuffing-command-kpis-v295 b { font-size: 23px !important; }
  body .stuffing-command-kpis-v295 small { font-size: 10px !important; }

  body .stuffing-kpis-v295 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 7px !important; }
  body .stuffing-kpis-v295 a { grid-template-columns: 26px minmax(0,1fr) !important; min-height: 76px !important; padding: 10px !important; gap: 7px !important; }
  body .stuffing-kpis-v295 > a > svg { width: 18px !important; height: 18px !important; }
  body .stuffing-kpis-v295 span { min-width: 0; font-size: 8px !important; }
  body .stuffing-kpis-v295 b { font-size: 17px !important; }
  body .stuffing-kpis-v295 small { font-size: 8px !important; white-space: normal !important; }
}

@media print {
  html:has(body.stuffing-report-body),
  body.stuffing-report-body { width: 210mm !important; min-height: 297mm !important; background: #fff !important; }
  body.stuffing-report-body,
  body.stuffing-report-body * { visibility: visible !important; }
  body.stuffing-report-body .stuffing-report-book { position: static !important; display: block !important; width: 210mm !important; margin: 0 !important; padding: 0 !important; }
  body .stuffing-report-page { margin: 0 !important; box-shadow: none !important; break-after: page; page-break-after: always; }
  body .stuffing-report-page:last-child { break-after: auto; page-break-after: auto; }
  body .stuffing-print-actions { display: none !important; }
  body .stuffing-booking-label-line { width: 90mm !important; grid-template-columns: 31mm minmax(0,1fr) !important; }
  body .stuffing-booking-label-line.qr-safe { width: 65.5mm !important; }
}
