body{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#f3f3f3;color:#222222;margin:0;line-height:1.45}
a{color:inherit;text-decoration:none}
.app{display:grid;grid-template-columns:268px 1fr;min-height:100vh;background:#f3f3f3}
.sidebar{padding:18px 14px;border-right:1px solid #000;background:#1b1b1b;color:#e8e8e8;box-shadow:1px 0 0 rgba(0,0,0,.12);display:flex;flex-direction:column}
.logo{display:flex;align-items:center;margin-bottom:20px;padding:4px 2px 16px;border-bottom:0}.logo-panel{width:100%;background:#fff;border-radius:8px;padding:10px 12px;box-shadow:0 10px 24px rgba(0,0,0,.24);display:grid;place-items:center}.logo-panel img{display:block;width:100%;height:auto;max-height:76px;object-fit:contain}
.sidebar-body{display:flex;flex:1;flex-direction:column;min-height:0}.nav{display:flex;flex-direction:column;gap:5px}.nav-main{flex:1}.nav-footer{border-top:1px solid rgba(255,255,255,.09);padding-top:12px;margin-top:18px}.nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;border:1px solid transparent;color:#d0d0d0;font-size:16px;font-weight:400}.nav-icon{width:18px;height:18px;flex:0 0 18px;color:#b0b0b0}.nav a span{display:block}.nav a:hover{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.08);color:#fff}.nav a:hover .nav-icon,.nav a.active .nav-icon{color:#de0200}.nav a.active{background:rgba(222,2,0,.14);border-color:rgba(222,2,0,.32);color:#fff;font-weight:500;box-shadow:inset 3px 0 0 #de0200}.nav-footer a{color:#b0b0b0;font-weight:400}
.main{padding:0 24px 24px;overflow:auto;background:#f3f3f3}.main>:not(.topbar):not(script):not([class*=modal]){width:100%;max-width:1600px;margin-left:auto;margin-right:auto;box-sizing:border-box}.topbar{width:100%;max-width:1600px;box-sizing:border-box;min-height:154px;margin:0 auto;padding:0;background:#f3f3f3;border-bottom:0;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar-spacer{min-width:1px}.topbar-heading{display:flex;flex-direction:column;gap:4px;transform:translateY(-8px)}.topbar-heading .app-title{margin:0;font-size:36px;line-height:1.02;font-weight:900}.topbar-heading p{margin:0;color:#666666;font-size:16px;font-weight:600}.topbar-actions{display:flex;align-items:center;gap:18px;transform:translateY(-8px);margin-left:auto;min-height:0;padding-right:4px}.flight-picker,.period-picker{display:flex;align-items:center;color:#666666}.flight-picker select,.period-picker select{min-width:350px;border-radius:12px;padding:10px 36px 10px 14px;background:#fff;color:#111111;font-size:15px;font-weight:800;text-transform:none;letter-spacing:0}.notification-btn{width:38px;height:38px;border-radius:999px;border:1px solid #dddddd;background:#fff;color:#666666;display:grid;place-items:center;padding:0}.notification-btn .nav-icon{width:17px;height:17px}.topbar-divider{width:1px;height:48px;background:#cfcfcf}.user-chip{display:flex;align-items:center;gap:14px;color:#111111;min-width:238px}.user-avatar{width:50px;height:50px;border-radius:999px;background:#de0200;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:900}.user-meta{display:flex;flex-direction:column;line-height:1.08}.user-meta strong{font-size:20px;color:#111111}.user-meta span{font-size:16px;color:#666666;font-weight:800}.page-head{margin:18px 0 14px}.page-head h2{margin:0;font-size:32px;color:#111111;letter-spacing:0;line-height:1.1}.page-head p{margin:0;color:#666666;max-width:860px;font-size:15px}
.muted,.msd-muted{color:#666666;font-size:13px;margin:0 0 10px}.card,.msd-card{border-radius:8px;background:#fff;border:1px solid #dddddd;padding:16px;margin:12px 0;box-shadow:0 1px 2px rgba(0,0,0,.04)}.card h3,.msd-card h3{margin:4px 0 8px;font-size:17px;color:#111111}.card h5,.msd-card h5{margin-top:0;color:#111111}.card p,.msd-card p{color:#555555;margin:6px 0 10px}.grid,.msd-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.kpi,.msd-value{font-size:26px;font-weight:800;color:#111111}.msd-kpi h3{font-size:13px;color:#666666;margin:0 0 8px}
.dashboard-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:-8px}.dashboard-kpis .msd-card{margin:0}.dashboard-kpi{min-height:118px;padding:18px 20px}.dashboard-kpi .muted{font-size:16px;font-weight:900;color:#333333}.dashboard-kpis-strong .msd-value{font-size:44px;line-height:.92;font-weight:900}.dashboard-kpi p{margin:8px 0 0;color:#666666;font-size:14px;min-height:16px}.dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}.dashboard-grid.mt-3{margin-top:10px}.dashboard-grid .msd-card{margin:0;padding:22px}.dashboard-grid .msd-card h5{font-size:22px;font-weight:900;letter-spacing:0}.dashboard-widget{min-height:0}.status-card,.next-trainings-card{grid-column:span 6}.latest-training-card,.feedback-card,.nps-trend-card{grid-column:span 4}.next-trainings-table th{font-size:14px}.next-trainings-table td{font-size:15px}.next-trainings-card{min-height:0}.feedback-card,.nps-trend-card{min-height:300px}.next-trainings-scroll{overflow:visible}.next-trainings-table{table-layout:fixed;display:block}.next-trainings-table th,.next-trainings-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.next-trainings-table thead{display:table;width:100%;table-layout:fixed}.next-trainings-table tbody{display:block;max-height:360px;overflow-y:auto;overflow-x:hidden}.next-trainings-table tbody tr{display:table;width:100%;table-layout:fixed}.next-trainings-table thead th{position:static}.next-trainings-table th:nth-child(1),.next-trainings-table td:nth-child(1){width:98px}.next-trainings-table th:nth-child(2),.next-trainings-table td:nth-child(2){width:74px}.next-trainings-table th:nth-child(5),.next-trainings-table td:nth-child(5){width:138px}.status-row{display:grid;gap:9px;margin:14px 0}.status-row>div:first-child{display:flex;align-items:center;justify-content:space-between;color:#444444;font-size:17px}.status-row strong{color:#111111;font-size:22px;font-weight:900}.status-bar{height:10px;border-radius:999px;background:#eeeeee;overflow:hidden}.status-bar span{display:block;height:100%;border-radius:999px;background:#de0200}.latest-training-card{min-height:300px}.latest-training-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.latest-training-item{display:grid;gap:5px;align-content:start;min-width:0}.latest-training-photo-link{display:block;border-radius:8px;outline:0}.latest-training-photo-link:focus-visible{box-shadow:0 0 0 3px #f4b8b8}.latest-training-item img{width:100%;aspect-ratio:1.45;border-radius:8px;border:1px solid #e5e5e5;object-fit:cover;display:block;transition:transform .16s ease,box-shadow .16s ease}.latest-training-photo-link:hover img{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,0,0,.14)}.latest-training-item strong{display:block;color:#111111;font-size:12.5px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.latest-training-item span{display:block;color:#666666;font-size:11.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-modal{position:fixed;inset:0;z-index:50;display:none;align-items:center;justify-content:center;padding:32px}.photo-modal:target{display:flex}.photo-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(2px)}.photo-modal-dialog{position:relative;z-index:1;width:min(980px,92vw);background:#fff;border-radius:10px;border:1px solid #dddddd;box-shadow:0 24px 70px rgba(0,0,0,.38);overflow:hidden}.photo-modal-dialog img{width:100%;max-height:72vh;object-fit:contain;background:#111111;display:block}.photo-modal-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;color:#111111}.photo-modal-caption strong{font-size:17px}.photo-modal-caption span{color:#666666;font-size:14px}.photo-modal-close{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:999px;background:#fff;color:#111111;display:grid;place-items:center;font-size:24px;font-weight:800;box-shadow:0 6px 18px rgba(0,0,0,.22)}.feedback-summary{display:grid;gap:12px;margin-top:14px}.feedback-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e5e5e5;border-radius:8px;background:#f7f7f7;padding:12px 13px;box-shadow:inset 4px 0 0 #d0d0d0}.feedback-row strong{display:block;color:#111111;font-size:17px;font-weight:900}.feedback-row span{display:block;color:#666666;font-size:14px;margin-top:3px}.feedback-row b{font-size:32px;line-height:1;color:#111111}.feedback-high{box-shadow:inset 4px 0 0 #22c55e}.feedback-mid{box-shadow:inset 4px 0 0 #f59e0b}.feedback-low{box-shadow:inset 4px 0 0 #ef4444}.feedback-note{margin:4px 0 0;color:#666666;font-size:14px}.nps-trend{margin-top:8px}.nps-trend svg{width:100%;height:auto;display:block}.nps-trend line{stroke:#e5e5e5;stroke-width:1}.nps-trend polyline{fill:none;stroke:#de0200;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.nps-trend circle{fill:#de0200;stroke:#fff;stroke-width:3}.nps-trend text{fill:#666666;font-size:14px;font-weight:800}.current-date-list{display:grid;gap:10px;max-height:280px;overflow-y:auto}.current-date-list div{display:grid;grid-template-columns:86px 1fr;gap:10px;align-items:center;border-bottom:1px solid #e5e5e5;padding-bottom:9px}.current-date-list strong{color:#111111;font-size:13px}.current-date-list span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#555555}.photo-placeholder{height:110px;border-radius:8px;background:#fff5f5;border:1px dashed #de0200;color:#de0200;display:grid;place-items:center;font-weight:900;font-size:24px}.empty-state{margin:10px 0;color:#666666;background:#f7f7f7;border:1px dashed #cfcfcf;border-radius:8px;padding:12px}
.btn{display:inline-block;margin-top:10px;padding:9px 12px;border-radius:8px;border:1px solid #cfcfcf;background:#fff;color:#222222;font-weight:700}.btn:hover{background:#f7f7f7;border-color:#b8b8b8}.btn-primary,.btn-msd{border-color:#de0200;background:#de0200;color:#fff}.btn-primary:hover,.btn-msd:hover{background:#b80100;border-color:#b80100}.btn-outline-secondary{color:#444444;background:#fff}.btn.is-disabled{opacity:.45;pointer-events:none;filter:grayscale(1)}.d-flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-2{gap:8px}.mt-3{margin-top:16px}.mb-3{margin-bottom:16px}.mb-2{margin-bottom:8px}
.alert{border-radius:8px;padding:10px 12px}.alert-success{background:#ecfdf3;border:1px solid #bbf7d0;color:#166534}.alert-danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}.alert-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.alert-info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}
table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}th,td{padding:11px 10px;border-bottom:1px solid #e5e5e5;text-align:left;vertical-align:middle}th{font-size:12.5px;text-transform:uppercase;color:#333333;letter-spacing:.035em;background:#eeeeee;font-weight:800}tbody tr:hover{background:#fafafa}tbody tr:last-child td{border-bottom:0}.table-sm td,.table-sm th{padding:10px 9px}.market-table td:nth-child(2){font-weight:700;color:#111111}.market-table td:nth-child(7),.market-table td:nth-child(8),.market-table td:nth-child(9){white-space:nowrap}.status-pill{display:inline-flex;align-items:center;border:1px solid #d0d0d0;border-radius:999px;padding:4px 11px;background:#f4f4f4;color:#555555;font-size:13px;font-weight:800}.status-neutral{background:#f4f4f4;border-color:#d0d0d0;color:#555555}.status-planned{background:#fffbeb;border-color:#fde68a;color:#92400e}.status-confirmed{background:#ecfdf5;border-color:#bbf7d0;color:#047857}.status-done,.status-completed{background:#ecfdf3;border-color:#86efac;color:#14532d}.status-rescheduled{background:#fffbeb;border-color:#fde68a;color:#92400e}.status-cancelled{background:#fef2f2;border-color:#fecaca;color:#991b1b}.action-list{margin:0;padding-left:18px;color:#555555}.action-list li{margin:6px 0}.planning-note{background:#f7f7f7;border:1px solid #dddddd;border-left:4px solid #de0200;border-radius:8px;padding:12px 14px;color:#444444;margin:0 0 14px}.planning-note strong{color:#111111}
.market-toolbar{margin-top:-8px;padding:14px}.market-filter-grid{display:grid;grid-template-columns:minmax(260px,1.2fr) repeat(3,minmax(150px,.75fr)) auto;gap:10px;align-items:end}.market-filter-grid label{display:flex;flex-direction:column;gap:5px;color:#555555;font-size:13px;font-weight:800}.market-toolbar input,.market-toolbar select{padding:10px 12px;font-size:15px}.market-toolbar .btn{margin-top:0;padding:10px 12px;font-size:14px;white-space:nowrap}.toolbar-actions{display:flex;flex-wrap:nowrap;gap:6px;justify-content:flex-end;align-items:end}.table-headline{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.table-headline h5{margin:0 0 2px}.table-count{display:inline-flex;margin:0;padding:5px 10px;border-radius:999px;background:#f7f7f7;border:1px solid #d8d8d8;color:#333333;font-size:13px;font-weight:800;text-transform:none;letter-spacing:0}.actions-head{display:flex;align-items:center;justify-content:center;gap:8px}.table-scroll{overflow:auto}.market-overview-table{min-width:1180px}.market-overview-table th{white-space:nowrap;font-size:14px;vertical-align:middle;padding-top:14px;padding-bottom:14px}.market-overview-table td{font-size:15px;vertical-align:middle;padding-top:14px;padding-bottom:14px}.market-overview-table td strong{font-size:16px;line-height:1.2}.market-overview-table .msd-muted{margin:3px 0 0;line-height:1.2}.mono-id{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;color:#666666;font-weight:400;font-size:13px}.market-overview-table th:nth-child(n+2),.market-overview-table td:nth-child(n+2){text-align:center}.market-overview-table td:first-child,.market-overview-table th:first-child{text-align:left}.market-overview-table td:nth-child(2){font-weight:400}.market-overview-table td:nth-child(4) .msd-muted,.market-overview-table td:nth-child(5) .msd-muted{text-align:center}.row-actions{display:flex;gap:12px;justify-content:center;white-space:nowrap}.row-actions a{color:#555555;font-size:14px;font-weight:800}.row-actions a:hover{color:#de0200}.sort-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#555555}.sort-link span{color:#de0200;font-size:13px}
.market-detail-page{display:grid;gap:16px;margin-top:-8px}.market-detail-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(340px,.9fr);grid-template-areas:"training contact" "market contact" "questions uploads" "history feedback";gap:14px;align-items:stretch}.market-detail-main,.market-detail-side{display:contents;min-width:0}.training-current-card{grid-area:training}.market-data-card{grid-area:market}.market-detail-two-col{grid-area:questions}.history-card{grid-area:history}.contact-card{grid-area:contact}.uploads-card{grid-area:uploads}.feedback-card-side{grid-area:uploads}.market-notes-side-form{grid-area:feedback}.detail-card{margin:0;padding:18px;border-radius:8px}.detail-card h5{font-size:18px;font-weight:900;margin:0;color:#111111}.section-kicker{display:block;color:#666666;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;margin-bottom:3px}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-title-row .source-note{color:#666666;font-size:12px;font-weight:800}.training-current-card{border-top:3px solid #de0200}.training-current-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #e5e5e5}.training-current-head h5{font-size:24px;line-height:1.05}.training-current-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(150px,1.15fr) auto;gap:10px;align-items:end;margin-top:14px}.training-current-strip>div,.training-current-strip label{display:grid;gap:4px;min-width:0;background:#f7f7f7;border:1px solid #e5e5e5;border-radius:8px;padding:10px 11px}.training-current-strip span,.detail-field span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#666666;font-weight:900;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.training-current-strip strong{color:#111111;font-size:16px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.training-current-strip select{padding:0;border:0;background:transparent;color:#111111;font-weight:800;font:inherit}.training-current-strip .btn{margin:0;white-space:nowrap;align-self:stretch;display:flex;align-items:center}.definition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.market-definition-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-data-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.market-data-column{display:grid;gap:10px;align-content:start}.market-data-grid-fixed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.detail-field{display:flex;flex-direction:column;gap:5px;min-width:0;background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:10px 11px}.detail-field strong,.detail-field select{font-size:15px;color:#111111;font-weight:800;line-height:1.25}.detail-field select{padding:0;border:0;background:transparent}.detail-field.wide,.market-definition-grid .detail-field:first-child{grid-column:1/-1}.source-chip{display:inline-flex;border:1px solid #d0d0d0;border-radius:999px;background:#f4f4f4;color:#555555;padding:2px 7px;font-size:10px;line-height:1;font-style:normal;text-transform:none;letter-spacing:0}.market-detail-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch}.question-list{display:grid;gap:10px}.question-list label{display:grid;gap:6px}.question-list label>span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#666666;font-weight:900}.question-list textarea,.notes-textarea{width:100%;box-sizing:border-box;min-height:72px}.market-detail-two-col .detail-card{height:100%;box-sizing:border-box}.open-questions-card,.notes-card{display:flex;flex-direction:column}.open-questions-card .question-list{flex:1}.open-questions-card .question-list label{flex:1}.open-questions-card textarea{flex:1}.notes-textarea.compact{min-height:0;flex:1}.mini-action{font-size:13px;font-weight:900;color:#de0200;white-space:nowrap}.primary-contact-badge{display:inline-flex;align-items:center;width:max-content;border:1px solid #f4b8b8;background:#fff5f5;color:#a30100;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900;margin-bottom:10px}.contact-summary{display:grid;gap:3px;border:1px solid #e5e5e5;background:#f7f7f7;border-radius:8px;padding:11px 12px;margin-bottom:10px}.contact-summary strong{color:#111111;font-size:16px}.contact-summary span{color:#666666;font-size:13px;font-weight:800}.contact-fields{grid-template-columns:1fr 1fr}.secondary-contact-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:10px 11px;border:1px dashed #cfcfcf;border-radius:8px;color:#666666;background:#f7f7f7}.secondary-contact-row strong{color:#111111}.uploads-card .segmented{display:inline-flex;border:1px solid #d0d0d0;border-radius:999px;background:#f7f7f7;padding:2px;gap:2px}.segmented span{display:inline-flex;padding:4px 9px;border-radius:999px;color:#555555;font-size:12px;font-weight:900}.segmented .active{background:#111111;color:#fff}.upload-stack{display:grid;gap:10px}.upload-dropzone{display:grid;gap:6px;align-content:center;min-height:116px;background:#f7f7f7;border:1px dashed #cfcfcf;border-radius:8px;padding:14px;color:#666666}.upload-dropzone.compact{min-height:84px;margin:0}.upload-dropzone strong{color:#111111;font-size:15px}.upload-dropzone span{font-size:13px}.upload-dropzone input{padding:0;border:0;background:transparent;color:#666666;min-height:0}.file-chip-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.file-chip-list span{border:1px solid #d0d0d0;background:#f7f7f7;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;color:#555555}.empty-state.compact{margin-top:10px}.feedback-card-side{border-top:3px solid #de0200}.feedback-card-side .msd-muted{font-size:13px;margin-bottom:12px}.feedback-side-grid{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:stretch}.qr-placeholder{width:160px;height:160px;background-color:#fff;background-image:linear-gradient(#e5e5e5 1px,transparent 1px),linear-gradient(90deg,#e5e5e5 1px,transparent 1px);background-size:16px 16px;border:1px solid #d8d8d8;border-radius:8px;box-shadow:inset 0 0 0 10px #fff;display:grid;place-items:center;margin:0}.qr-placeholder.small{width:108px;height:108px;background-size:12px 12px}.qr-placeholder b{background:#111111;color:#fff;border-radius:8px;padding:8px 10px;font-weight:900}.nps-summary{display:grid;align-content:center;gap:2px;background:#f7f7f7;border:1px solid #e5e5e5;border-radius:8px;padding:12px}.nps-summary span,.nps-summary em{color:#666666;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;font-style:normal}.nps-summary strong{font-size:42px;line-height:.95;color:#111111}.feedback-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.feedback-mini-stats div{border:1px solid #e5e5e5;background:#f7f7f7;border-radius:8px;padding:9px}.feedback-mini-stats strong{display:block;color:#111111;font-size:20px;line-height:1}.feedback-mini-stats span{display:block;color:#666666;font-size:11px;font-weight:900;margin-top:3px}.detail-popup-link{font-size:16px;font-weight:900;color:#de0200}.detail-mini-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:45;padding:24px}.detail-mini-modal:target{display:flex}.detail-mini-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}.detail-mini-modal>div{position:relative;z-index:1;background:#fff;border:1px solid #dddddd;border-radius:8px;padding:22px;width:min(520px,90vw);max-height:86vh;overflow:auto;box-shadow:0 20px 55px rgba(0,0,0,.28)}.feedback-detail-modal>div{width:min(760px,92vw)}.feedback-detail-head{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:18px;align-items:start;margin:0 0 14px}.feedback-detail-title{font-size:30px!important;line-height:1!important;font-weight:950!important;margin:0 0 6px!important;color:#111111!important}.feedback-detail-head .msd-muted{margin:0!important;font-size:14px!important;line-height:1.35}.feedback-nps-donut{width:112px;height:112px;border-radius:999px;display:grid;place-items:center;align-content:center;justify-self:end;background:conic-gradient(#de0200 calc(var(--nps) * 3.6deg),#eeeeee 0);position:relative;color:#111111}.feedback-nps-donut:before{content:"";position:absolute;inset:12px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px #e5e5e5}.feedback-nps-donut strong,.feedback-nps-donut span{position:relative;z-index:1}.feedback-nps-donut strong{font-size:32px;font-weight:950;line-height:1}.feedback-nps-donut span{font-size:11px;font-weight:900;text-transform:uppercase;color:#666666;letter-spacing:.04em}.feedback-result-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 16px}.feedback-result-summary div{border:1px solid #e5e5e5;border-radius:8px;background:#f7f7f7;padding:10px 11px}.feedback-result-summary strong{display:block;font-size:22px;line-height:1;color:#111111;font-weight:950}.feedback-result-summary span{display:block;margin-top:4px;color:#666666;font-size:12px;font-weight:900}.feedback-score-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 46px;gap:12px;align-items:center;padding:9px 0;border-top:1px solid #eeeeee}.feedback-score-row:first-of-type{border-top:0}.feedback-score-row span,.feedback-text-row>span{display:block;color:#333333;font-size:14px;font-weight:800;line-height:1.25}.feedback-score-row em{display:block;margin-top:3px;color:#777777;font-size:12px;font-style:normal;font-weight:800}.feedback-score-row strong{font-size:20px!important;text-align:right;color:#111111!important}.feedback-score-meter{height:9px;border-radius:999px;background:#eeeeee;overflow:hidden}.feedback-score-meter b{display:block;height:100%;border-radius:999px;background:#de0200}.feedback-text-row{display:grid;gap:7px;padding:10px 0;border-top:1px solid #eeeeee}.feedback-text-row ul{margin:0;padding:0;display:grid;gap:6px;list-style:none}.feedback-text-row li{border:1px solid #e5e5e5;border-radius:8px;background:#fafafa;padding:8px 10px;color:#555555;font-size:13px;line-height:1.3}.feedback-question-block{gap:4px}@media (max-width:760px){.feedback-detail-head{grid-template-columns:1fr}.feedback-nps-donut{justify-self:start}.feedback-result-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.feedback-score-row{grid-template-columns:1fr}.feedback-score-row strong{text-align:left!important}.feedback-score-meter{width:100%}}.training-plan-modal>div{width:min(720px,92vw)}.training-plan-head{display:grid;gap:8px;margin:0 0 22px}.training-plan-head h5{font-size:30px;line-height:1;font-weight:900;margin:0;color:#111111}.training-plan-head p{font-size:22px;line-height:1.2;font-weight:800;color:#666666;margin:0}.detail-mini-close{position:absolute;top:10px;right:12px;font-size:22px;font-weight:900}.feedback-question-block{display:grid;gap:7px;border-top:1px solid #e5e5e5;padding-top:12px;margin-top:12px}.feedback-question-block strong{font-size:16px;color:#111111}.feedback-question-block span{display:block;color:#555555;font-size:14px}.history-card{min-height:300px;display:flex;flex-direction:column}.history-card .table-scroll{flex:1}.history-card .section-title-row{margin-bottom:10px}.detail-history-table th{font-size:13px}.detail-history-table td{font-size:15px}@media (max-width:1280px){.market-detail-layout{grid-template-columns:1fr;grid-template-areas:"training" "market" "contact" "questions" "uploads" "history" "feedback"}.market-detail-main,.market-detail-side{display:contents}.market-detail-side{grid-template-columns:repeat(3,minmax(0,1fr))}.feedback-card-side,.uploads-card,.contact-card{min-width:0}.training-current-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.training-current-strip .btn{grid-column:auto}}@media (max-width:900px){.market-detail-side,.market-detail-two-col,.market-definition-grid,.market-data-columns,.market-data-grid-fixed,.definition-grid,.contact-fields,.training-current-strip{grid-template-columns:1fr}.feedback-side-grid{grid-template-columns:96px 1fr}.topbar-heading,.topbar-actions{transform:none}}
.downloads-page-card{margin-top:-8px;padding:18px}.downloads-actions-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.downloads-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto}.downloads-tabs a{display:inline-flex;padding:9px 14px;border-radius:999px;color:#333333;font-size:16px;font-weight:900}.downloads-tabs a.active{background:#111111;color:#fff}.downloads-filter-row{display:grid;grid-template-columns:minmax(260px,1.3fr) repeat(3,minmax(150px,.7fr)) auto;gap:10px;margin-bottom:14px;align-items:end}.downloads-filter-row label{display:flex;flex-direction:column;gap:5px;color:#555555;font-size:13px;font-weight:800}.downloads-filter-actions{display:flex;align-items:end}.downloads-filter-actions .btn{margin:0;white-space:nowrap;padding:10px 12px;font-size:14px}.downloads-filter-row input,.downloads-filter-row select{padding:10px 12px;font-size:15px}.downloads-table-wrap{border:1px solid #e5e5e5;border-radius:8px;overflow:auto}.downloads-table{min-width:1280px;table-layout:fixed}.downloads-table th{font-size:13px}.downloads-table td{font-size:15px}.downloads-table th:first-child,.downloads-table td:first-child{width:36px;text-align:center}.downloads-table th:nth-child(2),.downloads-table td:nth-child(2){width:28%}.downloads-table th:nth-child(3),.downloads-table td:nth-child(3){width:13%}.downloads-table th:nth-child(4),.downloads-table td:nth-child(4){width:11%}.downloads-table th:nth-child(5),.downloads-table td:nth-child(5){width:13%}.downloads-table th:nth-child(6),.downloads-table td:nth-child(6){width:13%}.downloads-table th:nth-child(7),.downloads-table td:nth-child(7){width:10%}.downloads-table th:nth-child(8),.downloads-table td:nth-child(8){width:8%}.downloads-table th:nth-child(9),.downloads-table td:nth-child(9){width:14%;text-align:right}.downloads-table input[type="checkbox"]{accent-color:#de0200}.downloads-table td strong{color:#111111}.file-type-chip{display:inline-flex;align-items:center;gap:7px;color:#111111;font-weight:900}.file-type-chip b{display:inline-grid;place-items:center;min-width:32px;height:22px;border-radius:5px;background:#f4f4f4;border:1px solid #d0d0d0;color:#de0200;font-size:10px;line-height:1}.compact-action{margin:0;padding:7px 10px;font-size:13px}.download-row-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;white-space:nowrap}.danger-action{color:#de0200;border-color:#f4b8b8;background:#fff5f5}.danger-action:hover{color:#fff;background:#de0200;border-color:#de0200}.downloads-selection-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid #e5e5e5;margin-top:14px;padding-top:14px;color:#666666;font-size:13px;font-weight:900}.downloads-selection-bar .btn{margin:0}.download-upload-modal>div{width:min(680px,92vw)}.delete-download-modal>div{width:min(440px,92vw)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.modal-actions .btn{margin:0}@media (max-width:900px){.downloads-actions-row{align-items:flex-start;flex-direction:column}.downloads-toolbar-actions{width:100%;justify-content:flex-start}.downloads-filter-row{grid-template-columns:1fr}.downloads-selection-bar{align-items:stretch;flex-direction:column}.downloads-selection-bar .btn{width:max-content}}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.form-grid label{display:flex;flex-direction:column;gap:6px;color:#444444;font-size:13px;font-weight:700}.form-grid .wide{grid-column:1/-1}input,select,textarea{border:1px solid #cfcfcf;border-radius:8px;background:#fff;color:#111111;padding:10px;font:inherit;min-height:20px}input:focus,select:focus,textarea:focus{outline:2px solid #f4b8b8;border-color:#de0200}textarea{resize:vertical}
@media (max-width:1200px){.market-filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.toolbar-actions{grid-column:1/-1;flex-wrap:wrap;justify-content:flex-start}}
@media (max-width:1100px){.status-card,.next-trainings-card,.latest-training-card,.feedback-card,.nps-trend-card{grid-column:span 6}}@media (max-width:900px){.dashboard-grid{grid-template-columns:1fr}.status-card,.next-trainings-card,.latest-training-card,.feedback-card,.nps-trend-card{grid-column:auto}.latest-training-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.app{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #000000}.nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.main{padding:0 14px 14px}.topbar{min-height:72px;margin:0 -14px;padding:0 14px}.topbar-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}.flight-picker select{min-width:240px}.page-head h2{font-size:24px}.market-table td:nth-child(7),.market-table td:nth-child(8),.market-table td:nth-child(9){white-space:normal}}
.app-login{display:block;min-height:100vh;background:#f3f3f3}.app-login .main{max-width:520px;margin:0 auto;padding:12vh 18px 18px}.app-login .topbar{display:none}.login-card{max-width:460px}
.user-toolbar{margin-top:-8px;padding:14px}.user-filter-grid{display:grid;grid-template-columns:minmax(260px,1.25fr) repeat(3,minmax(150px,.75fr)) auto;gap:10px;align-items:end}.user-filter-grid label{display:flex;flex-direction:column;gap:5px;color:#555555;font-size:13px;font-weight:800}.user-filter-grid input,.user-filter-grid select{padding:10px 12px;font-size:15px}.user-list-card{margin-top:12px}.user-overview-table{min-width:1240px}.user-overview-table th{white-space:nowrap;font-size:14px;vertical-align:middle}.user-overview-table td{font-size:15px;vertical-align:middle}.user-overview-table th:nth-child(1),.user-overview-table td:nth-child(1){width:230px}.user-overview-table th:nth-child(2),.user-overview-table td:nth-child(2){width:150px}.user-overview-table th:nth-child(3),.user-overview-table td:nth-child(3){width:230px}.user-overview-table th:nth-child(4),.user-overview-table td:nth-child(4){width:150px}.user-overview-table th:nth-child(5),.user-overview-table td:nth-child(5){width:190px}.user-overview-table th:nth-child(n+2),.user-overview-table td:nth-child(n+2){text-align:center}.user-overview-table th:first-child,.user-overview-table td:first-child{text-align:left}.user-name-cell{display:flex;align-items:center;gap:10px;min-width:0}.user-mini-avatar{width:38px;height:38px;border-radius:999px;background:#111111;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:900;flex:0 0 38px}.user-name-cell strong{display:block;color:#111111;font-size:16px;line-height:1.2}.user-modal>div{width:min(680px,92vw)}@media (max-width:1200px){.user-filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.user-filter-grid .toolbar-actions{grid-column:1/-1;justify-content:flex-start}}@media (max-width:760px){.user-filter-grid{grid-template-columns:1fr}}
.user-row-actions{justify-content:center}.user-row-actions .compact-action{min-width:68px;text-align:center}
.market-row-actions{justify-content:center;gap:7px}.market-row-actions .compact-action{text-align:center}
.profile-page{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);grid-template-areas:"summary security" "edit security";gap:14px;margin-top:-8px}.profile-summary-card{grid-area:summary;margin:0}.profile-edit-card{grid-area:edit;margin:0}.profile-security-card{grid-area:security;margin:0}.profile-hero-row{display:flex;align-items:center;gap:16px;margin-bottom:16px}.profile-hero-row h2{margin:0;color:#111111;font-size:30px;line-height:1}.profile-hero-row p{margin:5px 0 0;color:#666666;font-size:16px;font-weight:800}.profile-hero-row .status-pill{margin-left:auto}.profile-avatar-large{width:74px;height:74px;border-radius:999px;background:#111111;color:#fff;display:grid;place-items:center;font-size:24px;font-weight:900;flex:0 0 74px}.profile-definition-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-action-list{display:grid;gap:10px}.profile-action-list>div{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;border:1px solid #e5e5e5;border-radius:8px;background:#f7f7f7;padding:12px}.profile-action-list strong{color:#111111;font-size:16px}.profile-action-list span{color:#666666;font-size:13px;font-weight:800}.profile-action-list .btn{grid-column:2;grid-row:1/3}@media (max-width:1100px){.profile-page{grid-template-columns:1fr;grid-template-areas:"summary" "edit" "security"}.profile-definition-grid{grid-template-columns:1fr 1fr}}@media (max-width:760px){.profile-definition-grid{grid-template-columns:1fr}.profile-hero-row{align-items:flex-start;flex-direction:column}.profile-hero-row .status-pill{margin-left:0}}
.user-name-cell>div{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:38px}.user-id-text{display:block;margin:0;color:#666666;font-family:inherit;font-size:13px;font-weight:700;line-height:1.2;letter-spacing:0}
.user-overview-table td{padding-top:16px;padding-bottom:16px}.user-name-cell{gap:13px}.user-name-cell>div{gap:4px;min-height:44px}.user-id-text{font-weight:400;font-size:14px}.user-mini-avatar{width:44px;height:44px;flex-basis:44px}
.market-id-text{display:block;margin:4px 0 0;color:#666666;font-family:inherit;font-size:14px;font-weight:400;line-height:1.2;letter-spacing:0}.market-overview-table{min-width:1360px}.market-overview-table td{padding-top:16px;padding-bottom:16px}
.downloads-toolbar-card{margin-bottom:12px}.downloads-list-card{margin-top:0}.downloads-toolbar-card .downloads-filter-row{margin-bottom:0}.downloads-table th:nth-child(n+3),.downloads-table td:nth-child(n+3){text-align:center}.downloads-table th:nth-child(9),.downloads-table td:nth-child(9){text-align:center}.downloads-table .download-row-actions{justify-content:center}.downloads-table .file-type-chip{justify-content:center}
.nav-main{flex:0}.sidebar-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 2px 0;padding:12px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:rgba(255,255,255,.035);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}.sidebar-quick-actions .quick-action{height:42px;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);display:grid;place-items:center;color:#b0b0b0}.sidebar-quick-actions .quick-action:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16);color:#fff}.sidebar-quick-actions .quick-action.active{background:rgba(222,2,0,.14);border-color:rgba(222,2,0,.34);color:#de0200}.sidebar-quick-actions .nav-icon{width:20px;height:20px;color:currentColor}
@media (max-width:760px){.sidebar-quick-actions{grid-template-columns:repeat(3,42px);justify-content:start}.nav-main{flex:0}}
.topbar-quick-actions{display:flex;align-items:center;gap:8px}.topbar-icon-action{width:40px;height:40px;border-radius:8px;border:1px solid #d0d0d0;background:#fff;color:#555555;display:grid;place-items:center}.topbar-icon-action:hover{background:#f7f7f7;border-color:#b8b8b8;color:#111111}.topbar-icon-action.active{border-color:#f4b8b8;background:#fff5f5;color:#de0200}.topbar-icon-action .nav-icon{width:18px;height:18px;color:currentColor}@media (max-width:900px){.topbar-quick-actions{order:3}.topbar-icon-action{width:38px;height:38px}}
.app{grid-template-columns:288px 1fr}.nav{gap:7px}.nav a{padding:13px 14px;font-size:17px}.nav-icon{width:20px;height:20px;flex-basis:20px}.user-chip{border-radius:8px;padding:4px 6px 4px 0}.user-chip:hover{background:#eeeeee}.user-meta span{font-weight:400;color:#666666}
@media (max-width:760px){.app{grid-template-columns:1fr}.nav a{font-size:16px;padding:11px 12px}.nav-icon{width:18px;height:18px;flex-basis:18px}}
.user-overview-table{min-width:1160px}.user-overview-table th:nth-child(3),.user-overview-table td:nth-child(3){width:260px}.user-overview-table th:nth-child(4),.user-overview-table td:nth-child(4){width:190px}.user-overview-table th:nth-child(5),.user-overview-table td:nth-child(5){width:130px}.user-overview-table th:nth-child(6),.user-overview-table td:nth-child(6){width:150px}.user-overview-table td:nth-child(3) strong{font-size:15px;line-height:1.2;color:#111111}
.user-overview-table{min-width:1320px;table-layout:fixed}.user-overview-table th:nth-child(1),.user-overview-table td:nth-child(1){width:20%}.user-overview-table th:nth-child(2),.user-overview-table td:nth-child(2){width:12%}.user-overview-table th:nth-child(3),.user-overview-table td:nth-child(3){width:24%}.user-overview-table th:nth-child(4),.user-overview-table td:nth-child(4){width:18%}.user-overview-table th:nth-child(5),.user-overview-table td:nth-child(5){width:8%}.user-overview-table th:nth-child(6),.user-overview-table td:nth-child(6){width:11%}.user-overview-table th:nth-child(7),.user-overview-table td:nth-child(7){width:7%}.user-overview-table td:nth-child(3) strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-overview-table td:nth-child(4){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-placeholder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-placeholder-grid .empty-state{margin:0;min-height:92px;display:grid;align-content:center}@media (max-width:900px){.profile-placeholder-grid{grid-template-columns:1fr}}
.profile-market-card{grid-column:1/-1;margin:0}.profile-upload-box{display:flex;align-items:center;gap:14px;border:1px dashed #cfcfcf;border-radius:8px;background:#f7f7f7;padding:14px}.profile-upload-avatar{width:58px;height:58px;border-radius:999px;background:#111111;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:900;flex:0 0 58px}.profile-upload-box strong{display:block;color:#111111;font-size:15px}.profile-upload-box span{display:block;color:#666666;font-size:13px;margin:2px 0 8px}.profile-upload-box input{border:0;background:transparent;padding:0}.profile-form input:disabled{background:#f7f7f7;color:#666666}.user-detail-page{margin-top:-8px}

/* Profile v2 */
.profile-page-v2{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);grid-template-areas:"data photo" "data security" "market market";align-items:start;gap:14px;margin-top:-8px}.profile-page-v2 .profile-data-card{grid-area:data;margin:0}.profile-page-v2 .profile-photo-card{grid-area:photo;margin:0}.profile-page-v2 .profile-security-card{grid-area:security;margin:0}.profile-page-v2 .profile-market-card{grid-area:market;grid-column:auto;margin:0}.profile-data-title h5{font-size:24px;margin-top:2px}.profile-locked-form{grid-template-columns:repeat(2,minmax(0,1fr))}.locked-field>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.field-lock{width:28px;height:28px;border:1px solid #d8d8d8;border-radius:8px;background:#fff;color:#666;display:inline-grid;place-items:center;padding:0;cursor:pointer}.field-lock .nav-icon{width:15px;height:15px}.field-lock:hover{border-color:#de0200;color:#de0200}.locked-field input:disabled,.locked-field select:disabled{background:#f7f7f7;color:#111;opacity:1}.profile-button-row{display:flex;gap:10px;align-items:center}.profile-photo-card{display:grid;gap:14px}.profile-photo-preview{display:flex;align-items:center;gap:14px;border:1px solid #e5e5e5;border-radius:8px;background:#f7f7f7;padding:16px}.profile-photo-preview strong{display:block;color:#111;font-size:18px;line-height:1.1}.profile-photo-preview span{display:block;color:#666;font-weight:800;margin-top:4px}.profile-avatar-xl{width:96px;height:96px;border-radius:999px;background:#111;color:#fff;display:grid;place-items:center;font-size:30px;font-weight:900;flex:0 0 96px}.profile-photo-upload{border:1px dashed #cfcfcf;border-radius:8px;background:#fff;padding:14px;display:grid;gap:8px;color:#444;font-weight:800}.profile-photo-upload span{font-size:13px;text-transform:uppercase;color:#666;letter-spacing:.06em}.profile-photo-upload input{border:0;background:transparent;padding:0}.profile-market-card-v2{display:grid;gap:14px}.profile-market-form{grid-template-columns:260px 260px minmax(320px,1fr)}.market-user-create{border:1px solid #e5e5e5;border-radius:8px;background:#f7f7f7;padding:14px;display:grid;gap:12px}.market-user-create strong{display:block;color:#111;font-size:16px}.market-user-create span{display:block;color:#666;font-weight:800;font-size:13px;margin-top:2px}.market-user-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}@media (max-width:1100px){.profile-page-v2{grid-template-columns:1fr;grid-template-areas:"data" "photo" "security" "market"}.profile-locked-form,.profile-market-form,.market-user-grid{grid-template-columns:1fr 1fr}}@media (max-width:760px){.profile-locked-form,.profile-market-form,.market-user-grid{grid-template-columns:1fr}.profile-button-row{align-items:stretch;flex-direction:column}.profile-photo-preview{align-items:flex-start;flex-direction:column}}

/* Profile detail tuning */
.profile-page-v2 .msd-card h5{font-size:22px;font-weight:950;line-height:1.1}.profile-page-v2 .profile-data-title h5{font-size:30px;font-weight:950}.profile-data-title{align-items:center;margin-bottom:18px}.profile-card-lock{width:38px;height:38px;border:1px solid #d8d8d8;border-radius:8px;background:#fff;color:#666;display:grid;place-items:center;padding:0;cursor:pointer}.profile-card-lock .nav-icon{width:18px;height:18px}.profile-card-lock:hover,.profile-data-card.is-unlocked .profile-card-lock{border-color:#de0200;background:#fff5f5;color:#de0200}.profile-locked-form label>span{display:block}.profile-locked-form input[data-unlockable]:not(:disabled){background:#fff;border-color:#de0200;box-shadow:0 0 0 2px rgba(222,2,0,.08)}.profile-photo-img{width:96px;height:96px;border-radius:999px;object-fit:cover;display:block;flex:0 0 96px;border:3px solid #fff;box-shadow:0 0 0 1px #d8d8d8}.profile-photo-preview{min-height:118px}.profile-market-card-v2 .section-title-row h5{font-size:24px}.profile-security-card .section-title-row h5,.profile-photo-card .section-title-row h5{font-size:22px}

/* Profile polish pass */
.profile-page-v2{grid-template-columns:minmax(0,2fr) minmax(360px,.95fr);grid-template-areas:"data photo" "market security";align-items:start;gap:16px;margin-top:-10px}.profile-page-v2 .msd-card{padding:18px 18px 16px}.profile-page-v2 .profile-data-card{align-self:start}.profile-data-title{margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #eeeeee}.profile-page-v2 .profile-data-title h5{font-size:30px;letter-spacing:0}.profile-page-v2 .msd-card h5{font-size:24px;letter-spacing:0}.profile-locked-form{gap:12px 14px}.profile-locked-form label{gap:6px;font-size:12px;font-weight:900;color:#444}.profile-locked-form input,.profile-locked-form select{min-height:38px;padding:8px 11px;border-radius:7px;font-size:14px;font-weight:800}.profile-locked-form .wide{margin-top:8px}.profile-card-lock{width:34px;height:34px;border-radius:7px}.profile-card-lock .nav-icon{width:16px;height:16px}.profile-photo-card,.profile-security-card{gap:12px}.profile-photo-card .section-title-row,.profile-security-card .section-title-row{margin-bottom:10px}.profile-photo-preview{min-height:auto;padding:14px;gap:14px;border-radius:8px}.profile-photo-preview strong{font-size:17px}.profile-photo-preview span{font-size:14px}.profile-photo-img{width:88px;height:88px;flex:0 0 88px}.profile-photo-sample{position:relative;overflow:hidden;background:linear-gradient(145deg,#f5f5f5,#d4d4d4);border-radius:999px;border:3px solid #fff;box-shadow:0 0 0 1px #d0d0d0}.profile-photo-sample:before{content:"";position:absolute;left:27px;top:18px;width:34px;height:34px;border-radius:50%;background:#f1c6a8;box-shadow:0 -14px 0 6px #171717}.profile-photo-sample:after{content:"";position:absolute;left:16px;right:16px;bottom:-10px;height:45px;border-radius:45px 45px 0 0;background:#111;box-shadow:inset 0 8px 0 #de0200}.profile-photo-upload{padding:12px;border-radius:8px;gap:6px}.profile-photo-upload span{font-size:12px}.profile-action-list>div{padding:12px;border-radius:8px}.profile-action-list strong{font-size:16px}.profile-market-card-v2{gap:14px}.profile-market-card-v2 .section-title-row{align-items:center;margin-bottom:2px}.profile-market-card-v2 .section-title-row h5{font-size:24px}.profile-market-form{grid-template-columns:repeat(2,minmax(0,240px));gap:12px}.profile-market-form .wide{grid-column:1/-1}.market-user-create{padding:12px;border-radius:8px}.market-user-create strong{font-size:16px}.market-user-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.market-user-grid input,.profile-market-form input,.profile-market-form select{min-height:38px;padding:8px 11px;font-size:14px}.profile-button-row .btn,.profile-locked-form .btn{margin-top:0}@media (max-width:1100px){.profile-page-v2{grid-template-columns:1fr;grid-template-areas:"data" "photo" "security" "market"}.profile-market-form,.market-user-grid{grid-template-columns:1fr 1fr}}@media (max-width:760px){.profile-market-form,.market-user-grid{grid-template-columns:1fr}.profile-page-v2 .msd-card{padding:16px}}

/* Profile right column stack */
.profile-page-v2{grid-template-columns:minmax(0,2fr) minmax(360px,.95fr);grid-template-areas:"data side" "market side";align-items:start}.profile-side-stack{grid-area:side;display:grid;gap:16px;align-content:start}.profile-side-stack .msd-card{margin:0}.profile-page-v2 .profile-photo-card,.profile-page-v2 .profile-security-card{grid-area:auto}.profile-photo-preview strong{font-size:21px;font-weight:950;line-height:1.08}.profile-photo-preview span{font-size:17px;font-weight:400;line-height:1.15;color:#666}.profile-photo-preview{gap:16px}.profile-photo-img{width:96px;height:96px;flex-basis:96px}@media (max-width:1100px){.profile-page-v2{grid-template-columns:1fr;grid-template-areas:"data" "side" "market"}.profile-side-stack{grid-area:side}}

/* Profile compact cleanup */
.profile-data-title{margin-bottom:10px;padding-bottom:0;border-bottom:0}.profile-photo-card .section-title-row,.profile-security-card .section-title-row{margin-bottom:6px}.profile-side-stack .source-note{display:none}.profile-locked-form{gap:11px 14px}.profile-locked-form label{min-height:60px}.profile-locked-form input,.profile-locked-form select{height:42px;min-height:42px;box-sizing:border-box;line-height:1.2}.profile-system-field{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:60px;border:0;background:transparent;padding:0}.profile-system-field span{color:#444;font-size:12px;font-weight:900}.profile-system-field strong{display:flex;align-items:center;min-height:42px;color:#666;font-size:14px;font-weight:800}.profile-page-v2 .profile-data-card{padding-bottom:14px}.profile-photo-preview{padding:12px}.profile-photo-upload{padding:10px 12px}.profile-security-card{padding-top:16px!important;padding-bottom:14px!important}.profile-security-card .section-title-row h5{font-size:22px}.profile-action-list>div{padding:10px 11px;min-height:0}.profile-action-list strong{font-size:15px}.profile-action-list span{font-size:12px}.profile-action-list .btn{padding:6px 10px;font-size:12px}.profile-page-v2 .profile-photo-card h5,.profile-page-v2 .profile-security-card h5{font-size:24px}

/* Profile strict sizing */
.profile-page-v2 .profile-data-card{padding-top:16px}.profile-page-v2 .profile-data-title{margin-bottom:4px!important;padding-bottom:0!important}.profile-page-v2 .profile-photo-card .section-title-row{margin-bottom:4px!important}.profile-page-v2 .profile-locked-form{gap:10px 14px!important}.profile-page-v2 .profile-locked-form label{min-height:52px!important;gap:4px!important}.profile-page-v2 .profile-locked-form input,.profile-page-v2 .profile-locked-form select{height:38px!important;min-height:38px!important;max-height:38px!important;padding:7px 10px!important;box-sizing:border-box!important;font-size:14px!important;line-height:20px!important;border-radius:7px!important}.profile-page-v2 .profile-system-field{min-height:52px!important;gap:4px!important}.profile-page-v2 .profile-system-field strong{min-height:38px!important;height:38px!important;align-items:center}.profile-page-v2 .profile-data-title h5,.profile-page-v2 .profile-photo-card h5{line-height:1!important;margin:0!important}.profile-page-v2 .profile-card-lock{width:32px;height:32px}.profile-page-v2 .profile-photo-preview{margin-top:0!important}

/* Profile header breathing room */
.profile-page-v2 .profile-data-title{margin-bottom:12px!important}.profile-page-v2 .profile-photo-card .section-title-row{margin-bottom:12px!important}

/* Profile title actions */
.profile-title-actions{display:flex;align-items:center;gap:8px}.profile-save-top{margin:0;padding:8px 12px;font-size:13px;line-height:1}.profile-page-v2 .profile-data-title{align-items:center}.profile-page-v2 .profile-button-row{margin-top:4px}

/* Market employee details cleanup */
.profile-market-card-v2{gap:12px}.profile-market-card-v2 .section-title-row{margin-bottom:0!important}.profile-market-section{display:grid;gap:10px;border:1px solid #e5e5e5;border-radius:8px;background:#fafafa;padding:12px}.profile-market-section>strong,.market-user-create-head strong{display:block;color:#111;font-size:17px;font-weight:950;line-height:1.1}.profile-market-section>span,.market-user-create-head span{display:block;margin-top:3px;color:#666;font-size:13px;font-weight:800}.profile-market-assignment-form{grid-template-columns:minmax(320px,1.1fr) minmax(170px,.45fr) minmax(170px,.45fr);align-items:end}.profile-market-assignment-form .wide{grid-column:auto}.market-user-create-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.market-user-create-head .btn{margin:0;white-space:nowrap}.profile-market-card-v2 .market-user-create{background:#fafafa}.profile-market-card-v2 .market-user-grid{margin-top:2px}@media (max-width:900px){.profile-market-assignment-form,.market-user-grid{grid-template-columns:1fr}.market-user-create-head{align-items:stretch;flex-direction:column}.market-user-create-head .btn{width:max-content}}

/* Market employee profile only */
.profile-market-card-v2{gap:12px}.profile-market-card-v2 .section-title-row{margin-bottom:4px!important}.profile-market-card-v2 .source-note{font-size:13px}.profile-market-card-v2 .market-user-create,.profile-market-card-v2 .profile-market-section{display:none!important}.profile-market-card-v2 .profile-market-assignment-form{grid-template-columns:minmax(360px,1fr) minmax(180px,.42fr) minmax(180px,.42fr);align-items:end;border:1px solid #e5e5e5;border-radius:8px;background:#fafafa;padding:12px}.profile-market-card-v2 .profile-market-assignment-form .wide{grid-column:auto}@media (max-width:900px){.profile-market-card-v2 .profile-market-assignment-form{grid-template-columns:1fr}}

/* Usergroup fields inside profile card */
.profile-page-v2 .profile-locked-form label.wide{grid-column:1/-1}.profile-page-v2 .profile-locked-form label.wide input{width:100%}.profile-page-v2 .profile-market-card-v2{display:none!important}

/* Editable select highlighting */
.profile-locked-form select[data-unlockable]:not(:disabled){background:#fff!important;border-color:#de0200!important;box-shadow:0 0 0 2px rgba(222,2,0,.08)!important;color:#111!important}

/* Profile photo interaction */
.profile-photo-preview{align-items:center;padding:16px!important}.profile-photo-trigger{position:relative;display:block;width:132px;height:132px;flex:0 0 132px;margin:0;cursor:pointer}.profile-photo-trigger input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.profile-photo-trigger .profile-photo-img{width:132px!important;height:132px!important;display:block}.profile-photo-trigger .profile-photo-sample:before{left:39px;top:28px;width:48px;height:48px;box-shadow:0 -18px 0 8px #171717}.profile-photo-trigger .profile-photo-sample:after{left:20px;right:20px;bottom:-12px;height:60px;border-radius:60px 60px 0 0}.profile-photo-actions{position:absolute;inset:auto 8px 8px 8px;display:flex;gap:6px;justify-content:center;opacity:0;transform:translateY(4px);transition:.15s ease}.profile-photo-trigger:hover .profile-photo-actions{opacity:1;transform:translateY(0)}.profile-photo-actions b,.profile-photo-actions label,.profile-photo-actions button{border:1px solid rgba(0,0,0,.18);border-radius:7px;background:#fff;color:#111;font-size:11px;font-weight:900;padding:5px 7px;line-height:1}.profile-photo-actions label,.profile-photo-actions button{cursor:pointer}.profile-photo-actions label:hover,.profile-photo-actions button:hover{background:#f5f5f5}.profile-photo-meta{display:grid;gap:3px;align-content:center}.profile-photo-meta strong{font-size:23px!important;font-weight:950!important;line-height:1.05!important}.profile-photo-meta span{font-size:17px!important;font-weight:400!important;color:#666}.profile-photo-meta small{display:block;color:#666;font-size:12px;font-weight:800;line-height:1.2}.profile-photo-upload{display:none!important}@media (max-width:760px){.profile-photo-trigger{width:112px;height:112px;flex-basis:112px}.profile-photo-trigger .profile-photo-img{width:112px!important;height:112px!important}}

/* Profile photo meta system info */
.profile-photo-meta span{margin-bottom:8px!important}.profile-photo-meta small{font-weight:400!important;color:#666!important;font-size:13px!important;line-height:1.25!important}

/* Compact access widget */
.profile-side-stack{gap:12px}.profile-security-card{padding:14px 18px!important}.profile-security-card .section-title-row{margin-bottom:8px!important}.profile-security-card h5{font-size:26px!important}.profile-security-card .profile-action-list>div{padding:10px 12px!important}.profile-security-card .profile-action-list strong{font-size:15px!important}.profile-security-card .profile-action-list span{font-size:12px!important}

/* Profile side alignment and photo action centering */
.profile-side-stack{height:100%;align-content:stretch;grid-template-rows:auto 1fr}.profile-security-card{min-height:0!important;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start}.profile-security-card .profile-action-list{margin-top:4px}.profile-security-card .profile-action-list>div{min-height:44px!important}.profile-photo-actions{left:50%!important;right:auto!important;bottom:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;transform:translate(-50%,4px)!important;white-space:nowrap}.profile-photo-trigger:hover .profile-photo-actions{transform:translate(-50%,0)!important}.profile-photo-actions b,.profile-photo-actions label,.profile-photo-actions button{min-width:76px;text-align:center;padding:7px 10px!important;border-radius:8px!important;box-shadow:0 4px 12px rgba(0,0,0,.14)}

/* Profile one-row alignment */
.profile-page-v2{grid-template-areas:"data side"!important;align-items:stretch!important}.profile-side-stack{height:100%!important;grid-template-rows:auto minmax(0,1fr)!important}.profile-security-card{height:auto!important;min-height:0!important}.profile-security-card .section-title-row{margin-bottom:10px!important}.profile-security-card .profile-action-list{margin-top:0!important}.profile-security-card .profile-action-list>div{padding:9px 11px!important}.profile-security-card h5{font-size:24px!important}

/* Profile side: compact bottom aligned access */
.profile-side-stack{height:100%!important;display:grid!important;grid-template-rows:auto auto!important;align-content:space-between!important;gap:12px!important}.profile-security-card{align-self:end!important;height:auto!important;min-height:0!important;display:block!important}.profile-security-card .section-title-row{margin-bottom:8px!important}.profile-security-card .profile-action-list>div{padding:9px 11px!important;min-height:0!important}.profile-security-card h5{font-size:24px!important;line-height:1!important}

/* Market contact cards */
.contact-card{display:flex;flex-direction:column}.market-contact-list{display:grid;gap:10px}.market-contact-card{display:grid;gap:10px;border:1px solid #e5e5e5;background:#f7f7f7;border-radius:8px;padding:12px}.market-contact-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.market-contact-card-head strong{display:block;color:#111;font-size:18px;font-weight:950;line-height:1.1}.market-contact-card-head span{display:block;margin-top:4px;color:#666;font-size:13px;font-weight:800}.market-contact-card .primary-contact-badge{margin:0;white-space:nowrap}.contact-primary-action{border:0;background:transparent;padding:0;margin:2px 0 0;color:#de0200;cursor:pointer}.market-contact-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.market-contact-card-grid span{display:grid;gap:3px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;padding:9px 10px;color:#111;font-size:13px;font-weight:800;min-width:0}.market-contact-card-grid b{display:block;color:#666;font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:900}.market-contact-card-grid span{overflow:hidden;text-overflow:ellipsis}.contact-card .primary-contact-badge{font-size:11px;padding:5px 9px}.contact-fields,.secondary-contact-row,.contact-summary+.definition-grid{display:none!important}@media (max-width:900px){.market-contact-card-head,.market-contact-card-grid{grid-template-columns:1fr;display:grid}.market-contact-card .primary-contact-badge{width:max-content}}

/* Market contact portrait */
.market-contact-card-head{align-items:center}.market-contact-avatar{width:52px;height:52px;flex:0 0 52px;border-radius:999px;border:2px solid #fff;box-shadow:0 0 0 1px #d0d0d0;overflow:hidden;background:#eee}.market-contact-avatar img{width:100%;height:100%;display:block;object-fit:cover}.market-contact-main{min-width:0;margin-right:auto}.market-contact-main strong,.market-contact-main span{overflow:hidden;text-overflow:ellipsis}.market-contact-card .primary-contact-badge{align-self:center}

/* Real profile portraits */
.profile-photo-real{border-radius:999px;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 1px #d0d0d0;background:#eee}.profile-photo-trigger .profile-photo-real{width:132px!important;height:132px!important;display:block}.market-contact-avatar img{background:#eee}

/* Market contact card refinement */
.market-contact-card{padding:16px}.market-contact-avatar{width:76px;height:76px;flex-basis:76px}.market-contact-card-head{gap:16px}.market-contact-card-head strong{font-size:20px}.market-contact-card-head span{font-size:14px}.market-contact-card-grid{display:flex;gap:14px;flex-wrap:wrap;margin-left:92px}.market-contact-card-grid span{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:0;color:#111;font-size:14px;font-weight:850}.market-contact-card-grid b{font-size:11px;color:#666;letter-spacing:.04em}.market-contact-card-grid span+span:before{content:"";width:1px;height:18px;background:#d0d0d0;margin-right:6px}@media (max-width:900px){.market-contact-card-grid{margin-left:0}.market-contact-card-grid span+span:before{display:none}}

/* Market contact compact chips */
.market-contact-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-left:92px;margin-top:2px}.market-contact-card-grid span{display:grid;gap:3px;border:1px solid #e2e2e2;background:#fff;border-radius:8px;padding:8px 10px;color:#111;font-size:13px;font-weight:850;min-width:0}.market-contact-card-grid b{display:block;font-size:10px;color:#666;text-transform:uppercase;letter-spacing:.04em;font-weight:900}.market-contact-card-grid span+span:before{display:none}.market-contact-card-grid span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:900px){.market-contact-card-grid{grid-template-columns:1fr;margin-left:0}}

/* Market contact final horizontal layout */
.market-contact-card{grid-template-columns:88px minmax(0,1fr) auto;grid-template-areas:"avatar main badge" "avatar contact badge";align-items:center;column-gap:18px;row-gap:8px;padding:18px}.market-contact-card-head{display:contents}.market-contact-avatar{grid-area:avatar;width:88px;height:88px;flex-basis:88px}.market-contact-main{grid-area:main}.market-contact-main strong{font-size:22px;line-height:1.05}.market-contact-main span{font-size:15px;margin-top:5px}.market-contact-card .primary-contact-badge,.market-contact-card .contact-primary-action{grid-area:badge;align-self:start;justify-self:end;margin-top:10px}.market-contact-card-grid{grid-area:contact;display:flex;flex-direction:column;gap:5px;margin:0}.market-contact-card-grid span{display:flex;align-items:baseline;gap:10px;border:0;background:transparent;border-radius:0;padding:0;font-size:14px;line-height:1.25;white-space:normal}.market-contact-card-grid b{min-width:78px;font-size:11px;color:#666;text-transform:uppercase;letter-spacing:.04em}.market-contact-card-grid span+span{margin-top:0}@media (max-width:900px){.market-contact-card{grid-template-columns:72px 1fr;grid-template-areas:"avatar main" "contact contact" "badge badge"}.market-contact-avatar{width:72px;height:72px;flex-basis:72px}.market-contact-card .primary-contact-badge,.market-contact-card .contact-primary-action{justify-self:start;margin-top:0}}

/* Long contact values */
.market-contact-card{min-width:0}.market-contact-card-grid{min-width:0}.market-contact-card-grid span{min-width:0}.market-contact-card-grid span{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:baseline;column-gap:10px}.market-contact-card-grid span{overflow:visible}.market-contact-card-grid span:not(:first-child){word-break:break-word;overflow-wrap:anywhere}.market-contact-card-grid span b{min-width:0}.market-contact-card-grid span{font-size:13.5px}.market-contact-main{min-width:0}.market-contact-main strong,.market-contact-main span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Market contact card reset */
.contact-card .market-contact-card{position:relative!important;display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;grid-template-areas:"avatar main" "avatar contact"!important;gap:8px 18px!important;align-items:center!important;padding:18px 18px 18px 18px!important}.contact-card .market-contact-avatar{grid-area:avatar!important;width:96px!important;height:96px!important;flex:0 0 96px!important}.contact-card .market-contact-card-head{display:contents!important}.contact-card .market-contact-main{grid-area:main!important;min-width:0!important;padding-right:190px!important}.contact-card .market-contact-main strong{display:block!important;font-size:22px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.contact-card .market-contact-main span{display:block!important;margin-top:5px!important;font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.contact-card .primary-contact-badge,.contact-card .contact-primary-action{position:absolute!important;top:20px!important;right:18px!important;margin:0!important;max-width:180px!important}.contact-card .market-contact-card-grid{grid-area:contact!important;display:grid!important;grid-template-columns:1fr!important;gap:4px!important;margin:0!important;min-width:0!important}.contact-card .market-contact-card-grid span{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;align-items:baseline!important;gap:10px!important;border:0!important;background:transparent!important;padding:0!important;min-width:0!important;white-space:normal!important;color:#111!important;font-size:14px!important;font-weight:850!important;line-height:1.22!important;overflow:visible!important}.contact-card .market-contact-card-grid b{display:block!important;min-width:0!important;color:#666!important;font-size:11px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.04em!important}.contact-card .market-contact-card-grid span{overflow-wrap:anywhere!important;word-break:normal!important}.contact-card .market-contact-card-grid span+span:before{display:none!important}@media (max-width:900px){.contact-card .market-contact-card{grid-template-columns:76px 1fr!important;grid-template-areas:"avatar main" "contact contact"!important}.contact-card .market-contact-avatar{width:76px!important;height:76px!important;flex-basis:76px!important}.contact-card .market-contact-main{padding-right:0!important}.contact-card .primary-contact-badge,.contact-card .contact-primary-action{position:static!important;grid-column:1/-1!important;width:max-content!important}.contact-card .market-contact-card-grid span{grid-template-columns:96px minmax(0,1fr)!important}}

/* Market contact icon rows */
.contact-card .market-contact-card-grid span.contact-info-line{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:9px!important;font-size:14px!important;line-height:1.25!important}.contact-info-line .nav-icon{width:16px;height:16px;flex:0 0 16px;color:#666}.contact-info-line em{font-style:normal;min-width:0;overflow-wrap:anywhere;word-break:normal}.contact-card .market-contact-card-grid b{display:none!important}

/* Muted contact values */
.contact-info-line em{color:#666!important;font-weight:400!important}.contact-info-line .nav-icon{color:#888!important}
.user-mini-avatar.has-photo{background:#eeeeee;color:transparent;overflow:hidden;border:2px solid #ffffff;box-shadow:0 0 0 1px #d0d0d0;padding:0}
.user-mini-avatar.has-photo img{width:100%;height:100%;object-fit:cover;display:block}
.form-alert{margin:10px 0 18px;padding:12px 14px;border:1px solid #ffb3b3;background:#fff4f4;color:#de0200;border-radius:8px;font-weight:800}
.market-employee-fields[hidden]{display:none!important}.compact-market-fields{grid-template-columns:repeat(2,minmax(180px,1fr));gap:14px;margin-top:12px}
.settings-import-card{margin-top:16px}.settings-import-form{display:grid;grid-template-columns:minmax(220px,.5fr) minmax(280px,1fr) auto;gap:12px;align-items:end;margin-top:14px}.settings-import-form label{display:grid;gap:6px;color:#555;font-size:13px;font-weight:900}.settings-import-form select,.settings-import-form input{height:42px;border:1px solid #d0d0d0;border-radius:8px;background:#fff;color:#111;padding:8px 11px;font-size:14px;font-weight:800;box-sizing:border-box}.settings-import-form .btn{height:42px;margin:0;white-space:nowrap}.settings-import-note{margin-top:10px;color:#666;font-size:13px;font-weight:700}@media (max-width:900px){.settings-import-form{grid-template-columns:1fr}.settings-import-form .btn{width:max-content}}
.settings-page{display:grid;gap:14px;margin-top:-8px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.settings-card{margin:0;padding:18px}.settings-card .muted{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin:0 0 7px}.settings-card h3{font-size:22px;font-weight:950;line-height:1.05;margin:0 0 8px}.settings-card p{font-size:14px;line-height:1.35;margin:0 0 14px}.settings-import-card{margin-top:0;grid-column:1/-1}.settings-card .btn{margin-top:0}@media (max-width:1100px){.settings-grid{grid-template-columns:1fr}.settings-import-form{grid-template-columns:1fr}.settings-import-form .btn{width:max-content}}
.profile-page-v2 .profile-left-stack{grid-area:data!important;display:grid!important;gap:14px!important;align-content:start!important;margin:0!important}.profile-page-v2 .profile-left-stack .msd-card{margin:0!important}.profile-page-v2 .profile-left-stack .profile-data-card{grid-area:auto!important}.profile-page-v2 .profile-left-stack .profile-assignment-card{grid-area:auto!important}.profile-assignment-card .profile-data-title{margin-bottom:12px!important}.profile-assignment-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-assignment-form .wide{grid-column:1/-1!important}.profile-left-stack.is-unlocked select[data-unlockable]:not(:disabled),.profile-left-stack.is-unlocked input[data-unlockable]:not(:disabled){background:#fff!important;border-color:#de0200!important;box-shadow:0 0 0 2px rgba(222,2,0,.08)!important;color:#111!important}@media (max-width:760px){.profile-assignment-form{grid-template-columns:1fr!important}}
.profile-left-stack.is-unlocked .profile-card-lock{border-color:#de0200!important;background:#fff5f5!important;color:#de0200!important}
.profile-page-v2.user-detail-page{align-items:stretch!important}.profile-page-v2.user-detail-page .profile-left-stack,.profile-page-v2.user-detail-page .profile-side-stack{height:100%!important;display:grid!important;grid-template-rows:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;align-content:stretch!important}.profile-page-v2.user-detail-page .profile-left-stack>.msd-card,.profile-page-v2.user-detail-page .profile-side-stack>.msd-card{height:100%!important;box-sizing:border-box!important}.profile-page-v2.user-detail-page .profile-photo-card{display:flex!important;flex-direction:column!important}.profile-page-v2.user-detail-page .profile-photo-preview{flex:1!important;align-items:center!important}.profile-page-v2.user-detail-page .profile-security-card{align-self:stretch!important;display:flex!important;flex-direction:column!important}.profile-page-v2.user-detail-page .profile-security-card .profile-action-list{flex:1!important;display:flex!important;align-items:center!important}.profile-page-v2.user-detail-page .profile-security-card .profile-action-list>div{width:100%!important}
.profile-assignment-form .street-field{grid-column:1 / span 1}.profile-assignment-form .zip-field{grid-column:2 / span 1}.profile-assignment-form .city-field{grid-column:1/-1}.profile-assignment-form .zip-field{max-width:180px}@media (min-width:761px){.profile-assignment-form:has(.city-field){grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr)!important}.profile-assignment-form .street-field{grid-column:1/2}.profile-assignment-form .zip-field{grid-column:2/3;max-width:none}.profile-assignment-form .city-field{grid-column:3/4}}

.feedback-detail-modal .feedback-question-block{gap:4px}.feedback-detail-modal .feedback-score-row span,.feedback-detail-modal .feedback-text-row>span{color:#333333;font-size:14px;font-weight:800;line-height:1.25}.feedback-detail-modal .feedback-score-row strong{font-size:20px!important;text-align:right;color:#111111!important}.feedback-detail-modal .feedback-score-row em{display:block;margin-top:3px;color:#777777;font-size:12px;font-style:normal;font-weight:800}

.feedback-header-action,.widget-header-action{margin:0!important;padding:7px 11px!important;font-size:12px!important;line-height:1!important;white-space:nowrap}

.contact-card .market-contact-empty-card{display:block!important;min-height:130px!important;padding:28px 32px!important}
.contact-card .market-contact-empty-line{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;align-content:start!important}
.contact-card .market-contact-empty-line strong{display:block!important;font-size:22px!important;line-height:1.1!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.contact-card .market-contact-empty-line span{display:block!important;color:#666!important;font-size:16px!important;font-weight:850!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}

.feedback-detail-modal .feedback-question-block>strong{font-size:20px!important;line-height:1.1!important;font-weight:950!important;color:#111111!important;margin-bottom:4px}

.widget-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.widget-header-actions form{margin:0!important;display:flex}.feedback-mini-stats .feedback-mini-high{background:#ecfdf3!important;border-color:#86efac!important;box-shadow:inset 4px 0 0 #22c55e}.feedback-mini-stats .feedback-mini-mid{background:#fffbeb!important;border-color:#fde68a!important;box-shadow:inset 4px 0 0 #f59e0b}.feedback-mini-stats .feedback-mini-low{background:#fef2f2!important;border-color:#fecaca!important;box-shadow:inset 4px 0 0 #ef4444}.feedback-mini-stats .feedback-mini-high span{color:#166534!important}.feedback-mini-stats .feedback-mini-mid span{color:#92400e!important}.feedback-mini-stats .feedback-mini-low span{color:#991b1b!important}.feedback-qr-modal>div{width:min(560px,92vw);text-align:center}.qr-placeholder.qr-large{width:min(380px,72vw);height:min(380px,72vw);background-size:24px 24px;margin:4px auto 16px;box-shadow:inset 0 0 0 22px #fff}.qr-placeholder.qr-large b{font-size:32px;border-radius:12px;padding:16px 20px}.qr-modal-note{max-width:420px;margin:0 auto!important;font-size:15px!important;line-height:1.35!important}@media (max-width:760px){.feedback-card-side .section-title-row{align-items:flex-start;flex-direction:column}.widget-header-actions{justify-content:flex-start}.feedback-header-action{width:max-content}}

.training-current-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.training-head-action{margin:0!important;padding:8px 12px!important;font-size:13px!important;line-height:1!important;white-space:nowrap}.training-current-strip{grid-template-columns:repeat(5,minmax(0,1fr)) minmax(150px,1.15fr)!important}.trainer-detail-link{color:#111111;text-decoration:none;border-bottom:1px solid transparent}.trainer-detail-link:hover{color:#de0200;border-bottom-color:transparent}.trainer-info-modal>div{width:min(520px,92vw)}.trainer-info-card{display:flex;align-items:center;gap:18px;padding:8px 4px 4px}.trainer-info-avatar{width:112px;height:112px;border-radius:999px;background:#111;color:#fff;display:grid;place-items:center;flex:0 0 112px;font-size:34px;font-weight:950;border:3px solid #fff;box-shadow:0 0 0 1px #d0d0d0;overflow:hidden}.trainer-info-avatar img{width:100%;height:100%;object-fit:cover;display:block}.trainer-info-main{min-width:0;display:grid;gap:7px}.trainer-info-main>span{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;color:#666}.trainer-info-main h5{font-size:28px!important;line-height:1.05!important;margin:0!important;color:#111!important}.trainer-info-lines{display:grid;gap:8px;margin-top:4px}.trainer-info-lines a{display:flex;align-items:center;gap:9px;color:#555;font-size:15px;font-weight:700}.trainer-info-lines .nav-icon{width:17px;height:17px;color:#888;flex:0 0 17px}.trainer-info-lines em{font-style:normal;overflow-wrap:anywhere}@media (max-width:900px){.training-current-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.training-current-actions{justify-content:flex-start}.trainer-info-card{align-items:flex-start;flex-direction:column}.trainer-info-avatar{width:96px;height:96px;flex-basis:96px}}

.training-current-strip input.training-inline-input,.training-current-strip select.training-inline-select{height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;color:#111111!important;font-size:16px!important;font-weight:850!important;line-height:1.15!important;width:100%!important}.training-current-strip input.training-inline-input:focus,.training-current-strip select.training-inline-select:focus{outline:0!important}.training-current-strip label:focus-within{border-color:#de0200!important;box-shadow:0 0 0 2px rgba(222,2,0,.08)!important;background:#fff!important}.trainer-detail-link{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%}.trainer-popup-icon{display:inline-grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:999px;background:#fff;border:1px solid #d0d0d0;color:#de0200}.trainer-popup-icon .nav-icon{width:14px;height:14px}.trainer-detail-link:hover .trainer-popup-icon{background:#fff5f5;border-color:#de0200}

.market-notes-open-form{margin:0;display:flex;min-width:0}.market-notes-open-form .open-questions-card{width:100%}.market-detail-two-col .uploads-card{grid-area:auto}.market-notes-side-form{margin:0}
.notes-card h5{margin-bottom:12px!important}.notes-card .notes-textarea.compact{margin-top:0!important}.open-questions-card textarea,.notes-card textarea{background:#fff!important;color:#111!important}.open-questions-card textarea:focus,.notes-card textarea:focus{outline:2px solid #f4b8b8!important;border-color:#de0200!important}

.detail-history-table th,.detail-history-table td{text-align:center!important}.detail-history-table td .status-pill{justify-content:center}

.uploads-card .upload-dropzone.compact{min-height:118px!important}

.feedback-card-side.feedback-card-rich{border-top:0!important}.feedback-card-rich{display:flex;flex-direction:column;gap:12px;min-height:360px}.feedback-card-rich .section-title-row{margin-bottom:4px}.feedback-overview-grid{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;align-items:stretch}.feedback-qr-tile{text-decoration:none;color:inherit;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.feedback-qr-tile:hover{border-color:#de0200;box-shadow:0 8px 18px rgba(0,0,0,.08),inset 0 0 0 10px #fff;transform:translateY(-1px)}.nps-summary-rich{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#f7f7f7 100%);border-color:#d8d8d8;padding:16px 18px}.nps-summary-rich:after{content:"";position:absolute;right:-28px;top:-46px;width:148px;height:148px;border-radius:999px;border:22px solid rgba(222,2,0,.08)}.nps-summary-rich span,.nps-summary-rich strong,.nps-summary-rich em,.nps-summary-rich small{position:relative;z-index:1}.nps-summary-rich strong{font-size:56px;letter-spacing:0}.nps-summary-rich small{display:block;color:#777;font-size:12px;font-weight:900;margin-top:4px}.feedback-distribution{border:1px solid #e5e5e5;background:#fafafa;border-radius:8px;padding:12px;display:grid;gap:9px}.feedback-distribution-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.feedback-distribution-head strong{font-size:15px;font-weight:950;color:#111}.feedback-distribution-head span{font-size:12px;font-weight:900;color:#666}.feedback-stack-bar{height:14px;border-radius:999px;overflow:hidden;background:#eeeeee;display:flex}.feedback-stack-bar i{display:block;height:100%;min-width:2px}.feedback-stack-bar .is-high{background:#22c55e}.feedback-stack-bar .is-mid{background:#f59e0b}.feedback-stack-bar .is-low{background:#ef4444}.feedback-mini-stats-rich{margin:0;flex:1;align-items:stretch}.feedback-mini-stats-rich div{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"value percent" "label label";align-content:center;gap:4px 8px;min-height:76px}.feedback-mini-stats-rich strong{grid-area:value;font-size:28px}.feedback-mini-stats-rich span{grid-area:label;font-size:13px}.feedback-mini-stats-rich em{grid-area:percent;justify-self:end;align-self:center;font-style:normal;font-size:13px;font-weight:950;color:#666}@media (max-width:760px){.feedback-overview-grid{grid-template-columns:96px 1fr}.nps-summary-rich strong{font-size:44px}.feedback-mini-stats-rich{grid-template-columns:1fr}.feedback-mini-stats-rich div{min-height:64px}}
.profile-assignment-form.is-market-employee{grid-template-columns:repeat(3,minmax(0,1fr))!important}.profile-assignment-form.is-market-employee label{min-width:0}@media (max-width:900px){.profile-assignment-form.is-market-employee{grid-template-columns:1fr 1fr!important}}@media (max-width:760px){.profile-assignment-form.is-market-employee{grid-template-columns:1fr!important}}

.feedback-card-rich .feedback-overview-grid{grid-template-columns:150px minmax(0,1fr)!important}.feedback-card-rich .qr-placeholder.small.feedback-qr-tile{width:150px!important;height:150px!important;background-size:16px 16px!important;box-shadow:inset 0 0 0 14px #fff}.feedback-card-rich .qr-placeholder.small.feedback-qr-tile b{font-size:22px;border-radius:10px;padding:12px 15px}.feedback-card-rich .feedback-qr-tile:hover{box-shadow:0 8px 18px rgba(0,0,0,.08),inset 0 0 0 14px #fff}.nps-summary-rich:after{display:none!important}.nps-formula{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.nps-formula span{display:inline-flex!important;align-items:center;gap:6px;border:1px solid #e5e5e5;background:#fff;border-radius:999px;padding:5px 9px;color:#555!important;font-size:12px!important;font-weight:900!important;text-transform:none!important;letter-spacing:0!important}.nps-formula b{font-size:15px;color:#111}.nps-formula i{font-style:normal;color:#999;font-weight:950}.feedback-mini-stats-rich div{grid-template-columns:1fr!important;grid-template-areas:"value" "label"!important}.feedback-mini-stats-rich em{display:none!important}@media (max-width:760px){.feedback-card-rich .feedback-overview-grid{grid-template-columns:112px 1fr!important}.feedback-card-rich .qr-placeholder.small.feedback-qr-tile{width:112px!important;height:112px!important}.nps-formula span{font-size:11px!important;padding:4px 7px}}

.feedback-card-rich .nps-summary-rich{min-height:150px!important;box-sizing:border-box!important;align-content:center!important;padding:14px 18px!important}.feedback-card-rich .nps-summary-rich strong{font-size:48px!important}.feedback-card-rich .nps-summary-rich em{margin-top:1px}.feedback-card-rich .nps-formula{display:none!important}@media (max-width:760px){.feedback-card-rich .nps-summary-rich{min-height:112px!important}.feedback-card-rich .nps-summary-rich strong{font-size:40px!important}}
.market-contact-avatar span{width:100%;height:100%;display:grid;place-items:center;background:#111;color:#fff;font-size:26px;font-weight:950;letter-spacing:0}
.market-contact-avatar span.market-contact-avatar-icon{width:100%;height:100%;display:grid;place-items:center;background:#f3f3f3;color:#777}.market-contact-avatar span.market-contact-avatar-icon .nav-icon{width:42px;height:42px;stroke-width:1.8}.contact-card .market-contact-avatar span.market-contact-avatar-icon .nav-icon{width:46px;height:46px}
.contact-primary-form{display:contents}.contact-card .contact-primary-form{position:absolute!important;top:20px!important;right:18px!important;margin:0!important}.contact-card .contact-primary-form .contact-primary-action{position:static!important;margin:0!important}@media (max-width:900px){.contact-card .contact-primary-form{position:static!important;grid-column:1/-1!important;width:max-content!important}}
.market-contact-avatar span.market-contact-avatar-initials{width:100%;height:100%;display:grid;place-items:center;background:#f3f3f3;color:#777;font-size:30px;font-weight:950;letter-spacing:0;line-height:1;text-align:center}.contact-card .market-contact-avatar span.market-contact-avatar-initials{font-size:34px}
.contact-card .contact-primary-form{display:block!important;position:absolute!important;top:18px!important;right:18px!important;margin:0!important;z-index:2}.contact-card .contact-primary-form .contact-primary-action{position:static!important;margin:0!important;white-space:nowrap}.contact-card .market-contact-card:not(.is-primary) .market-contact-main{padding-right:190px!important}@media (max-width:900px){.contact-card .contact-primary-form{position:static!important;grid-column:1/-1!important;width:max-content!important}.contact-card .market-contact-card:not(.is-primary) .market-contact-main{padding-right:0!important}}
.contact-card{max-height:620px!important;min-height:0!important;overflow:hidden!important}.contact-card .section-title-row{flex:0 0 auto!important}.contact-card .market-contact-list{flex:1 1 auto!important;min-height:0!important;max-height:548px!important;overflow-y:auto!important;padding-right:4px!important;overscroll-behavior:contain}.contact-card .market-contact-list::-webkit-scrollbar{width:8px}.contact-card .market-contact-list::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:999px}.contact-card .market-contact-list::-webkit-scrollbar-track{background:transparent}@media (max-width:1280px){.contact-card{max-height:70vh!important}.contact-card .market-contact-list{max-height:calc(70vh - 62px)!important}}
.contact-card{height:100%!important;max-height:none!important;min-height:0!important;overflow:hidden!important}.contact-card .section-title-row{flex:0 0 auto!important}.contact-card .market-contact-list{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:8px!important;box-sizing:border-box!important;overscroll-behavior:contain}.contact-card .market-contact-card{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.contact-card .market-contact-main,.contact-card .market-contact-card-grid,.contact-card .market-contact-card-grid span,.contact-card .contact-info-line em{min-width:0!important;max-width:100%!important}.contact-card .market-contact-list::-webkit-scrollbar{width:8px;height:0}.contact-card .market-contact-list::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:999px}.contact-card .market-contact-list::-webkit-scrollbar-track{background:transparent}
.contact-card{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;align-self:stretch!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important}.contact-card .section-title-row{min-height:0!important;margin-bottom:14px!important}.contact-card .market-contact-list{display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;gap:10px!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:8px!important;box-sizing:border-box!important}.contact-card .market-contact-list>*{min-width:0!important;max-width:100%!important}.contact-card .market-contact-card{width:100%!important;max-width:100%!important;box-sizing:border-box!important}.contact-card .market-contact-list::-webkit-scrollbar{width:8px!important;height:0!important}.contact-card .market-contact-list::-webkit-scrollbar-thumb{background:#cfcfcf!important;border-radius:999px!important}.contact-card .market-contact-list::-webkit-scrollbar-track{background:transparent!important}
.contact-card{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;height:640px!important;max-height:640px!important;min-height:640px!important;overflow:hidden!important}.contact-card .market-contact-list{height:100%!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;gap:10px!important;padding-right:8px!important;box-sizing:border-box!important}.contact-card .market-contact-card{width:100%!important;max-width:100%!important;box-sizing:border-box!important}.contact-card .market-contact-list::-webkit-scrollbar{width:8px!important;height:0!important}@media (max-width:1280px){.contact-card{height:640px!important;max-height:640px!important;min-height:640px!important}}@media (max-width:900px){.contact-card{height:auto!important;max-height:none!important;min-height:0!important}.contact-card .market-contact-list{max-height:none!important;overflow:visible!important}}
.contact-card{align-self:start!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto auto!important}.contact-card .market-contact-list{height:auto!important;max-height:500px!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;gap:10px!important;padding-right:8px!important;box-sizing:border-box!important}.contact-card .market-contact-list::-webkit-scrollbar{width:8px!important;height:0!important}.contact-card .market-contact-list::-webkit-scrollbar-thumb{background:#cfcfcf!important;border-radius:999px!important}.contact-card .market-contact-list::-webkit-scrollbar-track{background:transparent!important}@media (max-width:900px){.contact-card .market-contact-list{max-height:none!important;overflow:visible!important}}
.modal-inline-error{grid-column:1/-1;border:1px solid #fecaca;background:#fef2f2;color:#b00000;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:900;margin:-8px 0 12px}
.contact-card .market-contact-list{max-height:452px!important}

/* Market contacts: show exactly three, scroll from fourth visible contact */
.contact-card{align-self:start!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto auto!important}
.contact-card .market-contact-list{height:auto!important;max-height:430px!important;min-height:0!important;overflow-y:hidden!important;overflow-x:hidden!important;display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;gap:10px!important;padding-right:0!important;box-sizing:border-box!important;overscroll-behavior:contain!important}
.contact-card .market-contact-list.has-scroll{overflow-y:auto!important;padding-right:8px!important}
.contact-card .market-contact-list>*{min-width:0!important;max-width:100%!important}
.contact-card .market-contact-list::-webkit-scrollbar{width:8px!important;height:0!important}
.contact-card .market-contact-list::-webkit-scrollbar-thumb{background:#cfcfcf!important;border-radius:999px!important}
.contact-card .market-contact-list::-webkit-scrollbar-track{background:transparent!important}
@media (max-width:900px){.contact-card .market-contact-list,.contact-card .market-contact-list.has-scroll{max-height:none!important;overflow:visible!important;padding-right:0!important}}

/* Optically center fallback initials in contact avatars */
.market-contact-avatar span.market-contact-avatar-initials{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;line-height:.82!important;padding-bottom:.08em!important}

/* Slightly compact contact cards so three fit cleanly */
.contact-card .market-contact-card{min-height:0!important;padding:16px 18px!important;gap:6px 18px!important}
.contact-card .market-contact-avatar{width:90px!important;height:90px!important;flex-basis:90px!important}
.contact-card .market-contact-main strong{font-size:21px!important;line-height:1.02!important}
.contact-card .market-contact-main span{font-size:14px!important;margin-top:4px!important;line-height:1.12!important}
.contact-card .market-contact-card-grid{gap:3px!important}
.contact-card .market-contact-card-grid span.contact-info-line{font-size:13.5px!important;line-height:1.18!important}
.contact-card .primary-contact-badge,.contact-card .contact-primary-form{top:16px!important}
.contact-card .market-contact-list{max-height:410px!important}
@media (max-width:900px){.contact-card .market-contact-avatar{width:76px!important;height:76px!important;flex-basis:76px!important}.contact-card .market-contact-list{max-height:none!important}}

/* Fallback contact avatar as centered profile icon */
.market-contact-avatar span.market-contact-avatar-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;box-sizing:border-box!important;background:#f3f3f3!important;color:#6f6f6f!important}
.market-contact-avatar span.market-contact-avatar-icon .nav-icon{display:block!important;width:42px!important;height:42px!important;stroke-width:1.75!important;transform:none!important}
.contact-card .market-contact-avatar span.market-contact-avatar-icon .nav-icon{width:44px!important;height:44px!important}

/* Larger fallback profile icon in contact avatars */
.market-contact-avatar span.market-contact-avatar-icon .nav-icon{width:56px!important;height:56px!important;stroke-width:1.65!important;color:#707070!important}
.contact-card .market-contact-avatar span.market-contact-avatar-icon .nav-icon{width:58px!important;height:58px!important}

/* Trainer popup contact values should not be bold */
.trainer-info-lines a,.trainer-info-lines em{font-weight:400!important}

/* Make fallback profile icon visually fill the avatar circle */
.contact-card .market-contact-avatar span.market-contact-avatar-icon .nav-icon{width:74px!important;height:74px!important;stroke-width:1.55!important;transform:translateY(-3px) scale(1.18)!important;transform-origin:center!important;color:#707070!important}

/* Custom large centered fallback person avatar */
.market-contact-avatar span.market-contact-avatar-icon{display:flex!important;align-items:center!important;justify-content:center!important;background:#f3f3f3!important;color:#707070!important}
.market-contact-avatar-person{position:relative!important;display:block!important;width:64px!important;height:64px!important;color:#707070!important;transform:translateY(-1px)!important}
.market-contact-avatar-person:before{content:""!important;position:absolute!important;left:50%!important;top:7px!important;width:18px!important;height:18px!important;border:4px solid currentColor!important;border-radius:999px!important;transform:translateX(-50%)!important;box-sizing:border-box!important}
.market-contact-avatar-person:after{content:""!important;position:absolute!important;left:50%!important;top:32px!important;width:44px!important;height:28px!important;border:4px solid currentColor!important;border-bottom:0!important;border-radius:30px 30px 0 0!important;transform:translateX(-50%)!important;box-sizing:border-box!important}

/* Clean fallback person avatar: no inner square, calm centered line icon */
.market-contact-avatar span.market-contact-avatar-icon{background:#f3f3f3!important;color:#777!important;overflow:hidden!important}
.market-contact-avatar span.market-contact-avatar-person,.market-contact-avatar-person{background:transparent!important;color:#777!important;width:54px!important;height:54px!important;display:block!important;position:relative!important;transform:translateY(-2px)!important;font-size:0!important;font-weight:400!important}
.market-contact-avatar-person:before{content:""!important;position:absolute!important;left:50%!important;top:6px!important;width:16px!important;height:16px!important;border:3.5px solid currentColor!important;border-radius:999px!important;transform:translateX(-50%)!important;box-sizing:border-box!important;background:transparent!important}
.market-contact-avatar-person:after{content:""!important;position:absolute!important;left:50%!important;top:30px!important;width:40px!important;height:24px!important;border:3.5px solid currentColor!important;border-bottom:0!important;border-radius:28px 28px 0 0!important;transform:translateX(-50%)!important;box-sizing:border-box!important;background:transparent!important}

/* Softer filled fallback avatar instead of outline icon */
.market-contact-avatar span.market-contact-avatar-icon{background:linear-gradient(180deg,#f7f7f7 0%,#eeeeee 100%)!important;color:#7b7b7b!important;overflow:hidden!important}
.market-contact-avatar span.market-contact-avatar-person,.market-contact-avatar-person{background:transparent!important;width:66px!important;height:66px!important;position:relative!important;display:block!important;transform:translateY(1px)!important}
.market-contact-avatar-person:before{content:""!important;position:absolute!important;left:50%!important;top:5px!important;width:24px!important;height:24px!important;background:#7b7b7b!important;border:0!important;border-radius:999px!important;transform:translateX(-50%)!important;box-sizing:border-box!important}
.market-contact-avatar-person:after{content:""!important;position:absolute!important;left:50%!important;top:36px!important;width:58px!important;height:34px!important;background:#7b7b7b!important;border:0!important;border-radius:32px 32px 10px 10px!important;transform:translateX(-50%)!important;box-sizing:border-box!important}

/* Final clean fallback avatar silhouette */
.market-contact-avatar span.market-contact-avatar-icon{position:relative!important;display:block!important;background:#f3f3f3!important;overflow:hidden!important;color:#7d7d7d!important}
.market-contact-avatar span.market-contact-avatar-person,.market-contact-avatar-person{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;background:transparent!important;transform:none!important;color:#7d7d7d!important;font-size:0!important;line-height:0!important}
.market-contact-avatar-person:before{content:""!important;position:absolute!important;left:50%!important;top:17px!important;width:24px!important;height:24px!important;background:#7d7d7d!important;border:0!important;border-radius:999px!important;transform:translateX(-50%)!important;box-sizing:border-box!important}
.market-contact-avatar-person:after{content:""!important;position:absolute!important;left:50%!important;bottom:-8px!important;width:78px!important;height:58px!important;background:#7d7d7d!important;border:0!important;border-radius:54px 54px 18px 18px!important;transform:translateX(-50%)!important;box-sizing:border-box!important}

/* Stable fallback avatar SVG, independent from older span icon rules */
.market-contact-avatar .market-contact-fallback-svg{display:block!important;width:72px!important;height:72px!important;margin:auto!important;color:#777!important;fill:none!important;stroke:currentColor!important;stroke-width:6!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform:translateY(1px)!important}
.market-contact-avatar .market-contact-fallback-svg circle{fill:currentColor!important;stroke:0!important}
.market-contact-avatar .market-contact-fallback-svg path{fill:none!important;stroke:currentColor!important}

.downloads-table th:first-child,.downloads-table td:first-child{width:48px;text-align:center!important}
.downloads-select-all{display:inline-flex;align-items:center;justify-content:center;margin:0}
.downloads-select-all input,.download-select-checkbox{accent-color:#de0200;width:16px;height:16px;margin:0;vertical-align:middle}

/* Downloads selection summary widget */
.downloads-selection-card{margin-top:12px!important;padding:14px 18px!important}
.downloads-selection-widget{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:center}
.downloads-selection-widget>div{border:1px solid #e5e5e5;background:#f7f7f7;border-radius:8px;padding:12px 14px;min-height:48px;display:grid;gap:3px;align-content:center}
.downloads-selection-widget .selection-kicker{color:#666;font-size:11px;font-weight:950;letter-spacing:.04em;text-transform:uppercase;line-height:1}
.downloads-selection-widget strong{color:#111;font-size:18px;font-weight:950;line-height:1.1}
.downloads-selection-download{margin:0!important;white-space:nowrap;align-self:stretch;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding-left:18px!important;padding-right:18px!important}
.downloads-selection-download.is-disabled{opacity:.45;pointer-events:none;filter:grayscale(1)}
@media (max-width:900px){.downloads-selection-widget{grid-template-columns:1fr}.downloads-selection-download{width:max-content;align-self:start}}

/* Primary contact badge: neutral dark pill */
.contact-card .primary-contact-badge{background:#555!important;border-color:#555!important;color:#fff!important;box-shadow:none!important}

/* Downloads selection summary: slim variant */
.downloads-selection-card{padding:9px 14px!important;margin-top:10px!important}
.downloads-selection-widget{grid-template-columns:auto auto minmax(180px,auto)!important;justify-content:end!important;gap:18px!important;align-items:center!important}
.downloads-selection-widget>div{border:0!important;background:transparent!important;border-radius:0!important;padding:0!important;min-height:0!important;display:flex!important;align-items:baseline!important;gap:8px!important}
.downloads-selection-widget .selection-kicker{font-size:10px!important;color:#777!important;line-height:1!important}
.downloads-selection-widget strong{font-size:14px!important;line-height:1!important;font-weight:950!important;color:#111!important}
.downloads-selection-download{align-self:center!important;min-height:34px!important;padding:8px 14px!important;font-size:13px!important;border-radius:7px!important}
@media (max-width:900px){.downloads-selection-widget{grid-template-columns:1fr!important;justify-content:stretch!important;gap:8px!important}.downloads-selection-widget>div{justify-content:space-between}.downloads-selection-download{width:max-content!important}}

/* Downloads selection button: match compact row download buttons */
.downloads-selection-download{min-height:0!important;padding:7px 10px!important;font-size:13px!important;line-height:1.2!important;border-radius:8px!important;align-self:center!important}

/* Market uploads: modern thumbnail/file upload panels */
.uploads-card-modern .section-title-row{margin-bottom:12px!important}
.upload-stack-modern{display:grid!important;gap:12px!important}
.upload-panel{border:1px solid #e5e5e5;background:#fafafa;border-radius:8px;padding:12px;display:grid;gap:12px;min-width:0}
.upload-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.upload-panel-head strong{display:block;color:#111;font-size:16px;font-weight:950;line-height:1.1}
.upload-panel-head span{display:block;margin-top:3px;color:#666;font-size:12px;font-weight:800}
.upload-action-button,.upload-add-tile,.upload-add-file{cursor:pointer}
.upload-action-button input,.upload-add-tile input,.upload-add-file input{position:absolute!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;pointer-events:none!important}
.upload-action-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d0d0d0;background:#fff;color:#111;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:950;line-height:1;white-space:nowrap}
.upload-action-button:hover,.upload-add-tile:hover,.upload-add-file:hover{border-color:#de0200;background:#fff5f5;color:#de0200}
.upload-thumb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.upload-thumb-grid figure,.upload-add-tile{aspect-ratio:1/1}
.upload-thumb-grid figure{margin:0;border:1px solid #e0e0e0;background:#fff;border-radius:8px;overflow:hidden;min-width:0;display:grid;place-items:center}
.upload-thumb-grid img{display:block;width:100%;height:100%;object-fit:cover;background:#eee}
.upload-thumb-grid figcaption{padding:7px 8px;color:#555;font-size:11px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.upload-add-tile{border:1px dashed #cfcfcf;background:#fff;border-radius:8px;min-height:92px;display:grid;place-items:center;align-content:center;gap:5px;color:#666;text-align:center;padding:10px;box-sizing:border-box}
.upload-add-tile span,.upload-add-file span{display:grid;place-items:center;width:26px;height:26px;border-radius:999px;background:#f0f0f0;color:#555;font-size:20px;font-weight:700;line-height:1}
.upload-add-tile strong,.upload-add-file strong{font-size:11px;line-height:1.1;font-weight:950;color:currentColor}
.upload-add-tile.is-uploading,.upload-add-file.is-uploading{pointer-events:none;border-style:solid;border-color:#de0200;background:#fff5f5;color:#de0200;opacity:.85}
.upload-add-tile.is-muted{opacity:.75}
.upload-file-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.6fr);gap:8px}
.upload-file-card,.upload-add-file{border:1px solid #e0e0e0;background:#fff;border-radius:8px;padding:10px;display:flex;align-items:center;gap:10px;min-width:0;min-height:54px;box-sizing:border-box}
.upload-file-card b{display:grid;place-items:center;min-width:36px;height:26px;border-radius:6px;border:1px solid #f4b8b8;background:#fff5f5;color:#de0200;font-size:10px;font-weight:950}
.upload-file-card div{min-width:0}.upload-file-card strong{display:block;color:#111;font-size:13px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-file-card span{display:block;margin-top:2px;color:#666;font-size:11px;font-weight:800}
.upload-add-file{border-style:dashed;color:#666;justify-content:center;text-align:center;background:#fff}
@media (max-width:760px){.upload-panel-head{flex-direction:column}.upload-thumb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.upload-file-grid{grid-template-columns:1fr}}

/* Market upload item actions */
.upload-photo-item,.upload-file-item{position:relative;min-width:0}
.upload-photo-card{display:block;color:inherit;text-decoration:none;border-radius:8px;outline:0}
.upload-photo-card figure{height:100%}
.upload-photo-card:hover img{filter:brightness(.94)}
.upload-delete-action{position:absolute;top:7px;right:7px;z-index:2;width:24px;height:24px;border-radius:999px;background:rgba(17,17,17,.72);color:#fff!important;display:grid;place-items:center;text-decoration:none;font-size:18px;font-weight:800;line-height:1;opacity:0;transform:translateY(-2px);transition:opacity .15s ease,transform .15s ease,background .15s ease}
.upload-photo-item:hover .upload-delete-action,.upload-file-item:hover .upload-delete-action{opacity:1;transform:translateY(0)}
.upload-delete-form{margin:0}
.upload-delete-action{border:0;padding:0;cursor:pointer}
.upload-delete-action:hover{background:#de0200;color:#fff!important}
.upload-file-card{color:inherit;text-decoration:none}.upload-file-card:hover{border-color:#de0200;background:#fff5f5}
.upload-file-delete{top:6px;right:6px;width:22px;height:22px;font-size:16px}
.upload-file-grid-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
.upload-thumb-grid figure{height:100%;display:block}
.upload-thumb-grid figure img{height:100%}

/* Upload cleanup: no counters and contained photo preview modal */
.uploads-card-modern .upload-panel-head span{display:none!important}
.upload-photo-modal{padding:24px!important}
.upload-photo-modal>div{width:min(760px,92vw)!important;max-width:92vw!important;max-height:88vh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.upload-photo-modal img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:calc(88vh - 78px)!important;object-fit:contain!important;background:#111!important}
.upload-photo-modal-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 14px!important;border-top:1px solid #e5e5e5!important;background:#fff!important}
.upload-photo-modal-actions strong{font-size:15px!important;font-weight:950!important;color:#111!important;line-height:1!important}
.upload-photo-modal-actions>div{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.upload-photo-modal .detail-mini-close{top:8px!important;right:10px!important;background:rgba(255,255,255,.9)!important;border-radius:999px!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important;line-height:1!important}

/* Upload photo popup: match dashboard photo modal sizing */
.upload-photo-modal{padding:32px!important;z-index:50!important}
.upload-photo-modal>div{width:min(980px,92vw)!important;max-width:92vw!important;max-height:none!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;border-radius:10px!important;box-shadow:0 24px 70px rgba(0,0,0,.38)!important}
.upload-photo-modal img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:72vh!important;object-fit:contain!important;background:#111!important}
.upload-photo-modal-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:14px 18px!important;border-top:1px solid #e5e5e5!important;background:#fff!important}
.upload-photo-modal-actions strong{font-size:17px!important;font-weight:950!important;color:#111!important;line-height:1!important}
.upload-photo-modal .detail-mini-close{top:10px!important;right:10px!important;width:34px!important;height:34px!important;border-radius:999px!important;background:rgba(255,255,255,.94)!important;color:#111!important;display:grid!important;place-items:center!important;font-size:24px!important;font-weight:900!important;line-height:1!important;box-shadow:0 6px 18px rgba(0,0,0,.22)!important}

/* Contact widget: reserve space for exactly three contact cards */
.contact-card{height:500px!important;min-height:500px!important;max-height:500px!important;align-self:start!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important}
.contact-card .market-contact-list{height:410px!important;min-height:410px!important;max-height:410px!important;overflow-y:hidden!important;overflow-x:hidden!important;align-content:start!important;padding-right:0!important}
.contact-card .market-contact-list.has-scroll{overflow-y:auto!important;padding-right:8px!important}
@media (max-width:900px){.contact-card{height:auto!important;min-height:0!important;max-height:none!important}.contact-card .market-contact-list,.contact-card .market-contact-list.has-scroll{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding-right:0!important}}

/* Delete dialogs: stronger headline and filename */
.delete-download-modal>div{width:min(640px,92vw)!important;padding:38px!important}
.delete-download-modal h5{font-size:30px!important;line-height:1.05!important;font-weight:950!important;margin:0 42px 34px 0!important;color:#111!important}
.delete-download-modal p.msd-muted{font-size:24px!important;line-height:1.2!important;font-weight:850!important;color:#555!important;margin:0 0 30px!important}
.delete-download-modal .modal-actions{margin-top:26px!important}

/* Contact widget: compact three-card height */
.contact-card{height:430px!important;min-height:430px!important;max-height:430px!important;box-sizing:border-box!important}
.contact-card .market-contact-list{height:338px!important;min-height:338px!important;max-height:338px!important;gap:9px!important}
.contact-card .market-contact-card{min-height:104px!important;padding:12px 16px!important;gap:5px 16px!important}
.contact-card .market-contact-avatar{width:76px!important;height:76px!important;flex-basis:76px!important}
.contact-card .market-contact-main strong{font-size:19px!important;line-height:1.02!important}
.contact-card .market-contact-main span{font-size:13px!important;margin-top:3px!important;line-height:1.12!important}
.contact-card .market-contact-card-grid{gap:2px!important}
.contact-card .market-contact-card-grid span.contact-info-line{font-size:12.5px!important;line-height:1.14!important}
.contact-info-line .nav-icon{width:14px!important;height:14px!important;flex-basis:14px!important}
.contact-card .primary-contact-badge,.contact-card .contact-primary-form{top:14px!important;right:16px!important}
@media (max-width:900px){.contact-card{height:auto!important;min-height:0!important;max-height:none!important}.contact-card .market-contact-list,.contact-card .market-contact-list.has-scroll{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding-right:0!important}.contact-card .market-contact-avatar{width:76px!important;height:76px!important;flex-basis:76px!important}}

/* Delete dialogs: slimmer confirmation style */
.delete-download-modal>div{width:min(520px,92vw)!important;padding:26px 28px!important}
.delete-download-modal h5{font-size:24px!important;line-height:1.08!important;font-weight:950!important;margin:0 38px 18px 0!important;color:#111!important}
.delete-download-modal p.msd-muted{font-size:18px!important;line-height:1.28!important;font-weight:800!important;color:#555!important;margin:0 0 20px!important}
.delete-download-modal .modal-actions{margin-top:18px!important;gap:9px!important}
.delete-download-modal .modal-actions .btn{padding:9px 14px!important;font-size:15px!important;border-radius:8px!important}

/* Contact widget: align with market data and fit exactly three full cards */
.contact-card{height:560px!important;min-height:560px!important;max-height:560px!important;box-sizing:border-box!important;align-self:start!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important}
.contact-card .section-title-row{margin-bottom:14px!important}
.contact-card .market-contact-list{height:470px!important;min-height:470px!important;max-height:470px!important;display:grid!important;grid-auto-rows:150px!important;align-content:start!important;gap:10px!important;overflow-y:hidden!important;overflow-x:hidden!important;padding-right:0!important;box-sizing:border-box!important}
.contact-card .market-contact-list.has-scroll{overflow-y:auto!important;padding-right:8px!important}
.contact-card .market-contact-card{height:150px!important;min-height:150px!important;padding:16px 18px!important;gap:7px 18px!important;box-sizing:border-box!important}
.contact-card .market-contact-avatar{width:96px!important;height:96px!important;flex-basis:96px!important}
.contact-card .market-contact-main strong{font-size:22px!important;line-height:1.04!important}
.contact-card .market-contact-main span{font-size:15px!important;margin-top:5px!important;line-height:1.14!important}
.contact-card .market-contact-card-grid{gap:4px!important}
.contact-card .market-contact-card-grid span.contact-info-line{font-size:14px!important;line-height:1.22!important}
.contact-info-line .nav-icon{width:16px!important;height:16px!important;flex-basis:16px!important}
.contact-card .primary-contact-badge,.contact-card .contact-primary-form{top:18px!important;right:18px!important}
@media (max-width:900px){.contact-card{height:auto!important;min-height:0!important;max-height:none!important}.contact-card .market-contact-list,.contact-card .market-contact-list.has-scroll{height:auto!important;min-height:0!important;max-height:none!important;grid-auto-rows:auto!important;overflow:visible!important;padding-right:0!important}.contact-card .market-contact-card{height:auto!important;min-height:0!important}.contact-card .market-contact-avatar{width:76px!important;height:76px!important;flex-basis:76px!important}}

/* Contact widget: slightly tighter final fit */
.contact-card{height:525px!important;min-height:525px!important;max-height:525px!important}
.contact-card .market-contact-list{height:435px!important;min-height:435px!important;max-height:435px!important;grid-auto-rows:138px!important;gap:10px!important}
.contact-card .market-contact-card{height:138px!important;min-height:138px!important;padding:14px 18px!important;gap:6px 18px!important}
.contact-card .market-contact-avatar{width:88px!important;height:88px!important;flex-basis:88px!important}
.contact-card .market-contact-main strong{font-size:21px!important;line-height:1.03!important}
.contact-card .market-contact-main span{font-size:14px!important;margin-top:4px!important;line-height:1.13!important}
.contact-card .market-contact-card-grid span.contact-info-line{font-size:13.5px!important;line-height:1.18!important}
@media (max-width:900px){.contact-card{height:auto!important;min-height:0!important;max-height:none!important}.contact-card .market-contact-list,.contact-card .market-contact-list.has-scroll{height:auto!important;min-height:0!important;max-height:none!important;grid-auto-rows:auto!important;overflow:visible!important;padding-right:0!important}.contact-card .market-contact-card{height:auto!important;min-height:0!important}.contact-card .market-contact-avatar{width:76px!important;height:76px!important;flex-basis:76px!important}}


/* Settings V2: operational admin surface */
.settings-page-v2{display:grid;gap:14px;margin-top:-8px}.settings-hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-nav-card{margin:0!important;display:grid;gap:7px;min-height:86px;align-content:start}.settings-nav-card span{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;color:#666}.settings-nav-card strong{font-size:16px;line-height:1.22;color:#111}.settings-section-card{margin:0!important;padding:18px}.settings-section-card h5{font-size:24px!important;font-weight:950!important;line-height:1.05!important;margin:0!important}.settings-flight-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.settings-flight-form label,.settings-market-form label{display:grid;gap:6px;color:#444;font-size:13px;font-weight:900}.settings-flight-form .wide{grid-column:1/-1}.settings-flight-form select[multiple]{min-height:170px}.settings-question-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(180px,.55fr);gap:10px;border:1px solid #e5e5e5;background:#fafafa;border-radius:8px;padding:12px}.settings-question-grid>div{grid-column:1/-1;display:grid;gap:3px}.settings-question-grid strong{color:#111;font-size:15px;font-weight:950}.settings-question-grid span{color:#666;font-size:12px;font-weight:800}.settings-note-box{border:1px solid #e5e5e5;background:#f7f7f7;border-left:4px solid #de0200;border-radius:8px;padding:12px 13px;display:grid;gap:4px}.settings-note-box strong{color:#111;font-size:14px;font-weight:950}.settings-note-box span{color:#555;font-size:13px;line-height:1.35}.settings-table-block{margin-top:16px}.settings-table{min-width:860px}.settings-table td strong{color:#111}.settings-two-col{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:14px;align-items:start}.settings-note-stack{display:grid;gap:10px}.settings-system-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.settings-system-tile{border:1px solid #e5e5e5;background:#fafafa;border-radius:8px;padding:13px;display:grid;gap:5px;min-height:86px}.settings-system-tile span{color:#666;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.settings-system-tile strong{color:#111;font-size:22px;font-weight:950;line-height:1.05;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-system-tile em{color:#666;font-size:12px;font-style:normal;font-weight:800;line-height:1.25}.settings-storage-box{margin-top:12px}.settings-import-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.settings-import-split>div{border:1px solid #e5e5e5;background:#fafafa;border-radius:8px;padding:12px;display:grid;gap:4px}.settings-import-split strong{color:#111;font-weight:950}.settings-import-split span{color:#666;font-size:13px;font-weight:800;line-height:1.35}@media (max-width:1180px){.settings-hub-grid,.settings-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-two-col{grid-template-columns:1fr}}@media (max-width:760px){.settings-hub-grid,.settings-flight-form,.settings-question-grid,.settings-system-grid,.settings-import-split{grid-template-columns:1fr}.settings-section-card h5{font-size:21px!important}.settings-nav-card{min-height:0}.settings-flight-form .wide{grid-column:auto}.settings-two-col{grid-template-columns:1fr}.settings-import-form{grid-template-columns:1fr!important}.settings-import-form .btn{width:max-content}}

/* Unified settings panel title spacing */
.settings-section-panel > .section-title-row{margin-bottom:32px!important}
.settings-section-panel > .section-title-row + .settings-filter-bar,
.settings-section-panel > .section-title-row + .settings-table-block,
.settings-section-panel > .section-title-row + .settings-system-grid,
.settings-section-panel > .section-title-row + .settings-import-layout,
.settings-section-panel > .section-title-row + .settings-flight-summary,
.settings-section-panel > .section-title-row + .settings-flight-detail-page{margin-top:0!important}
.settings-organizations-card{gap:0!important}
.settings-organizations-card .settings-organization-list-block{margin-top:0!important}
.settings-markets-card .settings-market-filter-bar{margin-top:0!important}

/* Settings flight administration refinement */
.settings-flight-layout {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
  gap: 14px;
  align-items: start;
}
.settings-flight-panel,
.settings-flight-detail {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  min-width: 0;
}
.settings-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.settings-panel-head strong {
  display: block;
  color: #111;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.15;
}
.settings-panel-head span {
  display: block;
  color: #666;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-align: right;
}
.settings-flight-edit-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, .65fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}
.settings-flight-edit-form label,
.settings-inline-form label {
  display: grid;
  gap: 6px;
  color: #444;
  font-size: 13px;
  font-weight: 900;
}
.settings-flight-edit-form .btn { white-space: nowrap; }
.settings-flight-detail { margin-top: 14px; }
.settings-flight-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
}
.settings-flight-contacts-panel { grid-column: 1 / -1; }
.settings-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}
.settings-inline-form select[multiple] { min-height: 118px; }
.settings-chip-list {
  display: grid;
  gap: 8px;
}
.settings-module-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 8px;
  padding: 10px;
}
.settings-module-row strong {
  display: block;
  color: #111;
  font-weight: 950;
}
.settings-module-row span {
  display: block;
  color: #666;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}
.settings-module-row.is-muted { opacity: .62; }
.settings-mini-form { margin: 0; }
.settings-action-muted {
  display: inline-flex;
  color: #666;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid #d8d8d8;
  background: #f7f7f7;
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
}
.settings-flight-table tr.is-selected td { background: #fff5f5; }
.settings-flight-market-table { min-width: 760px; }
.settings-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.settings-contact-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 8px;
  padding: 10px;
}
.settings-contact-avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 15px;
  font-weight: 950;
}
.settings-contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.settings-contact-card strong,
.settings-contact-card span,
.settings-contact-card em,
.settings-contact-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-contact-card strong {
  color: #111;
  font-size: 15px;
  font-weight: 950;
}
.settings-contact-card span {
  color: #444;
  font-size: 13px;
  font-weight: 900;
  margin-top: 2px;
}
.settings-contact-card em,
.settings-contact-card small {
  color: #666;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  margin-top: 2px;
}
/* Settings market master data refinement */
.settings-boundary-note {
  display: grid;
  gap: 4px;
  border: 1px solid #e1e1e1;
  border-left: 4px solid #111;
  background: #fafafa;
  border-radius: 8px;
  padding: 12px 13px;
  margin: 14px 0;
}
.settings-boundary-note strong {
  color: #111;
  font-size: 14px;
  font-weight: 950;
}
.settings-boundary-note span {
  color: #555;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.settings-market-master-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr);
  gap: 14px;
  align-items: start;
}
.settings-market-master-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}
.settings-market-master-form .wide { grid-column: 1 / -1; }
.settings-market-sidefacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.settings-market-contact-grid { margin-top: 10px; }

.settings-status-period-list {
  display: grid;
  gap: 6px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 10px;
}
.settings-status-period-list strong {
  color: #111;
  font-size: 14px;
  font-weight: 950;
}
.settings-status-period-list span {
  color: #555;
  font-size: 12px;
  font-weight: 800;
}
.settings-market-master-table { min-width: 1180px; }
.settings-market-master-table td { vertical-align: top; }
.settings-market-master-table td:nth-child(6) .status-pill {
  white-space: normal;
  text-align: left;
  justify-content: flex-start;
  max-width: 240px;
}
@media (max-width: 1180px) {
  .settings-market-master-grid { grid-template-columns: 1fr; }
  .settings-market-master-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .settings-market-master-form,
  .settings-market-sidefacts { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .settings-flight-layout,
  .settings-flight-detail-grid { grid-template-columns: 1fr; }
  .settings-flight-edit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-flight-edit-form .btn { width: max-content; }
}
@media (max-width: 760px) {
  .settings-flight-edit-form,
  .settings-inline-form,
  .settings-contact-grid { grid-template-columns: 1fr; }
  .settings-panel-head { display: grid; }
  .settings-panel-head span { text-align: left; }
  .settings-module-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-flight-panel,
  .settings-flight-detail { padding: 12px; }
}


/* Settings rubric tabs */
.settings-page-v2 {
  gap: 16px;
}
.settings-hub-grid {
  align-items: stretch;
}
.settings-nav-card {
  position: relative;
  min-height: 104px;
  padding: 18px 18px 16px !important;
  gap: 8px;
  border: 1px solid #dedede !important;
  background: #fff;
  text-decoration: none !important;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.settings-nav-card::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: transparent;
}
.settings-nav-card strong {
  display: block;
  color: #111;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}
.settings-nav-card span {
  display: block;
  color: #666;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.32;
  text-transform: none;
  letter-spacing: 0;
}
.settings-nav-card:hover,
.settings-nav-card:focus-visible {
  border-color: #c5c5c5 !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  transform: translateY(-1px);
  outline: 0;
}
.settings-nav-card.is-active {
  border-color: #111 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
.settings-nav-card.is-active::before {
  background: #de0200;
}
.settings-section-panel {
  display: none;
}
.settings-section-panel.is-active {
  display: block;
}
.settings-section-panel[hidden] {
  display: none !important;
}
.settings-section-card {
  border-color: #dedede !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
}
@media (max-width: 1180px) {
  .settings-nav-card strong { font-size: 20px; }
}
@media (max-width: 760px) {
  .settings-nav-card {
    min-height: 0;
    padding: 15px 16px !important;
  }
  .settings-nav-card strong { font-size: 19px; }
}


/* App shell: keep the left navigation visible while page content scrolls */
.app {
  grid-template-columns: 288px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.main {
  min-width: 0;
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    height: auto;
    overflow: visible;
  }
}


/* Settings flight overview simplification */
.settings-flight-overview-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(420px, 1.18fr);
  gap: 14px;
  align-items: start;
}
.settings-flight-basic-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.settings-flight-basic-form .btn {
  width: max-content;
}
.settings-flight-basic-edit-form {
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .65fr)) auto;
  margin-bottom: 0;
}
.settings-flight-basic-edit-form .wide {
  grid-column: auto;
}
.settings-flight-overview-block {
  margin-top: 14px;
}
.settings-table-count-row {
  justify-content: flex-end;
}
.settings-flight-overview-table {
  min-width: 900px;
}
@media (max-width: 1180px) {
  .settings-flight-overview-grid,
  .settings-flight-basic-edit-form {
    grid-template-columns: 1fr;
  }
  .settings-flight-basic-edit-form .btn,
  .settings-flight-basic-form .btn {
    width: max-content;
  }
}
@media (max-width: 760px) {
  .settings-flight-basic-form {
    grid-template-columns: 1fr;
  }
}


/* Settings market list, filters and modals */
.settings-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(170px, .55fr) minmax(190px, .65fr) auto auto;
  gap: 10px;
  align-items: end;
  border: 1px solid #e1e1e1;
  background: #fafafa;
  border-radius: 8px;
  padding: 12px;
  margin: 14px 0;
}
.settings-filter-bar label {
  display: grid;
  gap: 6px;
  color: #444;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.settings-filter-bar input,
.settings-filter-bar select {
  height: 42px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.settings-filter-bar .btn,
.settings-filter-bar .compact-action {
  height: 42px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.settings-market-list-block {
  margin-top: 12px;
}
.settings-market-list-table tr.settings-clickable-row {
  cursor: pointer;
}
.settings-market-list-table tr.settings-clickable-row:hover td,
.settings-market-list-table tr.settings-clickable-row:focus td,
.settings-market-list-table tr.settings-clickable-row.is-selected td {
  background: #fff5f5;
}
.settings-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
}
.settings-pagination > span:not(.settings-action-muted) {
  color: #555;
  font-size: 13px;
  font-weight: 900;
}
.settings-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 22px;
  overflow-y: auto;
}
.settings-modal.is-open {
  display: flex;
}
.settings-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.56);
}
.settings-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 96vw);
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
  padding: 18px;
}
.settings-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.settings-modal-head h5 {
  font-size: 24px !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  margin: 0 !important;
}
.settings-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid #d0d0d0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.settings-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 980px) {
  .settings-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-filter-bar .btn,
  .settings-filter-bar .compact-action {
    width: max-content;
  }
}
@media (max-width: 760px) {
  .settings-filter-bar,
  .settings-modal-meta {
    grid-template-columns: 1fr;
  }
  .settings-modal {
    padding: 18px 10px;
  }
  .settings-modal-dialog {
    padding: 14px;
  }
}


/* Settings flight list and detail modal */
.settings-flight-overview-table tr.settings-clickable-row,
.settings-market-list-table tr.settings-clickable-row {
  cursor: pointer;
}
.settings-flight-overview-table tr.settings-clickable-row:hover td,
.settings-flight-overview-table tr.settings-clickable-row:focus td,
.settings-flight-overview-table tr.settings-clickable-row.is-selected td,
.settings-market-list-table tr.settings-clickable-row:hover td,
.settings-market-list-table tr.settings-clickable-row:focus td,
.settings-market-list-table tr.settings-clickable-row.is-selected td {
  background: #fff5f5;
}
.settings-flight-modal-dialog {
  width: min(1180px, 96vw);
}
.settings-flight-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.settings-flight-create-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.settings-flight-create-form .wide {
  grid-column: 1 / -1;
}
.settings-flight-questions-panel {
  grid-column: 1 / -1;
}
.settings-question-edit-form {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, .45fr);
  gap: 10px;
  align-items: end;
}
.settings-question-edit-form label {
  display: grid;
  gap: 6px;
  color: #444;
  font-size: 13px;
  font-weight: 900;
}
.settings-question-edit-form .btn {
  width: max-content;
}
@media (max-width: 1180px) {
  .settings-flight-modal-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .settings-flight-create-form,
  .settings-question-edit-form {
    grid-template-columns: 1fr;
  }
}


/* Flight modal usability pass */
.settings-flight-modal-dialog {
  width: min(1500px, 98vw);
}
.settings-flight-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.settings-flight-summary > div {
  border: 1px solid #e1e1e1;
  background: #fafafa;
  border-radius: 8px;
  padding: 11px 12px;
  display: grid;
  gap: 2px;
}
.settings-flight-summary span {
  color: #666;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.settings-flight-summary strong {
  color: #111;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}
.settings-flight-modal-grid .settings-flight-basic-edit-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-flight-modal-grid .settings-flight-basic-edit-form .wide {
  grid-column: 1 / -1;
}
.settings-flight-modal-grid .settings-flight-basic-edit-form .btn {
  width: max-content;
}
.settings-assign-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 8px;
}
.settings-assign-form label {
  display: grid;
  gap: 6px;
  color: #444;
  font-size: 13px;
  font-weight: 900;
}
.settings-assign-form select[multiple] {
  min-height: 168px;
}
.settings-help-text {
  color: #666;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
}
.settings-assigned-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 8px;
}
.settings-assigned-head strong {
  color: #111;
  font-size: 15px;
  font-weight: 950;
}
.settings-assigned-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  padding: 0 9px;
}
.settings-contact-card-removable {
  align-items: start;
}
.settings-contact-remove-form {
  margin-top: 7px;
}
@media (max-width: 1180px) {
  .settings-flight-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .settings-flight-summary,
  .settings-assign-form,
  .settings-flight-modal-grid .settings-flight-basic-edit-form {
    grid-template-columns: 1fr;
  }
}


/* Flight detail subpage layout */
.settings-flight-detail-page {
  display: grid;
  gap: 14px;
}
.settings-flight-detail-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.settings-flight-detail-grid-v2 .settings-flight-questions-panel,
.settings-flight-detail-grid-v2 .settings-flight-markets-bottom {
  grid-column: 1 / -1;
}
.settings-flight-detail-grid-v2 .settings-flight-basic-edit-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}
.settings-flight-detail-grid-v2 .settings-flight-basic-edit-form .wide {
  grid-column: 1 / -1;
}
.settings-flight-detail-grid-v2 .settings-flight-basic-edit-form .btn {
  width: max-content;
}
.settings-subfilter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}
.settings-subfilter-form label {
  display: grid;
  gap: 6px;
  color: #444;
  font-size: 13px;
  font-weight: 900;
}
.settings-subfilter-form input {
  height: 42px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 800;
  box-sizing: border-box;
}
.settings-subfilter-form .btn,
.settings-subfilter-form .compact-action {
  height: 42px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.settings-flight-markets-bottom .settings-flight-market-table {
  min-width: 920px;
}
@media (max-width: 1180px) {
  .settings-flight-detail-grid-v2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .settings-subfilter-form,
  .settings-flight-detail-grid-v2 .settings-flight-basic-edit-form {
    grid-template-columns: 1fr;
  }
}


/* Lightweight flight creation dialog */
.settings-flight-create-dialog {
  width: min(760px, 96vw);
}
.settings-flight-create-basic-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-flight-create-basic-form .wide {
  grid-column: 1 / -1;
}
.settings-flight-create-basic-form .btn {
  width: max-content;
}
@media (max-width: 760px) {
  .settings-flight-create-basic-form {
    grid-template-columns: 1fr;
  }
}


/* Market master overview cleanup */
.settings-markets-card .settings-filter-bar {
  grid-template-columns: minmax(280px, 1fr) minmax(180px, .45fr) auto;
}
#settings-flights .settings-flight-filter-bar {
  grid-template-columns: minmax(260px, 420px) minmax(160px, 230px) auto auto;
  justify-content: start;
  align-items: end;
  padding: 10px 12px;
  margin: 8px 0 14px;
}
#settings-flights .settings-flight-filter-bar input,
#settings-flights .settings-flight-filter-bar select {
  height: 34px;
  min-height: 0;
  padding: 6px 10px;
  font-size: 13px;
}
.settings-market-list-table td:nth-child(2) {
  font-family: inherit;
  font-weight: 800;
  color: #111;
}
.settings-market-list-table td:last-child .btn {
  margin: 0;
}
@media (max-width: 760px) {
  .settings-markets-card .settings-filter-bar,
  #settings-flights .settings-flight-filter-bar {
    grid-template-columns: 1fr;
  }
}


/* Market SAP number as secondary text */
.settings-market-subline {
  margin-top: 3px;
  color: #666;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}


/* Market overview compact filter and table typography */
.settings-market-title-row {
  margin-bottom: 10px;
}
.settings-markets-card .settings-market-filter-bar {
  grid-template-columns: minmax(260px, 420px) minmax(160px, 230px) auto auto;
  justify-content: start;
  align-items: end;
  padding: 10px 12px;
  margin: 8px 0 14px;
}
.settings-markets-card .settings-market-filter-bar input,
.settings-markets-card .settings-market-filter-bar select {
  height: 38px;
  font-size: 13px;
  padding: 7px 10px;
}
.settings-markets-card .settings-market-filter-bar .btn,
.settings-markets-card .settings-market-filter-bar .compact-action,
#settings-flights .settings-flight-filter-bar .compact-action {
  height: 34px;
  min-height: 0;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}
.settings-markets-card .settings-market-filter-bar .settings-reset-filter,
#settings-flights .settings-flight-filter-bar .settings-reset-filter {
  background: #fff;
  border-color: #d0d0d0;
  color: #555;
  font-weight: 750;
}
#settings-flights .settings-flight-filter-bar .btn,
#settings-flights .settings-flight-filter-bar .compact-action {
  height: 34px;
  min-height: 0;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1;
}
.settings-market-list-table td {
  font-weight: 500;
}
.settings-market-list-table td:nth-child(2) {
  font-family: inherit;
  font-weight: 500;
  color: #111;
}
.settings-address-line {
  display: block;
  color: #111;
  font-weight: 500;
  line-height: 1.25;
}
@media (max-width: 980px) {
  .settings-markets-card .settings-market-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .settings-markets-card .settings-market-filter-bar {
    grid-template-columns: 1fr;
  }
}


/* Market filter final alignment */
.settings-markets-card .settings-market-filter-bar {
  grid-template-columns: minmax(240px, 360px) minmax(180px, 220px) auto auto;
  align-items: end;
  margin-top: 0;
}
.settings-markets-card .settings-market-filter-bar input,
.settings-markets-card .settings-market-filter-bar select,
.settings-markets-card .settings-market-filter-bar .btn,
.settings-markets-card .settings-market-filter-bar .compact-action {
  height: 40px;
  min-height: 40px;
  box-sizing: border-box;
}
.settings-markets-card .settings-market-filter-bar .btn,
.settings-markets-card .settings-market-filter-bar .compact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}
.settings-markets-card .settings-market-filter-bar .settings-reset-filter,
#settings-flights .settings-flight-filter-bar .settings-reset-filter {
  background: #fff;
  border: 1px solid #cfcfcf;
  color: #222;
  box-shadow: none;
}
@media (max-width: 980px) {
  .settings-markets-card .settings-market-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .settings-markets-card .settings-market-filter-bar {
    grid-template-columns: 1fr;
  }
}


/* Market table final alignment */
.settings-market-list-table th:nth-child(2),
.settings-market-list-table th:nth-child(3),
.settings-market-list-table th:nth-child(4),
.settings-market-list-table th:nth-child(5),
.settings-market-list-table td:nth-child(2),
.settings-market-list-table td:nth-child(3),
.settings-market-list-table td:nth-child(4),
.settings-market-list-table td:nth-child(5) {
  text-align: center;
}
.settings-market-list-table td:nth-child(2) .settings-address-line,
.settings-market-list-table td:nth-child(2) .settings-market-subline {
  text-align: center;
}
.settings-market-list-table td:nth-child(4) {
  font-weight: 500;
}
.settings-market-list-table td:nth-child(5) .btn {
  margin-left: auto;
  margin-right: auto;
}


/* Market status colors */
.status-pill.market-status-active {
  background: #ecfdf3;
  border-color: #86efac;
  color: #14532d;
}
.status-pill.market-status-paused {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.status-pill.market-status-closed {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.settings-markets-card .settings-market-filter-bar {
  grid-template-columns: minmax(240px, 360px) minmax(180px, 220px) auto auto auto;
}
.settings-markets-card .settings-market-filter-bar .settings-export-button {
  background: #fff;
  border: 1px solid #cfcfcf;
  color: #222;
}
@media (max-width: 980px) {
  .settings-markets-card .settings-market-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .settings-markets-card .settings-market-filter-bar {
    grid-template-columns: 1fr;
  }
}


/* Market table precise vertical and horizontal alignment */
.settings-market-list-table {
  table-layout: fixed;
}
.settings-market-list-table th,
.settings-market-list-table td {
  vertical-align: middle !important;
}
.settings-market-list-table th:nth-child(1),
.settings-market-list-table td:nth-child(1) { width: 27%; }
.settings-market-list-table th:nth-child(2),
.settings-market-list-table td:nth-child(2) { width: 27%; }
.settings-market-list-table th:nth-child(3),
.settings-market-list-table td:nth-child(3) { width: 18%; }
.settings-market-list-table th:nth-child(4),
.settings-market-list-table td:nth-child(4) { width: 18%; }
.settings-market-list-table th:nth-child(5),
.settings-market-list-table td:nth-child(5) { width: 10%; }
.settings-market-list-table th:nth-child(n+2),
.settings-market-list-table td:nth-child(n+2) {
  text-align: center !important;
}
.settings-market-list-table td:nth-child(2),
.settings-market-list-table td:nth-child(3),
.settings-market-list-table td:nth-child(4),
.settings-market-list-table td:nth-child(5) {
  align-content: center;
}
.settings-market-list-table td:nth-child(2) .settings-address-line,
.settings-market-list-table td:nth-child(2) .settings-market-subline {
  text-align: center !important;
}
.settings-market-list-table td:nth-child(3) .status-pill,
.settings-market-list-table td:nth-child(4) .settings-action-muted,
.settings-market-list-table td:nth-child(5) .btn {
  margin-left: auto;
  margin-right: auto;
}
.settings-market-list-table td:nth-child(3) .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  white-space: normal;
  text-align: center;
}
.settings-market-list-table td:nth-child(5) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.settings-market-master-form .settings-status-period-field.is-hidden,
.settings-market-master-form .settings-status-period-field[hidden] {
  display: none !important;
}
.settings-market-master-form input:disabled {
  background: #f4f4f4;
  color: #777;
  cursor: not-allowed;
}

.settings-status-note .settings-status-value {
  color: #111;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}
.settings-market-contact-select-box select {
  width: 100%;
  height: 42px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 800;
}
.settings-market-contact-select-box select:disabled {
  opacity: 1;
  cursor: default;
}

.settings-google-market-card {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-top: 12px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 8px;
  padding: 12px;
}
.settings-google-photo {
  min-height: 160px;
  border: 1px dashed #d0d0d0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #666;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.settings-google-photo img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}
.settings-google-facts {
  display: grid;
  gap: 7px;
  align-content: start;
}
.settings-google-facts strong {
  color: #111;
  font-size: 16px;
  font-weight: 950;
}
.settings-google-facts span {
  color: #666;
  font-size: 12px;
  font-weight: 800;
}
.settings-google-hours {
  display: grid;
  gap: 4px;
}
.settings-google-hours small {
  color: #444;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
@media (max-width: 760px) {
  .settings-google-market-card {
    grid-template-columns: 1fr;
  }
}

/* Clickable market rows without separate view buttons */
.settings-market-list-table th:nth-child(1),
.settings-market-list-table td:nth-child(1) { width: 30%; }
.settings-market-list-table th:nth-child(2),
.settings-market-list-table td:nth-child(2) { width: 30%; }
.settings-market-list-table th:nth-child(3),
.settings-market-list-table td:nth-child(3) { width: 20%; }
.settings-market-list-table th:nth-child(4),
.settings-market-list-table td:nth-child(4) { width: 20%; }
.market-overview-table tr.market-clickable-row,
.online-training-table tr.market-clickable-row {
  cursor: pointer;
}
.market-overview-table tr.market-clickable-row:hover td,
.market-overview-table tr.market-clickable-row:focus td,
.online-training-table tr.market-clickable-row:hover td,
.online-training-table tr.market-clickable-row:focus td {
  background: #fff5f5;
}
.market-overview-table tr.market-clickable-row:focus,
.market-overview-table tr.market-clickable-row:focus-visible,
.online-training-table tr.market-clickable-row:focus,
.online-training-table tr.market-clickable-row:focus-visible {
  outline: 0;
}

/* Settings system dashboard V1 */
.settings-system-dashboard .section-title-row {
  margin-bottom: 14px;
}
.settings-system-status-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 14px;
}
.settings-system-tile.system-state-stabil,
.settings-system-tile.system-state-ja,
.settings-system-tile.system-state-active {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.settings-system-tile.system-state-stabil strong,
.settings-system-tile.system-state-ja strong,
.settings-system-tile.system-state-active strong { color: #14532d; }
.settings-system-tile.system-state-warnung {
  border-color: #fde68a;
  background: #fffbeb;
}
.settings-system-tile.system-state-warnung strong { color: #92400e; }
.settings-system-tile.system-state-kritisch,
.settings-system-tile.system-state-nein {
  border-color: #fecaca;
  background: #fef2f2;
}
.settings-system-tile.system-state-kritisch strong,
.settings-system-tile.system-state-nein strong { color: #991b1b; }
.settings-system-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.settings-system-section {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  min-width: 0;
}
.settings-system-section h6 {
  margin: 0 0 10px;
  color: #111;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}
.settings-system-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #eeeeee;
}
.settings-system-list > div {
  display: grid;
  grid-template-columns: minmax(140px, .6fr) minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #eeeeee;
  align-items: start;
}
.settings-system-list span {
  color: #666;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.settings-system-list strong {
  color: #111;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.settings-system-list em {
  grid-column: 2;
  color: #666;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
@media (max-width: 1320px) {
  .settings-system-status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .settings-system-sections { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .settings-system-status-grid { grid-template-columns: 1fr; }
  .settings-system-list > div { grid-template-columns: 1fr; gap: 4px; }
  .settings-system-list em { grid-column: auto; }
}

.contact-card .market-contact-empty-card {
  height: auto !important;
  min-height: 0 !important;
  padding: 18px 20px !important;
  display: block !important;
  background: #f7f7f7 !important;
}
.contact-card .market-contact-empty-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-card .market-contact-empty-line strong,
.contact-card .market-contact-empty-line span {
  display: inline;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.contact-card .market-contact-empty-line strong {
  font-size: 18px;
  font-weight: 900;
  color: #111111;
}
.contact-card .market-contact-empty-line span {
  font-size: 15px;
  font-weight: 800;
  color: #666666;
}

.settings-google-sync-section {
  border-left: 4px solid #111111;
}
.settings-system-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid #e5e5e5;
  padding-top: 12px;
}
.settings-system-action-row .btn {
  margin: 0;
  white-space: nowrap;
}
.settings-system-action-row .btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.settings-system-action-row span {
  color: #666666;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}
@media (max-width: 760px) {
  .settings-system-action-row { align-items: flex-start; flex-direction: column; }
}

/* System dashboard V2 readability */
.settings-system-sections-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.settings-system-sections-v2 .settings-system-section {
  min-height: 0;
}
.settings-system-sections-v2 .settings-system-section h6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}
.settings-system-sections-v2 .settings-system-list > div {
  grid-template-columns: minmax(118px, .52fr) minmax(0, 1fr);
  padding: 8px 0;
}
.settings-system-sections-v2 .settings-system-list strong {
  font-size: 13.5px;
}
.settings-system-sections-v2 .settings-system-list em {
  font-size: 11.5px;
}
.settings-system-sections-v2 .settings-google-sync-section {
  border-left-color: #666666;
  background: #fcfcfc;
}
@media (max-width: 1320px) {
  .settings-system-sections-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .settings-system-sections-v2 { grid-template-columns: 1fr; }
}

.settings-infra-hardening-section {
  grid-column: 1 / -1;
  background: #fcfcfc;
}
.settings-go-live-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.settings-go-live-summary > div {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}
.settings-go-live-summary span {
  color: #666;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.settings-go-live-summary strong {
  color: #111;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}
.settings-hardening-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.settings-hardening-group {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}
.settings-hardening-group > strong {
  display: block;
  color: #111;
  font-size: 14px;
  font-weight: 950;
  margin-bottom: 8px;
}
.settings-hardening-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.settings-hardening-group li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  border-top: 1px solid #eeeeee;
  padding-top: 8px;
}
.settings-hardening-group li:first-child {
  border-top: 0;
  padding-top: 0;
}
.settings-hardening-group li span {
  color: #111;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}
.settings-hardening-group li small {
  grid-column: 1 / -1;
  color: #666;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.hardening-status {
  align-self: start;
  border: 1px solid #d0d0d0;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f7f7f7;
  color: #555;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}
.hardening-status-offen { background: #fff8df; border-color: #fde68a; color: #92400e; }
.hardening-status-geplant { background: #f4f4f4; border-color: #d0d0d0; color: #555; }
.hardening-status-erledigt { background: #ecfdf3; border-color: #86efac; color: #14532d; }
.hardening-status-später { background: #f7f7f7; border-color: #d8d8d8; color: #666; }
@media (max-width: 1180px) {
  .settings-hardening-groups { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .settings-go-live-summary { grid-template-columns: 1fr; }
}

/* Market table hover/selection should match the neutral downloads table tone */
.settings-flight-overview-table tr.settings-clickable-row:hover td,
.settings-flight-overview-table tr.settings-clickable-row:focus td,
.settings-flight-overview-table tr.settings-clickable-row.is-selected td,
.settings-market-list-table tr.settings-clickable-row:hover td,
.settings-market-list-table tr.settings-clickable-row:focus td,
.settings-market-list-table tr.settings-clickable-row.is-selected td,
.market-overview-table tr.market-clickable-row:hover td,
.market-overview-table tr.market-clickable-row:focus td,
.online-training-table tr.market-clickable-row:hover td,
.online-training-table tr.market-clickable-row:focus td {
  background: #f7f7f7 !important;
}


/* Settings import validation V1 */
.settings-imports-v2{display:grid!important;gap:14px!important}
.settings-import-scope-grid{margin-bottom:0!important}
.settings-import-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.settings-import-type{border:1px solid #dedede;background:#fff;border-radius:8px;padding:12px 13px;display:grid;gap:5px;cursor:pointer;min-height:118px;box-sizing:border-box;text-decoration:none!important;color:inherit!important}
.settings-import-type.is-active{border-color:#111;background:#f7f7f7}
.settings-import-type input{position:absolute;opacity:0;pointer-events:none}
.settings-import-type span{font-size:10px;font-weight:950;letter-spacing:.04em;text-transform:uppercase;color:#666}
.settings-import-type strong{font-size:18px;line-height:1.08;font-weight:950;color:#111}
.settings-import-type em{font-style:normal;font-size:12px;line-height:1.3;font-weight:800;color:#666}
.settings-import-check-form{display:grid!important;grid-template-columns:minmax(320px,1fr) auto!important;align-items:end!important;gap:12px!important;border:1px solid #e2e2e2;background:#fafafa;border-radius:8px;padding:14px!important}
.settings-import-check-form label{display:grid;gap:6px;font-size:13px;font-weight:950;color:#444}
.settings-import-check-form label span{font-size:12px;font-weight:800;color:#666}
.settings-import-check-form input[type=file]{height:auto;min-height:42px;background:#fff}
.settings-import-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.7fr);gap:12px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;padding:13px}
.settings-import-columns strong{display:block;color:#111;font-size:15px;font-weight:950;margin-bottom:8px}
.settings-import-columns p{margin:0;color:#666;font-size:13px;line-height:1.35;font-weight:800}
.settings-import-chip-list{display:flex;flex-wrap:wrap;gap:6px}
.settings-import-chip-list span{display:inline-flex;align-items:center;border:1px solid #d8d8d8;background:#f7f7f7;border-radius:999px;padding:5px 9px;color:#333;font-size:12px;font-weight:900}
.settings-import-report{border:1px solid #dedede;border-radius:8px;background:#fff;padding:14px;display:grid;gap:12px}
.settings-import-report .section-title-row{margin-bottom:0!important}
.settings-import-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.settings-import-stats div{border:1px solid #e5e5e5;border-radius:8px;background:#fafafa;padding:10px 12px;display:grid;gap:4px}
.settings-import-stats span{font-size:10px;font-weight:950;color:#666;text-transform:uppercase;letter-spacing:.04em}
.settings-import-stats strong{font-size:20px;font-weight:950;color:#111;line-height:1}
.settings-import-errors{border:1px solid #ffb8b8;background:#fff6f6;border-radius:8px;padding:11px 13px;color:#7a0000}
.settings-import-errors strong{font-size:14px;font-weight:950;color:#7a0000}
.settings-import-errors ul{margin:7px 0 0;padding-left:18px}
.settings-import-report-table td{vertical-align:top!important}
.status-pill.import-state-ok{background:#e7fff0!important;border-color:#76e2a4!important;color:#126b35!important}
.status-pill.import-state-warnung{background:#fff8df!important;border-color:#f2c94c!important;color:#8a5a00!important}
.status-pill.import-state-fehler{background:#fff0f0!important;border-color:#ffb3b3!important;color:#9b0000!important}
@media (max-width:1180px){.settings-import-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-import-columns,.settings-import-stats{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.settings-import-type-grid,.settings-import-check-form,.settings-import-columns,.settings-import-stats{grid-template-columns:1fr!important}.settings-import-check-form .btn{width:max-content}}


.settings-template-link{display:inline-flex;width:max-content;margin-top:3px;color:#de0200!important;font-size:12px;font-weight:950;text-decoration:none!important}
.settings-template-link:hover{text-decoration:underline!important}
.settings-template-downloads{border:1px solid #e5e5e5;background:#fafafa;border-radius:8px;padding:12px 13px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.settings-template-downloads strong{font-size:14px;font-weight:950;color:#111}
.settings-template-downloads>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.settings-template-downloads a{display:inline-flex;align-items:center;min-height:32px;border:1px solid #d0d0d0;background:#fff;border-radius:8px;padding:7px 10px;color:#111!important;font-size:12px;font-weight:950;text-decoration:none!important}
.settings-template-downloads a:hover{background:#f7f7f7;border-color:#bdbdbd}
.settings-import-model-note{margin-top:7px!important;color:#555!important}


/* Settings organizations */
.settings-organizations-card{display:grid!important;gap:0!important}
.settings-organizations-card .settings-organization-filter-bar{grid-template-columns:minmax(240px,360px) minmax(180px,240px) minmax(150px,190px) max-content max-content;justify-content:start;align-items:end;margin:0 0 14px;padding:10px 12px}
.settings-organizations-card .settings-organization-filter-bar input,.settings-organizations-card .settings-organization-filter-bar select,.settings-organizations-card .settings-organization-filter-bar .btn,.settings-organizations-card .settings-organization-filter-bar .compact-action{height:40px;min-height:40px;box-sizing:border-box}
.settings-organizations-card .settings-organization-filter-bar .btn,.settings-organizations-card .settings-organization-filter-bar .compact-action{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:9px 14px;font-size:13px;line-height:1;font-weight:850;white-space:nowrap;width:max-content;min-width:0}
.settings-organizations-card .settings-organization-filter-bar .settings-reset-filter{background:#fff;border:1px solid #cfcfcf;color:#222;box-shadow:none}
.settings-organization-table{min-width:1080px!important}
.settings-organization-table{table-layout:fixed!important}
.settings-organization-table th:nth-child(1),.settings-organization-table td:nth-child(1){width:27%}
.settings-organization-table th:nth-child(2),.settings-organization-table td:nth-child(2){width:22%;vertical-align:middle!important}
.settings-organization-table th:nth-child(3),.settings-organization-table td:nth-child(3){width:20%;vertical-align:middle!important}
.settings-organization-table th:nth-child(4),.settings-organization-table td:nth-child(4){width:9%;text-align:center;vertical-align:middle!important}
.settings-organization-table th:nth-child(5),.settings-organization-table td:nth-child(5){width:8%;text-align:center;vertical-align:middle!important}
.settings-organization-table th:nth-child(6),.settings-organization-table td:nth-child(6){width:8%;text-align:center;vertical-align:middle!important}
.settings-organization-table th:nth-child(7),.settings-organization-table td:nth-child(7){width:6%;text-align:center;vertical-align:middle!important}
.settings-organization-table td:nth-child(1) strong,.settings-organization-table td:nth-child(2) .settings-address-line,.settings-organization-table td:nth-child(3) strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.settings-organization-table td:nth-child(1) .settings-market-subline,.settings-organization-table td:nth-child(2) .settings-market-subline,.settings-organization-table td:nth-child(3) .settings-market-subline{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.settings-organization-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}
.settings-organization-form label{display:grid;gap:6px;color:#444;font-size:13px;font-weight:900}
.settings-organization-form input,.settings-organization-form select{height:42px;border:1px solid #d0d0d0;border-radius:8px;background:#fff;color:#111;padding:8px 11px;font-size:15px;font-weight:850;box-sizing:border-box;width:100%}
.settings-organization-form .organization-location-field{min-width:0}
.settings-organization-form .organization-postal-grid{display:grid;grid-template-columns:82px minmax(110px,1fr);gap:8px}
.settings-organization-form input[readonly]{background:#f7f7f7;color:#555}
.settings-organization-save-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}
.settings-organization-save-row label{margin:0}
.settings-organization-save-row .btn{height:42px;width:100%;margin:0;align-self:end;white-space:nowrap;padding:9px 14px;font-size:13px;font-weight:850}
.settings-organization-doc-section{grid-column:1/-1;border:1px solid #e2e2e2;background:#fafafa;border-radius:8px;padding:12px;display:grid;gap:10px;min-width:0;width:100%;box-sizing:border-box}
.settings-organization-doc-head{display:flex;align-items:center;gap:10px;min-width:0}
.settings-organization-doc-head strong{color:#444;font-size:13px;font-weight:950;align-self:center}
.settings-organization-doc-head [data-organization-document-label]{color:#666;font-size:12px;font-weight:800;line-height:1.25;min-height:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.settings-organization-doc-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
.settings-organization-doc-list div{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:stretch;min-width:0;border:1px solid #dedede;background:#fafafa;border-radius:8px;overflow:hidden}
.settings-organization-doc-list span{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"type name" "type date";align-items:center;gap:2px 7px;min-width:0;padding:7px 9px;color:#333;font-size:12px;font-weight:850;line-height:1.2}
.settings-organization-doc-list b{grid-area:type;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:5px;background:#f2f2f2;color:#de0200;font-size:10px;font-weight:950;padding:3px 5px;line-height:1}
.settings-organization-doc-list em{grid-area:name;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.settings-organization-doc-list small{grid-area:date;color:#777;font-size:10px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.settings-organization-doc-list button{border:0;border-left:1px solid #dedede;background:#fff;color:#555;font-size:18px;font-weight:900;line-height:1;cursor:pointer}
.settings-organization-doc-list button:hover{background:#fff5f5;color:#de0200}
.settings-organization-form>button[type=submit]{grid-column:1/-1;width:max-content;margin-top:4px}
.status-pill.status-muted{background:#f3f3f3!important;border-color:#d4d4d4!important;color:#555!important}
@media (max-width:980px){.settings-organizations-card .settings-organization-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.settings-organizations-card .settings-organization-filter-bar{grid-template-columns:1fr}.settings-organizations-card .settings-organization-filter-bar .btn,.settings-organizations-card .settings-organization-filter-bar .compact-action{width:100%}}
@media (max-width:900px){.settings-organization-form{grid-template-columns:1fr}.settings-organization-form .organization-postal-grid{grid-template-columns:80px minmax(100px,1fr)}.settings-organization-save-row{grid-template-columns:1fr}.settings-organization-doc-list{grid-template-columns:1fr}.settings-organization-form button[type=submit]{width:100%}}

/* Compact import settings layout */
.settings-import-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:14px;align-items:start}
.settings-import-sidebar{border:1px solid #e5e5e5;background:#fafafa;border-radius:8px;padding:12px;display:grid;gap:10px}
.settings-import-sidebar>strong{font-size:13px;font-weight:950;color:#111;text-transform:uppercase;letter-spacing:.04em}
.settings-import-type-list{display:grid;gap:7px}
.settings-import-type-list .settings-import-type{min-height:0!important;padding:10px 11px!important;background:#fff!important;gap:2px!important}
.settings-import-type-list .settings-import-type:hover{background:#f7f7f7!important;border-color:#cfcfcf!important}
.settings-import-type-list .settings-import-type.is-active{border-color:#111!important;background:#f7f7f7!important;box-shadow:inset 4px 0 0 #de0200}
.settings-import-type-list .settings-import-type strong{font-size:15px!important;line-height:1.1!important}
.settings-import-type-list .settings-import-type em{display:none!important}
.settings-import-main{display:grid;gap:12px;min-width:0}
.settings-template-downloads{margin:0!important;padding:10px 12px!important}
.settings-template-downloads>div:first-child{display:grid;gap:2px}
.settings-template-downloads>div:first-child span{font-size:12px;font-weight:800;color:#666}
.settings-template-downloads a{min-height:30px!important;padding:6px 9px!important;font-size:12px!important}
.settings-import-check-form{margin:0!important}
.settings-import-columns{margin:0!important}
.settings-import-schema-card>span{display:block;margin:-3px 0 10px;color:#666;font-size:12px;font-weight:800;line-height:1.35}
.settings-import-rules ul{margin:0;padding:0;list-style:none;display:grid;gap:7px}
.settings-import-rules li{position:relative;padding-left:18px;color:#555;font-size:13px;font-weight:800;line-height:1.35}
.settings-import-rules li:before{content:"";position:absolute;left:0;top:.58em;width:6px;height:6px;border-radius:999px;background:#de0200}
@media (max-width:1000px){.settings-import-layout{grid-template-columns:1fr}.settings-import-type-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.settings-import-type-list{grid-template-columns:1fr}}

/* Import page grouped by flight dependency */
.settings-import-layout-v3{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important}
.settings-import-scope-selector{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;min-width:0}
.settings-import-scope-card{border:1px solid #e1e1e1;background:#fff;border-radius:8px;padding:14px 16px!important;display:grid!important;gap:12px!important;min-width:0}
.settings-import-scope-card.is-active{background:#fff;border-color:#d2d2d2;box-shadow:inset 4px 0 0 #de0200}
.settings-import-scope-head{display:grid!important;gap:4px!important;min-width:0}
.settings-import-scope-head span{display:none!important}
.settings-import-scope-head strong{font-size:21px!important;font-weight:950!important;line-height:1.05!important;color:#111!important}
.settings-import-scope-head em{font-style:normal!important;color:#666!important;font-size:13px!important;font-weight:750!important;line-height:1.3!important}
.settings-import-scope-card .settings-import-type-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
.settings-import-scope-card .settings-import-type{border:1px solid #dedede!important;background:#fff!important;border-radius:8px!important;padding:14px!important;display:grid!important;grid-template-rows:1fr auto!important;gap:12px!important;min-height:146px!important;box-sizing:border-box!important;min-width:0!important;align-content:start!important}
.settings-import-scope-card .settings-import-type:hover{background:#fff!important;border-color:#c9c9c9!important}
.settings-import-scope-card .settings-import-type.is-active{border-color:#111!important;background:#f7f7f7!important;box-shadow:inset 4px 0 0 #de0200!important}
.settings-import-type-main{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:10px!important;color:inherit!important;text-decoration:none!important;min-width:0!important;align-content:start!important;align-items:start!important}
.settings-import-card-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#de0200;margin-top:1px}
.settings-import-card-icon .nav-icon{width:28px;height:28px;stroke-width:1.8}
.settings-import-card-copy{display:grid;gap:5px;min-width:0}
.settings-import-type-list .settings-import-type .settings-import-type-main strong{font-size:18px!important;line-height:1.12!important;color:#111!important;font-weight:950!important;display:block!important}
.settings-import-type-list .settings-import-type .settings-import-type-main em{display:block!important;font-style:normal!important;font-size:12.5px!important;line-height:1.32!important;color:#555!important;font-weight:650!important;min-width:0!important;overflow:visible!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important}
.settings-import-card-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0!important}
.settings-import-card-actions>span{color:#666!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important;white-space:nowrap!important}
.settings-import-template-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:max-content!important;max-width:100%!important;min-height:27px!important;border:1px solid #d0d0d0!important;background:#fff!important;border-radius:7px!important;padding:4px 8px!important;color:#111!important;font-size:11px!important;font-weight:900!important;text-decoration:none!important;white-space:nowrap!important}
.settings-excel-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px}.settings-excel-icon svg{display:block;width:22px;height:22px}
.settings-import-template-link:hover{background:#f7f7f7!important;border-color:#bdbdbd!important;color:#107c41!important}
.settings-import-workbench{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;min-width:0!important;min-height:124px!important}
.settings-import-work-main{display:grid!important;gap:12px!important;min-width:0!important}
.settings-import-check-form{grid-template-columns:minmax(360px,560px) max-content!important;justify-content:start!important;align-items:center!important;column-gap:14px!important;background:#fafafa!important;padding:12px 18px!important;min-height:124px!important;height:124px!important;box-sizing:border-box!important}
.settings-import-check-form .btn{height:34px!important;min-height:34px!important;min-width:112px!important;margin:0!important;align-self:center!important;font-size:12px!important;padding:7px 13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
.settings-import-check-form input[type=file]{min-height:38px!important;border:1px solid #d0d0d0!important;border-radius:8px!important;padding:6px 9px!important;box-sizing:border-box!important;background:#fff!important}
.settings-import-check-form label{align-self:center!important;margin:0!important;justify-content:center!important}
.settings-import-rules-panel{border:1px solid #e1e1e1!important;background:#fff!important;box-shadow:inset 4px 0 0 #de0200!important;border-radius:8px!important;padding:12px 16px 12px 20px!important;display:grid!important;align-content:center!important;gap:8px!important;min-width:0!important;min-height:124px!important;height:124px!important;box-sizing:border-box!important;overflow:hidden!important}
.settings-import-rules-panel strong{font-size:18px!important;margin:0!important;color:#111!important}
.settings-import-rules-panel ul{gap:6px!important}
.settings-import-rules-panel li{font-size:12.2px!important;line-height:1.2!important;color:#555!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.settings-import-columns-v3{display:block!important;background:#fff!important;margin:0!important;padding:14px 16px!important;border:1px solid #e5e5e5!important;border-radius:8px!important}
.settings-import-columns-v3 .settings-import-schema-card>strong{font-size:18px!important;margin-bottom:5px!important}
.settings-import-columns-v3 .settings-import-schema-card>span{display:block!important;margin:0 0 10px!important;color:#666!important;font-size:12px!important;font-weight:750!important;line-height:1.35!important}
.settings-import-columns-v3 .settings-import-chip-list{gap:7px!important}
.settings-import-columns-v3 .settings-import-chip-list span{padding:5px 9px!important;font-size:12px!important;background:#f7f7f7!important}
@media (max-width:1180px){.settings-import-workbench{grid-template-columns:1fr!important}.settings-import-rules-panel{height:auto!important;min-height:0!important;overflow:visible!important}.settings-import-rules-panel li{white-space:normal!important}.settings-import-scope-selector{grid-template-columns:1fr!important}.settings-import-scope-card .settings-import-type-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:760px){.settings-import-scope-card{padding:14px!important}.settings-import-scope-card .settings-import-type-list,.settings-import-check-form{grid-template-columns:1fr!important}.settings-import-scope-card .settings-import-type{min-height:0!important}.settings-import-check-form .btn{width:100%!important}.settings-import-card-actions{align-items:flex-start!important;flex-direction:column!important}.settings-import-template-link{width:100%!important}}


/* Market status period as second line */
.status-pill.status-with-detail{
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  line-height:1.12!important;
  padding:7px 15px!important;
  border-radius:999px!important;
  white-space:normal!important;
  text-align:center!important;
}
.status-pill.status-with-detail span{
  display:block!important;
}
.status-pill.status-with-detail small{
  display:block!important;
  font-size:12px!important;
  line-height:1.1!important;
  font-weight:850!important;
  color:inherit!important;
}
.settings-market-list-table td:nth-child(3) .status-pill.status-with-detail{
  min-width:190px!important;
}
.settings-status-value .status-pill{
  width:max-content!important;
  max-width:100%!important;
}


/* Settings markets table aligned with organization table */
.settings-market-list-table{min-width:1180px!important;table-layout:fixed!important}
.settings-market-list-table th,.settings-market-list-table td{box-sizing:border-box!important}
.settings-market-list-table th:nth-child(1),.settings-market-list-table td:nth-child(1){width:24%!important;text-align:left!important}
.settings-market-list-table th:nth-child(2),.settings-market-list-table td:nth-child(2){width:21%!important;text-align:left!important;vertical-align:middle!important}
.settings-market-list-table th:nth-child(3),.settings-market-list-table td:nth-child(3){width:15%!important;text-align:left!important;vertical-align:middle!important}
.settings-market-list-table th:nth-child(4),.settings-market-list-table td:nth-child(4){width:19%!important;text-align:left!important;vertical-align:middle!important}
.settings-market-list-table th:nth-child(5),.settings-market-list-table td:nth-child(5){width:8%!important;text-align:center!important;vertical-align:middle!important}
.settings-market-list-table th:nth-child(6),.settings-market-list-table td:nth-child(6){width:13%!important;text-align:center!important;vertical-align:middle!important}
.settings-market-list-table td:nth-child(1) strong,.settings-market-list-table td:nth-child(2) .settings-address-line,.settings-market-list-table td:nth-child(4) strong,.settings-market-website-link{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;text-align:inherit!important}
.settings-market-list-table td:nth-child(1) .settings-market-subline,.settings-market-list-table td:nth-child(2) .settings-market-subline,.settings-market-list-table td:nth-child(4) .settings-market-subline{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;text-align:inherit!important}
.settings-market-list-table td:nth-child(2) .settings-address-line,.settings-market-list-table td:nth-child(2) .settings-market-subline{margin-left:0!important;margin-right:0!important;text-align:left!important}
.settings-market-list-table td:nth-child(3) .settings-action-muted,.settings-market-list-table td:nth-child(4) .settings-action-muted{margin-left:0!important;margin-right:0!important}
.settings-market-list-table td:nth-child(6) .status-pill{justify-content:center;margin:0 auto;max-width:100%}
.settings-market-list-table td:nth-child(6) .status-pill.status-with-detail{min-width:0!important}
.settings-market-website-link{color:#333!important;font-size:13px;font-weight:750;text-decoration:none!important}
.settings-market-website-link:hover{color:#de0200!important;text-decoration:underline!important;text-underline-offset:2px}
.settings-market-no-contact{display:block;color:#666;font-size:13px;font-weight:400;line-height:1.25}
.settings-market-list-table td:nth-child(4) strong{font-weight:750!important}


/* Settings top widgets: five rubrics in one desktop row */
@media (min-width:1181px){
  .settings-hub-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  .settings-nav-card{
    min-height:104px!important;
  }
  .settings-nav-card strong{
    font-size:20px!important;
    line-height:1.08!important;
  }
  .settings-nav-card span{
    font-size:12px!important;
    line-height:1.28!important;
  }
}


.flight-required-card{padding:28px!important;margin-top:0!important;min-height:180px;display:grid;align-items:center}
.flight-required-state{display:grid;gap:8px;max-width:680px}
.flight-required-state h5{font-size:30px;line-height:1.05;margin:0;color:#111;font-weight:950}
.flight-required-state p{margin:0;color:#666;font-size:15px;font-weight:750;line-height:1.35}


.settings-import-confirm{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important}
.settings-import-confirm strong,.settings-import-confirm span{min-width:0}
.settings-import-confirm .btn{margin:0!important;white-space:nowrap!important}
@media (max-width:760px){.settings-import-confirm{grid-template-columns:1fr!important}.settings-import-confirm .btn{width:100%!important}}


/* Refined flight management */
.settings-flight-detail-page-refined{display:grid;gap:12px;margin-top:0}.settings-flight-overview-card{border:1px solid #ddd;border-radius:8px;padding:16px 18px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center}.settings-flight-overview-main h5{font-size:28px;line-height:1.05;margin:2px 0 4px}.settings-flight-overview-main p{margin:0;color:#666;font-weight:750}.settings-flight-kpi-row{display:grid;grid-template-columns:repeat(5,minmax(86px,1fr));gap:8px}.settings-flight-kpi-row>div{border:1px solid #e0e0e0;border-radius:8px;padding:10px 12px;background:#f7f7f7;min-width:86px}.settings-flight-kpi-row span{display:block;color:#666;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.settings-flight-kpi-row strong{display:block;font-size:22px;line-height:1.05;color:#111}.settings-flight-grid-refined{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.settings-flight-panel{border:1px solid #ddd;border-radius:8px;background:#fff;padding:14px}.settings-flight-panel-basic .settings-flight-basic-edit-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.settings-chip-list-tight{max-height:260px;overflow:auto}.settings-contact-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.settings-contact-picker select{min-height:138px}.settings-contact-grid-compact{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin-top:10px}.settings-flight-market-dual-panel,.settings-flight-qr-panel,.settings-flight-feedback-builder{grid-column:1/-1}.settings-market-dual-filter{display:grid;grid-template-columns:minmax(240px,1fr) 180px 180px auto auto;gap:8px;align-items:end;margin-bottom:12px}.settings-market-dual-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.settings-market-dual-list{border:1px solid #e0e0e0;border-radius:8px;background:#fafafa;padding:10px;display:grid;gap:10px;align-content:start;min-height:220px}.settings-dual-list-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.settings-dual-list-head strong{font-size:16px}.settings-dual-list-head span{color:#666;font-weight:800}.settings-market-check-list,.settings-market-assigned-list{display:grid;gap:6px;max-height:330px;overflow:auto}.settings-market-check-row,.settings-assigned-market-row{border:1px solid #ddd;border-radius:8px;background:#fff;padding:9px 10px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:start}.settings-market-check-row span,.settings-assigned-market-row>div:first-child{display:grid;gap:2px;min-width:0}.settings-market-check-row strong,.settings-assigned-market-row strong{font-size:14px;line-height:1.15}.settings-market-check-row em,.settings-assigned-market-row em,.settings-assigned-market-row span{color:#666;font-style:normal;font-weight:750;font-size:12px;line-height:1.25}.settings-assigned-market-row{grid-template-columns:minmax(0,1fr) auto}.settings-assigned-market-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.settings-qr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.settings-qr-card{border:1px solid #ddd;border-radius:8px;background:#fafafa;padding:10px;display:grid;gap:8px;min-width:0}.settings-qr-card>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center}.settings-qr-card input[readonly]{width:100%;border:1px solid #d5d5d5;border-radius:8px;padding:9px 10px;background:#fff;font-weight:750;color:#333}.settings-qr-card small{color:#666;font-weight:800}.settings-qr-actions{display:flex;gap:6px;flex-wrap:wrap}.settings-question-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settings-question-card{border:1px solid #ddd;border-radius:8px;background:#fafafa;padding:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end}.settings-question-card.is-muted{opacity:.68}.settings-question-card-head{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;align-items:center}.settings-question-card-head strong{font-size:16px}.settings-question-card-head span{font-weight:800;color:#666;font-size:12px}.settings-question-card label.wide{grid-column:1/-1}.settings-question-card textarea{resize:vertical;min-height:76px}.settings-checkbox-label{display:flex!important;gap:8px!important;align-items:center!important;align-self:center}.settings-checkbox-label input{width:auto!important}.settings-question-actions{grid-column:1/-1;display:flex;align-items:center;gap:10px}.settings-question-deactivate-form{margin:-6px 0 8px 10px}.settings-question-new{background:#fff;border-color:#ccc}.feedback-public-body{background:#f0f0f0;margin:0;font-family:inherit}.feedback-public-page{min-height:100vh;display:grid;place-items:start center;padding:28px 14px}.feedback-public-card{width:min(760px,100%);padding:22px}.feedback-public-card h1{font-size:32px;line-height:1.05;margin:4px 0}.feedback-public-form{display:grid;gap:14px;margin-top:18px}.feedback-public-form fieldset{border:1px solid #ddd;border-radius:8px;padding:12px;background:#fafafa}.feedback-public-form legend{font-weight:900;padding:0 6px}.feedback-scale-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.feedback-scale-row label{display:grid;place-items:center}.feedback-scale-row input{position:absolute;opacity:0}.feedback-scale-row span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ccc;border-radius:8px;background:#fff;font-weight:900}.feedback-scale-row input:checked+span{border-color:#e30613;background:#e30613;color:#fff}.feedback-choice-row{display:grid;gap:7px;margin-top:8px}.feedback-choice-row label{display:flex;gap:8px;align-items:center;font-weight:750}.feedback-public-form textarea{width:100%;border:1px solid #ccc;border-radius:8px;padding:10px;font-weight:700}
@media (max-width:1100px){.settings-flight-overview-card,.settings-flight-grid-refined,.settings-market-dual-grid{grid-template-columns:1fr}.settings-flight-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-market-dual-filter{grid-template-columns:1fr 1fr}.settings-qr-grid,.settings-question-list{grid-template-columns:1fr}}@media (max-width:700px){.settings-flight-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-market-dual-filter,.settings-contact-picker,.settings-flight-panel-basic .settings-flight-basic-edit-form,.settings-question-card{grid-template-columns:1fr}.settings-assigned-market-row{grid-template-columns:1fr}.settings-assigned-market-actions{justify-content:flex-start}}

.settings-training-qr-table td{vertical-align:middle}.settings-training-qr-table td>span,.settings-training-qr-table small{display:block;color:#666;font-weight:800;font-size:12px;margin-top:3px}.settings-copy-field{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:6px;align-items:center}.settings-copy-field input{min-width:0}.training-qr-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.training-qr-actions form{margin:0}.detail-history-table small{display:block;color:#666;font-size:11px;font-weight:800;margin-top:3px}


/* Printable training-event feedback QR */
.feedback-qr-print-card{width:min(1040px,100%);margin:0 auto;padding:28px;box-sizing:border-box}.feedback-qr-sheet-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start;margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid #e5e5e5}.feedback-qr-sheet-head h1{margin:0;color:#111;font-size:36px;line-height:1.02;font-weight:950}.feedback-qr-sheet-head p{margin:6px 0 0;color:#666;font-size:17px;font-weight:800;line-height:1.3}.feedback-qr-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.feedback-qr-sheet-grid{display:grid;grid-template-columns:440px minmax(0,1fr);gap:24px;align-items:start}.feedback-qr-render{border:1px solid #d8d8d8;border-radius:8px;background:#fff;padding:10px;display:grid;place-items:center}.feedback-qr-svg,.feedback-qr-img{display:block;width:min(100%,410px);height:auto;image-rendering:pixelated}.feedback-qr-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feedback-qr-meta>div{border:1px solid #e5e5e5;border-radius:8px;background:#f7f7f7;padding:11px 12px;min-width:0}.feedback-qr-meta span,.feedback-qr-url span{display:block;color:#666;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.feedback-qr-meta strong{display:block;color:#111;font-size:16px;font-weight:900;line-height:1.25;overflow-wrap:anywhere}.feedback-qr-url{display:grid;gap:6px;margin-top:18px}.feedback-qr-url input{width:100%;box-sizing:border-box;border:1px solid #d0d0d0;border-radius:8px;background:#fff;padding:11px 12px;color:#333;font-size:14px;font-weight:750}.feedback-qr-print-card .qr-modal-note{max-width:none!important;margin:14px 0 0!important;text-align:left!important}
@media (max-width:820px){.feedback-qr-print-card{padding:20px}.feedback-qr-sheet-head,.feedback-qr-sheet-grid{grid-template-columns:1fr}.feedback-qr-actions{justify-content:flex-start}.feedback-qr-meta{grid-template-columns:1fr}}
@media print{.no-print,.sidebar,.topbar{display:none!important}body{background:#fff!important}.content-shell,.app-content{margin:0!important;padding:0!important}.feedback-qr-print-card{width:100%!important;box-shadow:none!important;border:0!important;padding:12mm!important}.feedback-qr-sheet-head h1{font-size:30px}.feedback-qr-sheet-grid{grid-template-columns:86mm 1fr;gap:10mm}.feedback-qr-render{padding:6mm}.feedback-qr-svg,.feedback-qr-img{width:86mm!important}.feedback-qr-url input{border:0;border-bottom:1px solid #aaa;border-radius:0;padding-left:0}}


/* In-app feedback QR popup */
.feedback-qr-popup{position:fixed;inset:0;z-index:90;display:none;align-items:center;justify-content:center;padding:24px}.feedback-qr-popup.is-open{display:flex}.feedback-qr-popup-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.58);cursor:pointer}.feedback-qr-popup-dialog{position:relative;z-index:1;width:min(1120px,96vw);height:auto;max-height:96vh;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 22px 70px rgba(0,0,0,.32);overflow:hidden}.feedback-qr-popup-dialog iframe{display:block;width:100%;height:min(800px,calc(100vh - 48px));border:0;background:#f3f3f3}.feedback-qr-popup-close{position:absolute;top:10px;right:12px;z-index:2;width:40px;height:40px;border:1px solid #d0d0d0;border-radius:999px;background:#fff;color:#111;font-size:28px;line-height:1;font-weight:950;cursor:pointer}.feedback-qr-popup-open{overflow:hidden}.feedback-qr-embed-body{margin:0;background:#f3f3f3;padding:14px 14px 24px;overflow:hidden}.feedback-qr-embed-body .feedback-qr-print-card{width:100%;margin:0;padding:18px 18px 22px;box-shadow:none}.feedback-qr-embed-body .feedback-qr-sheet-head{margin-bottom:14px;padding-bottom:12px}.feedback-qr-embed-body .feedback-qr-sheet-head h1{font-size:30px}.feedback-qr-embed-body .feedback-qr-sheet-grid{grid-template-columns:432px minmax(0,1fr)}.feedback-qr-embed-body .feedback-qr-render{padding:8px}.feedback-qr-embed-body .feedback-qr-svg,.feedback-qr-embed-body .feedback-qr-img{width:min(100%,416px)}.feedback-qr-embed-body .feedback-qr-url{margin-top:14px}.feedback-qr-embed-body .feedback-qr-print-card .qr-modal-note{font-size:15px!important;line-height:1.3!important;margin-top:10px!important}@media (max-width:820px){.feedback-qr-popup{padding:10px}.feedback-qr-popup-dialog{height:92vh}.feedback-qr-popup-dialog iframe{height:92vh}.feedback-qr-embed-body{padding:12px}.feedback-qr-embed-body .feedback-qr-sheet-grid{grid-template-columns:1fr}}

/* Feedback QR preview tile */
.feedback-card-rich .feedback-overview-grid{grid-template-columns:170px minmax(0,1fr)!important}
.feedback-qr-preview{position:relative;width:170px!important;height:150px!important;box-sizing:border-box;border:1px solid #d8d8d8;border-radius:8px;background:#fff;display:grid;place-items:center;overflow:hidden;text-decoration:none;color:inherit;box-shadow:none!important;isolation:isolate;cursor:pointer;transform:none!important;transition:border-color .12s ease}
.feedback-qr-preview:before{content:"";position:absolute;inset:10px;border:1px solid #eeeeee;border-radius:6px;background:#fff;z-index:0}
.feedback-qr-fake{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);z-index:1;opacity:.42;filter:none}
.feedback-qr-preview-button{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border-radius:999px;background:#111;color:#fff;font-size:13px;font-weight:950;line-height:1;box-shadow:none;white-space:nowrap}
.feedback-qr-preview:hover{border-color:#de0200;box-shadow:none!important;transform:none!important}
.feedback-qr-preview:hover .feedback-qr-fake{opacity:.42}
.feedback-qr-preview:hover .feedback-qr-preview-button{background:#111}
@media (max-width:760px){.feedback-card-rich .feedback-overview-grid{grid-template-columns:128px minmax(0,1fr)!important}.feedback-qr-preview{width:128px!important;height:128px!important}.feedback-qr-fake{inset:8px;width:calc(100% - 16px);height:calc(100% - 16px)}.feedback-qr-preview-button{min-height:34px;padding:0 12px;font-size:12px}}


/* Public feedback grouped questions */
.feedback-public-group{display:grid;gap:12px;border:1px solid #e1e1e1;border-radius:8px;background:#fff;padding:12px}
.feedback-public-group h2{margin:0 0 2px;color:#111;font-size:22px;line-height:1.05;font-weight:950}
.feedback-public-group fieldset{margin:0}
@media (max-width:560px){.feedback-public-card{padding:18px 14px}.feedback-public-card h1{font-size:27px}.feedback-public-group{padding:10px}.feedback-public-group h2{font-size:20px}.feedback-scale-row{gap:5px}.feedback-scale-row span{width:30px;height:30px}}

/* Public QR feedback mobile polish */
.feedback-public-body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;background:#f4f4f4!important;color:#1f1f1f!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.feedback-public-page{display:block!important;min-height:100vh!important;padding:14px 8px 28px!important;box-sizing:border-box!important}
.feedback-public-card{width:min(680px,100%)!important;margin:0 auto!important;padding:18px!important;border-radius:8px!important;box-sizing:border-box!important;border-color:#d9d9d9!important;box-shadow:0 12px 36px rgba(0,0,0,.06)!important}
.feedback-public-card .section-kicker{font-family:inherit!important;font-size:12px!important;letter-spacing:.05em!important;color:#666!important}
.feedback-public-card h1{font-family:inherit!important;font-size:clamp(25px,7vw,38px)!important;line-height:1.05!important;font-weight:900!important;letter-spacing:0!important;margin:4px 0 5px!important;color:#111!important;overflow-wrap:anywhere!important}
.feedback-public-card>p{font-family:inherit!important;margin:0!important;color:#555!important;font-size:16px!important;line-height:1.32!important;font-weight:650!important}
.feedback-public-context{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 4px}
.feedback-public-context>div{border:1px solid #e1e1e1;border-radius:8px;background:#fafafa;padding:9px 10px;min-width:0}
.feedback-public-context span{display:block;color:#6a6a6a;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.045em;margin-bottom:2px}
.feedback-public-context strong{display:block;color:#111;font-size:14px;font-weight:850;line-height:1.2;overflow-wrap:anywhere}
.feedback-public-form{gap:12px!important;margin-top:16px!important}
.feedback-public-group{gap:10px!important;border-color:#dedede!important;background:#fff!important;padding:12px!important;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.feedback-public-group h2{font-family:inherit!important;font-size:21px!important;font-weight:900!important;letter-spacing:0!important}
.feedback-public-form fieldset{border:1px solid #dedede!important;border-radius:8px!important;background:#fbfbfb!important;padding:12px 10px 10px!important;min-width:0!important;box-sizing:border-box!important}
.feedback-public-form legend{font-family:inherit!important;max-width:100%!important;padding:0 5px!important;color:#1f1f1f!important;font-size:17px!important;line-height:1.25!important;font-weight:850!important;letter-spacing:0!important;white-space:normal!important}
.feedback-scale-help{display:flex;justify-content:space-between;gap:10px;margin:8px 0 9px;color:#666;font-size:12px;font-weight:800;line-height:1.2}
.feedback-scale-help span:last-child{text-align:right}
.feedback-scale-row{display:grid!important;gap:5px!important;margin-top:0!important;width:100%!important}
.feedback-scale-row-11{grid-template-columns:repeat(11,minmax(0,1fr))}
.feedback-scale-row-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.feedback-scale-row label{min-width:0!important;width:100%!important}
.feedback-scale-row span{width:100%!important;height:38px!important;min-width:0!important;box-sizing:border-box!important;border-color:#cfcfcf!important;border-radius:8px!important;background:#fff!important;color:#222!important;font-family:inherit!important;font-size:16px!important;font-weight:850!important;line-height:1!important;transition:background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease}
.feedback-scale-row input:focus-visible+span{outline:0!important;box-shadow:0 0 0 3px rgba(227,6,19,.16)!important}
.feedback-scale-row input:checked+span{border-color:#e30613!important;background:#e30613!important;color:#fff!important}
.feedback-choice-row label{font-family:inherit!important;color:#222!important;font-size:15px!important;font-weight:750!important}
.feedback-public-form textarea{box-sizing:border-box!important;min-height:112px!important;font-family:inherit!important;font-size:16px!important;font-weight:500!important;line-height:1.35!important;color:#111!important;background:#fff!important}
.feedback-public-form .btn{width:100%!important;min-height:48px!important;margin-top:0!important;font-family:inherit!important;font-size:16px!important;font-weight:850!important}
@media (max-width:560px){.feedback-public-page{padding:10px 6px 24px!important}.feedback-public-card{padding:15px 12px!important}.feedback-public-card h1{font-size:29px!important}.feedback-public-card>p{font-size:15px!important}.feedback-public-context{grid-template-columns:1fr!important;gap:6px;margin-top:12px}.feedback-public-group{padding:10px 8px!important}.feedback-public-group h2{font-size:19px!important}.feedback-public-form fieldset{padding:11px 7px 8px!important}.feedback-public-form legend{font-size:16px!important;line-height:1.25!important}.feedback-scale-help{font-size:11px!important;gap:6px}.feedback-scale-row{gap:4px!important}.feedback-scale-row span{height:34px!important;font-size:15px!important}}

/* Public QR feedback refinement pass */
html,.feedback-public-body{width:100%;max-width:100%;overflow-x:hidden!important}
.feedback-public-body *{box-sizing:border-box}
.feedback-public-page{max-width:100vw!important;overflow-x:hidden!important;padding-left:6px!important;padding-right:6px!important}
.feedback-public-card{max-width:calc(100vw - 12px)!important;overflow:hidden!important}
.feedback-public-logo{display:flex;align-items:center;margin:0 0 14px}
.feedback-public-logo img{display:block;width:min(230px,68vw);height:auto;max-height:54px;object-fit:contain}
.feedback-public-module{margin:0!important;color:#555!important;font-size:16px!important;line-height:1.32!important;font-weight:700!important}
.feedback-public-card>p:not(.feedback-public-module){overflow-wrap:anywhere}
.feedback-public-form{gap:20px!important}
.feedback-public-group{gap:14px!important;padding:14px!important;margin:0!important;background:#fff!important}
.feedback-public-group + .feedback-public-group{margin-top:8px!important}
.feedback-public-group h2{padding-bottom:11px!important;margin:0 0 2px!important;border-bottom:1px solid #e6e6e6!important}
.feedback-public-form fieldset{display:grid!important;gap:10px!important;border:0!important;background:transparent!important;padding:0!important;margin:0!important;min-width:0!important}
.feedback-public-form fieldset + fieldset{padding-top:14px!important;border-top:1px solid #ececec!important}
.feedback-public-form legend{display:block!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;float:left!important;color:#1f1f1f!important;font-size:17px!important;line-height:1.22!important;font-weight:850!important;white-space:normal!important;overflow-wrap:anywhere!important}
.feedback-public-form legend + *{clear:both!important}
.feedback-scale-help{width:100%!important;margin:0 0 2px!important;padding:0 2px!important;clear:both!important}
.feedback-scale-row{clear:both!important;min-width:0!important;max-width:100%!important;overflow:visible!important}
.feedback-scale-row span{aspect-ratio:1!important;height:auto!important;min-height:30px!important;font-size:15px!important}
.feedback-choice-row, .feedback-public-form textarea{clear:both!important;max-width:100%!important}
.feedback-success-state{display:grid;gap:6px;margin-top:18px;padding:20px;border:1px solid #bbf7d0;border-radius:8px;background:#ecfdf3;color:#14532d}
.feedback-success-state strong{font-size:24px;line-height:1;font-weight:950;color:#14532d}
.feedback-success-state span{font-size:16px;font-weight:750;color:#166534}
@media (max-width:560px){.feedback-public-page{padding-left:4px!important;padding-right:4px!important}.feedback-public-card{max-width:calc(100vw - 8px)!important;padding:14px 10px!important}.feedback-public-logo{justify-content:flex-start;margin-bottom:12px}.feedback-public-logo img{width:min(210px,64vw);max-height:48px}.feedback-public-card h1{font-size:28px!important}.feedback-public-module{font-size:14px!important}.feedback-public-form{gap:18px!important}.feedback-public-group{padding:12px 10px!important}.feedback-public-group + .feedback-public-group{margin-top:10px!important}.feedback-public-form fieldset + fieldset{padding-top:16px!important}.feedback-public-form legend{font-size:16px!important;line-height:1.22!important}.feedback-scale-help{font-size:10px!important;line-height:1.15!important}.feedback-scale-row{grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:3px!important}.feedback-scale-row-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}.feedback-scale-row span{min-height:28px!important;font-size:14px!important;border-radius:7px!important}.feedback-public-context>div{padding:8px 9px!important}.feedback-success-state{padding:18px 16px}}

/* Public feedback width lock and stronger section headers */
html,body.feedback-public-body{position:relative!important;min-width:0!important;overflow-x:hidden!important;touch-action:pan-y!important}
.feedback-public-body{overscroll-behavior-x:none!important}
.feedback-public-page{width:100%!important;max-width:100%!important;padding-left:10px!important;padding-right:10px!important;display:block!important;overflow-x:clip!important}
.feedback-public-card{width:100%!important;max-width:390px!important;margin-left:auto!important;margin-right:auto!important;padding:14px 10px 16px!important;overflow:hidden!important;contain:layout paint!important}
.feedback-public-card,.feedback-public-card *{min-width:0!important;max-width:100%}
.feedback-public-brand{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:0 0 16px;width:100%}
.feedback-public-logo{margin:0!important;justify-content:flex-start!important;min-width:0!important}
.feedback-public-logo img{width:154px!important;max-width:154px!important;max-height:42px!important;object-fit:contain!important}
.feedback-public-brand strong{display:block;color:#111;font-size:15px;font-weight:900;line-height:1.05;text-align:left;overflow-wrap:anywhere}
.feedback-public-card .section-kicker{display:block;margin-top:2px!important}
.feedback-public-card h1{font-size:26px!important;line-height:1.06!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important}
.feedback-public-module{font-size:14px!important;line-height:1.25!important}
.feedback-public-context{grid-template-columns:1fr!important;gap:7px!important;margin-top:12px!important}
.feedback-public-form{width:100%!important;max-width:100%!important;overflow:hidden!important;gap:18px!important}
.feedback-public-group{position:relative!important;width:100%!important;max-width:100%!important;padding:14px 10px 12px!important;overflow:hidden!important;border-color:#d9d9d9!important;background:#fff!important}
.feedback-public-group h2{position:relative!important;display:flex!important;align-items:center!important;gap:9px!important;padding:0 0 12px!important;margin:0 0 3px!important;font-size:23px!important;line-height:1!important;border-bottom:2px solid #eeeeee!important;color:#111!important}
.feedback-public-group h2:before{content:"";display:block;width:5px;height:25px;border-radius:999px;background:#e30613;flex:0 0 5px}
.feedback-public-form fieldset{width:100%!important;max-width:100%!important;overflow:hidden!important;gap:8px!important}
.feedback-public-form legend{font-size:18px!important;line-height:1.16!important;max-width:100%!important;overflow-wrap:anywhere!important}
.feedback-scale-help{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;font-size:10.5px!important;line-height:1.12!important;padding:0!important;width:100%!important;max-width:100%!important}
.feedback-scale-row{width:100%!important;max-width:100%!important;display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:3px!important;overflow:hidden!important}
.feedback-scale-row-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.feedback-scale-row span{width:100%!important;max-width:100%!important;aspect-ratio:1!important;min-height:0!important;height:auto!important;border-radius:7px!important;font-size:13.5px!important;font-weight:900!important}
.feedback-public-form textarea{width:100%!important;max-width:100%!important;resize:vertical!important}
@media (max-width:380px){.feedback-public-page{padding-left:8px!important;padding-right:8px!important}.feedback-public-card{max-width:360px!important;padding-left:9px!important;padding-right:9px!important}.feedback-public-logo img{width:138px!important;max-width:138px!important}.feedback-public-brand strong{font-size:14px}.feedback-public-card h1{font-size:24px!important}.feedback-public-group h2{font-size:22px!important}.feedback-scale-row{grid-template-columns:repeat(6,minmax(0,1fr))!important}.feedback-scale-row-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}.feedback-scale-row span{aspect-ratio:1.25!important;font-size:14px!important}}
@media (min-width:700px){.feedback-public-card{max-width:640px!important;padding:20px!important}.feedback-public-logo img{width:190px!important;max-width:190px!important}.feedback-public-brand strong{font-size:18px}.feedback-public-context{grid-template-columns:1fr 1fr!important}.feedback-public-card h1{font-size:36px!important}.feedback-public-group{padding:18px!important}.feedback-scale-row{gap:6px!important}.feedback-scale-row span{font-size:16px!important}}

/* Public feedback required badges and scale labels below choices */
.feedback-public-form legend{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important;float:none!important;clear:both!important}
.feedback-public-form legend span{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere}
.feedback-public-form legend em{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-top:2px;padding:3px 7px;border:1px solid #f2caca;border-radius:999px;background:#fff5f5;color:#b00000;font-size:10px;font-style:normal;font-weight:900;line-height:1;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}
.feedback-scale-help{margin:2px 0 0!important;color:#666!important}
@media (max-width:560px){.feedback-public-form legend{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}.feedback-public-form legend em{justify-self:start}.feedback-scale-help{font-size:10px!important}}

/* Public feedback closed/invalid state context */
.feedback-fail-context{display:grid;gap:4px;margin:6px 0 16px}
.feedback-fail-context h1{margin:0!important;font-size:26px!important;line-height:1.06!important;font-weight:950!important;color:#111!important;overflow-wrap:anywhere!important}
.feedback-fail-message{display:grid;gap:5px;margin-top:8px;padding-top:14px;border-top:1px solid #ececec}
.feedback-fail-message strong{display:block;color:#111;font-size:26px;line-height:1.05;font-weight:950;overflow-wrap:anywhere}
.feedback-fail-message span{display:block;color:#555;font-size:18px;line-height:1.25;font-weight:750}
@media (max-width:560px){.feedback-fail-context h1{font-size:24px!important}.feedback-fail-message strong{font-size:24px}.feedback-fail-message span{font-size:16px}}

/* Public feedback inline validation and stable required badge */
.feedback-question-field{position:relative!important;padding-top:0!important}
.feedback-question-field legend{display:block!important;padding-right:96px!important;min-height:23px!important}
.feedback-question-field legend em{position:absolute!important;top:0!important;right:0!important;margin:0!important}
.feedback-question-field.has-error{padding:10px!important;margin:-10px -10px 0!important;border:1px solid #f4b8b8!important;border-radius:8px!important;background:#fffafa!important}
.feedback-question-field.has-error legend span{color:#111!important}
.feedback-field-error{display:block;margin-top:8px;color:#b00000;font-size:13px;font-weight:850;line-height:1.2}
.feedback-field-error[hidden]{display:none!important}
.feedback-question-field.has-error .feedback-scale-row span,.feedback-question-field.has-error textarea,.feedback-question-field.has-error .feedback-choice-row label{border-color:#efb6b6!important}
.feedback-public-card>h1:first-of-type{margin-top:0!important}
.feedback-public-card>.section-kicker+ h1{margin-top:4px!important}
@media (max-width:560px){.feedback-question-field legend{padding-right:88px!important}.feedback-question-field legend em{font-size:9px!important;padding:3px 6px!important}.feedback-question-field.has-error{padding:9px!important;margin:-9px -9px 0!important}.feedback-field-error{font-size:12px}}

/* Public feedback required badge above question text */
.feedback-question-field legend{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;padding-right:0!important;min-height:0!important;width:100%!important}
.feedback-question-field legend span{grid-row:2;display:block!important;width:100%!important;max-width:100%!important;overflow-wrap:anywhere!important}
.feedback-question-field legend em{position:static!important;grid-row:1;justify-self:start!important;width:max-content!important;margin:0!important;padding:4px 8px!important}
.feedback-public-form legend{justify-content:start!important}
@media (max-width:560px){.feedback-question-field legend{padding-right:0!important}.feedback-question-field legend em{font-size:9px!important;padding:3px 7px!important}}


/* Settings market status period below pill */
.settings-market-status-cell{display:grid;gap:4px;justify-items:center;align-items:center;min-width:0}
.settings-market-status-cell small{display:block;color:#666;font-size:11px;font-weight:800;line-height:1.2;text-align:center;white-space:normal}
.settings-market-status-cell .status-pill{margin:0 auto;justify-content:center;text-align:center}
.settings-market-status-cell .status-pill span{display:block;width:100%;text-align:center}

/* Public feedback subtle inline error state */
.feedback-question-field.has-error{padding:0 0 0 10px!important;margin:0!important;border:0!important;border-left:3px solid #e30613!important;border-radius:0!important;background:transparent!important}
.feedback-question-field.has-error .feedback-scale-row span,.feedback-question-field.has-error textarea,.feedback-question-field.has-error .feedback-choice-row label{border-color:#cfcfcf!important}
.feedback-question-field.has-error .feedback-scale-row input:checked+span{border-color:#e30613!important;background:#e30613!important;color:#fff!important}
.feedback-field-error{margin-top:6px!important;color:#b00000!important;font-size:12px!important;font-weight:850!important;line-height:1.2!important}
@media (max-width:560px){.feedback-question-field.has-error{padding-left:8px!important;margin:0!important}.feedback-field-error{font-size:12px!important}}


/* Public feedback compact one-line score scale and minimal bottom space */
html,body.feedback-public-body{background:#fff!important}
.feedback-public-page{background:#fff!important}
.feedback-scale-row-11{grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:3px!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
.feedback-scale-row-11 span{aspect-ratio:1!important;min-height:30px!important;font-size:13.5px!important;border-radius:7px!important}
.feedback-public-form{padding-bottom:0!important}
.feedback-public-form .btn[type=submit]{margin-top:14px!important;margin-bottom:0!important;min-height:56px!important;touch-action:manipulation!important;-webkit-tap-highlight-color:rgba(227,6,19,.18)}
.feedback-public-page{padding-bottom:6px!important}
.feedback-public-card{padding-bottom:12px!important}
@media (max-width:560px){.feedback-scale-row-11{gap:2px!important}.feedback-scale-row-11 span{min-height:29px!important;font-size:13px!important}.feedback-public-page{padding-bottom:4px!important}.feedback-public-card{padding-bottom:10px!important}}
@media (max-width:380px){.feedback-scale-row-11 span{min-height:27px!important;font-size:12.5px!important;border-radius:6px!important}}


/* Public feedback final vertical rhythm */
.feedback-public-form{gap:20px!important;padding-bottom:18px!important}
.feedback-public-form fieldset.feedback-question-field{display:block!important;gap:0!important}
.feedback-public-form fieldset + fieldset{margin-top:20px!important;padding-top:20px!important}
.feedback-question-title{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0 0 10px!important;line-height:1.16!important;color:#1f1f1f!important;font-size:18px!important;font-weight:850!important;overflow-wrap:anywhere!important}
.feedback-question-title span{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;overflow-wrap:anywhere!important}
.feedback-question-title em{grid-row:1;justify-self:start!important;width:max-content!important;margin:0!important;padding:4px 8px!important;border:1px solid #f2caca;border-radius:999px;background:#fff5f5;color:#b00000;font-size:10px;font-style:normal;font-weight:900;line-height:1;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}
.feedback-question-title span{grid-row:2}
.feedback-question-field .feedback-scale-row,.feedback-question-field .feedback-choice-row,.feedback-question-field textarea{margin-top:0!important}
.feedback-scale-help{margin:3px 0 0!important;color:#666!important}
.feedback-field-error{margin-top:8px!important}
.feedback-public-form .btn[type=submit]{margin-top:16px!important;margin-bottom:22px!important;min-height:56px!important}
.feedback-public-page{padding-bottom:18px!important;background:#fff!important}
.feedback-public-card{padding-bottom:18px!important}
@media (max-width:560px){.feedback-public-form{gap:20px!important;padding-bottom:16px!important}.feedback-public-form fieldset.feedback-question-field{display:block!important}.feedback-public-form fieldset + fieldset{margin-top:20px!important;padding-top:20px!important}.feedback-question-title{gap:8px!important;margin-bottom:10px!important;font-size:18px!important}.feedback-question-title em{font-size:9px!important;padding:3px 7px!important}.feedback-scale-help{margin-top:3px!important}.feedback-public-form .btn[type=submit]{margin-bottom:20px!important}.feedback-public-page{padding-bottom:16px!important}.feedback-public-card{padding-bottom:16px!important}}


/* Feedback score category label ranges */
.feedback-mini-stats-rich span em,.feedback-result-summary span em{font-style:normal;font-size:.9em;font-weight:900;opacity:.82;margin-left:4px}

#settings-flights .settings-flight-overview-table th:nth-child(n+2),
#settings-flights .settings-flight-overview-table td:nth-child(n+2) {
  text-align: center;
}
#settings-flights .settings-flight-overview-table td:last-child .status-pill {
  justify-content: center;
  margin: 0 auto;
}


.user-overview-table tr.user-clickable-row {
  cursor: pointer;
}
.user-overview-table tr.user-clickable-row:hover td,
.user-overview-table tr.user-clickable-row:focus td {
  background: #f5f5f5;
}
.user-overview-table tr.user-clickable-row:focus,
.user-overview-table tr.user-clickable-row:focus-visible {
  outline: 0;
}
.user-overview-table tr.user-clickable-row:focus-visible td {
  background: #f5f5f5;
}
.market-overview-table th,
.online-training-table th,
.downloads-table th,
.settings-flight-overview-table th,
.settings-market-list-table th,
.settings-organization-table th,
.settings-training-qr-table th {
  font-size: 14px !important;
}
.online-training-table th:nth-child(n+2),
.online-training-table td:nth-child(n+2) {
  text-align: center;
}

/* Flight overview filter: match compact market filter controls */
#settings-flights .settings-flight-filter-bar input,
#settings-flights .settings-flight-filter-bar select,
#settings-flights .settings-flight-filter-bar .btn,
#settings-flights .settings-flight-filter-bar .compact-action {
  height: 40px !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
}
#settings-flights .settings-flight-filter-bar .btn,
#settings-flights .settings-flight-filter-bar .compact-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 14px !important;
  line-height: 1 !important;
}
.profile-photo-image-hit {
  display: block;
  cursor: pointer;
}

/* Compact feedback/NPS question builder */
.settings-flight-feedback-builder {
  display: grid;
  gap: 10px;
}
.settings-flight-feedback-builder .settings-panel-head {
  margin-bottom: 0;
  align-items: center;
}
.settings-flight-feedback-builder .settings-panel-head span {
  font-size: 12px;
}
.settings-flight-feedback-builder .settings-question-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}
.settings-flight-feedback-builder .settings-question-card {
  position: relative;
  grid-template-columns: minmax(120px,.7fr) minmax(260px,1.5fr) minmax(180px,.8fr) 96px 118px 72px !important;
  gap: 7px 10px !important;
  padding: 10px 128px 10px 12px !important;
  align-items: end !important;
  background: #fafafa !important;
}
.settings-flight-feedback-builder .settings-question-card-head {
  grid-column: 1 / -1 !important;
  min-height: 24px;
  padding-right: 0;
}
.settings-flight-feedback-builder .settings-question-card-head strong {
  font-size: 17px;
}
.settings-flight-feedback-builder .settings-question-card-head span {
  font-size: 12px;
  color: #666;
}
.settings-flight-feedback-builder .settings-question-card label,
.settings-flight-feedback-builder .settings-question-card label.wide {
  grid-column: auto !important;
  min-width: 0;
  gap: 4px !important;
  font-size: 12px;
  font-weight: 850;
}
.settings-flight-feedback-builder .settings-question-card input,
.settings-flight-feedback-builder .settings-question-card select {
  height: 38px !important;
  min-height: 38px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  box-sizing: border-box;
}
.settings-flight-feedback-builder .settings-question-card textarea {
  min-height: 38px !important;
  height: 38px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  resize: vertical;
}
.settings-flight-feedback-builder .settings-checkbox-label {
  min-height: 38px;
  align-self: end !important;
  padding-bottom: 8px;
}
.settings-flight-feedback-builder .settings-question-actions {
  grid-column: auto !important;
  align-self: end;
  gap: 8px;
  white-space: nowrap;
}
.settings-flight-feedback-builder .settings-question-actions span {
  font-size: 12px;
  color: #666;
  font-weight: 850;
}
.settings-flight-feedback-builder .settings-question-deactivate-form {
  justify-self: end;
  align-self: start;
  height: 0;
  margin: -50px 12px 0 0 !important;
  position: relative;
  z-index: 2;
}
.settings-flight-feedback-builder .settings-question-deactivate-form .btn:hover,
.settings-flight-feedback-builder .settings-question-actions .btn:hover {
  background: #f5f5f5;
}
.settings-flight-feedback-builder .settings-question-new {
  margin-top: 2px;
  padding-right: 12px !important;
}
@media (max-width: 1280px) {
  .settings-flight-feedback-builder .settings-question-card {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-right: 12px !important;
  }
  .settings-flight-feedback-builder .settings-question-card label.wide,
  .settings-flight-feedback-builder .settings-question-actions {
    grid-column: 1 / -1 !important;
  }
  .settings-flight-feedback-builder .settings-question-deactivate-form {
    height: auto;
    margin: -4px 0 6px auto !important;
  }
}
@media (max-width: 760px) {
  .settings-flight-feedback-builder .settings-question-card {
    grid-template-columns: 1fr !important;
  }
}

/* Cleaner feedback/NPS question cards */
.settings-flight-feedback-builder .settings-question-card {
  grid-template-columns: 180px minmax(360px, 1.4fr) 220px 96px auto auto !important;
  gap: 10px 14px !important;
  padding: 12px !important;
  border-left: 4px solid #d8d8d8 !important;
  background: #fff !important;
  align-items: end !important;
}
.settings-flight-feedback-builder .settings-question-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border-bottom: 1px solid #ececec;
  padding-bottom: 8px;
  margin-bottom: 2px;
}
.settings-flight-feedback-builder .settings-question-card-head strong {
  font-size: 18px !important;
  line-height: 1 !important;
}
.settings-flight-feedback-builder .settings-question-card-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: max-content;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #f3f3f3;
  color: #444 !important;
  padding: 4px 10px;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap;
}
.settings-flight-feedback-builder .settings-question-card label,
.settings-flight-feedback-builder .settings-question-card label.wide {
  display: grid !important;
  align-content: start;
  gap: 4px !important;
  min-width: 0;
  color: #333;
  font-size: 12px !important;
  line-height: 1.1;
}
.settings-flight-feedback-builder .settings-question-card label:nth-of-type(2) {
  min-width: 0;
}
.settings-flight-feedback-builder .settings-question-card label:nth-of-type(2) input {
  width: 100%;
}
.settings-flight-feedback-builder .settings-question-card label:nth-of-type(4) input {
  width: 96px;
}
.settings-flight-feedback-builder .settings-question-card input,
.settings-flight-feedback-builder .settings-question-card select,
.settings-flight-feedback-builder .settings-question-card textarea {
  width: 100%;
  border-radius: 7px !important;
  font-weight: 800 !important;
}
.settings-flight-feedback-builder .settings-question-card.is-scale label:nth-of-type(7) {
  display: none !important;
}
.settings-flight-feedback-builder .settings-question-card.is-choice label:nth-of-type(7) {
  grid-column: 1 / 4 !important;
}
.settings-flight-feedback-builder .settings-question-card.is-choice textarea {
  min-height: 56px !important;
  height: 56px !important;
}
.settings-flight-feedback-builder .settings-checkbox-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 38px !important;
  padding: 0 !important;
  gap: 7px !important;
  white-space: nowrap;
}
.settings-flight-feedback-builder .settings-checkbox-label input {
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
}
.settings-flight-feedback-builder .settings-question-actions {
  justify-self: end;
  align-self: end;
  display: inline-flex !important;
  min-height: 38px;
}
.settings-flight-feedback-builder .settings-question-deactivate-form {
  height: 0;
  margin: -47px 14px 0 0 !important;
}
.settings-flight-feedback-builder .settings-question-deactivate-form .btn,
.settings-flight-feedback-builder .settings-question-actions .btn {
  height: 38px;
  min-height: 38px;
}
@media (max-width: 1380px) {
  .settings-flight-feedback-builder .settings-question-card {
    grid-template-columns: minmax(160px,.8fr) minmax(280px,1.4fr) minmax(190px,1fr) 96px !important;
  }
  .settings-flight-feedback-builder .settings-question-actions {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 900px) {
  .settings-flight-feedback-builder .settings-question-card {
    grid-template-columns: 1fr !important;
  }
  .settings-flight-feedback-builder .settings-question-card-head,
  .settings-flight-feedback-builder .settings-question-card.is-choice label:nth-of-type(7),
  .settings-flight-feedback-builder .settings-question-actions {
    grid-column: 1 / -1 !important;
  }
  .settings-flight-feedback-builder .settings-question-deactivate-form {
    height: auto;
    margin: -4px 0 6px auto !important;
  }
}

/* Drag-and-drop question ordering */
.settings-question-reorder-form {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 2px;
}
.settings-question-reorder-form .btn:disabled {
  opacity: .45;
  cursor: default;
}
.settings-flight-feedback-builder .settings-question-item {
  display: grid;
  gap: 0;
}
.settings-flight-feedback-builder .settings-question-item.is-dragging {
  opacity: .45;
}
.question-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #f5f5f5;
  color: #555;
  font-size: 12px;
  line-height: 1;
  cursor: grab;
  user-select: none;
}
.question-drag-handle:active {
  cursor: grabbing;
}

.settings-flight-feedback-builder .settings-inline-notice {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  background: #f5f5f5;
  color: #333;
  font-size: 13px;
  font-weight: 850;
}
.settings-flight-feedback-builder .settings-inline-notice-success {
  border-color: #a7f3d0;
  background: #ecfdf3;
  color: #166534;
}
.settings-flight-feedback-builder .settings-inline-notice-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
.settings-flight-feedback-builder .settings-inline-notice-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.settings-flight-feedback-builder .settings-question-list .settings-question-item:nth-child(even) .settings-question-card {
  background: #f7f7f7;
}
.settings-flight-feedback-builder .settings-question-list .settings-question-item:nth-child(even) .settings-question-card input,
.settings-flight-feedback-builder .settings-question-list .settings-question-item:nth-child(even) .settings-question-card select,
.settings-flight-feedback-builder .settings-question-list .settings-question-item:nth-child(even) .settings-question-card textarea {
  background: #fff;
}

.settings-flight-feedback-builder .settings-question-new {
  position: relative;
  margin-top: 16px;
  border-color: #de0200;
  border-left: 5px solid #de0200;
  background: #fffafa;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .04);
}
.settings-flight-feedback-builder .settings-question-new .settings-question-card-head strong::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 999px;
  background: #de0200;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
}
.settings-flight-feedback-builder .settings-question-new .settings-question-card-head span {
  color: #de0200;
}

.dashboard-widget.feedback-card,
.dashboard-widget.nps-trend-card {
  display: flex;
  flex-direction: column;
}
.dashboard-widget.feedback-card .feedback-summary,
.dashboard-widget.nps-trend-card .nps-trend {
  flex: 1;
}
.dashboard-widget.feedback-card .feedback-note,
.dashboard-widget.nps-trend-card .feedback-note {
  margin-top: auto;
}
.dashboard-widget.nps-trend-card .nps-trend {
  display: flex;
  align-items: stretch;
}
.dashboard-widget.nps-trend-card .nps-trend svg {
  min-height: 210px;
}
.dashboard-widget.feedback-card .feedback-card-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.dashboard-widget.feedback-card .feedback-card-footer .feedback-note {
  margin: 0;
}
/* Dashboard lower-row compact sizing */
.dashboard-grid .dashboard-widget.latest-training-card,
.dashboard-grid .dashboard-widget.feedback-card,
.dashboard-grid .dashboard-widget.nps-trend-card {
  min-height: 356px !important;
  padding: 18px 20px 16px !important;
}
.dashboard-widget.latest-training-card .latest-training-list {
  gap: 10px 12px;
}
.dashboard-widget.latest-training-card .latest-training-item {
  row-gap: 2px !important;
}
.dashboard-widget.feedback-card .feedback-summary {
  gap: 10px;
  margin-top: 12px;
}
.dashboard-widget.feedback-card .feedback-row {
  padding: 10px 12px;
}
.dashboard-widget.feedback-card .feedback-card-footer {
  gap: 7px;
  padding-top: 2px;
}
/* NPS trend uses available card space more tightly */
.dashboard-widget.nps-trend-card .nps-trend {
  flex: 0 0 auto !important;
  min-height: 268px;
  margin: -2px 0 2px;
  width: calc(100% + 34px);
  margin-left: -28px;
  overflow: visible;
}
.dashboard-widget.nps-trend-card .nps-trend svg {
  min-height: 268px;
  height: 268px;
  width: 100%;
}
.dashboard-widget.nps-trend-card > .feedback-note {
  margin-top: 2px !important;
}



.profile-photo-upload-form,
.profile-photo-delete-form {
  display: contents;
}
.profile-photo-actions label,
.profile-photo-actions button {
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.profile-photo-actions label:hover,
.profile-photo-actions button:hover {
  background: #eeeeee !important;
  border-color: #cfcfcf !important;
}
.profile-photo-actions label:active,
.profile-photo-actions button:active {
  transform: translateY(1px);
}

.settings-flight-feedback-builder [data-question-order-status][hidden] {
  display: none !important;
}
.settings-flight-feedback-builder .settings-question-item:nth-child(even) {
  background: #f7f7f7;
}
.settings-flight-feedback-builder .settings-question-item:nth-child(even) .settings-question-card {
  background: #f7f7f7 !important;
}
.settings-flight-feedback-builder .settings-question-card {
  grid-template-columns: minmax(180px, .85fr) minmax(320px, 2.9fr) minmax(210px, 1fr) minmax(78px, .44fr) minmax(78px, .44fr) minmax(220px, 1.08fr) !important;
  overflow: hidden;
}
.settings-flight-feedback-builder .settings-question-card label,
.settings-flight-feedback-builder .settings-question-card input,
.settings-flight-feedback-builder .settings-question-card select,
.settings-flight-feedback-builder .settings-question-card textarea {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.settings-flight-feedback-builder .settings-question-card textarea {
  width: 100%;
  resize: vertical;
}
.settings-flight-feedback-builder .settings-checkbox-label input[type="checkbox"] {
  accent-color: #de0200;
}
.settings-flight-feedback-builder .settings-question-card input[type="checkbox"]:checked {
  accent-color: #de0200;
}

.settings-flight-feedback-builder .settings-question-side-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 0 14px 12px;
}
.settings-flight-feedback-builder .settings-question-side-actions form {
  margin: 0;
}
.settings-flight-feedback-builder .settings-question-side-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
  background: #f5f5f5;
  color: #777;
}

.settings-flight-feedback-builder .settings-question-item.is-inactive .settings-question-card {
  background: #f1f1f1 !important;
  border-color: #d0d0d0;
}
.settings-flight-feedback-builder .settings-question-item.is-inactive [data-question-status-pill] {
  border-color: #cfcfcf;
  background: #eeeeee;
  color: #777;
}
.settings-flight-feedback-builder .settings-question-toggle-button.btn-msd {
  border-color: #de0200;
  background: #de0200;
  color: #fff;
}
.settings-flight-feedback-builder .settings-question-toggle-button:disabled {
  opacity: .65;
  cursor: wait;
}

.profile-photo-trigger .profile-photo-actions {
  pointer-events: auto !important;
}
.profile-photo-trigger .profile-photo-actions .profile-photo-change,
.profile-photo-trigger .profile-photo-actions button {
  background-color: #fff !important;
  border-color: rgba(0, 0, 0, .18) !important;
  color: #111 !important;
  cursor: pointer !important;
}
.profile-photo-trigger .profile-photo-actions .profile-photo-change:hover,
.profile-photo-trigger .profile-photo-actions button:hover,
.profile-photo-trigger .profile-photo-actions .profile-photo-change:focus-visible,
.profile-photo-trigger .profile-photo-actions button:focus-visible {
  background-color: #eeeeee !important;
  border-color: #cfcfcf !important;
}

.settings-training-qr-panel {
  display: grid;
  gap: 12px;
}
.settings-training-qr-head {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}
.settings-training-qr-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.settings-training-qr-head span {
  color: #666;
  font-size: 12px;
  font-weight: 900;
}
.settings-training-qr-body {
  display: grid;
  gap: 10px;
}
.settings-training-qr-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto;
  gap: 10px;
  align-items: end;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  padding: 10px;
}
.settings-training-qr-toolbar label {
  display: grid;
  gap: 5px;
  color: #444;
  font-size: 12px;
  font-weight: 900;
}
.settings-training-qr-toolbar input,
.settings-training-qr-toolbar select {
  height: 38px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 800;
}
.settings-training-qr-count {
  justify-self: end;
  align-self: center;
  color: #666;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.settings-training-qr-scroll {
  max-height: 520px;
  overflow: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}
.settings-training-qr-table {
  min-width: 1080px;
  margin: 0;
}
.settings-training-qr-table th,
.settings-training-qr-table td {
  padding: 9px 10px;
  vertical-align: middle;
}
.settings-training-qr-table th:nth-child(1),
.settings-training-qr-table td:nth-child(1) { width: 20%; }
.settings-training-qr-table th:nth-child(2),
.settings-training-qr-table td:nth-child(2) { width: 20%; }
.settings-training-qr-table th:nth-child(3),
.settings-training-qr-table td:nth-child(3) { width: 10%; text-align: center; }
.settings-training-qr-table th:nth-child(4),
.settings-training-qr-table td:nth-child(4) { width: 11%; white-space: nowrap; }
.settings-training-qr-table th:nth-child(5),
.settings-training-qr-table td:nth-child(5) { width: 23%; }
.settings-training-qr-table th:nth-child(6),
.settings-training-qr-table td:nth-child(6) { width: 16%; }
.settings-token-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
}
.settings-token-preview strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}
.settings-qr-actions {
  justify-content: flex-end;
  flex-wrap: nowrap !important;
  white-space: nowrap;
}
.settings-qr-actions form {
  margin: 0;
}
.settings-qr-admin-action {
  color: #555;
}
@media (max-width: 900px) {
  .settings-training-qr-toolbar {
    grid-template-columns: 1fr;
  }
  .settings-training-qr-count {
    justify-self: start;
  }
  .settings-training-qr-head {
    grid-template-columns: 1fr;
  }
}

.settings-flight-feedback-builder .settings-question-item {
  position: relative;
}
.settings-flight-feedback-builder .settings-question-side-actions {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 0 !important;
}
.settings-flight-feedback-builder .settings-question-card {
  padding-bottom: 12px !important;
}
@media (max-width: 900px) {
  .settings-flight-feedback-builder .settings-question-side-actions {
    position: static;
    justify-content: flex-start;
    padding: 0 12px 12px !important;
  }
}

.settings-assigned-market-actions button:disabled {
  opacity: .65;
  cursor: wait;
}


/* Feedback question save/reorder interaction polish */
.settings-flight-feedback-builder .settings-question-actions {
  grid-column: 1 / 2 !important;
  justify-self: start !important;
  align-self: end !important;
  padding-left: 0 !important;
}
.settings-flight-feedback-builder .settings-question-side-actions {
  top: 142px;
  bottom: auto;
}
.question-drag-handle {
  touch-action: none;
  cursor: grab;
}
.question-drag-handle:focus-visible {
  outline: 2px solid rgba(222, 2, 0, .28);
  outline-offset: 2px;
}
body.is-question-dragging {
  user-select: none;
  cursor: grabbing;
}
.settings-flight-feedback-builder .settings-question-item.is-dragging {
  opacity: .72;
  transform: scale(.997);
}
@media (max-width: 900px) {
  .settings-flight-feedback-builder .settings-question-actions {
    grid-column: 1 / -1 !important;
  }
  .settings-flight-feedback-builder .settings-question-side-actions {
    top: auto;
  }
}


/* Global form accent and local settings notices */
input[type="checkbox"],
input[type="radio"] {
  accent-color: #de0200;
}
.settings-inline-notice {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  background: #f5f5f5;
  color: #333;
  font-size: 13px;
  font-weight: 850;
}
.settings-inline-notice[hidden] {
  display: none !important;
}
.settings-inline-notice-success {
  border-color: #a7f3d0;
  background: #ecfdf3;
  color: #166534;
}
.settings-inline-notice-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
.settings-market-inline-notice {
  margin: -2px 0 10px;
}


/* Training QR accordion and action alignment fixes */
.settings-training-qr-body[hidden] {
  display: none !important;
}
.settings-training-qr-table {
  min-width: 1240px;
  table-layout: fixed;
}
.settings-training-qr-table th:nth-child(1),
.settings-training-qr-table td:nth-child(1) { width: 18%; }
.settings-training-qr-table th:nth-child(2),
.settings-training-qr-table td:nth-child(2) { width: 20%; }
.settings-training-qr-table th:nth-child(3),
.settings-training-qr-table td:nth-child(3) { width: 10%; text-align: center; }
.settings-training-qr-table th:nth-child(4),
.settings-training-qr-table td:nth-child(4) { width: 10%; white-space: nowrap; }
.settings-training-qr-table th:nth-child(5),
.settings-training-qr-table td:nth-child(5) { width: 24%; }
.settings-training-qr-table th:nth-child(6),
.settings-training-qr-table td:nth-child(6) { width: 18%; }
.settings-token-preview {
  grid-template-columns: minmax(0, 1fr) 86px;
}
.settings-token-preview .btn {
  width: 86px;
  justify-content: center;
}
.settings-qr-actions {
  display: grid !important;
  grid-auto-flow: column;
  grid-template-columns: 112px 88px;
  grid-auto-columns: 82px;
  justify-content: start !important;
  align-items: center;
  gap: 7px;
  width: 100%;
  white-space: nowrap;
}
.settings-qr-actions .btn {
  width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 9px;
  padding-right: 9px;
}
.settings-qr-actions form {
  margin: 0;
  min-width: 0;
}
@media (max-width: 900px) {
  .settings-qr-actions {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
}

/* Profile photo delete form click reliability */
.profile-photo-delete-form {
  display: inline-flex !important;
  margin: 0;
}
.profile-photo-delete-form button {
  font: inherit;
}

/* Feedback QR popup frame cleanup */
.feedback-qr-popup-dialog iframe {
  outline: 0 !important;
}
.feedback-qr-popup-dialog iframe:focus,
.feedback-qr-popup-dialog iframe:focus-visible {
  outline: 0 !important;
}

/* Feedback QR popup viewport backdrop */
.feedback-qr-popup {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
}
.feedback-qr-popup-backdrop {
  position: fixed !important;
  inset: 0 !important;
}

/* Training QR action layout refinement */
.settings-training-qr-table th:nth-child(5),
.settings-training-qr-table td:nth-child(5) {
  width: 28% !important;
}
.settings-training-qr-table th:nth-child(6),
.settings-training-qr-table td:nth-child(6) {
  width: 18% !important;
  text-align: left !important;
}
.settings-qr-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-auto-flow: row !important;
  gap: 8px !important;
  justify-items: start !important;
  align-items: start !important;
  width: 100% !important;
  min-width: 0 !important;
}
.settings-qr-primary-action {
  width: 132px !important;
}
.settings-qr-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  flex-wrap: wrap;
  width: 100%;
}
.settings-qr-secondary-actions form {
  margin: 0;
}
.settings-qr-secondary-actions .btn {
  width: auto !important;
  min-width: 84px;
}
.settings-qr-secondary-actions .settings-qr-admin-action {
  min-width: 84px;
}
@media (max-width: 900px) {
  .settings-qr-primary-action {
    width: 100% !important;
  }
  .settings-qr-secondary-actions .btn {
    width: 100% !important;
  }
}

/* Market feedback empty NPS state */
.feedback-card-rich .nps-summary-rich.is-empty strong {
  font-size: 28px !important;
  line-height: 1.1 !important;
  max-width: 260px;
}
@media (max-width: 760px) {
  .feedback-card-rich .nps-summary-rich.is-empty strong {
    font-size: 22px !important;
  }
}

/* Training QR table no-scroll compact actions */
.settings-training-qr-scroll {
  overflow-x: visible !important;
}
.settings-training-qr-table {
  min-width: 0 !important;
  width: 100% !important;
  table-layout: fixed !important;
}
.settings-training-qr-table th,
.settings-training-qr-table td {
  overflow: visible;
}
.settings-training-qr-table th:nth-child(1),
.settings-training-qr-table td:nth-child(1) { width: 17% !important; }
.settings-training-qr-table th:nth-child(2),
.settings-training-qr-table td:nth-child(2) { width: 20% !important; }
.settings-training-qr-table th:nth-child(3),
.settings-training-qr-table td:nth-child(3) { width: 10% !important; }
.settings-training-qr-table th:nth-child(4),
.settings-training-qr-table td:nth-child(4) { width: 9% !important; }
.settings-training-qr-table th:nth-child(5),
.settings-training-qr-table td:nth-child(5) { width: 25% !important; }
.settings-training-qr-table th:nth-child(6),
.settings-training-qr-table td:nth-child(6) { width: 19% !important; }
.settings-token-preview {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 78px !important;
  gap: 8px !important;
  align-items: start !important;
  min-width: 0 !important;
}
.settings-token-lines {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.settings-token-lines strong,
.settings-token-lines span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-token-lines span {
  color: #666;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}
.settings-token-preview .btn {
  width: 78px !important;
  min-height: 30px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.settings-qr-actions {
  display: grid !important;
  grid-template-columns: 128px minmax(82px, 1fr) !important;
  grid-auto-flow: initial !important;
  gap: 6px !important;
  align-items: start !important;
  justify-content: start !important;
  justify-items: stretch !important;
  min-width: 0 !important;
}
.settings-qr-primary-action {
  width: 128px !important;
  min-height: 38px !important;
}
.settings-qr-secondary-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 6px !important;
  min-width: 0 !important;
}
.settings-qr-secondary-actions .btn {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 30px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
@media (max-width: 1100px) {
  .settings-training-qr-scroll {
    overflow-x: auto !important;
  }
  .settings-training-qr-table {
    min-width: 980px !important;
  }
}


/* Shared filter bar for flight market assignment lists */
.settings-flight-market-dual-panel .settings-market-dual-filter {
  display: grid !important;
  grid-template-columns: minmax(280px, 1fr) minmax(170px, 220px) auto !important;
  gap: 10px !important;
  align-items: end !important;
  border: 1px solid #dddddd !important;
  border-radius: 8px !important;
  background: #fafafa !important;
  padding: 12px !important;
  margin: 12px 0 !important;
}
.settings-flight-market-dual-panel .settings-market-dual-filter label {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  color: #444 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}
.settings-flight-market-dual-panel .settings-market-dual-filter input,
.settings-flight-market-dual-panel .settings-market-dual-filter select,
.settings-flight-market-dual-panel .settings-market-dual-reset {
  height: 40px !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  border-radius: 7px !important;
  font-size: 14px !important;
}
.settings-flight-market-dual-panel .settings-market-dual-filter input,
.settings-flight-market-dual-panel .settings-market-dual-filter select {
  width: 100% !important;
  padding: 8px 11px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.settings-flight-market-dual-panel .settings-market-dual-reset {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 14px !important;
  white-space: nowrap !important;
  align-self: end !important;
}
@media (max-width: 900px) {
  .settings-flight-market-dual-panel .settings-market-dual-filter {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 640px) {
  .settings-flight-market-dual-panel .settings-market-dual-filter {
    grid-template-columns: 1fr !important;
  }
}

/* Flight module editing */
.settings-module-add-form {
  grid-template-columns: minmax(220px, 1fr) 130px auto;
  align-items: end;
}
.settings-module-add-form .wide { grid-column: 1 / -1; }
.settings-module-add-form textarea,
.settings-module-edit-fields textarea {
  width: 100%;
  min-height: 58px;
  resize: vertical;
}
.settings-module-edit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}
.settings-module-edit-form {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.settings-module-title-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.settings-module-title-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  padding: 4px 10px;
  white-space: nowrap;
}
.settings-module-edit-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 120px;
  gap: 8px;
}
.settings-module-edit-fields .wide { grid-column: 1 / -1; }
.settings-module-edit-fields label {
  display: grid;
  gap: 5px;
  color: #444;
  font-size: 12px;
  font-weight: 900;
  min-width: 0;
}
.settings-module-save-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.settings-module-save-row span {
  color: #666;
  font-size: 12px;
  font-weight: 850;
}
.settings-module-remove-form {
  margin: 0;
  align-self: start;
}
@media (max-width: 900px) {
  .settings-module-add-form,
  .settings-module-edit-row,
  .settings-module-edit-fields {
    grid-template-columns: 1fr;
  }
  .settings-module-title-line { align-items: flex-start; flex-direction: column; }
}


.settings-flight-contacts-panel-refined {
  grid-column: 1 / -1;
}
.settings-contact-dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.settings-contact-dual-form {
  margin: 0;
  min-width: 0;
}
.settings-contact-dual-list {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  padding: 10px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 240px;
}
.settings-flight-contacts-panel-refined .settings-contact-pick-list,
.settings-flight-contacts-panel-refined .settings-contact-grid-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  max-height: 360px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.settings-contact-group-label {
  margin: 7px 0 2px;
  color: #666;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.settings-contact-group-label:first-child {
  margin-top: 0;
}
.settings-contact-save-button {
  width: 100%;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable {
  grid-template-columns: 46px minmax(0, 1fr);
}
@media (max-width: 1100px) {
  .settings-contact-dual-grid { grid-template-columns: 1fr; }
}

/* Flight main contacts in settings and dashboard */
.settings-contact-picker-refined {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}
.settings-contact-pick-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  padding: 8px;
}
.settings-contact-pick-card {
  display: grid;
  grid-template-columns: auto 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  cursor: pointer;
}
.settings-contact-pick-card:hover { background: #f3f3f3; }
.settings-contact-pick-card.is-selected {
  border-color: #de0200;
  box-shadow: inset 3px 0 0 #de0200;
}
.settings-contact-pick-card input { align-self: start; margin-top: 4px; }
.settings-contact-pick-card .settings-contact-avatar { grid-column: 2; }
.settings-contact-pick-card > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.settings-contact-pick-card strong,
.settings-contact-pick-card em,
.settings-contact-pick-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-contact-pick-card em,
.settings-contact-pick-card small {
  color: #666;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.dashboard-contact-strip {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}
.dashboard-contact-strip h6 {
  margin: 0 0 10px;
  color: #111;
  font-size: 17px;
  font-weight: 950;
}
.dashboard-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.dashboard-contact-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  padding: 10px;
  min-width: 0;
}
.dashboard-contact-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid #d8d8d8;
  display: grid;
  place-items: center;
  color: #666;
  font-weight: 950;
}
.dashboard-contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dashboard-contact-card div:last-child {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.dashboard-contact-card strong,
.dashboard-contact-card span,
.dashboard-contact-card a,
.dashboard-contact-card em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-contact-card strong {
  color: #111;
  font-size: 13px;
  font-weight: 950;
}
.dashboard-contact-card span,
.dashboard-contact-card a,
.dashboard-contact-card em {
  color: #666;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 750;
  text-decoration: none;
}
.dashboard-contact-card a:hover { color: #de0200; }

.dashboard-contact-panel {
  grid-column: 1 / -1;
}
.dashboard-contact-panel .dashboard-contact-strip {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.dashboard-contact-panel .dashboard-contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .dashboard-contact-panel .dashboard-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .dashboard-contact-panel .dashboard-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .settings-contact-picker-refined,
  .dashboard-contact-grid { grid-template-columns: 1fr; }
}

/* Sidebar training navigation preparation */
.nav a.nav-sub {
  margin-top: -12px;
  margin-left: 30px;
  padding: 2px 10px 4px;
  font-size: 12px;
  font-weight: 400;
  color: #9f9f9f;
  border-radius: 6px;
}
.nav a.nav-sub .nav-icon {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
  color: #858585;
}
.nav a.nav-sub.active {
  background: rgba(255,255,255,.055);
  border-color: transparent;
  box-shadow: none;
  color: #fff;
}
.nav a.is-disabled {
  color: #777;
  cursor: not-allowed;
  opacity: .58;
  pointer-events: none;
}
.nav a.is-disabled .nav-icon {
  color: #777;
}
@media (max-width: 760px) {
  .nav a.nav-sub {
    margin: 0;
    font-size: 13px;
    padding: 9px 10px;
  }
}

/* Professional login screen */
.app-login {
  display: block;
  min-height: 100vh;
  background: #f1f1f1;
}
.app-login .main {
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: auto;
  background:
    linear-gradient(90deg, #191919 0 34%, transparent 34%),
    linear-gradient(180deg, #f5f5f5, #eeeeee);
}
.app-login .main > :not(.topbar):not(script):not([class*=modal]) {
  max-width: none;
}
.app-login .topbar { display: none; }
.login-page-v2 {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(420px, 1.18fr);
  align-items: stretch;
}
.login-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: 44px clamp(24px, 4vw, 56px);
  color: #fff;
  background: #191919;
  overflow: hidden;
}
.login-brand-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #de0200;
}
.login-brand-panel::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: 14%;
  width: 48%;
  height: 1px;
  background: rgba(255,255,255,.18);
  transform: rotate(-18deg);
  box-shadow: 0 42px 0 rgba(255,255,255,.11), 0 84px 0 rgba(222,2,0,.55);
}
.login-logo-card {
  position: relative;
  z-index: 1;
  width: min(270px, 100%);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
}
.login-logo-card img {
  width: 100%;
  height: auto;
  display: block;
}
.login-brand-copy {
  position: relative;
  z-index: 1;
  max-width: 440px;
}
.login-brand-copy span,
.login-card-head span {
  display: block;
  color: #de0200;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.login-brand-copy h1 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(42px, 5vw, 70px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: 0;
}
.login-brand-copy p {
  margin: 0;
  color: #d8d8d8;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 750;
}
.login-signal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.login-signal-grid div {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  padding: 14px 12px;
}
.login-signal-grid strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}
.login-signal-grid span {
  display: block;
  margin-top: 6px;
  color: #bdbdbd;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}
.login-form-panel {
  display: grid;
  place-items: center;
  padding: clamp(26px, 6vw, 72px);
}
.login-card-v2 {
  width: min(520px, 100%);
  max-width: none;
  margin: 0;
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.12);
}
.login-card-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eeeeee;
}
.login-card-head h2 {
  margin: 5px 0 6px;
  color: #111;
  font-size: 42px;
  line-height: .98;
  font-weight: 950;
}
.login-card-head p {
  margin: 0;
  color: #666;
  font-size: 16px;
  font-weight: 750;
}
.login-error {
  margin: 0 0 14px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  padding: 11px 12px;
  font-weight: 850;
}
.login-form-v2 {
  display: grid;
  gap: 14px;
}
.login-form-v2 label {
  display: grid;
  gap: 7px;
  color: #444;
  font-size: 13px;
  font-weight: 950;
}
.login-form-v2 label span {
  text-transform: uppercase;
  letter-spacing: .04em;
}
.login-form-v2 input {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 850;
}
.login-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  font-size: 17px;
}
.login-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eeeeee;
  color: #777;
  font-size: 12px;
  font-weight: 850;
}
@media (max-width: 900px) {
  .app-login .main {
    background: #f1f1f1;
  }
  .login-page-v2 {
    grid-template-columns: 1fr;
  }
  .login-brand-panel {
    min-height: auto;
    padding: 24px 18px;
  }
  .login-brand-copy h1 {
    font-size: 38px;
  }
  .login-signal-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .login-form-panel {
    padding: 22px 16px 28px;
    place-items: start center;
  }
  .login-card-v2 {
    padding: 22px;
  }
  .login-card-head h2 {
    font-size: 34px;
  }
}
@media (max-width: 560px) {
  .login-signal-grid {
    grid-template-columns: 1fr;
  }
  .login-card-foot {
    flex-direction: column;
  }
}

/* Compact QR table actions */
.settings-training-qr-table .settings-qr-actions {
    grid-template-columns: 104px 96px !important;
    gap: 6px !important;
    align-items: start !important;
    justify-content: start !important;
    justify-items: stretch !important;
}

.settings-training-qr-table .settings-qr-primary-action {
    width: 104px !important;
    min-width: 104px !important;
    min-height: 32px !important;
    padding: 7px 9px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

.settings-training-qr-table .settings-qr-secondary-actions {
    width: 96px !important;
    min-width: 96px !important;
    gap: 5px !important;
}

.settings-training-qr-table .settings-qr-secondary-actions .btn {
    width: 96px !important;
    min-height: 30px !important;
    padding: 6px 8px !important;
    font-size: 12.5px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

/* QR feedback table: stack primary QR action below copy button */
.settings-training-qr-table .settings-token-preview {
  grid-template-columns: minmax(0, 1fr) 96px !important;
  align-items: start !important;
}
.settings-training-qr-table .settings-token-action-stack {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 5px !important;
  width: 96px !important;
}
.settings-training-qr-table .settings-token-action-stack .btn,
.settings-training-qr-table .settings-token-preview .settings-qr-primary-action {
  width: 96px !important;
  min-width: 96px !important;
  min-height: 30px !important;
  padding: 6px 8px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}
.settings-training-qr-table .settings-qr-actions {
  grid-template-columns: 96px !important;
  justify-content: end !important;
  justify-items: stretch !important;
}
.settings-training-qr-table .settings-qr-secondary-actions {
  width: 96px !important;
  min-width: 96px !important;
}
.settings-training-qr-table .settings-qr-secondary-actions .btn {
  width: 96px !important;
}

/* Flight main contact accordion alignment */
.settings-flight-contacts-panel-refined .settings-contact-dual-grid {
  align-items: stretch !important;
}
.settings-flight-contacts-panel-refined .settings-contact-dual-list {
  min-height: 420px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-dual-form {
  display: block !important;
  min-height: 420px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-pick-list,
.settings-flight-contacts-panel-refined .settings-contact-grid-compact {
  max-height: 360px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-pick-card {
  grid-template-columns: 18px 44px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  min-height: 72px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-pick-card input {
  grid-column: 1 !important;
  align-self: center !important;
  margin: 0 !important;
}
.settings-flight-contacts-panel-refined .settings-contact-pick-card .settings-contact-avatar,
.settings-flight-contacts-panel-refined .settings-contact-card-removable .settings-contact-avatar {
  width: 44px !important;
  height: 44px !important;
  grid-column: auto !important;
  font-size: 12px !important;
  flex: 0 0 44px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-pick-card > span:last-child {
  min-width: 0 !important;
  align-self: center !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: start !important;
  min-height: 72px !important;
}


/* Compact flight module list with modal editing */
.settings-module-add-form {
  grid-template-columns: minmax(0, 1fr) 220px 160px;
  gap: 10px;
  align-items: end;
}
.settings-module-add-form label,
.settings-module-add-form input,
.settings-module-add-form select,
.settings-module-add-form textarea {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.settings-module-add-form .wide,
.settings-module-add-form .btn {
  grid-column: 1 / -1;
}
.settings-module-add-form textarea {
  width: 100%;
  min-height: 66px;
}
.settings-module-summary-list {
  max-height: 270px;
}
.settings-module-summary-row {
  width: 100%;
  border: 1px solid #d9d9d9;
  background: #fafafa;
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 7px;
  text-align: left;
  cursor: pointer;
}
.settings-module-summary-row:hover,
.settings-module-summary-row:focus-visible {
  background: #f2f2f2;
  border-color: #cfcfcf;
  outline: none;
}
.settings-module-summary-row p {
  margin: 0;
  color: #666;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-module-edit-dialog {
  width: min(760px, 96vw);
}
.settings-module-edit-form-modal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 140px;
  gap: 12px;
}
.settings-module-edit-form-modal label {
  display: grid;
  gap: 6px;
  color: #444;
  font-size: 13px;
  font-weight: 900;
  min-width: 0;
}
.settings-module-edit-form-modal .wide,
.settings-module-modal-actions {
  grid-column: 1 / -1;
}
.settings-module-edit-form-modal input,
.settings-module-edit-form-modal select,
.settings-module-edit-form-modal textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.settings-module-edit-form-modal textarea {
  min-height: 120px;
  resize: vertical;
}
.settings-module-modal-actions {
  justify-content: flex-start;
}
.settings-module-modal-remove-form {
  margin-top: 12px;
}
@media (max-width: 720px) {
  .settings-module-add-form,
  .settings-module-edit-form-modal {
    grid-template-columns: 1fr;
  }
}


/* QR feedback table final compact action layout */
.settings-training-qr-table th:nth-child(5),
.settings-training-qr-table td:nth-child(5) {
  width: 34% !important;
}
.settings-training-qr-table th:nth-child(6),
.settings-training-qr-table td:nth-child(6) {
  width: 12% !important;
}
.settings-training-qr-table .settings-token-preview {
  grid-template-columns: minmax(0, 1fr) 88px !important;
  gap: 8px !important;
}
.settings-training-qr-table .settings-token-action-stack,
.settings-training-qr-table .settings-qr-secondary-actions {
  width: 88px !important;
  min-width: 88px !important;
  gap: 5px !important;
}
.settings-training-qr-table .settings-token-action-stack .btn,
.settings-training-qr-table .settings-token-preview .settings-qr-primary-action,
.settings-training-qr-table .settings-qr-secondary-actions .btn {
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  line-height: 1 !important;
  border-radius: 7px !important;
  white-space: nowrap !important;
}
.settings-training-qr-table .settings-qr-actions {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: 88px !important;
}


/* Accordion open state: make collapse buttons visually distinct */
.settings-flight-panel:not(.is-collapsed) [data-flight-accordion-toggle],
.settings-training-qr-panel:not(.is-collapsed) [data-training-qr-toggle] {
  background: #3f3f3f !important;
  border-color: #3f3f3f !important;
  color: #fff !important;
}
.settings-flight-panel:not(.is-collapsed) [data-flight-accordion-toggle]:hover,
.settings-training-qr-panel:not(.is-collapsed) [data-training-qr-toggle]:hover {
  background: #2f2f2f !important;
  border-color: #2f2f2f !important;
}


/* QR action area: aligned compact button grid */
.settings-training-qr-table td:nth-child(5) {
  padding-right: 8px !important;
}
.settings-training-qr-table td:nth-child(6) {
  padding-left: 0 !important;
  padding-right: 8px !important;
}
.settings-training-qr-table .settings-token-preview {
  grid-template-columns: minmax(0, 1fr) 106px !important;
  gap: 8px !important;
  align-items: start !important;
}
.settings-training-qr-table .settings-token-action-stack,
.settings-training-qr-table .settings-qr-secondary-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 106px !important;
  min-width: 106px !important;
  max-width: 106px !important;
  gap: 5px !important;
  align-items: start !important;
}
.settings-training-qr-table .settings-qr-actions {
  display: grid !important;
  width: 106px !important;
  min-width: 106px !important;
  max-width: 106px !important;
  justify-content: start !important;
  justify-items: stretch !important;
  align-items: start !important;
}
.settings-training-qr-table .settings-token-action-stack .btn,
.settings-training-qr-table .settings-token-preview .settings-qr-primary-action,
.settings-training-qr-table .settings-qr-secondary-actions .btn {
  box-sizing: border-box !important;
  width: 106px !important;
  min-width: 106px !important;
  max-width: 106px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  line-height: 1 !important;
  border-radius: 7px !important;
  white-space: nowrap !important;
  text-align: center !important;
}
.settings-training-qr-table .settings-qr-secondary-actions form {
  margin: 0 !important;
}


/* Training module compact cards: stronger title and right-aligned meta pill */
.settings-module-summary-row .settings-module-title-line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
}
.settings-module-summary-row .settings-module-title-line strong {
  font-size: 20px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
}
.settings-module-summary-row .settings-module-title-line span {
  justify-self: end !important;
}


/* Contact avatars: keep initials readable on dark background */
.settings-contact-avatar,
.settings-contact-avatar span {
  color: #fff !important;
}


/* Training module modal actions in one row */
.settings-module-edit-dialog {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  column-gap: 12px !important;
}
.settings-module-edit-dialog .settings-modal-head,
.settings-module-edit-dialog .settings-module-edit-form-modal {
  grid-column: 1 / -1 !important;
}
.settings-module-edit-dialog .settings-module-edit-form-modal {
  display: grid !important;
}
.settings-module-edit-dialog .settings-module-modal-actions {
  grid-column: 1 !important;
  grid-row: 4 !important;
  align-self: end !important;
}
.settings-module-edit-dialog .settings-module-modal-inline-remove {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: end !important;
  margin: 0 !important;
}
.settings-module-edit-dialog .settings-module-modal-inline-remove .btn {
  height: 40px !important;
  margin: 0 !important;
}
@media (max-width: 720px) {
  .settings-module-edit-dialog {
    grid-template-columns: 1fr !important;
  }
  .settings-module-edit-dialog .settings-module-modal-inline-remove {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}


/* Training module modal action row final positioning */
.settings-module-edit-dialog {
  position: relative !important;
  display: block !important;
  padding-bottom: 82px !important;
}
.settings-module-edit-dialog .settings-module-edit-form-modal {
  display: grid !important;
}
.settings-module-edit-dialog .settings-module-modal-actions {
  position: absolute !important;
  left: 18px !important;
  bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.settings-module-edit-dialog .settings-module-modal-inline-remove {
  position: absolute !important;
  left: 210px !important;
  bottom: 18px !important;
  margin: 0 !important;
}
.settings-module-edit-dialog .settings-module-modal-inline-remove .btn,
.settings-module-edit-dialog .settings-module-modal-actions .btn {
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
}
@media (max-width: 720px) {
  .settings-module-edit-dialog {
    padding-bottom: 128px !important;
  }
  .settings-module-edit-dialog .settings-module-modal-actions,
  .settings-module-edit-dialog .settings-module-modal-inline-remove {
    position: static !important;
    margin-top: 10px !important;
  }
}


/* QR table after removing copy action */
.settings-training-qr-table th:nth-child(5),
.settings-training-qr-table td:nth-child(5) {
  width: 38% !important;
}
.settings-training-qr-table th:nth-child(6),
.settings-training-qr-table td:nth-child(6) {
  width: 8% !important;
}
.settings-training-qr-table .settings-token-action-stack form {
  margin: 0 !important;
}
.settings-training-qr-table .settings-token-action-stack,
.settings-training-qr-table .settings-qr-secondary-actions,
.settings-training-qr-table .settings-qr-actions {
  width: 116px !important;
  min-width: 116px !important;
  max-width: 116px !important;
}
.settings-training-qr-table .settings-token-action-stack .btn,
.settings-training-qr-table .settings-token-preview .settings-qr-primary-action,
.settings-training-qr-table .settings-qr-secondary-actions .btn {
  width: 116px !important;
  min-width: 116px !important;
  max-width: 116px !important;
}

/* QR table final action alignment: keep QR actions side by side */
.settings-training-qr-table .settings-token-preview {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
}
.settings-training-qr-table .settings-token-action-stack {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}
.settings-training-qr-table .settings-token-action-stack form {
  margin: 0 !important;
}
.settings-training-qr-table .settings-token-action-stack .btn,
.settings-training-qr-table .settings-token-preview .settings-qr-primary-action,
.settings-training-qr-table .settings-qr-secondary-actions .btn {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  height: 32px !important;
  min-height: 32px !important;
}
.settings-training-qr-table .settings-qr-secondary-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

/* Final flight detail alignment tweaks */
.settings-module-summary-row {
  width: 100% !important;
}
.settings-module-summary-row .settings-module-title-line {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 14px !important;
}
.settings-module-summary-row .settings-module-title-line > span {
  margin-left: 0 !important;
  justify-self: end !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable > div:last-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  column-gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable > div:last-child > strong,
.settings-flight-contacts-panel-refined .settings-contact-card-removable > div:last-child > em,
.settings-flight-contacts-panel-refined .settings-contact-card-removable > div:last-child > span {
  grid-column: 1 !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable .settings-contact-remove-form {
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable .settings-contact-remove-form .btn {
  margin: 0 !important;
}

/* Dashboard training impressions subtitle */
.latest-training-item .latest-training-subtitle {
  display: block !important;
  color: #666666 !important;
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Dashboard training impressions spacing and modal caption */
.latest-training-item {
  row-gap: 3px !important;
}
.latest-training-item .latest-training-photo-link {
  margin-bottom: 2px !important;
}
.photo-modal-caption > div {
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
}
.photo-modal-caption strong {
  display: block !important;
  line-height: 1.15 !important;
}
.photo-modal-caption span {
  display: block !important;
  line-height: 1.25 !important;
}

.online-feedback-qr-section{border:1px solid #dedede;border-radius:8px;background:#fafafa;padding:12px;display:grid;gap:10px;min-width:0}.online-feedback-qr-section>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.online-feedback-qr-section span{display:block;color:#666;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.online-feedback-qr-section strong{font-size:17px;font-weight:950;color:#111}.online-feedback-qr-section label{display:grid!important;gap:6px!important}.online-feedback-qr-section input[readonly]{background:#fff}.online-feedback-qr-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.online-feedback-qr-actions .btn{min-height:38px}.online-feedback-qr-section p{margin:0!important}

.online-training-detail-page{display:grid;gap:14px;margin-top:-8px}.online-training-hero-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start;border-top:3px solid #de0200}.online-training-hero-main h5{font-size:30px;line-height:1.05;margin:0;color:#111;font-weight:950}.online-training-hero-main p{margin:6px 0 0;color:#666;font-size:16px;font-weight:800;line-height:1.3}.online-training-hero-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.online-training-detail-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.online-training-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.online-training-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.online-training-stat-grid>div{border:1px solid #e5e5e5;border-radius:8px;background:#f7f7f7;padding:11px 12px}.online-training-stat-grid span{display:block;color:#666;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.online-training-stat-grid strong{display:block;color:#111;font-size:28px;line-height:1;font-weight:950}.online-training-feedback-link{margin-bottom:10px}.online-training-detail-page .detail-field a{color:#de0200;overflow-wrap:anywhere}@media (max-width:900px){.online-training-hero-card,.online-training-detail-grid,.online-training-detail-fields{grid-template-columns:1fr}.online-training-hero-actions{justify-content:flex-start}.online-training-hero-actions .btn{width:max-content}}


.online-training-workbench{gap:12px}.online-training-hero-card.compact{padding:18px 20px!important;grid-template-columns:minmax(0,1fr) auto}.online-training-hero-card.compact .online-training-hero-main h5{font-size:26px}.online-training-hero-card.compact .online-training-hero-main p{font-size:14px;margin-top:4px}.online-training-hero-card.compact .online-training-hero-actions .btn{min-height:34px;padding:7px 10px}.online-training-kpi-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.online-training-kpi-strip .msd-card{padding:12px 14px;border-radius:8px}.online-training-kpi-strip span{display:block;color:#666;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.online-training-kpi-strip strong{display:block;color:#111;font-size:26px;line-height:1;font-weight:950;margin-top:4px}.online-training-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.7fr);gap:12px}.online-training-detail-fields.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.online-training-meta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;color:#666;font-size:12px;font-weight:750}.online-feedback-summary-card .feedback-summary{gap:8px}.online-feedback-summary-card .feedback-row{min-height:58px;padding:10px 12px}.online-feedback-summary-card .feedback-row em{font-style:normal;font-size:24px;font-weight:950;color:#111}.online-participant-card{display:grid;gap:12px}.online-participant-form{grid-template-columns:1fr 1fr 1.1fr 1fr auto;align-items:end}.online-participant-form .btn{align-self:end}.online-participant-filter{grid-template-columns:minmax(220px,1fr) minmax(180px,.6fr) auto}.online-participant-table th:first-child,.online-participant-table td:first-child{width:42px;text-align:center}.online-participant-table .status-pill{white-space:nowrap}.online-participant-status-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;margin-top:10px}.online-invitation-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.online-invitation-actions span{color:#666;font-size:12px;font-weight:850}.online-invitation-log-list{display:grid;gap:6px;margin-top:10px}.online-invitation-log-list>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid #e5e5e5;border-radius:8px;padding:8px 10px;background:#fafafa}.online-invitation-log-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.online-invitation-log-list em{font-style:normal;color:#666;font-size:12px;font-weight:800}.online-csv-import-form{display:grid;gap:10px}.online-csv-import-form label{display:grid;gap:6px;color:#444;font-weight:900}.online-csv-import-form label span{color:#777;font-size:12px;font-weight:750}@media (max-width:1100px){.online-training-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.online-training-main-grid{grid-template-columns:1fr}.online-participant-form,.online-participant-status-form{grid-template-columns:repeat(2,minmax(0,1fr))}.online-participant-filter{grid-template-columns:1fr}}@media (max-width:640px){.online-training-hero-card.compact{grid-template-columns:1fr}.online-training-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.online-participant-form,.online-participant-status-form{grid-template-columns:1fr}.online-invitation-log-list>div{grid-template-columns:1fr}.online-training-kpi-strip strong{font-size:22px}}


/* Online training detail layout refinement */
.online-training-hero-card.compact .online-training-hero-main{display:grid;gap:5px}.online-training-hero-card.compact .online-training-hero-main p{font-size:14px!important;color:#555!important;font-weight:850!important}.online-training-hero-meeting{display:flex;align-items:center;gap:8px;min-height:34px}.online-training-hero-meeting .btn{width:max-content;min-height:32px!important;padding:6px 10px!important}.online-training-hero-meeting span{color:#777;font-size:12px;font-weight:850}.online-training-detail-fields.compact{grid-template-columns:repeat(3,minmax(0,1fr))!important}.online-training-detail-fields.compact .detail-field{padding:9px 10px!important;min-height:56px}.online-training-detail-fields.compact .detail-field span{font-size:10.5px!important}.online-training-detail-fields.compact .detail-field strong{font-size:14px!important;line-height:1.22!important;overflow-wrap:anywhere}.online-training-meta-row{border-top:1px solid #ececec;padding-top:8px;margin-top:8px!important}.online-feedback-summary-card .settings-copy-field{grid-template-columns:minmax(0,1fr) auto!important;gap:8px}.online-feedback-summary-card .settings-copy-field input{min-width:0;overflow:hidden;text-overflow:ellipsis}.online-feedback-summary-card .online-feedback-qr-actions .btn,.online-participant-card .btn,.online-training-detail-grid .btn{min-height:34px!important;padding:7px 10px!important}.online-participant-filter{padding:0!important;margin:0!important;gap:8px!important}.online-participant-form{gap:8px!important;padding:10px!important;border:1px solid #ececec;border-radius:8px;background:#fafafa}.online-participant-table th,.online-participant-table td{vertical-align:middle!important}.online-training-detail-grid .detail-card{padding:14px!important}@media (max-width:1100px){.online-training-detail-fields.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (max-width:640px){.online-training-detail-fields.compact{grid-template-columns:1fr!important}.online-training-hero-meeting .btn{width:100%;justify-content:center}.online-feedback-summary-card .settings-copy-field{grid-template-columns:1fr!important}}

.online-training-hero-card.compact .online-training-hero-actions{display:flex!important;align-items:center!important;gap:8px!important}
.online-training-hero-card.compact .online-training-hero-actions .status-pill,
.online-training-hero-card.compact .online-training-hero-actions .btn,
.online-training-hero-card.compact .online-training-hero-actions .compact-action{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0 12px!important;font-size:13px!important;line-height:1!important;border-radius:8px!important;white-space:nowrap!important}
.online-training-hero-card.compact .online-training-hero-actions .status-pill{border-radius:999px!important;padding:0 11px!important}
.online-training-hero-card.compact .online-training-hero-actions .btn-msd{font-weight:900!important}

.online-training-current-card{grid-area:auto!important}
.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:repeat(7,minmax(0,1fr))!important}
.online-training-current-card .training-current-actions .status-pill,
.online-training-current-card .training-current-actions .btn,
.online-training-current-card .training-current-actions .training-head-action{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0 12px!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important}
.online-training-current-card .training-current-actions .status-pill{border-radius:999px!important;padding:0 11px!important}
@media (max-width:1280px){.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:900px){.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:560px){.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:1fr!important}}

.online-training-participant-layout{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}
.online-invitation-widget{display:flex;flex-direction:column}
.online-invitation-widget .section-title-row{margin-bottom:10px}
.online-invitation-widget .online-invitation-actions{display:grid;gap:8px;align-items:stretch}
.online-invitation-widget .online-invitation-actions .btn{width:100%;justify-content:center}
.online-invitation-widget .online-invitation-actions span{font-size:12px;color:#666;font-weight:850}
.online-invitation-widget .online-invitation-log-list{margin-top:12px}
.online-invitation-widget .online-invitation-log-list>div{grid-template-columns:1fr;gap:4px;align-items:start}
.online-invitation-widget .online-invitation-log-list strong{white-space:normal;overflow-wrap:anywhere}
@media (max-width:1180px){.online-training-participant-layout{grid-template-columns:1fr}}

.online-participant-filter .participant-reset-action{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 10px!important;font-size:13px!important;line-height:1!important;align-self:end}
.online-invitation-widget .empty-state{margin-top:12px}

.online-training-widget-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.online-training-widget-row>.detail-card{height:100%;box-sizing:border-box}
.online-open-questions-card textarea{background:#fff!important;color:#111!important;resize:vertical}
.online-files-card .upload-panel{min-height:260px;display:flex;flex-direction:column}
.online-files-card .empty-state{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;margin-top:10px}
.online-feedback-rich-card{min-height:360px}
.online-feedback-rich-card .feedback-overview-grid{grid-template-columns:118px minmax(0,1fr)}
.online-feedback-rich-card .feedback-header-action{min-height:32px!important;padding:0 10px!important;font-size:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
@media (max-width:1280px){.online-training-widget-row{grid-template-columns:minmax(260px,.85fr) minmax(260px,.85fr) minmax(420px,1.3fr)}.online-feedback-rich-card .feedback-overview-grid{grid-template-columns:118px minmax(0,1fr)}}
@media (max-width:760px){.online-feedback-rich-card .feedback-overview-grid{grid-template-columns:96px minmax(0,1fr)!important}}

.online-training-widget-row>.detail-card,
.online-training-widget-row .open-questions-card,
.online-training-widget-row .uploads-card,
.online-training-widget-row .feedback-card-side{grid-area:auto!important;min-width:0!important}
.online-training-widget-row .feedback-card-side{width:auto!important}
@media (max-width:1100px){.online-training-widget-row{grid-template-columns:1fr!important}}

.online-training-participant-side{display:grid;gap:12px;align-content:start;min-width:0}
.online-training-side-widget{padding:16px!important}
.online-training-side-widget .section-title-row{margin-bottom:12px!important}
.online-import-widget .online-csv-import-form{display:grid;gap:10px}
.online-import-widget .online-csv-import-form label{display:grid;gap:7px;color:#444;font-weight:900}
.online-import-widget .online-csv-import-form input[type=file]{min-height:42px;padding:9px!important;background:#fafafa!important}
.online-import-widget .online-csv-import-form span{font-size:12px;color:#777;font-weight:800;line-height:1.3}
.online-import-widget .btn{width:100%;justify-content:center}
.online-participant-card .section-title-row{margin-bottom:14px!important}
.online-participant-card .online-participant-form{background:#f8f8f8!important;border-color:#e6e6e6!important;align-items:end!important}
.online-participant-card .online-participant-form label{min-width:0}
.online-participant-card .online-participant-form .btn{height:48px!important;min-height:48px!important;max-height:48px!important;line-height:1.1!important}
.online-participant-modal>div{width:min(820px,92vw)!important;padding:24px!important;overflow-x:hidden!important}
.online-participant-modal .training-plan-head{margin-bottom:16px!important}
.online-participant-modal .training-plan-head h5{font-size:28px!important}
.online-participant-modal .training-plan-head p{font-size:18px!important;overflow-wrap:anywhere}
.online-participant-modal .online-participant-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px!important;margin-bottom:12px!important;background:#fafafa!important;border:1px solid #e6e6e6!important;border-radius:8px!important}
.online-participant-modal .online-participant-form label{min-width:0!important}
.online-participant-modal .online-participant-form button{grid-column:1/-1;width:max-content;justify-self:end;height:38px!important;min-height:38px!important}
.online-participant-modal .online-participant-status-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important;gap:10px!important;padding:12px!important;border:1px solid #e6e6e6;border-radius:8px;background:#fafafa}
.online-participant-modal .online-participant-status-form label{min-width:0!important}
.online-participant-modal .settings-mini-form{margin-top:10px!important;text-align:right}
.online-participant-modal .settings-mini-form .btn{height:36px!important;min-height:36px!important;padding:0 12px!important}
.feedback-distribution.is-empty .feedback-stack-bar{background:#e5e5e5!important}
.feedback-distribution.is-empty .feedback-stack-bar i{display:none!important}
.feedback-distribution.is-empty .feedback-distribution-head span{color:#777!important}
@media (max-width:760px){.online-participant-modal .online-participant-form,.online-participant-modal .online-participant-status-form{grid-template-columns:1fr!important}.online-participant-modal .online-participant-form button,.online-participant-modal .online-participant-status-form button{width:100%;justify-self:stretch}}

.online-participant-title-row{align-items:flex-start!important}
.online-participant-send-form{margin:0!important;display:flex;align-items:center;justify-content:flex-end}
.online-participant-send-form .btn{height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 12px!important;font-size:13px!important;line-height:1!important}
.online-participant-card .online-participant-form .btn{height:36px!important;min-height:36px!important;max-height:36px!important;padding:0 12px!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important}
.online-participant-click-row{cursor:pointer;transition:background-color .12s ease}
.online-participant-click-row:hover{background:#f7f7f7!important}
.online-participant-click-row:focus{outline:2px solid rgba(222,2,0,.18);outline-offset:-2px}
.online-participant-table th:last-child,.online-participant-table td:last-child{text-align:center}
@media (max-width:760px){.online-participant-title-row{align-items:flex-start;flex-direction:column}.online-participant-send-form,.online-participant-send-form .btn{width:100%;justify-content:center}}

.online-participant-tools{display:grid;gap:8px;padding:10px!important;border:1px solid #ececec;border-radius:8px;background:#fafafa}
.online-participant-tools .online-participant-form{padding:0!important;border:0!important;background:transparent!important;grid-template-columns:1fr 1fr 1.1fr 1fr minmax(170px,.7fr) auto auto!important;gap:8px!important}
.online-participant-tools .online-participant-form label{min-width:0!important}
.online-participant-tools .online-participant-form .btn{align-self:end!important}
.online-participant-import-inline{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:8px;align-items:end;margin:0!important;padding-top:8px;border-top:1px solid #e6e6e6}
.online-participant-import-inline label{display:grid;gap:5px;color:#444;font-weight:900;min-width:0}
.online-participant-import-inline input[type=file]{min-height:36px!important;padding:6px 8px!important;background:#fff!important}
.online-participant-import-inline .btn{height:36px!important;min-height:36px!important;max-height:36px!important;padding:0 12px!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important}
@media (max-width:1280px){.online-participant-tools .online-participant-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}.online-participant-tools .online-participant-form .btn{width:100%;justify-content:center}.online-participant-import-inline{grid-template-columns:1fr auto}}
@media (max-width:760px){.online-participant-tools .online-participant-form,.online-participant-import-inline{grid-template-columns:1fr!important}.online-participant-import-inline .btn{width:100%;justify-content:center}}

.online-participant-send-form.is-hidden{display:none!important}
.online-participant-tools .online-send-inline-action{background:#de0200!important;color:#fff!important;border-color:#de0200!important}
.online-training-participant-layout{display:grid;gap:12px;min-width:0}
.online-participant-tools{display:grid;gap:8px;padding:10px!important;border:1px solid #ececec;border-radius:8px;background:#fafafa}
.online-participant-tools .online-participant-compact-form{grid-template-columns:1fr 1fr 1.1fr 1fr minmax(170px,.7fr) auto auto!important;gap:8px!important;padding:0!important;border:0!important;background:transparent!important;align-items:end!important}
.online-participant-tools .online-participant-compact-form label{min-width:0!important}
.online-participant-status-filter{border-left:1px solid #dcdcdc;padding-left:10px!important}
.online-participant-tools .online-participant-compact-form .btn{height:36px!important;min-height:36px!important;max-height:36px!important;padding:0 12px!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important;align-self:end!important}
.online-participant-tools .online-send-inline-action{background:#de0200!important;color:#fff!important;border-color:#de0200!important}
.online-participant-list-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#666;font-size:12px;font-weight:900}
.online-participant-list-actions strong{color:#444;font-size:13px;font-weight:950}
.online-participant-list-actions span{white-space:nowrap}
@media (max-width:1280px){.online-participant-tools .online-participant-compact-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}.online-participant-tools .online-participant-compact-form .btn{width:100%;justify-content:center}.online-participant-status-filter{border-left:0;padding-left:0!important}}
@media (max-width:760px){.online-participant-tools .online-participant-compact-form{grid-template-columns:1fr!important}.online-participant-list-actions{align-items:flex-start;flex-direction:column}.online-participant-import-compact{width:100%;justify-content:flex-start!important}}
.online-participant-import-compact{display:flex;align-items:end;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin:0!important}
.online-participant-import-compact label{display:grid;gap:3px;margin:0;color:#666;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;min-width:190px}
.online-participant-import-compact input[type=file]{height:32px!important;min-height:32px!important;max-height:32px!important;padding:5px 7px!important;background:#fff!important;font-size:12px!important}
.online-participant-import-compact .btn{height:32px!important;min-height:32px!important;max-height:32px!important;padding:0 10px!important;font-size:12px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}
@media (max-width:900px){.online-participant-import-compact{justify-content:flex-start;width:100%}.online-participant-import-compact label{min-width:0;flex:1 1 220px}}

.market-detail-page .detail-card h5,
.online-training-detail-page .detail-card h5{font-size:24px!important;line-height:1.08!important;font-weight:950!important}
.market-detail-page .section-title-row h5,
.online-training-detail-page .section-title-row h5{font-size:24px!important;line-height:1.08!important;font-weight:950!important}
.market-detail-page .section-kicker + h5,
.online-training-detail-page .section-kicker + h5{font-size:24px!important;line-height:1.08!important;font-weight:950!important}

.online-participant-import-compact{align-items:center!important;gap:6px!important}
.online-participant-import-compact label span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.online-participant-import-compact input[type=file]{width:210px!important;border-radius:8px!important;color:#555!important}
.online-participant-import-compact .btn{border-radius:8px!important;background:#fff!important;color:#444!important;border-color:#d0d0d0!important;font-weight:900!important}
.online-files-card .section-title-row{margin-bottom:12px!important}
.online-upload-split{display:grid;grid-template-rows:auto auto;gap:12px;height:100%}
.online-files-card .upload-panel{min-height:0!important}
.online-files-card .upload-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.online-upload-note-form{display:grid;gap:6px;border-top:1px solid #e6e6e6;padding-top:10px;margin:0!important}
.online-upload-note-form label{display:grid;gap:6px;margin:0;color:#666;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.online-upload-note-form textarea{min-height:78px!important;resize:vertical;background:#fff!important;color:#111!important}
@media (max-width:760px){.online-files-card .upload-file-grid{grid-template-columns:1fr}.online-participant-import-compact input[type=file]{width:100%!important}}

.online-participant-import-compact{align-items:center!important;gap:8px!important}
.online-participant-import-compact .btn{height:30px!important;min-height:30px!important;max-height:30px!important;padding:0 10px!important;border-radius:8px!important;background:#fff!important;color:#555!important;border-color:#d0d0d0!important;font-size:12px!important;font-weight:900!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}
.online-participant-import-compact .online-import-trigger{cursor:pointer!important;margin:0!important;min-width:0!important;text-transform:none!important;letter-spacing:0!important}
.online-participant-import-compact .online-import-trigger span{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important}
.online-participant-import-compact .online-import-trigger input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.online-participant-import-compact .online-import-template{opacity:.8!important}
.online-participant-import-compact .online-import-template:hover,.online-participant-import-compact .online-import-trigger:hover{opacity:1!important;background:#f7f7f7!important}
@media (max-width:760px){.online-participant-import-compact{justify-content:flex-start!important}.online-participant-import-compact .btn{width:auto!important}}

.online-files-card{align-self:start!important}
.online-files-card .section-title-row{margin-bottom:10px!important}
.online-files-card .upload-panel{padding:10px!important;gap:8px!important;min-height:auto!important;display:grid!important}
.online-files-card .upload-file-grid{gap:8px!important}
.online-files-card .upload-add-file{min-height:48px!important;padding:8px 10px!important}
.online-files-card .upload-add-file span{width:22px!important;height:22px!important;font-size:18px!important}
.online-files-card .upload-add-file strong{font-size:13px!important}
.online-upload-split{gap:8px!important;height:auto!important;align-content:start!important}
.online-upload-note-form{gap:6px!important;border-top:1px solid #d8d8d8!important;padding-top:8px!important;margin-top:8px!important}
.online-upload-note-form label{gap:6px!important;font-size:17px!important;line-height:1.1!important;font-weight:950!important;color:#666!important;letter-spacing:.02em!important}
.online-upload-note-form textarea{min-height:96px!important;padding:12px 14px!important;font-size:17px!important;line-height:1.35!important;font-weight:800!important;color:#111!important}

.online-participant-import-compact .online-import-label{color:#777!important;font-size:12px!important;font-weight:900!important;line-height:30px!important;white-space:nowrap!important;margin-right:2px!important}
@media (max-width:760px){.online-participant-import-compact .online-import-label{width:100%!important;line-height:1.1!important;margin-bottom:2px!important}}

.online-upload-note-form textarea{min-height:150px!important;font-weight:400!important}

.online-upload-note-form label{font-size:24px!important;line-height:1.08!important;font-weight:950!important;color:#111!important;letter-spacing:0!important;text-transform:none!important}

.online-upload-note-form{border-top:0!important;padding-top:0!important;margin-top:6px!important}

.online-upload-note-form{margin-top:12px!important}

.online-upload-note-form{margin-top:18px!important}

.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media (max-width:1280px){.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:900px){.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:560px){.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:1fr!important}}

/* Settings system dashboard cleanup */
.settings-system-list strong{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.settings-database-section>.settings-system-section{border:0;background:transparent;padding:0}
.settings-system-details{margin-top:10px;border-top:1px solid #eeeeee;padding-top:10px}
.settings-system-details summary{cursor:pointer;color:#111;font-size:13px;font-weight:950}
.settings-migration-list{display:grid;gap:6px;margin-top:10px}
.settings-migration-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border:1px solid #eeeeee;border-radius:8px;background:#fafafa;padding:8px 10px;align-items:center}
.settings-migration-list strong{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;overflow-wrap:anywhere}
.settings-migration-list span{color:#666;font-size:12px;font-weight:800;white-space:nowrap}
@media (max-width:760px){.settings-migration-list>div{grid-template-columns:1fr}.settings-migration-list span{white-space:normal}}

/* System dashboard runtime status accuracy */
.settings-system-main-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.settings-system-main-cards>.settings-system-section{min-width:0}
.settings-system-main-cards .settings-system-section .settings-system-section{border:0;background:transparent;padding:0;margin:0}
.settings-system-main-cards .settings-inline-notice{margin:10px 0;font-size:12.5px;font-weight:850;line-height:1.35}
.settings-system-traffic-row .settings-system-tile strong{overflow-wrap:anywhere;white-space:normal}
.settings-system-subdetails{margin-top:8px}
@media (max-width:980px){.settings-system-main-cards{grid-template-columns:1fr!important}}

/* Simplified operator status dashboard */
.settings-system-operator-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.settings-system-operator-kpis .settings-system-tile{min-height:104px;align-content:start}
.settings-system-operator-kpis .settings-system-tile strong{font-size:24px;overflow-wrap:anywhere;white-space:normal}
.settings-system-tile.system-state-neutral{background:#f8fafc;border-color:#e2e8f0}
.settings-system-tile.system-state-neutral strong{color:#334155}
.settings-system-operator-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.settings-system-operator-cards>.settings-system-section{min-width:0}
.settings-system-compact-list{border-top:1px solid #eeeeee;margin-top:10px;padding-top:10px;display:grid;gap:8px}
.settings-system-compact-list>strong{font-size:13px;font-weight:950;color:#111}
.settings-system-compact-list ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.settings-system-compact-list li{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #eeeeee;border-radius:8px;background:#fafafa;padding:8px 10px}
.settings-system-compact-list span{font-size:12.5px;font-weight:850;color:#333;line-height:1.25}
.settings-hardening-groups-compact{margin-top:12px}
@media (max-width:1240px){.settings-system-operator-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.settings-system-operator-cards{grid-template-columns:1fr!important}}
@media (max-width:760px){.settings-system-operator-kpis{grid-template-columns:1fr!important}.settings-system-compact-list li{align-items:flex-start;flex-direction:column}}

/* System dashboard task board layout */
.ops-task-board{grid-column:1/-1}
.ops-task-columns{display:grid;grid-template-columns:repeat(3,minmax(280px,1fr));gap:12px;margin-top:10px}
.ops-task-column{border:1px solid #eeeeee;border-radius:8px;background:#fff;padding:12px;min-width:0}
.ops-task-column.is-p0{border-left:4px solid #de0200;background:#fffdfd}
.ops-task-column>strong{display:block;color:#111;font-size:13px;font-weight:950;line-height:1.25;margin-bottom:10px}
.ops-task-column ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ops-task-column li{border:1px solid #eeeeee;border-radius:8px;background:#fafafa;padding:10px;display:grid;gap:6px;min-width:0}
.ops-task-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;min-width:0}
.ops-task-head span{color:#222;font-size:12.5px;font-weight:900;line-height:1.3;min-width:0;overflow-wrap:break-word;word-break:normal;hyphens:auto}
.ops-task-head .hardening-status{flex-shrink:0}
.ops-task-column small{color:#666;font-size:12px;font-weight:700;line-height:1.35;overflow-wrap:break-word;word-break:normal}
.hardening-status-in-arbeit{background:#fff7ed;color:#9a3412;border-color:#fed7aa}
.hardening-status-nicht-relevant{background:#f1f5f9;color:#475569;border-color:#cbd5e1}
@media (max-width:1100px){.ops-task-columns{grid-template-columns:repeat(2,minmax(280px,1fr))}}
@media (max-width:760px){.ops-task-columns{grid-template-columns:1fr}.ops-task-head{align-items:flex-start}}


/* Mobile responsive foundation: operative browser use only */
@media (max-width:768px){
  html,body{max-width:100%;overflow-x:hidden}
  body{min-width:0}
  .app{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;min-height:100vh}
  .sidebar{position:sticky;top:0;z-index:30;display:block;padding:8px 10px;border-right:0;border-bottom:1px solid #000;box-shadow:0 1px 0 rgba(0,0,0,.12)}
  .logo{margin:0 0 8px;padding:0}.logo-panel{width:180px;max-width:58vw;padding:6px 8px;box-shadow:none}.logo-panel img{max-height:42px}
  .sidebar-body{display:block;min-height:0}.nav{display:flex;flex-direction:row;gap:6px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:2px}.nav-main{flex:none}.nav a{flex:0 0 auto;min-height:44px;box-sizing:border-box;padding:8px 10px;font-size:14px;white-space:nowrap}.nav-icon{width:17px;height:17px;flex-basis:17px}.nav-main .nav-mobile-admin{display:none}.nav-footer{display:none}
  .main{min-width:0;width:100%;padding:0 12px 18px;overflow-x:hidden}.main>:not(.topbar):not(script):not([class*=modal]){max-width:100%;min-width:0}
  .topbar{min-height:0;padding:16px 0 12px;display:flex;align-items:stretch;flex-direction:column;justify-content:flex-start;gap:12px}.topbar-heading{transform:none;gap:3px}.topbar-heading .app-title{font-size:24px;line-height:1.08}.topbar-heading p{font-size:13px;line-height:1.3;font-weight:700}.topbar-actions{width:100%;transform:none;margin-left:0;padding-right:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.flight-picker,.period-picker{width:100%;min-width:0}.flight-picker select,.period-picker select{width:100%;min-width:0;min-height:44px;font-size:14px;border-radius:8px}.topbar-divider{display:none}.user-chip{min-width:0;margin-left:auto;gap:8px}.user-avatar{width:38px;height:38px;font-size:14px}.user-meta strong{font-size:14px}.user-meta span{display:none}
  .page-head{margin:10px 0 12px}.page-head h2{font-size:24px;line-height:1.1}.page-head p{font-size:13px;line-height:1.35}
  .card,.msd-card{padding:14px;margin:10px 0}.dashboard-kpis{grid-template-columns:1fr;margin-top:0}.dashboard-kpi{min-height:0}.dashboard-kpis-strong .msd-value{font-size:34px}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid .msd-card,.status-card,.next-trainings-card,.latest-training-card,.feedback-card,.nps-trend-card{grid-column:1/-1}.latest-training-list{grid-template-columns:repeat(2,minmax(0,1fr))}.current-date-list div{grid-template-columns:72px minmax(0,1fr)}
  .market-filter-grid,.definition-grid,.market-definition-grid,.market-data-columns,.market-data-grid-fixed,.market-detail-two-col,.contact-fields,.online-training-detail-grid,.online-training-detail-fields,.online-training-main-grid,.online-participant-form,.online-participant-status-form,.online-participant-filter{grid-template-columns:1fr!important}.market-detail-layout{grid-template-columns:1fr!important;grid-template-areas:none!important}.training-current-card,.market-data-card,.market-detail-two-col,.history-card,.contact-card,.uploads-card,.feedback-card-side,.market-notes-side-form{grid-area:auto!important}.training-current-head,.section-title-row,.secondary-contact-row,.feedback-detail-head{align-items:flex-start;flex-direction:column}.training-current-actions,.toolbar-actions,.online-training-hero-actions,.widget-header-actions{justify-content:flex-start;width:100%}.training-current-strip,.online-training-current-card .training-current-strip.online-training-current-strip{grid-template-columns:1fr!important}.training-current-strip .btn,.training-head-action{width:100%;justify-content:center}.feedback-side-grid,.feedback-overview-grid,.feedback-card-rich .feedback-overview-grid{grid-template-columns:1fr!important}.qr-placeholder,.qr-placeholder.small,.feedback-card-rich .qr-placeholder.small.feedback-qr-tile{width:140px!important;height:140px!important;justify-self:start}
  .online-training-hero-card,.online-training-hero-card.compact{grid-template-columns:1fr!important}.online-training-hero-main h5,.online-training-hero-card.compact .online-training-hero-main h5{font-size:24px!important;line-height:1.1}.online-training-kpi-strip,.online-training-stat-grid{grid-template-columns:1fr!important}.online-training-meta-row{gap:6px}.online-participant-import-compact,.online-participant-send-form,.online-invitation-actions{width:100%;justify-content:flex-start}.online-participant-import-compact .btn,.online-participant-send-form .btn,.online-invitation-actions .btn{min-height:44px}
  .table-scroll,.next-trainings-scroll{max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.table-scroll table{min-width:720px}.next-trainings-table{min-width:640px}.next-trainings-table tbody{overflow-x:visible}.market-overview-table{min-width:980px}.online-participant-table{min-width:760px}th,td{padding:10px 9px}
  .btn,button[type=submit],button[type=button],input[type=submit],input[type=button]{min-height:44px;box-sizing:border-box}.btn{display:inline-flex;align-items:center;justify-content:center}.toolbar-actions .btn,.market-toolbar .btn,.section-title-row .btn,.modal-actions .btn,.upload-panel .btn{width:100%;justify-content:center}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{width:100%;max-width:100%;min-height:44px;box-sizing:border-box}input[type=file]{max-width:100%;min-height:44px}.d-flex{min-width:0;flex-wrap:wrap}
  .photo-modal,.detail-mini-modal,.feedback-qr-popup,.settings-modal{padding:10px!important}.photo-modal-dialog,.detail-mini-modal>div,.feedback-detail-modal>div,.feedback-qr-modal>div,.trainer-info-modal>div,.settings-modal-dialog,.delete-download-modal>div,.online-participant-modal>div{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important;padding:16px!important;overflow:auto!important;box-sizing:border-box}.photo-modal-dialog{padding:0!important}.photo-modal-dialog img,.upload-photo-modal img{max-height:calc(100vh - 128px)!important}.photo-modal-caption,.upload-photo-modal-actions,.modal-actions{align-items:stretch!important;flex-direction:column!important}.photo-modal-caption>div,.upload-photo-modal-actions>div{min-width:0}.feedback-qr-popup-dialog{width:calc(100vw - 20px);height:calc(100vh - 20px);max-height:calc(100vh - 20px)}.feedback-qr-popup-dialog iframe{height:calc(100vh - 20px)}.settings-flight-modal-grid,.settings-module-edit-form-modal{grid-template-columns:1fr!important}
  .upload-panel-head{align-items:flex-start;flex-direction:column}.upload-action-button,.upload-add-tile,.upload-add-file{min-height:44px}.upload-file-card,.upload-add-file{width:100%;box-sizing:border-box}.upload-thumb-grid,.upload-file-grid,.online-files-card .upload-file-grid{grid-template-columns:1fr!important}.row-actions{gap:10px}.row-actions a,.mini-action,.detail-popup-link{min-height:44px;display:inline-flex;align-items:center}.upload-photo-modal-actions>div{width:100%;display:grid!important;grid-template-columns:1fr!important}.upload-photo-modal-actions .btn{width:100%;justify-content:center}
}


/* Mobile portrait usability: iPhone/smartphone portrait */
@media (max-width:480px){
  .app-login{display:block}.app-login .main{overflow-x:hidden}.login-page-v2{min-height:100svh}.login-brand-panel{padding:14px 14px 10px;gap:10px}.login-logo-card{width:156px;padding:8px}.login-brand-copy h1{font-size:28px;line-height:1}.login-brand-copy p{font-size:14px;line-height:1.25}.login-signal-grid{display:none}.login-form-panel{padding:14px}.login-card-v2{padding:18px}.login-card-head{margin-bottom:16px;padding-bottom:12px}.login-card-head h2{font-size:28px}.login-card-head p{font-size:14px}.login-form-v2{gap:11px}.login-card-foot{margin-top:14px;padding-top:12px}
  .sidebar{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:7px 8px}.logo{margin:0}.logo-panel{width:116px;max-width:32vw;padding:5px 6px}.logo-panel img{max-height:30px}.sidebar-body{min-width:0}.nav{gap:4px;padding-bottom:0}.nav a{min-height:40px;padding:6px 8px;font-size:12.5px;gap:6px;border-radius:7px}.nav-icon{width:15px;height:15px;flex-basis:15px}.nav a.active{box-shadow:inset 0 -2px 0 #de0200}
  .main{padding:0 10px 14px}.topbar{padding:10px 0 8px;gap:8px}.topbar-heading .app-title{font-size:20px;line-height:1.08}.topbar-heading p{display:none}.topbar-actions{gap:6px}.flight-picker select,.period-picker select{min-height:40px;padding:8px 34px 8px 10px;font-size:13px;border-radius:8px}.user-chip{display:none}.page-head{margin:8px 0 10px}.page-head h2{font-size:21px}.page-head p{font-size:12.5px}
  .card,.msd-card,.detail-card{padding:12px;margin:8px 0;min-width:0}.dashboard-grid,.dashboard-grid.mt-3,.market-detail-page,.online-training-detail-page{gap:8px}.dashboard-kpis{gap:8px}.dashboard-kpi{padding:13px 14px}.dashboard-kpis-strong .msd-value{font-size:30px}.dashboard-grid .msd-card{padding:14px}.dashboard-grid .msd-card h5,.market-detail-page .detail-card h5,.online-training-detail-page .detail-card h5,.market-detail-page .section-title-row h5,.online-training-detail-page .section-title-row h5{font-size:20px!important}.latest-training-list{grid-template-columns:1fr}.feedback-row{padding:10px 11px}.feedback-row b{font-size:26px}.current-date-list{max-height:none}.current-date-list div{grid-template-columns:64px minmax(0,1fr)}
  .market-toolbar,.downloads-page-card,.downloads-toolbar-card,.downloads-list-card{padding:12px}.market-filter-grid,.downloads-filter-row{gap:8px}.table-headline,.downloads-actions-row,.downloads-selection-bar{align-items:stretch;flex-direction:column;gap:8px}.table-count,.downloads-tabs a{width:max-content}.toolbar-actions,.downloads-filter-actions,.download-row-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.table-scroll,.downloads-table-wrap,.next-trainings-scroll{margin-left:-2px;margin-right:-2px;padding-bottom:4px;overscroll-behavior-x:contain}.table-scroll table{min-width:620px}.market-overview-table{min-width:820px}.online-training-table,.online-participant-table{min-width:680px}.downloads-table{min-width:840px}.next-trainings-table{min-width:560px}th,td{padding:9px 8px}.row-actions{justify-content:flex-start;flex-wrap:wrap;white-space:normal}.row-actions a{min-height:40px}
  .section-title-row{gap:8px;margin-bottom:10px}.training-current-head{gap:10px}.training-current-head h5{font-size:21px}.training-current-strip{gap:8px;margin-top:10px}.training-current-strip>div,.training-current-strip label,.detail-field{padding:9px 10px}.market-data-columns,.market-data-grid-fixed,.definition-grid,.market-detail-two-col,.online-training-detail-grid,.online-training-detail-fields{gap:8px}.contact-card .market-contact-list,.contact-card .market-contact-list.has-scroll{max-height:none!important;overflow:visible!important}.feedback-side-grid,.feedback-card-rich .feedback-overview-grid{gap:10px}.qr-placeholder,.qr-placeholder.small,.feedback-card-rich .qr-placeholder.small.feedback-qr-tile{width:112px!important;height:112px!important;background-size:12px 12px!important}.qr-placeholder b{font-size:16px;padding:8px 10px}.feedback-mini-stats{grid-template-columns:1fr;gap:7px}.nps-summary strong{font-size:34px}
  .online-training-hero-card,.online-training-hero-card.compact{padding:14px!important;gap:10px}.online-training-hero-main h5,.online-training-hero-card.compact .online-training-hero-main h5{font-size:21px!important}.online-training-hero-main p,.online-training-hero-card.compact .online-training-hero-main p{font-size:13px!important}.online-training-kpi-strip{gap:8px}.online-training-kpi-strip .msd-card{padding:10px 12px}.online-training-kpi-strip strong{font-size:22px}.online-participant-tools,.online-participant-card .online-participant-form{padding:9px!important}.online-participant-import-compact{align-items:stretch!important}.online-participant-import-compact .btn{width:100%!important;min-height:40px!important}.online-feedback-qr-actions,.online-invitation-actions{display:grid;grid-template-columns:1fr;gap:7px}.online-feedback-qr-actions .btn,.online-invitation-actions .btn{width:100%;justify-content:center}
  .btn,button[type=submit],button[type=button],input[type=submit],input[type=button]{min-height:42px}.toolbar-actions .btn,.market-toolbar .btn,.section-title-row .btn,.modal-actions .btn,.upload-panel .btn,.downloads-filter-actions .btn,.downloads-selection-bar .btn{width:100%;justify-content:center}.compact-action{min-height:40px}.upload-panel{padding:10px;gap:9px}.upload-dropzone{min-height:92px;padding:12px}.upload-add-file,.upload-file-card{min-height:50px;padding:9px}.upload-photo-modal-actions strong,.photo-modal-caption strong{font-size:15px}.file-chip-list span{max-width:100%;overflow-wrap:anywhere}
  .photo-modal,.detail-mini-modal,.feedback-qr-popup,.settings-modal{padding:6px!important}.photo-modal-dialog,.detail-mini-modal>div,.feedback-detail-modal>div,.feedback-qr-modal>div,.trainer-info-modal>div,.settings-modal-dialog,.delete-download-modal>div,.online-participant-modal>div{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;max-height:calc(100svh - 12px)!important;padding:14px!important}.photo-modal-dialog{padding:0!important}.feedback-qr-popup-dialog{width:calc(100vw - 12px);height:calc(100svh - 12px);max-height:calc(100svh - 12px)}.feedback-qr-popup-dialog iframe{height:calc(100svh - 12px)}.feedback-qr-embed-body{padding:8px}.feedback-qr-embed-body .feedback-qr-print-card{padding:12px}.feedback-qr-sheet-head{grid-template-columns:1fr;gap:10px}.feedback-qr-sheet-head h1{font-size:24px}.feedback-qr-meta{grid-template-columns:1fr}.feedback-qr-svg,.feedback-qr-img{width:min(100%,300px)}
}


/* Mobile operative training cards */
.mobile-training-cards{display:none}
@media (max-width:768px){
  .market-list-card.has-mobile-cards>.table-scroll{display:none}
  .mobile-training-cards{display:grid;gap:10px}
  .mobile-training-card{border:1px solid #e5e5e5;border-radius:8px;background:#fff;padding:12px;display:grid;gap:11px;min-width:0}
  .mobile-training-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}.mobile-training-card-head>div{display:grid;gap:3px;min-width:0}.mobile-training-card-head span:first-child{color:#666;font-size:11px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.mobile-training-card-head strong{color:#111;font-size:18px;font-weight:950;line-height:1.12;overflow-wrap:anywhere}.mobile-training-card-head em{color:#666;font-size:13px;font-style:normal;font-weight:800;line-height:1.25;overflow-wrap:anywhere}.mobile-training-card-head>.status-pill{flex:0 0 auto;max-width:44%;justify-content:center;text-align:center;white-space:normal}
  .mobile-training-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.mobile-training-card dl div{border:1px solid #eeeeee;border-radius:8px;background:#fafafa;padding:8px 9px;min-width:0}.mobile-training-card dt{margin:0 0 3px;color:#666;font-size:10.5px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.mobile-training-card dd{margin:0;color:#111;font-size:14px;font-weight:850;line-height:1.25;overflow-wrap:anywhere}.mobile-training-card dd strong,.mobile-training-card dd span{display:block}.mobile-training-card dd span{margin-top:2px;color:#666;font-size:12.5px;font-weight:800}
  .mobile-training-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-training-card-actions .btn{width:100%;min-height:42px;margin:0;justify-content:center;text-align:center}
}
@media (max-width:480px){
  .mobile-training-cards{gap:8px}.mobile-training-card{padding:11px;gap:10px}.mobile-training-card-head{flex-direction:column}.mobile-training-card-head>.status-pill{max-width:100%}.mobile-training-card dl{grid-template-columns:1fr}.mobile-training-card-actions{grid-template-columns:1fr}.mobile-training-card-head strong{font-size:17px}
}


/* Mobile viewport gutters: prevent clipped portrait edges */
@media (max-width:480px){
  html,body,.app,.main{width:100%;max-width:100%;overflow-x:hidden;box-sizing:border-box}
  .main{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:16px}
  .main>:not(.topbar):not(script):not([class*=modal]),.topbar,.market-toolbar,.market-list-card,.dashboard-kpis,.dashboard-grid,.market-detail-page,.online-training-detail-page,.mobile-training-cards{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .sidebar{width:100%;max-width:100%;box-sizing:border-box;overflow:hidden;grid-template-columns:auto minmax(0,1fr);padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.nav{min-width:0;max-width:100%;overscroll-behavior-x:contain}.nav a{max-width:46vw}.nav a span{overflow:hidden;text-overflow:ellipsis}
  .topbar-heading,.topbar-actions,.flight-picker,.period-picker{min-width:0;max-width:100%;box-sizing:border-box}.topbar-heading .app-title{overflow-wrap:anywhere;word-break:normal}.flight-picker select,.period-picker select{max-width:100%;box-sizing:border-box}
  .market-toolbar,.market-list-card,.card,.msd-card,.detail-card,.mobile-training-card{margin-left:0;margin-right:0;box-sizing:border-box}.table-scroll,.downloads-table-wrap,.next-trainings-scroll{margin-left:0;margin-right:0;max-width:100%;box-sizing:border-box}.mobile-training-card *{max-width:100%;box-sizing:border-box}.mobile-training-card-head strong,.mobile-training-card dd,.mobile-training-card dd span{overflow-wrap:anywhere;word-break:normal}.mobile-training-card-actions .btn{min-width:0;white-space:normal}
}


/* Mobile hamburger header navigation */
.mobile-menu-toggle,.mobile-flight-picker{display:none}
@media (max-width:768px){
  .sidebar{display:grid;grid-template-columns:minmax(0,auto) auto;align-items:center;gap:10px;width:100%;max-width:100%;padding:10px 16px;border-right:0;border-bottom:1px solid #000;overflow:visible;box-sizing:border-box}.logo{margin:0;padding:0}.logo-panel{width:150px;max-width:52vw;padding:6px 8px;box-shadow:none}.logo-panel img{max-height:36px}.mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;justify-self:end;gap:8px;min-width:44px;min-height:44px;margin:0;padding:0 11px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.06);color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.mobile-menu-toggle i,.mobile-menu-toggle i:before,.mobile-menu-toggle i:after{display:block;width:18px;height:2px;border-radius:999px;background:currentColor;content:""}.mobile-menu-toggle i{position:relative}.mobile-menu-toggle i:before{position:absolute;top:-6px}.mobile-menu-toggle i:after{position:absolute;top:6px}.sidebar.is-mobile-open .mobile-menu-toggle i{background:transparent}.sidebar.is-mobile-open .mobile-menu-toggle i:before{top:0;transform:rotate(45deg)}.sidebar.is-mobile-open .mobile-menu-toggle i:after{top:0;transform:rotate(-45deg)}.sidebar-body{grid-column:1/-1;display:grid;gap:10px;min-width:0;padding:8px 0 2px}.has-mobile-nav-js .sidebar:not(.is-mobile-open) .sidebar-body{display:none}.mobile-flight-picker{display:block;width:100%;margin:0}.mobile-flight-picker select{width:100%;min-width:0;min-height:42px;border-radius:8px;font-size:14px}.sidebar .nav{display:grid;grid-template-columns:1fr;gap:6px;overflow:visible;padding:0}.sidebar .nav a{width:100%;max-width:100%;min-height:42px;box-sizing:border-box;justify-content:flex-start;white-space:normal}.sidebar .nav a span{overflow:visible;text-overflow:clip}.nav-main .nav-mobile-admin{display:none}.topbar .topbar-actions{display:none!important}.topbar{padding-top:12px}
}
@media (max-width:480px){
  .sidebar{grid-template-columns:minmax(0,auto) auto;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));gap:8px}.logo-panel{width:132px;max-width:48vw}.logo-panel img{max-height:32px}.mobile-menu-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.mobile-menu-toggle{padding:0;width:44px}.topbar{padding-top:12px}.topbar-heading .app-title{font-size:21px;line-height:1.12}
}


/* Mobile header spacing refinement */
@media (max-width:768px){
  .topbar,.topbar-heading{margin-left:0;margin-right:0;padding-left:0;padding-right:0;box-sizing:border-box}.topbar-heading{width:100%;max-width:100%;transform:none}.topbar-heading .app-title{margin-left:0;margin-right:0}.sidebar .logo-panel{width:136px;max-width:46vw;padding:5px 7px}.sidebar .logo-panel img{max-height:34px}
}
@media (max-width:480px){
  .topbar,.topbar-heading{padding-left:0;padding-right:0}.sidebar .logo-panel{width:112px;max-width:40vw;padding:5px 6px}.sidebar .logo-panel img{max-height:30px}
}

/* Flight detail contact refinements */
.settings-flight-contacts-panel-refined .settings-contact-card-removable {
  min-height: 56px !important;
  padding: 7px 8px !important;
  gap: 8px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable .settings-contact-avatar {
  width: 36px !important;
  height: 36px !important;
  flex-basis: 36px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable > div:last-child {
  column-gap: 8px !important;
  row-gap: 1px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable > div:last-child > strong {
  font-size: 13px !important;
  line-height: 1.15 !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable > div:last-child > em,
.settings-flight-contacts-panel-refined .settings-contact-card-removable > div:last-child > span {
  font-size: 11px !important;
  line-height: 1.2 !important;
}
.settings-flight-contacts-panel-refined .settings-contact-card-removable .settings-contact-remove-form .btn {
  min-height: 30px !important;
  padding: 4px 8px !important;
}
.settings-flight-contacts-panel-refined .settings-contact-group-label-selected {
  margin-top: 4px;
}
.settings-flight-contacts-panel-refined .settings-contact-pick-card.is-disabled {
  opacity: .55;
  cursor: not-allowed;
}
.settings-contact-limit-note {
  font-size: 12px;
  font-weight: 800;
  color: #666;
}


.staging-environment-banner{width:100%;max-width:1600px;box-sizing:border-box;margin:14px auto 0;border:1px solid #f59e0b;background:#fffbeb;color:#7c2d12;border-radius:8px;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:800;text-align:center}.staging-environment-banner strong{display:inline-flex;align-items:center;border-radius:999px;background:#111;color:#fff;padding:3px 9px;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.staging-environment-banner span{overflow-wrap:anywhere}.app-login .staging-environment-banner{position:fixed;z-index:20;top:12px;left:50%;width:min(720px,calc(100vw - 24px));margin:0;transform:translateX(-50%);box-shadow:0 10px 24px rgba(0,0,0,.12)}@media (max-width:760px){.staging-environment-banner{align-items:flex-start;flex-direction:column;text-align:left}.app-login .staging-environment-banner{top:8px}}
