:root{--adm-bg:#f6f8fb;--adm-surface:#fff;--adm-text:#152536;--adm-muted:#718096;--adm-line:#e5eaf0;--adm-navy:#102b43;--adm-navy-2:#183d5b;--adm-gold:#b99253;--adm-gold-soft:#f8f1e6;--adm-green:#198754;--adm-green-soft:#e8f7ef;--adm-amber:#a86f09;--adm-amber-soft:#fff5dc;--adm-red:#c2414b;--adm-red-soft:#ffedef;--adm-shadow:0 12px 36px rgba(15,35,52,.06);--adm-radius:18px}*{box-sizing:border-box}.admin-shell{min-height:100vh;background:var(--adm-bg);color:var(--adm-text);display:flex;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.admin-sidebar{position:fixed;inset:0 auto 0 0;width:276px;background:linear-gradient(180deg,#102b43 0%,#0e2437 100%);color:#fff;padding:20px 14px 16px;z-index:50;overflow-y:auto;box-shadow:18px 0 42px rgba(11,31,48,.12);display:flex;flex-direction:column}.admin-brand{display:flex;align-items:center;gap:11px;padding:4px 10px 20px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:14px}.admin-logo{width:43px;height:43px;border-radius:13px;object-fit:cover;border:1px solid rgba(255,255,255,.2);background:#fff}.brand-copy{min-width:0}.admin-brand b{display:block;font-size:12px;line-height:1.35;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-brand small{display:block;color:#91a9ba;font-size:10px;margin-top:3px}.workspace-pill{height:35px;display:flex;align-items:center;gap:8px;margin:0 5px 12px;padding:0 11px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.06);border-radius:9px;color:#c3d1da;font-size:10px;font-weight:700}.live-dot{width:7px;height:7px;border-radius:50%;background:#50d890;box-shadow:0 0 0 4px rgba(80,216,144,.11)}.workspace-chevron{margin-left:auto;color:#829aab;font-size:14px}.admin-nav{flex:1}.nav-label{font-size:9px;letter-spacing:.16em;color:#718da1;font-weight:850;padding:17px 12px 7px}.admin-nav a,.logout-link{display:flex;align-items:center;gap:11px;color:#c8d5de;text-decoration:none;padding:10px 12px;border-radius:10px;font-size:12px;font-weight:650;margin:2px 0;transition:background .18s ease,color .18s ease,transform .18s ease}.admin-nav a:hover,.logout-link:hover{background:rgba(255,255,255,.08);color:#fff;transform:translateX(2px)}.admin-nav a.active{background:linear-gradient(90deg,rgba(210,180,125,.2),rgba(210,180,125,.08));color:#fff;box-shadow:inset 3px 0 0 #d7b777}.admin-nav a .nav-ico,.logout-link .nav-ico{width:17px;height:17px;opacity:.88;flex:0 0 auto}.nav-count{margin-left:auto;color:#7d98aa;font-size:17px}.sidebar-footer{padding-top:15px;border-top:1px solid rgba(255,255,255,.1)}.help-card{display:flex;align-items:center;gap:9px;padding:11px;border-radius:12px;background:rgba(255,255,255,.065);margin-bottom:8px}.help-icon{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;color:#dec28b;background:rgba(222,194,139,.15);font-weight:800}.help-card b{display:block;font-size:10px}.help-card small{display:block;color:#91a9ba;font-size:9px;margin-top:2px}.help-card>span:last-child{margin-left:auto;color:#91a9ba}.logout-link{color:#90a8b9}.admin-main{margin-left:276px;min-width:0;width:calc(100% - 276px)}.admin-topbar{min-height:78px;background:rgba(255,255,255,.91);backdrop-filter:blur(14px);border-bottom:1px solid var(--adm-line);display:flex;justify-content:space-between;align-items:center;padding:0 36px;position:sticky;top:0;z-index:30}.admin-breadcrumb{display:grid;grid-template-columns:auto auto auto;align-items:center;column-gap:9px;min-width:0}.admin-breadcrumb span,.admin-breadcrumb i{font-size:11px;color:#9aa6b1;font-style:normal}.admin-breadcrumb strong{font-size:14px;color:var(--adm-text)}.admin-breadcrumb p{grid-column:1/-1;margin:3px 0 0;color:var(--adm-muted);font-size:11px}.admin-top-actions{display:flex;align-items:center;gap:13px}.top-search{height:35px;width:220px;border:1px solid var(--adm-line);background:#fbfcfd;border-radius:9px;display:flex;align-items:center;gap:7px;padding:0 9px;color:#8794a0}.top-search span{font-size:20px;line-height:1}.top-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:11px;color:var(--adm-text)}.top-search kbd{font-size:9px;border:1px solid #dfe5eb;border-radius:5px;padding:3px 4px;color:#9aa5af;white-space:nowrap}.top-icon{width:34px;height:34px;border:1px solid var(--adm-line);border-radius:9px;display:grid;place-items:center;color:#687887;text-decoration:none;font-size:16px}.top-divider{width:1px;height:27px;background:var(--adm-line)}.admin-user-chip{display:flex;align-items:center;gap:9px;padding:4px 5px 4px 4px;font-size:11px}.admin-avatar{width:31px;height:31px;border-radius:10px;background:var(--adm-gold-soft);color:#8b6d35;display:grid;place-items:center;font-weight:850}.user-meta b,.user-meta small{display:block}.user-meta b{font-size:11px;color:#2f3e4c}.user-meta small{font-size:9px;color:#8b97a2;margin-top:2px}.user-chevron{color:#98a4ae;margin-left:3px}.admin-content{padding:30px 36px 52px;max-width:1560px;margin:0 auto}.page-intro{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px}.page-intro h2{font-size:25px;margin:5px 0 0;letter-spacing:-.04em;line-height:1.2}.eyebrow{display:inline-block;color:#98783f;font-size:9px;font-weight:850;letter-spacing:.16em}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.metric{background:var(--adm-surface);border:1px solid var(--adm-line);border-radius:var(--adm-radius);padding:19px;box-shadow:0 4px 18px rgba(24,39,52,.025);min-width:0;position:relative;overflow:hidden}.metric:after{content:'';position:absolute;right:-22px;top:-22px;width:70px;height:70px;border-radius:50%;background:var(--adm-gold-soft);opacity:.55}.metric .label{font-size:9px;color:#7b8793;font-weight:800;letter-spacing:.11em;position:relative;z-index:1}.metric strong{display:block;font-size:26px;letter-spacing:-.05em;margin:11px 0 7px;line-height:1.05;overflow-wrap:anywhere;position:relative;z-index:1}.metric small{font-size:10px;color:#84909b;position:relative;z-index:1}.metric .trend{color:var(--adm-green);font-weight:750}.metric-icon{width:34px;height:34px;border-radius:10px;background:var(--adm-gold-soft);display:grid;place-items:center;margin-bottom:14px;color:#8b6f38}.admin-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:20px}.admin-card{background:var(--adm-surface);border:1px solid var(--adm-line);border-radius:var(--adm-radius);padding:21px;box-shadow:var(--adm-shadow);margin-bottom:20px;min-width:0}.admin-card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px}.admin-card h2{font-size:16px;margin:0;letter-spacing:-.025em}.admin-card p{color:var(--adm-muted)}.text-link{color:#8c6c32;text-decoration:none;font-weight:750}.text-link:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;padding:11px 15px;font-weight:750;font-size:12px;cursor:pointer;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.btn:hover{transform:translateY(-1px)}.btn.is-pressed{transform:scale(.97)}.btn-dark{background:var(--adm-navy);color:#fff;box-shadow:0 7px 18px rgba(16,40,61,.15)}.btn-outline{background:#fff;color:var(--adm-navy);border:1px solid #dce2e7}.btn-danger{background:var(--adm-red-soft);color:var(--adm-red);border:1px solid #f2d4d4}.btn-sm{padding:8px 11px;font-size:11px}.btn-full{width:100%}.admin-filters{display:flex;gap:9px;align-items:center;margin:0 0 16px;flex-wrap:wrap}.admin-filters input,.admin-filters select,.admin-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.admin-card select,.admin-card textarea{border:1px solid #dfe5ea;background:#fff;border-radius:10px;padding:11px 12px;font:inherit;font-size:12px;color:var(--adm-text);outline:none;transition:.18s ease}.admin-card input:focus,.admin-card select:focus,.admin-card textarea:focus,.admin-filters input:focus,.admin-filters select:focus,.top-search:focus-within{border-color:#b8c5cf;box-shadow:0 0 0 3px rgba(16,40,61,.06)}.admin-card label{font-size:11px;font-weight:750;color:#4d5863}.admin-card label>input,.admin-card label>select,.admin-card label>textarea{display:block;width:100%;margin-top:7px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.admin-table-wrap{overflow-x:auto;border:1px solid var(--adm-line);border-radius:12px}.admin-table{width:100%;border-collapse:collapse;font-size:11px}.admin-table th{text-align:left;color:#7c8791;font-size:9px;letter-spacing:.08em;text-transform:uppercase;padding:11px 12px;background:#fafbfc;border-bottom:1px solid var(--adm-line);white-space:nowrap}.admin-table td{padding:12px;border-bottom:1px solid #edf0f3;vertical-align:middle;color:#33404c}.admin-table tr:last-child td{border-bottom:0}.admin-table tbody tr:hover{background:#fbfcfd}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800;white-space:nowrap}.badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.badge-green{background:var(--adm-green-soft);color:var(--adm-green)}.badge-gold{background:var(--adm-amber-soft);color:var(--adm-amber)}.badge-red{background:var(--adm-red-soft);color:var(--adm-red)}.badge-gray{background:#eef2f5;color:#68737e}.alert{padding:12px 14px;border-radius:10px;background:#edf7f1;color:#2d6e50;border:1px solid #d8ecdf;margin-bottom:16px;font-size:12px}.pagination{display:flex;gap:5px;justify-content:flex-end;margin-top:15px}.pagination a{min-width:32px;height:32px;border:1px solid var(--adm-line);border-radius:8px;display:grid;place-items:center;color:#53606b;text-decoration:none;font-size:11px}.pagination a.active{background:var(--adm-navy);color:#fff;border-color:var(--adm-navy)}.check{display:flex!important;align-items:center;gap:8px;font-size:11px!important}.check input{width:auto!important;margin:0!important}.shirt-admin-form{display:grid;grid-template-columns:1fr 1.2fr .7fr auto auto;gap:10px;align-items:end}.inline-form{display:inline}.inline-input{width:80px!important;padding:7px 8px!important}.inline-input.small{width:95px!important}.report-row{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f3}.report-row:last-child{border-bottom:0}.green{color:var(--adm-green)}.gold{color:var(--adm-amber)}.progress{height:7px;border-radius:99px;background:#edf1f4;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,#a9884e,#c7aa72);border-radius:99px}.chart{height:170px;display:flex;align-items:flex-end;gap:10px;padding:18px 6px 0;border-bottom:1px solid var(--adm-line)}.bar{flex:1;min-width:14px;background:linear-gradient(180deg,#c6a86e,#a48348);border-radius:7px 7px 2px 2px;position:relative;transition:height .35s ease,filter .2s ease}.bar:hover{filter:brightness(1.08)}.bar:hover:after{content:attr(data-value);position:absolute;top:-25px;left:50%;transform:translateX(-50%);background:#162d40;color:#fff;padding:4px 6px;border-radius:6px;font-size:9px}.chart-labels{display:flex;gap:10px;padding:8px 6px 0}.chart-labels span{flex:1;text-align:center;font-size:9px;color:#7c8791}.quick-list{display:grid;gap:10px}.quick-item{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--adm-line);border-radius:12px;padding:12px;transition:.18s ease}.quick-item:hover{border-color:#cbd5dd;background:#fcfdfd;transform:translateX(2px)}.quick-item strong{font-size:12px}.quick-item small{display:block;color:var(--adm-muted);font-size:9px;margin-top:2px}.quick-value{font-size:18px;font-weight:850;color:#8a6d36}.admin-mobile-toggle{display:none}.admin-mobile-overlay{display:none}.login-page{min-height:100vh;background:radial-gradient(circle at 15% 15%,rgba(183,150,88,.16),transparent 30%),linear-gradient(135deg,#0f273b,#173c5a);display:grid;place-items:center;padding:24px}.login-box{width:min(440px,100%);background:#fff;border-radius:24px;padding:34px;box-shadow:0 28px 70px rgba(0,0,0,.22)}.login-logo-image{max-width:150px;max-height:95px;object-fit:contain;display:block;margin:0 auto 18px}.login-box h1{text-align:center;margin:0 0 8px;font-size:27px;letter-spacing:-.04em}.login-box>p{text-align:center;color:#74808a;font-size:12px;margin:0 0 24px}.login-box label{display:block;font-size:11px;font-weight:750;margin-bottom:12px}.login-box input{width:100%;margin-top:7px;border:1px solid #dfe5ea;border-radius:10px;padding:12px;font:inherit}.login-box .back-link{text-align:center;color:#687681;text-decoration:none;font-size:11px}.status-stack{display:flex;gap:6px;flex-wrap:wrap}.section-note{font-size:10px;color:var(--adm-muted);margin-top:5px}.divider{height:1px;background:var(--adm-line);margin:18px 0}.admin-card form>.btn{margin-top:12px}@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid{grid-template-columns:1fr}.shirt-admin-form{grid-template-columns:1fr 1fr}.shirt-admin-form .btn{width:100%}.top-search{width:180px}}@media(max-width:900px){.admin-sidebar{transform:translateX(-102%);transition:transform .22s ease;width:min(300px,86vw)}.admin-sidebar.is-open{transform:translateX(0)}.admin-main{margin-left:0;width:100%}.admin-mobile-toggle{display:flex;position:fixed;z-index:65;left:14px;top:17px;width:40px;height:40px;border:1px solid rgba(255,255,255,.16);background:#10283d;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:4px;box-shadow:0 8px 20px rgba(11,31,48,.18)}.admin-mobile-toggle span{display:block;width:17px;height:2px;background:#fff;border-radius:5px}.admin-mobile-overlay{display:block;position:fixed;inset:0;background:rgba(7,19,29,.44);z-index:45;opacity:0;pointer-events:none;transition:.2s}.admin-mobile-overlay.is-visible{opacity:1;pointer-events:auto}.admin-topbar{padding:0 16px 0 68px;min-height:72px}.admin-content{padding:22px 16px 36px}.admin-user-chip,.top-divider,.top-icon{display:none}.page-intro{align-items:flex-start;flex-direction:column}.two-col,.three-col{grid-template-columns:1fr}.admin-card{padding:17px}.top-search{width:205px;margin-left:auto}.admin-table{min-width:760px}.admin-table-wrap .admin-table{min-width:760px}}@media(max-width:600px){.metric-grid{grid-template-columns:1fr 1fr;gap:10px}.metric{padding:14px;border-radius:14px}.metric strong{font-size:20px}.admin-card-head{align-items:flex-start;flex-direction:column}.admin-card-head .btn{width:100%}.admin-filters{flex-direction:column;align-items:stretch}.admin-filters>*{width:100%}.admin-table:not(.keep-table){display:block;min-width:0!important}.admin-table:not(.keep-table) thead{display:none}.admin-table:not(.keep-table) tbody{display:block}.admin-table:not(.keep-table) tr{display:block;border:1px solid var(--adm-line);border-radius:12px;padding:8px 11px;margin-bottom:9px}.admin-table:not(.keep-table) td{display:grid;grid-template-columns:38% 62%;gap:8px;border-bottom:1px dashed #edf0f3;padding:8px 0;text-align:right}.admin-table:not(.keep-table) td:last-child{border-bottom:0}.admin-table:not(.keep-table) td:before{content:attr(data-label);text-align:left;color:#808a94;font-size:8px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.admin-table-wrap{border:0;overflow:visible}.shirt-admin-form{grid-template-columns:1fr}.admin-breadcrumb p{display:none}.admin-breadcrumb strong{font-size:16px}.admin-title-wrap h1{font-size:18px}.page-intro h2{font-size:20px}.login-box{padding:26px 20px;border-radius:19px}}@media(max-width:390px){.metric-grid{grid-template-columns:1fr}.admin-content{padding-left:10px;padding-right:10px}}

/* Enterprise polish: scrollbars, type rhythm and touch ergonomics */
html{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#b9c4ce #eef2f5}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}*{scrollbar-width:thin;scrollbar-color:#b7c3cd transparent}*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#b8c4ce;border:3px solid transparent;background-clip:padding-box;border-radius:99px}*::-webkit-scrollbar-thumb:hover{background:#8fa0ad;border:2px solid transparent;background-clip:padding-box}.admin-sidebar::-webkit-scrollbar-thumb{background:#496277;border:3px solid transparent;background-clip:padding-box}.admin-sidebar::-webkit-scrollbar-thumb:hover{background:#688096;border:2px solid transparent;background-clip:padding-box}.admin-table-wrap{scrollbar-gutter:stable}.admin-table-wrap::-webkit-scrollbar{height:8px}.admin-table-wrap::-webkit-scrollbar-track{background:#f4f7f9;border-radius:99px}.admin-table-wrap::-webkit-scrollbar-thumb{background:#abb9c4;border:2px solid #f4f7f9;background-clip:padding-box}.admin-mobile-toggle{touch-action:manipulation;cursor:pointer}.admin-mobile-overlay{touch-action:none}.admin-nav a,.logout-link,.btn,.top-icon{min-height:38px;touch-action:manipulation}@media(max-width:900px){.admin-sidebar{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.admin-main{overflow-x:hidden}.admin-content{width:100%;overflow:hidden}.admin-topbar{padding-right:14px}.admin-top-actions{margin-left:auto}.top-search{display:none!important}}@media(max-width:600px){.admin-mobile-toggle{top:15px;left:12px;width:44px;height:44px}.admin-topbar{min-height:68px}.admin-content{padding-top:18px}.admin-card{box-shadow:0 6px 20px rgba(15,35,52,.05)}.admin-filters input,.admin-filters select,.admin-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.admin-card select,.admin-card textarea{min-height:44px;font-size:16px}.btn{min-height:44px}.admin-table:not(.keep-table) td{font-size:12px}.page-intro .btn{width:100%}body.menu-open{overflow:hidden;touch-action:none}}

/* Mobile override: the legacy stylesheet hides every nav span below 850px. Enterprise nav must stay readable. */
@media(max-width:900px){.admin-sidebar .admin-nav a span{display:block}.admin-sidebar .admin-nav a .nav-ico{display:block;width:18px;height:18px}.admin-sidebar .admin-nav a .nav-count{display:block;margin-left:auto}.admin-sidebar .nav-label{display:block}.admin-sidebar .admin-brand b{display:block;font-size:12px!important}.admin-sidebar .admin-brand small{display:block!important}.admin-sidebar .brand-copy{display:block;min-width:0}.admin-sidebar .admin-brand{display:flex;align-items:center}.admin-sidebar .admin-nav a{justify-content:flex-start;padding:11px 12px}}


/* Final admin spacing system: predictable vertical rhythm on compact screens. */
.admin-content>*+*{margin-top:20px}.admin-content .page-intro{margin-top:0;margin-bottom:0}.admin-content .metric-grid{margin-top:0;margin-bottom:0}.admin-content .admin-grid{margin-top:0}.admin-card>*+*{margin-top:14px}.admin-card .admin-card-head{margin-top:0;margin-bottom:17px}.admin-card form>*+*{margin-top:13px}.admin-card .admin-filters{margin-top:0;margin-bottom:16px}.admin-card .admin-table-wrap{margin-top:0}.admin-card .btn+.btn{margin-left:6px}.admin-card-head .btn+.btn{margin-left:0}.admin-nav .nav-label+ a{margin-top:1px}@media(max-width:900px){.admin-content{padding-top:24px}.page-intro{margin-bottom:0}.admin-card{margin-bottom:0}.admin-card .admin-card-head{gap:12px}.admin-card .admin-card-head>*{max-width:100%}.admin-card .admin-card-head .btn{margin-top:0}.admin-card form>*+*{margin-top:14px}.admin-card .two-col,.admin-card .three-col{row-gap:14px}.admin-table-wrap{margin-top:0}.admin-table:not(.keep-table) tr{margin-bottom:11px}.admin-table:not(.keep-table) td{min-height:34px}.pagination{margin-top:16px}.sidebar-footer{padding-bottom:5px}}@media(max-width:600px){.admin-content>*+*{margin-top:16px}.admin-content{padding-top:18px;padding-bottom:30px}.admin-card{padding:18px 15px;border-radius:15px}.admin-card>*+*{margin-top:16px}.admin-card .admin-card-head{margin-bottom:16px}.admin-card .admin-card-head h2{line-height:1.3}.admin-card form>*+*{margin-top:15px}.admin-filters{gap:9px}.admin-filters .btn{min-height:44px}.admin-card .btn{min-height:42px}.admin-table:not(.keep-table) td{padding:9px 0}.admin-table:not(.keep-table) tr{padding:9px 12px}.admin-nav a{min-height:42px;padding-top:11px;padding-bottom:11px}.nav-label{padding-top:19px}.help-card{min-height:58px}.logout-link{min-height:42px}}
CSS
php -l /tmp/retiro-catolico/admin/_layout.php

/* Narrow mobile gutter correction: keep every label and card comfortably away from edges. */
@media(max-width:600px){.admin-content{padding-left:16px;padding-right:16px}.page-intro,.metric-grid,.admin-grid{width:100%}.admin-card{width:100%;padding-left:18px;padding-right:18px}.admin-card h2,.admin-card p,.admin-card label,.admin-card .section-note{overflow-wrap:anywhere}.metric{padding-left:16px;padding-right:16px}.admin-table:not(.keep-table) tr{padding-left:13px;padding-right:13px}.admin-table:not(.keep-table) td{padding-left:1px;padding-right:1px}.admin-topbar{padding-right:16px}.admin-breadcrumb{max-width:calc(100vw - 88px)}.admin-breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(max-width:390px){.admin-content{padding-left:18px;padding-right:18px}.admin-card{padding-left:17px;padding-right:17px}.metric-grid{gap:12px}.admin-topbar{padding-left:64px;padding-right:14px}}

/* End-to-end mobile alignment pass: no squeezed actions or edge-hugging content. */
@media(max-width:600px){.page-intro{width:100%;gap:14px}.page-intro>div{width:100%;min-width:0}.page-intro>.btn,.page-intro .status-stack{width:100%}.page-intro>.btn{align-self:stretch}.status-stack{display:flex;flex-direction:column;gap:9px}.status-stack .btn{width:100%;min-height:44px}.admin-card-head{width:100%;padding-bottom:1px}.admin-card-head>div{width:100%;min-width:0}.admin-card-head .btn{width:100%;min-height:44px}.admin-card-head .status-stack{width:100%}.admin-card form[style]{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.admin-card form[style]>*{width:100%!important;min-width:0!important}.admin-card .inline-form{display:block!important;width:100%;margin:8px 0 0!important}.admin-card .inline-form .btn{width:100%;min-height:42px}.admin-card .shirt-admin-form{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.admin-card .shirt-admin-form>*{width:100%!important}.admin-card .admin-card-head+.admin-table-wrap,.admin-card .admin-card-head+form{margin-top:0}.admin-card .divider{margin:20px 0}.admin-card .alert{line-height:1.5}.admin-card .report-row{gap:12px;align-items:flex-start}.admin-card .report-row>*:last-child{text-align:right;overflow-wrap:anywhere}.admin-card textarea{min-height:104px;resize:vertical}.admin-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.admin-card select{min-height:44px}.admin-top-actions{min-width:0}.admin-breadcrumb{min-width:0}.admin-breadcrumb span{display:none}.admin-breadcrumb i{display:none}}

/* Desktop alignment pass: consistent gutters, action rails, and card rhythm. */
@media(min-width:901px){.admin-content{padding:32px 40px 48px}.page-intro{align-items:flex-start;gap:28px}.page-intro>div{min-width:0}.page-intro>.btn,.page-intro .status-stack{flex:0 0 auto;margin-top:4px}.status-stack{display:flex;gap:10px;align-items:center}.admin-card{padding:26px}.admin-card-head{gap:20px;align-items:flex-start}.admin-card-head>div{min-width:0}.admin-card form{gap:16px}.admin-card .btn{min-height:42px}.admin-card .admin-card-head .btn{margin-top:0}.admin-grid{gap:24px}.admin-content>*+*{margin-top:24px}.admin-table-wrap{margin-top:18px}.admin-table th,.admin-table td{padding-left:14px;padding-right:14px}.report-row{min-height:48px;padding:12px 0}.schedule-row{gap:14px;margin-bottom:14px}.shirt-admin-form{gap:12px!important}.top-icon{margin-right:8px}}

/* Dashboard: recent registrations stay in flow without an inner scrollbar. */
.recent-registrations .admin-table-wrap{overflow:visible;height:auto;max-height:none;scrollbar-width:none}.recent-registrations .admin-table-wrap::-webkit-scrollbar{display:none}.recent-registrations .admin-table{min-width:0;width:100%}@media(max-width:900px){.recent-registrations .admin-table-wrap{overflow:visible}.recent-registrations .admin-table{table-layout:fixed}.recent-registrations .admin-table td,.recent-registrations .admin-table th{overflow-wrap:anywhere}}@media(max-width:600px){.recent-registrations .admin-table{display:block}.recent-registrations .admin-table thead{display:none}.recent-registrations .admin-table tbody,.recent-registrations .admin-table tr{display:block;width:100%}.recent-registrations .admin-table tr{margin-bottom:12px;padding:13px 14px}.recent-registrations .admin-table td{display:flex;justify-content:space-between;gap:12px;width:100%;min-height:34px}.recent-registrations .admin-table td:before{font-size:10px;font-weight:700;color:#89939b;letter-spacing:.05em;text-transform:uppercase}.recent-registrations .admin-table td:nth-child(2):before{content:'WhatsApp'}.recent-registrations .admin-table td:nth-child(3):before{content:'Camiseta'}.recent-registrations .admin-table td:nth-child(4):before{content:'Total'}.recent-registrations .admin-table td:nth-child(5):before{content:'Pagamento'}.recent-registrations .admin-table td:nth-child(6):before{content:'Ação'}.recent-registrations .admin-table td:first-child{display:block;padding-bottom:8px;margin-bottom:4px;border-bottom:1px solid #eef0f1}.recent-registrations .admin-table td:first-child:before{display:none}}

/* Media upload controls for event identity. */
.media-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.media-upload-grid label{display:flex;flex-direction:column;gap:9px}.media-upload-grid input[type=file]{padding:12px;border:1px dashed #cfc7b8;background:#fcfbf8;border-radius:10px;color:#394550}.media-preview{display:block;width:100%;height:100px;object-fit:contain;object-position:center;border:1px solid #ebe6dc;border-radius:12px;background:#f7f6f2;padding:8px}.media-preview-banner{object-fit:cover}@media(max-width:700px){.media-upload-grid{grid-template-columns:1fr;gap:16px}.media-preview{height:120px}}

/* Enterprise confirmation dialog */
.admin-confirm-backdrop{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:24px;background:rgba(9,25,39,.58);backdrop-filter:blur(8px);animation:confirmFade .18s ease}.admin-confirm-backdrop[hidden]{display:none}.admin-confirm-dialog{position:relative;width:min(440px,100%);padding:30px;border:1px solid rgba(255,255,255,.72);border-radius:22px;background:linear-gradient(145deg,#fff 0%,#fbfcfd 100%);box-shadow:0 28px 80px rgba(5,20,34,.28);animation:confirmRise .22s ease}.admin-confirm-close{position:absolute;top:16px;right:16px;width:34px;height:34px;border:1px solid #e2e8ec;border-radius:10px;background:#fff;color:#66737d;font-size:22px;line-height:1;cursor:pointer}.admin-confirm-close:hover{background:#f3f6f8;color:#102b43}.admin-confirm-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:18px;border-radius:15px;background:#fff2e7;color:#bd6e2e;font-size:23px;font-weight:800;box-shadow:0 0 0 7px #fff9f4}.admin-confirm-eyebrow{display:block;margin-bottom:8px;color:#a77d36;font-size:10px;font-weight:800;letter-spacing:.14em}.admin-confirm-dialog h2{margin:0;color:#132b40;font-family:'DM Sans',sans-serif;font-size:24px;letter-spacing:-.035em;line-height:1.2}.admin-confirm-dialog p{margin:12px 0 24px;color:#66737d;font-size:14px;line-height:1.65}.admin-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-confirm-actions .btn{min-height:46px}.confirm-open{overflow:hidden}@keyframes confirmFade{from{opacity:0}to{opacity:1}}@keyframes confirmRise{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:600px){.admin-confirm-backdrop{padding:16px}.admin-confirm-dialog{padding:26px 20px;border-radius:19px}.admin-confirm-dialog h2{font-size:22px}.admin-confirm-actions{grid-template-columns:1fr}.admin-confirm-actions .btn{min-height:48px}}


/* Async save feedback */
.admin-async-toast{position:fixed;right:28px;bottom:28px;z-index:4000;max-width:360px;padding:14px 18px;border:1px solid #cfe8d9;border-radius:13px;background:#effaf3;color:#176b43;box-shadow:0 14px 34px rgba(10,45,30,.16);font-size:13px;font-weight:700;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}.admin-async-toast.is-visible{opacity:1;transform:none}.admin-async-toast.error{border-color:#f2c9c9;background:#fff3f3;color:#a33e3e}.async-spinner{display:inline-block;width:13px;height:13px;margin-right:4px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:asyncSpin .65s linear infinite}@keyframes asyncSpin{to{transform:rotate(360deg)}}@media(max-width:600px){.admin-async-toast{right:16px;bottom:16px;left:16px;max-width:none;text-align:center}}
.admin-live-notice{position:fixed;top:22px;right:26px;z-index:4000;padding:13px 18px;border:1px solid #bfe4ce;border-radius:12px;background:#effaf3;color:#176b43;box-shadow:0 12px 30px rgba(10,45,30,.16);font-size:13px;font-weight:700;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s ease}.admin-live-notice.is-visible{opacity:1;transform:none}@media(max-width:600px){.admin-live-notice{top:14px;right:14px;left:14px;text-align:center}}


/* Modern enterprise visual layer */
.admin-shell{font-family:'DM Sans',Inter,ui-sans-serif,system-ui,sans-serif;background:#f4f7f9;color:#172c3f}.admin-sidebar{background:linear-gradient(180deg,#0b263d 0%,#102f49 52%,#0b2439 100%)}.admin-brand b,.admin-card h2,.page-intro h2,.admin-breadcrumb strong,.metric strong,.login-box h1{font-family:Manrope,'DM Sans',sans-serif}.admin-brand{border-color:rgba(255,255,255,.14)}.admin-nav a{font-size:12px;letter-spacing:-.01em}.admin-nav a.active{background:linear-gradient(90deg,rgba(218,185,115,.23),rgba(218,185,115,.07));box-shadow:inset 3px 0 #e0bd79,0 8px 22px rgba(0,0,0,.08)}.nav-label{color:#9db1bf}.admin-topbar{background:rgba(255,255,255,.94);box-shadow:0 1px 0 rgba(19,43,64,.02)}.admin-content{padding-top:34px}.page-intro{margin-bottom:28px}.page-intro h2{font-size:27px;color:#142d43}.eyebrow{color:#a47d39;font-size:10px}.admin-card,.metric{border-color:#e1e8ed;box-shadow:0 10px 30px rgba(22,47,67,.045)}.admin-card{padding:24px}.metric{padding:21px}.metric-icon{background:#f7efdf;color:#9b763a}.metric .trend{color:#17804c}.btn-dark{background:linear-gradient(135deg,#10334f,#164968)}.btn-outline{box-shadow:0 1px 0 rgba(14,38,56,.04)}.admin-table th{background:#f7fafb;color:#748592}.admin-table td{padding:14px 13px}.admin-table tbody tr:hover{background:#f7fbfd}.badge{letter-spacing:.01em}.badge-green{background:#e9f8ef;border:1px solid #d0eedc}.badge-gold{background:#fff5df;border:1px solid #f2dfb4}.badge-red{background:#fff0f1;border:1px solid #f2d1d4}.admin-live-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #d5eddf;border-radius:999px;background:#f0faf4;color:#27744d;font-size:10px;font-weight:800;white-space:nowrap}.admin-live-badge i{width:7px;height:7px;border-radius:50%;background:#35c778;box-shadow:0 0 0 4px rgba(53,199,120,.12);animation:livePulse 1.8s infinite}.status-stack{gap:8px}@keyframes livePulse{0%,100%{opacity:1}50%{opacity:.45}}@media(max-width:900px){.admin-card{padding:19px}.admin-live-badge{display:none}}

/* Shirt size form: keep checkbox and primary action aligned to the control baseline. */
.shirt-admin-form{align-items:end!important}.shirt-admin-form .check{height:42px;display:flex!important;align-items:center;justify-content:flex-start;gap:8px;white-space:nowrap;padding-bottom:1px}.shirt-admin-form .check input[type=checkbox]{display:inline-block!important;width:16px!important;height:16px;margin:0!important;flex:0 0 16px}.shirt-admin-form>.btn{height:42px;align-self:end;white-space:nowrap}@media(max-width:1100px){.shirt-admin-form .check{min-height:42px}}@media(max-width:600px){.shirt-admin-form .check{height:42px;min-height:42px}.shirt-admin-form>.btn{width:100%;height:46px}}

/* Global status language: pending orange, positive states green, cancellation red. */
.badge-gold,.status-pending{background:#fff3dc!important;border-color:#f2d6a2!important;color:#b36a08!important}.badge-green,.status-positive{background:#e8f8ee!important;border-color:#c9ead5!important;color:#187a48!important}.badge-red,.status-cancelled{background:#fff0f1!important;border-color:#f0c9ce!important;color:#bd3e49!important}.btn-danger,[class*="cancel"] .btn,[data-confirm*="Cancelar"],[data-confirm*="cancelar"]{background:#fff0f1!important;border-color:#efc6cb!important;color:#b63843!important}.status-value{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-family:'DM Sans',sans-serif;font-size:12px!important;line-height:1}.status-value:before{content:'';width:6px;height:6px;margin-right:7px;border-radius:50%;background:currentColor}.badge-gray{background:#eef2f5!important;color:#68737e!important;border-color:#dde5ea!important}

/* Final responsive standard: compact controls and no inner desktop scrollbars. */
@media(min-width:901px){.admin-table-wrap{overflow:visible!important}.admin-table{width:100%;min-width:0!important;table-layout:fixed}.admin-table th,.admin-table td{white-space:normal;overflow-wrap:anywhere}.admin-table td form[style]{display:grid!important;grid-template-columns:minmax(70px,1fr) minmax(75px,1fr) minmax(110px,auto) auto;align-items:center;gap:8px}.admin-table td .btn{white-space:nowrap}.pagination{margin-top:20px}}
@media(max-width:600px){.admin-shell{font-size:13px}.admin-content{padding-left:14px;padding-right:14px}.admin-card{padding:16px 14px!important}.page-intro h2{font-size:19px!important}.admin-card h2{font-size:15px!important}.admin-card .section-note,.admin-card p{font-size:11px;line-height:1.5}.admin-card label{font-size:11px}.admin-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.admin-card select{min-height:42px;padding:10px 11px;font-size:12px}.admin-card textarea{font-size:12px}.admin-card .btn,.page-intro>.btn,.status-stack .btn{min-height:40px;padding:9px 11px;font-size:11px;border-radius:9px}.admin-card-head{margin-bottom:13px!important}.metric{padding:13px!important}.metric .label{font-size:8px}.metric strong{font-size:19px!important}.metric small{font-size:9px}.admin-table:not(.keep-table) td{font-size:11px;line-height:1.35}.badge{font-size:8px;padding:4px 7px}.pagination a{min-width:30px;height:30px}}

/* Camisetas module isolation: preserve readable columns and aligned row actions. */
.shirt-sizes-table{table-layout:auto!important;min-width:0!important}.shirt-sizes-table th:nth-child(1){width:9%}.shirt-sizes-table th:nth-child(2){width:12%}.shirt-sizes-table th:nth-child(3),.shirt-sizes-table th:nth-child(4),.shirt-sizes-table th:nth-child(5){width:11%}.shirt-sizes-table th:nth-child(6){width:13%}.shirt-sizes-table th:nth-child(7){width:33%}.shirt-sizes-table td{vertical-align:middle}.shirt-sizes-table td form[style]{display:grid!important;grid-template-columns:minmax(64px,1fr) minmax(64px,1fr) auto auto!important;align-items:center!important;gap:8px!important}.shirt-sizes-table td form[style] .check{display:flex!important;align-items:center!important;gap:5px;white-space:nowrap}.shirt-sizes-table td form[style] .check input{width:16px!important;height:16px;margin:0!important}@media(max-width:900px){.shirt-sizes-table{table-layout:auto!important}.shirt-sizes-table th:nth-child(7){width:auto}.shirt-sizes-table td form[style]{grid-template-columns:1fr!important;gap:10px!important}.shirt-sizes-table td form[style] .check{height:40px}.shirt-sizes-table td form[style] .btn{width:100%}}@media(max-width:600px){.shirt-sizes-table td{grid-template-columns:38% 62%!important}.shirt-sizes-table td:last-child{display:block!important;padding-top:12px}.shirt-sizes-table td:last-child:before{display:none}.shirt-sizes-table td form[style]{margin:0!important}.shirt-sizes-table td form[style]>*{width:100%!important}.shirt-sizes-table td form[style] input[type=hidden]{display:none!important}.shirt-sizes-table td form[style] .check{display:flex!important;width:100%!important}}

/* Tamanhos cadastrados: stable desktop grid and clean mobile cards. */
.shirt-catalog-card{overflow:visible!important}.shirt-catalog-card .admin-table-wrap{overflow:visible!important;border:1px solid var(--adm-line);border-radius:12px}.shirt-catalog-card .shirt-sizes-table{width:100%!important;table-layout:fixed!important}.shirt-catalog-card .shirt-sizes-table th,.shirt-catalog-card .shirt-sizes-table td{padding:12px 10px;vertical-align:middle}.shirt-catalog-card .shirt-sizes-table th:nth-child(1){width:10%}.shirt-catalog-card .shirt-sizes-table th:nth-child(2){width:12%}.shirt-catalog-card .shirt-sizes-table th:nth-child(3),.shirt-catalog-card .shirt-sizes-table th:nth-child(4),.shirt-catalog-card .shirt-sizes-table th:nth-child(5){width:10%}.shirt-catalog-card .shirt-sizes-table th:nth-child(6){width:13%}.shirt-catalog-card .shirt-sizes-table th:nth-child(7){width:35%}.shirt-catalog-card .shirt-sizes-table td:last-child{padding-right:12px}.shirt-catalog-card .shirt-sizes-table td form[style]{width:100%;grid-template-columns:minmax(55px,1fr) minmax(55px,1fr) auto auto!important;gap:6px!important}.shirt-catalog-card .shirt-sizes-table td form[style] input:not([type=hidden]){min-width:0;width:100%}.shirt-catalog-card .shirt-sizes-table td form[style] .check{font-size:10px}.shirt-catalog-card .shirt-sizes-table td form[style] .btn{padding-left:9px;padding-right:9px}@media(max-width:1100px) and (min-width:601px){.shirt-catalog-card .shirt-sizes-table{font-size:10px}.shirt-catalog-card .shirt-sizes-table th,.shirt-catalog-card .shirt-sizes-table td{padding-left:7px;padding-right:7px}.shirt-catalog-card .shirt-sizes-table td form[style]{grid-template-columns:1fr 1fr!important}.shirt-catalog-card .shirt-sizes-table td form[style] .check,.shirt-catalog-card .shirt-sizes-table td form[style] .btn{grid-column:span 1;width:100%}}@media(max-width:600px){.shirt-catalog-card{padding:15px 13px!important}.shirt-catalog-card .admin-table-wrap{border:0}.shirt-catalog-card .shirt-sizes-table tr{padding:10px 12px!important;margin-bottom:10px!important;background:#fff}.shirt-catalog-card .shirt-sizes-table td{padding:8px 0!important}.shirt-catalog-card .shirt-sizes-table td:last-child{padding-top:13px!important;margin-top:4px;border-top:1px solid #edf0f3}.shirt-catalog-card .shirt-sizes-table td form[style]{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.shirt-catalog-card .shirt-sizes-table td form[style] .check{height:38px}.shirt-catalog-card .shirt-sizes-table td form[style] .btn{min-height:40px;width:100%}}

/* Novo tamanho: explicit five-column alignment, isolated from generic form spacing. */
.admin-card:has(.shirt-admin-form){overflow:visible!important}.shirt-admin-form{display:grid!important;grid-template-columns:minmax(150px,1.25fr) minmax(150px,1.25fr) minmax(100px,.8fr) minmax(88px,.72fr) auto!important;align-items:end!important;column-gap:14px!important;row-gap:12px!important;width:100%!important}.shirt-admin-form>*{margin-top:0!important;min-width:0}.shirt-admin-form>label:not(.check){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;line-height:1.2}.shirt-admin-form>label:not(.check) input{width:100%!important}.shirt-admin-form>.check{display:flex!important;align-items:center!important;align-self:end!important;gap:7px!important;height:42px!important;padding:0!important;line-height:1!important}.shirt-admin-form>.check input[type=checkbox]{appearance:auto!important;width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important}.shirt-admin-form>.btn{align-self:end!important;height:42px!important;margin:0!important;white-space:nowrap!important}@media(max-width:1100px){.shirt-admin-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.shirt-admin-form>.check{align-self:end!important}.shirt-admin-form>.btn{width:100%!important}}@media(max-width:600px){.shirt-admin-form{grid-template-columns:1fr!important;column-gap:0!important;row-gap:12px!important}.shirt-admin-form>label:not(.check){gap:6px!important}.shirt-admin-form>.check{height:40px!important;align-self:start!important}.shirt-admin-form>.btn{width:100%!important;height:46px!important;margin-top:2px!important}}

/* Novo tamanho: status is a real field, so checkbox and submit share the input baseline. */
.shirt-admin-form>.check{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:7px!important;height:auto!important;padding:0!important;font-size:inherit!important;line-height:1.2!important}.shirt-admin-form>.check .check-caption{display:block!important;height:auto!important;min-height:15px;color:inherit;font:inherit}.shirt-admin-form>.check .check-control{display:flex!important;align-items:center!important;gap:7px!important;height:42px!important;min-height:42px!important;padding:10px 11px!important;border:1px solid #d7dfe5;border-radius:10px;background:#fff;color:#263b4d;box-sizing:border-box}.shirt-admin-form>.check .check-control input[type=checkbox]{appearance:auto!important;width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important}.shirt-admin-form>.check .check-control>span{font-size:12px;font-weight:600;line-height:1}.shirt-admin-form>.btn{align-self:end!important;margin:0!important;height:42px!important;min-height:42px!important}@media(max-width:600px){.shirt-admin-form>.check{gap:6px!important}.shirt-admin-form>.check .check-control{height:42px!important;min-height:42px!important}.shirt-admin-form>.btn{height:46px!important;min-height:46px!important;margin-top:0!important}}

/* Novo tamanho: action cell mirrors every field label row for exact baseline alignment. */
.shirt-admin-form>.shirt-submit-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;height:auto!important;margin:0!important;padding:0!important;align-self:end!important}.shirt-admin-form>.shirt-submit-field .shirt-field-label{display:block!important;height:15px!important;min-height:15px!important;line-height:15px!important;visibility:hidden!important}.shirt-admin-form>.shirt-submit-field .btn{display:block!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;align-self:stretch!important;white-space:nowrap!important}@media(max-width:1100px){.shirt-admin-form>.shirt-submit-field{width:100%!important}.shirt-admin-form>.shirt-submit-field .btn{width:100%!important}}@media(max-width:600px){.shirt-admin-form>.shirt-submit-field{gap:6px!important}.shirt-admin-form>.shirt-submit-field .shirt-field-label{height:15px!important;min-height:15px!important}.shirt-admin-form>.shirt-submit-field .btn{height:46px!important;min-height:46px!important}}


/* Novo tamanho: all five controls share one explicit axis and identical field height. */
@media(min-width:1101px){.shirt-admin-form{grid-template-columns:minmax(0,1.25fr) minmax(0,1.25fr) minmax(0,.85fr) minmax(0,.9fr) minmax(112px,.9fr)!important;align-items:stretch!important;gap:14px!important}.shirt-admin-form>label:not(.check),.shirt-admin-form>.check,.shirt-admin-form>.shirt-submit-field{height:73px!important;min-height:73px!important;box-sizing:border-box!important;align-self:stretch!important}.shirt-admin-form>label:not(.check),.shirt-admin-form>.check,.shirt-admin-form>.shirt-submit-field{padding-top:0!important}.shirt-admin-form>label:not(.check) input,.shirt-admin-form>.check .check-control,.shirt-admin-form>.shirt-submit-field .btn{height:42px!important;min-height:42px!important;box-sizing:border-box!important}.shirt-admin-form>.check .check-caption,.shirt-admin-form>.shirt-submit-field .shirt-field-label{height:15px!important;min-height:15px!important;line-height:15px!important}.shirt-admin-form>.shirt-submit-field .btn{width:100%!important}}
@media(max-width:1100px){.shirt-admin-form>.check .check-control{white-space:nowrap}.shirt-admin-form>.check .check-caption{display:block!important;margin-bottom:0!important}}


/* Final rebuild: labels and controls are independent grid rows with one shared axis. */
@media(min-width:1101px){.shirt-admin-form{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1.25fr) minmax(0,.85fr) minmax(0,.9fr) minmax(120px,.9fr)!important;grid-template-rows:18px 42px!important;align-items:stretch!important;column-gap:14px!important;row-gap:7px!important}.shirt-admin-form>.shirt-field{display:contents!important}.shirt-admin-form>.shirt-field>label,.shirt-admin-form>.shirt-field>.shirt-action-label{grid-row:1!important;align-self:start!important;height:18px!important;line-height:18px!important;margin:0!important;padding:0!important}.shirt-admin-form>.shirt-field>input,.shirt-admin-form>.shirt-status-field>.shirt-status-control,.shirt-admin-form>.shirt-action-field>.btn{grid-row:2!important;align-self:stretch!important;height:42px!important;min-height:42px!important;margin:0!important;box-sizing:border-box!important}.shirt-admin-form>.shirt-field:nth-of-type(1)>label{grid-column:1}.shirt-admin-form>.shirt-field:nth-of-type(1)>input{grid-column:1}.shirt-admin-form>.shirt-field:nth-of-type(2)>label{grid-column:2}.shirt-admin-form>.shirt-field:nth-of-type(2)>input{grid-column:2}.shirt-admin-form>.shirt-field:nth-of-type(3)>label{grid-column:3}.shirt-admin-form>.shirt-field:nth-of-type(3)>input{grid-column:3}.shirt-admin-form>.shirt-status-field>label{grid-column:4}.shirt-admin-form>.shirt-status-field>.shirt-status-control{grid-column:4}.shirt-admin-form>.shirt-action-field>.shirt-action-label{grid-column:5;visibility:hidden}.shirt-admin-form>.shirt-action-field>.btn{grid-column:5;width:100%!important}.shirt-admin-form input:not([type=hidden]){width:100%!important}.shirt-status-control{display:flex!important;align-items:center!important;gap:7px!important;padding:10px 11px!important;border:1px solid #d7dfe5!important;border-radius:10px!important;background:#fff!important;color:#263b4d!important}.shirt-status-control input{width:16px!important;height:16px!important;margin:0!important;flex:0 0 16px!important}}
@media(max-width:1100px){.shirt-admin-form>.shirt-field{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important}.shirt-admin-form>.shirt-field label{line-height:18px}.shirt-admin-form>.shirt-field input,.shirt-admin-form>.shirt-status-field .shirt-status-control,.shirt-admin-form>.shirt-action-field .btn{min-height:42px;height:42px;box-sizing:border-box}.shirt-status-control{display:flex!important;align-items:center!important;gap:7px!important;padding:10px 11px!important;border:1px solid #d7dfe5!important;border-radius:10px!important;background:#fff!important}.shirt-status-control input{width:16px!important;height:16px!important;margin:0!important}.shirt-action-label{visibility:hidden;height:18px;line-height:18px}}
@media(max-width:600px){.shirt-admin-form>.shirt-field{gap:6px!important}.shirt-admin-form>.shirt-action-field .btn{height:46px!important;min-height:46px!important}.shirt-status-control{height:42px!important}}

/* Public site shortcut in the admin topbar. */
.top-site-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:36px!important;padding:0 13px!important;border:1px solid #d8c08b!important;border-radius:10px!important;background:linear-gradient(135deg,#fffaf0,#f7ecd2)!important;color:#765a25!important;text-decoration:none!important;font-family:'DM Sans',sans-serif!important;font-size:11px!important;font-weight:800!important;letter-spacing:.01em!important;white-space:nowrap!important;box-shadow:0 3px 10px rgba(156,117,48,.10)!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important}.top-site-button svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.top-site-button:hover{background:linear-gradient(135deg,#fffdf8,#f2e1bb)!important;box-shadow:0 6px 16px rgba(156,117,48,.18)!important;transform:translateY(-1px)}.top-site-button:active{transform:scale(.97)}@media(max-width:600px){.top-site-button{height:34px!important;padding:0 10px!important;gap:6px!important;border-radius:9px!important;font-size:10px!important}.top-site-button svg{width:15px!important;height:15px!important}.admin-top-actions{gap:8px!important}.admin-top-actions .admin-live-badge{display:none!important}.top-divider{display:none!important}.admin-user-chip .user-meta{display:none!important}}


/* Global module header standard: modeled on Retiro e PIX. */
.admin-topbar{height:82px;min-height:82px;box-sizing:border-box;padding:0 36px!important}.admin-breadcrumb{height:48px;min-height:48px;grid-template-rows:18px 20px;row-gap:4px;align-content:center}.admin-breadcrumb strong{font-family:'Manrope',sans-serif;font-size:14px!important;font-weight:800!important;line-height:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-breadcrumb p{height:20px;line-height:20px;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-content>.page-intro{min-height:52px;box-sizing:border-box;align-items:flex-end!important;margin-bottom:24px!important}.admin-content>.page-intro h2{line-height:30px!important;margin:5px 0 0!important}.admin-content>.page-intro .eyebrow{line-height:14px!important;height:14px!important}@media(max-width:600px){.admin-topbar{height:72px;min-height:72px;padding:0 14px!important}.admin-breadcrumb{height:44px;min-height:44px;grid-template-rows:17px 19px;row-gap:3px}.admin-breadcrumb strong{font-size:12px!important;line-height:17px!important}.admin-breadcrumb span,.admin-breadcrumb i{font-size:10px!important}.admin-breadcrumb p{font-size:10px!important;line-height:19px;height:19px}.admin-content>.page-intro{min-height:46px;margin-bottom:18px!important}.admin-content>.page-intro h2{font-size:19px!important;line-height:25px!important}.admin-content>.page-intro .eyebrow{font-size:8px!important;height:12px!important;line-height:12px!important}}


/* Responsive sweep: safe gutters, readable cards, and one button alignment system. */
.btn{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;line-height:1.2!important}.admin-card .btn,.page-intro>.btn{min-height:42px!important}.admin-card>form>.btn{margin-top:0!important}.admin-card-head>.btn{margin-top:0!important}.admin-card .btn+.btn{margin-left:0!important}.admin-card .inline-form{margin:0!important}.admin-card .inline-form .btn{margin:0!important}
@media(max-width:600px){body{overflow-x:hidden!important}.admin-main{min-width:0!important}.admin-content{padding:24px 18px 42px!important;width:100%;box-sizing:border-box}.admin-content>*{min-width:0!important}.admin-card{padding:20px 18px!important;border-radius:16px!important;box-sizing:border-box!important}.admin-card-head{width:100%!important;margin-bottom:16px!important;gap:6px!important}.admin-card-head h2,.admin-card-head .section-note{max-width:100%!important;overflow-wrap:anywhere}.admin-card form:not(.inline-form){width:100%!important;box-sizing:border-box!important}.admin-card form:not(.inline-form)>label,.admin-card form:not(.inline-form)>div{min-width:0!important;max-width:100%!important}.admin-card form:not(.inline-form)>button.btn,.admin-card>button.btn,.admin-card-head>button.btn{width:100%!important;min-height:44px!important}.admin-card .btn{min-height:42px!important;padding:10px 13px!important}.page-intro{padding-left:0!important;padding-right:0!important;gap:12px!important}.page-intro>.btn{width:100%!important;min-height:44px!important}.status-stack{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.status-stack .btn{width:100%!important;margin:0!important}.admin-table-wrap{max-width:100%!important}.admin-table:not(.keep-table) tr{padding:11px 14px!important;margin-bottom:12px!important;border-radius:13px!important}.admin-table:not(.keep-table) td{padding:9px 0!important;overflow-wrap:anywhere!important}.admin-table:not(.keep-table) td:before{padding-right:12px!important}.admin-table:not(.keep-table) td form{max-width:100%!important}.admin-table:not(.keep-table) td .btn{width:100%!important;min-height:40px!important}.admin-card .admin-filters{gap:10px!important}.admin-card .admin-filters .btn{width:100%!important;margin:0!important}.alert{margin-left:0!important;margin-right:0!important;overflow-wrap:anywhere!important}.admin-card input,.admin-card select,.admin-card textarea{max-width:100%!important;box-sizing:border-box!important}}

@media(max-width:600px){.admin-content>.page-intro{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-end!important}.admin-content>.page-intro>div{width:100%!important}.admin-content>.page-intro>.admin-user{align-self:flex-start!important}.admin-card .two-col,.admin-card .three-col{grid-template-columns:1fr!important;gap:12px!important}.admin-card .btn-full{width:100%!important}.admin-card .btn-danger,.admin-card .btn-dark,.admin-card .btn-outline{white-space:normal!important}.admin-top-actions{flex:0 0 auto!important}.admin-breadcrumb{flex:1 1 auto!important;min-width:0!important;margin-left:10px!important}}


/* Participantes: filter controls and actions share one exact horizontal axis. */
.participants-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 210px 156px 140px 92px!important;align-items:stretch!important;gap:14px!important;margin:0 0 20px!important;width:100%!important}.participants-filters>*{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}.participants-filters input,.participants-filters select,.participants-filters .btn{height:44px!important;min-height:44px!important;align-self:stretch!important}.participants-filters .btn{display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}.admin-table td:last-child .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;margin:0!important;white-space:nowrap!important}
@media(max-width:1100px) and (min-width:601px){.participants-filters{grid-template-columns:minmax(0,1fr) minmax(150px, .7fr) minmax(120px,.55fr) 130px 90px!important;gap:10px!important}}
@media(max-width:600px){.participants-filters{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-bottom:18px!important}.participants-filters>*{width:100%!important}.participants-filters input,.participants-filters select,.participants-filters .btn{height:44px!important;min-height:44px!important}.admin-table td:last-child .btn{width:100%!important;min-height:40px!important}}


/* Enterprise dialogs and notifications: consistent desktop/mobile treatment. */
.admin-confirm-backdrop{padding:24px;background:rgba(8,24,38,.64);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.admin-confirm-dialog{overflow:hidden;width:min(460px,100%);padding:32px;border:1px solid rgba(255,255,255,.82);border-radius:24px;background:linear-gradient(150deg,#fff 0%,#f9fbfc 100%);box-shadow:0 32px 90px rgba(5,20,34,.34),0 4px 14px rgba(5,20,34,.12)}.admin-confirm-dialog:before{content:'';position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#c99b4d,#e4c989)}.admin-confirm-close{top:15px;right:15px;display:grid;place-items:center;padding:0;transition:background .16s ease,transform .16s ease}.admin-confirm-close:active{transform:scale(.94)}.admin-confirm-icon{width:52px;height:52px;margin-bottom:20px;border-radius:16px;font-size:24px}.admin-confirm-dialog h2{max-width:340px;font-size:25px}.admin-confirm-dialog p{margin:13px 0 26px;font-size:14px;line-height:1.65}.admin-confirm-actions{gap:11px}.admin-confirm-actions .btn{height:46px;min-height:46px;margin:0!important}.admin-async-toast{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:12px 15px}.admin-toast-icon{display:grid;place-items:center;width:32px;height:32px;border:5px solid #dff1e6;border-radius:50%;background:#2d8a56;color:#fff;font-size:13px;font-weight:900}.admin-toast-copy{min-width:0;line-height:1.4}.admin-async-toast.error .admin-toast-icon{border-color:#f7dddd;background:#c74f4f}
@media(max-width:600px){.admin-confirm-backdrop{align-items:end;padding:16px 12px calc(12px + env(safe-area-inset-bottom,0px))}.admin-confirm-dialog{width:100%;max-height:calc(100dvh - 28px);overflow-y:auto;padding:27px 20px 20px;border-radius:22px;box-shadow:0 24px 70px rgba(5,20,34,.35)}.admin-confirm-close{top:13px;right:13px;width:36px;height:36px}.admin-confirm-icon{width:46px;height:46px;margin-bottom:17px;border-radius:14px;font-size:21px}.admin-confirm-eyebrow{padding-right:42px;font-size:9px}.admin-confirm-dialog h2{padding-right:32px;font-size:21px;line-height:1.25}.admin-confirm-dialog p{margin:11px 0 21px;font-size:13px;line-height:1.55}.admin-confirm-actions{grid-template-columns:1fr;gap:9px}.admin-confirm-actions .btn{width:100%!important;height:46px!important;min-height:46px!important}.admin-confirm-accept{order:1}.admin-confirm-cancel{order:2}.admin-async-toast{left:14px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));max-width:none;min-height:62px;padding:12px 14px;border-radius:16px;text-align:left;box-shadow:0 18px 48px rgba(10,45,30,.20)}.admin-toast-copy{font-size:12px}.admin-toast-icon{width:34px;height:34px}}
@media(max-width:360px){.admin-confirm-backdrop{padding-left:9px;padding-right:9px}.admin-confirm-dialog{padding-left:17px;padding-right:17px}.admin-async-toast{left:10px;right:10px}}


/* Mobile header: reserve a dedicated gutter for the fixed menu trigger. */
@media(max-width:900px){.admin-topbar{padding-left:72px!important;padding-right:14px!important}.admin-breadcrumb{min-width:0!important;max-width:none!important;margin-left:0!important;overflow:hidden}.admin-breadcrumb strong,.admin-breadcrumb p{max-width:100%!important}.admin-mobile-toggle{left:14px!important;top:14px!important}}
@media(max-width:600px){.admin-topbar{padding-left:70px!important;padding-right:12px!important}.admin-mobile-toggle{left:13px!important;top:14px!important}.admin-breadcrumb{margin-left:0!important}}
@media(max-width:480px){.top-site-button{width:36px!important;min-width:36px!important;padding:0!important}.top-site-button span{display:none!important}.admin-top-actions{gap:6px!important}}
@media(max-width:360px){.admin-topbar{padding-left:66px!important;padding-right:10px!important}.admin-mobile-toggle{left:10px!important}.admin-breadcrumb strong{font-size:11px!important}}


/* Admin login: stronger retreat branding. */
.login-page .login-box .login-logo-image{display:block!important;width:100%!important;max-width:300px!important;height:auto!important;max-height:132px!important;object-fit:contain!important;margin:0 auto 24px!important;border-radius:9px!important}
@media(max-width:600px){.login-page .login-box .login-logo-image{max-width:260px!important;max-height:112px!important;margin-bottom:21px!important}}
@media(max-width:360px){.login-page .login-box .login-logo-image{max-width:230px!important;margin-bottom:18px!important}}


/* Persistent per-form async error; never flashes or auto-hides. */
.admin-form-error{display:block;margin:0 0 14px;padding:12px 14px;border:1px solid #efcaca;border-radius:11px;background:#fff3f3;color:#9c3535;font-size:12px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.admin-form-error:before{content:'!';display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:#c74f4f;color:#fff;font-size:11px;font-weight:900;vertical-align:middle}@media(max-width:600px){.admin-form-error{padding:12px;font-size:11px}}

@media (min-width:901px){.participants-filters{flex-wrap:nowrap;gap:8px}.participants-filters input[name="q"]{flex:1 1 360px!important;min-width:220px!important;max-width:460px!important}.participants-filters select{flex:0 1 185px;min-width:0}.participants-filters select[name="type"]{flex-basis:170px}.participants-filters button{flex:0 0 auto;padding-left:11px;padding-right:11px;white-space:nowrap}.participants-filters a{flex:0 0 82px;padding-left:10px;padding-right:10px;white-space:nowrap}}

@media (min-width:1101px){.participants-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 190px 155px 125px 120px 82px!important;gap:8px!important;flex-wrap:nowrap!important}.participants-filters>*{width:100%!important;min-width:0!important;max-width:none!important}.participants-filters input[name="q"]{max-width:none!important;flex:none!important}.participants-filters select{flex:none!important}.participants-filters button,.participants-filters a{padding-left:9px!important;padding-right:9px!important}}

/* Global admin page-title rhythm: compact eyebrow/title spacing based on the Camisetas layout. */
.admin-content>.page-intro{margin-top:0!important;margin-bottom:18px!important;align-items:flex-start!important}.admin-content>.page-intro .eyebrow{margin-bottom:6px!important;line-height:1.1!important}.admin-content>.page-intro h2{margin:0!important;line-height:1.12!important;font-size:25px!important;letter-spacing:-.04em!important}@media(max-width:600px){.admin-content>.page-intro{margin-bottom:14px!important}.admin-content>.page-intro h2{font-size:22px!important}}

/* Compact admin rhythm and prevent stretched sibling cards. */
.admin-grid{align-items:start!important}.collaborator-direct-form{gap:10px!important}.collaborator-direct-form label>input,.collaborator-direct-form label>select,.collaborator-direct-form label>textarea{margin-top:5px!important}
/* Collaborator forms: avoid duplicated gap + child margins from the global form rhythm. */
.admin-grid>.admin-card form{gap:10px!important}.admin-grid>.admin-card form>*+*{margin-top:0!important}.admin-grid>.admin-card .admin-card-head{margin-bottom:14px!important}
/* Direct collaborator registration: compact content-driven layout. */
.admin-card form.collaborator-direct-form{display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;justify-content:stretch!important;gap:8px!important;height:auto!important;min-height:0!important}
.admin-card form.collaborator-direct-form>*{margin:0!important;align-self:start!important}
.admin-card form.collaborator-direct-form label>input,.admin-card form.collaborator-direct-form label>select,.admin-card form.collaborator-direct-form label>textarea{margin-top:4px!important}
.admin-card form.collaborator-direct-form .two-col{gap:8px!important}
/* Participant management mobile order and consistent card rhythm. */
@media(max-width:600px){
  .admin-grid{display:flex!important;flex-direction:column!important;gap:16px!important;align-items:stretch!important}
  .admin-grid>.admin-card{margin:0!important}
  .admin-grid>.admin-card:nth-child(3){order:4!important}
  .admin-grid>.admin-card:nth-child(4){order:3!important}
}
/* Participant detail has two inner columns; flatten them only on mobile to control card order. */
@media(max-width:600px){
  .admin-grid{display:flex!important;flex-direction:column!important;gap:16px!important}
  .admin-grid>div{display:contents!important}
  .admin-grid>div:first-child>.admin-card:nth-child(1){order:1!important}
  .admin-grid>div:first-child>.admin-card:nth-child(2){order:2!important}
  .admin-grid>div:nth-child(2)>.admin-card:nth-child(1){order:3!important}
  .admin-grid>div:first-child>.admin-card:nth-child(3){order:4!important}
  .admin-grid>div:nth-child(2)>.admin-card:nth-child(2){order:5!important}
  .admin-grid>.admin-card{margin:0!important}
}
/* Participant detail mobile: only the necessary separation between cards. */
@media(max-width:600px){
  .admin-grid:has(>div>.admin-card){gap:8px!important}
}
@media(max-width:600px){.admin-grid:has(>div>.admin-card){gap:4px!important}}
