/* ZIONE 2.0 – interfață administrativă (recuperare model ZIONE 1.0, «design de pagina.png»).
   Numai prezentare: nu schimbă ID-uri, formulare, drepturi sau apeluri API. Meniul lateral reutilizează butoanele generate de
   platforma-navigation.js; pictogramele sunt legate de aria-controls existent (adminGroup-*). */
:root{--zs-teal:#123b43;--zs-teal-dark:#0e2f36;--zs-side:#0f3139;--zs-gold:#d4b56a;--zs-gold-soft:#e7d29c;--zs-ink:#13303a;--zs-paper:#f7f3eb;--zs-card:#fffdf7;--zs-side-w:236px;--zs-side-narrow:64px;--zh:72px}
body{background:var(--zs-paper)}
/* Antet verde-petrol: siglă, titlu, legături, identitatea contului */
body>header{position:sticky;top:0;z-index:40;min-height:72px;padding:8px 24px;gap:18px;background:var(--zs-teal);border-bottom:2px solid var(--zs-gold);box-shadow:0 2px 10px #0003}
body>header>a:first-child{display:flex;align-items:center;padding-right:18px;margin-right:2px;border-right:1px solid #ffffff33}
body>header img{width:170px;height:56px;object-fit:contain}
body>header>strong{font:600 1.3rem/1.2 Georgia,'Times New Roman',serif;letter-spacing:.02em;color:#fff}
body>header>a:not(:first-child){color:#f3ead2;text-decoration:none;font-size:.92rem;padding:7px 12px;border:1px solid #ffffff2e;border-radius:999px}
body>header>a:not(:first-child):hover,body>header>a:not(:first-child):focus-visible{border-color:var(--zs-gold);color:#fff;background:#ffffff12}
body>header #adminCommercialLink{border-color:var(--zs-gold);color:var(--zs-gold-soft)}
body>header #accountName{display:flex;align-items:center;gap:10px;font-weight:600;color:#fff;line-height:1.15}
body>header #accountName:not(:empty)::before{content:'';width:34px;height:34px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='10' r='3.2'/%3E%3Cpath d='M6.2 18.2c1.2-2.3 3.3-3.5 5.8-3.5s4.6 1.2 5.8 3.5'/%3E%3C/svg%3E") center/34px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='10' r='3.2'/%3E%3Cpath d='M6.2 18.2c1.2-2.3 3.3-3.5 5.8-3.5s4.6 1.2 5.8 3.5'/%3E%3C/svg%3E") center/34px no-repeat}
body>header #accountName[data-role]::after{content:attr(data-role);display:block;font-weight:400;font-size:.8rem;color:#d9cfb5}
body>header #accountName[data-role]{display:grid;grid-template-columns:34px auto;grid-template-rows:auto auto;column-gap:10px}
body>header #accountName[data-role]::before{grid-row:1 / span 2}
body>header #logout{background:transparent;border:1px solid var(--zs-gold);color:var(--zs-gold-soft);margin:0;padding:7px 14px;border-radius:6px}
body>header #logout:hover,body>header #logout:focus-visible{background:var(--zs-gold);color:var(--zs-ink)}
/* Zona de lucru deplasată lângă meniul lateral numai când spațiul administrativ este deschis */
body:has(#workspace:not([hidden])) main{max-width:none;margin:0 0 0 var(--zs-side-w);padding:22px 32px 40px;transition:margin-left .18s ease}
body.admin-sidebar-collapsed:has(#workspace:not([hidden])) main{margin-left:var(--zs-side-narrow)}
body:not(:has(#workspace:not([hidden]))) :is(#adminBreadcrumb,#adminSidebarToggle,#adminSidebarSite){display:none!important}
#adminBreadcrumb{margin:0 0 6px;font-size:.9rem;color:#5b6b6e}#adminBreadcrumb b{color:var(--zs-ink);font-weight:600}
/* Meniul lateral permanent */
body #workspace nav.workspace-navigation{position:fixed;top:var(--zh);left:0;bottom:0;width:var(--zs-side-w);z-index:30;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:2px;margin:0;padding:58px 12px 72px;max-height:none;overflow-x:hidden;overflow-y:auto;background:var(--zs-side);border:0;border-right:1px solid #ffffff14;box-shadow:2px 0 10px #0002;transition:width .18s ease}
body #workspace nav.workspace-navigation button{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:44px;margin:0;padding:10px 12px;border-radius:8px;background:transparent;color:#ebe4d3;font:500 .95rem/1.25 Arial,sans-serif;text-align:left;white-space:nowrap;flex:none}
body #workspace nav.workspace-navigation button::before{content:'';flex:none;width:22px;height:22px;background:currentColor;-webkit-mask:var(--zs-icon) center/22px no-repeat;mask:var(--zs-icon) center/22px no-repeat}
body #workspace nav.workspace-navigation button:hover{background:#ffffff14;color:#fff}
body #workspace nav.workspace-navigation button[aria-pressed=true]{background:var(--zs-gold);color:var(--zs-ink);font-weight:700;box-shadow:inset 3px 0 0 #8a6d2c}
body #workspace nav.workspace-navigation button:focus-visible,#adminSidebarToggle:focus-visible,#adminSidebarSite:focus-visible{outline:3px solid var(--zs-gold-soft);outline-offset:2px}
#adminSidebarToggle,#adminSidebarSite{position:fixed;left:12px;z-index:31;display:flex;align-items:center;gap:12px;width:calc(var(--zs-side-w) - 24px);min-height:42px;margin:0;padding:9px 12px;border-radius:8px;font:500 .9rem/1.2 Arial,sans-serif;white-space:nowrap;overflow:hidden;transition:width .18s ease}
#adminSidebarToggle{top:calc(var(--zh) + 10px);background:transparent;border:1px solid #ffffff26;color:#d9cfb5}
#adminSidebarToggle:hover{border-color:var(--zs-gold);color:#fff}
#adminSidebarSite{bottom:14px;background:#ffffff0d;border:1px solid var(--zs-gold);color:var(--zs-gold-soft);text-decoration:none}
#adminSidebarSite:hover{background:var(--zs-gold);color:var(--zs-ink)}
#adminSidebarToggle::before,#adminSidebarSite::before{content:'';flex:none;width:20px;height:20px;background:currentColor}
#adminSidebarToggle::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E") center/20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E") center/20px no-repeat}
#adminSidebarSite::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.5 5.2 3.5 8.5s-1.1 6.1-3.5 8.5c-2.4-2.4-3.5-5.2-3.5-8.5s1.1-6.1 3.5-8.5z'/%3E%3C/svg%3E") center/20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.5 5.2 3.5 8.5s-1.1 6.1-3.5 8.5c-2.4-2.4-3.5-5.2-3.5-8.5s1.1-6.1 3.5-8.5z'/%3E%3C/svg%3E") center/20px no-repeat}
/* Restrâns: bară îngustă cu pictograme; numele secțiunii apare la hover și la focus */
body.admin-sidebar-collapsed #workspace nav.workspace-navigation{width:var(--zs-side-narrow);padding-left:8px;padding-right:8px;overflow:visible}
body.admin-sidebar-collapsed #workspace nav.workspace-navigation button{justify-content:center;padding:10px 0;font-size:0;gap:0}
body.admin-sidebar-collapsed #adminSidebarToggle,body.admin-sidebar-collapsed #adminSidebarSite{left:8px;width:calc(var(--zs-side-narrow) - 16px);justify-content:center;padding:9px 0;font-size:0;gap:0;overflow:visible}
body.admin-sidebar-collapsed #workspace nav.workspace-navigation button::after,body.admin-sidebar-collapsed #adminSidebarSite::after,body.admin-sidebar-collapsed #adminSidebarToggle::after{content:attr(data-label);position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%);padding:6px 10px;border-radius:6px;background:var(--zs-ink);color:#fff;border:1px solid var(--zs-gold);font:500 .88rem/1.2 Arial,sans-serif;white-space:nowrap;box-shadow:0 4px 12px #0004;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .12s}
body.admin-sidebar-collapsed #workspace nav.workspace-navigation button:hover::after,body.admin-sidebar-collapsed #workspace nav.workspace-navigation button:focus-visible::after,body.admin-sidebar-collapsed #adminSidebarSite:hover::after,body.admin-sidebar-collapsed #adminSidebarSite:focus-visible::after,body.admin-sidebar-collapsed #adminSidebarToggle:hover::after,body.admin-sidebar-collapsed #adminSidebarToggle:focus-visible::after{opacity:1;visibility:visible}
/* Carduri administrative și accente aurii */
#workspace .workspace-group{background:var(--zs-card);border:1px solid #e3d6b8;border-radius:14px;box-shadow:0 2px 10px #123b430d;padding:24px 28px}
#workspace .workspace-group>h2{font:600 1.75rem/1.2 Georgia,serif;color:var(--zs-ink);margin:0 0 4px;padding-bottom:10px;border-bottom:1px solid #eadfc6}
#workspace .workspace-group>h2::before{content:'';display:inline-block;width:6px;height:.9em;margin-right:10px;border-radius:3px;background:var(--zs-gold);vertical-align:-.05em}
#workspace .workspace-subpanel{border-radius:12px;border-color:#e3d6b8}
#workspace .workspace-subnavigation button[aria-pressed=true]{box-shadow:inset 0 -3px 0 var(--zs-gold)}
#serviceStatus{border-left:4px solid var(--zs-gold);border-radius:6px}
/* Rezoluții reduse: bara îngustă implicit; meniul extins se suprapune conținutului */
@media(max-width:900px){
 body>header{position:sticky;padding:8px 12px;gap:8px 10px;flex-wrap:wrap}
 body>header>a:first-child{padding-right:10px}
 body>header img{width:120px;height:40px}
 body>header>strong{font-size:1.05rem}
 body>header>a:not(:first-child){font-size:.82rem;padding:5px 9px}
 body>header #accountName{margin-left:0}
 body:has(#workspace:not([hidden])) main{margin-left:var(--zs-side-narrow);padding:14px 12px 30px}
 body.admin-sidebar-open #workspace nav.workspace-navigation{width:var(--zs-side-w);box-shadow:6px 0 24px #0005}
 body:not(.admin-sidebar-open) #workspace nav.workspace-navigation{width:var(--zs-side-narrow);padding-left:8px;padding-right:8px;overflow:visible}
 body:not(.admin-sidebar-open) #workspace nav.workspace-navigation button{justify-content:center;padding:10px 0;font-size:0;gap:0}
 body:not(.admin-sidebar-open) #adminSidebarToggle,body:not(.admin-sidebar-open) #adminSidebarSite{left:8px;width:calc(var(--zs-side-narrow) - 16px);justify-content:center;padding:9px 0;font-size:0;gap:0;overflow:visible}
 body:not(.admin-sidebar-open) #workspace nav.workspace-navigation button::after,body:not(.admin-sidebar-open) #adminSidebarSite::after,body:not(.admin-sidebar-open) #adminSidebarToggle::after{content:attr(data-label);position:absolute;left:calc(100% + 10px);top:50%;transform:translateY(-50%);padding:6px 10px;border-radius:6px;background:var(--zs-ink);color:#fff;border:1px solid var(--zs-gold);font:500 .85rem/1.2 Arial,sans-serif;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden}
 body:not(.admin-sidebar-open) #workspace nav.workspace-navigation button:hover::after,body:not(.admin-sidebar-open) #workspace nav.workspace-navigation button:focus-visible::after,body:not(.admin-sidebar-open) #adminSidebarSite:hover::after,body:not(.admin-sidebar-open) #adminSidebarSite:focus-visible::after{opacity:1;visibility:visible}
 body.admin-sidebar-collapsed:has(#workspace:not([hidden])) main{margin-left:var(--zs-side-narrow)}
 #workspace .workspace-group{padding:14px 12px}
 #workspace .workspace-group>h2{font-size:1.35rem}
}
@media(prefers-reduced-motion:reduce){#workspace nav.workspace-navigation,#adminSidebarToggle,#adminSidebarSite,body main{transition:none!important}}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-owners']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/%3E%3Cpath d='M16 4.8a3.3 3.3 0 0 1 0 6.4M18 14.8c1.9.7 3.1 2.4 3.5 5.2'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-cars']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15.5V12l2-4.6c.3-.6.9-1 1.6-1h8.8c.7 0 1.3.4 1.6 1L20 12v3.5z'/%3E%3Ccircle cx='7.5' cy='15.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='15.5' r='1.8'/%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-rates']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12.5V4h8.5L21 13.5 13.5 21z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.5'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-resources']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M3.6 10.5h6.4M14 10.5h6.4M12 14v6.5'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-bookings']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4M8 13.5h2M14 13.5h2M8 17h2'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-payments']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-accounts']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.6-3.2 8.2-7.5 9.5-4.3-1.3-7.5-4.9-7.5-9.5V6z'/%3E%3Cpath d='M8.5 12l2.4 2.4 4.6-4.8'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-notifications']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.5h-15z'/%3E%3Cpath d='M10 20.5a2 2 0 0 0 4 0'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-events']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.5 5.2 5.7.8-4.1 4 1 5.6L12 16.4l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3C/svg%3E")}
body #workspace nav.workspace-navigation button[aria-controls='adminGroup-system']{--zs-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Ccircle cx='12' cy='12' r='6.5'/%3E%3Cpath d='M12 2.8v2.6M12 18.6v2.6M2.8 12h2.6M18.6 12h2.6M5.5 5.5l1.8 1.8M16.7 16.7l1.8 1.8M5.5 18.5l1.8-1.8M16.7 7.3l1.8-1.8'/%3E%3C/svg%3E")}

/* ── Z46 · ergonomie (numai prezentare) ─────────────────────────────────────────────────────────────── */
#workspace .workspace-subpanel{container-type:inline-size}
/* Meniuri redundante: o singură subsecțiune nu are nevoie de bară de file (intenția din platforma.css, anulată ulterior de o regulă mai specifică). */
#workspace .workspace-subnavigation.single-subsection{display:none}
/* Titluri repetate: titlul subsecțiunii identic cu titlul grupului sau cu fila activă (clasa o pune admin-shell.js). */
#workspace .zs-dup{display:none}
/* Formulare pe grilă: 4 coloane pe desktop, 2 pe lățimi medii, 1 pe telefon; câmpuri de aceeași înălțime. */
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form,#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 18px;align-items:end}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>:not(label):not(button):not(legend):not(input[type=hidden]),#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>:not(label):not(button):not(legend),#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>label:has(textarea),#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>label:has(textarea){grid-column:1/-1}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset{margin:6px 0 0;padding:14px 18px 18px;border:1px solid #e3d6b8;border-radius:10px;background:#fffdf9}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>legend{padding:0 8px;font:600 1rem/1.3 Georgia,serif;color:var(--zs-ink)}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form label,#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>label{margin:0;font-size:.9rem;color:#2c4a52}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>label>:is(input:not([type=checkbox]):not([type=radio]),select),#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>label>:is(input:not([type=checkbox]):not([type=radio]),select),#workspace #saveRates .fields label>:is(input,select){display:block;width:100%;max-width:none;height:44px;margin-top:5px;padding:9px 11px}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>label:has(>input[type=checkbox]),#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>label:has(>input[type=checkbox]){display:flex;align-items:center;gap:8px;min-height:44px}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>button,#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>button{justify-self:stretch;align-self:end;min-height:44px;margin:0;line-height:1.25}
#workspace .zs-dup+:is(form,p,div){border-top:0;margin-top:0;padding-top:0}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>:is(output,div,p):empty{display:none}
/* Rezervare nouă: datele clientului împreună (e-mailul imediat după telefon), apoi resursele și traseul, apoi acțiunile și nota despre blocaj. */
#workspace #createBooking>fieldset{order:1}
#workspace #createBooking>button{order:2}
#workspace #createBooking>p{order:3}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>p,#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>p{margin:0;color:#4a5d61;font-size:.92rem}
#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>h3{margin:10px 0 0;padding-top:12px;border-top:1px solid #eadfc6}
/* Tarife: grile de 4 coloane, câmpuri uniforme; Cazare și Avans pe câte un rând; butonul de salvare la sfârșitul formularului. */
#workspace #saveRates .fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px}
#workspace #saveRates .fields label{margin:0;font-size:.9rem}
#workspace #saveRates>fieldset:has([name=rest_enabled]),#workspace #saveRates>fieldset:has([name=deposit_mode]){grid-template-columns:repeat(3,minmax(0,1fr))}
#workspace #saveRates>label:has([name=photoPromotion]){grid-column:1/-1}
#workspace #saveRates>:is(label:has([name=photoPromotion]),p:nth-of-type(2),fieldset:has([name=deposit_mode])){order:1}
#workspace #saveRates>button{order:2;grid-column:1/-1}
#workspace #saveRates>details{margin:0}
/* Registrul proprietarilor: un rând compact pentru fiecare proprietar (motiv + acțiuni). */
#workspace #ownerRecords .record{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 10px;align-items:center}
#workspace #ownerRecords .record>:is(strong,small){grid-column:1/-1}
#workspace #ownerRecords .record>input{max-width:none;height:42px}
#workspace #ownerRecords .record>button{margin:0;min-height:42px}
/* Antet pe lățimi medii: legăturile nu se mai rup pe două rânduri; dacă nu încap, trec pe rândul următor. */
@media(max-width:1280px){body>header{flex-wrap:wrap;row-gap:6px}body>header>:is(a,strong),body>header #accountName{white-space:nowrap}}
/* Rezervări: registrul este pagina principală a subsecțiunii (afișat primul); formularul de rezervare nouă urmează sub el. */
#workspace #reservations{display:flex;flex-direction:column}
#workspace #reservations>h2{order:-2}
#workspace #bookingRegister>#bookingRecords{order:-1;margin:0 0 22px}
#workspace #bookingRegister>#bookingRecords:not(:has(.record))::after{content:'Nicio rezervare înregistrată.';display:block;padding:12px 14px;border:1px dashed #d7c59e;border-radius:8px;color:#5b6b6e}
#workspace #createBooking::before{content:'Rezervare nouă';grid-column:1/-1;font:600 1.2rem/1.3 Georgia,serif;color:var(--zs-ink);padding-top:14px;border-top:1px solid #eadfc6}
/* Conturi: grupuri distincte (cereri noi / active / inactive), rând compact cu fișa contului la cerere, drepturi pe domenii. */
#workspace .account-group{margin:0 0 18px}#workspace .account-group:not(:has(.account-request)){display:none}
#workspace .account-group>h3{margin:0 0 8px;font:600 1.15rem/1.3 Georgia,serif;color:var(--zs-ink)}
#workspace .account-group[data-group=pending]>h3::after{content:' · necesită examinare';font:500 .85rem Arial,sans-serif;color:#8a6d2c}
#workspace .account-request.account-compact{padding:12px 16px;margin:8px 0}
#workspace .account-card>summary{cursor:pointer;color:#17616b;font-weight:600;margin-top:6px}
#workspace .account-rights-domain{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid #eadfc6;border-radius:8px;background:#fffdf9}
#workspace .account-rights-domain>h4{margin:0 0 4px;font:600 .9rem/1.3 Arial,sans-serif;color:var(--zs-ink)}
/* Tipuri de evenimente: registru compact cu starea fiecărui tip. */
#workspace .event-type-table{display:table;width:100%;border-collapse:collapse;margin:4px 0 16px;font-size:.92rem}
#workspace .event-type-table caption{text-align:left;font:600 1.1rem/1.3 Georgia,serif;color:var(--zs-ink);padding-bottom:8px}
#workspace .event-type-table :is(th,td){padding:8px 10px;border-bottom:1px solid #eadfc6;text-align:left}
#workspace .event-type-table th{font-weight:600;color:#4a5d61;background:#faf6ec}
#workspace .event-type-table tr[data-active="0"] td{color:#8a8f90}#workspace .event-type-table tr[data-active="0"] td:nth-child(2){font-weight:600;color:#8e2525}
#workspace .event-type-table button{margin:0;padding:5px 12px;font-size:.85rem}
/* Liste de bifat (resursele șoferului, rezervări de curățat). */
#workspace :is(.driver-resource-picker,.cleanup-picker)>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 16px}
#workspace :is(.driver-resource-picker,.cleanup-picker) label{display:flex;align-items:center;gap:8px;margin:2px 0}
/* Drepturi: 4 coloane pe desktop, 2 pe lățimi medii, 1 pe telefon. */
#workspace .account-rights{grid-template-columns:repeat(4,minmax(0,1fr))}
@container (max-width:900px){
 #workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form,#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset,#workspace #saveRates .fields,#workspace .account-rights{grid-template-columns:repeat(2,minmax(0,1fr))}
 #workspace #ownerRecords .record{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace #ownerRecords .record>input{grid-column:1/-1}
 #workspace #saveRates>fieldset:has([name=rest_enabled]),#workspace #saveRates>fieldset:has([name=deposit_mode]){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container (max-width:560px){
 #workspace .event-type-table{display:block;overflow-x:auto}
 #workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form,#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset,#workspace #saveRates .fields,#workspace .account-rights,#workspace #saveRates>fieldset:has([name=rest_enabled]),#workspace #saveRates>fieldset:has([name=deposit_mode]){grid-template-columns:minmax(0,1fr)}
 #workspace #ownerRecords .record{grid-template-columns:minmax(0,1fr)}
 #workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>button,#workspace :is(.workspace-subpanel,.event-subpanel,.local-operation)>form>fieldset>button{justify-self:stretch}
}
