/* NEXT: shared visual foundation. Existing operational routes stay intact. */
:root{--bg:#fff;--panel:#fff;--panel-strong:#f1f5f9;--text:#111827;--muted:#475569;--line:#cbd5e1;--accent:#24574a;--accent-soft:#d7ebe5;--danger:#b91c1c;--danger-soft:#fee2e2;--shadow:none;font-family:Inter,"Segoe UI",Arial,sans-serif;color-scheme:light}
.next-ui{background:#fff;font-size:14px;line-height:1.45}
.next-ui h1{font-size:30px;line-height:1.2;letter-spacing:-.025em}.next-ui h2{font-size:20px;line-height:1.3}.next-ui h3{font-size:16px}.next-ui p{overflow-wrap:anywhere}
.next-ui :focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:-100px;left:20px;z-index:100;padding:12px;background:#fff;color:#1d463c}.skip-link:focus{top:10px}
.app-header{height:64px;background:#1d463c;color:white;display:flex;align-items:center;gap:24px;padding:0 24px;position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:23px;white-space:nowrap;min-width:172px}.brand-mark{font-size:28px;line-height:1;color:white}
.event-selector{display:flex;align-items:center;gap:6px;max-width:320px;min-width:180px}.event-selector select{background:#1d463c;border:1px solid #527f71;color:white;font-size:13px;padding:8px 10px;white-space:nowrap;text-overflow:ellipsis}.event-switch{background:transparent;color:white;border:1px solid #ffffff65;padding:7px;font-size:11px}.header-event{font-size:13px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-search{position:relative;flex:1;max-width:480px;margin-left:4px}.global-search input{border:0;background:#f8fafc;border-radius:8px;padding:9px 38px 9px 14px;font-size:13px}.global-search kbd{position:absolute;right:10px;top:8px;background:#e2e8f0;color:#475569;padding:0 7px;border-radius:4px}
.user-menu{position:relative;margin-left:auto;flex-shrink:0}.user-menu summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;font-size:13px}.user-menu summary::-webkit-details-marker{display:none}.user-menu small{color:#d7ebe5}.user-avatar{background:#24574a;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;color:#d7ebe5;font-size:12px}.user-menu>div{position:absolute;right:0;top:45px;min-width:210px;border:1px solid var(--line);padding:16px;background:white;color:var(--text);box-shadow:0 8px 20px #0f172a14;border-radius:10px}.user-menu>div p{margin-bottom:12px}
.next-ui .shell{display:grid;grid-template-columns:208px minmax(0,1fr);min-height:calc(100vh - 64px);align-items:stretch}
.next-ui .sidebar{background:#f8fafc;color:#475569;padding:24px 12px;border-right:1px solid #cbd5e1;gap:24px;position:sticky;top:64px;height:calc(100vh - 64px);overflow-y:auto}
.next-ui .nav{gap:5px}.next-ui .nav a{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:7px;color:#475569;font-weight:550;position:relative;min-height:42px}.next-ui .nav a:hover{background:#e6f1ec;color:#1d463c}.next-ui .nav a[aria-current=page]{background:#d7ebe5;color:#1d463c;font-weight:750}.next-ui .nav a[aria-current=page]:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:4px;border-radius:4px;background:#24574a}.nav-icon{color:#94a3b8;font-size:18px;line-height:1;width:18px;flex-shrink:0}.nav a[aria-current] .nav-icon{color:#24574a}.nav-admin{border-top:1px solid var(--line);padding-top:20px}.next-ui .nav-admin a:not(:first-child){font-size:12px;padding-left:44px;min-height:32px}.sidebar-footer{margin-top:auto;font-size:11px;padding:12px;color:#64748b}.sidebar-footer span{display:block;margin-top:5px;font-size:10px}
.next-ui .content{min-width:0;padding:28px 30px;display:flex;flex-direction:column;gap:24px;align-self:start}
.next-ui .page-head{min-height:44px;align-items:center}.next-ui .page-head p{font-size:12px;margin-top:5px;color:#64748b}.next-ui .page-head-actions{display:flex;flex-wrap:wrap;gap:10px}.next-ui .card{border:1px solid #cbd5e1;border-radius:12px;background:white;box-shadow:none;padding:20px}.next-ui .card h2{margin-bottom:12px}.next-ui .button,.next-ui button{border:1px solid var(--line);border-radius:8px;padding:9px 15px;font-size:13px;font-weight:650;display:inline-flex;justify-content:center;align-items:center;gap:7px;line-height:1.4;min-height:38px;text-align:center}.next-ui .button.primary{background:#24574a;border-color:#24574a;color:white}.next-ui .button.primary:hover{background:#1d463c;border-color:#1d463c}.next-ui .button.subtle,.next-ui .button.ghost{background:white;color:#1d463c;border-color:#acc7be}.next-ui .button.subtle:hover,.next-ui .button.ghost:hover{background:#eff7f4}.next-ui .button.danger{background:white;color:#b91c1c;border-color:#b91c1c}.next-ui .button.danger:hover{background:#fef2f2}.next-ui button:disabled{opacity:.5;cursor:not-allowed}.next-ui input,.next-ui select,.next-ui textarea{padding:9px 11px;border-radius:8px;font-size:13px;color:#111827;min-height:38px}.next-ui input[type=checkbox],.next-ui input[type=radio]{min-height:0;accent-color:#24574a}.next-ui label{font-size:13px;gap:6px}.next-ui .form{display:grid;gap:16px}.next-ui .banner{border-radius:8px;font-size:13px;border:1px solid transparent}.next-ui .banner.success{border-color:#b7d7ca}.next-ui .banner.error{border-color:#fecaca}.next-ui .badge{font-size:11px;padding:3px 9px;font-weight:650}.next-ui .note{border-radius:8px;background:#f8fafc}.next-ui .meta-item{border-radius:8px;background:#f8fafc}.next-ui .filters{grid-template-columns:minmax(180px,2fr) repeat(3,minmax(100px,1fr)) auto}.next-ui .stat{min-height:100px}.next-ui .ticket-tabs{align-items:flex-start;flex-shrink:0}.next-ui .ticket-tabs a{align-self:flex-start;height:auto}
.attendees-workspace{min-width:0}.attendee-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.attendee-filters>input{flex:2 1 230px}.attendee-filters>select{flex:1 1 115px;width:auto}.attendee-filters>button{flex:0 0 auto}.attendee-list-meta{display:flex;justify-content:space-between;font-size:11px;color:#64748b;margin:14px 0 18px}.attendee-list-meta a{color:#1d463c;text-decoration:underline;text-underline-offset:3px}
.attendee-split{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.attendee-table-wrap{overflow-x:auto;min-width:0}.attendee-table{width:100%;border-collapse:separate;border-spacing:0;min-width:610px;text-align:left;font-size:12px}.attendee-table th{background:#f1f5f9;color:#475569;font-weight:650;padding:12px 10px;white-space:nowrap;position:sticky;top:0}.attendee-table th:first-child{border-radius:8px 0 0 8px}.attendee-table th:last-child{border-radius:0 8px 8px 0}.attendee-table td{padding:12px 10px;height:64px;vertical-align:middle;border-bottom:1px solid #e2e8f0;border-top:1px solid transparent;overflow-wrap:anywhere}.attendee-table td:first-child{border-left:1px solid transparent}.attendee-table td:last-child{border-right:1px solid transparent}.attendee-table td small{display:block;font-size:10px;color:#64748b;margin-top:4px}.attendee-table tr:hover td{background:#f8fafc}.attendee-table tr.selected td{background:#eff7f4;border-top-color:#24574a;border-bottom-color:#24574a}.attendee-table tr.selected td:first-child{border-left-color:#24574a;border-radius:8px 0 0 8px}.attendee-table tr.selected td:last-child{border-right-color:#24574a;border-radius:0 8px 8px 0}.attendee-row-link{font-weight:700;font-size:13px;display:block}.attendee-row-link:hover{text-decoration:underline}.status-chip{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:3px 9px;font-size:11px;font-weight:650;white-space:nowrap}.status-chip.success{background:#d7ebe5;color:#1d463c}.status-chip.warning{background:#fef3c7;color:#92400e}.status-chip.neutral{background:#e2e8f0;color:#475569}
.attendee-detail{border:1px solid #cbd5e1;border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:15px;min-width:0;scroll-margin-top:85px;position:sticky;top:88px;max-height:calc(100vh - 110px);overflow-y:auto}.detail-heading{display:flex;justify-content:space-between;align-items:start;gap:10px}.next-ui .detail-heading h2{font-size:23px;overflow-wrap:anywhere}.detail-heading p,.detail-identity,.detail-group{font-size:12px;color:#475569;margin-top:5px}.detail-close{font-size:24px;color:#64748b;line-height:1;padding:2px 5px}.detail-code{font-size:15px;color:#475569}.detail-actions{display:grid;gap:9px;margin-top:3px}.detail-actions .button{font-size:12px}.detail-help{font-size:11px;color:#64748b;line-height:1.5}.detail-note{font-size:12px}.attendee-timeline{list-style:none;padding:0 0 0 20px;margin:0;display:grid;gap:18px;border-left:2px solid #d7ebe5;margin-left:7px}.attendee-timeline li{position:relative;display:grid;gap:4px;font-size:12px}.attendee-timeline li:before{content:"";width:11px;height:11px;border-radius:50%;background:#24574a;position:absolute;left:-27px;top:3px}.attendee-timeline li>span,.attendee-timeline small{font-size:11px;color:#64748b}.empty-state{padding:32px 12px;text-align:center;color:#64748b;display:grid;justify-items:center;gap:14px}.next-ui .empty-state h2{font-size:17px;color:#334155}.empty-icon{font-size:35px;color:#94a3b8}
.next-ui.auth-body{background:#f8fafc;padding:48px 24px}.next-ui .auth-shell{width:min(1000px,100%);min-height:540px;display:grid;grid-template-columns:.95fr 1.05fr;gap:0;border:1px solid #cbd5e1;border-radius:14px;overflow:hidden;box-shadow:0 12px 40px #0f172a08}.next-ui .auth-hero,.next-ui .auth-card{border:0;border-radius:0;box-shadow:none}.next-ui .auth-hero{background:#1d463c;padding:52px 44px;align-content:center;gap:20px;color:white}.next-ui .auth-hero h1{font-size:40px}.next-ui .auth-hero p{font-size:19px;color:#d7ebe5;line-height:1.55}.auth-benefits{list-style:none;padding:0;margin:40px 0 0;display:grid;gap:16px;font-size:13px;color:#d7ebe5}.auth-benefits li:before{content:"✓";display:inline-grid;place-items:center;background:#1d463c;border-radius:50%;width:20px;height:20px;margin-right:10px;color:#d7ebe5}.next-ui .auth-card{padding:55px 48px;background:white;align-content:center;gap:25px}.next-ui .auth-card h2{font-size:28px}.auth-card-head p{font-size:13px;color:#64748b}.auth-help{font-size:12px;color:#64748b}.next-ui .auth-card input{min-height:42px}.next-ui .auth-submit{margin-top:7px}
@media(min-width:1550px){.attendee-split{grid-template-columns:minmax(0,1fr) 370px;gap:40px}.attendee-table{font-size:13px}.attendee-table td{padding:14px}.next-ui .content{padding:32px 40px}}
@media(max-width:1200px){.app-header{gap:14px;padding:0 16px}.brand{min-width:auto;font-size:20px}.event-selector{min-width:160px;max-width:240px}.user-menu small{display:none}.next-ui .content{padding:24px 20px}.attendee-split{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.attendee-detail{padding:18px}}
@media(max-width:980px){.next-ui .shell{grid-template-columns:170px minmax(0,1fr)}.next-ui .sidebar{padding:20px 8px}.next-ui .nav a{font-size:12px;padding:9px 10px;gap:8px}.attendee-split{grid-template-columns:1fr}.attendee-detail{position:static;max-height:none}.global-search{max-width:300px}.user-menu summary>span:first-child{display:none}.next-ui .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.next-ui .auth-shell{grid-template-columns:.9fr 1.1fr}.next-ui .auth-card{padding:36px 28px}.next-ui .auth-hero{padding:36px 28px}}
@media(max-width:650px){.app-header{height:auto;min-height:64px;flex-wrap:wrap;padding:12px 16px;gap:12px;position:relative}.brand{font-size:20px;order:0}.user-menu{order:1}.event-selector,.header-event{order:2;max-width:100%;flex:1;min-width:100%}.global-search{order:3;max-width:none;flex-basis:100%;margin:0}.event-selector select{flex:1}.next-ui .shell{display:block;min-height:100vh}.next-ui .sidebar{position:static;height:auto;overflow:visible;padding:10px 12px;display:block;border-right:0;border-bottom:1px solid #cbd5e1}.next-ui .nav{display:flex;gap:6px;overflow-x:auto}.next-ui .nav a{white-space:nowrap;flex-shrink:0}.next-ui .nav-admin{margin-top:8px;padding-top:8px}.next-ui .nav-admin a:not(:first-child){padding:9px 12px}.sidebar-footer{display:none}.next-ui .content{padding:22px 16px;gap:20px}.next-ui .page-head{align-items:flex-start;flex-wrap:wrap}.next-ui h1{font-size:25px}.next-ui .page-head-actions{justify-content:start}.attendee-filters>input{flex-basis:100%}.attendee-filters>select{flex-basis:40%}.next-ui.auth-body{padding:20px 14px}.next-ui .auth-shell{grid-template-columns:1fr;min-height:0}.next-ui .auth-hero{padding:28px;gap:10px}.next-ui .auth-hero h1{font-size:30px}.next-ui .auth-hero p{font-size:15px}.auth-benefits{display:none}.next-ui .auth-card{padding:32px 28px}.next-ui .auth-card h2{font-size:24px}}
@media print{.app-header,.skip-link,.attendee-filters,.attendee-list-meta{display:none!important}.next-ui .shell{display:block}.next-ui .content{display:block}.attendee-detail{position:static;max-height:none;overflow:visible}}
.next-ui select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);background-position:calc(100% - 13px) 16px,calc(100% - 9px) 16px;background-size:4px 4px;background-repeat:no-repeat;padding-right:28px}
.next-ui .event-selector select{background-color:#1d463c;background-image:linear-gradient(45deg,transparent 50%,#d7ebe5 50%),linear-gradient(135deg,#d7ebe5 50%,transparent 50%);min-height:38px;color:white}.event-selector option{background:#fff;color:#111827}
.detail-history{display:grid;gap:12px}.detail-history .attendee-timeline{max-height:230px;overflow-y:auto;overflow-x:hidden;padding-top:3px;padding-bottom:5px}.detail-history .detail-help{font-size:10px}
.detail-history .attendee-timeline{border-left:0;margin-left:0;padding-left:26px;background:linear-gradient(#d7ebe5,#d7ebe5) 6px 0/2px 100% no-repeat}.detail-history .attendee-timeline li:before{left:-25px}

/* Configuration and template workspaces (NEXT, second delivery). */
.configuration-tabs{display:flex;gap:8px;border-bottom:1px solid #cbd5e1;overflow-x:auto;flex-shrink:0;padding-bottom:0;align-items:flex-start}
.configuration-tabs a{white-space:nowrap;padding:11px 14px;font-size:13px;font-weight:600;color:#475569;border-bottom:3px solid transparent}
.configuration-tabs a:hover{color:#1d463c;background:#f8fafc}.configuration-tabs a[aria-current=page]{color:#1d463c;border-bottom-color:#24574a;font-weight:750}
.segmented-tabs{display:flex;align-items:stretch;background:#e2e8f0;border-radius:9px;padding:4px;gap:4px;max-width:100%;width:fit-content;flex-wrap:wrap}
.segmented-tabs a{padding:8px 13px;border-radius:6px;font-size:12px;color:#475569;text-align:center}.segmented-tabs a[aria-current=page]{background:#fff;color:#1d463c;font-weight:750;box-shadow:0 1px 2px #0f172a08}
.configuration-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:24px;align-items:start;min-width:0}.configuration-workspace>.card{min-width:0}
.configuration-workspace .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.configuration-workspace .field-grid>*{min-width:0}.configuration-workspace .detail-help{margin-top:16px}
.configuration-workspace>.card:target{scroll-margin-top:90px}.configuration-table-wrap{overflow-x:auto;max-width:100%;margin:14px 0}
.configuration-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;text-align:left;min-width:380px}
.configuration-table th{background:#f1f5f9;color:#475569;font-weight:650;padding:12px 10px;white-space:nowrap}.configuration-table th:first-child{border-radius:8px 0 0 8px}.configuration-table th:last-child{border-radius:0 8px 8px 0}
.configuration-table td{padding:14px 10px;border-bottom:1px solid #e2e8f0;vertical-align:middle;overflow-wrap:anywhere;height:60px}.configuration-table td small{display:block;font-size:10px;color:#64748b;margin-top:4px}.configuration-table td a:hover{text-decoration:underline}.configuration-table tr.selected td{background:#eff7f4;border-bottom-color:#24574a;border-top:1px solid #24574a}
.configuration-table td .button{font-size:11px;padding:6px 9px;min-height:30px}.class-chip{background:#dbeafe;color:#1e40af;border-radius:20px;padding:4px 10px;font-weight:700;white-space:nowrap}
.row-exports{font-size:11px;color:#475569;margin-top:8px}.row-exports summary{cursor:pointer}.row-exports a{display:block;padding:6px 0;color:#1d463c}
.template-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.template-intro p{font-size:12px;color:#64748b;margin-top:6px}.template-intro .status-chip{flex-shrink:0}
.mail-editor-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;min-width:0}.mail-editor-workspace>.card{min-width:0}.mail-composer{display:grid;gap:22px}
.mail-editor-fields{border:0;padding:0;margin:0;display:grid;gap:16px;min-width:0}.mail-editor-fields:disabled{opacity:.75}.mail-editor-fields textarea{resize:vertical}
.variable-picker{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:11px;color:#64748b}.next-ui .variable-picker button{background:#d7ebe5;color:#1d463c;border:0;border-radius:20px;padding:3px 9px;font-size:11px;min-height:26px;font-family:monospace}
.mail-color{display:flex;justify-content:space-between;align-items:center}.mail-color input{width:75px;height:36px;padding:3px}.mail-test{border-top:1px solid #e2e8f0;padding-top:16px}.mail-test summary{cursor:pointer;color:#1d463c;font-weight:650;font-size:13px}.mail-test form{margin-top:16px}
.mail-preview-panel{display:grid;gap:12px;position:sticky;top:88px}.mail-preview-panel>p{font-size:12px}.mail-preview{width:100%;height:720px;border:1px solid #e2e8f0;border-radius:8px;background:white}
.next-ui #ticket-designer.ticket-template-editor .ticket-editor-grid{grid-template-areas:"canvas settings";grid-template-columns:minmax(0,1fr) minmax(260px,380px);min-width:0;gap:28px;height:720px}
.next-ui #ticket-designer.ticket-template-editor #ticket-layout-form{overflow:visible}.next-ui #ticket-designer.ticket-template-editor .ticket-editor-preview{padding:20px;background:#f8fafc;border:1px solid #e2e8f0}
.next-ui #ticket-designer.ticket-template-editor .ticket-settings-group{padding:12px;margin-bottom:12px;gap:9px;border-radius:8px}.next-ui #ticket-designer.ticket-template-editor .ticket-settings-group legend{font-size:12px;color:#475569}
.next-ui #ticket-designer.ticket-template-editor .ticket-editor-settings input:not([type=checkbox]),.next-ui #ticket-designer.ticket-template-editor .ticket-editor-settings select{min-height:34px;padding:7px 9px;font-size:12px;border-radius:7px}
.next-ui #ticket-designer.ticket-template-editor .layout-choice>span{position:static;clip:auto;overflow:visible;width:auto;height:auto;margin:0;white-space:normal;font-size:11px}
.next-ui #ticket-designer.ticket-template-editor .ticket-editor-settings .button{min-height:34px;border-radius:7px}.next-ui #ticket-designer.ticket-template-editor .ticket-layout-save .button{min-height:40px}.next-ui #ticket-designer.ticket-template-editor .ticket-settings-scroll{padding-right:10px}
@media(max-width:1100px){.configuration-workspace{grid-template-columns:minmax(0,1fr)}.mail-editor-workspace{grid-template-columns:minmax(0,1fr)}.mail-preview-panel{position:static}.configuration-table{min-width:430px}}
@media(max-width:980px){.next-ui #ticket-designer.ticket-template-editor .ticket-editor-grid{grid-template-areas:"canvas" "settings";grid-template-columns:minmax(0,1fr);height:auto}.next-ui #ticket-designer.ticket-template-editor .ticket-editor-preview{height:570px}.next-ui #ticket-designer.ticket-template-editor .ticket-settings-scroll{overflow:visible}.configuration-workspace>.card:target{scroll-margin-top:20px}}
@media(max-width:650px){.template-intro{flex-wrap:wrap}.configuration-tabs a{padding:10px;font-size:12px}.segmented-tabs{width:100%}.segmented-tabs a{flex:1 1 90px;font-size:11px;padding:8px}.mail-preview{height:600px}.next-ui #ticket-designer.ticket-template-editor .ticket-editor-preview{height:480px}.configuration-workspace .field-grid{gap:10px}}
.configuration-page{display:grid;gap:16px;min-width:0}.template-help{font-size:12px;color:#475569;background:#f8fafc;padding:10px 12px;border-radius:8px}
.mail-editor-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px}.mail-operations{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:#1d463c}.mail-operations a:hover{text-decoration:underline}
.next-ui #ticket-designer.ticket-template-editor .ticket-editor-grid{height:clamp(540px,calc(100vh - 340px),760px)}
@media(max-width:980px){.next-ui #ticket-designer.ticket-template-editor .ticket-editor-grid{height:auto}.mail-editor-actions{align-items:flex-start}}

/* Batch stock, review and generation. */
.batch-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.stock-card{display:grid;gap:14px}.stock-card h2{margin:0!important}.stock-number{font-size:32px;line-height:1.2;color:#1d463c}.stock-number small{font-size:13px;font-weight:500;color:#64748b}.stock-card progress{width:100%;height:10px;appearance:none;border:0;background:#e2e8f0;border-radius:12px;overflow:hidden}.stock-card progress::-webkit-progress-bar{background:#e2e8f0;border-radius:12px}.stock-card progress::-webkit-progress-value{background:#24574a;border-radius:12px}.stock-card progress::-moz-progress-bar{background:#24574a;border-radius:12px}
.stock-counts{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:12px;color:#475569}.batch-table{min-width:820px}.batch-table td:first-child{min-width:230px}.batch-table td:nth-child(2){min-width:110px}
.batch-steps{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0 20px;color:#64748b;font-size:14px}.batch-steps>a,.batch-steps>span{display:flex;align-items:center;gap:10px}.batch-steps span> b,.batch-steps a>span{width:30px;height:30px;border-radius:50%;background:#e2e8f0;color:#475569;display:inline-grid;place-items:center;font-size:13px;font-weight:700}.batch-steps [aria-current=step]{color:#1d463c;font-weight:750}.batch-steps [aria-current=step]>b,.batch-steps [aria-current=step]>span{background:#24574a;color:#fff}
.batch-review-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start;min-width:0}.batch-review-layout>.card{min-width:0}.batch-review-layout .note{font-size:12px}.batch-review-facts{margin:0;display:grid;gap:14px}.batch-review-facts>div{display:grid;gap:4px}.batch-review-facts dt{font-size:12px;color:#64748b}.batch-review-facts dd{margin:0;font-size:14px;font-weight:650;overflow-wrap:anywhere}
.batch-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start;min-width:0}.batch-sample{min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;overflow-wrap:anywhere}.batch-sample .ticket-art{width:100%!important;height:auto;max-height:420px;object-fit:contain}.batch-sample>p{font-size:13px;font-weight:700}.wizard-samples{margin:20px 0}.wizard-samples .batch-sample{border:1px solid #cbd5e1;border-radius:8px;padding:10px;background:#fff}.wizard-samples .ticket-art{max-height:360px}.sample-watermark{font-size:9px;font-weight:700;letter-spacing:.025em;color:#92400e;background:#fef3c7;border-radius:5px;padding:4px 6px}.batch-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
@media(max-width:1100px){.batch-review-layout{grid-template-columns:minmax(0,1fr)}.wizard-samples .ticket-art{max-height:420px}}
@media(max-width:650px){.batch-stock-grid{grid-template-columns:minmax(0,1fr)}.batch-steps{gap:10px;align-items:flex-start;font-size:11px}.batch-steps>a,.batch-steps>span{gap:6px;align-items:center;flex-direction:column;text-align:center}.batch-steps a>span,.batch-steps span>b{width:27px;height:27px}.batch-samples{grid-template-columns:minmax(0,1fr)}.wizard-samples .ticket-art,.batch-sample .ticket-art{max-height:360px}.wizard-samples .batch-sample{max-width:300px;width:100%;justify-self:center}.stock-number{font-size:28px}}

/* Customer-request pipeline and follow-up. */
.request-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px}.public-request-link{position:relative}.public-request-link>summary{list-style:none;cursor:pointer}.public-request-link>summary::-webkit-details-marker{display:none}.public-request-link>div{position:absolute;right:0;top:48px;z-index:15;width:340px;box-shadow:0 10px 28px #0f172a20;font-size:12px}.public-request-link code{overflow-wrap:anywhere;white-space:normal}.public-request-link a{color:#1d463c;text-decoration:underline}
.request-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.request-filters>input[type=search]{flex:2 1 250px}.request-filters>select{flex:1 1 180px;width:auto}.request-filters .checkbox{white-space:nowrap;font-size:12px;flex-shrink:0}.request-clear{font-size:12px;color:#1d463c;text-decoration:underline}.registration-workspace .attendee-list-meta{margin:0}
.request-board-scroll{overflow-x:auto;min-width:0;max-width:100%;padding-bottom:8px}.request-board{display:grid;grid-template-columns:repeat(4,minmax(210px,1fr));gap:16px;min-width:900px;align-items:start}.request-column{min-width:0}.request-column-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.next-ui .request-column-head h2{font-size:15px;margin:0}.stage-working .request-column-head h2{color:#24574a}.stage-paid .request-column-head h2{color:#24574a}.request-column-cards{padding:9px;background:#f1f5f9;border-radius:12px;display:grid;gap:10px;align-content:start;min-height:410px}
.request-card{padding:15px 13px;background:#fff;border:1px solid #cbd5e1;border-radius:10px;display:grid;gap:9px;min-width:0}.next-ui .request-card h3{font-size:15px}.request-card h3 a:hover{text-decoration:underline}.request-card p{font-size:12px;overflow-wrap:anywhere}.request-card .request-card-meta{font-size:11px;color:#64748b}.request-reference{font-size:11px!important;color:#475569}.request-card-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:4px}.request-call{font-size:11px;font-weight:700;background:#24574a;color:white;padding:4px 11px;border-radius:20px}.request-followup{font-size:11px;font-weight:650;color:#1d463c;text-decoration:underline;text-underline-offset:3px}.request-delivery{color:#475569;font-size:11px!important}.request-empty{color:#64748b;font-size:12px;text-align:center;padding:24px 8px}.request-flow-note{font-size:12px}.request-table{min-width:800px}.request-archive summary{cursor:pointer;color:#475569;font-weight:650}.request-archive-list{display:grid;gap:10px;margin-top:16px;font-size:13px}.request-archive-list a{color:#1d463c}
.request-detail{position:fixed;z-index:30;right:24px;top:82px;width:390px;max-width:calc(100vw - 32px);max-height:calc(100vh - 105px);overflow-y:auto;box-shadow:0 12px 40px #0f172a2e!important;display:grid;gap:16px;font-size:13px;scroll-margin-top:90px}.request-detail .detail-heading h2{font-size:22px;margin:0}.request-detail .note{font-size:12px}.request-detail .status-chip{width:fit-content}.request-contact{display:grid;gap:5px;overflow-wrap:anywhere}.request-contact a{color:#1d463c;text-decoration:underline}.request-review{border-top:1px solid #e2e8f0;padding-top:18px;display:grid;gap:12px}.request-review .detail-help{margin-top:0}.request-detail textarea{resize:vertical}
@media(max-width:650px){.request-toolbar{flex-wrap:wrap}.public-request-link>div{width:min(330px,calc(100vw - 40px));left:0;right:auto}.request-detail{top:12px;right:12px;max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px);width:390px}.request-filters>input[type=search]{flex-basis:100%}.request-board{gap:12px;min-width:920px}.request-column-cards{min-height:320px}}

/* Evento hoy: operational data scoped to the active event. */
.event-today{display:grid;gap:20px;min-width:0}.today-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.today-stat h2{font-size:15px;font-weight:500;color:var(--muted,#64748b);margin:0 0 12px}.today-stat strong{font-size:30px;color:#24574a;line-height:1.15}.today-stat strong.today-warning{color:#a7550a}.today-stat p{font-size:13px;color:#64748b;margin:10px 0 0}.today-top{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;min-width:0}.today-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;min-width:0}.event-today .card{min-width:0}.event-today h2{margin-top:0}.today-chart{overflow-x:auto;margin:24px 0 16px}.today-bars{display:grid;grid-template-columns:repeat(24,minmax(14px,1fr));gap:5px;min-width:450px}.today-hour{font-size:10px;text-align:center;color:#64748b}.today-bar-track{height:155px;display:flex;align-items:flex-end;border-bottom:1px solid #cbd5e1;margin-bottom:8px}.today-bar{background:#24574a;width:100%;border-radius:4px 4px 0 0}.today-hour-values{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;list-style:none;padding:0}.today-notice{border-left:4px solid #a7550a;background:#fffbeb;border-radius:6px;padding:14px;margin:12px 0;overflow-wrap:anywhere}.today-arrival{display:grid;grid-template-columns:minmax(120px,1fr) 1.3fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e2e8f0}.today-arrival time{font-size:12px;color:#64748b;overflow-wrap:anywhere}@media(max-width:1100px){.today-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.today-top,.today-bottom{grid-template-columns:1fr}}@media(max-width:540px){.today-metrics{gap:10px}.today-stat strong{font-size:24px}.today-stat{padding:16px}.today-arrival{grid-template-columns:1fr auto}.today-arrival time{grid-column:1/-1}.today-hour-values{grid-template-columns:repeat(3,1fr)}}

/* Offline supervision and guided recovery. */
.offline-workspace{display:grid;gap:24px;min-width:0}.offline-banner{border:1px solid #6d28d9;border-radius:12px;background:#f1eafd;color:#4c1d95;padding:20px}.offline-banner h2{font-size:19px;margin:0 0 8px}.offline-banner p{margin:0}.offline-columns{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.4fr);gap:20px}.offline-columns .card{min-width:0}.offline-workspace h2{margin-top:0}.offline-facts{display:grid;grid-template-columns:1fr 1.2fr;gap:20px 16px}.offline-facts dt{color:#64748b}.offline-facts dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}.offline-conflicts{min-width:520px}.offline-conflicts small{display:block;margin-top:8px;color:#64748b}.offline-conflicts td:last-child a{display:block;margin-top:8px}.offline-recovery{max-width:760px;border-top:1px solid #e2e8f0;padding-top:20px;margin-top:20px}@media(max-width:1100px){.offline-columns{grid-template-columns:1fr}}@media(max-width:540px){.offline-facts{grid-template-columns:1fr;gap:8px}.offline-facts dd{text-align:left;margin-bottom:12px}}

/* Reports: event-wide reconciliation, with print/PDF from the browser. */
.report-workspace{display:grid;gap:22px;min-width:0}.report-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:16px}.report-toolbar p{margin:0}.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.report-workspace .card{min-width:0}.report-workspace h2{margin-top:0}.report-class{margin:24px 0}.report-class>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.report-class span{color:#64748b;font-size:14px}.report-class progress{width:100%;height:18px;accent-color:#24574a;border:0}.report-class progress::-webkit-progress-bar{background:#e2e8f0;border-radius:10px}.report-class progress::-webkit-progress-value{background:#24574a;border-radius:10px}.report-table{min-width:620px}@media(max-width:700px){.report-toolbar{align-items:flex-start;flex-direction:column}.report-metrics{grid-template-columns:1fr}.report-class>div{flex-wrap:wrap}}@media print{body:has(.report-workspace) .topbar,body:has(.report-workspace) .sidebar,body:has(.report-workspace) .page-head .page-actions,.report-toolbar .batch-detail-actions{display:none!important}body:has(.report-workspace) .shell{display:block}body:has(.report-workspace) .content{margin:0;padding:0;width:100%;max-width:none}.report-workspace .card{break-inside:avoid;box-shadow:none}.report-workspace .configuration-table-wrap,.report-workspace .today-chart{overflow:visible}.report-workspace .today-top{grid-template-columns:1fr}.report-workspace .today-bars{min-width:0}.report-workspace .report-table{min-width:0}.report-workspace a{color:inherit;text-decoration:none}.report-workspace .note{font-size:11px}}

/* Match the reference: dashboard starts directly with metrics. */
.today-stations{display:grid;gap:24px;margin-top:24px}.today-station>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.today-station p{margin:10px 0 0;color:#64748b;font-size:14px}.status-chip.today-offline{background:#f1eafd;color:#6d28d9}.today-station-help{margin-top:24px}.today-station-help summary{color:#64748b;font-size:13px;cursor:pointer}
.customer-entry-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:22px;align-items:start}.customer-entry-layout .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-entry-summary{min-width:0}.customer-count{display:flex;gap:8px;align-items:center}.customer-count input{max-width:90px;text-align:center}.customer-count button{border:1px solid #cbd5e1;border-radius:10px;background:#24574a;color:white;padding:8px 16px;font-size:24px;cursor:pointer}@media(max-width:1000px){.customer-entry-layout{grid-template-columns:1fr}}@media(max-width:540px){.customer-entry-layout .field-grid{grid-template-columns:1fr}}

/* Compact customer entry. Summary precedes actions on phones. */
.customer-entry-layout.compact-customer-form{gap:16px 22px}.customer-entry-actions{grid-column:1}.customer-phone-field{display:grid;gap:8px;font-weight:600;min-width:0}.customer-phone-controls{display:flex;gap:8px;min-width:0}.customer-phone-controls select{width:110px;flex:0 0 110px;min-width:0}.customer-phone-controls input{width:0;flex:1;min-width:0}.customer-entry-layout .field-grid.customer-payment-row{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-payment-row [hidden]{display:none!important}.customer-optional-fields{display:flex;gap:20px;flex-wrap:wrap}.customer-optional-fields details{min-width:0;max-width:100%}.customer-optional-fields details[open]{flex:1 1 100%}.customer-optional-fields summary{color:#1d463c;cursor:pointer;font-weight:600;margin-bottom:10px}.customer-optional-fields textarea{width:100%;box-sizing:border-box}.customer-optional-fields input[type=file]{max-width:100%;box-sizing:border-box}.compact-customer-form .customer-entry-summary h2{font-size:20px}.compact-customer-form .customer-entry-summary .offline-facts{gap:16px}.customer-phone-controls select option{font-size:14px}@media(max-width:540px){.customer-entry-layout .field-grid.customer-payment-row{grid-template-columns:1fr}.compact-customer-form .customer-entry-summary .offline-facts{grid-template-columns:auto 1fr;gap:10px}.compact-customer-form .customer-entry-summary dd{text-align:right;margin:0}.compact-customer-form .customer-entry-summary{padding:16px}.customer-entry-actions{margin:0}}

/* Attendee profile: essential details scroll independently of its actions. */
.attendee-detail:has(.attendee-profile-body){height:min(640px,var(--profile-height,calc(100dvh - 110px)));max-height:none;overflow:visible;box-sizing:border-box;gap:12px;padding:18px}.attendee-profile-heading{flex-shrink:0;position:relative;padding-right:22px}.attendee-profile-heading .detail-close{position:absolute;right:-6px;top:-5px}.next-ui .attendee-profile-heading h2{font-size:18px;line-height:1.25;margin:0}.attendee-profile-heading>div{min-width:0;flex:1}.attendee-profile-photo{width:128px;height:144px;object-fit:cover;border-radius:8px;flex:none}.attendee-detail>.badges{flex-shrink:0}.attendee-profile-body{flex:1;min-height:0;overflow-y:auto;overflow-wrap:anywhere;padding-right:4px;font-size:12px}.attendee-profile-body p{margin:0 0 10px}.attendee-profile-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;margin:10px 0 14px}.attendee-profile-facts dt{color:#64748b}.attendee-profile-facts dd{margin:0;overflow-wrap:anywhere}.attendee-profile-group{border-top:1px solid #e2e8f0;padding-top:12px}.attendee-profile-body h3{font-size:13px;margin:0 0 8px}.attendee-profile-group summary{cursor:pointer;color:#1d463c}.attendee-profile-group ul{padding-left:18px;display:grid;gap:6px}.attendee-profile-note{margin-top:14px}.attendee-profile-note p{white-space:pre-wrap}.attendee-detail .detail-actions{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border-top:1px solid #e2e8f0;padding-top:12px}.attendee-detail .detail-actions>.primary{grid-column:1/-1}.attendee-detail .detail-actions .button{font-size:11px;padding:8px;line-height:1.25;min-width:0;white-space:normal;text-align:center;display:flex;align-items:center;justify-content:center}.attendee-history-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;padding:24px;border:1px solid #cbd5e1;border-radius:14px;color:#0f172a;overflow-y:auto}.attendee-history-dialog::backdrop{background:rgb(15 23 42 / .35)}.attendee-history-dialog .detail-heading{margin-bottom:22px}.attendee-history-dialog h2{font-size:20px;margin:0}.attendee-history-dialog .attendee-timeline{max-height:none;overflow:visible}.attendee-history-dialog .detail-history{overflow:visible}@media(max-width:980px){.attendee-detail:has(.attendee-profile-body){height:auto;max-height:none}.attendee-profile-body{overflow:visible}.attendee-detail .detail-actions .button{font-size:12px;padding:10px}}@media print{.attendee-detail .detail-actions,.attendee-history-dialog{display:none!important}.attendee-detail:has(.attendee-profile-body){height:auto}.attendee-profile-body{overflow:visible}}

/* Five profile actions: inline changes and contextual windows. */
.profile-simple-actions>form,.profile-quick{min-width:0;margin:0}.profile-simple-actions>form>.button,.profile-quick>summary{width:100%;box-sizing:border-box}.profile-quick>summary{list-style:none;cursor:pointer}.profile-quick>summary::-webkit-details-marker{display:none}.profile-quick[open]{grid-column:1/-1}.profile-quick form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.profile-quick form>.button{grid-column:1/-1}.profile-quick label,.profile-unpaid-reason{display:grid;gap:5px;font-size:11px}.profile-quick input,.profile-quick select,.profile-unpaid-reason input{width:100%;min-width:0;box-sizing:border-box;padding:6px}.profile-unpaid-reason{margin-bottom:7px}.profile-quick-status{font-size:12px;color:#1d463c;flex:none;overflow-wrap:anywhere}.profile-quick-status:empty{display:none}.profile-window{width:min(1080px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid #cbd5e1;border-radius:14px;box-sizing:border-box;overflow:auto;color:#0f172a}.profile-window::backdrop{background:rgb(15 23 42 / .35)}.profile-window .detail-heading{margin-bottom:16px}.profile-window h2{font-size:20px;margin:0}.profile-ticket-options{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.profile-window iframe{display:block;width:100%;height:65dvh;border:0}.profile-window iframe[hidden]{display:none}.profile-simple-actions .primary{grid-column:auto}

/* Single registration entry beside the active event. */
.header-event-actions{display:flex;align-items:center;gap:8px;min-width:0}.header-event-actions .event-selector{min-width:140px;max-width:230px}.header-event-actions .header-add{background:transparent;border:1px solid #ffffff95;color:#fff;white-space:nowrap;font-size:13px;padding:8px 14px;flex:none}.header-event-actions .header-add:hover{background:#1d463c}.header-event-actions .header-event{max-width:210px}@media(max-width:650px){.header-event-actions{order:2;flex-basis:100%;width:100%}.header-event-actions .event-selector{order:initial;min-width:0;max-width:none;flex:1}.header-event-actions .header-event{order:initial;min-width:0;flex:1;max-width:none}.header-event-actions .header-add{padding:10px 14px}}
.profile-simple-actions .profile-payment-choice{grid-column:1/-1;display:grid;grid-template-columns:1fr;gap:8px}.profile-payment-choice label{display:grid;gap:5px;font-size:12px}.profile-payment-choice input,.profile-payment-choice select{width:100%;box-sizing:border-box;min-width:0;padding:8px}.profile-payment-choice [hidden]{display:none!important}

/* Photo above the name; payment and attendance form one left-aligned column. */
.attendee-profile-heading{flex-direction:column;align-items:flex-start;gap:10px}.attendee-profile-heading>div{flex:initial;width:100%}.attendee-detail .attendee-profile-badges{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:12px 0}

/* Persistent attendee profile; metadata uses the space beside a photo. */
.attendee-profile-overview{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:14px}.attendee-profile-overview.has-photo{grid-template-columns:128px minmax(0,1fr);gap:12px}.attendee-profile-overview .attendee-profile-heading{padding-right:0}.attendee-profile-metadata{min-width:0;overflow-wrap:anywhere}.attendee-profile-metadata .attendee-profile-badges{margin-top:0}.has-photo .attendee-profile-facts{grid-template-columns:minmax(0,1fr);gap:4px}.has-photo .attendee-profile-facts dd{margin-bottom:6px}.attendee-profile-overview .attendee-profile-photo{max-width:100%}.attendee-profile-overview .attendee-profile-heading h2{font-size:17px}

/* Full-width identity above the photo; compact actions and pending cues. */
.attendee-profile-body>.attendee-profile-heading{margin-bottom:14px}.attendee-profile-body>.attendee-profile-heading h2{font-size:19px}.profile-ticket-missing{border:1px solid #fcd34d;padding:5px 10px}.profile-payment-choice.is-pending select{background-color:#fffbeb;border-color:#d97706;color:#92400e;font-weight:650}.attendee-detail .profile-simple-actions{align-items:start;grid-auto-rows:min-content}.attendee-detail .profile-simple-actions>button,.attendee-detail .profile-simple-actions>form:not(.profile-payment-choice)>.button{height:40px;min-height:40px;box-sizing:border-box}@media(max-width:650px){.attendee-detail .profile-simple-actions>button,.attendee-detail .profile-simple-actions>form:not(.profile-payment-choice)>.button{height:44px;min-height:44px}}
.global-search{position:relative}.global-search-suggestions{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:1000;background:#fff;color:#0f172a;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 10px 28px rgb(15 23 42 / .18);max-height:360px;overflow-y:auto;text-align:left}.global-search-suggestions[hidden]{display:none}.global-search-suggestions a{display:grid;gap:4px;padding:10px 14px;color:#0f172a;border-bottom:1px solid #f1f5f9}.global-search-suggestions a:hover,.global-search-suggestions [aria-selected=true]{background:#ecfdf5}.global-search-suggestions strong{font-size:13px}.global-search-suggestions small{font-size:11px;color:#64748b;overflow-wrap:anywhere}.global-search-suggestions p{font-size:13px;padding:12px;margin:0}.profile-simple-actions [data-attendance-choice] select{width:100%;height:40px;min-width:0;box-sizing:border-box;border-color:#94a3b8;font-size:12px;padding:8px}.profile-simple-actions [data-attendance-choice] [hidden]{display:none!important}

/* Shared SVG icon family, independent of system fonts. */
.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px}.nav-icon svg{display:block;width:20px;height:20px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;flex:none}.brand-mark svg{display:block;width:30px;height:30px}.next-ui .nav-admin a:not(:first-child){padding-left:14px}.next-ui .nav a:hover .nav-icon{color:#24574a}

.batch-tabs-row{display:flex;align-items:center;gap:16px;min-width:0}.batch-tabs-row .ticket-tabs{flex:1;min-width:0}.batch-tabs-row>.button{flex-shrink:0}
@media(max-width:600px){.batch-tabs-row{flex-wrap:wrap}.batch-tabs-row .ticket-tabs{flex-basis:100%}.batch-tabs-row>.button{margin-left:auto}}

/* Keep long audit values inside their column instead of expanding the grid. */
.next-ui .audit-log{min-width:0}
.next-ui .audit-row{grid-template-columns:minmax(0,1.1fr) minmax(0,.65fr) minmax(0,2fr);align-items:start;gap:20px;padding:14px 0}
.next-ui .audit-row>div{min-width:0;overflow-wrap:anywhere}
.next-ui .audit-row p{margin:4px 0;font-size:12px}
.next-ui .audit-row time,.next-ui .audit-meta small{font-size:11px;color:#64748b}
.next-ui .audit-values{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0}
.next-ui .audit-values>span{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
.next-ui .audit-values .badge{width:auto;line-height:1.5}
@media(max-width:760px){.next-ui .audit-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 16px}.next-ui .audit-values{grid-column:1/-1}.next-ui .audit-meta{text-align:right}}
@media(max-width:420px){.next-ui .audit-row{grid-template-columns:minmax(0,1fr)}.next-ui .audit-meta{text-align:left}}
.mail-admin-workspace{display:grid;gap:20px;min-width:0}.mail-admin-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.mail-admin-top>.card{min-width:0}.mail-config-facts{display:grid;grid-template-columns:minmax(100px,.6fr) minmax(0,1fr);gap:10px 16px;margin:0}.mail-config-facts dt{color:#64748b}.mail-config-facts dd{margin:0;overflow-wrap:anywhere}.mail-test-form{display:flex;align-items:end;gap:10px}.mail-test-form label{flex:1;min-width:0}.mail-test-form input{width:100%}.mail-test-result{padding:12px;border-radius:8px;border:1px solid #cbd5e1;overflow-wrap:anywhere}.mail-test-result.success{background:#eff7f4;border-color:#b7d7ca}.mail-test-result.error{background:#fef2f2;border-color:#fecaca}.mail-test-result p{margin:6px 0}.mail-error-table{table-layout:fixed;width:100%}.mail-error-table th:nth-child(1){width:20%}.mail-error-table th:nth-child(2){width:25%}.mail-error-table th:nth-child(3){width:20%}.mail-error-table th:nth-child(4){width:20%}.mail-error-table td{overflow-wrap:anywhere;vertical-align:top}.mail-error-table small,.mail-error-table time{display:block;font-size:11px;color:#64748b;margin-top:4px}.mail-error-table summary,.mail-diagnostic-history>summary{cursor:pointer}.mail-diagnostic-history>.stack{margin-top:16px}.mail-diagnostic-history article{padding:10px 0;border-bottom:1px solid #e2e8f0;overflow-wrap:anywhere}
@media(max-width:900px){.mail-admin-top{grid-template-columns:minmax(0,1fr)}.mail-error-table{min-width:650px}}@media(max-width:480px){.mail-test-form{flex-direction:column;align-items:stretch}.mail-config-facts{grid-template-columns:minmax(0,1fr)}.mail-config-facts dd{margin-bottom:6px}}

.profile-ticket-menu{min-width:0}.profile-ticket-menu>summary{width:100%;list-style:none;cursor:pointer;box-sizing:border-box}.profile-ticket-menu>summary::-webkit-details-marker{display:none}.profile-ticket-menu[open]{grid-column:1/-1}.profile-ticket-menu>.button{width:100%;margin-top:6px}#profile-revoke-dialog form{display:grid;gap:12px}#profile-revoke-dialog textarea{width:100%;box-sizing:border-box}

/* Individual ticket actions keep the QR and its details on one shared axis. */
.next-ui .ticket-action-grid{grid-template-columns:minmax(0,520px);justify-content:center;min-width:0}
.next-ui .ticket-action-grid .ticket-print{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;width:100%;box-sizing:border-box}
.next-ui .ticket-action-grid .ticket-print>img{display:block;max-width:100%;height:auto;margin:0 auto}
.next-ui .ticket-action-grid .ticket-art{display:block;max-width:100%;height:auto;margin:0 auto}
.next-ui .ticket-action-grid .ticket-print>p{margin:0;text-align:center}
.next-ui .ticket-action-grid .ticket-meta{width:100%;min-width:0;text-align:center;overflow-wrap:anywhere}
.next-ui .ticket-action-grid .ticket-meta p{margin:6px 0}
.next-ui .ticket-action-grid .ticket-meta .form{width:100%;max-width:440px;margin:16px auto 0;text-align:left}
.next-ui .ticket-action-grid .ticket-meta .form>p{text-align:center}
.next-ui .ticket-action-grid .ticket-meta .form>.button{justify-self:center;max-width:100%}

.event-delete{margin:10px 0;max-width:300px}.event-delete-label{color:var(--danger);cursor:pointer;font-weight:650}.event-delete[open]>.form{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:8px}.event-delete p{font-size:12px;line-height:1.5}

.event-date-field{border:0;padding:0;margin:0;min-width:0}.event-date-field legend{font-size:13px;font-weight:600;margin-bottom:6px}.event-date-controls{display:grid;grid-template-columns:minmax(65px,.7fr) minmax(110px,1.4fr) minmax(85px,1fr);gap:10px}.event-date-controls label{min-width:0;display:grid}.event-date-controls label>span{font-size:11px;color:var(--muted)}.event-date-controls select{width:100%;min-width:0}
.pending-workspace{display:grid;gap:18px;min-width:0}.pending-search{display:flex;gap:10px;align-items:center}.pending-search input{flex:1;min-width:0}.pending-table td{vertical-align:middle;overflow-wrap:anywhere}.pending-table small{display:block;color:var(--muted);margin-top:5px}.pending-table td:last-child{text-align:right}.pending-detail{display:grid;gap:16px}.pending-detail>form .button{width:100%}.pending-detail details form{margin-top:14px}@media(max-width:650px){.pending-workspace .request-toolbar{flex-wrap:wrap}.pending-workspace .segmented-tabs{flex-wrap:wrap}.pending-search{flex-wrap:wrap}}

.mobile-download{max-width:620px;display:grid;gap:18px}.mobile-download h1{margin:0;font-size:26px}.mobile-download p{margin:0}.mobile-download>.button{justify-self:start}.mobile-download ol{padding-left:22px;margin:0;line-height:1.6}.mobile-download li+li{margin-top:10px}
