:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#192d50;background:#f3f7fc;font-size:15px;line-height:1.55;color-scheme:light;--blue:#114189;--muted:#596980;--border:#d7e0ed}
*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1180px;margin:auto;padding:26px 32px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--blue);font-size:10px;letter-spacing:.12em}.brand strong{font-size:17px;letter-spacing:-.025em}.mark{display:grid;place-items:center;background:var(--blue);color:#fff;border-radius:50%;width:45px;height:45px;font-size:30px;font-family:Georgia,serif;letter-spacing:-.06em}.pill,.badge{display:inline-block;background:#e7eef9;border-radius:99px;padding:5px 12px;font-size:12px;font-weight:600}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:700;text-transform:uppercase;color:#114189}h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em;font-size:clamp(34px,5vw,53px);line-height:1.08;margin:14px 0}h2{font-size:21px;letter-spacing:-.03em;margin:0 0 18px}h3{font-size:16px;margin:0 0 10px}p{margin:8px 0}.intro{max-width:720px;margin:18px 0 30px}.intro p{color:var(--muted);font-size:16px}.grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;align-items:start}.card{background:white;border:1px solid var(--border);padding:25px;border-radius:18px;margin-bottom:20px}.basket{position:sticky;top:18px}.row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.row>*{min-width:0}.row>label{flex:1;min-width:150px}.between{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}label{display:block;font-size:13px;font-weight:600;margin-bottom:15px}input,select,textarea,button{font:inherit}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #bdcce0;border-radius:9px;background:#fff;color:inherit;margin-top:6px;min-height:44px}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--border);border-radius:9px;color:var(--blue);background:#f4f7fc;cursor:pointer;font-weight:600;font-size:14px;text-decoration:none;gap:8px}button:hover,.button:hover{background:#e8eef8}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.primary:hover{background:#0b2b5c}.wide{width:100%}.danger{color:#992121}.quiet{background:transparent;font-size:12px;padding:5px 9px;min-height:34px}.muted,small{color:var(--muted);font-size:13px}.divider{border:0;border-top:1px solid var(--border);margin:24px 0}.prices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.price{text-align:center;background:#f4f7fc;border:1px solid var(--border);border-radius:10px;padding:10px;font-size:12px}.price strong{display:block;font-size:19px}.price.active{background:#e3edff;border-color:#114189}.flavors{display:grid;grid-template-columns:1fr 1fr;gap:12px}.flavor{border:1px solid var(--border);padding:15px;border-radius:12px}.flavor strong{display:block;min-height:43px;font-size:14px}.stepper{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.stepper button{width:40px;padding:8px;font-size:20px}.stepper output{font-size:20px;font-weight:700}.choice{padding:14px 0;min-height:65px;font-size:13px}.person{padding:15px 0;border-bottom:1px solid var(--border)}.person:first-child{padding-top:0}.person strong{font-size:15px}.person p{font-size:13px}.total{font-size:28px;letter-spacing:-.05em;font-weight:650}.notice{background:#fff2cf;border:1px solid #e8d9a9;border-radius:12px;padding:15px;margin:16px 0;font-size:14px}.success{background:#e8f0fc;border-color:#bfcee7}.error{color:#992121}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400}.check input{width:18px;min-height:18px;height:18px;flex-shrink:0;margin-top:3px}.empty{padding:22px 8px;text-align:center;color:var(--muted)}.empty-symbol{font-size:36px;color:#748baa}nav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}nav button.active{background:var(--blue);color:#fff}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.stat{background:#e7effb;border-radius:14px;padding:18px}.stat strong{display:block;font-size:28px}.scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:12px 9px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}th{font-size:11px;text-transform:uppercase;letter-spacing:.045em;color:var(--muted)}td small{display:block}details{margin:12px 0}summary{cursor:pointer;font-weight:600;padding:8px 0}code.reference{font:700 22px ui-monospace,monospace;letter-spacing:.02em;overflow-wrap:anywhere}.status-pending{background:#fff1ad;color:#664d00}.status-review{background:#e0edff;color:#114189}.status-paid{background:#def5e6;color:#146b39}.status-rejected{background:#ffead2;color:#944509}.status-cancelled{background:#ffe2df;color:#a1241a}.preview{background:#fff0ba;color:#644b0d;text-align:center;padding:10px 20px;font-size:13px}.preview a{color:inherit}footer{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted);border-top:0;margin-top:25px}a{color:var(--blue)}.login{max-width:450px;margin:40px auto}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#102f62;color:#fff;padding:15px 24px;border-radius:12px;box-shadow:0 8px 30px #0002;max-width:90vw;z-index:20}.order-detail{max-width:780px;margin:20px auto}.config-note{font-size:13px;margin:10px 0}.loading{text-align:center;padding:90px 0}[hidden]{display:none!important}:focus-visible{outline:3px solid #c58b1c;outline-offset:3px}@media(max-width:760px){header,main,footer{padding:20px 16px}.grid{grid-template-columns:1fr}.basket{position:static}.card{padding:20px}.stats{grid-template-columns:1fr}.stat strong{font-size:23px}.brand strong{font-size:14px}header>.pill{display:none}h1{font-size:39px}.intro{margin-top:10px}footer{flex-direction:column}th,td{padding:10px 5px}}@media print{header,footer,nav,button,.preview,.no-print{display:none!important}body{background:#fff}.card{border:0;padding:0}main{padding:0}.scroll{overflow:visible}}

/* The Anglo School palette: blue #114189 and red #992121. Parent-led travel fundraiser. */
header{border-top:5px solid #992121;background:#fff}h1{font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:800;letter-spacing:-.045em}.brand{letter-spacing:.1em}.brand strong{font-family:Georgia,serif;font-size:22px;font-weight:700;letter-spacing:-.035em}.brand-caption{font-size:10px;display:block;margin-top:2px}.mark{background:#114189;border-radius:9px;font-family:inherit;font-size:24px}.intro.trip-hero{max-width:none;display:grid;grid-template-columns:1.45fr 1fr;gap:36px;align-items:center;background:#102f62;color:#fff;padding:36px;border-radius:20px;margin:10px 0 28px;border-bottom:6px solid #992121;overflow:hidden}.trip-hero .eyebrow{color:#bbd6f5}.trip-hero h1{font-size:clamp(32px,4vw,48px);line-height:1.13}.trip-hero h1 em{font-style:normal;color:#b9dcff}.trip-hero p{color:#e0e9f7;font-size:15px;max-width:590px}.trip-hero .hero-instruction{font-size:13px;margin-top:14px;color:#c8d9f0}.trip-ticket{color:#114189;background:#f1f7ff;padding:22px 18px;border-radius:12px;transform:rotate(2deg);text-align:center;border-top:5px solid #992121}.ticket-top{font-size:10px;letter-spacing:.12em;font-weight:800}.trip-ticket img{width:100%;height:auto;max-width:270px;display:block;margin:14px auto}.ticket-route{display:flex;justify-content:space-around;gap:10px;border-top:1px dashed #90a7c9;padding-top:16px;font-size:12px;font-weight:700}.trip-ticket small{font-size:10px;display:block;margin-top:12px}.sale-heading{margin-bottom:22px}.sale-heading h2{margin:5px 0;font-size:clamp(26px,3vw,28px);line-height:1.25}.sale-heading p{font-size:13px;color:var(--muted)}.brand-subtitle{font-size:12px;color:#596980}.sale-switcher{display:flex;gap:20px;align-items:center;padding:20px 0}.sale-switcher label{flex:1;margin:0;max-width:720px}.sale-finalized{background:#e6eaf0;color:#3a4c65}.sale-open{background:#dceafc;color:#114189}.sale-draft{background:#fff0cb;color:#62481c}.sale-closed{background:#fbe8e7;color:#992121}.archive-notice{background:#edf2fa;border-color:#bdcce0}.history-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:24px}.sale-card{border:1px solid var(--border);border-radius:12px;padding:20px;background:#f8faff}.sale-card h3{margin:14px 0 8px}.sale-card button{margin-top:12px}.sale-card p{font-size:13px}fieldset{border:0;padding:0;margin:0;min-width:0}fieldset:disabled{opacity:.75}.footer-organizer{max-width:720px}.footer-organizer strong{color:#114189;display:block;margin-bottom:4px}header .pill{white-space:nowrap}h1,h2,h3,.sale-card{overflow-wrap:anywhere}@media(max-width:760px){.intro.trip-hero{grid-template-columns:1fr;padding:24px;gap:24px}.trip-ticket{max-width:340px;justify-self:center;width:100%;box-sizing:border-box}.trip-ticket img{max-width:210px}.sale-switcher{align-items:flex-start;flex-direction:column;gap:10px}.sale-switcher label{width:100%}.brand strong{font-size:19px}.history-grid{grid-template-columns:1fr}}@media print{.trip-hero,.sale-switcher{display:none!important}}
@media(max-width:760px){.trip-ticket{padding:12px 16px;transform:none;max-width:none}.trip-ticket img,.trip-ticket .ticket-top,.trip-ticket small{display:none}.ticket-route{padding-top:0;border:0}.intro.trip-hero{gap:18px}}

.phone-contact{margin:0 0 18px}.phone-contact>label{margin-bottom:6px}.phone-number-row{display:flex;align-items:stretch;gap:0}.phone-country-picker{position:relative;display:flex;align-items:center;gap:8px;flex:0 0 130px;padding:0 10px;background:#e7effb;border:1px solid #bdcce0;border-right:0;border-radius:9px 0 0 9px;font-weight:650;font-size:14px;white-space:nowrap}.phone-country-picker>select{position:absolute;inset:0;width:100%;height:100%;margin:0;font-size:16px;opacity:0;cursor:pointer}.phone-country-picker:focus-within{outline:3px solid #c58b1c;outline-offset:3px;z-index:1}.phone-country-arrow{margin-left:auto;font-size:12px}.phone-number-row>input{font-size:16px;margin:0;border-radius:0 9px 9px 0;min-width:0;flex:1}.phone-contact #phone-hint{font-size:12px;margin-top:6px}

.bank-identity{display:flex;align-items:center;gap:14px;min-width:0}.bank-logo{width:80px;height:34px;object-fit:contain;flex-shrink:0;background:#fff;padding:3px;border-radius:4px}.bank-logo.bank-nacion{background:#126088}.bank-picker{position:relative;margin:6px 0 16px}.bank-picker>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #bdcce0;border-radius:9px;padding:12px;cursor:pointer;list-style:none}.bank-picker>summary::-webkit-details-marker{display:none}.bank-picker[open]{z-index:5}.bank-options{position:absolute;top:100%;left:0;right:0;max-height:340px;overflow:auto;background:#fff;border:1px solid #bdcce0;border-radius:10px;box-shadow:0 12px 26px #192d5026;padding:6px}.bank-options>button{display:flex;justify-content:flex-start;width:100%;background:white;border:0;text-align:left;gap:14px}.bank-options>button:hover,.bank-options>button[aria-pressed=true]{background:#e7effb}.bank-locked{margin:6px 0 18px;padding:12px;border:1px solid #bdcce0;border-radius:9px;background:#f4f7fc}.payment-details{margin:16px 0;display:grid;gap:12px}.payment-details>div{min-width:0}.payment-details dt{font-size:12px;color:#596980}.payment-details dd{margin:2px 0 0;font-weight:600;white-space:pre-line;overflow-wrap:anywhere}.bank-extra,.bank-preview{padding:14px;background:#f3f7fc;border-radius:9px;margin:16px 0}.bank-extra>summary,.bank-preview>summary{cursor:pointer;font-weight:600}.bank-extra .row{margin-top:14px}.payment-settings{margin-bottom:20px}.payment-settings textarea{resize:vertical}

.edit-key{padding:16px;background:#f3f7fc;border-radius:10px;margin:18px 0}.edit-key>summary,.edit-history>summary{cursor:pointer;font-weight:650}.edit-key form{max-width:540px;margin-top:16px}.edit-person{padding:20px;border:1px solid var(--border);border-radius:12px;margin:16px 0}.edit-person h4{margin:0}.edit-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.edit-history{border-bottom:1px solid var(--border);padding:16px 0}.edit-history .row{align-items:flex-start}.edit-history .row>div{flex:1;min-width:240px}.edit-comment{white-space:pre-line;overflow-wrap:anywhere}#edit-total{margin-top:20px}#edit-settlement{padding:18px;border:1px solid #d9b753;background:#fff9e8;border-radius:10px;margin-bottom:18px}#edit-special input{max-width:480px}@media(max-width:760px){.edit-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.edit-person{padding:14px}.edit-history .row>div{min-width:0;flex-basis:100%}}
#report-campus-label[hidden]{display:none}

#special-approval-fields[hidden]{display:none}

.payment-approval-actions{margin:16px 0}.warning-action{background:#ffdf75;border-color:#d8af32;color:#594200}.warning-action:hover{background:#f5cf51;border-color:#ba9320}

.order-email-notice strong{overflow-wrap:anywhere}

.order-status-banner{background:var(--status-background);color:var(--status-color);border:2px solid var(--status-color);border-radius:16px;text-align:center;padding:26px 22px;margin:18px 0 22px}.order-status-banner h1{color:inherit;font-family:Arial,sans-serif;font-size:clamp(25px,4vw,38px);font-weight:800;letter-spacing:-.02em;line-height:1.2;margin:10px 0 16px;overflow-wrap:anywhere}.order-status-symbol{display:block;font-size:48px;line-height:1.1}.order-status-banner p{color:inherit;font-size:15px;line-height:1.5;margin:0}

.order-status-pending{--status-color:#ffd54a;--status-background:#192d50}.order-status-paid{--status-color:#13783e;--status-background:#eaf8ef}.order-status-cancelled{--status-color:#b42318;--status-background:#fff0ef}.order-status-edited{--status-color:#114189;--status-background:#e8f0fc}.order-status-receipt{--status-color:#b45309;--status-background:#fff1df}

.order-status-observed{--status-color:#b45309;--status-background:#fff1df}.order-status-banner .review-note-prominent{font-size:clamp(22px,3vw,28px);font-weight:750;white-space:pre-line;overflow-wrap:anywhere;margin:22px 0}.contact-actions{margin:18px 0}

.receipt-dialog{width:min(1100px,95vw);max-height:94vh;border:1px solid var(--border);border-radius:14px;padding:20px;background:white;color:var(--ink)}.receipt-dialog::backdrop{background:#142b4c99}.receipt-dialog iframe{width:100%;height:70vh;border:1px solid var(--border);margin-top:12px}.receipt-dialog img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:16px auto}.receipt-dialog h2{margin:0}

.payment-totals{display:flex;gap:24px;flex-wrap:wrap;margin:12px 0}.payment-totals strong{display:block;font-size:22px}.payments-compact{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(440px,1.1fr);gap:20px;align-items:start}.payments-compact .card{padding:20px}.payments-compact .payment-list .scroll{max-height:none;overflow:visible}.payments-compact .payment-list th{position:sticky;top:0;background:#fff}.payments-compact .payment-list .row>label{min-width:95px}.payment-mode>label{padding:12px;background:#edf3fb;border:1px solid var(--border);border-radius:9px;margin-bottom:10px}.payment-mode>label:has(input:checked){border-color:#114189;background:#ddeafa}@media(max-width:1000px){.payments-compact{grid-template-columns:1fr}}

.receipt-content{max-height:70vh;overflow:auto;margin-top:16px;background:#f0f3f8;border-radius:8px;padding:12px}.receipt-pages{justify-content:center;padding:8px;position:sticky;top:0;background:#f0f3f8;z-index:1}.receipt-canvas{display:block;max-width:100%;height:auto;margin:auto;background:#fff}.receipt-canvas-wrap{overflow:auto}

/* User access management */
.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:12px;margin:16px 0}.permission-grid .check{padding:12px;border:1px solid #dfe5ef;border-radius:10px;margin:0;background:#f7f9fd}.user-permissions{margin:18px 0;border:1px solid #dfe5ef;border-radius:12px;padding:16px}.user-permissions legend{font-weight:700}.user-state-active{background:#dff2e7;color:#1b6b40}.user-state-blocked{background:#fde4df;color:#a43221}.user-state-inactive{background:#e9ecf1;color:#526077}.user-state-pending{background:#fff0c5;color:#7a5800}.user-status-guide dt{font-weight:700;margin-top:18px}.user-status-guide dd{margin:6px 0 0;line-height:1.6}

.site-footer .admin-entry{align-self:center;flex-shrink:0;max-width:100%;text-align:center;padding:12px 20px;min-height:48px}.site-footer .admin-entry:hover{background:#0b2b5c}@media(max-width:760px){.site-footer .admin-entry{align-self:stretch}}

.transfer-code{border:1px solid #d6ad40;padding:20px;text-align:center;margin:22px 0 0}.transfer-code h2{margin-bottom:10px;font-size:19px}.transfer-code p{line-height:1.6}.transfer-code-example{background:#fff;border:1px solid #dacb9c;border-radius:10px;padding:10px 16px;margin:16px auto 12px;width:200px;max-width:100%}.transfer-code-example label{display:block;font-size:11px;color:#596980;margin:0 0 3px;font-weight:500}.transfer-code-example input{font:700 25px ui-monospace,monospace;letter-spacing:.06em;color:var(--blue);border:0;padding:0;margin:0;min-height:34px;border-radius:0;cursor:text;text-align:center}.transfer-code .primary{max-width:100%;text-align:center;font-size:13px;min-height:40px}.transfer-code .muted{margin-top:14px;font-size:12px}.transfer-code a{overflow-wrap:anywhere}.receipt-upload{margin-top:28px;border:2px solid #b6cdec;border-top:5px solid var(--blue);background:#f3f7ff}.receipt-upload h2{font-size:25px;margin:8px 0 14px;color:var(--blue)}.receipt-explanation{line-height:1.65;margin:0 0 14px}.receipt-upload form{margin-top:22px;padding:20px;background:#fff;border:1px solid var(--border);border-radius:12px}.receipt-upload input[type=file]{background:#f3f7ff;border:1px dashed #8ba9d0;padding:16px;max-width:100%}@media(max-width:480px){.receipt-upload form{padding:14px}.receipt-upload input[type=file]{padding:10px}}

/* Payment review: one page scroll, roomy list and focused action dialogs. */
body:has(#admin-content)>header,main:has(#admin-content),body:has(#admin-content)>footer{max-width:1440px}
body:has(#admin-content)>.site-footer .developer-credit{max-width:none}
.payments-compact{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}
.payments-compact>*,.payments-compact .card{min-width:0}
.payments-compact .payment-list table{table-layout:fixed}
.payments-compact .payment-list th:nth-child(1){width:23%}
.payments-compact .payment-list th:nth-child(2),.payments-compact .payment-list th:nth-child(3){width:15%}
.payments-compact .payment-list th:nth-child(4){width:29%}
.payments-compact .payment-list th:nth-child(5){width:18%}
.payments-compact .payment-list td{overflow-wrap:anywhere}
.payments-compact .payment-list td button{padding:8px;max-width:100%}
.payments-compact .payment-list .badge{padding:5px 8px}
.payment-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:16px;margin:24px 0}
.payment-totals p{margin:0;padding:14px;background:#f3f7fc;border-radius:10px;font-size:13px}
.payment-totals strong{margin-top:8px;line-height:1.3}
.danger-solid{background:#992121;border-color:#992121;color:white}.danger-solid:hover{background:#7d1919}
.payment-order-heading h2{margin:0}
.payment-dialog{width:min(720px,94vw);max-height:90vh;overflow:auto;border:1px solid var(--border);border-radius:16px;padding:28px;color:#192d50;background:white}
.payment-dialog::backdrop{background:#142b4c99}
.payment-dialog>.between{margin-bottom:22px}.payment-dialog h2{margin:0}
.payment-order-contact{padding:16px;background:#f3f7fc;border-radius:12px;margin-bottom:24px;overflow-wrap:anywhere}
.payment-review-note{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f7fc;padding:16px;margin:20px 0}
@media(max-width:1000px){.payments-compact{grid-template-columns:1fr}}
@media(max-width:560px){.payments-compact .payment-list thead{display:none}.payments-compact .payment-list tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-bottom:1px solid var(--border);padding:16px 0}.payments-compact .payment-list td{border:0;padding:0}.payments-compact .payment-list td:first-child{grid-column:1/-1}.payments-compact .payment-list td[data-label]::before{content:attr(data-label);display:block;font-size:11px;color:var(--muted)}.payment-dialog{padding:20px}}

.payment-approval-actions{align-items:stretch;gap:10px}.payment-approval-actions>button{flex:1 1 0;min-width:0;padding:12px 10px;overflow-wrap:break-word}@media(max-width:420px){.payment-approval-actions{flex-direction:column}}

/* Minimal palette: give payment approval priority over secondary actions. */
.payment-approval-actions #approve-submit{flex:2.4 1 0;background:#233c5b;border-color:#233c5b;color:#fff}
.payment-approval-actions #approve-submit:hover{background:#192d46;border-color:#192d46}
.payment-approval-actions #review-observe{background:#edf2f8;color:#304c70;border-color:#d7e0ed}
.payment-approval-actions #review-observe:hover{background:#e1e9f3;border-color:#bdccde}
.payment-approval-actions #review-cancel{background:#fbe9e8;color:#963b38;border-color:#edd2d0;flex:1 1 0}
.payment-approval-actions #review-cancel:hover{background:#f5dad8;border-color:#dfb5b2}

.payment-approval-actions #special-approval-toggle{flex:2.4 1 0;background:#ffe477;border-color:#e6c54f;color:#5e4700}
.payment-approval-actions #special-approval-toggle:hover{background:#f6d85e;border-color:#d4b33b}

.special-confirm-actions{display:flex;gap:12px;margin-top:22px}
.special-confirm-actions button{flex:1 1 0;min-width:0;padding:12px}
.special-confirm-yes{background:#def5e6;border-color:#afd8bf;color:#146b39}.special-confirm-yes:hover{background:#cbead7;border-color:#91c5a5}
.special-confirm-no{background:#fbe9e8;border-color:#edd2d0;color:#963b38}.special-confirm-no:hover{background:#f5dad8;border-color:#dfb5b2}

/* Order detail opens over the list without changing its filters or scroll. */
.order-view-dialog #review-detail>.card{margin:0;padding:0;border:0;box-shadow:none}
html:has(.order-view-dialog[open]){overflow:hidden}

/* Three clear sections in the order overview. */
.order-view-dialog{width:min(820px,94vw);padding:0;background:#f3f5fa}
.order-view-dialog>.between{position:sticky;top:0;z-index:1;margin:0;padding:18px 24px;background:#fff;border-bottom:1px solid #dbe1ec}
.order-view-dialog>.between h2{font-size:23px;color:#252f62}
.order-view-dialog #review-detail{padding:20px}
.order-overview{display:grid;gap:16px}
.order-section{min-width:0;background:#fff;border:1px solid #dce2ec;border-radius:14px;padding:20px;box-shadow:0 2px 5px #192d5005}
.order-section-title{display:flex;align-items:center;gap:10px;font-size:17px;color:#273462;margin:0 0 18px}
.order-section-title>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#eef0fa;color:#555e94;font-size:12px;flex-shrink:0}
.order-overview-meta{display:grid;grid-template-columns:1.5fr 1fr;gap:16px 24px;margin-bottom:18px}
.order-overview-meta span,.order-contact-grid dt,.order-money-grid span{display:block;font-size:11px;letter-spacing:.025em;color:#65718a;margin-bottom:5px}
.order-overview-meta strong{font-size:13px;font-weight:600;overflow-wrap:anywhere;display:block}
.order-persons{display:grid;gap:10px}
.order-persons .person{padding:14px 16px;margin:0;background:#f7f9fc;border:1px solid #e1e6ef;border-radius:10px}
.order-persons .person p{margin:7px 0;font-size:13px}
.order-persons .person .between strong{font-size:14px}
.order-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin:0}
.order-contact-grid>div:first-child{grid-column:1/-1}
.order-contact-grid dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.order-contact-grid a{color:#344677;text-underline-offset:3px}
.order-payment-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.order-payment-heading .order-section-title{margin:0}
.order-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.order-money-grid>div{padding:14px;border-radius:10px;background:#f5f7fb;border:1px solid #e5e9f1}
.order-money-grid strong{display:block;font-size:23px;line-height:1.3;color:#283658;overflow-wrap:anywhere}
.order-money-grid .order-balance{background:#eef0fa;border-color:#d4d9ee}
.order-money-grid .order-balance strong{color:#38417d}
.order-receipt-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid #e4e8ef}
.order-receipt-row strong,.order-reminders>strong{font-size:13px}
.order-receipt-row p,.order-reminders p{font-size:12px;color:#65718a;margin:5px 0 0}
.order-receipt-row .row{margin:0;gap:8px}
.order-receipt-row button,.order-receipt-row .button,.order-reminders button,.order-reminders .button{font-size:12px;padding:10px 12px}
.order-payment-note{margin:16px 0 0;padding:12px 14px;background:#f7f8fb;border-left:3px solid #c6cee0;border-radius:6px;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}
.order-payment-note p{margin:6px 0 0}
.order-payment-verified{display:flex;flex-direction:column;gap:6px;margin-top:16px;padding:13px 15px;border-radius:9px;background:#eaf6ef;color:#28603c;font-size:13px}
.order-payment-verified span{font-size:12px}
.order-reminders{border-top:1px solid #e4e8ef;margin-top:18px;padding-top:16px}
.order-reminders .row{margin-top:12px}
@media(max-width:560px){.order-view-dialog #review-detail{padding:12px}.order-view-dialog>.between{padding:14px 16px}.order-section{padding:16px}.order-overview-meta,.order-contact-grid{grid-template-columns:1fr;gap:12px}.order-money-grid{gap:6px}.order-money-grid>div{padding:10px 8px}.order-money-grid strong{font-size:18px}.order-money-grid span{font-size:10px}.order-section-title{font-size:16px}}
.order-view-dialog>.order-status-header{gap:16px;border-bottom:1px solid #0001}
.order-view-dialog>.order-status-header.status-pending{background:#fff0b5}
.order-view-dialog>.order-status-header.status-review{background:#e5ecff}
.order-view-dialog>.order-status-header.status-paid{background:#def5e6}
.order-view-dialog>.order-status-header.status-rejected{background:#ffe5c9}
.order-view-dialog>.order-status-header.status-cancelled{background:#fbe2e1}
.order-header-identity{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.order-view-dialog .order-status-header h2{color:inherit}
.order-items-total{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #dde3ee;margin-top:16px;padding-top:16px;font-size:14px}
.order-items-total strong{font-size:22px;color:#343c73}
.order-email-link{display:inline;padding:0;border:0;border-radius:0;background:none;color:#344677;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;box-shadow:none}
.order-email-link:hover{background:none;color:#182e60}
.order-reminders{padding:16px;background:#fff8df;border:1px solid #ebdba1;border-radius:10px}
.order-reminders>strong{color:#775b19}.order-reminders p{color:#746642}
.order-compose-content{padding:22px 24px}.order-compose-context{padding:12px;background:#eef1fa;border-radius:9px;font-size:13px}
.order-mail-compose .mail-compose{padding:18px;background:#edf4fe;border:1px solid #afc4df;border-radius:12px;margin-top:18px}
.order-mail-compose .mail-compose textarea{width:100%}
html:has(.order-mail-compose[open]){overflow:hidden}
@media(max-width:560px){.order-header-identity{gap:8px}.order-compose-content{padding:16px}.order-mail-compose .mail-compose{padding:14px}}

.order-list-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.order-list-actions button{white-space:nowrap}
.order-edit-dialog{width:min(980px,96vw);padding:0;background:#f3f5fa;max-height:92dvh}
.order-edit-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:#eef0fa;border-bottom:1px solid #d4daeb}
.order-edit-header h2{margin:4px 0 0;font-size:23px}.order-edit-header .eyebrow{font-size:10px}
.order-edit-content{padding:20px}.order-edit-content>.notice{margin-top:0}.order-edit-content .card{padding:22px}
.order-edit-content .edit-person{background:#f7f9fc;border-radius:12px}
.order-edit-dialog [hidden]{display:none!important}
html:has(.order-edit-dialog[open]){overflow:hidden}
@media(max-width:560px){.order-edit-header{padding:14px 16px}.order-edit-content{padding:12px}.order-edit-content .card{padding:16px}.order-edit-header h2{font-size:20px}}

.edit-change-list{max-height:38dvh;overflow-y:auto;margin:18px 0;border:1px solid #d6ddeb;border-radius:12px;background:#f7f9fc}.edit-change{padding:14px 18px;border-bottom:1px solid #d6ddeb;overflow-wrap:anywhere}.edit-change:last-child{border-bottom:0}.edit-change h3{margin:0 0 10px;font-size:15px;color:#233c5b}.edit-change>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;margin-top:7px}.edit-change span{font-size:12px;font-weight:700;color:#57677c;padding-top:2px}.edit-change p{margin:0;white-space:pre-line}.edit-change>div:last-child p{font-weight:600;color:#233c5b}.edit-confirm-comment{white-space:pre-wrap;overflow-wrap:anywhere}

.edit-footer-actions{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:20px;flex-wrap:wrap}.edit-footer-actions #edit-cancel-order{margin-left:auto;background:#fbe9e8;color:#963b38;border:1px solid #eac0bd}.edit-footer-actions #edit-cancel-order:hover{background:#f7d9d6}

.mail-send-dialog.order-cancel-confirm{width:min(680px,calc(100vw - 28px))}.order-cancel-confirm .notice{padding:16px;margin:12px 0}.order-cancel-confirm .notice h3{margin:0 0 8px}.order-cancel-confirm .notice p{margin:8px 0}

.payment-dialog.payment-review-modal{width:min(960px,96vw);padding:0;background:#f3f5fa;max-height:92dvh}.payment-review-modal>.payment-modal-heading{position:sticky;top:0;z-index:2;margin:0;padding:18px 24px;background:#eef0fa;border-bottom:1px solid #d4daeb}.payment-review-modal [data-review-detail]{padding:20px}.payment-review-modal [data-review-detail]>.card{margin:0;padding:24px}.payment-review-modal [hidden]{display:none!important}html:has(.payment-review-modal[open]){overflow:hidden}.order-list-actions{flex-wrap:nowrap}@media(max-width:760px){.order-list-actions{flex-wrap:wrap}.payment-review-modal [data-review-detail]{padding:12px}.payment-review-modal [data-review-detail]>.card{padding:16px}.payment-review-modal>.payment-modal-heading{padding:16px}}

/* Shared administration width and concise order/contact list. */
.orders-list td,.contacts-table td{vertical-align:middle}
.orders-list td:nth-child(2),.orders-list td:nth-child(4),.orders-list td:nth-child(5){white-space:nowrap}
.order-adult-link{padding:5px 0;background:none;border:0;border-radius:4px;text-align:left;color:var(--navy,#102b60);font-weight:600;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.order-adult-link:hover{background:#edf3fb}
.order-contact-dialog{width:min(700px,calc(100vw - 32px))}
.order-contact-dialog>.between{padding:22px 26px;background:#eef4fc;border-bottom:1px solid var(--border);gap:16px}
.order-contact-dialog h2{margin:5px 0 0}
.order-contact-dialog>.order-section{margin:24px}
@media(max-width:760px){.orders-list table{min-width:760px}.order-contact-dialog>.between{padding:18px}.order-contact-dialog>.order-section{margin:16px}}

/* Report filters and embedded email queue. */
.campus-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.campus-buttons button{background:#e2edfc;border-color:#c9d9ef;color:#183d75}.campus-buttons button:hover{background:#ccdff8}.campus-buttons button.selected{background:var(--blue);border-color:var(--blue);color:white}.filter-label{font-size:13px;font-weight:650;display:block}
.management-report-heading{align-items:flex-start;gap:20px}.management-report-heading .report-actions{margin:0 0 16px auto;justify-content:flex-end}.management-report-heading h2{margin:8px 0 16px}.report-picker{padding:24px;background:#eef3fc;border:1px solid #cfdaed;border-radius:14px;margin:24px 0}.report-picker>label{font-size:18px;margin:0 0 12px}.report-picker>select{font-size:18px;font-weight:650;min-height:56px;background:white;margin:0}.report-picker #report-campus-control{margin-top:20px}.email-queue-dialog{width:min(1200px,calc(100vw - 32px))}.email-queue-dialog>.between{margin-bottom:20px}.email-queue-dialog .card{margin-bottom:0}
@media print{.campus-buttons{display:none!important}}

/* Shared administration heading and event navigation. */
.admin-identity{display:flex;align-items:center;justify-content:flex-end;gap:18px;font-size:14px;color:var(--navy)}
.admin-identity button{white-space:nowrap}.admin-identity[hidden]{display:none}
.admin-page-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:10px 0 28px}
.admin-page-heading>div:first-child{min-width:0}.admin-page-heading h1{margin:10px 0;line-height:1.15;font-size:clamp(28px,3.2vw,44px)}
.organization-label{font-size:15px}.campaign-heading-controls{display:flex;align-items:flex-end;flex-direction:column;gap:12px;flex-shrink:0}
.campaign-heading-controls .campaign-status{font-size:18px;padding:10px 18px;line-height:1.3}
.order-sort{display:inline-flex;align-items:center;gap:8px;padding:4px 0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;border-radius:3px}
.order-sort span{color:#647da2}.order-sort:hover{background:transparent;color:#114189}.order-sort:focus-visible{outline:2px solid #114189;outline-offset:4px}
.order-edit-dialog>.order-status-header.status-pending{background:#fff0b5}.order-edit-dialog>.order-status-header.status-review{background:#e5ecff}.order-edit-dialog>.order-status-header.status-paid{background:#def5e6}.order-edit-dialog>.order-status-header.status-rejected{background:#ffe5c9}.order-edit-dialog>.order-status-header.status-cancelled{background:#fbe2e1}
@media(max-width:760px){body>header:has(.admin-identity:not([hidden])){flex-wrap:wrap}.admin-identity{justify-content:space-between;width:100%;font-size:12px;gap:12px}.admin-page-heading{align-items:flex-start;flex-direction:column;gap:12px}.campaign-heading-controls{flex-direction:row;align-items:center;flex-wrap:wrap}.campaign-heading-controls .campaign-status{font-size:16px}.organization-label{font-size:13px}}
@media print{.admin-identity,#change-campaign{display:none!important}}
#change-campaign{background:#114189;border-color:#114189;color:white}#change-campaign:hover{background:#0b2b5c}
.campaign-heading-controls .campaign-status{font-size:24px;padding:12px 22px;font-weight:750}
.sale-open{background:#def5e6;color:#146b39}.sale-closed{background:#fff1ad;color:#664d00}.sale-finalized{background:#ffe2df;color:#a1241a}
@media(max-width:760px){.campaign-heading-controls .campaign-status{font-size:20px}}
/* Shared visual language for order detail, editing and payment dialogs. */
.payment-dialog.order-edit-dialog,.payment-dialog.payment-review-modal{width:min(820px,94vw)}
.order-edit-header h2,.payment-modal-heading h2{font-size:23px;margin:0;color:inherit}
.payment-modal-heading .eyebrow{font-size:10px}
.payment-review-modal>.order-status-header.status-pending{background:#fff0b5}
.payment-review-modal>.order-status-header.status-review{background:#e5ecff}
.payment-review-modal>.order-status-header.status-paid{background:#def5e6}
.payment-review-modal>.order-status-header.status-rejected{background:#ffe5c9}
.payment-review-modal>.order-status-header.status-cancelled{background:#fbe2e1}
.order-edit-content .edit-history-section{margin-top:16px}
.order-edit-content .edit-footer-actions{margin-top:18px;padding:16px 0}
.order-edit-content label,.payment-review-modal label{font-size:13px}
.order-edit-content .muted,.payment-review-modal .muted{font-size:13px;line-height:1.6}
.payment-review-modal .order-section>.primary{margin-right:8px}
.payment-review-modal .payment-mode{gap:16px;margin-bottom:18px}
.payment-review-modal #approve>div:not(.payment-approval-actions){margin-bottom:18px}
.payment-review-modal #approve>.check{margin:20px 0}
.payment-review-modal .order-receipt-row .bank-identity{margin:0}
.order-edit-content .order-section-title,.payment-review-modal .order-section-title{margin-top:0}
@media(max-width:560px){.order-edit-header,.payment-review-modal>.payment-modal-heading{padding:14px 16px}.payment-review-modal [data-review-detail]{padding:12px}}

.order-dialog-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px}
.order-dialog-intro h2{font-size:23px;color:#273462;margin:0;line-height:1.3}
.order-dialog-intro .order-detail-action{background:#114189;border-color:#114189;color:#fff;font-weight:650}
.order-dialog-intro .order-detail-action:hover{background:#0b2b5c;border-color:#0b2b5c}

.sale-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.sale-card-heading h3{margin:0;flex:1;min-width:0;font-size:21px}
.sale-card-status{font-size:22px;font-weight:750;padding:10px 18px;line-height:1.3;flex-shrink:0;text-align:center}
@media(max-width:560px){.sale-card-heading{gap:12px;flex-wrap:wrap}.sale-card-heading h3{flex-basis:100%;order:2}.sale-card-status{margin-left:auto;font-size:18px;padding:8px 12px}}
.event-list-heading{gap:18px;align-items:center;flex-wrap:wrap}.event-list-heading h2{margin:0}.create-event-button{font-size:16px;padding:15px 24px}.campaign-create-dialog .payment-settings>h3{font-size:15px}.campaign-create-dialog .order-edit-header{background:#e5ecff}
.sale-card.event-card-open{background:#edf8f0;border-color:#b5d9bf}.sale-card.event-card-closed{background:#fff9e6;border-color:#e5d395}.sale-card.event-card-finalized{background:#fff0ee;border-color:#e8bdb7}.sale-card.event-card-draft{background:#fff8e9;border-color:#e6d1a5}
.sale-card-controls{display:flex;flex-direction:column;align-items:flex-end;gap:14px;flex-shrink:0}.sale-card-controls .modify-event-button{margin:0;font-size:16px;padding:13px 22px}
.campaign-edit-dialog>.campaign-status-header.sale-open{background:#def5e6}.campaign-edit-dialog>.campaign-status-header.sale-closed{background:#fff1ad}.campaign-edit-dialog>.campaign-status-header.sale-draft{background:#fff0cb}.campaign-edit-dialog .order-header-identity{min-width:0}.campaign-edit-dialog .order-edit-header>button{flex-shrink:0}.campaign-edit-dialog .order-edit-header h2{overflow-wrap:anywhere}.campaign-edit-dialog .payment-settings>h3{font-size:15px}#settings>button{margin-top:20px}
@media(max-width:560px){.sale-card-controls{margin-left:auto}.sale-card-controls .modify-event-button{font-size:14px;padding:12px 16px}}

.history-grid>.sale-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px 24px}
.sale-card-info{min-width:0}.sale-card-info h3{font-size:21px;margin:0 0 10px}.sale-card-info p{margin:6px 0;line-height:1.5}.sale-card-info p:last-child{margin-bottom:0}
@media(max-width:560px){.history-grid>.sale-card{grid-template-columns:minmax(0,1fr);gap:18px}.sale-card-info{grid-row:2}.sale-card-controls{grid-row:1;margin-left:auto;align-items:flex-end}}

/* Optional bank details stay compact, with a permanent family preview. */
.bank-extra-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 14px}
.bank-extra-actions button{background:#e8f0fc;color:#173e78;border-color:#b9cce8;font-weight:700}
.bank-extra-summaries{display:grid;gap:12px}.bank-extra-summary{padding:16px 18px;border:1px solid #cdd9eb;background:#f7faff;border-radius:10px;overflow-wrap:anywhere}
.bank-extra-summary[hidden]{display:none!important}.bank-extra-summary strong{color:#273462}.bank-extra-summary p{margin:7px 0 0;white-space:pre-wrap}
.bank-preview h4{font-size:16px;color:#273462;margin:0 0 18px}.bank-extra-dialog{width:min(540px,92vw)}.bank-extra-dialog textarea{width:100%;box-sizing:border-box}.event-date-legacy{font-size:12px}

.payment-settings .bank-preview{padding:0;border:1px solid #cbd8e9;border-radius:12px;overflow:hidden;background:#fff;margin-top:24px}
.bank-preview-heading{padding:18px 22px;background:#eaf0fa;border-bottom:1px solid #cbd8e9}
.bank-preview .bank-preview-heading h4{margin:0;line-height:1.45;font-size:17px;font-weight:750;color:#273462}
.bank-preview #payment-preview{padding:22px}.bank-preview .bank-identity{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.bank-preview .payment-details{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.bank-preview .payment-details>div{padding:0;border:0;min-width:0}.bank-preview .payment-details dt{margin:0 0 2px}.bank-preview .payment-details dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.bank-extra-dialog .mail-send-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
button.bank-extra-delete,button.primary.bank-extra-delete{background:#fbe5e5;color:#9a2727;border:1px solid #e5b4b4}button.bank-extra-delete:hover{background:#f5d4d4}
.bank-confirm-summary{padding:16px;border:1px solid #cbd8e9;background:#f3f7fc;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;color:#273462;font-weight:600}
@media(max-width:560px){.bank-preview .payment-details{grid-template-columns:1fr}.bank-preview-heading,.bank-preview #payment-preview{padding:16px}}
.event-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.sale-card-controls .change-stage-button{margin:0;padding:13px 18px;font-size:15px;font-weight:700;background:#e9f1fc;color:#173e78;border-color:#bdd0ea}
.campaign-stage-dialog{width:min(780px,94vw)}.stage-event-name{font-weight:600;color:#273462}.campaign-stage-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0 18px}
.campaign-stage-options button{background:#edf4ff;color:#1d447d;border:1px solid #c4d6ee;min-height:64px;padding:12px 8px;font-size:15px;font-weight:700;line-height:1.35}
.campaign-stage-options button[aria-pressed=true]{background:#114189;border-color:#114189;color:#fff}.stage-description{min-height:44px;font-size:14px;color:#52627a;line-height:1.5}
@media(max-width:900px){.event-card-actions{flex-wrap:wrap}.history-grid>.sale-card{grid-template-columns:minmax(0,1fr);gap:18px}.sale-card-controls{align-items:flex-end}}
@media(max-width:560px){.event-card-actions{gap:8px}.sale-card-controls .change-stage-button{font-size:14px;padding:12px}.campaign-stage-options{gap:6px}.campaign-stage-options button{font-size:12px;padding:10px 4px;overflow-wrap:normal}.campaign-stage-dialog{padding:20px}}
.mail-send-dialog [data-error],.campaign-edit-dialog [data-error],.campaign-create-dialog [data-error]{white-space:pre-line;line-height:1.6}

.campaign-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.campaign-dates>*{min-width:0}.campaign-dates input{width:100%;min-width:0;height:48px}.campaign-dates label{margin-bottom:15px}.order-created-at{min-width:130px;font-variant-numeric:tabular-nums}.order-created-at time{display:block}
@media(max-width:560px){.campaign-dates{grid-template-columns:1fr;gap:0}}

/* Shared-width family footer, four order indicators and user administration dialogs. */
body:not(:has(#admin-content))>footer.site-footer>.developer-credit{max-width:none;flex-basis:calc(100% + 64px);width:calc(100% + 64px);margin-left:-32px;margin-right:-32px}
.order-summary-stats{grid-template-columns:minmax(360px,1.5fr) repeat(3,minmax(0,1fr))}.order-summary-stats>.stat{display:flex;flex-direction:column;justify-content:center;min-height:164px}.order-summary-stats>.order-count-stat{flex-direction:row;justify-content:space-between;align-items:center;gap:14px}.order-state-counts{display:grid;gap:5px;text-align:right}.order-state-counts>span{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:3px 8px;border-radius:6px;font-size:10px;white-space:nowrap}.order-state-counts b{font-size:12px;min-width:15px}.user-list-toolbar{justify-content:flex-end;margin-bottom:18px}.user-create-button{font-size:16px;padding:14px 22px}.users-table td{vertical-align:middle}.user-state-select{font-size:12px;min-width:115px;font-weight:650;margin:0;border:1px solid #0001}.user-actions{display:flex;gap:8px;flex-wrap:wrap}.user-delete-button{background:#fbe6e4;border-color:#efcac5;color:#992121}.user-delete-button:hover{background:#f5d1cc}.user-dialog{width:min(820px,94vw);max-height:92dvh;padding:0;background:#f3f5fa}.user-dialog>.order-edit-header{background:#e5ecff}.user-dialog-content{padding:24px}.user-dialog .order-section{margin-bottom:18px}.user-dialog .order-section:last-child{margin-bottom:0}.user-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.user-dialog input:disabled{opacity:1}.user-dialog .user-permissions{margin:0}.user-dialog .user-permissions .muted{font-size:12px}.user-dialog [data-error]{white-space:pre-line}html:has(.user-dialog[open]){overflow:hidden}
@media(max-width:1150px){.order-summary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){body:not(:has(#admin-content))>footer.site-footer>.developer-credit{width:calc(100% + 32px);flex-basis:auto;margin-left:-16px;margin-right:-16px}.order-summary-stats{grid-template-columns:1fr}.user-dialog-content{padding:14px}.user-list-toolbar{justify-content:space-between}}
/* Visual profile and permission selection */
.profile-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.profile-picker button{text-align:left;padding:14px 16px;display:grid;gap:5px;background:#eef3fc;border-color:#dce5f4;color:#192d50}.profile-picker button small{font-weight:400;line-height:1.45;font-size:11px}.profile-picker button[aria-pressed=true]{background:#114189;border-color:#114189;color:white}.permission-toggle{position:relative;display:block;margin:0;cursor:pointer}.permission-toggle input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.permission-toggle span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:50px;height:100%;padding:12px 16px;border:1px solid #d7e0ed;border-radius:10px;background:#eff4fc;color:#234369;font-size:13px;font-weight:650;line-height:1.4;transition:background .15s}.permission-toggle:has(input:checked) span{background:#114189;border-color:#114189;color:white}.permission-toggle:has(input:focus-visible) span{outline:3px solid #c58b1c;outline-offset:3px}.permission-toggle:has(input:disabled){cursor:default}.permission-toggle:has(input:disabled:not(:checked)) span{opacity:.5}.user-permissions .permission-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.profile-guide article{border:1px solid #dce5f4;border-radius:14px;padding:20px;background:#f8faff}.profile-guide h3{margin:8px 0}.profile-guide p{color:#596980;font-size:13px}.profile-accesses{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.profile-accesses span{background:#e5edfb;color:#114189;border-radius:6px;padding:5px 9px;font-size:11px}.user-status-guide{display:grid;grid-template-columns:minmax(130px,180px) 1fr;gap:12px;align-items:center}.user-status-guide dt{padding:12px 18px;border-radius:10px;margin:0}.user-status-guide dd{margin:0;font-size:13px}.configuration-nav{background:#f3eafa;color:#6b3584;border-color:#dcc4e8}.configuration-nav.active{background:#6b3584;color:white;border-color:#6b3584}.configuration-shell h2{margin:8px 0}.config-tabs,.email-template-picker,.setting-choices{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.config-tabs button.active,.email-template-picker button[aria-pressed=true]{background:#114189;color:white}.config-section{padding:24px}.config-section h4{margin:20px 0 12px;font-size:14px}.config-section textarea{line-height:1.6;resize:vertical;min-height:95px}.config-section .permission-toggle{display:inline-block;margin-right:6px}.config-history{padding-top:22px;border-top:1px solid #dce5f4}.config-history select{width:auto;max-width:100%;margin:0}.config-template-mode{font-size:12px;color:#596980}.configuration-preview-dialog{width:min(1180px,96vw);max-height:96dvh;padding:22px;border:1px solid #d7e0ed;border-radius:18px;background:#f5f7fb}.configuration-preview-dialog::backdrop{background:#102448aa}.configuration-preview-dialog iframe{display:block;border:1px solid #d7e0ed;border-radius:12px;width:100%;height:65dvh;background:white}.configuration-preview-dialog h2{margin:0}.configured-announcement{white-space:pre-line}body[data-site-theme=navy]{--blue:#102963}body[data-site-theme=sky]{--blue:#12618a}body[data-site-theme=navy] .trip-hero{background:#102963}body[data-site-theme=sky] .trip-hero{background:#12618a}body[data-site-density=compact] main{padding-top:16px}body[data-site-density=compact] .card{padding:18px}body[data-site-density=compact] .trip-hero{margin-bottom:18px}body[data-site-density=compact] .order-detail .card{margin-bottom:14px}
@media(max-width:900px){.profile-guide{grid-template-columns:repeat(2,minmax(0,1fr))}.user-permissions .permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.profile-picker,.profile-guide{grid-template-columns:1fr}.user-status-guide{grid-template-columns:1fr}.user-status-guide dd{margin-bottom:10px}.config-section{padding:16px}.config-tabs{display:grid;grid-template-columns:1fr 1fr}.config-tabs button{font-size:12px}.configuration-preview-dialog{padding:12px}}

.intro.trip-hero.hero-without-illustration{grid-template-columns:1fr}

.profile-picker button[aria-pressed=true] small{color:#e3edff}.profile-picker button[aria-pressed=true] strong{color:white}

/* Gestión de usuarios, contactos y resumen uniforme. */
.admin-user-label{display:grid;gap:3px;text-align:right}.admin-user-label small{font-size:12px;color:#60718a}
.order-summary-stats{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.order-summary-stats>.stat{min-height:180px;text-align:center;align-items:center;padding:18px 12px}
.order-summary-stats>.order-count-stat{gap:8px;align-items:center}
.order-count-stat>div:first-child{flex:1;min-width:0;text-align:center}
.order-count-stat .order-state-counts{flex:0 1 auto;min-width:0;text-align:right}
.order-summary-stats .stat>span,.order-count-stat>div:first-child>span{font-size:12px}
.order-summary-stats .stat strong{font-size:28px}.order-state-counts>span{font-size:9px;padding:4px 5px;gap:5px;white-space:normal;max-width:150px}
.users-table{width:100%;table-layout:fixed}.users-table th:nth-child(1){width:17%}.users-table th:nth-child(2){width:23%}.users-table th:nth-child(3){width:13%}.users-table th:nth-child(4){width:13%}.users-table th:nth-child(5){width:34%}
.users-table td{overflow-wrap:anywhere;padding:15px 10px}.users-table th{padding:12px 10px}.users-table td:last-child{text-align:center}
.user-actions{display:grid;grid-template-columns:1.4fr repeat(3,1fr);align-items:center;gap:6px}
.user-actions button{padding:9px 6px;font-size:11px;min-width:0}.user-actions .user-manage-button{font-size:12px;padding:12px 6px;background:#e6eefb;color:#114189;border-color:#c8d7ef}
.protected-account{display:flex;min-height:46px;justify-content:center;align-items:center;color:#62718a;font-size:13px}
.user-status-guide{grid-template-columns:125px 1fr;gap:10px 16px}.user-status-guide dt{padding:7px 10px;font-size:12px;border-radius:7px}.user-status-guide dd{font-size:12px}
.user-dialog>.user-state-active{background:#dff2e7;color:#1b6b40}.user-dialog>.user-state-blocked{background:#fde4df;color:#a43221}.user-dialog>.user-state-inactive{background:#e9ecf1;color:#526077}.user-dialog>.user-state-pending{background:#fff0c5;color:#7a5800}
.user-dialog .order-header-identity{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1}.user-dialog .order-header-identity h2{color:inherit}.user-header-state{font-weight:750;font-size:17px}
.user-information-grid,.user-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.user-information-grid dt{font-size:12px;color:#66758c}.user-information-grid dd{margin:5px 0 0;font-weight:650;overflow-wrap:anywhere}
.user-reset-toolbar{display:flex;justify-content:flex-end;margin-bottom:18px}.user-reset-toolbar button{background:#e8effb;color:#114189;font-size:12px}
.user-dialog fieldset{min-width:0}.user-dialog .profile-picker{gap:8px;margin-bottom:14px}.user-dialog .profile-picker button{padding:10px 12px;align-content:start;justify-items:start;text-align:left}.user-dialog .profile-picker strong{font-size:12px}.user-dialog .profile-picker small{font-size:10px}
.user-dialog .permission-grid{gap:8px}.user-dialog .permission-toggle span{padding:9px 10px;min-height:42px;font-size:12px}
.contacts-table{width:100%;table-layout:fixed}.contacts-table th{width:33.333%}.contacts-table td{overflow-wrap:anywhere}
.contact-name-button{border:0;background:transparent;color:#114189;padding:4px 0;text-align:left;font-weight:700}
.contact-phone-row{display:grid;grid-template-columns:1fr 1.3fr;gap:12px}.contact-change-summary dt{font-weight:bold;font-size:12px;margin-top:14px}.contact-change-summary dd{margin:4px 0;overflow-wrap:anywhere}
@media(max-width:1150px){.order-summary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.users-table{min-width:940px}}
@media(max-width:560px){.order-summary-stats{grid-template-columns:1fr}.user-fields-row,.user-information-grid{grid-template-columns:1fr}.user-dialog .order-header-identity{align-items:flex-start;flex-direction:column;gap:4px}.user-status-guide{grid-template-columns:110px 1fr}.contact-phone-row{grid-template-columns:1fr}}
.user-dialog .profile-picker button{grid-template-columns:1fr;justify-content:stretch}
.contact-phone-row .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Gestión de usuarios y contactos */
.user-actions .user-manage-button,.user-reset-toolbar button{background:#163f7a;color:#fff;border-color:#163f7a}
.user-actions .user-manage-button:hover,.user-reset-toolbar button:hover{background:#102f5c}
.contacts-table{width:100%;table-layout:fixed}
.contacts-table th:nth-child(1){width:22%}.contacts-table th:nth-child(2){width:25%}.contacts-table th:nth-child(3){width:16%}.contacts-table th:nth-child(4),.contacts-table th:nth-child(5){width:9%}.contacts-table th:nth-child(6){width:19%}
.contacts-table td{overflow-wrap:anywhere}.contacts-table th button{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;padding:6px 0;width:100%}
.contacts-table .contact-edit-button{background:#163f7a;color:white;border-color:#163f7a}
.contact-pending-removal{display:block;background:#fff1bd;color:#755000;border-radius:7px;padding:6px 8px;font-size:11px;line-height:1.4;margin-top:7px;width:fit-content}
.contact-count{text-align:center;font-weight:700}
@media(max-width:1000px){.contacts-table{min-width:950px}}
.contact-list-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin:0}.contact-list-actions>button{white-space:nowrap;padding:10px 12px;font-size:12px;min-width:76px;overflow-wrap:normal}
.contacts-table th button{display:block;text-align:left}.contacts-table th button [data-arrow]{margin-left:4px;white-space:nowrap}

/* Equal-height column headings, aligned with their data, including sortable labels. */
.contacts-table thead th,.orders-list thead th{vertical-align:middle;height:64px;text-align:left}
.contacts-table th button,.orders-list th .order-sort{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:44px;margin:0;padding:0;border:0;line-height:1.35;text-align:inherit;gap:6px}
.contacts-table th button [data-arrow],.order-sort span{flex-shrink:0}
.contacts-table th:nth-child(4),.contacts-table th:nth-child(5){text-align:center}
.contacts-table th:nth-child(4) button,.contacts-table th:nth-child(5) button{justify-content:center}
.contacts-table th:last-child{text-align:right}
.orders-list td,.contacts-table td{vertical-align:middle}
.order-summary-stats>.order-count-stat{padding:0;gap:0;overflow:hidden;align-items:stretch}
.order-count-stat>div:first-child{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px 10px}
.order-count-stat .order-state-counts{align-self:stretch;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:0;margin:0;flex:0 0 224px;width:224px;max-width:none}
.order-count-stat .order-state-counts>span{border-radius:0;margin:0;max-width:none;padding:6px 12px;gap:12px;line-height:1.3;font-size:12px;white-space:nowrap;text-align:left}
.order-count-stat .order-state-counts b{font-size:14px;flex:0 0 3ch;min-width:3ch;text-align:right;font-variant-numeric:tabular-nums}
.order-summary-stats .stat>span,.order-count-stat>div:first-child>span{font-size:15px;font-weight:700;line-height:1.35}
.order-summary-stats .stat strong{font-size:34px;line-height:1.2;margin:8px 0}

/* Each blue KPI has the same width; the first card additionally holds its status list. */
.order-summary-stats{--order-kpi-width:calc((100% - 42px - 224px) / 4);grid-template-columns:calc(var(--order-kpi-width) + 224px) repeat(3,minmax(0,var(--order-kpi-width)));gap:14px}
@media(max-width:1000px){
 .order-summary-stats{grid-template-columns:minmax(0,1fr)}
 .order-summary-stats>.order-count-stat{flex-direction:column}
 .order-count-stat>div:first-child{min-height:180px;flex:auto;width:100%}
 .order-count-stat .order-state-counts{width:100%;flex:0 0 180px}
}
.order-summary-stats .stat small{display:block;min-height:3em;line-height:1.5}
/* Data policy and retention */
.privacy-dialog{width:min(860px,calc(100vw - 32px));max-height:90vh;border:0;border-radius:20px;padding:0;color:var(--ink,#17345e);box-shadow:0 20px 70px #001d4640}.privacy-dialog::backdrop{background:#061c3b99}.privacy-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#17345e;color:white;padding:18px 24px;position:sticky;top:0;z-index:1}.privacy-dialog-bar button{background:#fff;color:#17345e}.privacy-heading{padding:28px 28px 16px;background:#edf5fc}.privacy-heading h1{font-size:28px;line-height:1.2}.privacy-sections,.privacy-request{padding:24px 28px}.privacy-sections section{margin-bottom:28px}.privacy-sections h2{font-size:20px}.privacy-sections p{line-height:1.65}.privacy-rules{display:grid;grid-template-columns:1fr 1fr;gap:12px}.privacy-rules article{padding:16px;background:#f0f5fa;border-radius:12px}.privacy-rules article p{margin:8px 0 0}.privacy-honeypot{position:absolute;left:-9999px}.privacy-expired{text-align:center;padding:48px 24px;max-width:740px;margin:40px auto}.privacy-expired h1{font-size:30px}.privacy-expired>.button{margin-top:20px}.privacy-expired-symbol{font-size:46px}.contact-archive-actions{display:flex;gap:10px}.privacy-external-task{padding:16px;border:1px solid #e9ce75;border-radius:10px;margin:10px 0;background:#fff8dd}.mail-retention-notice{margin:22px 0 16px;background:#fff5ce;border:1px solid #ebcf76;color:#694d13;padding:16px 20px;border-radius:12px}.mail-retention-notice p{margin:4px 0}.privacy-policy-link{padding:18px 24px;font-size:14px;line-height:1.6}@media(max-width:600px){.privacy-rules{grid-template-columns:1fr}.privacy-heading,.privacy-sections,.privacy-request{padding:20px}.privacy-heading h1{font-size:24px}}

/* Multi-state order filter and snapshot exports. */
.order-export-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.order-filters{align-items:flex-start}.status-multifilter{flex:1;min-width:220px;margin-bottom:15px;font-size:13px;font-weight:600}.status-multifilter>span{font-size:13px}.status-multifilter details{position:relative;margin:6px 0 0}.status-multifilter summary{padding:12px;background:#fff;border:1px solid #bdcce0;border-radius:9px;min-height:44px;cursor:pointer}.status-filter-options{position:absolute;z-index:5;top:100%;left:0;right:0;min-width:270px;background:#fff;border:1px solid #bdcce0;border-radius:10px;box-shadow:0 10px 30px #102f6226;padding:12px}.status-filter-options>button{width:100%;margin-bottom:8px}.status-filter-options label{display:flex;align-items:center;gap:10px;margin:0;padding:9px 2px;cursor:pointer}.status-filter-options input{width:18px;height:18px;min-height:18px;margin:0;accent-color:#114189;flex-shrink:0}

/* Gray ticks mean no restriction; blue ticks are explicitly selected states. */
.status-filter-options input{appearance:none;display:grid;place-content:center;border:1.5px solid #bdcce0;border-radius:4px;padding:0;background:white;cursor:pointer}.status-filter-options input::after{content:'✓';font-size:14px;line-height:1;font-weight:800;color:white;visibility:hidden}.status-filter-options input:checked{background:#114189;border-color:#114189}.status-filter-options input:checked::after{visibility:visible}.is-default .status-filter-options input{background:#f8fafc;border-color:#dbe2eb}.is-default .status-filter-options input::after{visibility:visible;color:#bac5d3}

/* Highlight the all-states action only while no explicit filter is selected. */
#status-filter.is-default #status-all{background:#114189;border-color:#114189;color:#fff}
#status-filter.is-default #status-all:hover{background:#0b2b5c;border-color:#0b2b5c}

/* User status, last connection and three context actions. */
.users-table th:nth-child(1){width:16%}.users-table th:nth-child(2){width:21%}.users-table th:nth-child(3){width:12%}.users-table th:nth-child(4){width:10%}.users-table th:nth-child(5){width:15%}.users-table th:nth-child(6){width:26%}
.user-actions{grid-template-columns:1.3fr 1fr 1fr}.user-last-connection{font-size:12px;color:#5d6d85}.user-last-connection.is-online{color:#187044;font-weight:700}

/* Corporate privacy notice: readable hierarchy and a secondary rights action. */
.privacy-heading{background:#f3f6fa;padding:32px 32px 26px}.privacy-heading h1{font-size:30px;margin:10px 0 12px;letter-spacing:-.6px}.privacy-heading>p{max-width:660px;color:#536579;line-height:1.6;margin:0 0 16px}.privacy-version{display:inline-block;color:#536579;font-size:12px}
.privacy-sections{padding:30px 32px;font-size:14px}.privacy-sections section{margin-bottom:30px}.privacy-sections h2{font-size:19px;margin:0 0 12px;color:#17345e}.privacy-sections p{margin:10px 0;line-height:1.75}.privacy-sections a{color:#254c79;text-underline-offset:3px}.privacy-assurance{margin-top:20px;padding:20px;background:#f5f7fa;border:1px solid #dce4ed;border-radius:12px}.privacy-assurance h3{font-size:15px;margin:0 0 10px}.privacy-provider-list{list-style:none;padding:0;margin:16px 0}.privacy-provider-list li{display:grid;grid-template-columns:130px 1fr;gap:5px 16px;padding:14px 0;border-bottom:1px solid #dde4ec}.privacy-provider-list li:last-child{border:0}.privacy-provider-list li>a{grid-column:2;font-size:12px}.privacy-provider-list li>span{line-height:1.6}.privacy-assurance-note{font-size:12px;color:#536579}.privacy-request-link{background:#edf2f7;color:#254769;border:1px solid #cbd7e3;font-size:13px;padding:10px 15px;margin-top:8px;font-weight:600}.privacy-request-link:hover{background:#e2eaf3;border-color:#aabed3}.privacy-request-link:focus-visible{outline:3px solid #114189;outline-offset:3px}.privacy-legal{font-size:12px;color:#536579;margin-top:28px}.privacy-legal h2{font-size:15px}@media(max-width:600px){.privacy-heading,.privacy-sections{padding:22px}.privacy-heading h1{font-size:26px}.privacy-assurance{padding:16px}.privacy-provider-list li{grid-template-columns:1fr}.privacy-provider-list li>a{grid-column:1}}

/* Cierre de pedidos destacado en la página principal. */
.home-deadline{display:flex;align-items:center;gap:10px;padding:12px 16px;margin:0 0 10px;background:#fff4cf;border:1px solid #e5c568;border-left:4px solid #d2a324;border-radius:10px;color:#19375f}
.home-deadline-icon{flex:0 0 auto;font-size:24px;line-height:1}
.home-deadline-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 7px;min-width:0}.home-deadline-label{font-size:14px;font-weight:500}.home-deadline-date{font-size:17px;font-weight:750;line-height:1.35}.home-deadline-date::first-letter{text-transform:uppercase}.home-deadline-zone{font-size:12px;color:#5d532e}.home-delivery{margin:0 0 20px;color:var(--muted);font-size:14px}
@media(max-width:600px){.home-deadline{padding:11px 12px;align-items:flex-start}.home-deadline-icon{margin-top:2px}.home-deadline-label{flex-basis:100%}.home-deadline-date{font-size:16px}}

/* Portadas de jornada sin recepción de pedidos. */
.home-stage{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.75fr);align-items:center;gap:40px;padding:48px;margin:10px 0 24px;border-radius:24px;background:#102f62;color:#fff;border-bottom:6px solid #992121;overflow:hidden;min-height:430px}
.home-stage-tag{display:inline-block;padding:7px 13px;border-radius:30px;background:#dceafe;color:#173d73;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.home-stage-closed .home-stage-tag{background:#fff0bd;color:#705619}.home-stage-finalized .home-stage-tag{background:#d6eee5;color:#245448}
.home-stage-event{font-size:13px;color:#c4d8ee;margin:23px 0 10px}.home-stage h1{font-size:clamp(32px,4vw,46px);line-height:1.12;margin:0 0 20px;max-width:600px}.home-stage-intro{font-size:20px;line-height:1.4;font-weight:700;color:#dceaff;margin:0 0 12px}.home-stage-message{font-size:16px;line-height:1.65;color:#dae5f6;max-width:560px}.home-stage-detail{display:flex;align-items:center;gap:12px;margin-top:28px;font-size:14px;color:#e6effc}.home-stage-detail>span{font-size:24px;color:#ffda76}.home-stage-art{background:#eef5ff;border:1px solid #d1e2fa;border-radius:20px;padding:26px 22px;text-align:center;transform:rotate(2deg);color:#163f77}.home-stage-art img{display:block;width:100%;height:auto;margin:25px auto}.home-stage-stamp{font-size:11px;font-weight:800;letter-spacing:.13em}.home-stage-route{display:flex;justify-content:space-between;gap:10px;border-top:1px dashed #abc1df;padding-top:17px;font-size:12px;font-weight:800}.home-stage-art p{font-size:12px;margin:18px 0 0;color:#5b718f}
.home-stage-followup{margin:0 0 24px;padding:0;font-size:14px;color:#596980;line-height:1.65}.home-stage-followup a{overflow-wrap:anywhere}
@media(max-width:700px){.home-stage{grid-template-columns:1fr;gap:26px;padding:28px 24px;min-height:0}.home-stage-art{max-width:290px;justify-self:center}.home-stage-art img{max-width:210px;margin:18px auto}.home-stage-intro{font-size:18px}}
/* Armonía de encabezados y filtros de administración. */
.orders-list thead th,.contacts-table thead th,.users-table thead th{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.045em;color:var(--muted)}
.orders-list th .order-sort,.contacts-table th button{font:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit}
.order-filters>label,.order-filters>.status-multifilter>.filter-label,.contact-search-label{font-size:16px;font-weight:750}
.order-filters>label input,.order-filters>label select,.contact-search-label input{font-size:15px;font-weight:400}.contact-list-count{text-align:right;margin:0 0 14px;font-size:13px}
.test-reminders-form{padding:18px;background:#f2f6fc;border-radius:12px;margin:18px 0}.test-reminders-form label{max-width:420px}

/* Marca principal compartida por la web y el panel administrativo. */
header .brand{gap:15px;min-width:0}header .brand strong{display:block;font-size:29px;line-height:1.15}header .brand-caption{font-size:12px;line-height:1.4;margin-top:5px}header .brand .mark{width:58px;height:58px;flex-shrink:0;font-size:31px;border-radius:12px}
@media(max-width:760px){header{flex-wrap:wrap}header .brand{gap:12px}header .brand strong{font-size:25px}header .brand-caption{font-size:10px;letter-spacing:.07em}header .brand .mark{width:50px;height:50px;font-size:28px}}

.login .login-instruction{font-size:14px;margin-bottom:18px}.login .login-feedback{font-size:14px;font-style:italic;color:#a1241a;line-height:1.5;margin:0 0 14px}

.order-reminders .order-last-reminder{font-size:13px;font-style:italic;color:#a1241a;margin-top:13px;line-height:1.5}

/* Platform welcome, before the first real event. */
.home-stage-welcome h1{margin-top:24px;font-size:clamp(34px,4.2vw,52px)}
.home-stage-welcome .home-stage-detail{line-height:1.6}
.welcome-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 24px}
.welcome-benefits article{display:flex;align-items:flex-start;gap:16px;background:#fff;border:1px solid #dce6f3;border-radius:18px;padding:26px}
.welcome-benefit-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#eaf2ff;color:#173d73;font-size:25px}
.welcome-benefits h2{margin:0 0 10px;color:#173d73;font-size:19px;line-height:1.35}
.welcome-benefits p{margin:0;color:#596980;font-size:15px;line-height:1.65}
@media(max-width:700px){.welcome-benefits{grid-template-columns:1fr;gap:14px}.welcome-benefits article{padding:22px}.home-stage-welcome h1{font-size:36px}}

/* Authenticated start page. Cards only list this user's available modules. */
.admin-home-hero{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:40px;padding:36px 40px;border-radius:22px;background:#102f62;color:#fff;margin:8px 0 24px;border-bottom:5px solid #992121}
.admin-home-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:#cbdcf6}
.admin-home-hero h2{color:#fff;font-size:clamp(26px,3vw,36px);margin:12px 0;line-height:1.2}
.admin-home-hero p{color:#e0eafa;line-height:1.6;margin:0}
.admin-home-context{display:flex;gap:12px;align-items:flex-start;margin-top:24px;padding-top:20px;border-top:1px solid #ffffff25}
.admin-home-context>span{font-size:22px;color:#ffe19a}.admin-home-context strong,.admin-home-context div>span{display:block;line-height:1.5}.admin-home-context div>span{font-size:14px;color:#cadbf4;margin-top:4px}
.admin-home-art{text-align:center;background:#eef5ff;border-radius:18px;padding:20px;color:#173d73}.admin-home-art img{width:100%;height:auto}.admin-home-art span{display:block;margin-top:12px;font-size:10px;font-weight:800;letter-spacing:.12em}
.admin-home-archive{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.admin-home-archive h2{margin:8px 0;font-size:22px}.admin-home-archive p{color:#596980;line-height:1.5;margin:0}.admin-home-archive form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.admin-home-archive label{flex:1;min-width:180px}.admin-home-archive select{margin-bottom:0}.admin-home-empty{background:#f3f7fd;padding:20px;border-radius:12px}
.admin-home-modules-heading{margin:28px 0 18px}.admin-home-modules-heading h2{margin:0 0 7px;font-size:24px}.admin-home-modules-heading p{margin:0;color:#596980}
.admin-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.admin-home-card{display:flex;gap:16px;align-items:flex-start;text-align:left;padding:24px;border:1px solid #dce6f3;background:#fff;border-radius:18px;color:#173d73;transition:box-shadow .15s,border-color .15s;height:100%}
.admin-home-card:hover:not(:disabled){background:#f4f8ff;border-color:#779bc9;box-shadow:0 5px 18px #102f6210}.admin-home-card:focus-visible{outline:3px solid #87b5ed;outline-offset:3px}.admin-home-card:disabled{opacity:.6}
.admin-home-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:#eaf2ff;border-radius:12px;font-size:25px}
.admin-home-card-copy{display:flex;flex-direction:column;gap:10px;height:100%}.admin-home-card-copy strong{font-size:18px;line-height:1.3}.admin-home-card-copy>span{font-size:14px;font-weight:400;line-height:1.6;color:#596980}.admin-home-card-copy small{font-size:13px;padding-top:5px;margin-top:auto;font-weight:700}
.home-card-settings .admin-home-icon{background:#efe9fa;color:#654285}.home-card-settings{border-color:#ddd2ed}
@media(max-width:1050px){.admin-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.admin-home-hero{grid-template-columns:1fr;padding:26px;gap:24px}.admin-home-art{display:none}.admin-home-archive{grid-template-columns:1fr;gap:20px}.admin-home-grid{grid-template-columns:1fr}.admin-home-card{padding:22px}}

nav.admin-home-nav{display:none}
.admin-home-archive form label{margin:0}

/* Module identity: soft colors at rest, the same hue selected. */
:is([data-tab="home"],[data-home-module="home"]){--module-soft:#edf1f6;--module-border:#cbd5e2;--module-ink:#435b77}
:is([data-tab="mailbox"],[data-home-module="mailbox"]){--module-soft:#e9f2fc;--module-border:#bdd4eb;--module-ink:#236092}
:is([data-tab="orders"],[data-home-module="orders"]){--module-soft:#e5f3f1;--module-border:#b7dcd7;--module-ink:#14716e}
:is([data-tab="suppliers"],[data-home-module="suppliers"]){--module-soft:#fbf3dc;--module-border:#e5d5a7;--module-ink:#87661c}
:is([data-tab="analytics"],[data-home-module="analytics"]){--module-soft:#eaf3e8;--module-border:#c5ddbf;--module-ink:#3e785b}
:is([data-tab="history"],[data-home-module="history"]){--module-soft:#fbede4;--module-border:#ebcfbd;--module-ink:#a45e36}
:is([data-tab="users"],[data-home-module="users"]){--module-soft:#efedfa;--module-border:#d3ccee;--module-ink:#5e5898}
:is([data-tab="contacts"],[data-home-module="contacts"]){--module-soft:#f9eaf0;--module-border:#e8c6d3;--module-ink:#9a4966}
:is([data-tab="configuration"],[data-home-module="configuration"]){--module-soft:#f3eafa;--module-border:#dcc4e8;--module-ink:#713e87}
nav button[data-tab]{position:relative;background:var(--module-soft);border-color:var(--module-border);color:var(--module-ink);transition:background .15s,border-color .15s,box-shadow .15s}
nav button[data-tab]:hover{border-color:var(--module-ink);box-shadow:0 2px 7px #192d5010}
nav button[data-tab].active{background:var(--module-ink);border-color:var(--module-ink);color:#fff;box-shadow:0 3px 8px #192d5018}
.admin-home-card[data-home-module]{position:relative;background:var(--module-soft);border-color:var(--module-border);color:var(--module-ink)}
.admin-home-card[data-home-module]:hover:not(:disabled){background:var(--module-soft);border-color:var(--module-ink)}
.admin-home-card[data-home-module] .admin-home-icon{background:#ffffffb3;color:var(--module-ink)}
.admin-home-card[data-home-module] small{color:var(--module-ink)}
.module-mail-count{position:absolute;top:-9px;right:-7px;display:grid;place-items:center;min-width:26px;aspect-ratio:1;padding:4px;border:2px solid #fff;border-radius:50%;background:#bc263c;color:#fff;font-size:12px;font-weight:800;line-height:1;box-shadow:0 2px 5px #68132228;pointer-events:none;font-variant-numeric:tabular-nums}
.admin-home-card .module-mail-count{top:10px;right:10px}
@media print{.module-mail-count{display:none!important}}
