.hidden { display: none !important; }

.auth-body { min-height: 100vh; background: var(--white); }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1.12fr .88fr; }
.auth-visual { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px,4vw,65px); color: white; background: var(--ink); }
.auth-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-visual-overlay { position: absolute; inset: 0; background: linear-gradient(100deg,rgba(9,9,11,.9),rgba(9,9,11,.38)), linear-gradient(0deg,rgba(9,9,11,.9),transparent 60%), linear-gradient(135deg,rgba(239,31,99,.35),transparent 45%,rgba(22,116,209,.28)); }
.auth-brand, .auth-promise, .auth-date { position: relative; z-index: 2; }
.auth-promise { max-width: 720px; margin: auto 0; }
.auth-promise > span { color: rgba(255,255,255,.57); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.auth-promise h1, .auth-form-wrap h2, .dashboard-main h1, .dashboard-main h2 { margin: 12px 0 0; font-family: var(--display); font-weight: 800; letter-spacing: -.025em; line-height: .85; text-transform: uppercase; }
.auth-promise h1 { font-size: clamp(76px,8.5vw,132px); }
.auth-promise h1 em, .dashboard-main h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px white; }
.auth-promise p { max-width: 570px; color: rgba(255,255,255,.6); font-size: 16px; }
.auth-date { margin: 0; color: rgba(255,255,255,.46); font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .13em; }
.auth-panel { position: relative; display: grid; place-items: center; padding: 80px clamp(28px,7vw,120px); }
.auth-back { position: absolute; top: 35px; left: 40px; color: #77747a; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.auth-form-wrap { width: min(100%, 480px); }
.auth-form-wrap h2 { font-size: clamp(58px,6vw,82px); }
.auth-form-wrap > p:not(.eyebrow):not(.auth-help) { color: #757278; }
.auth-form-wrap form { margin-top: 40px; }
.auth-form-wrap label, .password-form label, .admin-form label { display: block; margin-bottom: 22px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.auth-form-wrap input, .password-form input, .admin-form input, .admin-form textarea, .admin-form select, .search-field input { width: 100%; margin-top: 7px; padding: 13px 2px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #cecac4; outline: 0; font-size: 14px; letter-spacing: normal; text-transform: none; transition: border .2s; }
.auth-form-wrap input:focus, .password-form input:focus, .admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: var(--blue); }
.auth-form-wrap .button { width: 100%; margin-top: 12px; }
.auth-forgot-trigger { display: block; margin: -9px 0 2px auto; padding: 2px 0; color: #315d8c; background: transparent; border: 0; border-bottom: 1px solid rgba(49,93,140,.35); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.auth-divider { position: relative; margin: 35px 0 18px; text-align: center; }
.auth-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #e0dcd6; }
.auth-divider span { position: relative; padding: 0 12px; color: #939095; background: var(--white); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.auth-outline { width: 100%; border-color: #bbb7b1; }
.auth-outline:hover { color: white; background: var(--ink); border-color: var(--ink); }
.auth-help { margin-top: 30px; color: #8b888d; font-size: 10px; text-align: center; }
.auth-help a { color: var(--ink); border-bottom: 1px solid; font-weight: 700; }
.auth-mobile-brand { display: none; }
.auth-reset-dialog { width: min(900px,calc(100% - 30px)); max-width: none; padding: 0; color: var(--ink); background: #f7f5f1; border: 0; border-radius: 24px; box-shadow: 0 45px 140px rgba(0,0,0,.5); overflow: hidden; }
.auth-reset-dialog[open] { display: grid; grid-template-columns: minmax(220px,.65fr) minmax(0,1.35fr); animation: dialogIn .3s ease-out; }
.auth-reset-dialog::backdrop { background: rgba(5,7,13,.78); backdrop-filter: blur(12px); }
.auth-reset-mark { position: relative; overflow: hidden; min-height: 510px; display: grid; place-items: center; background: radial-gradient(circle at 28% 20%,rgba(239,31,99,.72),transparent 37%),radial-gradient(circle at 78% 76%,rgba(22,116,209,.78),transparent 40%),#11121b; }
.auth-reset-mark::before { content: ""; position: absolute; width: 390px; aspect-ratio: 1; border: 62px solid rgba(255,255,255,.07); border-radius: 43%; transform: rotate(32deg); }
.auth-reset-mark img { position: relative; z-index: 1; width: 130px; filter: drop-shadow(0 22px 35px rgba(0,0,0,.35)); }
.auth-reset-content { position: relative; padding: 62px clamp(30px,6vw,78px) 46px; }
.auth-reset-content h2 { margin: 12px 0 18px; font-family: var(--display); font-size: clamp(48px,5vw,70px); line-height: .86; text-transform: uppercase; }
.auth-reset-content > p:not(.eyebrow) { color: #706d72; font-size: 12px; line-height: 1.65; }
.auth-reset-content form { margin-top: 28px; }
.auth-reset-content label { display: block; margin-bottom: 19px; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.auth-reset-content input { width: 100%; margin-top: 7px; padding: 13px 2px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #c9c5bf; outline: 0; font: inherit; font-size: 14px; text-transform: none; }
.auth-reset-content input:focus { border-color: var(--blue); }
.auth-reset-content .button { width: 100%; margin-top: 5px; }
.auth-reset-close { position: absolute; z-index: 5; top: 17px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; color: var(--ink); background: white; border: 1px solid rgba(9,9,11,.12); border-radius: 50%; cursor: pointer; font-size: 23px; }
.auth-reset-status { min-height: 20px; margin: 18px 0 0; color: #a31542 !important; font-weight: 700; }
.auth-reset-status.success { color: #23724b !important; }
.auth-reset-contact { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid #ddd9d3; font-size: 10px !important; }
.auth-reset-contact a { color: var(--ink); border-bottom: 1px solid; font-weight: 800; }

.dashboard-body { min-height: 100vh; color: var(--ink); background: #ebe8e2; }
.dashboard-sidebar { position: fixed; z-index: 100; inset: 0 auto 0 0; width: 268px; display: flex; flex-direction: column; padding: 32px 26px 25px; color: white; background: #09090b; }
.dashboard-brand { padding: 2px 6px 32px; font-size: 20px; }
.dashboard-sidebar nav { display: flex; flex-direction: column; margin-top: 42px; }
.dashboard-sidebar nav a { display: flex; align-items: center; gap: 16px; padding: 15px 7px; color: rgba(255,255,255,.42); border-bottom: 1px solid rgba(255,255,255,.09); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; transition: color .2s; }
.dashboard-sidebar nav a:hover, .dashboard-sidebar nav a.active { color: white; }
.dashboard-sidebar nav a span { color: var(--pink); font-family: var(--display); font-size: 13px; }
.admin-sidebar nav a span { color: var(--blue-electric); }
.sidebar-cause { position: relative; overflow: hidden; margin-top: auto; padding: 22px; background: linear-gradient(140deg,#211018,#0a1824); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; font-family: var(--display); font-size: 21px; line-height: 1; text-transform: uppercase; }
.sidebar-cause span, .sidebar-cause strong { position: relative; z-index: 2; display: block; }
.sidebar-cause strong { color: var(--pink-hot); }
.sidebar-cause i { position: absolute; right: -22px; top: -18px; width: 82px; height: 82px; border: 15px solid var(--blue); border-left-color: var(--pink); border-radius: 50%; opacity: .48; }
.logout-button { display: flex; justify-content: space-between; width: 100%; margin-top: 25px; padding: 13px 7px; color: rgba(255,255,255,.44); background: transparent; border: 0; cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.logout-button:hover { color: white; }
.admin-badge { margin: 3px 7px 0; padding: 8px 12px; color: #8ecfff; background: rgba(34,168,255,.1); border: 1px solid rgba(34,168,255,.2); border-radius: 99px; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.admin-sidebar nav { margin-top: 25px; }

.dashboard-main { min-height: 100vh; margin-left: 268px; }
.dashboard-topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(25px,4vw,62px); background: rgba(255,255,255,.72); border-bottom: 1px solid rgba(9,9,11,.09); backdrop-filter: blur(15px); }
.dashboard-topbar > div { display: flex; align-items: center; gap: 18px; }
.dashboard-topbar > div span { color: #929095; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-topbar > div strong { font-family: var(--display); font-size: 17px; text-transform: uppercase; }
.public-link { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.public-link span { color: var(--pink); }
.dashboard-menu { display: none; }
.dashboard-loading { min-height: calc(100vh - 78px); display: grid; place-content: center; justify-items: center; gap: 20px; }
.dashboard-loading span { width: 48px; height: 48px; border: 4px solid #d4d0ca; border-top-color: var(--pink); border-right-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
.dashboard-loading p { color: #767378; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-content { padding: clamp(35px,5vw,75px) clamp(25px,5vw,75px) 100px; }
.welcome-block, .admin-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.welcome-block .eyebrow span { color: var(--pink); }
.dashboard-main h1 { font-size: clamp(65px,7vw,105px); }
.dashboard-main h1 em { -webkit-text-stroke-color: var(--ink); }
.status-card { min-width: 210px; padding: 22px; color: white; background: linear-gradient(135deg,var(--pink),#a90941); border-radius: 15px; box-shadow: 0 20px 50px rgba(239,31,99,.2); }
.status-card span, .status-card small { display: block; color: rgba(255,255,255,.66); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-card strong { display: block; margin: 4px 0 8px; font-family: var(--display); font-size: 32px; line-height: 1; text-transform: uppercase; }
.participant-alert, .live-control { display: flex; align-items: center; gap: 18px; margin-top: 38px; padding: 17px 22px; color: white; background: var(--ink); border-radius: 12px; }
.participant-alert .live-dot, .live-control .live-dot { flex: 0 0 auto; background: var(--pink); }
.participant-alert strong, .live-control strong { display: block; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.participant-alert p { margin: 2px 0 0; color: rgba(255,255,255,.62); font-size: 11px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 22px; background: white; border-radius: 16px; box-shadow: 0 16px 50px rgba(9,9,11,.05); }
.dashboard-metrics article { min-height: 180px; padding: 28px; border-right: 1px solid #e5e1db; }
.dashboard-metrics article:last-child { border: 0; }
.dashboard-metrics article > span { display: block; color: #858287; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.dashboard-metrics article > strong { display: inline-block; margin-top: 24px; font-family: var(--display); font-size: 64px; line-height: .8; }
.dashboard-metrics article > small { margin-left: 7px; color: #858287; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.dashboard-metrics .word-metric { display: block; font-size: 34px; line-height: 1; }
.dashboard-metrics article button { display: block; margin-top: 18px; padding: 0 0 3px; color: var(--blue); background: transparent; border: 0; border-bottom: 1px solid; cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.dashboard-metrics article button:disabled { color: #aaa6aa; cursor: default; }
.dashboard-metrics .invoice-link { display: block; width: max-content; margin-top: 10px; color: var(--pink); border-bottom: 1px solid; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dashboard-metrics .payment-metric > small { display: block; margin: 7px 0 0; color: #77747a; font-size: 9px; letter-spacing: .02em; text-transform: none; }
.payment-legal-note { max-width: 280px; margin: 10px 0 0; color: #9b1e3f; font-size: 8px; font-weight: 700; line-height: 1.45; }
.payment-legal-note a { color: inherit; border-bottom: 1px solid; }
.payment-document-warning { max-width: 290px; margin: 10px 0; padding: 9px 10px; color: #8b1638; background: #fff0f4; border-radius: 7px; font-size: 8px; font-weight: 750; line-height: 1.5; }
.dashboard-section { margin-top: 70px; scroll-margin-top: 30px; }
.dashboard-section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 25px; }
.dashboard-section-head > div { display: flex; align-items: baseline; gap: 16px; }
.dashboard-section-head > div span { color: var(--pink); font-family: var(--display); font-size: 15px; font-weight: 800; }
.admin-body .dashboard-section-head > div span { color: var(--blue); }
.dashboard-main h2 { font-size: clamp(44px,5vw,68px); line-height: 1; }
.dashboard-section-head > p { max-width: 490px; margin: 0; color: #767378; font-size: 11px; }
.my-stage-list { display: grid; gap: 9px; }
.my-stage { display: grid; grid-template-columns: 65px 130px minmax(200px,1fr) 90px 1fr; align-items: center; gap: 20px; min-height: 90px; padding: 16px 22px; background: white; border-left: 4px solid var(--pink); border-radius: 9px; }
.my-stage.blue { border-color: var(--blue); }
.my-stage > span:first-child { width: 40px; height: 40px; display: grid; place-items: center; color: white; background: var(--pink); border-radius: 50%; font-family: var(--display); font-weight: 800; }
.my-stage.blue > span:first-child { background: var(--blue); }
.my-stage time, .my-stage .mode { color: #7f7c81; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.my-stage time { font-size: 12px; }
.my-stage .mode { font-size: 9px; }
.my-stage .route strong { display: block; font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase; }
.my-stage .route small { color: #8a878c; }
.my-stage .route { color: var(--ink); text-decoration: none; }
.my-stage .route b { display: block; margin-top: 7px; color: var(--pink); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.my-stage.blue .route b { color: var(--blue); }
.my-stage .route:hover b,.my-stage .route:focus-visible b { text-decoration: underline; }
.my-stage .distance { font-family: var(--display); font-size: 25px; font-weight: 800; text-align: right; }
.my-stage .meeting { padding-left: 18px; border-left: 1px solid #e3dfd9; font-size: 10px; }
.my-stage .meeting strong { display: block; }
.my-stage .meeting span { color: #89868b; }
.additional-stages-section { position: relative; }
.additional-stage-panel { overflow: hidden; background: #fff; border: 1px solid #e2ded8; border-radius: 18px; box-shadow: 0 18px 55px rgba(9,9,11,.055); }
.additional-stage-intro { padding: 30px 32px; color: white; background: linear-gradient(115deg,#201018 0%,#581832 45%,#234d7f 100%); }
.additional-stage-intro span { color: #f19ab8; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.additional-stage-intro h3 { margin: 5px 0 0; font-family: var(--display); font-size: 38px; line-height: 1; text-transform: uppercase; }
.additional-stage-intro p { margin: 0; color: rgba(255,255,255,.7); font-size: 10px; line-height: 1.65; }
.additional-stage-list { display: grid; max-height: 520px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cc3a6b #f0ece8; }
.additional-stage-row { display: grid; grid-template-columns: minmax(0,1fr) auto 150px; align-items: center; gap: 14px; min-height: 76px; padding: 11px 28px; border-bottom: 1px solid #ece8e2; }
.additional-stage-row:last-child { border-bottom: 0; }
.additional-stage-row > label { display: grid; grid-template-columns: 22px 36px 115px minmax(190px,1fr) 68px; align-items: center; gap: 15px; cursor: pointer; }
.additional-stage-row input { position: absolute; opacity: 0; pointer-events: none; }
.additional-check { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #c7c1bd; border-radius: 5px; transition: .2s; }
.additional-stage-row input:checked + .additional-check { background: var(--pink); border-color: var(--pink); box-shadow: 0 5px 14px rgba(239,31,99,.2); }
.additional-stage-row.blue input:checked + .additional-check { background: var(--blue); border-color: var(--blue); box-shadow: 0 5px 14px rgba(20,139,219,.2); }
.additional-stage-row input:checked + .additional-check::after { content: "✓"; color: white; font-size: 12px; font-weight: 900; }
.additional-stage-number { color: var(--pink); font-family: var(--display); font-size: 25px; font-weight: 900; text-align: center; }
.additional-stage-row.blue .additional-stage-number { color: var(--blue); }
.additional-stage-row time { color: #666369; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.additional-stage-row label strong { font-family: var(--display); font-size: 19px; line-height: 1.1; text-transform: uppercase; }
.additional-stage-row label strong i { color: var(--pink); font-style: normal; }
.additional-stage-row.blue label strong i { color: var(--blue); }
.additional-stage-row label b { font-family: var(--display); font-size: 19px; text-align: right; }
.additional-stage-row select { width: 100%; padding: 10px 12px; color: var(--ink); background: #f5f2ee; border: 1px solid #ddd8d2; border-radius: 8px; font-size: 9px; font-weight: 750; }
.additional-stage-row select:disabled { opacity: .45; }
.additional-stage-map { padding: 8px 10px; color: #315f9f; background: #edf5fc; border: 1px solid #d5e5f4; border-radius: 7px; font-size: 8px; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.additional-stage-map:hover,.additional-stage-map:focus-visible { background: #dfeefa; border-color: #a9cbe8; }
.additional-stage-checkout { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 18px 28px; background: #f4f1ed; border-top: 1px solid #ded9d3; }
.additional-stage-checkout span { display: block; color: #888489; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.additional-stage-checkout strong { display: block; margin-top: 3px; font-family: var(--display); font-size: 25px; text-transform: uppercase; }
.additional-stage-checkout button { min-width: 250px; justify-content: center; border: 0; }
.additional-stage-checkout button:disabled { opacity: .45; cursor: default; }
.additional-stage-feedback { min-height: 0; margin: 0; padding: 0 28px; color: #a11d42; font-size: 9px; font-weight: 700; }
.additional-stage-feedback:not(:empty) { min-height: 42px; padding-top: 13px; padding-bottom: 13px; }
.additional-stage-empty { padding: 45px 30px; text-align: center; }
.additional-stage-empty strong { font-family: var(--display); font-size: 28px; text-transform: uppercase; }
.additional-stage-empty p { max-width: 560px; margin: 8px auto 0; color: #77747a; font-size: 10px; line-height: 1.6; }
.additional-minor-panel { border-top: 1px solid #ded9d3; background: #fff; }
.additional-minor-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 25px 28px; }
.additional-minor-head > div > span { color: var(--pink); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.additional-minor-head h3 { margin: 5px 0 3px; font-family: var(--display); font-size: 26px; line-height: 1; text-transform: uppercase; }
.additional-minor-head p { margin: 0; color: #77747a; font-size: 9px; }
.additional-minor-head button { flex: 0 0 auto; }
.additional-minor-head button:disabled { opacity: .45; cursor: default; }
.additional-minor-form { padding: 28px; background: #f7f4f0; border-top: 1px solid #e2ddd7; }
.additional-minor-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.additional-minor-fields label,.additional-minor-document label { color: #5f5b61; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.additional-minor-fields input,.additional-minor-fields select { width: 100%; height: 45px; margin-top: 7px; padding: 0 12px; color: var(--ink); background: #fff; border: 1px solid #d9d4ce; border-radius: 8px; font: 600 11px var(--body); }
.additional-minor-stages { margin: 23px 0; padding: 0; border: 0; }
.additional-minor-stages legend { margin-bottom: 10px; color: #5f5b61; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#additional-minor-stage-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
#additional-minor-stage-list .additional-minor-stage-option { display: grid; grid-template-columns: minmax(0,1fr) auto; background: #fff; border: 1px solid #ddd8d1; border-radius: 8px; overflow: hidden; }
#additional-minor-stage-list label { display: grid; grid-template-columns: 18px 82px 1fr; align-items: center; gap: 8px; padding: 11px 12px; cursor: pointer; }
#additional-minor-stage-list label.disabled { opacity: .38; cursor: not-allowed; }
#additional-minor-stage-list span { font-size: 9px; font-weight: 800; text-transform: uppercase; }
#additional-minor-stage-list small { color: #817d82; font-size: 9px; }
#additional-minor-stage-list input { accent-color: var(--pink); }
#additional-minor-stage-list .additional-minor-stage-option > a { display: grid; place-items: center; padding: 0 10px; color: #315f9f; background: #edf5fc; border-left: 1px solid #d5e5f4; font-size: 8px; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
#additional-minor-stage-list .additional-minor-stage-option > a:hover,#additional-minor-stage-list .additional-minor-stage-option > a:focus-visible { background: #dfeefa; }
.additional-minor-document { display: grid; grid-template-columns: minmax(220px,1fr) auto minmax(280px,1fr); align-items: end; gap: 20px; padding: 20px; background: #fff0f3; border: 1px solid #f1c5d2; border-radius: 11px; }
.additional-minor-document p { margin: 0; color: #9b1e3f; font-size: 10px; line-height: 1.55; }
.additional-minor-document p strong { display: block; }
.additional-minor-document input[type="file"] { display: block; width: 100%; margin-top: 7px; padding: 10px; color: #6f6c71; background: #fff; border: 1px dashed #c4a9b2; border-radius: 8px; font-size: 9px; letter-spacing: 0; text-transform: none; }
.additional-minor-document small { display: block; margin-top: 5px; color: #8d7e83; font-size: 8px; letter-spacing: 0; text-transform: none; }
.additional-minor-form .form-error { min-height: 18px; margin: 13px 0 4px; color: #9b1e3f; font-size: 9px; font-weight: 700; }
.additional-minor-actions { display: flex; align-items: center; gap: 18px; }
.additional-minor-actions .text-button { padding: 9px 0; color: #666269; background: transparent; border: 0; border-bottom: 1px solid #999399; cursor: pointer; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.purchase-history { margin-top: 22px; }
.purchase-history > h3 { margin: 0 0 12px; font-family: var(--display); font-size: 26px; text-transform: uppercase; }
#purchase-history-list { display: grid; gap: 7px; }
.purchase-history-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; background: rgba(255,255,255,.75); border: 1px solid #e4dfd9; border-left: 3px solid #aaa; border-radius: 10px; }
.purchase-history-row[data-status="paid"] { border-left-color: #20845d; }
.purchase-history-row[data-status="pending"] { border-left-color: var(--blue); }
.purchase-history-row span,.purchase-history-row small { display: block; color: #858186; font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.purchase-history-row strong { display: block; margin: 3px 0; font-size: 11px; }
.purchase-history-row a,.purchase-history-row button { flex: 0 0 auto; padding: 0 0 3px; color: var(--pink); background: transparent; border: 0; border-bottom: 1px solid; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.purchase-history-row strong .purchase-stage-map { display: inline; padding: 0; color: #315f9f; border: 0; font-size: inherit; letter-spacing: 0; text-transform: none; }
.purchase-history-row button:disabled { opacity: .55; cursor: wait; }
.participant-news { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.participant-news article { padding: 25px; background: white; border-radius: 12px; }
.participant-news article:first-child { color: white; background: linear-gradient(145deg,#1c0b12,#0a1824); }
.participant-news .news-label { color: var(--pink); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.participant-news time { float: right; color: #9a979b; font-size: 9px; }
.participant-news h3 { margin: 25px 0 8px; font-family: var(--display); font-size: 27px; line-height: 1; text-transform: uppercase; }
.participant-news p { margin: 0; color: #777479; font-size: 11px; }
.participant-news article:first-child p { color: rgba(255,255,255,.58); }
.profile-grid, .admin-two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-details, .password-form, .admin-form, .admin-feed, .sponsor-admin-list { padding: 30px; background: white; border-radius: 14px; }
.profile-detail { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid #ece8e2; font-size: 12px; }
.profile-detail span { color: #8d898e; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.profile-documents { margin-top: 24px; padding-top: 20px; border-top: 2px solid #ebe6e0; }
.profile-documents h3 { margin: 0 0 7px; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.profile-document-row { display: grid; grid-template-columns: 145px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ece8e2; }
.profile-document-row > span { color: #767278; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.profile-document-row strong { display: block; color: #875b17; font-size: 9px; line-height: 1.45; }
.profile-document-row[data-status="submitted"] strong,.profile-document-row[data-status="approved"] strong { color: #237451; }
.profile-document-row[data-status="rejected"] strong { color: #9b1e3f; }
.profile-document-row small { display: block; margin-top: 3px; color: #8d898e; font-size: 8px; line-height: 1.4; }
.password-form h3, .admin-form h3 { margin: 0 0 25px; font-family: var(--display); font-size: 28px; text-transform: uppercase; }
.password-form { max-width: 640px; }
.parental-document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.participant-documents-grid { display: grid; gap: 22px; }
.document-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.health-document-card { max-width: calc(50% - 10px); }
.parental-document-card,.parental-upload-form { padding: 30px; background: white; border: 1px solid #e3ded8; border-radius: 15px; box-shadow: 0 15px 45px rgba(9,9,11,.04); }
.parental-document-card > span,.parental-upload-form > span { color: var(--pink); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.parental-document-card h3,.parental-upload-form h3 { margin: 8px 0 12px; font-family: var(--display); font-size: 28px; line-height: 1; text-transform: uppercase; }
.parental-document-card p { margin: 0 0 23px; color: #77747a; font-size: 10px; line-height: 1.6; }
.parental-document-card .button { width: max-content; }
.parental-upload-form label { display: block; margin: 22px 0 15px; color: #5e5b61; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.parental-upload-form input[type="file"] { display: block; width: 100%; margin-top: 8px; padding: 17px; color: #6f6c71; background: #f5f2ef; border: 1px dashed #bdb8bd; border-radius: 10px; font-size: 9px; letter-spacing: 0; text-transform: none; }
.parental-upload-form small { display: block; margin-top: 7px; color: #969298; font-size: 8px; letter-spacing: 0; text-transform: none; }
.parental-status { margin: 15px 0 5px; padding: 11px 13px; color: #875b17; background: #fff7e5; border-radius: 8px; font-size: 9px; font-weight: 700; }
.parental-status[data-status="submitted"],.parental-status[data-status="approved"] { color: #237451; background: #eaf7f0; }
.parental-status[data-status="rejected"] { color: #9b1e3f; background: #fff0f3; }
.parental-upload-form .form-error { min-height: 18px; margin: 9px 0; color: #a91d42; font-size: 9px; }
.parental-upload-form button:disabled { opacity: .6; cursor: wait; }

.admin-welcome .live-control { max-width: 360px; margin: 0; }
.live-control small { display: block; margin-top: 3px; color: rgba(255,255,255,.5); }
.admin-metrics { grid-template-columns: repeat(4,1fr); }
.admin-metrics article { min-height: 160px; }
.admin-metrics article > strong { font-size: 54px; }
.table-wrap { overflow: auto; background: white; border-radius: 14px; box-shadow: 0 12px 45px rgba(9,9,11,.04); }
.participants-table-wrap { max-height: min(78vh,900px); overscroll-behavior: auto; scrollbar-gutter: stable; }
.participants-table-wrap thead { position: sticky; z-index: 4; top: 0; }
.participants-table-wrap tbody tr { height: 78px; }
.participants-table-wrap th { position: sticky; top: 0; z-index: 4; }
table { width: 100%; min-width: 800px; border-collapse: collapse; }
th { padding: 15px 18px; color: #8d8a8f; background: #f8f6f2; font-size: 8px; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
td { padding: 17px 18px; border-top: 1px solid #ede9e3; font-size: 11px; }
td strong { display: block; }
td small { color: #8a878c; }
.payment-select { padding: 7px 10px; color: var(--ink); background: white; border: 1px solid #d9d5cf; border-radius: 7px; font-size: 10px; }
.participant-payment-cell { min-width: 210px; }
.participant-stages-cell { min-width: 190px; max-width: 260px; }
.participant-stages-cell > strong { margin-bottom: 7px; font-size: 9px; text-transform: uppercase; }
.participant-stage-list { display: flex; flex-wrap: wrap; gap: 4px; }
.participant-stage-pill { padding: 4px 7px; color: #315f9f; background: #edf5fc; border: 1px solid #d5e5f4; border-radius: 99px; font-size: 7px; font-weight: 800; white-space: nowrap; }
.participant-stage-empty { color: #8a878c; font-size: 8px; }
.participant-documents-cell { min-width: 340px; max-width: 410px; }
.participant-documents { max-height: none; display: grid; gap: 5px; overflow: visible; padding-right: 0; overscroll-behavior: auto; }
.participant-document-link { min-width: 0; display: grid; grid-template-columns: minmax(95px,.6fr) minmax(105px,1fr) auto; align-items: center; gap: 7px; padding: 5px 7px; color: #315f9f; background: #edf5fc; border-radius: 6px; font-size: 7px; }
.participant-document-link strong,.participant-document-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.participant-document-link em { padding: 3px 5px; color: #267351; background: #e4f5ec; border-radius: 99px; font-size: 6px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.participant-document-link.rejected em,.participant-document-link.missing em { color: #9b1e3f; background: #fff0f4; }
.participant-document-link.missing { color: #87848a; background: #f3f1ee; }
.participant-minor { display: grid; grid-template-columns: minmax(100px,.7fr) minmax(0,1fr); align-items: center; gap: 6px; padding-left: 6px; border-left: 2px solid var(--pink); }
.participant-minor > span strong,.participant-minor > span small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.participant-minor > span small { margin-top: 2px; color: #8a878c; font-size: 6px; }
.participant-action-heading,.participant-action-cell { width: 46px; padding-right: 12px; padding-left: 8px; text-align: center; }
.participant-delete-button { width: 25px; height: 25px; display: grid; place-items: center; padding: 0; color: #918d92; background: transparent; border: 1px solid #ddd8d3; border-radius: 50%; cursor: pointer; font: inherit; font-size: 15px; line-height: 1; transition: color .2s,background .2s,border-color .2s,transform .2s; }
.participant-delete-button:hover,.participant-delete-button:focus-visible { color: white; background: #a51c47; border-color: #a51c47; outline: none; transform: scale(1.08); }
.participant-delete-button:disabled { opacity: .4; cursor: wait; transform: none; }
.participant-payment-cell > small { display: block; margin-top: 6px; }
.participant-invoice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin-top: 9px; }
.participant-invoice-actions a,.participant-invoice-actions button { padding: 5px 8px; color: #1468b8; background: #edf6ff; border: 0; border-radius: 5px; cursor: pointer; font: inherit; font-size: 7px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.participant-invoice-actions button { color: #9b1e3f; background: #fff0f4; }
.participant-invoice-actions button:disabled { opacity: .55; cursor: wait; }
.participant-invoice-actions small { flex-basis: 100%; color: #8a878c; font-size: 7px; }
.search-field { min-width: 280px; margin: 0; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.search-field input { padding: 8px 2px; }
.admin-form textarea { resize: vertical; line-height: 1.5; }
.admin-form select { padding-right: 28px; }
.admin-feed { max-height: 525px; overflow: auto; }
.admin-feed article { padding: 18px 0; border-bottom: 1px solid #e6e2dc; }
.admin-feed article:first-child { padding-top: 0; }
.admin-feed article span { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-feed article h4 { margin: 7px 0 4px; font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase; }
.admin-feed article p { margin: 0; color: #77747a; font-size: 10px; }
.admin-feed article time { display: block; margin-top: 8px; color: #9d999e; font-size: 8px; }
.admin-media-input { height: auto !important; padding: 12px 0 !important; cursor: pointer; font-size: 10px !important; }
.admin-live-upload-preview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: -8px 0 15px; }
.admin-live-upload-preview > div { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 7px; background: #f2efeb; border-radius: 8px; }
.admin-live-upload-preview img, .admin-live-upload-preview > div > span { flex: 0 0 48px; width: 48px; height: 42px; display: grid; place-items: center; object-fit: cover; color: white; background: linear-gradient(135deg,var(--pink),var(--blue)); border-radius: 6px; font-size: 16px; }
.admin-live-upload-preview p { min-width: 0; margin: 0 !important; }
.admin-live-upload-preview strong, .admin-live-upload-preview small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-live-upload-preview strong { color: var(--ink); font-size: 8px; }
.admin-live-upload-preview small { margin-top: 2px; color: #8b888d; font-size: 7px; }
.admin-live-help { margin: 4px 0 16px; padding: 12px 14px; color: #6f6c72; background: #f3f0eb; border-radius: 8px; font-size: 9px; line-height: 1.55; }
.admin-live-entry.unpublished { opacity: .5; }
.admin-live-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 13px; }
.admin-live-gallery.single { grid-template-columns: 1fr; }
.admin-live-media { display: block; width: 100%; height: 142px; object-fit: cover; background: #08080a; border-radius: 8px; }
.admin-live-gallery.single .admin-live-media { height: auto; max-height: 280px; }
.admin-live-figure { position: relative; margin: 0; }
.admin-live-figure figcaption { position: absolute; right: 5px; bottom: 5px; padding: 3px 5px; color: rgba(255,255,255,.78); background: rgba(0,0,0,.55); border-radius: 3px; font-size: 7px; font-weight: 800; }
.admin-live-entry-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.admin-live-entry-actions time { margin: 0 !important; }
.admin-live-entry-actions button { padding: 5px 8px; color: #a20b3b; background: #fff0f4; border: 0; border-radius: 5px; cursor: pointer; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.admin-live-entry-actions button.delete-permanently { color: white; background: #991b35; }
.admin-live-entry-actions button:disabled { opacity: .5; cursor: wait; }
.admin-stage-list { display: grid; gap: 10px; }
.admin-stage { display: grid; grid-template-columns: 53px 1fr 1.45fr; gap: 20px; align-items: center; padding: 17px 20px; background: white; border-radius: 10px; }
.admin-stage > span { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--pink); border-radius: 50%; font-family: var(--display); font-weight: 800; }
.admin-stage.blue > span { background: var(--blue); }
.admin-stage-route strong { display: block; font-family: var(--display); font-size: 20px; line-height: 1; text-transform: uppercase; }
.admin-stage-route small { color: #89868b; font-size: 9px; }
.stage-edit-form { display: grid; grid-template-columns: .75fr 1.2fr 1.5fr auto; gap: 8px; align-items: end; }
.stage-edit-form label { margin: 0; color: #8b888d; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stage-edit-form input { width: 100%; margin-top: 3px; padding: 8px; border: 1px solid #dedad4; border-radius: 6px; font-size: 9px; }
.stage-edit-form button { height: 34px; padding: 0 13px; color: white; background: var(--ink); border: 0; border-radius: 6px; cursor: pointer; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.sponsor-admin-list { display: flex; flex-direction: column; gap: 8px; }
.sponsor-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #e5e1db; }
.sponsor-admin-row strong { font-family: var(--display); font-size: 19px; text-transform: uppercase; }
.sponsor-admin-row a { color: #77747a; font-size: 9px; }
.sponsor-admin-row button { padding: 5px 8px; color: #a20b3b; background: #fff0f4; border: 0; border-radius: 5px; cursor: pointer; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.sponsor-leads-head { margin: 50px 0 18px; }
.sponsor-leads-head span { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sponsor-leads-head h3 { margin: 6px 0 0; font-family: var(--display); font-size: 31px; text-transform: uppercase; }
.sponsor-request-admin-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.sponsor-request-admin { position: relative; padding: 20px; background: white; border-left: 3px solid var(--pink); border-radius: 10px; box-shadow: 0 12px 38px rgba(9,9,11,.04); }
.sponsor-request-admin.contacted { border-left-color: var(--blue); }
.sponsor-request-admin.archived { border-left-color: #aaa6ac; opacity: .72; }
.sponsor-request-meta { display: flex; justify-content: space-between; color: #98949a; font-size: 7px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sponsor-request-admin h4 { margin: 14px 0 6px; font-family: var(--display); font-size: 25px; text-transform: uppercase; }
.sponsor-request-admin p { margin: 0; color: #77737a; font-size: 9px; }
.sponsor-request-admin a { color: var(--blue); }
.sponsor-request-admin blockquote { margin: 15px 0; padding: 11px 13px; color: #666269; background: #f6f3ef; border-radius: 7px; font-size: 9px; font-style: normal; }
.sponsor-request-status { padding: 7px 10px; background: white; border: 1px solid #d9d5cf; border-radius: 7px; font-size: 9px; }
.empty-admin-state { color: #8b878d; font-size: 10px; }
.security-section { padding: 30px; color: white; background: #1a1014; border: 1px solid rgba(239,31,99,.25); border-radius: 14px; }
.security-section .dashboard-section-head p { color: rgba(255,255,255,.6); }
.security-section .password-form { color: var(--ink); }
.toast { position: fixed; z-index: 1000; right: 25px; bottom: 25px; max-width: 360px; padding: 15px 20px; color: white; background: var(--ink); border-left: 4px solid var(--blue); border-radius: 8px; box-shadow: 0 18px 50px rgba(9,9,11,.25); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(15px); transition: .25s; }
.toast.visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .dashboard-sidebar { width: 230px; }
  .dashboard-main { margin-left: 230px; }
  .my-stage { grid-template-columns: 50px 100px 1fr 70px; }
  .my-stage .meeting { grid-column: 3 / -1; padding: 8px 0 0; border: 0; }
  .additional-stage-row { grid-template-columns: minmax(0,1fr) auto 130px; }
  .additional-stage-row > label { grid-template-columns: 22px 32px 90px minmax(170px,1fr) 58px; gap: 10px; }
  .admin-stage { grid-template-columns: 45px 1fr; }
  .stage-edit-form { grid-column: 1 / -1; }
  .admin-metrics { grid-template-columns: repeat(2,1fr); }
  .admin-metrics article:nth-child(2) { border-right: 0; }
}

@media (max-width: 820px) {
  .auth-body { overflow: hidden; }
  .auth-layout { position: relative; min-height: 100svh; display: block; overflow: hidden; }
  .auth-visual { position: absolute; inset: 0; min-height: 100%; padding: 0; }
  .auth-visual-overlay { background: linear-gradient(180deg,rgba(9,9,11,.7),rgba(9,9,11,.91) 58%,rgba(14,28,48,.96)),linear-gradient(135deg,rgba(239,31,99,.32),transparent 48%,rgba(22,116,209,.3)); }
  .auth-brand,.auth-promise,.auth-date { display: none; }
  .auth-panel { position: relative; z-index: 2; min-height: 100svh; display: flex; align-items: center; padding: 70px 20px 16px; color: white; background: transparent; }
  .auth-mobile-brand { position: absolute; top: 17px; left: 19px; display: flex; color: white; font-size: 19px; }
  .auth-mobile-brand .brand-ribbon { width: 27px; height: 36px; }
  .auth-back { top: 23px; right: 18px; left: auto; color: rgba(255,255,255,.68); font-size: 8px; }
  .auth-form-wrap { width: min(100%,420px); margin: auto; }
  .auth-form-wrap .eyebrow { color: rgba(255,255,255,.55); }
  .auth-form-wrap h2 { margin-top: 8px; font-size: clamp(43px,13vw,58px); line-height: .88; }
  .auth-form-wrap > p:not(.eyebrow):not(.auth-help) { margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.45; }
  .auth-form-wrap form { margin-top: 18px; }
  .auth-form-wrap label { margin-bottom: 12px; color: rgba(255,255,255,.75); font-size: 8px; }
  .auth-form-wrap input { margin-top: 5px; padding: 10px 12px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 9px; }
  .auth-form-wrap input:focus { border-color: #68b9ff; }
  .auth-forgot-trigger { margin-top: -5px; color: #9ed4ff; border-color: rgba(158,212,255,.4); font-size: 9px; }
  .auth-form-wrap .button { min-height: 44px; margin-top: 7px; }
  .auth-divider { margin: 16px 0 11px; }
  .auth-divider::before { background: rgba(255,255,255,.18); }
  .auth-divider span { color: rgba(255,255,255,.55); background: #111722; }
  .auth-outline { color: white; border-color: rgba(255,255,255,.36); }
  .auth-help { margin-top: 12px; color: rgba(255,255,255,.55); }
  .auth-help a { color: white; }
  .auth-reset-dialog { width: calc(100% - 14px); max-height: calc(100svh - 14px); border-radius: 18px; overflow-y: auto; }
  .auth-reset-dialog[open] { display: block; }
  .auth-reset-mark { min-height: 118px; }
  .auth-reset-mark img { width: 68px; }
  .auth-reset-content { padding: 25px 20px 24px; }
  .auth-reset-content h2 { font-size: 43px; }
  .auth-reset-content form { margin-top: 20px; }
  .auth-reset-close { position: fixed; top: 14px; right: 14px; }
  .dashboard-sidebar { width: 275px; transform: translateX(-100%); transition: transform .25s; box-shadow: 20px 0 60px rgba(9,9,11,.2); }
  .dashboard-body.sidebar-open .dashboard-sidebar { transform: none; }
  .dashboard-main { margin-left: 0; }
  .dashboard-menu { display: block; padding: 8px 11px; color: white; background: var(--ink); border: 0; border-radius: 6px; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .dashboard-topbar { height: 64px; padding: 0 18px; }
  .dashboard-topbar > div span { display: none; }
  .public-link { font-size: 0; }
  .public-link span { font-size: 14px; }
  .dashboard-content { padding: 35px 18px 80px; }
  .welcome-block, .admin-welcome { align-items: stretch; flex-direction: column; }
  .dashboard-main h1 { font-size: clamp(62px,18vw,90px); }
  .status-card { min-width: 0; }
  .dashboard-metrics { grid-template-columns: 1fr; }
  .dashboard-metrics article, .admin-metrics article { min-height: 145px; border-right: 0; border-bottom: 1px solid #e5e1db; }
  .dashboard-section { margin-top: 55px; }
  .dashboard-section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .my-stage { grid-template-columns: 42px 1fr 60px; gap: 12px; }
  .my-stage time { grid-column: 2; }
  .my-stage .route { grid-column: 2 / -1; }
  .my-stage .distance { grid-column: 3; grid-row: 1; }
  .my-stage .mode { grid-column: 2; }
  .my-stage .meeting { grid-column: 2 / -1; }
  .additional-stage-intro { grid-template-columns: 1fr; gap: 13px; padding: 25px 22px; }
  .additional-stage-list { max-height: none; }
  .additional-stage-row { grid-template-columns: 1fr 1fr; gap: 9px 12px; padding: 16px 18px; }
  .additional-stage-row > label { grid-column: 1 / -1; grid-template-columns: 22px 30px minmax(0,1fr) 54px; gap: 10px; }
  .additional-stage-row time { grid-column: 3; }
  .additional-stage-row label strong { grid-column: 3 / -1; font-size: 18px; }
  .additional-stage-row label b { grid-column: 4; grid-row: 1; }
  .additional-stage-map { grid-column: 1; justify-self: stretch; text-align: center; }
  .additional-stage-row select { grid-column: 2; }
  .additional-stage-checkout { align-items: stretch; flex-direction: column; padding: 20px 18px; }
  .additional-stage-checkout button { width: 100%; min-width: 0; }
  .additional-minor-head { align-items: stretch; flex-direction: column; padding: 22px 18px; }
  .additional-minor-head button { width: 100%; }
  .additional-minor-form { padding: 22px 18px; }
  .additional-minor-fields,#additional-minor-stage-list,.additional-minor-document { grid-template-columns: 1fr; }
  .additional-minor-actions { align-items: stretch; flex-direction: column; }
  .additional-minor-actions .button { width: 100%; justify-content: center; }
  .purchase-history-row { align-items: flex-start; flex-direction: column; }
  .participant-news, .profile-grid, .admin-two-cols, .parental-document-grid, .document-pair { grid-template-columns: 1fr; }
  .health-document-card { max-width: none; }
  .sponsor-request-admin-list { grid-template-columns: 1fr; }
  .search-field { min-width: 100%; }
  .admin-stage { grid-template-columns: 40px 1fr; padding: 15px; }
  .stage-edit-form { grid-template-columns: 1fr 1fr; }
  .stage-edit-form label:nth-child(3) { grid-column: 1 / -1; }
  .stage-edit-form button { grid-column: 1 / -1; }
}
/* Pilotage 2026 : vidéo latérale, droits fins et outils éditoriaux */
.admin-sidebar { overflow: hidden; isolation: isolate; }
.admin-sidebar > *:not(.admin-sidebar-video):not(.admin-sidebar-shade) { position: relative; z-index: 2; }
.admin-sidebar-video,.admin-sidebar-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.admin-sidebar-video { z-index: 0; object-fit: cover; opacity: .22; filter: grayscale(.25) contrast(1.15); }
.admin-sidebar-shade { z-index: 1; background: linear-gradient(180deg,rgba(9,9,11,.78),rgba(9,9,11,.97)); }
.workspace-ticker { position: sticky; z-index: 20; top: 0; height: 34px; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; color: white; background: linear-gradient(90deg,var(--pink),var(--blue)); font-size: 10px; }
.workspace-ticker > strong { position: relative; z-index: 2; height: 100%; display: grid; place-items: center; padding: 0 22px; background: rgba(9,9,11,.88); text-transform: uppercase; }
#workspace-ticker-track,#participant-ticker-track { overflow: hidden; display: flex; width: max-content; animation: accountTicker 34s linear infinite; }
#workspace-ticker-track span,#participant-ticker-track span { padding-right: 80px; white-space: nowrap; }
.admin-stage { display: block; padding: 22px; }
.admin-stage-heading { width: 100%; display: grid; grid-template-columns: 46px minmax(0,1fr) auto 88px; align-items: center; gap: 14px; margin: 0; padding: 0; color: var(--ink); background: transparent; border: 0; cursor: pointer; text-align: left; }
.admin-stage-heading > span { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--pink); border-radius: 50%; font-family: var(--display); font-weight: 800; }
.admin-stage.blue .admin-stage-heading > span { background: var(--blue); }
.admin-stage-heading > strong { min-width: 0; font-family: var(--display); font-size: 21px; line-height: 1.05; text-transform: uppercase; }
.admin-stage-heading > small { color: #77747a; font-weight: 800; white-space: nowrap; }
.admin-stage-heading > em { color: var(--blue); font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .09em; text-align: right; text-transform: uppercase; }
.admin-stage-fields { margin-top: 18px; }
.admin-stage.collapsed .admin-stage-fields { display: none; }
.admin-stage-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.admin-stage-fields .wide { grid-column: span 2; }
.admin-stage-fields button { grid-column: 1 / -1; }
.check-admin { display: flex !important; align-items: center; gap: 8px; padding-top: 25px; }
.check-admin input { width: auto !important; }
.sponsor-admin-row { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 14px; }
.sponsor-admin-row > img { width: 54px; height: 54px; object-fit: contain; }
.sponsor-admin-row small,.sponsor-admin-row a { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.sponsor-admin-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.sponsor-admin-actions .delete-sponsor { color: white; background: #a31637; }
.sponsor-admin-row.inactive,.access-user.inactive,.notice-row.inactive { opacity: .48; }
.doctor-admin-feed,.broadcast-list,.access-user-list,.notice-list { display: grid; gap: 12px; }
.admin-feed,.admin-stage-list,.sponsor-admin-list,.sponsor-request-admin-list,.doctor-question-list,.doctor-post-list,.broadcast-list,.access-user-list,.notice-list { max-height: none; overflow: visible; overscroll-behavior: auto; scrollbar-gutter: auto; padding-right: 0; }
.participants-table-wrap,.admin-feed,.admin-stage-list,.sponsor-admin-list,.sponsor-request-admin-list,.doctor-question-list,.doctor-post-list,.broadcast-list,.access-user-list,.notice-list { scrollbar-color: #5176bd #ece8e2; scrollbar-width: thin; }
.participants-table-wrap::-webkit-scrollbar,.admin-feed::-webkit-scrollbar,.admin-stage-list::-webkit-scrollbar,.sponsor-admin-list::-webkit-scrollbar,.sponsor-request-admin-list::-webkit-scrollbar,.doctor-question-list::-webkit-scrollbar,.doctor-post-list::-webkit-scrollbar,.broadcast-list::-webkit-scrollbar,.access-user-list::-webkit-scrollbar,.notice-list::-webkit-scrollbar { width: 8px; height: 8px; }
.participants-table-wrap::-webkit-scrollbar-thumb,.admin-feed::-webkit-scrollbar-thumb,.admin-stage-list::-webkit-scrollbar-thumb,.sponsor-admin-list::-webkit-scrollbar-thumb,.sponsor-request-admin-list::-webkit-scrollbar-thumb,.doctor-question-list::-webkit-scrollbar-thumb,.doctor-post-list::-webkit-scrollbar-thumb,.broadcast-list::-webkit-scrollbar-thumb,.access-user-list::-webkit-scrollbar-thumb,.notice-list::-webkit-scrollbar-thumb { background: linear-gradient(var(--pink),var(--blue)); border-radius: 99px; }
.participants-table-wrap::-webkit-scrollbar-track,.admin-feed::-webkit-scrollbar-track,.admin-stage-list::-webkit-scrollbar-track,.sponsor-admin-list::-webkit-scrollbar-track,.sponsor-request-admin-list::-webkit-scrollbar-track,.doctor-question-list::-webkit-scrollbar-track,.doctor-post-list::-webkit-scrollbar-track,.broadcast-list::-webkit-scrollbar-track,.access-user-list::-webkit-scrollbar-track,.notice-list::-webkit-scrollbar-track { background: #ece8e2; border-radius: 99px; }
.doctor-admin-item,.broadcast-row,.access-user,.notice-row { padding: 18px; background: white; border: 1px solid #dedad4; border-radius: 14px; }
.doctor-admin-item > span,.broadcast-row > span,.notice-row > span { color: var(--pink); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.doctor-admin-item h4,.broadcast-row h4 { margin: 6px 0; font-family: var(--display); font-size: 25px; text-transform: uppercase; }
.doctor-admin-item p,.broadcast-row p,.notice-row p { color: #67646a; white-space: pre-wrap; }
.broadcast-row.sending,.broadcast-row.queued { border-left: 4px solid var(--blue); }
.broadcast-row.sent { border-left: 4px solid #2c8a61; }
.broadcast-row.partial,.broadcast-row.failed { border-left: 4px solid #ad2747; }
.broadcast-row > small { display: block; margin-top: 10px; color: #88858a; font-size: 8px; }
#smtp-status.smtp-ready { color: #237451; font-weight: 800; }
.participant-youth-label { color: #a51c47 !important; font-weight: 800; }
.doctor-admin-item blockquote { margin: 12px 0; padding: 12px; color: white; background: linear-gradient(120deg,var(--pink),var(--blue)); border-radius: 9px; }
.doctor-admin-item button,.broadcast-row button,.access-user button,.notice-row button { margin: 5px 5px 0 0; padding: 8px 12px; color: white; background: var(--ink); border: 0; border-radius: 99px; cursor: pointer; }
.broadcast-row { position: relative; padding-right: 50px; }
.broadcast-row .broadcast-delete-button { position: absolute; top: 12px; right: 10px; width: 27px; height: 27px; display: grid; place-items: center; margin: 0; padding: 0; color: #918d92; background: transparent; border: 1px solid #ddd8d3; border-radius: 50%; font-size: 16px; line-height: 1; transition: color .2s,background .2s,border-color .2s,transform .2s; }
.broadcast-row .broadcast-delete-button:hover,.broadcast-row .broadcast-delete-button:focus-visible { color: white; background: #a51c47; border-color: #a51c47; outline: none; transform: scale(1.08); }
.broadcast-row .broadcast-delete-button:disabled { opacity: .4; cursor: wait; transform: none; }
.doctor-admin-item .danger-action { background: #a21e39; }
.doctor-admin-item .visitor-action { background: #315f9f; }
.doctor-chat-settings { margin-bottom: 20px; }
.doctor-chat-settings-grid { display: grid; grid-template-columns: minmax(180px,.45fr) minmax(280px,1fr); gap: 16px; align-items: end; }
.doctor-chat-settings .chat-open-toggle { min-height: 47px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #d8d4ce; border-radius: 8px; background: #f8f6f2; }
.doctor-chat-settings .chat-open-toggle input { width: auto; }
.doctor-chat-settings button { margin-top: 14px; }
.permission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; padding: 14px; border: 1px solid #dcd8d2; border-radius: 12px; }
.permission-grid label { display: flex !important; align-items: center; gap: 7px; margin: 0 !important; font-size: 9px !important; }
.permission-grid input { width: auto !important; }
.permission-grid.inline { grid-template-columns: repeat(4,minmax(0,1fr)); }
.access-user > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.access-user > div:first-child span { color: #77747a; font-size: 10px; }
.access-email { display: block; margin: 15px 0 8px !important; color: #77747a; font-size: 8px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.access-email input { width: 100%; margin-top: 5px; padding: 10px 12px; color: var(--ink); background: #f7f5f1; border: 1px solid #ddd8d1; border-radius: 9px; font: inherit; font-size: 11px; text-transform: none; }
.access-toggle { display: flex !important; align-items: center; gap: 7px; }
.access-toggle input { width: auto !important; }
.notice-admin { margin-top: 30px; }
.participant-stage-status { grid-column: 2 / -1; margin: 8px 0 0; padding: 10px 13px; color: white; background: #b61f3a; border-radius: 8px; font-size: 10px; }
.participant-stage-status.postponed { background: #a46a16; }
@keyframes accountTicker { to { transform: translateX(-50%); } }
@media (max-width:900px) {
  .admin-stage-fields { grid-template-columns: 1fr 1fr; }
  .doctor-chat-settings-grid { grid-template-columns: 1fr; }
  .permission-grid.inline { grid-template-columns: 1fr 1fr; }
}
@media (max-width:600px) {
  .admin-stage { padding: 15px; }
  .admin-stage-heading { grid-template-columns: 40px minmax(0,1fr) 78px; gap: 9px; }
  .admin-stage-heading > small { display: none; }
  .admin-stage-heading > strong { font-size: 17px; }
  .admin-stage-fields { grid-template-columns: 1fr; }
  .admin-stage-fields .wide { grid-column: auto; }
  .workspace-ticker { grid-template-columns: 100px 1fr; }
}

/* Studio santé : interface éditoriale dédiée au médecin */
.doctor-studio { max-width: 1420px; margin-top: 0; }
.doctor-studio-cover { position: relative; isolation: isolate; overflow: hidden; min-height: 220px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 26px; padding: clamp(28px,4vw,54px); color: white; background: radial-gradient(circle at 82% 18%,rgba(92,151,225,.38),transparent 28%),linear-gradient(120deg,#170c12,#611934 54%,#173f71); border-radius: 24px 24px 0 0; }
.doctor-studio-cover::before { content: ""; position: absolute; z-index: -1; right: 8%; top: -90%; width: 300px; height: 420px; border: 52px solid rgba(255,255,255,.055); border-radius: 48%; transform: rotate(32deg); }
.doctor-studio-avatar,.doctor-composer-author > span { flex: 0 0 auto; display: grid; place-items: center; color: white; background: linear-gradient(135deg,var(--pink),var(--blue)); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-family: var(--display); font-weight: 800; box-shadow: 0 14px 35px rgba(0,0,0,.2); }
.doctor-studio-avatar { width: 76px; height: 76px; font-size: 27px; }
.doctor-studio-welcome > span,.doctor-panel-heading span { font-size: 8px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.doctor-studio-welcome > span { color: rgba(255,255,255,.55); }
.doctor-studio-welcome h2 { margin: 7px 0 8px; font-size: clamp(43px,5vw,72px); text-transform: none; }
.doctor-studio-welcome h2 em { color: #71baff; font-style: normal; }
.doctor-studio-welcome p { max-width: 610px; margin: 0; color: rgba(255,255,255,.65); font-size: 12px; }
.doctor-studio-cover > a { align-self: end; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.38); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.doctor-studio-cover > a span { color: #7fc2ff; }
.doctor-studio-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #121216; border-radius: 0 0 20px 20px; }
.doctor-studio-tabs button { position: relative; min-height: 88px; display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto; align-content: center; column-gap: 14px; padding: 18px 28px; color: rgba(255,255,255,.48); background: transparent; border: 0; cursor: pointer; text-align: left; transition: .25s; }
.doctor-studio-tabs button:first-child { border-right: 1px solid rgba(255,255,255,.09); }
.doctor-studio-tabs button::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; background: linear-gradient(90deg,var(--pink),var(--blue)); opacity: 0; transform: scaleX(.3); transition: .25s; }
.doctor-studio-tabs button.active { color: white; background: rgba(255,255,255,.035); }
.doctor-studio-tabs button.active::after { opacity: 1; transform: none; }
.doctor-studio-tabs button > span { grid-row: 1 / 3; align-self: center; color: #67b7ff; font-family: var(--display); font-size: 24px; font-weight: 800; }
.doctor-studio-tabs strong { font-family: var(--display); font-size: 19px; letter-spacing: .02em; text-transform: uppercase; }
.doctor-studio-tabs small { margin-top: 3px; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.doctor-studio-panel { display: none; padding-top: 26px; }
.doctor-studio-panel.active { display: block; animation: doctorPanelIn .3s ease; }
.doctor-chat-settings { display: grid; grid-template-columns: minmax(220px,1fr) auto minmax(280px,1.1fr) auto; align-items: center; gap: 20px; margin: 0 0 24px; padding: 18px 22px; background: white; border: 1px solid #dedad4; border-radius: 16px; box-shadow: 0 14px 40px rgba(9,9,11,.04); }
.doctor-chat-settings > div { display: flex; align-items: center; gap: 13px; }
.doctor-chat-settings p { margin: 0; }
.doctor-chat-settings p strong,.doctor-chat-settings p small { display: block; }
.doctor-chat-settings p strong { font-size: 11px; }
.doctor-chat-settings p small { margin-top: 3px; color: #858187; font-size: 8px; }
.doctor-setting-dot { width: 9px; height: 9px; background: #3eb27e; border-radius: 50%; box-shadow: 0 0 0 6px rgba(62,178,126,.12); }
.doctor-switch { display: flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; font-size: 9px; }
.doctor-switch input { position: absolute; opacity: 0; }
.doctor-switch > span { position: relative; width: 42px; height: 24px; background: #b8b4b8; border-radius: 99px; transition: .25s; }
.doctor-switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: white; border-radius: 50%; box-shadow: 0 2px 7px rgba(0,0,0,.2); transition: .25s; }
.doctor-switch input:checked + span { background: #36aa76; }
.doctor-switch input:checked + span::after { transform: translateX(18px); }
.doctor-switch b { min-width: 68px; }
.doctor-closed-field { margin: 0; color: #858187; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.doctor-closed-field textarea { width: 100%; min-height: 54px; margin-top: 5px; padding: 9px 11px; resize: vertical; color: var(--ink); background: #f4f1ed; border: 1px solid #e1ddd7; border-radius: 9px; font: inherit; font-size: 9px; letter-spacing: normal; line-height: 1.4; text-transform: none; }
.doctor-chat-settings > button { padding: 11px 17px; color: white; background: var(--ink); border: 0; border-radius: 99px; cursor: pointer; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.doctor-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 34px 2px 17px; }
.doctor-panel-heading span { color: var(--pink); }
.doctor-panel-heading h3 { margin: 5px 0 0; font-family: var(--display); font-size: clamp(30px,3vw,43px); line-height: .95; text-transform: uppercase; }
.doctor-panel-heading > p { max-width: 430px; margin: 0; color: #79767b; font-size: 9px; line-height: 1.6; }
.doctor-question-list { display: grid; gap: 12px; }
.doctor-question-card { padding: 24px; background: white; border: 1px solid #ddd9d3; border-radius: 18px; box-shadow: 0 12px 38px rgba(9,9,11,.035); }
.doctor-question-card > header,.doctor-post-card > header,.doctor-composer-author { display: flex; align-items: center; gap: 12px; }
.doctor-question-card > header > span,.doctor-post-card > header > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: linear-gradient(135deg,#8b1b47,#315f9f); border-radius: 50%; font-family: var(--display); font-size: 14px; font-weight: 800; }
.doctor-question-card > header > div,.doctor-post-card > header > div { display: flex; flex-direction: column; min-width: 0; }
.doctor-question-card header time,.doctor-post-card header time { margin-top: 2px; color: #918e93; font-size: 8px; }
.doctor-question-card header em { margin-left: auto; padding: 6px 9px; color: #9b3d57; background: #fff0f4; border-radius: 99px; font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.doctor-question-card header em.answered { color: #277856; background: #e9f7f0; }
.doctor-question-card.blocked { opacity: .68; }
.doctor-question-card > p { margin: 20px 0; color: #39373b; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.doctor-answer-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 12px; padding: 13px; background: #f3f0ec; border-radius: 13px; }
.doctor-answer-form label { margin: 0; color: #77747a; font-size: 7px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.doctor-answer-form textarea { display: block; width: 100%; min-height: 76px; margin-top: 5px; padding: 10px 12px; resize: vertical; color: var(--ink); background: white; border: 1px solid #ddd9d3; border-radius: 9px; font: inherit; font-size: 11px; letter-spacing: normal; line-height: 1.5; text-transform: none; }
.doctor-answer-form button,.doctor-publish-button { border: 0; cursor: pointer; font-weight: 800; }
.doctor-answer-form button { min-width: 125px; padding: 12px 15px; color: white; background: linear-gradient(120deg,#8a1745,#18588d); border-radius: 10px; font-size: 9px; }
.doctor-answer-form button:disabled,.doctor-publish-button:disabled { opacity: .55; cursor: wait; }
.doctor-question-card > footer { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.doctor-question-card > footer button { padding: 5px 0; color: #87848a; background: transparent; border: 0; border-bottom: 1px solid #c4c0c4; cursor: pointer; font-size: 7px; font-weight: 700; }
.doctor-question-card > footer button:first-child { color: #a31c3c; }
.doctor-empty-state { min-height: 220px; display: grid; place-content: center; justify-items: center; padding: 35px; color: #89868b; background: white; border: 1px dashed #d5d1cb; border-radius: 18px; text-align: center; }
.doctor-empty-state > span { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 12px; color: white; background: linear-gradient(135deg,var(--pink),var(--blue)); border-radius: 50%; font-size: 20px; }
.doctor-empty-state strong { color: var(--ink); font-family: var(--display); font-size: 21px; text-transform: uppercase; }
.doctor-empty-state p { margin: 5px 0 0; font-size: 9px; }
.doctor-knowledge-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.72fr); gap: 22px; align-items: start; }
.doctor-composer { padding: clamp(22px,3vw,36px); background: white; border: 1px solid #dedad4; border-radius: 20px; box-shadow: 0 16px 50px rgba(9,9,11,.045); }
.doctor-composer-author { margin-bottom: 28px; padding-bottom: 19px; border-bottom: 1px solid #ebe7e1; }
.doctor-composer-author > span { width: 46px; height: 46px; font-size: 17px; }
.doctor-composer-author p { margin: 0; }
.doctor-composer-author p strong,.doctor-composer-author p small { display: block; }
.doctor-composer-author p small { margin-top: 2px; color: #87848a; font-size: 8px; }
.doctor-composer-author > i { margin-left: auto; color: #7a777c; font-size: 7px; font-style: normal; letter-spacing: .09em; text-transform: uppercase; }
.doctor-composer > label:not(.doctor-media-drop) { display: block; margin-bottom: 19px; color: #5d5a60; font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.doctor-composer > label > span { color: #98949a; font-weight: 500; }
.doctor-composer input:not([type=file]),.doctor-composer textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; color: var(--ink); background: #f7f5f2; border: 1px solid #dfdbd5; border-radius: 10px; outline: none; font: inherit; font-size: 12px; letter-spacing: normal; line-height: 1.55; text-transform: none; transition: border .2s,box-shadow .2s; }
.doctor-composer input:focus,.doctor-composer textarea:focus { border-color: #4d87bd; box-shadow: 0 0 0 3px rgba(32,111,178,.09); }
.doctor-composer textarea { min-height: 150px; resize: vertical; }
.doctor-media-drop { display: grid; justify-items: center; padding: 22px; color: #77747a; background: linear-gradient(135deg,#faf7f8,#f3f6fa); border: 1px dashed #bcb7bd; border-radius: 14px; cursor: pointer; text-align: center; transition: .25s; }
.doctor-media-drop:hover { border-color: var(--blue); transform: translateY(-2px); }
.doctor-media-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.doctor-media-drop > span { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 8px; color: white; background: linear-gradient(135deg,var(--pink),var(--blue)); border-radius: 50%; font-size: 19px; }
.doctor-media-drop strong { color: var(--ink); font-size: 10px; }
.doctor-media-drop small { margin-top: 4px; font-size: 8px; }
.doctor-upload-preview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.doctor-upload-preview > div { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 8px; background: #f4f1ed; border-radius: 9px; }
.doctor-upload-preview img,.doctor-upload-preview > div > span { width: 42px; height: 42px; flex: 0 0 auto; object-fit: cover; border-radius: 7px; }
.doctor-upload-preview > div > span { display: grid; place-items: center; color: white; background: #315f9f; font-size: 8px; font-weight: 800; }
.doctor-upload-preview p { min-width: 0; margin: 0; }
.doctor-upload-preview strong,.doctor-upload-preview small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doctor-upload-preview strong { font-size: 8px; }
.doctor-upload-preview small { color: #8c898e; font-size: 7px; }
.doctor-composer .form-error { min-height: 16px; margin: 11px 0 0; color: #b31c40; font-size: 9px; }
.doctor-publish-button { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 16px 19px; color: white; background: linear-gradient(105deg,#8f1747,#174f84); border-radius: 12px; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(40,43,93,.18); }
.doctor-publish-button i { font-size: 18px; font-style: normal; }
.doctor-publications-column .doctor-panel-heading { margin-top: 8px; }
.doctor-post-list { display: grid; gap: 12px; }
.doctor-post-card { overflow: hidden; padding: 19px; background: white; border: 1px solid #dedad4; border-radius: 17px; box-shadow: 0 12px 35px rgba(9,9,11,.035); }
.doctor-post-card h4 { margin: 18px 0 7px; font-family: var(--display); font-size: 25px; line-height: 1; text-transform: uppercase; }
.doctor-post-card > p { display: -webkit-box; overflow: hidden; margin: 0; color: #6d6a70; font-size: 9px; line-height: 1.55; white-space: pre-wrap; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.doctor-admin-media { display: grid; grid-template-columns: repeat(2,1fr); gap: 3px; overflow: hidden; margin-top: 14px; background: #ece8e2; border-radius: 10px; }
.doctor-admin-media img,.doctor-admin-media video,.doctor-admin-media > a { width: 100%; height: 105px; object-fit: cover; }
.doctor-admin-media > a { display: grid; place-content: center; justify-items: center; padding: 9px; color: white; background: linear-gradient(135deg,#681a38,#214b78); text-align: center; }
.doctor-admin-media > a span { font-family: var(--display); font-size: 24px; font-weight: 800; }
.doctor-admin-media > a small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doctor-post-link { display: flex; justify-content: space-between; margin-top: 12px; padding: 10px 12px; color: #315f9f; background: #edf4fb; border-radius: 8px; font-size: 8px; font-weight: 800; }
.doctor-post-card > footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid #ebe7e1; }
.doctor-post-card > footer > span { color: #a51a45; font-size: 10px; font-weight: 800; }
.doctor-post-card > footer button { color: #a31c3c; background: transparent; border: 0; border-bottom: 1px solid #d9a5b2; cursor: pointer; font-size: 7px; font-weight: 800; text-transform: uppercase; }
body[data-user-role="doctor"] .dashboard-content { max-width: 1500px; margin: 0 auto; }
body[data-user-role="doctor"] .dashboard-sidebar nav { margin-top: 34px; }
body[data-user-role="doctor"] .dashboard-sidebar nav a:not([data-permission="06"]) { display: none; }
@keyframes doctorPanelIn { from { opacity: 0; transform: translateY(8px); } }

@media (max-width:1100px) {
  .doctor-chat-settings { grid-template-columns: 1fr auto; }
  .doctor-closed-field { grid-column: 1 / -1; }
  .doctor-chat-settings > button { grid-column: 2; grid-row: 2; }
  .doctor-knowledge-layout { grid-template-columns: 1fr; }
  .doctor-publications-column { order: -1; }
  .doctor-post-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .admin-live-upload-preview { grid-template-columns: 1fr; }
  .admin-live-gallery { gap: 4px; }
  .admin-live-media { height: 118px; }
  .doctor-studio { margin-top: 0; }
  .doctor-studio-cover { min-height: 250px; grid-template-columns: auto 1fr; align-items: start; gap: 16px; padding: 25px 20px; border-radius: 18px 18px 0 0; }
  .doctor-studio-avatar { width: 58px; height: 58px; font-size: 21px; }
  .doctor-studio-welcome h2 { font-size: 45px; }
  .doctor-studio-cover > a { grid-column: 1 / -1; justify-self: start; align-self: end; }
  .doctor-studio-tabs button { min-height: 78px; column-gap: 8px; padding: 14px 13px; }
  .doctor-studio-tabs button::after { left: 13px; right: 13px; }
  .doctor-studio-tabs button > span { font-size: 18px; }
  .doctor-studio-tabs strong { font-size: 15px; }
  .doctor-studio-tabs small { font-size: 7px; }
  .doctor-chat-settings { grid-template-columns: 1fr; padding: 17px; }
  .doctor-switch,.doctor-closed-field,.doctor-chat-settings > button { grid-column: auto; grid-row: auto; }
  .doctor-chat-settings > button { width: 100%; min-height: 42px; }
  .doctor-panel-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .doctor-question-card { padding: 17px; }
  .doctor-question-card > header { align-items: flex-start; }
  .doctor-question-card header em { max-width: 94px; text-align: center; }
  .doctor-answer-form { grid-template-columns: 1fr; }
  .doctor-answer-form button { width: 100%; }
  .doctor-knowledge-layout { display: block; }
  .doctor-publications-column { margin-bottom: 22px; }
  .doctor-post-list { grid-template-columns: 1fr; }
  .doctor-composer { padding: 19px 16px; }
  .doctor-composer-author > i { display: none; }
  .doctor-upload-preview { grid-template-columns: 1fr; }
}
