/* BuildYourSystem 0.8 — shared product design tokens and editorial dining experience.
   Logical properties retain RTL/LTR. Reduced motion keeps all actions available. */
:root{--x8-radius:20px;--x8-small:12px;--x8-ease:cubic-bezier(.2,.7,.2,1);--x8-shadow:0 8px 32px #15233708;--x8-admin-accent:#28564f;--x8-admin-soft:#e8f0ed;--x8-admin-ink:#14342e}
html[data-mode=dark]{--x8-admin-accent:#9ac8bc;--x8-admin-soft:#19312d;--x8-admin-ink:#d8efe8;--x8-shadow:0 10px 36px #0002}
body.x8-dashboard{--card-radius:20px;line-height:1.7}
.x8-dashboard .hub-workspace{background:var(--bg)}
.x8-dashboard .hub-sidebar{background:var(--surface);border-inline-end:1px solid var(--line);box-shadow:none;width:264px}
.x8-dashboard .workspace-main{min-width:0}
.x8-dashboard .hub-brand{padding:26px 22px 20px;gap:12px}
.x8-dashboard .hub-brand-logo{width:44px;height:44px;min-width:44px;border-radius:15px;background:var(--soft);border:1px solid var(--line);box-shadow:none}
.x8-dashboard .hub-brand-logo img{border-radius:13px;width:100%;height:100%;object-fit:contain}
.x8-dashboard .hub-brand strong{font-size:16px;font-weight:800;line-height:1.6;max-width:167px;white-space:normal;color:var(--ink)}
.x8-dashboard .hub-brand small{font-size:9px;letter-spacing:.08em;color:var(--muted)}
.x8-dashboard .hub-nav-intro{margin:10px 22px 14px;font-size:11px;color:var(--muted);letter-spacing:.02em}
.x8-nav-search{display:flex;align-items:center;gap:8px;margin:0 18px 14px;padding:0 11px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.x8-nav-search input{background:transparent!important;border:0!important;outline:none!important;box-shadow:none!important;min-height:39px!important;margin:0!important;width:100%;font-size:12px!important;padding:7px 0}
.x8-nav-search .icon{width:16px;height:16px;color:var(--muted)}
.x8-dashboard .hub-primary-link{margin:4px 12px;padding:12px 13px;border-radius:14px;min-height:64px;border:1px solid transparent;gap:12px;box-shadow:none;transition:background .2s,border-color .2s;transform:none!important}
.x8-dashboard .hub-primary-link.active{background:var(--x8-admin-soft);border-color:color-mix(in srgb,var(--x8-admin-accent) 22%,transparent);color:var(--x8-admin-ink)}
.x8-dashboard .hub-primary-link.active strong,.x8-dashboard .hub-primary-link.active small{color:var(--x8-admin-ink)}
.x8-dashboard .hub-primary-link strong{font-size:14px;font-weight:750;color:var(--ink)}
.x8-dashboard .hub-primary-link small{font-size:10px;color:var(--muted);margin-top:2px}
.x8-dashboard .hub-nav-icon{background:transparent;box-shadow:none;border:0;color:inherit;width:28px;height:32px}
.x8-dashboard .hub-nav-icon .icon{width:21px;height:21px}
.x8-dashboard .hub-primary-link.active:before{display:none}
.x8-dashboard .hub-sidebar-note{border:1px solid var(--line);border-radius:16px;background:var(--bg);box-shadow:none;margin:14px 18px;padding:13px}
.x8-dashboard .hub-sidebar-note p{font-size:11px;line-height:1.8;margin:0;color:var(--muted)}
.x8-dashboard .hub-utility{margin:17px 12px;border-top:1px solid var(--line);padding-top:14px}
.x8-dashboard .hub-topbar{height:auto;min-height:78px;background:var(--surface);box-shadow:none;border-bottom:1px solid var(--line);padding:14px 32px;gap:12px}
.x8-dashboard .breadcrumb-root{font-size:10px;letter-spacing:.1em;color:var(--muted)}
.x8-dashboard .breadcrumb strong{font-size:14px;color:var(--ink)}
.x8-dashboard .user-chip{background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:100px;padding:5px 10px;box-shadow:none;gap:9px}
.x8-dashboard .user-chip small{font-size:10px;color:var(--muted)}
.x8-dashboard .user-chip strong{font-size:12px}
.x8-dashboard .ux-avatar{border-radius:50%;overflow:hidden;width:34px;height:34px;min-width:34px}
.x8-dashboard .hub-page{padding:30px 34px 28px;max-width:1720px;width:100%;margin-inline:auto}
.x8-dashboard .page-heading,.x8-dashboard .v7-hero{background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 24px;min-height:0}
.x8-dashboard .page-heading h1,.x8-dashboard .v7-hero h1{font-size:29px;line-height:1.55;letter-spacing:-.03em}
.x8-dashboard .page-heading p,.x8-dashboard .v7-hero p{max-width:750px;font-size:13px;line-height:1.8;color:var(--muted)}
.x8-dashboard .hub-welcome{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:none;padding:26px;min-height:0}
.x8-dashboard .hub-sculpture{display:none}
.x8-dashboard .hub-subnav{border:1px solid var(--line);background:var(--surface);padding:5px;border-radius:14px;margin-bottom:26px;box-shadow:none;gap:5px;overflow-x:auto;scrollbar-width:thin}
.x8-dashboard .hub-subnav a{border-radius:10px;font-size:12px;padding:10px 14px;white-space:nowrap}
.x8-dashboard .hub-subnav a.active{background:var(--x8-admin-soft);color:var(--x8-admin-ink);box-shadow:none}
.x8-dashboard .card,.x8-dashboard .stat-card,.x8-dashboard .v7-panel{border-radius:20px;border:1px solid var(--line);box-shadow:var(--x8-shadow);background:var(--surface);color:var(--ink)}
.x8-dashboard .stat-card,.x8-dashboard .hub-kpi{transform:none!important;box-shadow:var(--x8-shadow);background:var(--surface);border:1px solid var(--line)}
.x8-dashboard .stat-card:before,.x8-dashboard .hub-kpi:before{display:none}
.x8-dashboard .stat-number{font-size:28px}
.x8-dashboard .btn{min-height:40px;border-radius:11px;padding:9px 14px;font-size:12px;font-weight:700;gap:7px;box-shadow:none}
.x8-dashboard .btn.icon-only{width:40px;padding:9px}
.x8-dashboard .btn.primary{background:var(--x8-admin-accent);border-color:var(--x8-admin-accent);color:var(--surface)}
html[data-mode=dark] .x8-dashboard .btn.primary{color:#10251f}
.x8-dashboard .btn.primary:hover{filter:brightness(.94);background:var(--x8-admin-accent)}
.x8-dashboard .btn.soft{color:var(--ink);background:var(--bg);border:1px solid var(--line)}
.x8-dashboard .btn.soft:hover{background:var(--soft)}
.x8-dashboard :is(input,select,textarea){border-radius:11px;border:1px solid var(--line);box-shadow:none;min-height:44px;font-size:14px!important;color:var(--ink)}
.x8-dashboard label{font-size:12px!important;font-weight:650;color:var(--ink)}
.x8-dashboard .table th{background:var(--bg);font-size:11px;letter-spacing:.015em;color:var(--muted);padding:13px 16px;border-bottom:1px solid var(--line)}
.x8-dashboard .table td{font-size:13px;padding:15px 16px;border-bottom:1px solid var(--line)}
.x8-dashboard .table tbody tr:hover{background:var(--soft)}
.x8-dashboard .table-wrap{border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.x8-dashboard .table tfoot td{background:var(--soft);color:var(--ink);font-weight:750}
.x8-dashboard .filter-v6,.x8-dashboard .v7-filter,.x8-dashboard .filter-form{border-radius:15px;background:var(--surface);border:1px solid var(--line);box-shadow:none}
.x8-dashboard .v7-filter{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:13px}
.x8-dashboard .v7-filter label{flex:1 1 145px;max-width:230px}
.x8-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.x8-page-header h1{font-size:clamp(23px,2vw,32px);font-weight:800;letter-spacing:-.025em;line-height:1.5;margin:8px 0 5px}
.x8-page-header p{font-size:13px;color:var(--muted);margin:0;max-width:800px}
.x8-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--muted);display:inline-flex;gap:8px;align-items:center}
html[dir=rtl] .x8-eyebrow{letter-spacing:.03em}
.x8-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.x8-dashboard-summary{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;margin:0 0 22px}
.x8-summary-intro{background:#173f36;color:#f4f6ee;border:1px solid #2d584d;border-radius:22px;padding:26px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center}
.x8-summary-intro:after{content:'';width:200px;height:200px;position:absolute;inset-inline-end:-100px;top:-70px;border:1px solid #e2eed92b;border-radius:50%;box-shadow:0 0 0 28px #ffffff04,0 0 0 56px #ffffff03;pointer-events:none}
.x8-summary-intro .x8-eyebrow{color:#bad3c7}.x8-summary-intro h2{font:700 55px/1.3 Manrope,Cairo,sans-serif;margin:22px 0 10px}
.x8-summary-intro h2 small{display:block;font:600 15px/1.8 Cairo,Manrope,sans-serif;color:#e0e9de}
.x8-summary-intro p{font-size:12px;color:#c9ded3}.x8-summary-intro>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:15px;font-size:12px}
.x8-summary-intro .x8-state{background:#fff1;color:#e8eee6;border-color:#fff2}
.x8-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.x8-kpi{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:19px;min-width:0}
.x8-kpi>div{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:12px}
.x8-kpi-icon{display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);border-radius:9px;width:29px;height:29px;flex-shrink:0;color:var(--primary)}
.x8-kpi-icon .icon{width:16px;height:16px}
.x8-kpi>strong{font:750 25px/1.5 Manrope,Cairo,sans-serif;color:var(--ink);display:block}.x8-kpi .money{font-size:23px}
.x8-kpi>small{font-size:10px;color:var(--muted);display:block;margin-top:4px;line-height:1.7}
.x8-kpi .money small{font-size:10px}
.x8-action-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 25px}
.x8-action-row>a{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:15px;padding:17px;background:var(--surface);transition:transform .2s,border-color .2s;text-decoration:none;color:var(--ink)}
.x8-action-row>a:hover{transform:translateY(-2px);border-color:var(--primary)}
.x8-action-row>a>.icon:first-child{width:23px;height:23px;color:var(--x8-admin-accent)}
.x8-action-row>a>.icon:last-child{margin-inline-start:auto;width:16px}
.x8-action-row b{display:block;font-size:12px}.x8-action-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.x8-range{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:13px 16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;margin-bottom:18px}
.x8-range label{min-width:140px;flex:1;max-width:280px;margin:0}.x8-range label input,.x8-range label select{margin-top:4px;min-height:39px;font-size:12px!important}
.x8-filter-title{display:inline-flex;align-self:center;gap:8px;align-items:center;font-size:12px;font-weight:750;margin-inline-end:10px}
.x8-chart-grid,.x8-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}
.x8-chart,.x8-follow,.x8-recent{padding:22px!important;min-width:0}
.x8-chart header,.x8-follow header,.x8-recent header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.x8-chart h2,.x8-follow h2,.x8-recent h2{font-size:15px;font-weight:750;margin:0}
.x8-chart header .money{font-size:16px}.x8-chart>svg{width:100%;height:auto;display:block;overflow:visible;color:var(--x8-admin-accent)}
.x8-chart .x8-gridline{stroke:var(--line);fill:none;stroke-dasharray:3 5}
.x8-chart .x8-chart-line{stroke:currentColor;stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.x8-chart circle{fill:var(--surface);stroke:currentColor;stroke-width:2}
.x8-chart-range{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;direction:ltr;margin-top:-15px}
.x8-chart details{font-size:11px;margin-top:18px;color:var(--muted)}.x8-chart summary{cursor:pointer}
.x8-chart-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:170px;overflow:auto;margin-top:12px}
.x8-chart-values>span{font-size:10px;background:var(--bg);padding:6px}.x8-chart-values b{display:block}.x8-chart-values .money{font-size:11px}
.x8-follow article,.x8-recent article{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line);min-width:0}
.x8-follow article>div,.x8-recent article>div{min-width:0;flex:1}.x8-follow b,.x8-recent b{font-size:12px;display:block}.x8-follow small,.x8-recent small{display:block;font-size:10px;color:var(--muted)}
.x8-follow .money{font-size:12px}.x8-recent article>div:last-child{flex:none;text-align:end}.x8-recent article .money{font-size:14px}
.x8-dot{display:block;width:9px;height:9px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 5px var(--soft);margin-inline:5px}.x8-dot.amber{background:#b77d31}
.x8-recent-icon{width:34px;height:38px;display:grid;place-items:center;background:var(--bg);border:1px solid var(--line);border-radius:10px;color:var(--muted)}
.x8-type-summary{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.x8-type-summary>span{padding:8px 14px;border-radius:9px;border:1px solid var(--line);font-size:11px;background:var(--surface)}.x8-type-summary b{margin-inline-start:20px}
.x8-project-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:0 0 24px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.x8-project-filter>label:first-child{display:flex;align-items:center;gap:10px;flex:1 1 250px}.x8-project-filter input{margin:0!important}.x8-project-filter>label:not(:first-child){min-width:170px}
.x8-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.x8-project-card{padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:var(--x8-shadow);min-width:0;transition:transform .2s,border-color .2s}
.x8-project-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--primary) 40%,var(--line))}
.x8-project-card header{display:flex;align-items:center;gap:12px;min-width:0}.x8-project-card header>div{min-width:0;flex:1}.x8-project-card h2{font-size:18px;margin:0 0 3px;white-space:normal;overflow-wrap:anywhere}
.x8-project-card header a{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}.x8-project-card header a .icon{width:12px;height:12px;flex-shrink:0}
.x8-project-logo{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:18px;background:var(--bg);border:1px solid var(--line);overflow:hidden;font-size:25px;font-weight:800}
.x8-project-logo img{width:100%;height:100%;object-fit:contain;border-radius:16px}
.x8-project-meta{display:flex;justify-content:space-between;gap:10px;margin:20px 0;color:var(--muted);font-size:11px}
.x8-project-meta>span{display:flex;align-items:center;gap:7px}.x8-project-meta .icon{width:15px;height:15px}
.x8-project-numbers{display:grid;grid-template-columns:1fr 1fr;background:var(--bg);padding:16px;border:1px solid var(--line);border-radius:13px;gap:14px}
.x8-project-numbers small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.x8-project-numbers .money{font-size:18px}
.x8-contract-line{display:flex;align-items:center;gap:9px;font-size:10px;color:var(--muted);margin:18px 0;flex-wrap:wrap}.x8-contract-line>small{margin-inline-start:auto}
.x8-state{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:7px;padding:4px 9px;font-size:10px;white-space:nowrap;background:var(--bg);color:var(--muted)}
.x8-state.state-active,.x8-state.state-done{background:var(--x8-admin-soft);color:var(--x8-admin-ink)}
.x8-state.state-expired,.x8-state.state-suspended{color:var(--red,#b0344b)}
.x8-project-card footer{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:18px}
.x8-identity-layout{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(440px,1.1fr);align-items:start;gap:24px}
.x8-identity-layout.platform{grid-template-columns:minmax(340px,1.2fr) minmax(270px,.8fr)}
.x8-identity-form{min-width:0}.x8-settings-block{border:1px solid var(--line);border-radius:17px;background:var(--surface);margin-bottom:12px;overflow:hidden}
.x8-settings-block summary{display:flex;align-items:center;gap:12px;padding:20px;cursor:pointer;font-size:14px;font-weight:750;list-style:none}
.x8-settings-block summary::-webkit-details-marker{display:none}.x8-settings-block summary>.icon:first-child{color:var(--x8-admin-accent)}.x8-settings-block summary>.icon:last-child{margin-inline-start:auto;width:16px;transition:transform .2s}
.x8-settings-block[open] summary{border-bottom:1px dashed var(--line)}.x8-settings-block[open] summary>.icon:last-child{transform:rotate(180deg)}
.x8-settings-body{padding:20px;display:grid;gap:18px}.x8-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.x8-field-pair>*{min-width:0;margin:0}
.x8-field-pair textarea{min-height:112px;resize:vertical}.x8-field-pair label:nth-child(even){direction:ltr;text-align:start}
.x8-media-field{display:flex;align-items:center;gap:12px;border:1px dashed var(--line);border-radius:12px;padding:13px;flex-wrap:wrap;position:relative}
.x8-media-field>label{flex:1;min-width:160px}.x8-media-field input[type=file]{font-size:11px!important;max-width:100%;padding:8px;min-height:38px}.x8-media-field img{width:64px;height:64px;border-radius:12px;object-fit:contain;border:1px solid var(--line);background:var(--bg)}
.x8-social-editor{display:grid;gap:12px}.x8-social-editor>div{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:12px;border-bottom:1px dashed var(--line);padding-bottom:10px}
.x8-social-editor .check-label{font-size:12px}.x8-social-editor input{max-width:100%;min-width:0}
.x8-savebar{position:sticky;bottom:12px;z-index:8;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:14px;box-shadow:0 10px 24px #0001;display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.x8-savebar p{font-size:11px;color:var(--muted);flex:1;margin:0}.x8-savebar .form-error:empty{display:none}.x8-savebar .form-error:not(:empty){flex-basis:100%}
.x8-preview-panel{position:sticky;top:100px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--surface);min-width:0;padding-bottom:12px}
.x8-preview-panel>header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--line);gap:12px;font-size:12px;font-weight:750}
.x8-preview-panel>header>span{display:flex;align-items:center;gap:8px}.x8-preview-panel>header>div{display:flex;gap:4px}
.x8-preview-stage{height:620px;background:var(--bg);overflow:auto;padding:0;display:flex;justify-content:center;align-items:stretch}
.x8-preview-stage iframe{border:0;width:100%;height:100%;background:var(--bg);flex-shrink:0;transition:width .2s}
.x8-preview-stage[data-size=mobile]{padding:14px}.x8-preview-stage[data-size=mobile] iframe{width:min(390px,100%);border:1px solid var(--line);border-radius:20px}
.x8-preview-panel>.fine-print{font-size:10px;margin:10px 16px 0;line-height:1.7}
.x8-brand-preview{padding:36px;position:sticky;top:100px}.x8-brand-demo{display:grid;place-items:center;width:90px;height:90px;border-radius:26px;color:var(--primary);background:var(--soft);border:1px solid var(--line);margin:40px 0}.x8-brand-demo .icon{width:45px;height:45px}.x8-brand-preview h2{font-size:25px}.x8-brand-preview p{font-size:13px;color:var(--muted)}
.x8-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.x8-service-card{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}
.x8-service-symbol{background:var(--soft);width:52px;height:52px;border-radius:17px;display:grid;place-items:center;color:var(--primary)}
.x8-service-card h2{font-size:18px;margin:2px 0}.x8-service-card p{font-size:12px;margin:0}.x8-service-card small,.x8-service-card time{font-size:10px;color:var(--muted)}
.x8-service-card footer{display:flex;gap:8px;padding-top:14px;border-top:1px solid var(--line);width:100%;margin-top:6px}
.x8-halls-editor{display:grid;gap:14px;margin-bottom:24px}.x8-hall-row{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.x8-hall-row label{flex:1;min-width:0}.x8-hall-row>label:nth-of-type(2){direction:ltr}
.x8-hall-tables{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.x8-hall-table{background:var(--surface);border:1px solid var(--line);border-radius:16px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px}.x8-hall-table select{width:100%;margin:0}.x8-hall-table .icon{color:var(--primary)}
/* Shared footer. Content originates from this tenant; links and labels share one component. */
.x-project-footer{max-width:1440px;margin:80px auto 0;padding:55px 42px 20px;border-top:1px solid var(--line);color:var(--ink);background:var(--surface);border-radius:28px 28px 0 0}
.x-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr .65fr;gap:34px}.x-footer-grid>section{min-width:0}
.x-footer-grid h3{font-size:15px;margin:0 0 20px;font-weight:800}.x-footer-wordmark{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.x-footer-wordmark img,.x-monogram{width:56px;height:56px;min-width:56px;border:1px solid var(--line);border-radius:18px;object-fit:contain;background:var(--bg);display:grid;place-items:center;font-size:28px}
.x-footer-wordmark strong{font-size:18px;line-height:1.6}.x-footer-brand p{font-size:13px;line-height:1.9;color:var(--muted);max-width:310px;white-space:pre-line}
.x-opening{display:flex;align-items:start;gap:8px}.x-opening .icon{width:16px;min-width:16px;margin-top:5px}
.x-contact-line{display:flex;align-items:start;gap:11px;text-decoration:none!important;color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:13px;overflow-wrap:anywhere}
.x-contact-line .icon{width:17px;height:17px;min-width:17px;margin-top:3px;color:var(--primary)}
.x-contact-line:hover{color:var(--ink)}.x-social-list,.x-quick-links{display:grid;gap:8px}
.x-social-list a,.x-quick-links a{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;padding:5px 0;text-decoration:none}
.x-social-list svg{width:17px;height:17px;flex-shrink:0}.x-social-list svg:last-child,.x-quick-links svg{width:13px;height:13px;margin-inline-start:auto;opacity:.6}
.x-social-list a:hover,.x-quick-links a:hover{color:var(--primary);text-decoration:none;transform:translateX(2px)}
.x-footer-line{display:flex;justify-content:space-between;gap:20px;margin-top:35px;border-top:1px solid var(--line);padding-top:16px;font-size:10px;color:var(--muted)}
.x-rights{padding:18px!important;text-align:center;font-size:11px!important;background:transparent!important;border:0!important;line-height:1.8}
/* Restaurant: full editorial cover, strong category rhythm and generous food presentation. */
.ex8-menu{max-width:none!important;padding:0!important;background:var(--bg);color:var(--ink)}
.ex8-menu main,.ex8-menu .v7-public-header{max-width:1440px;margin-inline:auto}
.ex8-menu main{padding-inline:52px}
.ex8-menu .v7-menu-bg{opacity:.38;pointer-events:none;z-index:0}
.ex8-menu .v7-public-header{position:relative;z-index:10;padding:28px 52px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:20px;background:transparent;min-height:100px}
.ex8-menu .v7-public-brand{gap:12px;color:var(--ink);text-decoration:none;min-width:0}.ex8-menu .v7-public-brand span{min-width:0}
.ex8-menu .v7-brand-logo{width:52px;height:52px;min-width:52px;border-radius:18px;border:1px solid var(--line);object-fit:contain;background:var(--surface)}
.ex8-menu .v7-public-brand strong{font-size:19px;line-height:1.4;display:block;white-space:normal}
.ex8-menu .v7-public-brand small{font-size:9px;letter-spacing:.15em;margin-top:7px;color:var(--muted);display:block}
html[dir=rtl] .ex8-menu .v7-public-brand small{letter-spacing:.02em}
.ex8-menu .v7-public-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}
.ex8-menu .btn{border-radius:11px;box-shadow:none;min-height:44px;padding:11px 18px;font-size:13px;line-height:1.5;gap:8px;transition:transform .2s,background .2s,border-color .2s}
.ex8-menu .btn.primary{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}
.ex8-menu .btn.primary:hover{transform:translateY(-2px)}
.ex8-menu .btn.ghost{color:var(--ink)}
.ex8-menu .ex8-table-button{border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.ex8-menu .ex8-table-button>.icon:last-child{width:13px;height:13px}
.ex8-menu .v7-menu-hero.ex8-cover{display:grid;grid-template-columns:1fr 1fr;gap:55px;min-height:615px;align-items:center;padding:56px 0 70px;margin:0;border:0;background:transparent;border-radius:0;box-shadow:none;overflow:visible;position:relative;z-index:1}
.ex8-cover-copy{max-width:560px;padding:20px 0}
.ex8-eyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;color:var(--muted);display:inline-flex;align-items:center;gap:9px;line-height:1.8}
html[dir=rtl] .ex8-eyebrow{letter-spacing:.02em}
.ex8-eyebrow b{width:6px;height:6px;background:var(--primary);border-radius:50%;box-shadow:0 0 0 5px var(--soft)}
.ex8-menu .ex8-cover h1{font-size:clamp(37px,4vw,65px);font-weight:750;line-height:1.38;letter-spacing:-.03em;max-width:620px;margin:22px 0 20px;color:var(--ink)}
html[lang=en] .ex8-menu .ex8-cover h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em;font-size:clamp(46px,5vw,78px)}
.ex8-menu .ex8-cover p{font-size:16px;line-height:1.9;max-width:420px;color:var(--muted);margin:0 0 27px;white-space:pre-line}
.ex8-cover-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:16px}
.ex8-service-actions{display:flex;gap:10px;flex-wrap:wrap}.ex8-service-actions .btn{padding:8px 12px;font-size:12px;border:0;min-height:36px}
.ex8-service-actions .icon{width:16px;height:16px}
.ex8-cover-note{display:flex;align-items:center;gap:20px;margin-top:30px;border-top:1px solid var(--line);padding-top:19px}
.ex8-cover-note>span{font:400 29px/1.1 Georgia,serif;color:var(--muted);opacity:.65}
.ex8-menu .ex8-cover-note p{font-size:11px;max-width:340px;margin:0;line-height:1.8}
.ex8-menu .v7-menu-cover.ex8-cover-art{aspect-ratio:1/1.07;width:100%;height:auto;max-height:610px;border-radius:46% 46% 24px 24px;overflow:hidden;border:1px solid color-mix(in srgb,var(--primary) 28%,var(--line));box-shadow:0 22px 60px #0002;position:relative;transform:none!important;background:#142823;display:block}
.ex8-menu .ex8-cover-art>img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit;transform:scale(1.005);transition:transform 1.4s var(--x8-ease);animation:x8-cover-breathe 12s ease-in-out infinite}
.ex8-menu .ex8-cover-art:hover>img{transform:scale(1.04)}
.ex8-cover-caption{position:absolute;inset-inline:24px;bottom:20px;z-index:2;color:#fff9e8;background:#10231be8;backdrop-filter:blur(10px);border:1px solid #ffffff28;border-radius:12px;padding:12px 18px;text-align:center;font-size:11px;line-height:1.7;letter-spacing:.03em}
@keyframes x8-cover-breathe{0%,100%{transform:scale(1.005)}50%{transform:scale(1.04)}}
.ex8-discovery{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:30px 0 18px;border-top:1px solid var(--line);padding-top:38px;position:relative;z-index:2}
.ex8-discovery h2{font-size:31px;line-height:1.5;margin:7px 0;font-weight:700}.ex8-menu .v7-public-toolbar{margin:0;padding:0;border:0;display:flex;align-items:center;gap:10px;background:transparent;width:auto}
.ex8-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:0 14px;border-radius:13px;background:var(--surface);width:320px;max-width:100%}
.ex8-search .icon{width:18px;height:18px;color:var(--muted);flex-shrink:0}
.ex8-search input{background:transparent!important;border:0!important;outline:none!important;box-shadow:none!important;padding:12px 0!important;margin:0!important;min-height:45px!important;font-size:13px!important;width:100%;min-width:0}
.ex8-menu .v7-category-nav.ex8-category-nav{position:sticky;top:0;z-index:20;display:flex;gap:9px;padding:13px 0;margin:0 0 40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:color-mix(in srgb,var(--bg) 95%,transparent);backdrop-filter:blur(16px);overflow-x:auto;scrollbar-width:thin;box-shadow:none}
.ex8-category-nav a{display:flex;gap:8px;align-items:center;padding:8px 14px;border-radius:10px;white-space:nowrap;font-size:12px;font-weight:650;border:1px solid transparent;background:transparent;color:var(--muted);text-decoration:none}
.ex8-category-nav a.active{background:var(--surface);border-color:var(--line);color:var(--ink);box-shadow:var(--x8-shadow)}
.ex8-category-nav img{width:31px;height:31px;border-radius:8px;object-fit:cover}.ex8-category-nav .icon{width:18px;height:18px}
.ex8-menu .v7-menu-section{padding:0 0 58px;margin:0;scroll-margin-top:100px;position:relative;z-index:1}
.ex8-menu .v7-menu-section-heading{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding-bottom:20px;margin:0 0 26px}
.ex8-menu .v7-menu-section-heading>span{font:400 36px/1.2 Georgia,serif;color:var(--muted);opacity:.6;background:transparent;box-shadow:none;border:0;width:auto;min-width:44px;padding:0}
.ex8-menu .v7-menu-section-heading h2{font-size:26px;line-height:1.5;margin:0;font-weight:700;color:var(--ink)}
.ex8-menu .v7-menu-section-heading small{font-size:10px;color:var(--muted);letter-spacing:.02em}.ex8-menu .v7-menu-section-heading>small{margin-inline-start:auto}
.ex8-menu .v7-menu-section-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}
.ex8-menu .v7-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.ex8-menu .v7-food{background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:none;display:flex;flex-direction:column;transition:transform .35s var(--x8-ease),box-shadow .35s;min-width:0;isolation:isolate}
.ex8-menu .v7-food:hover{transform:translateY(-4px);box-shadow:0 18px 34px #00000012}
.ex8-menu .v7-food-image{border:0;padding:0;margin:10px 10px 0;width:calc(100% - 20px);aspect-ratio:1.34;height:auto;border-radius:15px;overflow:hidden;background:var(--bg);cursor:zoom-in;position:relative;display:block}
.ex8-menu .v7-food-image img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;transition:transform .65s var(--x8-ease)}
.ex8-menu .v7-food-image:hover img{transform:scale(1.055)}
.ex8-menu .v7-food-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.ex8-menu .v7-food h3{font-size:19px;line-height:1.6;margin:6px 0;color:var(--ink)}
.ex8-menu .v7-food p{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ex8-menu .v7-food-flags{min-height:19px;display:flex;gap:6px;flex-wrap:wrap}.ex8-menu .v7-food-flags>span{font-size:9px;background:var(--soft);color:var(--primary);border-radius:5px;padding:3px 7px;border:0}
.ex8-menu .v7-food footer{border:0;padding:0;margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px}
.ex8-menu .v7-food footer>span{display:flex;align-items:center;gap:7px}.ex8-menu .v7-food footer .money{font-size:18px}.ex8-menu .v7-food footer .money small{font-size:10px}.ex8-menu .v7-food footer del{color:var(--muted);font-size:11px}
.ex8-menu .v7-food footer .btn{font-size:11px;padding:9px 12px;min-height:37px;border-radius:10px}.ex8-menu .v7-food footer .icon{width:16px;height:16px}
.ex8-menu[data-layout=editorial] .v7-menu-grid,.ex8-menu[data-layout=coffee] .v7-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ex8-menu[data-layout=editorial] .v7-food,.ex8-menu[data-layout=coffee] .v7-food{display:grid;grid-template-columns:42% 1fr;align-items:stretch}
.ex8-menu[data-layout=editorial] .v7-food-image,.ex8-menu[data-layout=coffee] .v7-food-image{margin:10px;width:calc(100% - 10px);height:calc(100% - 20px);aspect-ratio:auto}
.ex8-menu[data-layout=minimal] .v7-food,.ex8-menu[data-layout=natural] .v7-food{border-radius:8px;border:0;border-bottom:1px solid var(--line);background:transparent}
.ex8-menu[data-layout=minimal] .v7-food-image,.ex8-menu[data-layout=natural] .v7-food-image{border-radius:50% 50% 14px 14px}
.ex8-menu[data-layout=lounge] .ex8-cover-art,.ex8-menu[data-layout=street] .ex8-cover-art{border-radius:28px;transform:rotate(-2deg)!important}
.ex8-menu .v7-menu-banner{border-radius:22px;border:1px solid var(--line);overflow:hidden;box-shadow:none;margin:24px 0;background:var(--surface)}
.ex8-menu .v7-menu-banner h3{font-size:24px}
.ex8-menu .v7-cart-float{border:1px solid var(--line);border-radius:16px;min-width:280px;padding:15px 20px;box-shadow:0 14px 40px #0005;display:flex;align-items:center;gap:12px;background:var(--primary);color:var(--on-primary);font-size:13px;max-width:calc(100% - 30px);backdrop-filter:blur(16px)}
.ex8-menu .v7-cart-float b{background:color-mix(in srgb,var(--on-primary) 12%,transparent);border-radius:7px;min-width:27px;padding:4px;text-align:center}.ex8-menu .v7-cart-float .money{margin-inline-start:auto;color:inherit;font-size:16px}
.ex8-empty{display:grid;place-items:center;min-height:180px;text-align:center;border:1px dashed var(--line);border-radius:18px;padding:24px;background:var(--surface);color:var(--muted)}.ex8-empty>.icon{width:32px;height:32px;margin-bottom:10px}.ex8-empty p{font-size:13px}
.ex8-table-chooser>p{font-size:13px;line-height:1.8;color:var(--muted)}
.ex8-table-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:60vh;overflow:auto;padding:3px}
.ex8-table-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:16px;padding:20px 12px;background:var(--bg);color:var(--ink);transition:transform .2s,border-color .2s}
.ex8-table-option:hover,.ex8-table-option.selected{border-color:var(--primary);background:var(--soft);transform:translateY(-2px)}
.ex8-table-option strong{font:700 28px/1.3 Manrope,Cairo,sans-serif}.ex8-table-option span{font-size:11px}.ex8-table-option small{font-size:10px;color:var(--muted)}.ex8-table-option .icon{color:var(--primary)}
.ex8-menu .v7-tracking{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:24px}.ex8-menu .v7-steps{overflow-x:auto;white-space:nowrap;gap:10px}.ex8-menu .v7-steps span{font-size:11px}
/* Authentication and generic public entry keep the same calm visual language. */
.auth-v2 .auth-art{background:#163a33!important;color:#f4f7ed!important;border-inline-end:1px solid #ffffff20}
.auth-v2 .auth-art h1,.auth-v2 .auth-art h2,.auth-v2 .auth-art p{color:#f4f7ed!important}.auth-v2 .auth-side{background:var(--surface);color:var(--ink)}
.auth-v2 .auth-form-v2 input{border-radius:12px}.auth-v2 .auth-form-v2 h2{font-size:32px;line-height:1.5}.auth-v2 .auth-art:after{opacity:.12}
@media(min-width:1800px){.x8-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.x8-kpi>strong{font-size:30px}.x8-kpi .money{font-size:27px}}
@media(max-width:1200px){.x8-dashboard .hub-sidebar{width:238px}.x8-dashboard .hub-page{padding:24px}.x8-dashboard-summary{grid-template-columns:215px 1fr}.x8-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.x8-summary-intro{padding:22px}.x8-action-row small{display:none}.x8-identity-layout{grid-template-columns:minmax(300px,.95fr) minmax(300px,1.05fr);gap:16px}.x8-field-pair{gap:11px}.x8-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ex8-menu main{padding-inline:34px}.ex8-menu .v7-public-header{padding:24px 34px}.ex8-menu .v7-menu-hero.ex8-cover{gap:32px;min-height:540px}.ex8-menu .v7-menu-grid{gap:17px}.x-footer-grid{gap:24px;grid-template-columns:1.25fr 1fr 1fr}.x-footer-grid>section:last-child{display:none}}
@media(max-width:1000px){.x8-dashboard .hub-sidebar{width:260px}.x8-dashboard .hub-topbar{padding:12px 20px;min-height:68px}.x8-dashboard .hub-page{padding:22px}.x8-dashboard .workspace-main{margin-inline-start:0}.x8-page-header h1{font-size:27px}.x8-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.x8-identity-layout,.x8-identity-layout.platform{grid-template-columns:1fr}.x8-preview-panel{position:static}.x8-preview-stage{height:590px}.x8-brand-preview{position:static}.x8-hall-tables{grid-template-columns:repeat(2,minmax(0,1fr))}.ex8-menu .v7-public-tools{gap:4px}.ex8-menu .v7-public-tools .btn{padding:10px;min-height:40px}.ex8-menu .v7-public-tools .btn[data-menu=tracking]>span{display:none}.ex8-menu .v7-public-brand strong{font-size:16px}.ex8-menu .v7-menu-hero.ex8-cover{gap:28px;padding:35px 0 50px;min-height:0}.ex8-menu .ex8-cover h1{font-size:38px}.ex8-menu .ex8-cover p{font-size:14px}.ex8-cover-note{display:none}.ex8-menu .v7-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ex8-search{width:245px}.ex8-menu .ex8-cover-art{border-radius:45% 45% 20px 20px!important}.x-project-footer{padding:34px 28px 18px;margin-top:40px}}
@media(max-width:700px){.x8-dashboard .hub-page{padding:19px 15px}.x8-dashboard .hub-topbar{padding:10px 14px;gap:8px}.x8-dashboard .breadcrumb strong{font-size:12px}.x8-dashboard .top-tools{gap:5px}.x8-dashboard .top-tools .user-chip>span:not(.ux-avatar){display:none}.x8-dashboard .user-chip{border:0;padding:0}.x8-dashboard .user-chip>.icon{display:none}.x8-dashboard .top-tools .btn{width:33px;height:36px;min-height:36px;padding:7px}.x8-page-header{align-items:start;gap:12px;margin-bottom:20px}.x8-page-header h1{font-size:24px}.x8-page-header p{font-size:12px}.x8-eyebrow{font-size:8px;letter-spacing:.07em}.x8-header-actions{align-self:center}.x8-header-actions .btn{padding:9px 11px;font-size:10px}.x8-dashboard-summary{display:block}.x8-summary-intro{padding:20px;margin-bottom:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.x8-summary-intro>.x8-eyebrow{align-self:start}.x8-summary-intro h2{font-size:40px;margin:0;grid-row:1/3;grid-column:2;text-align:end}.x8-summary-intro h2 small{font-size:12px}.x8-summary-intro p{font-size:10px;max-width:160px;grid-column:1;margin:0}.x8-summary-intro>div{grid-column:1/3;margin-top:5px}.x8-kpi-grid{gap:10px}.x8-kpi{padding:15px;border-radius:16px}.x8-kpi>div{font-size:10px;gap:6px;margin-bottom:10px}.x8-kpi-icon{width:24px;height:24px;border-radius:7px}.x8-kpi-icon .icon{width:13px;height:13px}.x8-kpi>strong{font-size:23px}.x8-kpi .money{font-size:21px}.x8-kpi>small{font-size:9px}.x8-action-row{gap:8px;margin-bottom:20px}.x8-action-row>a{flex-direction:column;align-items:start;gap:8px;padding:13px;border-radius:13px}.x8-action-row>a>.icon:last-child{display:none}.x8-action-row b{font-size:10px}.x8-action-row small{display:none}.x8-range{gap:10px;padding:13px}.x8-filter-title{flex-basis:100%;font-size:11px}.x8-range label{min-width:calc(50% - 10px);max-width:none}.x8-range .btn{margin-inline-start:auto;min-width:95px}.x8-chart-grid,.x8-two-columns{grid-template-columns:1fr;gap:13px}.x8-chart,.x8-follow,.x8-recent{padding:18px!important}.x8-chart h2,.x8-follow h2,.x8-recent h2{font-size:13px}.x8-chart header .money{font-size:13px}.x8-project-filter>label:first-child{flex-basis:100%}.x8-project-filter>label:not(:first-child){min-width:0;flex:1}.x8-project-filter select{font-size:12px!important}.x8-project-grid{grid-template-columns:1fr;gap:15px}.x8-project-card{padding:20px}.x8-project-card h2{font-size:16px}.x8-project-card footer .btn{font-size:11px}.x8-project-numbers .money{font-size:18px}.x8-field-pair{grid-template-columns:1fr 1fr;gap:12px}.x8-field-pair label{font-size:11px!important}.x8-field-pair input,.x8-field-pair textarea{font-size:13px!important}.x8-settings-body{padding:16px;gap:16px}.x8-settings-block summary{padding:16px;font-size:13px}.x8-social-editor>div{grid-template-columns:110px minmax(0,1fr);gap:8px}.x8-savebar{bottom:8px;padding:12px}.x8-savebar p{font-size:10px}.x8-preview-stage{height:550px}.x8-preview-panel>header{font-size:11px}.x8-service-grid{grid-template-columns:1fr}.x8-hall-row{flex-wrap:wrap;gap:10px;padding:15px}.x8-hall-row label{flex:1 1 110px}.x8-hall-row>.icon{display:none}.x8-hall-row .btn{padding:8px}.x8-hall-tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.x8-hall-table{padding:14px;gap:8px}.x8-hall-table b{font-size:11px}.x8-hall-table select{font-size:11px!important}.x8-dashboard .hub-subnav{margin-bottom:18px}.x8-dashboard .hub-subnav a{font-size:11px;padding:10px}.x8-dashboard .page-heading h1,.x8-dashboard .v7-hero h1{font-size:25px}.x8-dashboard .v7-hero{gap:12px;flex-wrap:wrap}.x8-dashboard .hub-welcome{padding:20px}
.ex8-menu main{padding-inline:20px}.ex8-menu .v7-public-header{padding:17px 20px;gap:10px;flex-wrap:wrap;min-height:0}.ex8-menu .v7-public-brand strong{font-size:17px;max-width:180px}.ex8-menu .v7-public-brand small{font-size:8px;margin-top:4px}.ex8-menu .v7-brand-logo{width:43px;height:43px;min-width:43px;border-radius:15px}.ex8-menu .v7-public-tools{gap:3px;margin-inline-start:auto}.ex8-menu .v7-public-tools .btn{min-height:34px;padding:8px;min-width:34px;font-size:10px}.ex8-menu .v7-public-tools .language-button{font-size:10px;padding:7px}.ex8-menu .v7-public-tools .btn .icon{width:16px;height:16px}.ex8-menu .ex8-table-button span{max-width:85px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ex8-menu .v7-menu-hero.ex8-cover{display:flex;flex-direction:column;gap:24px;padding:28px 0 32px}.ex8-cover-copy{padding:0;text-align:center;max-width:100%}.ex8-menu .ex8-cover h1{font-size:36px;line-height:1.5;max-width:100%;margin:14px 0 12px}.ex8-menu .ex8-cover p{font-size:14px;line-height:1.9;margin:0 auto 21px;max-width:360px}.ex8-cover-actions{justify-content:center;gap:10px;margin-bottom:8px}.ex8-cover-actions .btn{font-size:12px;min-height:44px;padding:11px 16px}.ex8-service-actions{justify-content:center;gap:5px}.ex8-service-actions .btn{font-size:11px}.ex8-menu .v7-menu-cover.ex8-cover-art{max-width:430px;width:100%;aspect-ratio:1.25;height:auto;max-height:none;border-radius:32px 32px 18px 18px!important;box-shadow:0 14px 30px #0002}.ex8-menu .ex8-cover-art>img{object-position:center 47%}.ex8-cover-caption{inset-inline:15px;bottom:13px;font-size:10px;padding:9px 13px}.ex8-discovery{display:block;padding-top:25px;margin:10px 0 12px}.ex8-discovery>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px}.ex8-discovery h2{font-size:24px;margin:0 0 12px}.ex8-discovery .ex8-eyebrow{font-size:9px}.ex8-menu .v7-public-toolbar{gap:8px;width:100%}.ex8-search{width:auto;flex:1}.ex8-menu .v7-public-toolbar>.btn{font-size:11px;padding:11px;min-height:43px}.ex8-menu .ex8-category-nav{padding:10px 0;margin-bottom:27px;top:0;gap:6px}.ex8-category-nav a{padding:8px 10px;font-size:11px}.ex8-category-nav img{width:25px;height:25px}.ex8-menu .v7-menu-section-heading{padding-bottom:15px;margin-bottom:18px;gap:12px}.ex8-menu .v7-menu-section-heading>span{font-size:29px;min-width:31px}.ex8-menu .v7-menu-section-heading h2{font-size:22px}.ex8-menu .v7-menu-section-heading p{font-size:11px}.ex8-menu .v7-menu-grid{gap:13px;grid-template-columns:repeat(2,minmax(0,1fr))}.ex8-menu .v7-food{border-radius:17px}.ex8-menu .v7-food-image{margin:7px 7px 0;width:calc(100% - 14px);border-radius:11px;aspect-ratio:1.04}.ex8-menu .v7-food-body{padding:12px}.ex8-menu .v7-food h3{font-size:14px;margin:5px 0;line-height:1.6}.ex8-menu .v7-food p{font-size:10px;margin-bottom:13px;line-height:1.8}.ex8-menu .v7-food-flags>span{font-size:8px;padding:2px 5px}.ex8-menu .v7-food-flags{min-height:15px;gap:3px}.ex8-menu .v7-food footer .money{font-size:13px;gap:3px}.ex8-menu .v7-food footer .money small{font-size:8px}.ex8-menu .v7-food footer{gap:5px;align-items:end}.ex8-menu .v7-food footer>span{display:flex;flex-direction:column;gap:0;align-items:start}.ex8-menu .v7-food footer .btn{padding:8px;min-height:33px;border-radius:9px}.ex8-menu .v7-food footer .btn span{display:none}.ex8-menu .v7-food footer .btn .icon{width:16px;height:16px}.ex8-menu .v7-menu-section{padding-bottom:36px}.ex8-menu[data-layout=editorial] .v7-menu-grid,.ex8-menu[data-layout=coffee] .v7-menu-grid{grid-template-columns:1fr}.ex8-menu[data-layout=editorial] .v7-food-image,.ex8-menu[data-layout=coffee] .v7-food-image{min-height:160px}.ex8-menu .v7-menu-banner{margin:18px 0;border-radius:17px}.ex8-menu .v7-menu-banner h3{font-size:20px}.ex8-menu .v7-cart-float{min-width:calc(100% - 30px);max-width:calc(100% - 30px);bottom:max(14px,env(safe-area-inset-bottom));border-radius:15px;padding:13px 17px;font-size:12px}.ex8-menu .v7-cart-float .money{font-size:15px}.ex8-menu .v7-tracking{padding:17px}.ex8-menu .v7-tracking header{flex-wrap:wrap;gap:10px}.ex8-menu .v7-tracking header strong{font-size:12px}.ex8-menu .v7-tracking p{font-size:11px}.ex8-table-options{gap:9px}.ex8-table-option{padding:17px 8px;border-radius:13px}.ex8-table-option strong{font-size:24px}.x-project-footer{padding:29px 23px 18px;border-radius:24px 24px 0 0;margin-top:35px}.x-footer-grid{grid-template-columns:1fr 1fr;gap:27px 23px}.x-footer-grid>section:first-child{grid-column:1/3}.x-footer-grid>section:last-child{display:block}.x-footer-grid>section:last-child{grid-column:1/3;border-top:1px solid var(--line);padding-top:18px}.x-footer-wordmark{justify-content:center}.x-footer-brand{text-align:center}.x-footer-brand p{margin-inline:auto;max-width:350px}.x-opening{justify-content:center}.x-footer-grid h3{font-size:13px;margin-bottom:14px}.x-contact-line,.x-social-list a,.x-quick-links a{font-size:11px}.x-quick-links{display:flex;flex-wrap:wrap;gap:16px}.x-quick-links .icon{display:none}.x-footer-line{font-size:9px;gap:14px;margin-top:20px}.x-rights{font-size:9px!important}}
@media(max-width:370px){.x8-dashboard .breadcrumb strong{max-width:85px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x8-kpi>div{font-size:9px}.x8-kpi .money{font-size:18px}.ex8-menu .v7-public-header{padding-inline:15px}.ex8-menu main{padding-inline:15px}.ex8-menu .v7-public-brand strong{font-size:15px;max-width:150px}.ex8-menu .v7-public-tools .ex8-table-button{order:5}.ex8-menu .v7-public-tools{flex-wrap:wrap}.ex8-menu .v7-food-body{padding:10px}.ex8-menu .v7-food h3{font-size:13px}.ex8-menu .v7-menu-grid{gap:10px}}
@media(prefers-reduced-motion:reduce){.ex8-menu *,.x8-dashboard *{animation:none!important;scroll-behavior:auto!important;transition:none!important}.ex8-menu .ex8-cover-art>img{transform:none!important}}

/* Final layout guardrails against older auto-decorators. */
.x8-empty{display:grid;place-items:center;align-content:center;gap:12px;min-height:205px;color:var(--muted);text-align:center}.x8-empty>.icon{width:36px;height:36px}.x8-empty p{font-size:13px;margin:0}
.x8-nav-search,.ex8-search{display:flex!important;align-items:center!important;flex-direction:row!important}.x8-nav-search>.v5-field-icon,.ex8-search>.v5-field-icon{display:none!important}.x8-nav-search>span:not(.sr-only),.ex8-search>span:not(.sr-only){display:contents}
.x8-field-pair>*{grid-column:auto!important}.x8-dashboard .hub-brand>span:last-child{min-width:0;flex:1}.x8-dashboard .hub-brand strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}
.x8-dashboard .hub-brand small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.x8-dashboard .hub-nav-section>summary{cursor:pointer;list-style:none}.x8-dashboard .hub-nav-section>summary::-webkit-details-marker{display:none}

html[dir=rtl] .x8-dashboard .hub-brand strong{white-space:normal;line-height:1.5;font-size:13px}.x8-type-summary>span{display:flex;align-items:center;gap:10px}.x8-type-summary>span b{padding:2px 6px;border-radius:6px;background:var(--soft)}

/* v0.11 Stage B — identity editor, social cards and full-width footer */
.x8-settings-body>label,.x8-settings-body>.x8-field-pair,.x8-settings-body>.x8-media-field,.x8-settings-body>.x8-logo-pair,.x8-settings-body>.x8-social-editor{width:100%;max-width:none;min-width:0}
.x8-settings-body label input,.x8-settings-body label textarea,.x8-settings-body label select{width:100%;max-width:none;min-width:0}
.x8-logo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.x8-logo-pair .x8-media-field{height:100%;align-content:start}
.x8-social-editor{display:grid;gap:10px}.x8-social-row{display:grid;grid-template-columns:42px 150px minmax(0,1fr);align-items:center;gap:12px;padding:11px 0;border-bottom:1px dashed var(--line);min-width:0}.x8-social-row:last-child{border-bottom:0}.x8-social-brand{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--x8-admin-accent) 10%,var(--surface));color:var(--x8-admin-accent);border:1px solid color-mix(in srgb,var(--x8-admin-accent) 18%,var(--line))}.x8-social-brand .icon{width:20px;height:20px}.x8-social-platform{display:grid;gap:2px;min-width:0}.x8-social-platform .check-label{margin:0;font-size:12px!important}.x8-social-platform small{font-size:9px;color:var(--muted)}.x8-social-row>label{margin:0!important;min-width:0}.x8-social-row>label input{margin:0}.x-project-footer{width:min(calc(100% - 40px),1440px);max-width:none;box-sizing:border-box}.x-footer-grid{align-items:start}.x-footer-brand>p{max-width:620px}.x-social-list a{min-height:42px}.x-social-list a .social-icon{width:18px;height:18px}
@media(max-width:700px){.x8-logo-pair{grid-template-columns:1fr}.x8-social-row{grid-template-columns:38px minmax(0,1fr);gap:9px}.x8-social-row>label{grid-column:1/-1}.x8-social-brand{width:36px;height:36px;border-radius:11px}.x8-social-platform{align-self:center}.x-project-footer{width:calc(100% - 30px)}}
