/* Owner GOLDEN reference. Scoped to CMS only; business/status colours and floor geometry remain independent. */
body[data-v1-cms]{--ink:#282722;--muted:#64655e;--card:#fffdf8;--line:#dedcd4;--gold:#d8b36a;--v1-accent:#bb9653;--v1-strong:#7b5928;--v1-soft:#f6f0e4;margin:0;background:#100e0a;color:var(--ink);font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color-scheme:light}
[data-v1-theme=gold]{--v1-accent:#bd995b;--v1-strong:#7b5928;--v1-soft:#f8f3e9;--v1-nav:#d8b36a}
[data-v1-theme=blue]{--v1-accent:#4a86ce;--v1-strong:#22568b;--v1-soft:#e8f1ff;--v1-nav:#78afea}
[data-v1-theme=teal]{--v1-accent:#4b9d9f;--v1-strong:#23696b;--v1-soft:#e6f3f4;--v1-nav:#73c3c5}
[data-v1-theme=orange]{--v1-accent:#d68747;--v1-strong:#974d1b;--v1-soft:#fff1e5;--v1-nav:#f0ad6d}
[data-v1-theme=purple]{--v1-accent:#9868bc;--v1-strong:#734495;--v1-soft:#f3eafb;--v1-nav:#ba8fde}
[data-v1-theme=coral]{--v1-accent:#d76d73;--v1-strong:#a33443;--v1-soft:#fff0ee;--v1-nav:#f18a8f}
[data-v1-theme=rose]{--v1-accent:#b9687b;--v1-strong:#943c56;--v1-soft:#f9ebef;--v1-nav:#da8c9f}
[data-v1-theme=green]{--v1-accent:#749a4f;--v1-strong:#486d28;--v1-soft:#eef4e6;--v1-nav:#a4c879}
[data-v1-theme=olive]{--v1-accent:#929955;--v1-strong:#60672b;--v1-soft:#f3f4e9;--v1-nav:#c0c784}
[data-v1-theme=clay]{--v1-accent:#c58a6a;--v1-strong:#935632;--v1-soft:#faece3;--v1-nav:#e0ad90}
[data-v1-theme=analysis]{--v1-accent:#608ecc;--v1-strong:#2c5c9a;--v1-soft:#e8f0fe;--v1-nav:#8db5ef}
[data-v1-theme=gray]{--v1-accent:#838784;--v1-strong:#555c57;--v1-soft:#eeefec;--v1-nav:#c5c9c5}
[data-v1-theme=live]{--v1-accent:#49a45d;--v1-strong:#256e38;--v1-soft:#e9f5ea;--v1-nav:#72cb84}
body[data-v1-cms] *{box-sizing:border-box}
body[data-v1-cms] a{color:inherit}
body[data-v1-cms] :focus-visible{outline:3px solid #548ecc;outline-offset:3px}
body[data-v1-cms] .admin-header{margin-left:256px;min-height:112px;padding:12px 26px 10px;background:#15120d;color:#f8f0df;border:0;border-bottom:1px solid #806946;display:flex;align-items:center;justify-content:space-between;gap:20px}
body[data-v1-cms] .v1-header-title{flex:1;min-width:220px}
body[data-v1-cms] .v1-header-title>a{color:#edd0a0;text-decoration:none;font:700 36px/1 Georgia,serif;letter-spacing:.5px}
body[data-v1-cms] .v1-header-title>small{display:block;margin-top:5px;font-size:9px;letter-spacing:1.3px;color:#c3bcaf}
body[data-v1-cms] .v1-header-title>p{font:italic 21px/1.25 Georgia,serif;color:#dbc193;margin:12px 0 0}
body[data-v1-cms] .v1-header-tools{display:flex;gap:19px;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:570px}
body[data-v1-cms] .v1-clock{text-align:center;min-width:150px}
body[data-v1-cms] .v1-clock time{display:block;font-size:11px;white-space:nowrap;color:#ddd5c8}
body[data-v1-cms] .v1-clock>strong{font:700 28px/1.2 Georgia,serif;color:#edce99}
body[data-v1-cms] .v1-weather{display:flex;align-items:center;gap:7px;text-decoration:none;font-size:11px}
body[data-v1-cms] .v1-weather>svg{width:27px;height:27px;color:#e6d5b8}
body[data-v1-cms] .v1-weather strong,body[data-v1-cms] .v1-weather small{display:block}
body[data-v1-cms] .v1-language{display:flex;align-items:center;gap:5px;font-size:12px}
body[data-v1-cms] .v1-language>a{padding:5px 2px;text-decoration:none}
body[data-v1-cms] .v1-language>[aria-current]{color:#edcc94;font-weight:750;border-bottom:2px solid #edcc94}
body[data-v1-cms] .v1-help-link svg{width:23px;height:23px;color:#e9ca98}
body[data-v1-cms] .v1-profile{position:relative}
body[data-v1-cms] .v1-profile summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}
body[data-v1-cms] .v1-profile summary::-webkit-details-marker{display:none}
body[data-v1-cms] .v1-profile strong,body[data-v1-cms] .v1-profile small{display:block;font-size:12px}
body[data-v1-cms] .v1-profile small{color:#cec5b6;font-size:11px}
body[data-v1-cms] .v1-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#876236;color:#f6dfb8}
body[data-v1-cms] .v1-profile>div{position:absolute;right:0;top:48px;padding:14px;width:210px;z-index:50;background:#fffdf8;color:#282722;border-radius:8px;border:1px solid #d8c6aa;box-shadow:0 10px 30px #0005}
body[data-v1-cms] .v1-public-link{display:inline-flex;align-items:center;min-height:34px;padding:7px 15px;background:#efd09a;color:#352512;border-radius:5px;text-decoration:none;font-size:12px;font-weight:650}
body[data-v1-cms] .admin-layout{display:grid;grid-template-columns:256px minmax(0,1fr);max-width:none;gap:0;margin:0;min-height:calc(100dvh - 112px)}
body[data-v1-cms] .admin-layout>.cms-sidebar{margin-top:-112px;background:#12100c;border:0;position:sticky;top:0;align-self:start;height:100dvh;max-height:100dvh;overflow-y:auto;padding:0 10px 18px;border-right:1px solid #2e271b}
body[data-v1-cms] .cms-sidebar>.cms-navigation-toggle{display:none}
body[data-v1-cms] .v1-sidebar-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#e9ca8d;text-decoration:none;min-height:132px;text-align:center;gap:4px}
body[data-v1-cms] .v1-sidebar-brand>img{height:46px;width:126px;object-fit:contain}
body[data-v1-cms] .v1-sidebar-brand>strong{font:italic 26px/1.1 Georgia,serif;letter-spacing:-.5px}
body[data-v1-cms] .v1-sidebar-brand>span{font-size:9px;letter-spacing:2px}
body[data-v1-cms] .v1-sidebar-brand>small{font:italic 11px Georgia,serif;color:#dbc394}
body[data-v1-cms] .cms-navigation{display:flex;flex-direction:column;padding:0;gap:1px;background:transparent}
body[data-v1-cms] .cms-navigation .cms-navigation-link{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;min-height:43px;padding:9px 13px;border:0;border-radius:4px;font:17px/1.25 Georgia,serif;color:#e1ddd2;text-decoration:none;position:relative}
body[data-v1-cms] .cms-navigation .cms-navigation-link.active{background:#373229;box-shadow:inset 4px 0 var(--v1-nav,#edc784);color:#f9e6bd}
body[data-v1-cms] .cms-navigation .cms-navigation-link:hover{background:#302a21}
body[data-v1-cms] .v1-nav-icon{display:inline-flex;color:var(--v1-nav,#d8b36a);flex-shrink:0}
body[data-v1-cms] .v1-nav-icon svg,body[data-v1-cms] .cms-navigation-link>svg{height:25px;width:25px;flex-shrink:0;color:var(--v1-nav,#d8b36a)}
body[data-v1-cms] .cms-navigation-link[data-v1-theme=gray]:first-of-type{border-top:1px solid #706047;margin-top:14px;padding-top:14px}
body[data-v1-cms] .v1-off-label{display:block;font:600 10px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--v1-strong);padding:2px 5px;border:1px solid currentColor;border-radius:4px;max-width:max-content}
body[data-v1-cms] .cms-navigation-link>.v1-off-label{color:#b9b099;font-size:9px;margin-left:auto;min-width:42px}
body[data-v1-cms] .v1-more-navigation{border-top:1px solid #52452f;margin-top:9px;color:#e1d6c1}
body[data-v1-cms] .v1-more-navigation>summary{min-height:40px;padding:10px;font-size:12px;cursor:pointer}
body[data-v1-cms] .v1-more-navigation .cms-navigation-link{font:13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body[data-v1-cms] .v1-sidebar-note{padding:30px 19px 10px;color:#ddd5c6;max-width:224px}
body[data-v1-cms] .v1-sidebar-note>strong{font:italic 26px/1.4 Georgia,serif;color:#d7b579}
body[data-v1-cms] .v1-sidebar-note>p{font-size:12px}
body[data-v1-cms] .v1-sidebar-note>em{display:block;text-align:right;color:#d7b579;font-family:Georgia,serif}
body[data-v1-cms] .admin-layout>main{padding:12px 24px 24px;min-width:0;max-width:none;background:#100e0a}
body[data-v1-cms] main h1{font:500 33px/1.2 Georgia,serif;color:var(--v1-strong);margin:10px 0 20px}
body[data-v1-cms] h2{font:700 17px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;margin:0 0 12px}
body[data-v1-cms] .v1-welcome{border-radius:9px;min-height:184px;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:24px 30px;margin-bottom:9px;background:linear-gradient(90deg,#0806039e,#09060216 48%,#09070475),url('/admin/assets/v1-hero.webp') center 48%/cover;color:#fff9ed;overflow:hidden}
body[data-v1-cms] .v1-welcome h1{font:700 34px/1.12 Georgia,serif;color:#fffaf0;margin:0 0 6px;letter-spacing:-.4px;text-shadow:0 2px 8px #0008}
body[data-v1-cms] .v1-welcome p{font:22px/1.25 Georgia,serif;margin:0;text-shadow:0 2px 8px #000c}
body[data-v1-cms] .v1-welcome blockquote{border:1px solid #7e6b48;border-radius:7px;background:#100d09b8;backdrop-filter:blur(3px);padding:18px 20px;flex-shrink:0;font:italic 19px/1.5 Georgia,serif;color:#eddbb5;margin:0;max-width:330px}
body[data-v1-cms] .v1-welcome blockquote>span{display:block;width:26px;border-bottom:1px solid #e1bf7d;margin-top:10px}
body[data-v1-cms] .v1-live-strip{background:#fffdf8;color:#222922;border:1px solid #d2d0c7;border-radius:9px;padding:15px 20px 12px;margin:0 0 9px}
body[data-v1-cms] .v1-live-strip-top{display:flex;align-items:center;gap:16px}
body[data-v1-cms] .v1-live-word{font:700 24px/1.1 Georgia,serif;color:#298444;white-space:nowrap;display:flex;align-items:center;gap:10px}
body[data-v1-cms] .v1-live-dot{display:inline-block;width:23px;height:23px;background:#38a95b;border-radius:50%;box-shadow:0 0 0 2px #d6efdb}
body[data-v1-cms] .v1-live-strip-top h2{margin:0;font-size:16px;flex:1}
body[data-v1-cms] .v1-live-strip-top>time{font-size:11px;color:#484944}
body[data-v1-cms] .v1-today-label{background:#e2eafa;color:#334e77;font-size:11px;border-radius:4px;padding:8px 12px}
body[data-v1-cms] .v1-small-button{background:#eadcc4;color:#44321c;text-decoration:none;font:500 11px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;padding:8px 10px;border-radius:4px;white-space:nowrap}
body[data-v1-cms] .v1-timeline{display:flex;list-style:none;padding:0 2px;margin:10px 0 0}
body[data-v1-cms] .v1-timeline li{flex:1;position:relative;padding-top:23px}
body[data-v1-cms] .v1-timeline li:not(:last-child):before{content:"";position:absolute;top:8px;left:9px;width:calc(100% - 9px);height:4px;background:#c4c3be}
body[data-v1-cms] .v1-timeline li.complete:before{background:#81a8d4}
body[data-v1-cms] .v1-timeline i{position:absolute;top:3px;left:0;width:14px;height:14px;border:2px solid #bdbdb5;border-radius:50%;background:#fffdf8;z-index:1}
body[data-v1-cms] .v1-timeline li[aria-current] i{background:#7bb0e9;border-color:#7bb0e9;box-shadow:0 0 0 2px #d6e8fb}
body[data-v1-cms] .v1-timeline strong{display:block;font-size:11px;color:#252a25}
body[data-v1-cms] .v1-timeline small{font-size:10px;color:#4f565d}
body[data-v1-cms] .v1-live-override-note{font-size:11px;color:#5d6b5e;margin:7px 0 0}
body[data-v1-cms] .v1-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body[data-v1-cms] .v1-module{display:flex;align-items:center;gap:17px;min-height:105px;padding:15px 17px;background:var(--v1-soft,#fffdf8);color:#242722;text-decoration:none;border:1px solid #d7d3c8;border-radius:9px;position:relative;box-shadow:0 2px 4px #0002;transition:transform .15s,border-color .15s}
body[data-v1-cms] .v1-module:hover{transform:translateY(-2px);border-color:var(--v1-accent)}
body[data-v1-cms] .v1-module>div{flex:1;min-width:0}
body[data-v1-cms] .v1-module strong{display:block;color:var(--v1-strong);font-size:16px;font-weight:750;line-height:1.22}
body[data-v1-cms] .v1-module p{font-size:12px;color:#484b43;line-height:1.5;margin:6px 0 0;max-width:180px}
body[data-v1-cms] .v1-module-icon{display:grid;place-items:center;flex-shrink:0;background:var(--v1-accent);border-radius:50%;width:61px;height:61px;color:#fffdf4;box-shadow:inset 0 2px 9px #ffffff3b}
body[data-v1-cms] .v1-module-icon svg{width:32px;height:32px}
body[data-v1-cms] .v1-card-arrow{width:30px;height:30px;border-radius:50%;background:var(--v1-accent);color:white;display:grid;place-items:center;margin-left:auto;align-self:flex-end;flex-shrink:0}
body[data-v1-cms] .v1-card-arrow svg{width:18px;height:18px}
body[data-v1-cms] .v1-card-badge{position:absolute;right:16px;top:14px;background:var(--v1-strong);color:#fff;padding:2px 7px;min-width:23px;text-align:center;border-radius:5px;font-size:12px;font-weight:700}
body[data-v1-cms] .v1-dashboard-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:9px}
body[data-v1-cms] .v1-home-panel{background:#fffdf8;border:1px solid #d7d3c8;border-radius:9px;min-height:190px;padding:15px 14px}
body[data-v1-cms] .v1-home-panel>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}
body[data-v1-cms] .v1-home-panel h2{font-size:14px;margin:0}
body[data-v1-cms] .v1-upcoming,body[data-v1-cms] .v1-today-list{padding:0;margin:0;list-style:none}
body[data-v1-cms] .v1-upcoming>li{display:grid;grid-template-columns:auto auto auto minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #e8e4dd;align-items:center;font-size:11px}
body[data-v1-cms] .v1-upcoming strong{font-weight:500;overflow-wrap:anywhere}
body[data-v1-cms] .v1-upcoming time{font-weight:700}
body[data-v1-cms] .v1-upcoming small{display:block;font-size:10px;font-weight:400}
body[data-v1-cms] .v1-upcoming>.v1-empty{display:block;font-size:13px;line-height:1.7;padding:20px 0;color:#5f635b}
body[data-v1-cms] .v1-today-list>li{display:flex;gap:8px;justify-content:space-between;align-items:center;border-bottom:1px solid #e8e4dd;min-height:28px;font-size:11px;padding:4px 0}
body[data-v1-cms] .v1-today-list>li>span{display:flex;align-items:center;gap:8px}
body[data-v1-cms] .v1-today-list svg{width:18px;height:18px;flex-shrink:0}
body[data-v1-cms] .v1-today-list strong{color:#79552e;font-weight:600;text-align:right}
body[data-v1-cms] .v1-today-list small{font-weight:400;color:#252a25}
body[data-v1-cms] .v1-quick-panel>div{display:grid;gap:7px}
body[data-v1-cms] .v1-quick-panel a{display:flex;align-items:center;gap:10px;background:#373127;color:#ffeed5;text-decoration:none;padding:8px 12px;border-radius:4px;font-size:12px;min-height:36px;border-left:3px solid var(--v1-nav,#d8b36a)}
body[data-v1-cms] .v1-quick-panel svg{width:19px;height:19px;color:var(--v1-nav,#d8b36a);flex-shrink:0}
body[data-v1-cms] .v1-footer{margin:0 24px 0 280px;border-top:1px solid #736043;padding:15px 0 20px;color:#c9beaa;display:flex;justify-content:space-between;gap:20px;font-size:11px}
body[data-v1-cms] .v1-footer i{padding:0 12px;color:#9f8c6a}
body[data-v1-cms] .v1-footer em{font:italic 16px Georgia,serif;color:#d7bb83}
body[data-v1-cms] .v1-module-heading{border:1px solid var(--v1-accent);border-radius:9px;background:var(--v1-soft);padding:15px 22px;margin-bottom:16px}
body[data-v1-cms] .v1-module-heading h1{color:var(--v1-strong);margin:6px 0;font-size:30px}
body[data-v1-cms] .v1-module-heading>p{margin:0}
body[data-v1-cms] .panel,body[data-v1-cms] .content-list>article,body[data-v1-cms] .stats>article,body[data-v1-cms] .booking-card{background:var(--card);color:var(--ink);border:1px solid #ded8cc;border-radius:9px}
body[data-v1-cms] .panel h2,body[data-v1-cms] .content-list h2{color:var(--v1-strong)}
body[data-v1-cms] .panel{padding:20px;margin:14px 0}
body[data-v1-cms] .panel p{color:#55584f}
body[data-v1-cms] label{color:#373e36}
body[data-v1-cms] input,body[data-v1-cms] textarea,body[data-v1-cms] select{background:#fff;color:#262b25;border:1px solid #babdb4;border-radius:6px}
body[data-v1-cms] button,body[data-v1-cms] .button{background:var(--v1-strong);color:#fff;border:1px solid var(--v1-strong);border-radius:6px;font-size:13px;min-height:40px;padding:9px 14px;text-decoration:none}
body[data-v1-cms] button.quiet,body[data-v1-cms] .button.quiet{background:var(--v1-soft);color:var(--v1-strong);border-color:var(--v1-accent)}
body[data-v1-cms] .v1-back,body[data-v1-cms] .v1-profile button{background:#f0e7d6!important;color:#51412b!important;border-color:#cdbda3!important}
body[data-v1-cms] button:disabled{opacity:.55;cursor:not-allowed}
body[data-v1-cms] .danger,body[data-v1-cms] [name=delete_event],body[data-v1-cms] [value=PURGE],body[data-v1-cms] [value=delete]{background:#963838!important;color:#fff!important;border-color:#963838!important}
body[data-v1-cms] .notice{background:#fff4d6;color:#514124;border:1px solid #d8bf88;border-radius:6px;padding:12px}
body[data-v1-cms] .error{color:#962d35}
body[data-v1-cms] main>h2,body[data-v1-cms] main>p{color:#e8ddc8}
body[data-v1-cms] .content-list,body[data-v1-cms] .actions{gap:10px}
body[data-v1-cms] .v1-context{display:flex;flex-wrap:wrap;align-items:end;gap:15px;background:#f4f3ed;padding:15px;border-radius:7px;margin-bottom:14px}
body[data-v1-cms] .v1-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
body[data-v1-cms] .v1-summary>div{background:#fffdf8;border-radius:7px;padding:20px;color:#36553d}
body[data-v1-cms] .v1-summary strong{font-size:35px;display:block}
body[data-v1-cms] .v1-summary span{font-size:12px}
body[data-v1-cms] .v1-module-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
body[data-v1-cms] .v1-module-status h2{display:flex;align-items:center;gap:10px}
body[data-v1-cms] .v1-module-status svg{height:24px;width:24px}
body[data-v1-cms] .v1-mobile-nav{display:none}
body[data-v1-cms] .login-card{max-width:470px;background:#fff8ea;color:#2b261b;border:1px solid #a88a57;border-radius:14px;margin:7vh auto;padding:36px}
body[data-v1-cms] .login-card .brand{color:#76552c;font:28px Georgia,serif}
body[data-v1-cms] .login-card .brand small{color:#76552c}
body[data-v1-cms] .login-card h1{color:#43321b}
/* These fieldsets sit on the light settings cards, so use the card's dark accent. */
body[data-v1-cms] [data-v1-module=settings] .panel legend,
body[data-v1-cms] [data-v1-module=mail_config] .panel legend{color:var(--v1-strong)}
body[data-v1-cms] [data-v1-module=takeaway] .panel summary{color:var(--v1-strong)}
@media(min-width:1450px){body[data-v1-cms] .admin-layout>main{padding:16px 30px 30px}body[data-v1-cms] .v1-welcome{min-height:215px}body[data-v1-cms] .v1-module{min-height:120px}}
@media(max-width:1180px) and (min-width:861px){body[data-v1-cms] .admin-header{padding:13px 18px;gap:10px}body[data-v1-cms] .v1-header-tools{gap:10px}body[data-v1-cms] .v1-header-title{min-width:180px}body[data-v1-cms] .v1-header-title>p{font-size:17px}body[data-v1-cms] .admin-layout>main{padding:12px 14px 20px}body[data-v1-cms] .v1-module{gap:10px;padding:14px 12px}body[data-v1-cms] .v1-module-icon{height:44px;width:44px}body[data-v1-cms] .v1-module-icon svg{height:26px;width:26px}body[data-v1-cms] .v1-module strong{font-size:14px}body[data-v1-cms] .v1-card-arrow{height:22px;width:22px}body[data-v1-cms] .v1-welcome blockquote{font-size:16px;max-width:245px}body[data-v1-cms] .v1-welcome h1{font-size:28px}body[data-v1-cms] .v1-welcome p{font-size:18px}body[data-v1-cms] .v1-live-strip-top{gap:10px}body[data-v1-cms] .v1-live-strip-top h2{font-size:13px}body[data-v1-cms] .v1-today-label{display:none}body[data-v1-cms] .v1-upcoming>li{gap:5px;font-size:10px}}
@media(max-width:860px){
 body[data-v1-cms]{font-size:14px;padding-bottom:74px}
 body[data-v1-cms] .admin-header{margin:0;padding:12px 15px;min-height:100px;align-items:start;gap:10px}
 body[data-v1-cms] .v1-header-title{min-width:0;max-width:45%;flex:1}
 body[data-v1-cms] .v1-header-title>a{font-size:29px}
 body[data-v1-cms] .v1-header-title>small{font-size:7px;letter-spacing:.5px}
 body[data-v1-cms] .v1-header-title>p{font-size:15px;margin-top:8px}
 body[data-v1-cms] .v1-header-tools{max-width:55%;gap:8px;font-size:11px}
 body[data-v1-cms] .v1-clock{min-width:0}
 body[data-v1-cms] .v1-clock time{font-size:9px}
 body[data-v1-cms] .v1-clock>strong{font-size:22px}
 body[data-v1-cms] .v1-weather{font-size:9px}
 body[data-v1-cms] .v1-weather>svg{width:20px;height:20px}
 body[data-v1-cms] .v1-profile{order:4}
 body[data-v1-cms] .v1-avatar{height:30px;width:30px}
 body[data-v1-cms] .v1-profile summary>span:last-child{display:none}
 body[data-v1-cms] .v1-public-link{font-size:10px;min-height:28px;padding:5px 7px}
 body[data-v1-cms] .v1-help-link{order:3}
 body[data-v1-cms] .admin-layout{display:block;min-height:0}
 body[data-v1-cms] .admin-layout>.cms-sidebar{margin:0;width:100%;height:auto;max-height:none;position:relative;border:0;background:#1b1710;padding:0}
 body[data-v1-cms] .cms-sidebar>.cms-navigation-toggle{display:flex;padding:11px 16px;background:#262015;color:#f4dfbb;border-bottom:1px solid #4d3c25}
 body[data-v1-cms] .cms-navigation-toggle small{font-size:11px}
 body[data-v1-cms] .v1-sidebar-brand{min-height:85px;display:none}
 body[data-v1-cms] .cms-sidebar:not([open])>*:not(summary){display:none}
 body[data-v1-cms] .cms-sidebar[open] .cms-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:12px}
 body[data-v1-cms] .cms-navigation .cms-navigation-link{font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;min-height:45px;padding:10px;gap:8px}
 body[data-v1-cms] .v1-more-navigation{grid-column:1/-1}
 body[data-v1-cms] .v1-sidebar-note{display:none}
 body[data-v1-cms] .admin-layout>main{padding:12px;min-width:0}
 body[data-v1-cms] .v1-welcome{min-height:190px;padding:23px 18px}
 body[data-v1-cms] .v1-welcome h1{font-size:30px}
 body[data-v1-cms] .v1-welcome p{font-size:19px}
 body[data-v1-cms] .v1-welcome blockquote{display:none}
 body[data-v1-cms] .v1-live-strip{padding:13px 14px}
 body[data-v1-cms] .v1-live-strip-top{flex-wrap:wrap;gap:8px}
 body[data-v1-cms] .v1-live-word{font-size:21px;gap:7px}
 body[data-v1-cms] .v1-live-dot{height:18px;width:18px}
 body[data-v1-cms] .v1-live-strip-top h2{font-size:13px}
 body[data-v1-cms] .v1-live-strip-top>time{font-size:10px}
 body[data-v1-cms] .v1-today-label{display:none}
 body[data-v1-cms] .v1-timeline{overflow-x:auto;gap:0;padding-bottom:3px}
 body[data-v1-cms] .v1-timeline li{min-width:76px}
 body[data-v1-cms] .v1-timeline strong{font-size:10px}
 body[data-v1-cms] .v1-timeline small{font-size:9px}
 body[data-v1-cms] .v1-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body[data-v1-cms] .v1-module{min-height:138px;gap:10px;align-items:flex-start;flex-direction:column;padding:14px}
 body[data-v1-cms] .v1-module-icon{width:36px;height:36px}
 body[data-v1-cms] .v1-module-icon svg{width:22px;height:22px}
 body[data-v1-cms] .v1-module strong{font-size:14px}
 body[data-v1-cms] .v1-module p{font-size:11px;margin-top:5px}
 body[data-v1-cms] .v1-card-arrow{position:absolute;right:12px;top:18px;height:24px;width:24px}
 body[data-v1-cms] .v1-card-badge{top:20px;right:43px}
 body[data-v1-cms] .v1-dashboard-bottom{grid-template-columns:1fr;gap:10px}
 body[data-v1-cms] .v1-home-panel{min-height:0;padding:16px}
 body[data-v1-cms] .v1-upcoming>li{font-size:12px}
 body[data-v1-cms] .v1-today-list>li{font-size:13px;min-height:33px}
 body[data-v1-cms] .v1-footer{margin:0 14px;padding:18px 0;flex-direction:column;gap:10px;font-size:11px}
 body[data-v1-cms] .v1-footer em{font-size:14px}
 body[data-v1-cms] .v1-mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;background:#19160e;border-top:1px solid #9b804e;padding:8px 3px calc(8px + env(safe-area-inset-bottom));z-index:40;min-height:62px}
 body[data-v1-cms] .v1-mobile-nav a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;color:#d9d0bc;text-decoration:none;min-height:44px}
 body[data-v1-cms] .v1-mobile-nav svg{height:21px;width:21px;color:var(--v1-nav,#d8b36a)}
 body[data-v1-cms] .v1-mobile-nav a[aria-current]{color:var(--v1-nav,#d8b36a);font-weight:750}
 body[data-v1-cms] .v1-module-heading{padding:14px 16px}
 body[data-v1-cms] .v1-module-heading h1{font-size:27px}
 body[data-v1-cms] .v1-context{gap:10px}
 body[data-v1-cms] .v1-context label{flex:1;min-width:120px}
 body[data-v1-cms] .v1-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-v1-cms] .v1-summary>div{padding:16px}
 body[data-v1-cms] .v1-summary strong{font-size:29px}
 body[data-v1-cms] .v1-module-status-grid{grid-template-columns:1fr}
 body[data-v1-cms] .login-card{margin:5vh 14px;padding:25px}
}
@media(prefers-reduced-motion:reduce){body[data-v1-cms] .v1-module{transition:none}}
@media print{body[data-v1-cms]{background:#fff;color:#222;padding:0}body[data-v1-cms] .admin-header,body[data-v1-cms] .cms-sidebar,body[data-v1-cms] .v1-mobile-nav{display:none}body[data-v1-cms] .admin-layout{display:block}body[data-v1-cms] .admin-layout>main{padding:0;background:white}body[data-v1-cms] .v1-footer{margin:0}body[data-v1-cms] .panel{box-shadow:none;break-inside:avoid}}

/* LIVE retains its module green and uses state colors as context, not as action permissions. */
body[data-v1-cms] .v1-live-state-heading{display:flex;gap:16px;align-items:center;padding:22px;border-radius:12px;margin:16px 0;background:#e4f4e7;color:#173b27}
body[data-v1-cms] .v1-live-state-heading h2{margin:0;font-family:system-ui,sans-serif;font-size:24px;color:inherit}
body[data-v1-cms] .v1-live-state-heading p{margin:6px 0 0}
body[data-v1-cms] .v1-live-state-heading time{margin-left:auto;background:#fff9;padding:6px 12px;border-radius:20px;color:#173b27}
body[data-v1-cms] [data-live-state="MORNING"] .v1-live-state-heading,body[data-v1-cms] [data-live-state="INTERSERVICE"] .v1-live-state-heading{background:#e4efff;color:#16395f}
body[data-v1-cms] [data-live-state="BEFORE_LUNCH"] .v1-live-state-heading,body[data-v1-cms] [data-live-state="BEFORE_DINNER"] .v1-live-state-heading{background:#eee4f8;color:#48296a}
body[data-v1-cms] [data-live-state="CLOSE_LUNCH"] .v1-live-state-heading,body[data-v1-cms] [data-live-state="CLOSE_DAY"] .v1-live-state-heading{background:#fff0df;color:#743e11}
body[data-v1-cms] [data-live-state="FINISHED"] .v1-live-state-heading{background:#173b2b;color:#fff}
body[data-v1-cms] [data-live-state="CLOSED"] .v1-live-state-heading{background:#171717;color:#fff}
body[data-v1-cms] .v1-live-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body[data-v1-cms] .v1-live-task-list{list-style:none;padding:0;margin:0}
body[data-v1-cms] .v1-live-task-list li{margin:10px 0}
body[data-v1-cms] .v1-live-task-list form{margin:0}
body[data-v1-cms] .v1-live-task-list .v1-task-toggle{width:100%;border:1px solid #c2c8c9;background:#fff;color:#25332b;text-align:left;box-shadow:none}
body[data-v1-cms] .v1-live-task-list .v1-task-toggle.is-complete{background:#e8f6ec;color:#17462a;border-color:#46865c}
body[data-v1-cms] .v1-production-result{padding:12px 0;border-bottom:1px solid #dde5df}
body[data-v1-cms] .v1-bar{height:9px;overflow:hidden;background:#dde5df;border-radius:8px;margin:8px 0}
body[data-v1-cms] .v1-bar span{display:block;height:100%;background:#237943}
@media(max-width:700px){body[data-v1-cms] .v1-live-columns{grid-template-columns:1fr}body[data-v1-cms] .v1-live-state-heading h2{font-size:20px}}

body[data-v1-cms] .v1-live{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}body[data-v1-cms] .v1-live p,body[data-v1-cms] .v1-live label,body[data-v1-cms] .v1-live button,body[data-v1-cms] .v1-live input,body[data-v1-cms] .v1-live select{font-family:inherit}

/* Daily module keeps its orange identity and uses the same persisted menus. */
body[data-v1-cms] .v1-daily-week-toolbar form,body[data-v1-cms] .v1-daily-week-toolbar nav{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
body[data-v1-cms] .v1-daily-week-toolbar form{margin-bottom:14px}
body[data-v1-cms] .v1-daily-week-toolbar label{margin:0}
body[data-v1-cms] .v1-daily-calendar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
body[data-v1-cms] .v1-daily-day{background:#fff9f4;border:1px solid #edc7a8;border-radius:12px;min-width:0;padding:14px}
body[data-v1-cms] .v1-daily-day>header{padding-bottom:10px;border-bottom:1px solid #ebc9ad}
body[data-v1-cms] .v1-daily-day>header h2{font-family:inherit;font-size:18px;margin:0 0 6px;color:#9b4816;overflow-wrap:anywhere}
body[data-v1-cms] .v1-daily-day time{font-size:13px}
body[data-v1-cms] .v1-daily-day.is-closed{background:#1b1b1b;color:#fff;border-color:#222}
body[data-v1-cms] .v1-daily-day.is-closed>header h2,body[data-v1-cms] .v1-daily-day.is-closed .v1-daily-closed{color:#fff}
body[data-v1-cms] .v1-daily-closed{font-weight:700}
body[data-v1-cms] .v1-daily-closure,body[data-v1-cms] .v1-daily-empty{font-size:13px;overflow-wrap:anywhere}
body[data-v1-cms] .v1-daily-menu{margin:12px 0;padding:0 0 14px;border-bottom:1px solid #e8c9b1;background:#fff;color:#2e2c29;border-radius:9px;overflow:hidden}
body[data-v1-cms] .v1-daily-menu img{display:block;width:100%;height:125px;object-fit:cover}
body[data-v1-cms] .v1-daily-menu-copy,body[data-v1-cms] .v1-daily-actions{padding:10px}
body[data-v1-cms] .v1-daily-menu h3{font-family:inherit;font-size:16px;line-height:1.35;color:#623718;margin:8px 0;overflow-wrap:anywhere}
body[data-v1-cms] .v1-daily-menu p{font-size:13px;overflow-wrap:anywhere}
body[data-v1-cms] .v1-daily-service{font-size:12px;color:#725e4c}
body[data-v1-cms] .v1-daily-price{display:block;margin:6px 0}
body[data-v1-cms] .v1-daily-actions{display:flex;flex-wrap:wrap;gap:8px}
body[data-v1-cms] .v1-daily-actions .button,body[data-v1-cms] .v1-daily-actions button,body[data-v1-cms] .v1-daily-add{padding:9px 10px;min-height:42px;font-size:13px;text-align:center}
body[data-v1-cms] .v1-daily-remove{width:100%;font-size:13px}
body[data-v1-cms] .v1-daily-remove summary{cursor:pointer;padding:8px 0;color:#914424}
body[data-v1-cms] .v1-daily-remove form{margin:0}
body[data-v1-cms] .v1-daily-confirm{display:flex;align-items:flex-start;gap:7px;font-size:13px}
body[data-v1-cms] .v1-daily-confirm input[type=checkbox]{width:20px;height:20px;flex:0 0 20px}
body[data-v1-cms] .v1-daily-calendar.weekend{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-v1-cms] .v1-daily-weekend>summary{font-weight:700;cursor:pointer;padding:4px}
body[data-v1-cms] .v1-daily-history{display:grid;gap:14px}
body[data-v1-cms] .v1-daily-history .v1-daily-menu{max-width:580px}
body[data-v1-cms] .v1-daily-output{width:min(1000px,94vw);max-height:94dvh;border:1px solid #daae88;border-radius:16px;padding:0;background:#fff9f4;color:#30251d;box-shadow:0 20px 80px #0006}
body[data-v1-cms] .v1-daily-output::backdrop{background:#0009}
body[data-v1-cms] .v1-daily-output>header{display:flex;align-items:center;gap:12px;background:#ffe7d3;padding:15px 20px;border-bottom:1px solid #e7b88f}
body[data-v1-cms] .v1-daily-output>header h2{font-family:inherit;font-weight:600;font-size:20px;line-height:1.35;flex:1;margin:0;overflow-wrap:anywhere}
body[data-v1-cms] .v1-daily-output-body{padding:20px}
body[data-v1-cms] .v1-daily-output .actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
body[data-v1-cms] .v1-daily-output iframe{width:100%;height:65vh;border:1px solid #d2b28e;background:#fff}
body[data-v1-cms] .v1-daily-output img{display:block;width:min(100%,650px);height:auto;margin:15px auto}
body[data-v1-cms] .v1-daily-social{border-top:1px solid #ddba97;margin-top:20px;padding-top:15px}
body[data-v1-cms] .v1-daily-social canvas{width:min(100%,400px);height:auto;display:block;margin:15px auto}
body[data-v1-cms] .v1-daily-output [hidden]{display:none!important}
@media(max-width:1250px){body[data-v1-cms] .v1-daily-calendar{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){body[data-v1-cms] .v1-daily-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){body[data-v1-cms] .v1-daily-calendar,body[data-v1-cms] .v1-daily-calendar.weekend{grid-template-columns:1fr}body[data-v1-cms] .v1-daily-menu img{height:180px}body[data-v1-cms] .v1-daily-output{width:98vw;max-height:95dvh}body[data-v1-cms] .v1-daily-output>header,body[data-v1-cms] .v1-daily-output-body{padding:12px}body[data-v1-cms] .v1-daily-output>header h2{font-size:17px}}

/* Weekly corrected drafts follow the approved daily-module color. */
.v1-week-intake pre{white-space:pre-wrap;font:inherit;line-height:1.7;padding:1rem;background:var(--v1-module-soft,#fff8ee);border-radius:10px}
.v1-intake-day{padding:1rem;margin:.8rem 0;border:1px solid var(--line,#dfcab0);border-radius:12px;background:#fffdf9}
.v1-intake-dish{display:flex;gap:1rem;margin:.6rem 0}.v1-intake-dish img{object-fit:cover;border-radius:8px}.v1-intake-dish p{margin:.3rem 0}
[data-intake-result] article{margin:1rem 0;padding:1rem;background:#fffdf9;border-radius:10px}[data-intake-result] iframe{display:block;width:100%;height:560px;border:0;margin-top:1rem}
@media(max-width:600px){.v1-intake-dish{flex-direction:column}[data-intake-result] iframe{height:420px}}

/* Price editing follows the existing module colour and works on small screens. */
#price-grid .grid-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}
#price-grid .grid-tools label{min-width:170px;flex:1}#price-grid .grid-tools input,#price-grid select{width:100%;margin-top:6px}
#price-matrix{width:100%;border-collapse:collapse}#price-matrix th,#price-matrix td{padding:12px;min-width:145px;border-bottom:1px solid var(--line,#ddd)}
#price-matrix th:first-child,#price-matrix td:first-child{min-width:230px;position:sticky;left:0;background:var(--panel,#fff);z-index:1}
#price-matrix input{min-width:110px;width:100%;margin:0}#price-matrix td.changed input{border:2px solid var(--gold,#bb8a41)}#price-matrix small{display:block}
#price-preview-dialog{max-width:95vw;max-height:90vh;width:1000px;padding:24px;overflow:auto;border:1px solid var(--gold,#bb8a41);border-radius:16px;background:#faf7f0;color:#241d17}
#price-preview-dialog::backdrop{background:#0009}#price-preview-dialog table{width:100%;border-collapse:collapse}#price-preview-dialog td,#price-preview-dialog th{padding:10px;border-bottom:1px solid #ddd;text-align:left}
#price-preview-dialog .actions{display:flex;gap:12px;flex-wrap:wrap}

/* Carte & Menus: module gold identity, readable independently of public website CSS. */
body[data-v1-cms][data-v1-theme="gold"] .cms-catalog>section>h2{color:#f4dfb8}
body[data-v1-cms][data-v1-theme="gold"] .cms-category{background:#f8f3e9;color:#282722;border-color:#bd995b}
body[data-v1-cms][data-v1-theme="gold"] .cms-category strong{color:#7b5928}
body[data-v1-cms][data-v1-theme="gold"] .cms-category span{color:#484338}
body[data-v1-cms][data-v1-theme="gold"] .cms-category:hover,
body[data-v1-cms][data-v1-theme="gold"] .cms-category.active{background:#ecd9b5;color:#282722;border-color:#7b5928}
body[data-v1-cms][data-v1-theme="gold"] .cms-breadcrumb{color:#f4dfb8}

/* Inner calendar navigation must not inherit the sidebar's geometry. */
body[data-v1-cms] .admin-layout main .v1-daily-week-toolbar nav{position:static;display:flex;flex-direction:row;width:auto;min-width:0;height:auto;min-height:0;max-height:none;margin:0;padding:8px 0;border:0;overflow:visible;align-items:center;justify-content:flex-start;gap:10px}
body[data-v1-cms] .v1-daily-week-toolbar{margin:12px 0}
body[data-v1-cms] .v1-daily-week-toolbar form{margin:0}
body[data-v1-cms] .v1-daily-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:14px 0}
body[data-v1-cms] .v1-month-weekday{color:#f4dfb8;text-align:center;font-size:12px}
body[data-v1-cms] .v1-month-day{position:relative;background:#fff9f4;border:1px solid #edc7a8;border-radius:8px;min-height:83px;padding:8px;min-width:0;color:#282722}
body[data-v1-cms] .v1-month-day>time{font-weight:750}
body[data-v1-cms] .v1-month-day>small{display:block;font-size:10px}
body[data-v1-cms] .v1-month-day.is-closed{background:#202020;color:#fff;border-color:#444}
body[data-v1-cms] .v1-month-day.is-today{outline:2px solid #974d1b;outline-offset:1px}
body[data-v1-cms] .v1-month-day.is-today:not(.is-closed){background:#fff0df;border-color:#cd915c}
body[data-v1-cms] .v1-month-day.is-today>time{display:inline-block;background:#f1d3ac;color:#613918;border-radius:5px;padding:2px 6px}
body[data-v1-cms] .v1-month-menu{display:block;width:100%;background:#fff1e5;color:#633512;border:1px solid #d68747;border-radius:5px;margin:6px 0;padding:6px;text-align:left;font-size:12px;line-height:1.3;overflow-wrap:anywhere;white-space:normal;box-shadow:none}
body[data-v1-cms] .v1-month-menu small{display:block;font-size:9px;margin-top:3px}
body[data-v1-cms] .v1-month-add{display:inline-flex;color:inherit;text-decoration:none;font-size:20px;min-height:28px;min-width:28px;justify-content:center}
body[data-v1-cms] .v1-daily-dictation{background:#fffdf8;border:1px solid #edc7a8;border-radius:10px;padding:15px;margin:16px 0;color:#282722}
body[data-v1-cms] .v1-daily-dictation>summary{color:#974d1b;font-weight:700;cursor:pointer}
body[data-v1-cms] .v1-daily-dictation[open]>summary{margin-bottom:12px}
body[data-v1-cms] .v1-daily-dictation .panel{margin-bottom:12px}
.v1-daily-dictation:not([open]) > :not(summary),
[data-intake-local-days] > details:not([open]) > :not(summary) { display: none; }
@media(max-width:700px){body[data-v1-cms] .v1-daily-month{gap:3px}body[data-v1-cms] .v1-month-day{padding:4px;min-height:73px}body[data-v1-cms] .v1-month-menu{font-size:10px;padding:4px}body[data-v1-cms] .v1-month-menu small{font-size:8px}body[data-v1-cms] .v1-daily-week-toolbar .button{padding:8px;font-size:12px}body[data-v1-cms] .v1-daily-dictation{padding:10px}}

/* Compact touch calendar: retain accessible full titles without tall narrow cells. */
body[data-v1-cms] .admin-layout main .v1-daily-week-toolbar nav{background:transparent;color:#282722}
@media(max-width:700px){
 body[data-v1-cms] .v1-month-menu{height:54px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}
 body[data-v1-cms] .v1-month-menu small{display:none}
 body[data-v1-cms] .v1-month-day{min-height:83px}
 body[data-v1-cms] .v1-month-weekday{font-size:10px}
}

/* Shared private CMS help controls; no public selectors. */
body[data-v1-cms] .v1-context-help{position:relative;margin:8px 0;color:var(--v1-ink,#30251d)}
body[data-v1-cms] .v1-context-help p{background:#fffdf8;color:#282722;border:1px solid #bd995b;padding:12px;border-radius:8px;max-width:680px}
body[data-v1-cms] .v1-help-control{position:relative;color:#f3dbad}
body[data-v1-cms] .v1-help-control summary{cursor:pointer;font-size:24px}
body[data-v1-cms] .v1-help-control form{position:absolute;right:0;top:30px;z-index:20;background:#fff8ec;color:#282722;border:1px solid #bd995b;border-radius:10px;padding:12px;width:220px}
body[data-v1-cms] .v1-help-control>a{display:block;font-size:12px}

/* Filter controls share one baseline; inner navigation is readable on mobile. */
body[data-v1-cms] .admin-layout main .filter-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
body[data-v1-cms] .admin-layout main .filter-form>label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:130px;color:#f4dfb8}
body[data-v1-cms] .admin-layout main .filter-form>input,
body[data-v1-cms] .admin-layout main .filter-form>label>input,
body[data-v1-cms] .admin-layout main .filter-form>label>select,
body[data-v1-cms] .admin-layout main .filter-form>button{height:48px;margin:0}
body[data-v1-cms] .admin-layout main nav.client-alphabet,
body[data-v1-cms] .admin-layout main .v1-client-alphabet,
body[data-v1-cms] .admin-layout main .client-alphabet{position:static;background:#fffdf8;color:#315c8b;display:flex;flex-direction:row;flex-wrap:wrap;width:auto;min-height:0;height:auto;gap:5px}
body[data-v1-cms] .admin-layout main .client-alphabet a,
body[data-v1-cms] .admin-layout main .v1-client-alphabet a{color:#315c8b;background:#e8f0fa;min-width:32px;min-height:36px;text-align:center;border-radius:5px}

/* Admin readability retest 6A: preserve Golden palette and floor geometry. */
body[data-v1-cms] .floor-room-card .floor-group-note {color:#c9bdab;}
body[data-v1-cms] .v1-week-intake > details > summary {color:var(--v1-strong,#974d1b);}

/* Event editor readability: light panels use the active module's dark accent. */
body[data-v1-cms] .admin-layout main .cms-simple-editor[data-simple-kind="event"] details > summary,
body[data-v1-cms] .admin-layout main details.panel > summary {color:var(--v1-strong,#734495);}
body[data-v1-cms] .admin-layout main .content-list article .status {color:var(--v1-strong,#734495);}

/* MR-030: floor service filters must not overlap on iPhone Safari. */
@media(max-width:700px){
 body[data-v1-cms] .admin-layout main form.filter-form{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:12px;width:100%}
 body[data-v1-cms] .admin-layout main form.filter-form>label{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;max-width:100%;min-width:0;width:100%;margin:0}
 body[data-v1-cms] .admin-layout main form.filter-form>label>input,body[data-v1-cms] .admin-layout main form.filter-form>label>select{box-sizing:border-box;display:block;min-width:0;max-width:100%;width:100%;height:48px;min-height:48px;margin:0;font-size:16px}
 body[data-v1-cms] .admin-layout main form.filter-form>button{width:100%;min-height:48px}
}

/* Dashboard Today: existing design, functional full-row accessible targets. */
body[data-v1-cms] .v1-today-list>li>.v1-today-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;min-width:0;width:100%;color:inherit;text-decoration:none}
body[data-v1-cms] .v1-today-list>li>.v1-today-link>span{display:flex;align-items:center;gap:8px;min-width:0}
body[data-v1-cms] .v1-today-list>li>.v1-today-link>strong{color:#79552e;font-weight:600;text-align:right}
body[data-v1-cms] .v1-today-list>li>.v1-today-link:focus-visible{outline:2px solid #8f6b30;outline-offset:2px}

/* Gmail-like ergonomics, existing Cafe identity. Two labelled logical channels, no provider activation. */
body[data-v1-cms] .cafe-mail{--mail-ink:#7b5928;--mail-soft:#f8f3e9;--mail-accent:#bd995b;background:#fffdf8;border:1px solid #dedcd4;border-radius:18px;overflow:hidden;min-width:0}
body[data-v1-cms] .cafe-mail[data-mail-channel=reservation]{--mail-ink:#22568b;--mail-soft:#e8f1ff;--mail-accent:#4a86ce}
body[data-v1-cms] .cafe-mail .mail-toolbar{display:flex;align-items:center;gap:18px;padding:18px;border-bottom:1px solid #dedcd4}
body[data-v1-cms] .cafe-mail .mail-toolbar h2{font-size:20px;margin:0}
body[data-v1-cms] .cafe-mail .mail-search{display:flex;align-items:center;gap:8px;flex:1;margin:0;min-width:0}
body[data-v1-cms] .cafe-mail .mail-search label{flex:1;min-width:0;margin:0;font-size:11px}
body[data-v1-cms] .cafe-mail .mail-search input{width:100%;margin:3px 0 0;background:#f5ebd7;border-radius:24px;padding:12px 16px}
body[data-v1-cms] .cafe-mail .mail-channels{position:static;display:flex;flex-direction:row;gap:10px;padding:14px 18px 0;flex-wrap:wrap;height:auto;min-height:0;width:auto;max-height:none;background:transparent}
body[data-v1-cms] .cafe-mail .mail-channel{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:8px;padding:10px 14px;background:#f8f3e9;color:#7b5928;border:2px solid transparent;border-radius:14px;min-width:0;width:auto;text-decoration:none}
body[data-v1-cms] .cafe-mail .mail-channel[data-mail-channel=reservation]{background:#e8f1ff;color:#22568b}
body[data-v1-cms] .cafe-mail .mail-channel[aria-current=page]{border-color:currentColor}
body[data-v1-cms] .cafe-mail .mail-channel>span{grid-row:span 2;align-self:center;font-size:20px;font-weight:700}
body[data-v1-cms] .cafe-mail .mail-channel small{font-size:11px;overflow-wrap:anywhere}
body[data-v1-cms] .cafe-mail .mail-scope-note{padding:0 18px;color:#64655e;font-size:11px}
body[data-v1-cms] .cafe-mail .mail-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:0}
body[data-v1-cms] .cafe-mail .mail-sidebar{padding:14px;border-right:1px solid #dedcd4;background:#f5f0e7;min-width:0}
body[data-v1-cms] .cafe-mail .mail-compose{display:block;background:var(--mail-soft);color:var(--mail-ink);border:1px solid var(--mail-accent);text-align:left;margin-bottom:14px;border-radius:16px;font-weight:700}
body[data-v1-cms] .cafe-mail .mail-folders{border:0;padding:0;margin:0}
body[data-v1-cms] .cafe-mail .mail-folders summary{padding:10px 6px;cursor:pointer}
body[data-v1-cms] .cafe-mail .mail-folders nav{position:static;display:flex;flex-direction:column;gap:3px;padding:0;margin:0;width:auto;height:auto;min-height:0;max-height:none;background:transparent}
body[data-v1-cms] .cafe-mail .mail-folders a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:0 20px 20px 0;text-decoration:none;min-height:44px}
body[data-v1-cms] .cafe-mail .mail-folders a[aria-current=page]{background:var(--mail-soft);color:var(--mail-ink);font-weight:700}
body[data-v1-cms] .cafe-mail .mail-folders a small{margin-left:auto}
body[data-v1-cms] .cafe-mail .mail-secondary{display:block;padding:12px 6px;font-size:12px}
body[data-v1-cms] .cafe-mail .mail-content{padding:14px;min-width:0}
body[data-v1-cms] .cafe-mail .mail-connection{font-size:12px;margin:0 0 12px}
body[data-v1-cms] .cafe-mail .mail-list>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
body[data-v1-cms] .cafe-mail .mail-list h3{margin:8px 0}
body[data-v1-cms] .cafe-mail .mail-read-note{font-size:11px;color:#64655e}
body[data-v1-cms] .cafe-mail .mail-row{display:grid;grid-template-columns:36px minmax(0,1fr) 90px;gap:12px;padding:14px 8px;border-top:1px solid #dedcd4;text-decoration:none;color:#282722;min-width:0}
body[data-v1-cms] .cafe-mail .mail-row:hover{background:var(--mail-soft)}
body[data-v1-cms] .cafe-mail .mail-row[data-mail-unread="1"]{background:#f5f0e7}
body[data-v1-cms] .cafe-mail .mail-row[data-mail-unread="1"] .mail-sender,body[data-v1-cms] .cafe-mail .mail-row[data-mail-unread="1"] .mail-subject{font-weight:700}
body[data-v1-cms] .cafe-mail .mail-avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:var(--mail-soft);color:var(--mail-ink);border-radius:50%;font-weight:700}
body[data-v1-cms] .cafe-mail .mail-message{display:flex;flex-direction:column;min-width:0;gap:2px}
body[data-v1-cms] .cafe-mail .mail-message>span:not(.mail-attachments){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-v1-cms] .cafe-mail .mail-preview{color:#64655e;font-size:12px}
body[data-v1-cms] .cafe-mail .mail-date{font-size:11px;color:#64655e;text-align:right;overflow-wrap:anywhere}
body[data-v1-cms] .cafe-mail .mail-date small{display:block;margin-top:5px}
body[data-v1-cms] .cafe-mail .mail-attachments{display:flex;gap:5px;flex-wrap:wrap;min-width:0}
body[data-v1-cms] .cafe-mail .mail-attachments>span{border:1px solid #dedcd4;border-radius:7px;padding:3px 6px;font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:959px){body[data-v1-cms] .cafe-mail .mail-toolbar{flex-direction:column;align-items:stretch;padding:12px}body[data-v1-cms] .cafe-mail .mail-search{width:100%}body[data-v1-cms] .cafe-mail .mail-search button{padding:10px 8px;font-size:12px}body[data-v1-cms] .cafe-mail .mail-channels{padding:12px;gap:8px}body[data-v1-cms] .cafe-mail .mail-channel{flex:1;padding:8px;grid-template-columns:20px minmax(0,1fr)}body[data-v1-cms] .cafe-mail .mail-layout{grid-template-columns:minmax(0,1fr)}body[data-v1-cms] .cafe-mail .mail-sidebar{border-right:0;border-bottom:1px solid #dedcd4;padding:10px 12px}body[data-v1-cms] .cafe-mail .mail-compose{display:inline-block;margin:0 0 8px}body[data-v1-cms] .cafe-mail .mail-secondary{display:inline-block;padding:8px 12px 8px 0}body[data-v1-cms] .cafe-mail .mail-content{padding:10px}body[data-v1-cms] .cafe-mail .mail-row{grid-template-columns:30px minmax(0,1fr) 64px;gap:8px;padding:12px 0}body[data-v1-cms] .cafe-mail .mail-avatar{width:30px;height:30px}body[data-v1-cms] .cafe-mail .mail-date{font-size:10px}body[data-v1-cms] .cafe-mail .mail-list>header>span{font-size:11px}}


/* LIVE counters retain the approved cards and expose native keyboard/touch links. */
body[data-v1-cms] .v1-summary>div:has(>.v1-summary-link){padding:0}
body[data-v1-cms] .v1-summary-link{display:block;padding:20px;color:inherit;text-decoration:none;border-radius:7px}
body[data-v1-cms] .v1-summary-link:hover span{text-decoration:underline}
body[data-v1-cms] .v1-summary-link:focus-visible{outline:3px solid #8f6b30;outline-offset:3px}
body[data-v1-cms] [id^="live-"]{scroll-margin-top:24px}
@media(max-width:700px){body[data-v1-cms] .v1-summary-link{padding:16px}}

/* Existing Takeaway interactions; all selectors stay inside its own form. */
[data-ta-order-form] .takeaway-shopping{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,300px);gap:24px;align-items:start;margin:16px 0}
[data-ta-order-form] .takeaway-lines,[data-ta-order-form] .takeaway-cart{min-width:0}
[data-ta-order-form] .takeaway-product{display:grid;grid-template-columns:64px minmax(0,1fr) 144px;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #dedcd4}
[data-ta-order-form] .takeaway-product[data-ta-photo="0"]{grid-template-columns:minmax(0,1fr) 144px}
[data-ta-order-form] .takeaway-product img{width:64px;height:64px;object-fit:cover;border-radius:8px}
[data-ta-order-form] .takeaway-product strong,[data-ta-order-form] .takeaway-cart strong{overflow-wrap:anywhere}
[data-ta-order-form] .takeaway-quantity input{width:100%;max-width:100%;min-height:44px;padding:8px 4px;text-align:center;appearance:textfield}
[data-ta-order-form] .takeaway-quantity input::-webkit-inner-spin-button,[data-ta-order-form] .takeaway-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
[data-ta-order-form] .takeaway-quantity>div{display:grid;grid-template-columns:44px minmax(48px,1fr) 44px;gap:4px;align-items:center}
[data-ta-order-form] .takeaway-quantity label{margin:0;min-width:0}
[data-ta-order-form] .takeaway-quantity label span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
[data-ta-order-form] .takeaway-quantity button{min-height:44px;min-width:44px;margin:3px 0;padding:8px}
[data-ta-order-form] .takeaway-quantity>button{width:100%}
[data-ta-order-form] .takeaway-categories{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}
[data-ta-order-form] .takeaway-categories button{margin:0;min-height:44px;font-size:14px}
[data-ta-order-form] .takeaway-categories [aria-pressed=true]{outline:2px solid #bb9653;outline-offset:2px}
[data-ta-order-form] .takeaway-steps,.takeaway-summary .takeaway-steps{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;padding:0;font-size:14px;color:#64655e}
[data-ta-order-form] .takeaway-steps [aria-current=step],.takeaway-summary .takeaway-steps [aria-current=step]{color:var(--v1-ink,#29251e);font-weight:bold;border-bottom:2px solid #bb9653}
[data-ta-order-form] .takeaway-cart{position:sticky;top:12px;padding:16px;background:var(--v1-soft,#f6f0e4);border:1px solid #dedcd4;border-radius:10px}
[data-ta-order-form] .takeaway-cart ul{list-style:none;padding:0;margin:0}
[data-ta-order-form] .takeaway-cart li{padding:12px 0;border-bottom:1px solid #dedcd4}
[data-ta-order-form] .takeaway-cart p{margin:8px 0}
[data-ta-order-form] .takeaway-cart button{min-height:44px}
[data-ta-order-form] .takeaway-cart-save{font-size:13px;color:#64655e}
[data-ta-order-form] fieldset{min-width:0;border:1px solid #dedcd4;border-radius:10px;padding:18px;margin:18px 0}
[data-ta-order-form] legend{font-weight:bold;padding:0 8px}
[data-ta-order-form] [hidden]{display:none!important}
.takeaway-client .takeaway-summary table{table-layout:fixed;font-size:14px}
.takeaway-client .takeaway-summary td,.takeaway-client .takeaway-summary th{padding:8px 4px;overflow-wrap:anywhere}
.takeaway-client .takeaway-summary ul{padding-left:20px}
@media(max-width:850px){[data-ta-order-form] .takeaway-shopping{grid-template-columns:minmax(0,1fr)}[data-ta-order-form] .takeaway-cart{position:static}}
@media(max-width:480px){[data-ta-order-form] .takeaway-product{grid-template-columns:50px minmax(0,1fr);gap:10px}[data-ta-order-form] .takeaway-product[data-ta-photo="0"]{grid-template-columns:minmax(0,1fr)}[data-ta-order-form] .takeaway-product img{width:50px;height:50px}[data-ta-order-form] .takeaway-quantity{grid-column:2;width:144px}[data-ta-order-form] [data-ta-photo="0"] .takeaway-quantity{grid-column:1}[data-ta-order-form] fieldset{padding:12px}[data-ta-order-form] .form-pair>label{max-width:100%}}

/* Shared product editor is reachable directly from the Takeaway catalogue. */
body[data-v1-cms] .ta-catalog-photo{float:left;width:56px;height:44px;object-fit:cover;border-radius:5px;margin:0 10px 6px 0}
body[data-v1-cms] .ta-catalog-edit{display:inline-block;margin-top:5px;font-size:12px;text-decoration:underline;text-underline-offset:3px}

/* Personal home organisation: the same coloured modules, with visible drag handles. */
body[data-v1-cms] .v1-home-organisation{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:12px 0;color:#d9cdb7;font-size:12px}
body[data-v1-cms] .v1-home-organisation p{margin:0;flex:1;min-width:210px}
body[data-v1-cms] .v1-home-organisation button{font-size:12px;min-height:36px;padding:6px 10px}
body[data-v1-cms] .v1-home-organisation [data-home-save-state]{flex-basis:100%;font-size:12px}
body[data-v1-cms] .v1-home-organisation [data-home-save-state]:empty{display:none}
body[data-v1-cms] .v1-home-card{position:relative;min-width:0;touch-action:pan-y;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
body[data-v1-cms] .v1-home-card>.v1-module{height:100%;box-sizing:border-box;padding-right:46px}
body[data-v1-cms] .v1-home-card .v1-card-badge{right:47px;top:8px}
body[data-v1-cms] .v1-home-handle{display:grid;place-items:center;position:absolute;top:1px;right:1px;width:44px;height:44px;border:0;background:transparent;border-radius:8px;color:#786d5d;cursor:grab;touch-action:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;padding:10px}
body[data-v1-cms] .v1-home-handle svg{width:22px;height:22px;pointer-events:none}
body[data-v1-cms] .v1-home-handle:focus-visible{outline:3px solid #b18a49;outline-offset:-4px}
body[data-v1-cms] .v1-home-card.is-dragging{opacity:.22;outline:2px dashed #d4ad63;outline-offset:-3px}
body[data-v1-cms] .v1-home-card.is-keyboard-moving{outline:3px solid #d4ad63;outline-offset:2px}
body[data-v1-cms] .v1-home-ghost{position:fixed;z-index:10000;pointer-events:none;opacity:.95;box-shadow:0 15px 32px #0006;user-select:none}
body[data-v1-cms] .v1-home-ghost>.v1-module{height:100%;transform:none}
body[data-v1-cms] .is-reordering{user-select:none;-webkit-user-select:none}
body[data-v1-cms] .is-reordering .v1-module:hover{transform:none}
body[data-v1-cms] .is-reordering .v1-home-handle{cursor:grabbing}
@media(max-width:860px){body[data-v1-cms] .v1-home-card>.v1-module{padding-right:40px}}

/* Per-piece configuration is a modal opened by Add, with a readable cart summary. */
.takeaway-options-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 28px));max-height:88vh;max-height:88dvh;overflow-y:auto;padding:26px;border:1px solid #c2a874;border-radius:14px;background:#fffaf1;color:#29251e;font:16px/1.5 Arial,sans-serif;box-shadow:0 18px 70px #0005}
.takeaway-options-dialog::backdrop{background:#16120dcc}
.takeaway-options-dialog h2{font:28px Georgia,serif;margin:8px 38px 14px 0}
.takeaway-options-dialog button{min-width:44px;min-height:44px;padding:10px 16px;border:1px solid #9d793c;border-radius:7px;background:#7b5928;color:#fff;font:inherit;cursor:pointer}
.takeaway-options-dialog button:disabled{opacity:.5;cursor:not-allowed}
.takeaway-options-dialog input,.takeaway-options-dialog select{box-sizing:border-box;min-width:0;width:100%;min-height:44px;padding:10px;border:1px solid #b8a68a;background:#fffdf8;border-radius:6px;color:#29251e;font:inherit}
.takeaway-options-dialog label{display:block;min-width:0;font-size:14px;font-weight:600}
.takeaway-options-dialog label select{display:block;margin-top:6px;font-weight:400}
.takeaway-options-dialog fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border:1px solid #deceb6;border-radius:8px;padding:14px;margin:14px 0}
.takeaway-options-dialog legend{padding:0 6px;font-weight:700}
.takeaway-options-dialog .takeaway-dialog-close{float:right;background:transparent;color:#5b4322;border:0;font-size:26px;padding:0}
.takeaway-options-dialog .takeaway-dialog-kicker{margin:0;color:#785b2e;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1px}
.takeaway-dialog-quantity{display:flex;align-items:end;gap:10px;margin:18px 0}
.takeaway-dialog-quantity label{max-width:100px}
.takeaway-dialog-quantity input{text-align:center}
.takeaway-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:20px}
.takeaway-options-dialog [data-ta-options-alert]{padding:12px;border:2px solid #b42318;border-radius:7px;background:#fff0ed;color:#9d211a;font-weight:600}
.takeaway-options-dialog [aria-invalid=true]{border:2px solid #b42318;background:#fff4f2}
.takeaway-options-dialog :focus-visible{outline:3px solid #91713b;outline-offset:3px}
[data-ta-order-form] [data-ta-persons="1"] [data-ta-adjust],[data-ta-order-form] [data-ta-persons="1"] [data-ta-add]{display:none!important}
[data-ta-order-form] [data-ta-persons-select]{width:100%;min-height:44px}
[data-ta-order-form] [data-ta-persons-label]{display:block;margin:0 0 8px}
[data-ta-order-form] [data-ta-persons-alert],[data-ta-order-form] [data-ta-cart-issue]{color:#b42318;font-weight:700}
[data-ta-order-form] .takeaway-cart ol{list-style:decimal;padding-left:22px;margin:10px 0}
[data-ta-order-form] .takeaway-cart ol li{padding:3px 0;border:0;font-size:14px}
@media(max-width:480px){.takeaway-options-dialog{padding:18px}.takeaway-options-dialog fieldset{grid-template-columns:minmax(0,1fr)}.takeaway-dialog-actions button{flex:1}}

/* Catalogue: disabled dishes stay readable, editable and explicitly identified. */
body[data-v1-cms] .cms-product-sections,body[data-v1-cms] .cms-product-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
body[data-v1-cms] .cms-product-filters a{display:inline-flex;gap:9px;align-items:center;min-height:44px}
body[data-v1-cms] .cms-product-filters strong{font:700 13px Arial;background:#ffffff40;border-radius:20px;padding:3px 7px}
body[data-v1-cms] .cms-product-legend{font-size:13px;line-height:1.5;color:#e8ddc8}
body[data-v1-cms] .cms-product-list{display:grid;gap:12px}
body[data-v1-cms] .cms-product-list>article.cms-product{padding:18px;border-left:5px solid #438156;margin:0;gap:16px}
body[data-v1-cms] .cms-product-list .cms-product-details{min-width:0;flex:1 1 180px}
body[data-v1-cms] .cms-product-list .cms-product-actions{display:flex;flex:0 1 auto;flex-wrap:wrap;gap:8px;min-width:0}
body[data-v1-cms] .cms-product-list .cms-product-actions form{margin:0}
body[data-v1-cms] .admin-layout main .cms-product-list article.cms-product .cms-product-status{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;letter-spacing:0;color:#285d39;background:#e4f1e6;border-color:#87af91;padding:6px 10px}
body[data-v1-cms] .cms-product-list>article.cms-product--disabled{background:#eeede8;border:1px dashed #969a91;border-left:5px solid #7b8076}
body[data-v1-cms] .cms-product-list .cms-product--disabled h2{color:#4e554c}
body[data-v1-cms] .cms-product--disabled>img{filter:grayscale(1);opacity:.7}
body[data-v1-cms] .admin-layout main .cms-product-list article.cms-product--disabled .cms-product-status{color:#41473f;background:#dcdfd8;border-color:#91978d}
body[data-v1-cms] .cms-product-list .cms-product-disabled-note{font-size:12px;color:#555d51;margin:9px 0 0}
body[data-v1-cms] .cms-product-list>article.cms-product--draft{border-left-color:#b78932}
body[data-v1-cms] .admin-layout main .cms-product-list article.cms-product--draft .cms-product-status{color:#73531e;background:#fff1d2;border-color:#cfac62}
body[data-v1-cms] .cms-product-editor-disabled{border-left:5px solid #7b8076;background:#eeede8;color:#41473f}
@media(max-width:600px){body[data-v1-cms] .cms-product-list>article.cms-product{padding:14px;gap:12px}body[data-v1-cms] .cms-product-list .cms-product-actions{flex-basis:100%}body[data-v1-cms] .cms-product-sections a{flex:1 1 140px;text-align:center}body[data-v1-cms] .cms-product-filters a{flex:1 1 130px;justify-content:space-between}}

/* Takeaway workspace: compact category tables and shared kitchen stock. */
body[data-v1-cms] .admin-layout main .ta-workspace-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0;position:static;padding:0;margin:10px 0 20px;border:0;overflow:visible;background:transparent}
body[data-v1-cms] .ta-workspace-nav a{white-space:normal;text-align:center;display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px}
body[data-v1-cms] .ta-workspace-nav .is-current{box-shadow:inset 0 -3px #d8b36a}
body[data-v1-cms] .admin-layout main .ta-order-filters{display:flex;flex-wrap:wrap;gap:8px;min-height:0;position:static;padding:0;margin:15px 0;border:0;background:transparent}
body[data-v1-cms] .ta-catalog-filter{display:block;max-width:420px;margin:15px 0;font-weight:700}
body[data-v1-cms] .ta-catalog-scope{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:18px}
body[data-v1-cms] .ta-catalog-scope label{flex:1 1 140px;margin:0}
body[data-v1-cms] .ta-catalog-category{margin:20px 0;border:1px solid #c7d2dc;border-radius:7px;overflow:hidden}
body[data-v1-cms] .ta-catalog-category h3{margin:0;padding:12px 14px;background:#e4edf5;color:#285b85;font:700 17px Arial}
body[data-v1-cms] .ta-table-scroll{overflow:auto;max-width:100%;overscroll-behavior:contain}
body[data-v1-cms] .ta-catalog-table,body[data-v1-cms] .ta-kitchen-stock{border-collapse:collapse;width:100%;font-size:14px;line-height:1.4}
body[data-v1-cms] .ta-catalog-table th,body[data-v1-cms] .ta-catalog-table td,body[data-v1-cms] .ta-kitchen-stock th,body[data-v1-cms] .ta-kitchen-stock td{padding:11px 12px;border-bottom:1px solid #d6dce0;text-align:left;vertical-align:middle}
body[data-v1-cms] .ta-catalog-table thead,body[data-v1-cms] .ta-kitchen-stock thead{background:#f1f4f6;color:#344854}
body[data-v1-cms] .ta-catalog-table tbody th{font-weight:600;width:42%}
body[data-v1-cms] .ta-catalog-table td:nth-child(2){white-space:nowrap}
body[data-v1-cms] .ta-catalog-table input[type=number]{width:90px;max-width:100%;padding:10px 8px;margin:0;min-height:44px;font-size:15px}
body[data-v1-cms] .ta-catalog-table small{display:block;font-size:11px;line-height:1.4;color:#53616a;margin-top:5px;font-weight:400}
body[data-v1-cms] .ta-catalog-table .ta-activation{display:flex;align-items:center;gap:7px;min-height:44px;margin:0;font-size:13px;font-weight:700;cursor:pointer}
body[data-v1-cms] .ta-activation input[type=checkbox]{display:inline-block;flex:0 0 24px;width:24px;height:24px;margin:0;accent-color:#32658c}
body[data-v1-cms] .ta-catalog-table .ta-row-disabled{background:#eeefec;color:#586056}
body[data-v1-cms] .ta-price-missing,body[data-v1-cms] .ta-out-of-stock{color:#a32929}
body[data-v1-cms] .ta-out-of-stock{display:block;font-size:11px;font-weight:700;line-height:1.3;margin-top:5px}
body[data-v1-cms] .ta-catalog-save{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px 0 0}
body[data-v1-cms] .ta-catalog-save span{font-size:12px;color:#53616a}
body[data-v1-cms] .ta-kitchen-counts{border:1px solid #abc2d3;border-radius:8px;padding:15px;margin:15px 0 25px;background:#f7fafc;color:#283b48}
body[data-v1-cms] .ta-kitchen-counts h3{font:700 19px Arial;margin:0 0 10px;color:#285b85}
body[data-v1-cms] .ta-kitchen-counts h4{font:700 16px Arial;margin:20px 0 8px}
body[data-v1-cms] .ta-kitchen-stock td{text-align:center}
body[data-v1-cms] .ta-kitchen-stock th:first-child{width:35%}
body[data-v1-cms] .ta-stock-empty{background:#fff0ed}
body[data-v1-cms] .ta-kitchen-counts>a{margin-top:12px}
body[data-v1-cms] .ta-counter-order{padding:15px 0;border-bottom:1px solid #c5d3dd}
body[data-v1-cms] .ta-counter-order h3{font:700 17px Arial}
body[data-v1-cms] .ta-counter-order form{display:inline-block;margin:8px 10px 0 0}
body[data-v1-cms] .ta-counter-channel{max-width:400px;font-size:16px;font-weight:700}
body[data-v1-cms] [data-ta-counter] .takeaway-product{padding:12px;border-bottom:1px solid #c5d3dd;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
body[data-v1-cms] [data-ta-counter] .takeaway-product>div:has(>img){display:none}
body[data-v1-cms] [data-ta-counter] .takeaway-product>div:has(>strong) p:first-of-type{display:none}
body[data-v1-cms] [data-ta-counter] .takeaway-product p{font-size:12px;line-height:1.4;margin:5px 0}
body[data-v1-cms] [data-ta-counter] .takeaway-quantity{min-width:120px}
@media(max-width:600px){
 body[data-v1-cms] .admin-layout main .ta-workspace-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-v1-cms] .ta-catalog{padding:12px}
 body[data-v1-cms] .ta-catalog-category h3{padding:11px;font-size:16px}
 body[data-v1-cms] .ta-catalog-table thead,body[data-v1-cms] .ta-kitchen-stock thead{display:none}
 body[data-v1-cms] .ta-catalog-table tbody,body[data-v1-cms] .ta-kitchen-stock tbody{display:block}
 body[data-v1-cms] .ta-catalog-table tbody tr{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.2fr);gap:8px;padding:12px 10px;border-bottom:1px solid #b7c4cc}
 body[data-v1-cms] .ta-catalog-table tbody th{grid-column:1/-1;width:auto;padding:0 0 5px}
 body[data-v1-cms] .ta-catalog-table tbody td{padding:0;border:0;min-width:0;white-space:normal;font-size:13px}
 body[data-v1-cms] .ta-catalog-table tbody td:before,body[data-v1-cms] .ta-kitchen-stock tbody td:before{content:attr(data-label);display:block;font-size:10px;line-height:1.3;color:#52636e;margin-bottom:7px;font-weight:600}
 body[data-v1-cms] .ta-catalog-table .ta-activation{font-size:11px;gap:5px;flex-wrap:wrap}
 body[data-v1-cms] .ta-catalog-table input[type=number]{width:70px;font-size:14px;padding:10px 5px}
 body[data-v1-cms] .ta-kitchen-counts{padding:10px}
 body[data-v1-cms] .ta-kitchen-stock tbody tr{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:12px 0;border-bottom:1px solid #bdcdd7}
 body[data-v1-cms] .ta-kitchen-stock tbody th{grid-column:1/-1;width:auto;padding:0 0 8px;font-size:13px}
 body[data-v1-cms] .ta-kitchen-stock tbody td{padding:0;border:0;font-size:15px;min-width:0;overflow-wrap:anywhere}
 body[data-v1-cms] .ta-kitchen-stock .ta-out-of-stock{font-size:9px}
 body[data-v1-cms] [data-ta-counter] .takeaway-product{grid-template-columns:minmax(0,1fr)}
}

/* One named guide entry; personal explanation controls live in the account menu. */
body[data-v1-cms] .v1-guide-entry{width:auto;min-height:44px;padding:8px 12px;font-size:13px;line-height:1.3;text-align:center;text-decoration:none;border:1px solid #bfa46c;border-radius:8px;white-space:normal}
body[data-v1-cms] .v1-profile .v1-help-options summary{display:list-item;list-style:revert;font-size:13px;min-height:44px;padding:10px 0;color:#51412b}
body[data-v1-cms] .v1-profile:has(.v1-help-options[open])>div{width:min(330px,calc(100vw - 28px));max-height:75vh;overflow:auto}
body[data-v1-cms] .v1-help-options p{font-size:12px}
body[data-v1-cms] .v1-help-options form{position:static;display:grid;gap:8px;margin:12px 0;padding:10px 0;border-top:1px solid #d8c6aa}
body[data-v1-cms] .v1-help-options label{display:grid;gap:6px;font-size:13px}
body[data-v1-cms] .v1-help-options select,body[data-v1-cms] .v1-help-options button{width:100%;min-height:44px;white-space:normal}
body[data-v1-cms] .v1-guide-entry:focus-visible,body[data-v1-cms] .v1-help-options summary:focus-visible{outline:3px solid #dca94a;outline-offset:3px}
@media(max-width:600px){body[data-v1-cms] .v1-guide-entry{font-size:12px;max-width:155px}}

/* Keep the documented DLC catalogue readable against its light panel. */
body[data-v1-cms] .haccp-dlc .dlc-catalog>summary,body[data-v1-cms] .haccp-dlc .dlc-catalog>summary span{color:#233f36}

/* Keep the last workspace action above the fixed mobile navigation and safe area. */
@media(max-width:900px){body[data-v1-cms] .admin-layout>main[data-cms-workspace]{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}}


/* CMS shell layout corrections; standalone illustrated guides keep their own styles. */
/* Form controls must shrink with their grid track, including native Safari dates.
   Keep the native picker and allow wide data tables to scroll in their own region. */
body[data-v1-cms] [data-cms-workspace] :where(form,fieldset,label){min-inline-size:0;max-inline-size:100%}
body[data-v1-cms] [data-cms-workspace] :where(.columns){grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-v1-cms] [data-cms-workspace] :where(input,select,textarea){min-inline-size:0;max-inline-size:100%}
body[data-v1-cms] [data-cms-workspace] input:is([type=date],[type=datetime-local],[type=time],[type=month],[type=week]){display:block;inline-size:100%;min-inline-size:0;max-inline-size:100%;min-block-size:44px}
body[data-v1-cms] [data-cms-workspace] input::-webkit-date-and-time-value{min-width:0;text-align:start}
body[data-v1-cms] .cms-workspace-navigation :where(a,span){min-width:0;white-space:normal;overflow-wrap:anywhere}
/* The salary module uses dark text and therefore needs its own opaque surface. */
body[data-v1-cms] [data-cms-workspace] .payroll-sim{background:#f7f8f3;padding:clamp(16px,2.3vw,30px);border-radius:16px}
body[data-v1-cms] [data-cms-workspace] .payroll-sim nav.payroll-menu{position:static;inset:auto;min-height:0;max-height:none;padding:0;background:transparent;border:0;overflow:visible}
body[data-v1-cms] [data-cms-workspace] .accounting-breadcrumb .cms-workspace-home{padding:10px 12px;gap:0}
@media screen and (max-width:860px){body[data-v1-cms] .v1-mobile-nav a{min-width:0;padding:6px 2px;text-align:center}}
@media print{body[data-v1-cms] [data-cms-workspace] .payroll-sim{background:#fff;padding:0;border-radius:0}}

/* Operational summary: one service state, concrete actions, progressive detail. */
body[data-v1-cms] .live-service-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0}
body[data-v1-cms] .live-service-toolbar .v1-live-state-heading{flex:1;margin:0;padding:18px}
body[data-v1-cms] .live-refresh{text-align:right;font-size:12px;color:#344b3d}
body[data-v1-cms] .live-refresh p{margin:0 0 8px;color:inherit}
body[data-v1-cms] .live-order-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}
body[data-v1-cms] .live-order-status>div{display:flex;justify-content:space-between;gap:12px;background:#eef3ec;color:#263e2e;padding:12px 14px;border:1px solid #cbd7c8;border-radius:8px;font-size:14px}
body[data-v1-cms] .live-order-status strong{font:700 20px/1 system-ui,sans-serif;color:#173b27}
body[data-v1-cms] .live-detail{background:#fffdf8;color:#263e2e;border:1px solid #ccd6ca;border-radius:10px;padding:14px 18px;margin:14px 0}
body[data-v1-cms] .live-detail>summary{font-weight:700;cursor:pointer;min-height:24px;line-height:1.5;color:#263e2e}
body[data-v1-cms] .live-detail[open]>summary{margin-bottom:14px}
body[data-v1-cms] .v1-live-task-list>li{display:flex;gap:14px;flex-wrap:wrap;align-items:center;justify-content:space-between;border-top:1px solid #d9e1d5;padding:12px 0}
body[data-v1-cms] .v1-live-task-list>li>div{display:grid;gap:6px;min-width:0}
body[data-v1-cms] .v1-summary strong{font-size:clamp(19px,2.5vw,32px);overflow-wrap:anywhere}
body[data-v1-cms] .operational-safety{background:#fffdf8;color:#273d2e;border:1px solid #d1d9ce;border-radius:12px;padding:18px;min-width:0}
body[data-v1-cms] .operational-safety h3{color:#273d2e;margin:0 0 12px;font-size:18px}
body[data-v1-cms] .operational-actions{list-style:none;padding:0;margin:0;color:#273d2e}
body[data-v1-cms] .operational-actions>li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid #dce2d7;min-width:0}
body[data-v1-cms] .operational-actions>li>div{display:grid;gap:5px;min-width:0;flex:1}
body[data-v1-cms] .operational-actions strong{font:700 15px/1.4 system-ui,sans-serif;color:#273d2e;overflow-wrap:anywhere}
body[data-v1-cms] .operational-actions small{font-size:12px;line-height:1.4;color:#4e6354;overflow-wrap:anywhere}
body[data-v1-cms] .operational-actions a{font:600 13px/1.4 system-ui,sans-serif;color:#175944;min-height:44px;display:inline-flex;align-items:center;max-width:45%;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
body[data-v1-cms] .operational-state{font-size:12px;font-weight:700;color:#785119}
body[data-v1-cms] .operational-actions [data-priority="critical"] .operational-state{color:#9d302d}
body[data-v1-cms] .operational-quiet{color:#4e6354;font-size:14px;line-height:1.5}
body[data-v1-cms] .operational-unknown{color:#785119;font-size:14px;line-height:1.5}
body[data-v1-cms] .live-detail summary:focus-visible,body[data-v1-cms] .operational-actions a:focus-visible{outline:3px solid #936a27;outline-offset:4px}
@media(max-width:1000px){body[data-v1-cms] .v1-live-columns.live-priorities{grid-template-columns:1fr}}
@media(max-width:600px){body[data-v1-cms] .live-service-toolbar{align-items:stretch;flex-direction:column}body[data-v1-cms] .live-refresh{display:flex;gap:10px;align-items:center;justify-content:space-between;text-align:left}body[data-v1-cms] .live-refresh p{margin:0}body[data-v1-cms] .live-order-status{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-v1-cms] .operational-actions>li{align-items:flex-start;flex-direction:column;gap:8px}body[data-v1-cms] .operational-actions a{max-width:100%;min-height:44px}body[data-v1-cms] .live-detail{padding:13px}body[data-v1-cms] .v1-live-state-heading h2{font-size:21px}}

/* Connected audit: keep service controls and first actions within the first screen. */
body[data-v1-cms] .v1-live-compact-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 14px;margin-bottom:8px}
body[data-v1-cms] .v1-live-compact-heading h1{font-size:22px;margin:0}
body[data-v1-cms] .v1-live .live-service-toolbar{margin:6px 0;gap:10px}
body[data-v1-cms] .v1-live .v1-live-state-heading{padding:10px 14px;gap:10px}
body[data-v1-cms] .v1-live .v1-live-state-heading h2{font-size:21px}
body[data-v1-cms] .v1-live .v1-context{padding:8px 12px;gap:10px;margin-bottom:8px}
body[data-v1-cms] .v1-live .live-refresh{color:#173b27;background:#fffdf8;border:1px solid #b8c6ba;padding:8px 12px;border-radius:8px}
body[data-v1-cms] .v1-live .live-refresh p{color:#173b27;font-weight:600}

/* Let the status yield space before breaking a mobile refresh label. */
@media screen and (max-width:600px){
 body[data-v1-cms] .v1-live .live-refresh{flex-wrap:wrap}
 body[data-v1-cms] .v1-live .live-refresh p{flex:1 1 140px;min-width:0}
 body[data-v1-cms] .v1-live .live-refresh>[data-live-refresh]{flex:0 0 auto;min-height:44px;white-space:nowrap}
}

/* Restaurant coordination, shared by LIVE and the owner's office. */
body[data-v1-cms] #dirigent {background:#fffdf8;color:#253f36;border:1px solid #d4dacf;border-top:3px solid #557060;border-radius:12px;padding:clamp(16px,2vw,26px);margin:12px 0 20px}
#dirigent h3 {font:600 1.6rem/1.1 Georgia,serif;margin:0 0 12px}
#dirigent nav {display:flex;flex-wrap:wrap;gap:6px;padding:0;background:transparent}
#dirigent nav a {display:inline-block;padding:6px 14px;color:#244637;border:1px solid #bcc9be;border-radius:8px;text-decoration:none}
#dirigent nav a[aria-current=page] {background:#254737;color:#fff;border-color:#254737}
#dirigent h4 {margin:18px 0 8px}
#dirigent .operational-actions {padding:0;list-style:none}
#dirigent .operational-actions li {display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e4e6dd}
#dirigent .operational-actions li>div {flex:1 1 200px}
#dirigent small {display:block;color:#556158;margin-top:2px}
#dirigent details {margin-top:12px}
#dirigent details summary {cursor:pointer;color:#304c3e;font-weight:600}
#dirigent time {font-variant-numeric:tabular-nums}

/* One service station per destination; all colours come from the restaurant shell. */
body[data-v1-cms] .live-board {
 background:#f7f8f2;color:#244034;border:1px solid #cdd7ca;border-radius:12px;
 padding:clamp(12px,1.8vw,22px);margin:12px 0
}
body[data-v1-cms] .live-board h2 {margin:0 0 12px;color:#284636;font:600 clamp(20px,2.2vw,27px)/1.15 Georgia,serif}
.live-stations {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body[data-v1-cms] .live-station {
 display:flex;flex-direction:column;gap:5px;min-width:0;
 padding:12px 14px;border:1px solid #d6dcd2;border-top:3px solid var(--v1-accent);
 border-radius:9px;background:#fffefb;color:#243b30;text-decoration:none;text-align:start;overflow-wrap:anywhere
}
body[data-v1-cms] a.live-station:hover {border-color:var(--v1-strong);background:var(--v1-soft);color:#21382d}
body[data-v1-cms] .live-station-heading,body[data-v1-cms] .live-station-foot {display:flex;align-items:center;gap:8px;min-width:0}
body[data-v1-cms] .live-station-heading {color:var(--v1-strong);font:650 15px/1.2 system-ui,sans-serif}
.live-station-icon {display:grid;place-items:center;flex:0 0 28px;block-size:28px;border-radius:7px;background:var(--v1-soft)}
.live-station-icon svg {inline-size:18px;block-size:18px}
body[data-v1-cms] .live-station-value {font:700 clamp(22px,2.3vw,31px)/1.15 system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#254133}
body[data-v1-cms] .live-station-foot {justify-content:space-between;margin-top:auto;color:#45584e;font:500 13px/1.3 system-ui,sans-serif}
.live-station-foot svg,.live-detail-links svg {flex:0 0 16px;width:16px;height:16px;color:var(--v1-strong,#38604a)}
body[data-v1-cms] .live-detail-links {display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin:12px 0}
body[data-v1-cms] .live-detail-links a {
 display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;
 max-width:100%;padding:8px 12px;border:1px solid #bdcbbd;border-radius:7px;color:#28583f;background:#f7faf5;
 font:600 14px/1.35 system-ui,sans-serif;text-decoration:none;overflow-wrap:anywhere
}
.live-close-checks {list-style:none;padding:0}
.live-close-checks li {padding:3px 0}
.live-close-checks a {display:inline-flex;align-items:center;min-height:44px}
body[data-v1-cms] :where(.live-station,.live-detail-links a,.dirigent-card):focus-visible {outline:3px solid #805d24;outline-offset:3px}

#dirigent .dirigent-cards {
 display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:10px;margin:10px 0 16px;padding:0;list-style:none
}
#dirigent .dirigent-cards li {display:flex;min-width:0;margin:0}
#dirigent .dirigent-card {
 display:flex;flex:1 1 100%;min-width:0;flex-direction:column;align-items:flex-start;gap:4px;
 padding:12px 14px;border:1px solid #c8d2c6;border-radius:9px;background:#fbfcf8;
 color:#234538;text-decoration:none;overflow-wrap:anywhere
}
#dirigent .dirigent-card:hover {border-color:#63826a;background:#f0f5ec}
#dirigent .dirigent-card-title {color:#233d31;font:700 16px/1.35 system-ui,sans-serif}
#dirigent .dirigent-card-team,#dirigent .dirigent-card-time {margin:0;color:#465b4e;font:500 13px/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums}
#dirigent .dirigent-card-priority {padding:3px 7px;color:#653818;background:#f6e5ca;border-radius:4px;font:650 12px/1.35 system-ui,sans-serif}
#dirigent .dirigent-card-action {margin-top:auto;padding-top:8px;color:#245e43;font:650 13px/1.35 system-ui,sans-serif}
#dirigent .dirigent-action-detail {margin:10px 0;border:1px solid #c2cfc0;border-radius:8px;padding:12px}
#dirigent .dirigent-action-detail:not(:target):not([data-live-focused]) {display:none}
.live-intervention-content .dirigent-action-detail {display:block}

/* Native disclosures remain accessible when the browser cannot show a dialog. */
html.live-interventions-ready body:not([data-live-embedded]) .v1-live .live-intervention-source:not(:target):not(:has(:target)) {display:none}
body[data-v1-cms] .live-intervention-dialog {
 box-sizing:border-box;width:min(960px,calc(100% - 32px));max-width:100%;max-height:calc(100dvh - 32px);
 margin:auto;padding:0;overflow:hidden;border:1px solid #abbdad;border-radius:14px;
 background:#fbfcf7;color:#243d30;box-shadow:0 20px 70px #10261e52
}
body[data-v1-cms] .live-intervention-dialog[open] {display:flex;flex-direction:column}
.live-intervention-dialog::backdrop {background:rgba(15,28,22,.62)}
body[data-v1-cms] .live-intervention-dialog>header {
 display:flex;align-items:center;justify-content:space-between;gap:16px;
 flex:0 0 auto;margin:0;padding:12px 16px;background:#f2f5ea;border-bottom:1px solid #cfdbca;color:#244134
}
body[data-v1-cms] .live-intervention-dialog h2 {margin:0;color:inherit;font:600 clamp(19px,2.6vw,25px)/1.2 Georgia,serif;overflow-wrap:anywhere}
body[data-v1-cms] .live-intervention-dialog header button {
 flex:0 0 auto;min-height:44px;margin:0;padding:6px 14px;border:1px solid #a9b9ac;border-radius:7px;background:#fffdf8;color:#284637
}
.live-dossier-return {display:inline-flex;align-items:center;min-height:44px;color:#315844;font-weight:600}
.live-intervention-dialog>header .live-dossier-return {margin-inline-start:auto;flex-shrink:0;font-size:.88rem}
.live-dossier .operational-safety {margin:0}
body[data-live-embedded] .live-dossier>.live-dossier-return {display:none}
.live-intervention-content {min-height:0;overflow:auto;overscroll-behavior:contain}
.live-intervention-content>p,.live-intervention-content>a {margin:16px}
.live-intervention-dialog [data-live-frame] {display:block;width:100%;height:min(72dvh,760px);min-height:120px;border:0;background:#fffdf8}
.live-intervention-dialog [hidden] {display:none!important}
body[data-live-embedded] [data-live-outside] {display:none!important}
body[data-live-embedded] .live-intervention-source[data-live-focused],
body[data-live-embedded] #dirigent .dirigent-action-detail[data-live-focused] {display:block}
body[data-live-embedded] #live-context[data-live-focused] {display:flex}
body[data-v1-cms][data-live-embedded] {min-height:0;padding:0}
body[data-v1-cms][data-live-embedded] :is(.admin-header,.cms-sidebar,.v1-mobile-nav,.v1-footer),
body[data-v1-cms][data-live-embedded] .v1-module-heading>.cms-workspace-navigation {display:none}
body[data-v1-cms][data-live-embedded] .admin-layout {display:block;min-height:0}
body[data-v1-cms][data-live-embedded] .admin-layout>main[data-cms-workspace] {margin:0;max-width:none;padding:clamp(8px,2vw,18px)}
body[data-v1-cms][data-live-embedded] .v1-live-columns.live-priorities {display:block}
body[data-live-embedded] .live-intervention-source[data-live-focused] {margin:0}
@media (max-width:1150px) {.live-stations {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px) {
 .live-stations {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body[data-v1-cms] .live-station {padding:10px;gap:4px}
 #dirigent .dirigent-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:550px) {
 body[data-v1-cms] .live-intervention-dialog {width:calc(100% - 12px);max-height:calc(100dvh - 12px);border-radius:10px}
 body[data-v1-cms] .live-intervention-dialog>header {padding:8px 10px;gap:10px}
 .live-intervention-dialog [data-live-frame] {height:calc(100dvh - 96px)}
 #dirigent .dirigent-cards {grid-template-columns:1fr}
}
@media (max-width:345px) {.live-stations {grid-template-columns:1fr}}

/* The team filter is a local control, not the full-height CMS sidebar. */
#dirigent .dirigent-heading,#dirigent .dirigent-tools {display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 18px}
#dirigent .dirigent-heading h3 {margin:0}
#dirigent .dirigent-heading nav {
 position:static;flex-direction:row;flex-wrap:wrap;align-items:center;min-height:0;height:auto;
 margin:0;padding:0;border:0;overflow:visible
}
#dirigent .dirigent-empty {margin:12px 0;color:#314a3c}
#dirigent .dirigent-tools {margin-top:12px}
#dirigent .dirigent-tools>details,#dirigent .dirigent-tools>p {margin:0}
#dirigent .dirigent-tools>details[open],#dirigent .dirigent-tools>.dirigent-modules {flex:1 0 100%;min-width:0}
#dirigent .dirigent-tools summary {line-height:1.5}

@media print {
 /* An A4 service sheet should flow across pages like a document, never reserve a screenful. */
 html:has(:is([data-live-root],[data-live-dossier])),body[data-v1-cms]:has(:is([data-live-root],[data-live-dossier])) {
  min-height:0;height:auto;background:#fff!important;color:#18211b;color-scheme:light
 }
 body[data-v1-cms]:has(:is([data-live-root],[data-live-dossier])) :is(.admin-layout,main[data-cms-workspace]) {
  display:block;margin:0;padding:0;min-height:0;height:auto;width:auto;max-width:none;overflow:visible;background:white
 }
 body[data-v1-cms]:has(:is([data-live-root],[data-live-dossier])) :is(.cms-workspace-navigation,.v1-footer) {display:none}
 body[data-v1-cms]:has(:is([data-live-root],[data-live-dossier])) .v1-live-compact-heading {margin:0 0 1mm;padding:0;background:white;color:#18211b;border:0}
 body[data-v1-cms]:has(:is([data-live-root],[data-live-dossier])) .v1-live-compact-heading h1 {color:inherit;font-size:16pt}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) :is(.panel,.live-board,.dirigent-cards) {break-inside:auto}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) .live-service-toolbar {flex-direction:row;gap:3mm;margin:0 0 2mm}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier])[data-live-state] :is(.v1-live-state-heading,.live-refresh) {
  padding:1.6mm 2mm;border:1px solid #a9b4a9;background:#fff;color:#172d22
 }
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) .v1-live-state-heading h2 {font-size:12pt}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) .v1-live-state-heading p {margin:0;font-size:9pt}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) .live-refresh p {margin:0;font-size:8pt}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) :is(.live-context-jump,[data-live-refresh]) {display:none}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) .live-board,body[data-v1-cms] :is([data-live-root],[data-live-dossier]) #dirigent {
  background:#fff;color:#18211b;padding:2.5mm;margin:2mm 0;border:1px solid #87968b;border-radius:2mm;box-shadow:none
 }
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) :is(.live-board h2,#dirigent h3) {margin:0;font-size:13pt}
 :is([data-live-root],[data-live-dossier]) .live-stations {grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5mm;margin-top:1.6mm}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) .live-station {gap:1mm;padding:1.6mm;min-height:0;border:1px solid #a9b4a9;break-inside:avoid}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) :is(.live-station-heading,.live-station-foot) {gap:1mm;font-size:8.5pt;line-height:1.2;color:#243c2c}
 body[data-v1-cms] :is([data-live-root],[data-live-dossier]) .live-station-value {font-size:14pt;line-height:1.1}
 :is([data-live-root],[data-live-dossier]) .live-station-icon {flex-basis:5mm;block-size:5mm}
 :is([data-live-root],[data-live-dossier]) :is(.live-station-icon svg,.live-station-foot svg) {width:3.5mm;height:3.5mm}
 :is([data-live-root],[data-live-dossier]) #dirigent :is(h3,h4,summary) {break-after:avoid}
 :is([data-live-root],[data-live-dossier]) #dirigent h4 {margin:2mm 0 1mm;font-size:10pt}
 :is([data-live-root],[data-live-dossier]) #dirigent nav a:not([aria-current]) {display:none}
 :is([data-live-root],[data-live-dossier]) #dirigent nav a[aria-current] {min-height:0;margin:0;padding:.5mm 2mm;background:#fff;color:#253f36;border:1px solid #697c6e;font-size:9pt}
 :is([data-live-root],[data-live-dossier]) #dirigent :is(.dirigent-empty,.dirigent-tools) {margin:2mm 0 0;font-size:9pt;line-height:1.3}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-cards {display:block;margin:1mm 0;padding:0}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-cards li {display:block;break-inside:avoid}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-card {display:block;padding:.8mm 0;border:0;border-bottom:1px solid #c6cfc7;border-radius:0;font:9pt/1.3 system-ui,sans-serif}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-card :is(strong,small,time,span) {display:inline;margin:0 .8mm 0 0;padding:0;font-size:9pt;line-height:1.3}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-card :is(.dirigent-card-team,.dirigent-card-time,.dirigent-card-action)::before {content:"· "}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-tools {display:block}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-tools>details {margin:1mm 0}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-tools summary {display:block;list-style:none}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-tools>details::details-content {content-visibility:visible;height:auto}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-tools :is(p,ul,ol) {margin:.8mm 0}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-tools :is(li,.dirigent-module-row) {break-inside:avoid}
 :is([data-live-root],[data-live-dossier]) #dirigent .dirigent-tools>#dirigent-modules a.button {min-height:0;margin:0;padding:0;border:0;background:transparent;color:#253f36;font-size:9pt}
}

body[data-v1-cms] .operational-safety .haccp-reading-action{display:inline-flex;align-items:center;gap:.35rem;min-height:44px;padding:0 .8rem;box-sizing:border-box;border:1px solid #386651;color:#164732;background:#eef5ed;border-radius:.55rem;font:650 14px/1.35 system-ui,sans-serif;text-decoration:none}
body[data-v1-cms] .operational-actions>li>.safety-reading-actions{flex:0 1 auto;justify-items:start;gap:0}
body[data-v1-cms] .operational-actions .safety-reading-actions a{max-width:100%}

body[data-v1-cms] [data-restaurant-resource="suppliers"] .resource-supplier-optional-summary{color:#64451b}

/* Operational sectors and the human closure journey. */
body[data-v1-cms] .operational-sector-tabs,body[data-v1-cms] #dirigent nav{position:static;inset:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;width:auto;min-width:0;height:auto;min-height:0;max-height:none;margin:14px 0 20px;padding:0;border:0;background:transparent;overflow:visible}
body[data-v1-cms] #dirigent .dirigent-heading nav{margin:0}
body[data-v1-cms] .operational-sector-tabs a[aria-current=page]{background:#214f36;color:#fff;border-color:#214f36}
body[data-v1-cms] .live-close-steps{display:grid;gap:12px;margin:18px 0 24px;counter-reset:closure-step}
body[data-v1-cms] .live-close-steps>li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #ced9ce;border-radius:12px;background:#fff;counter-increment:closure-step}
body[data-v1-cms] .live-close-steps>li>div{flex:1;min-width:0}
body[data-v1-cms] .live-close-steps strong::before{content:counter(closure-step) '. ';color:#46674c}
body[data-v1-cms] .live-close-steps p{margin:6px 0 0;color:#5b625a}
body[data-v1-cms] .live-close-steps [data-review-state=VALID]{border-color:#528b5b;background:#f0f7ed}
body[data-v1-cms] .live-close-steps .button{flex:0 1 auto;max-width:100%;margin:0}
body[data-v1-cms] .live-close-sector{padding:18px;margin:16px 0;border:1px solid #d4dcd2;border-radius:12px;background:#f8faf5}
body[data-v1-cms] .live-close-sector h3{margin-top:0}
body[data-v1-cms] .live-close-product{padding:12px 0;border-top:1px solid #d4dcd2}
body[data-v1-cms] .live-close-product h4{margin:4px 0 10px;font-size:17px}
body[data-v1-cms] .live-close-quantities{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px;margin:12px 0}
body[data-v1-cms] .live-close-quantities>div{padding:10px;background:#fff;border-radius:8px}
body[data-v1-cms] .live-close-quantities dt{font-size:13px;color:#536053}
body[data-v1-cms] .live-close-quantities dd{margin:3px 0 0;font-size:22px;font-weight:700;color:#214f36}
body[data-v1-cms] .live-close-final{border-top:1px solid #d4dcd2;padding-top:18px;margin-top:24px}
body[data-v1-cms] .live-close-final button:disabled{background:#e5e8e2;color:#64705f;border-color:#c5cec0;opacity:1;cursor:not-allowed}
body[data-v1-cms] .live-close-exception{margin-top:22px;padding:16px;border:1px solid #dbc49a;border-radius:10px;background:#fff9ed}
body[data-v1-cms] .live-no-activity{background:#f6f8ef;border-color:#bdcba9;margin-top:20px}
body[data-v1-cms] .live-close-review .check,body[data-v1-cms] .live-no-activity .check{display:flex;align-items:flex-start;gap:10px}
body[data-v1-cms] .live-close-review .check input,body[data-v1-cms] .live-no-activity .check input{flex:0 0 auto;margin-top:4px}
@media(max-width:640px){
 body[data-v1-cms] .live-close-steps>li{align-items:stretch;flex-direction:column;padding:14px}
 body[data-v1-cms] .live-close-steps .button{justify-content:center;width:100%}
 body[data-v1-cms] .live-close-sector{padding:14px}
 body[data-v1-cms] .live-close-quantities{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-v1-cms] .operational-sector-tabs .button{flex:1;justify-content:center}
}



/* Dashboard shell: each column scrolls independently; the last command stays reachable. */
@media screen and (min-width:861px) {
 body[data-v1-cms]:not([data-live-embedded]):has(> .admin-layout) {
  display:grid;grid-template-columns:236px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;
  height:100dvh;min-height:0;overflow:hidden
 }
 body[data-v1-cms]:not([data-live-embedded]) > .admin-header {grid-column:2;grid-row:1;margin:0;min-height:96px;padding:12px 22px}
 body[data-v1-cms]:not([data-live-embedded]) > .admin-layout {display:contents}
 body[data-v1-cms]:not([data-live-embedded]) > .admin-layout > .cms-sidebar {
  grid-column:1;grid-row:1 / 4;position:relative;inset:auto;align-self:stretch;
  margin:0;height:auto;min-height:0;max-height:100dvh;overflow:auto;overscroll-behavior:contain;
  scrollbar-gutter:stable;scroll-padding-block:16px;padding-bottom:32px
 }
 body[data-v1-cms]:not([data-live-embedded]) > .admin-layout > main[data-cms-workspace] {
  grid-column:2;grid-row:2;min-height:0;overflow:auto;overscroll-behavior:contain;
  scrollbar-gutter:stable;scroll-padding-block:20px 72px;padding:16px 24px 48px
 }
 body[data-v1-cms]:not([data-live-embedded]) > .v1-footer {grid-column:2;grid-row:3;margin:0 24px;padding:10px 0;min-width:0}
}
body[data-v1-cms] :is(main[data-cms-workspace],.cms-sidebar) :is(a,button,input,select,textarea,summary):focus-visible {scroll-margin-block:20px 88px}
@media screen and (max-width:860px) {
 body[data-v1-cms]:not([data-live-embedded]) {padding-bottom:calc(78px + env(safe-area-inset-bottom))}
 body[data-v1-cms]:not([data-live-embedded]) .cms-sidebar[open] > .cms-navigation {
  max-height:60dvh;overflow:auto;overscroll-behavior:contain;scroll-padding-block:12px
 }
 body[data-v1-cms]:not([data-live-embedded]) .admin-layout > main[data-cms-workspace] {padding-bottom:28px;scroll-padding-bottom:100px}
}

/* One module window, with a visible dashboard alongside it on a desktop. */
body[data-v1-cms] .live-intervention-dialog {
 position:fixed;inset:12px 12px 12px auto;margin:0;width:min(960px,calc(100vw - 24px));height:calc(100dvh - 24px);
 max-height:calc(100dvh - 24px);border:1px solid #8f783c;border-radius:12px;background:#fffdf8;color:#263b30
}
body[data-v1-cms] .live-intervention-dialog::backdrop {background:rgba(16,14,10,.22)}
body[data-v1-cms] .live-intervention-dialog > header {gap:10px;flex-wrap:wrap;background:#171710;color:#f4e1b2;border-bottom:2px solid #b4944f;padding:10px 14px}
body[data-v1-cms] .live-intervention-dialog h2 {flex:1;min-width:0;font:700 18px/1.3 system-ui,sans-serif;color:#f4e1b2}
body[data-v1-cms] .live-intervention-dialog header button {margin-left:auto;min-width:80px;min-height:44px;background:#ead29d;border-color:#ead29d;color:#1d281f;font-weight:700}
body[data-v1-cms] .live-intervention-dialog > header .live-dossier-return {color:#f4e1b2;min-height:44px;max-width:100%;white-space:normal}
body[data-v1-cms] .live-intervention-content {display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:auto}
body[data-v1-cms] .live-intervention-dialog [data-live-frame] {flex:1 1 auto;width:100%;height:100%;min-height:0;background:#fffdf8}
body[data-v1-cms] .live-window-unsaved {flex:0 0 auto;padding:12px 16px;background:#fff3d7;color:#543911;border-bottom:1px solid #b28c43;max-height:40dvh;overflow:auto}
body[data-v1-cms] .live-window-unsaved p {margin:0 0 8px;color:inherit}
body[data-v1-cms] .live-window-unsaved button {min-height:44px;margin:0 8px 4px 0;background:#275740;border-color:#275740;color:#fff}
body[data-v1-cms] .live-window-unsaved [data-workspace-discard] {background:#fffdf8;color:#543911;border-color:#87602c}
@media screen and (min-width:1100px) {
 body[data-v1-cms] .live-intervention-dialog {left:clamp(460px,42vw,660px);right:16px;width:auto;max-width:none;top:16px;bottom:16px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
}
@media screen and (max-width:600px) {
 body[data-v1-cms] .live-intervention-dialog {inset:max(6px,env(safe-area-inset-top)) 6px max(6px,env(safe-area-inset-bottom));width:calc(100vw - 12px);height:auto;max-height:calc(100dvh - 12px)}
 body[data-v1-cms] .live-intervention-dialog > header {padding:8px 10px}
 body[data-v1-cms] .live-intervention-dialog h2 {font-size:16px}
}
body[data-v1-cms] .live-intervention-dialog > header {justify-content:flex-start;gap:0 4px}
body[data-v1-cms] .live-intervention-dialog > header h2 {order:3;padding-left:8px}
body[data-v1-cms] .live-intervention-dialog > header .live-dossier-return {order:4}
body[data-v1-cms] .live-intervention-dialog > header .live-window-control {display:grid;place-items:center;position:relative;flex:0 0 44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:#241f17;font:700 15px/1 system-ui,sans-serif;z-index:0}
body[data-v1-cms] .live-intervention-dialog > header .live-window-control::before {content:'';position:absolute;z-index:-1;inset:12px;border:1px solid #0005;border-radius:50%}
body[data-v1-cms] .live-intervention-dialog > header .live-window-close {order:0}
body[data-v1-cms] .live-intervention-dialog > header .live-window-minimize {order:1}
body[data-v1-cms] .live-intervention-dialog > header .live-window-expand {order:2}
body[data-v1-cms] .live-window-close::before {background:#ff6057}
body[data-v1-cms] .live-window-minimize::before {background:#ffbd2e}
body[data-v1-cms] .live-window-expand::before {background:#28c840}
body[data-v1-cms] .live-intervention-dialog > header .live-window-control:focus-visible {outline:3px solid #f4e1b2;outline-offset:-3px}
body[data-v1-cms] .live-intervention-dialog.is-expanded {inset:max(6px,env(safe-area-inset-top)) 6px max(6px,env(safe-area-inset-bottom));width:calc(100vw - 12px);max-width:none;height:auto;max-height:calc(100dvh - 12px)}
body[data-v1-cms] .live-intervention-dialog.is-minimized {position:fixed;inset:auto 12px max(12px,env(safe-area-inset-bottom)) auto;width:min(400px,calc(100vw - 24px));height:auto;max-height:none;max-width:calc(100vw - 24px);z-index:10000}
body[data-v1-cms] .live-intervention-dialog.is-minimized > :not(header) {display:none!important}
body[data-v1-cms] .live-intervention-dialog.is-minimized > header .live-dossier-return {display:none}
body[data-v1-cms] .live-window-result {flex:0 0 auto;margin:0;padding:10px 16px;max-height:25dvh;overflow:auto;border-bottom:1px solid #cab99a;background:#f7f1e7;color:#302b23;overflow-wrap:anywhere}
/* Embedded pages retain their actual forms and controls, without repeating the outer shell. */
body[data-v1-cms][data-live-embedded] {display:block;height:auto;overflow:auto}
body[data-v1-cms][data-live-embedded] .admin-layout > main[data-cms-workspace] {overflow:visible;padding-bottom:32px}
body[data-v1-cms][data-live-embedded] .v1-module-heading > .cms-workspace-navigation {display:flex}
body[data-v1-cms] .live-station-foot > span {color:#344d40}
body[data-v1-cms] #live-service .v1-summary > div {background:#fffdf8;color:#263f31}
body[data-v1-cms] #live-service .v1-summary-link > span {color:#344d40}
@media print {body[data-v1-cms] .live-intervention-dialog {display:none!important}}

/* The dashboard keeps each opened page mounted in its own panel. */
body[data-v1-cms] .v1-module-tab-strip {
 position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;
 min-width:0;padding:4px;margin:0 0 14px;border:1px solid #8f783c;border-radius:10px;
 background:#17140e;color:#f4e1b2
}
body[data-v1-cms] .v1-module-tab-list {
 display:flex;flex:1 1 auto;gap:4px;min-width:0;padding:3px;overflow-x:auto;
 overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#a69164 #17140e;
 scroll-padding-inline-start:5rem
}
body[data-v1-cms] .v1-module-tab-controls {display:flex;flex:0 0 auto;gap:4px}
body[data-v1-cms] .v1-module-tab-strip :is(button,select) {
 flex:0 0 auto;min-width:44px;min-height:44px;margin:0;padding:6px 12px;
 border:1px solid #786847;border-radius:7px;background:#241e15;color:#f4e1b2;
 font:600 .875rem/1.25 system-ui,sans-serif;white-space:nowrap
}
body[data-v1-cms] .v1-module-tab-strip button:hover {background:#3b3020}
body[data-v1-cms] .v1-module-tab-list button:first-child {position:sticky;left:0;z-index:1;box-shadow:4px 0 #17140e}
body[data-v1-cms] .v1-module-tab-strip button[aria-selected="true"] {border-color:#f4e1b2;background:#ead29d;color:#241e15}
body[data-v1-cms] .v1-module-tab-strip button[data-module-tab-companion] {border-color:#d6b97d;background:#3b3020;color:#f4e1b2}
body[data-v1-cms] .v1-module-tab-strip :is(button,select):focus-visible {outline:2px solid #fffdf8;outline-offset:1px}
body[data-v1-cms] .v1-module-tab-controls button {padding-inline:6px;font-size:1.3rem}
body[data-v1-cms] .v1-module-tab-controls select {width:auto;max-width:15rem;padding-inline:8px 26px;text-overflow:ellipsis}
body[data-v1-cms] .v1-module-tab-strip [hidden],
body[data-v1-cms] .v1-module-tab-deck[hidden],
body[data-v1-cms] .v1-module-tab-panel[hidden],
body[data-v1-cms] .v1-module-tab-panel [hidden] {display:none!important}
body[data-v1-cms] main[data-module-tab-active] > :not(.v1-module-tab-strip,.v1-module-tab-deck) {display:none!important}
body[data-v1-cms] .v1-module-tab-deck {min-height:0;min-width:0;flex:1 1 auto}
body[data-v1-cms] .v1-module-tab-deck[data-module-tab-split] {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:10px
}
body[data-v1-cms] [data-module-tab-split] .v1-module-tab-panel {grid-column:1;grid-row:1}
body[data-v1-cms] [data-module-tab-split] .v1-module-tab-panel[data-module-tab-companion] {grid-column:2}
body[data-v1-cms] .v1-module-tab-panel {
 display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;
 border:1px solid #8f783c;border-radius:10px;background:#fffdf8;color:#263b30
}
body[data-v1-cms] [data-module-tab-split] .v1-module-tab-panel[data-module-tab-target] {outline:2px solid #ead29d}
body[data-v1-cms] .v1-module-tab-panel [data-live-frame] {display:block;flex:1 1 auto;width:100%;height:100%;min-height:0;border:0}
body[data-v1-cms] .v1-module-tab-heading:has(> [hidden]) {display:none}
body[data-v1-cms] .v1-module-tab-heading {display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:4px 12px;background:#241e15;color:#f4e1b2}
body[data-v1-cms] .v1-module-tab-heading h2 {margin:0;font:600 1rem system-ui,sans-serif}
body[data-v1-cms] .v1-module-tab-heading a {color:inherit}
@media screen and (min-width:861px) {
 body[data-v1-cms]:not([data-live-embedded]) > .admin-layout > main[data-module-tab-active] {
  display:flex;flex-direction:column;overflow:hidden;padding-bottom:16px
 }
}
@media screen and (max-width:860px) {
 body[data-v1-cms] main[data-module-tab-active]:not([data-module-tab-fullscreen]) .v1-module-tab-deck {height:max(360px,calc(100dvh - 212px))}
 body[data-v1-cms] .v1-module-tab-strip {margin-bottom:10px}
 body[data-v1-cms] .v1-module-tab-list button {padding-inline:9px}
}
@media screen and (max-width:480px) {
 body[data-v1-cms] .v1-module-tab-list {scroll-padding-inline-start:4px}
 body[data-v1-cms] .v1-module-tab-list button:first-child {position:static;box-shadow:none}
}
body[data-v1-cms][data-module-fullscreen] {overflow:hidden}
body[data-v1-cms] > .admin-layout > main[data-module-tab-fullscreen] {
 position:fixed;inset:0;z-index:10020;display:flex;flex-direction:column;
 width:auto;height:auto;min-height:0;max-width:none;margin:0;overflow:auto;
 padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))
}
body[data-v1-cms] > .admin-layout > main[data-module-tab-fullscreen][data-module-tab-active] {overflow:hidden}
@media print {body[data-v1-cms] .v1-module-tab-strip {display:none!important}}
