.admin-body{min-height:100dvh}.admin-header{height:88px;border-bottom:1px solid var(--line);padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:var(--paper)}.admin-header img{object-fit:contain;mix-blend-mode:multiply}.admin-header span{font-size:10px;letter-spacing:1.5px}.admin-header>a:last-child{font-size:12px}.admin-main{max-width:1150px;margin:auto;padding:55px 5% 100px}.login-card{max-width:440px;margin:25px auto}.login-card h1,.admin-heading h1{font-size:48px;letter-spacing:-2px;line-height:1.05;margin:20px 0}.login-card>p{color:var(--muted);font-size:13px;line-height:1.8}.admin-body label{display:block;font-size:11px;margin:19px 0}.admin-body input:not([type=checkbox]),.admin-body textarea{display:block;width:100%;margin-top:9px;border:1px solid #bfc1b6;background:#ffffff45;border-radius:3px;padding:13px;font-size:14px;color:var(--ink)}.login-card .button{width:100%;margin-top:10px}.admin-heading,.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px}.admin-heading{margin-bottom:30px}.admin-tabs{display:flex;gap:10px}.admin-tabs button{padding:13px 19px;font-size:12px;border-bottom:2px solid transparent}.admin-tabs .selected{border-color:var(--ink);font-weight:600}.admin-list{display:grid;gap:12px;margin-top:30px}.admin-row{display:grid;grid-template-columns:75px minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid var(--line);padding:15px;border-radius:3px}.admin-row img{width:75px;height:90px;object-fit:cover;background:#dedfd4}.admin-row h2{font-size:16px;margin:0 0 9px}.admin-row p{font-size:11px;color:var(--muted);margin:0;line-height:1.8}.admin-row small{font-size:9px;padding:4px 7px;background:#d9ded0;margin-left:7px}.admin-row .row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.row-actions button{font-size:11px;padding:10px;border:1px solid var(--line);border-radius:2px}.row-actions button:hover{background:#dedfd4}.row-actions button[data-delete]{color:#8b302b}.admin-help,.admin-empty{font-size:12px;line-height:1.8;color:var(--muted);margin-top:25px}.admin-notice{border:1px solid #b5b8a9;padding:25px;font-size:13px;line-height:1.8}.admin-notice h1{font-size:28px;letter-spacing:-1px}.admin-notice p{max-width:650px}#admin-status{font-size:13px;line-height:1.8;border-top:1px solid var(--line);padding-top:18px;white-space:pre-line}.admin-editor{width:min(720px,95vw);padding:28px;border-radius:4px;max-height:92dvh}.editor-head{display:flex;align-items:center;justify-content:space-between}.editor-head h2{font-size:29px;letter-spacing:-1px;margin:10px 0}.editor-head button{font-size:30px;width:38px;height:38px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.admin-body .admin-check{display:flex;gap:9px;align-items:center}.admin-check input{accent-color:var(--ink)}.field-help{font-size:10px;color:var(--muted);line-height:1.8;margin-top:-7px}.existing-images{display:flex;gap:12px;flex-wrap:wrap}.existing-image{width:95px}.existing-image img{width:95px;height:110px;object-fit:cover}.existing-image button{font-size:10px;text-decoration:underline;padding:8px 0}.editor-actions{display:flex;justify-content:space-between;gap:20px;margin-top:25px}#editor-error{font-size:12px;color:#9c342f;line-height:1.7}.admin-body button:disabled{opacity:.5;cursor:wait}.admin-search input{max-width:550px}@media(max-width:650px){.admin-main{padding:30px 5% 90px}.admin-heading h1{font-size:35px}.admin-header span{display:none}.admin-header>a:last-child{font-size:10px}.admin-toolbar{align-items:stretch;flex-direction:column}.admin-tabs button{flex:1}.admin-tabs{display:flex}.admin-row{grid-template-columns:60px minmax(0,1fr);gap:12px}.admin-row img{width:60px;height:75px}.admin-row .row-actions{grid-column:1/-1;justify-content:flex-start}.form-columns{grid-template-columns:1fr}.admin-editor{padding:22px}.admin-body input:not([type=checkbox]),.admin-body textarea{font-size:16px}.admin-editor .button{gap:10px;padding:14px;font-size:11px}.login-card h1{font-size:43px}}
.promotion-editor{border:1px solid #bcc1b2;border-radius:3px;padding:18px;margin:25px 0;background:#e5e8dd}.promotion-editor legend{font-size:12px;font-weight:600;padding:0 8px}.admin-body select{display:block;width:100%;margin-top:9px;border:1px solid #bfc1b6;background:#ffffff70;border-radius:3px;padding:13px;font-size:13px}.promotion-preview{font-size:11px;line-height:1.8;border-top:1px solid #c4c9b9;padding-top:14px}.admin-sale-tag{background:#34363b!important;color:#fff}.admin-toolbar{flex-wrap:wrap}.admin-toolbar .admin-tabs{margin-right:auto}.admin-body select:disabled{opacity:.6}#seed-partners{font-size:11px;gap:10px}
@media(max-width:650px){.admin-body select{font-size:16px}.promotion-editor{padding:15px}.admin-toolbar .admin-tabs{margin-right:0}}
/* Painel pensado também para cadastro pelo celular. */
.admin-main,.admin-heading>div,.admin-row>div,.form-columns>*{min-width:0}.admin-row h2,.admin-row p{overflow-wrap:anywhere}.promotion-editor{min-width:0}.admin-body textarea{font-family:inherit;resize:vertical}.admin-editor{overflow-y:auto;overscroll-behavior:contain}.admin-body:has(.admin-editor[open]){overflow:hidden}.editor-head{position:sticky;top:-28px;background:var(--paper);z-index:2;padding:10px 0}.existing-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:12px}.existing-image{width:auto;min-width:0;border:1px solid var(--line);padding:8px}.existing-image img{width:100%;height:120px;border-radius:2px}.existing-image span{display:block;font-size:10px;font-weight:600;margin-top:8px}.existing-image button{display:block;min-height:44px;text-align:left;font-size:11px}.photo-picker{border:1px dashed #95988c;padding:16px}.admin-body input[type=file]{padding:10px 0;border:0;background:none;max-width:100%}.admin-body input[type=file]::file-selector-button{min-height:44px;border:1px solid var(--line);background:var(--paper);padding:10px;margin-right:8px;border-radius:3px}#photo-count{font-size:12px}.editor-actions{position:sticky;bottom:-28px;background:var(--paper);padding:15px 0;z-index:1}.editor-head button{min-width:44px;min-height:44px}.admin-body button{min-height:44px}
@media(max-width:650px){.admin-header{height:74px}.admin-heading{align-items:flex-start;gap:12px}.admin-heading h1{font-size:32px}.admin-heading .button{padding:12px;gap:8px}.admin-toolbar>.button{width:100%;justify-content:center}.admin-tabs{width:100%}.admin-editor{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));border-radius:0}.editor-head{top:-20px}.editor-actions{bottom:calc(-20px - env(safe-area-inset-bottom));padding-bottom:calc(16px + env(safe-area-inset-bottom));gap:10px}.editor-actions .button{flex:1;justify-content:center}.admin-row .row-actions{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.admin-body .whatsapp-floating{display:none}.promotion-editor{padding:12px}.admin-body input[type=datetime-local]{min-width:0;max-width:100%}.admin-row small{display:inline-block;margin-top:4px}}
