/* ============================================================
AMPLIFY | APPLICATION CHASSIS & CONTROL INTERFACE
PRODUCTION OWNERSHIP MAP
============================================================
OWNER: Amplify-Interface.css
SCOPE: fixed application shell, navigation, rails, sheets,
settings, tools, workspace controls, viewport simulators.
CONTENT CANVAS: css/Amplify.css (independently owned).
FONT LIBRARY: css/Amplify-Fonts.css (shared product typography).
RULE: shared landscape geometry scales from the approved 1280x800 reference;
portrait families remain independently owned.
DO NOT merge these chassis rules into the canvas stylesheet.
============================================================ */
/* ==========================================================================
AMPLIFY | CORE INTERFACE TOKENS & RESPONSIVE LAW
Application-chassis grammar for the AMPLIFY Website Builder.
RESPONSIVE LAW
Mobile -> Tablet -> Desktop -> Monster
Family first -> fluid behavior -> stress test -> targeted calibration.
This file owns application chrome only. Website/project content rendered
inside the workspace remains project-owned.
========================================================================== */
:root {
    --bg:#000;
    --panel:#0b0d12;
    --panel-2:#15171d;
    --panel-3:#20232a;
    --line:#242830;
    --text:#f4f2ed;
    --muted:#a7abb3;
    --orange:#ff7300;
    --magenta:#B815AD;
    --spectrum:linear-gradient(90deg,#ff7300 0%,#ff7300 18%,#B815AD 48%,#B815AD 100%);
    --radius:22px;
    --shadow:0 24px 80px rgba(0,0,0,.38);
    --ui-top:78px;
    --ui-rail:205px;
    --ui-select:285px;
    --ui-work:350px;
    --ui-control:52px;
    --ui-gutter:16px;
    --ui-type:16px;
    --ui-rail-font:16px;
    --ui-panel-intro-font:14px;
    --ui-label-font:13px;
    --amplify-sheet-u:1px;
    --ui-panel-top-space:clamp(68px,4vw,142px);
    --ui-panel-bottom-space:calc(76px + env(safe-area-inset-bottom));
    --notification-badge-x:10px;
    --notification-badge-y:-10px;
    --notification-badge-size:14px;
    --notification-badge-pad:3px;
    --notification-badge-font:8px;
}
* {
    box-sizing:border-box
}
html {
    width:100%;
    height:100%;
    overflow:hidden;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}
body {
    margin:0;
    width:100%;
    height:100%;
    overflow:hidden;
    background:var(--bg);
    color:var(--text);
    font-family:"Poppins",system-ui,sans-serif;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
button,input,select {
    font:inherit
}
button {
    cursor:pointer
}
img {
    display:block;
    max-width:100%
}
.state {
    position:absolute;
    left:-9999px;
    opacity:0;
    pointer-events:none
}
/* ==========================================================================
TOP APPLICATION BAR
========================================================================== */
.top {
    position:fixed;
    z-index:100;
    inset:0 0 auto;
    height:var(--ui-top);
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 var(--ui-gutter);
    background:rgba(0,0,0,.96);
    border-bottom:0;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.logo {
    flex:0 0 190px;
    width:190px;
    height:58px;
    border:0;
    border-radius:13px;
    background:#050505;
    box-shadow:0 0 22px rgba(184,21,173,.17);
    overflow:hidden;
}
.logo img {
    display:block;
    width:74.52%;
    height:100%;
    object-fit:contain;
    object-position:left center
}
.logo .logo-icon {
    display:none
}
.logo .logo-full {
    display:block
}
.nav {
    display:flex;
    align-items:center;
    gap:3px;
    min-width:0
}
.top>.nav {
    position:static;
    height:100%;
    flex:0 1 auto
}
.top>.nav>button:first-child {
    padding-left:0
}
.nav button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    min-height:43px;
    border:0;
    border-radius:8px;
    background:none;
    color:#e9e8e3;
    padding:0 10px;
    font-size:16px;
    font-weight:500;
    letter-spacing:0;
    white-space:nowrap;
}
.nav .on {
    color:#e9e8e3
}
.grow {
    flex:1;
    min-width:10px
}
/* cPanel belongs to the application navigation, not the tool rail. */
.nav .nav-cpanel {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:43px;
    padding:0 9px
}
.nav-cpanel img {
    display:block;
    width:clamp(88px,7.5vw,120px);
    height:auto
}
.nav-cpanel:hover img,.nav-cpanel:focus-visible img {
    filter:brightness(1.08)
}
.nav-cpanel:focus-visible {
    outline:1px solid var(--orange);
    outline-offset:2px
}
.view {
    height:auto;
    min-height:0;
    flex:0 0 auto;
    border:0;
    border-radius:10px;
    color:#fff;
    padding:8px 10px;
    font-size:16px;
    font-weight:500;
    line-height:1.2;
    background:#121419;
    white-space:nowrap;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}
.view:hover {
    background:#181b21
}
.devices {
    display:flex;
    flex:0 0 auto;
    gap:3px;
    padding:4px;
    background:#121419;
    border:1px solid rgba(255,255,255,.10);
    border-radius:11px;
}
/* Preview controls are available only while a website is mounted in the Builder. */
body:not(.amplify-template-active) .devices {
    display:none;
}
.dev {
    width:45px;
    height:39px;
    border:0;
    border-radius:7px;
    background:none;
    color:#fff;
}
.dev.on {
    background:none;
    color:var(--orange)
}
.dev svg {
    width:25px;
    height:25px;
    stroke:currentColor;
    fill:none;
    stroke-width:1.8
}
.pub {
    height:auto;
    min-height:0;
    flex:0 0 auto;
    border:0;
    border-radius:10px;
    background:var(--orange);
    color:#fff;
    padding:8px 10px;
    font-size:16px;
    font-weight:500;
    line-height:1.2;
    letter-spacing:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    white-space:nowrap;
}
.util {
    width:38px;
    height:38px;
    flex:0 0 auto;
    border:0;
    background:none;
    color:#ddd;
    display:grid;
    place-items:center;
    padding:0
}
.util svg {
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.75;
    stroke-linecap:round;
    stroke-linejoin:round
}
.util:hover,.util:focus-visible {
    color:#fff;
    outline:none
}
.mobile-menu-toggle,.dock-edge {
    display:none
}
.account-popover {
    isolation:isolate;
    position:fixed;
    z-index:8000;
    top:calc(var(--ui-top) + 10px);
    right:12px;
    width:min(340px,calc(100vw - 24px));
    border:1px solid transparent;
    border-radius:12px;
    background:#080A0E;
    color:#f1f1f3;
    box-shadow:0 calc(24 * var(--amplify-sheet-u)) calc(58 * var(--amplify-sheet-u)) rgba(0,0,0,.68),inset 0 0 0 var(--amplify-sheet-u) rgba(255,255,255,.05),inset 0 var(--amplify-sheet-u) 0 rgba(255,255,255,.11),inset 0 calc(-1 * var(--amplify-sheet-u)) 0 rgba(255,255,255,.045);
    overflow:hidden
}
.account-popover::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 68% at 50% 0%,rgba(255,255,255,.12),transparent 56%),radial-gradient(100% 84% at 50% 100%,rgba(255,255,255,.08),transparent 60%);opacity:.32}

.account-popover-head {
    display:grid;
    grid-template-columns:54px 1fr auto;
    gap:12px;
    align-items:center;
    padding:16px
}
.account-avatar-lg {
    width:54px;
    height:54px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#272b33;
    border:1px solid rgba(255,255,255,.10);
    font-weight:500;
    font-size:14px;
    overflow:hidden
}
.account-ident {
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px
}
.account-ident strong {
    font-size:15px;
    font-weight:500;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}
.account-ident span,.account-kicker,.account-popover-status span {
    font-size:11px;
    color:#9297a1;
    letter-spacing:.05em
}
.account-change,.account-popover-actions button,.account-popover-plan button {
    border:0;
    background:none;
    color:var(--orange);
    padding:0;
    font-size:11px;
    font-weight:500
}
.account-popover-actions {
    display:flex;
    gap:18px;
    padding:0 16px 16px;
    border-bottom:1px solid rgba(255,255,255,.10)
}
.account-popover-plan {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:7px;
    padding:16px;
    border-bottom:1px solid rgba(255,255,255,.10)
}
.account-popover-plan strong {
    font-size:15px
}
.account-popover-status {
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    padding:14px 16px
}
.account-popover-status strong {
    display:flex;
    align-items:center;
    gap:7px;
    font-size:11px;
    font-weight:500;
    color:#d8dbe1
}
.account-popover-status i {
    width:8px;
    height:8px;
    border-radius:50%;
    background:#4ecb71;
    box-shadow:0 0 10px rgba(78,203,113,.35)
}
/* AMPLIFY ACCOUNT + BROADCAST SHELL — single canonical owner. */
.amplify-avatar-toggle {
    border:1px solid transparent;
    border-radius:50%;
    background:#20232a;
    overflow:hidden;
    font-size:12px;
    font-weight:500;
    letter-spacing:.04em
}
.amplify-avatar-toggle img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:none
}
.amplify-avatar-toggle [data-avatar-fallback] {
    display:grid;
    place-items:center;
    width:100%;
    height:100%
}
.account-avatar-lg img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:none
}
.notification-badge {
    position:absolute;
    transform:translate(var(--notification-badge-x),var(--notification-badge-y));
    min-width:var(--notification-badge-size);
    height:var(--notification-badge-size);
    padding:0 var(--notification-badge-pad);
    border-radius:999px;
    background:var(--orange);
    color:#fff;
    font-size:var(--notification-badge-font);
    font-weight:500;
    line-height:var(--notification-badge-size);
    text-align:center
}
.broadcast-popover {
    right:58px
}
.account-popover[hidden],.broadcast-popover[hidden] {
    display:none
}
/* ==========================================================================
SINGLE MASTER APPLICATION SHELL
========================================================================== */
.app {
    position:fixed;
    top:var(--ui-top);
    right:0;
    bottom:0;
    left:0;
    display:flex;
    overflow:hidden;
    background:var(--bg);
}
/* ==========================================================================
TOOL RAIL
========================================================================== */
.rail {
    position:relative;
    z-index:40;
    flex:0 0 var(--ui-rail);
    width:var(--ui-rail);
    height:100%;
    display:flex;
    flex-direction:column;
    padding:16px 12px;
    background:#000;
    border-right:0;
}
.railmain {
    display:flex;
    flex:1;
    min-height:0;
    flex-direction:column;
    gap:6px;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:none;
    -ms-overflow-style:none
}
.railmain::-webkit-scrollbar {
    display:none;
    width:0;
    height:0
}
/* Shared Builder-tool overflow controls.
   Vertical rail = up/down. Portrait bottom dock overrides to left/right. */
.rail>.dock-edge {
    display:grid;
    place-items:center;
    position:absolute;
    z-index:95;
    left:0;
    width:100%;
    height:34px;
    border:0;
    padding:0;
    color:var(--orange);
    background:transparent;
    font-size:0;
    opacity:0;
    pointer-events:none;
    transition:opacity .15s ease;
    cursor:pointer
}
.rail>.dock-edge::before {
    content:'›';
    display:block;
    color:var(--orange);
    font-size:27px;
    line-height:1;
    text-shadow:0 0 10px rgba(255,115,0,.18)
}
.rail>.dock-edge.show {
    opacity:1;
    pointer-events:auto
}
.rail>.dock-prev {
    top:0;
    background:linear-gradient(180deg,#000 45%,rgba(0,0,0,.88) 72%,transparent)
}
.rail>.dock-prev::before {
    transform:rotate(-90deg)
}
.rail>.dock-next {
    bottom:0;
    background:linear-gradient(0deg,#000 45%,rgba(0,0,0,.88) 72%,transparent)
}
.rail>.dock-next::before {
    transform:rotate(90deg)
}
.rail-group {
    display:none
}
.rail-wide {
    display:inline
}
.rail-short {
    display:none
}
.rbtn {
    min-height:var(--ui-control);
    border:0;
    border-radius:10px;
    background:#0b0d12;
    color:#ddd;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 14px;
    font-size:var(--ui-rail-font);
    font-weight:500;
    letter-spacing:0;
    text-align:left;
    cursor:pointer;
    text-decoration:none;
    white-space:nowrap;
}
.rbtn:hover {
    background:#14171d
}
.rbtn.active {
    background:#181b21;
    color:#fff
}
.dot {
    width:13px;
    height:13px;
    border-radius:50%;
    flex:0 0 13px;
    border:1px solid rgba(255,255,255,.10);
    background:var(--orange);
}
.dot.orange {
    background:var(--orange)
}
.rbtn.active .dot {
    box-shadow:0 0 12px rgba(255,115,0,.48)
}
.amplify-nav-icon {
    display:none
}
.amplify-nav-label {
    display:inline
}
/* ==========================================================================
SELECTION + WORK PANELS
UNIVERSAL SHEET MODEL
Universal Sheet portrait mechanics are canonical on every device.
Landscape/desktop sheets fill the usable canvas while preserving top nav + rail.
========================================================================== */
.sleeve {
    display:none;
    position:absolute;
    z-index:32;
    left:var(--ui-rail);
    right:0;
    top:auto;
    bottom:0;
    width:auto;
    height:0;
    opacity:0;
    pointer-events:none;
    background:linear-gradient(90deg,var(--orange),var(--magenta),var(--orange));
}
.panel {
    font-size:calc(16 * var(--amplify-sheet-u));
    position:absolute;
    z-index:70;
    top:0;
    right:0;
    bottom:0;
    left:var(--ui-rail);
    width:auto;
    height:auto;
    transform:translateY(105%);
    opacity:0;
    overflow:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    border-right:0;
    border-top:0;
    box-shadow:0 calc(-20 * var(--amplify-sheet-u)) calc(50 * var(--amplify-sheet-u)) rgba(0,0,0,.55);
    transition:transform .22s ease,opacity .16s ease;
}
.select {
    background:rgba(21,23,29,.985)
}
.work {
    z-index:75;
    background:rgba(24,26,31,.985)
}
.inner {
    width:min(100%,calc(680 * var(--amplify-sheet-u)));
    margin:0 auto;
    padding:var(--ui-panel-top-space) calc(21 * var(--amplify-sheet-u)) var(--ui-panel-bottom-space)
}
.toolpane,.workpane {
    display:none
}
.panel h2 {
    margin:0 0 calc(8 * var(--amplify-sheet-u));
    font-size:calc(24 * var(--amplify-sheet-u));
    line-height:1.08;
    font-weight:500;
    padding-right:clamp(calc(44 * var(--amplify-sheet-u)),2.6vw,calc(88 * var(--amplify-sheet-u)))
}
/* Builder-only reset on the Branding overview; never exported to websites. */
.toolpane.branding .branding-demo-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:calc(12 * var(--amplify-sheet-u));
    margin-bottom:calc(8 * var(--amplify-sheet-u));
}
.toolpane.branding .branding-demo-heading h2 {
    margin:0;
    padding-right:0;
}
.toolpane.branding .branding-demo-reset {
    flex:0 0 auto;
    font:500 calc(16 * var(--amplify-sheet-u))/1.2 "Poppins",system-ui,sans-serif;
    border:0;
    border-radius:calc(10 * var(--amplify-sheet-u));
    background:var(--orange);
    color:#fff;
    padding:calc(8 * var(--amplify-sheet-u)) calc(10 * var(--amplify-sheet-u));
    cursor:pointer;
}
.toolpane.branding .branding-demo-reset:hover,
.toolpane.branding .branding-demo-reset:focus-visible {
    filter:brightness(1.08);
}
.toolpane.branding .branding-demo-reset:disabled {
    opacity:.65;
    cursor:wait;
}
.intro {
    margin:0 0 calc(21 * var(--amplify-sheet-u));
    color:#999fa9;
    font-size:var(--ui-panel-intro-font);
    line-height:1.55
}
.item {
    width:100%;
    min-height:calc(53 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid transparent;
    border-radius:calc(9 * var(--amplify-sheet-u));
    background:#101217;
    color:#e5e5e7;
    text-align:left;
    padding:0 calc(14 * var(--amplify-sheet-u));
    margin-bottom:calc(8 * var(--amplify-sheet-u));
    font-size:var(--ui-rail-font);
    font-weight:500;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.item>span:last-child {
    color:#fff;
    font-size:1.35em;
    line-height:1
}
/* Source file actions use the row's own responsive text size. */
.item.source-file-trigger>span:last-child {
    color:var(--orange);
    font-size:inherit;
    font-weight:inherit;
    line-height:inherit;
}
.item:hover,.item.active,.item:focus-visible {
    background:#181b21;
    border-color:transparent;
    outline:none}
.add {
    width:100%;
    height:calc(45 * var(--amplify-sheet-u));
    margin-top:calc(18 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid transparent;
    border-radius:calc(8 * var(--amplify-sheet-u));
    color:#fff;
    background:#121419;
    font-weight:500;
}
.field {
    margin-bottom:calc(18 * var(--amplify-sheet-u))
}
/* ----- Generated editor asset preview ------------------------------------ */
.editor-generated-image-preview {
    display:block;
    width:100%;
    max-height:calc(170 * var(--amplify-sheet-u));
    margin-bottom:calc(10 * var(--amplify-sheet-u));
    border-radius:calc(10 * var(--amplify-sheet-u));
    object-fit:cover;
}
.field label,.field-label {
    display:block;
    margin-bottom:calc(7 * var(--amplify-sheet-u));
    color:#aaaeb6;
    font-size:var(--ui-label-font);
    font-weight:400
}
.field input,.field select {
    width:100%;
    height:calc(42 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#111318;
    color:#eee;
    padding:0 calc(10 * var(--amplify-sheet-u));
}
/* Browser-owned file chooser buttons do not reliably inherit scaled padding,
   borders or font metrics (notably in Safari). The entire picker is one
   sheet control, generated by the universal editor for every image field. */
.panel .field input[type="file"] {
    min-width:0;
    padding:calc(4 * var(--amplify-sheet-u)) calc(10 * var(--amplify-sheet-u));
    font:inherit;
    font-size:calc(16 * var(--amplify-sheet-u));
    line-height:1.25;
    cursor:pointer;
}
.panel .field input[type="file"]::file-selector-button {
    -webkit-appearance:none;
    appearance:none;
    margin-inline-end:calc(10 * var(--amplify-sheet-u));
    padding:calc(6 * var(--amplify-sheet-u)) calc(10 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid transparent;
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#20232a;
    color:#fff;
    font:500 calc(13 * var(--amplify-sheet-u))/1.2 "Poppins",system-ui,sans-serif;
    cursor:pointer;
}
.field textarea {
    display:block;
    width:100%;
    min-height:calc(110 * var(--amplify-sheet-u));
    resize:vertical;
    padding:calc(10 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#111318;
    color:#eee;
    font:inherit;
    line-height:1.5;
}
.field select {
    appearance:none;
    -webkit-appearance:none;
    padding-right:calc(38 * var(--amplify-sheet-u));
    background-color:#111318;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 7l3.5 3.5L12.5 7' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right calc(12 * var(--amplify-sheet-u)) center;
    background-size:calc(18 * var(--amplify-sheet-u)) calc(18 * var(--amplify-sheet-u));
}
.field input[type="range"] {
    appearance:none;
    -webkit-appearance:none;
    height:calc(5 * var(--amplify-sheet-u));
    padding:0;
    border:0;
    border-radius:calc(999 * var(--amplify-sheet-u));
    background:var(--orange);
    accent-color:var(--orange);
}
.field input[type="range"]::-webkit-slider-runnable-track {
    height:calc(5 * var(--amplify-sheet-u));
    border-radius:calc(999 * var(--amplify-sheet-u));
    background:var(--orange)
}
.field input[type="range"]::-webkit-slider-thumb {
    appearance:none;
    -webkit-appearance:none;
    width:calc(22 * var(--amplify-sheet-u));
    height:calc(22 * var(--amplify-sheet-u));
    margin-top:calc(-8.5 * var(--amplify-sheet-u));
    border:0;
    border-radius:50%;
    background:#fff
}
.field input[type="range"]::-moz-range-track {
    height:calc(5 * var(--amplify-sheet-u));
    border:0;
    border-radius:calc(999 * var(--amplify-sheet-u));
    background:var(--orange)
}
.field input[type="range"]::-moz-range-progress {
    height:calc(5 * var(--amplify-sheet-u));
    border-radius:calc(999 * var(--amplify-sheet-u));
    background:var(--orange)
}
.field input[type="range"]::-moz-range-thumb {
    width:calc(22 * var(--amplify-sheet-u));
    height:calc(22 * var(--amplify-sheet-u));
    border:0;
    border-radius:50%;
    background:#fff
}
.field input:focus,.field select:focus,.field textarea:focus,.branding-work textarea:focus-visible {
    border-color:#959ba6;
    outline:none
}
.actions {
    display:flex;
    gap:calc(9 * var(--amplify-sheet-u));
    margin-top:calc(25 * var(--amplify-sheet-u))
}
.actions button,.actions label {
    font-family:"Poppins",system-ui,sans-serif;
    font-weight:500;
    letter-spacing:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    cursor:pointer;
}
.cancel {
    height:auto;
    min-height:0;
    flex:0 0 auto;
    border:0;
    outline:none;
    box-shadow:none;
    -webkit-appearance:none;
    appearance:none;
    border-radius:calc(10 * var(--amplify-sheet-u));
    color:#fff;
    padding:calc(8 * var(--amplify-sheet-u)) calc(10 * var(--amplify-sheet-u));
    font-size:calc(16 * var(--amplify-sheet-u));
    font-weight:500;
    line-height:1.2;
    background:#121419;
    white-space:nowrap;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none
}
.cancel:hover {background:#181b21}
.save {
    height:auto;
    min-height:0;
    flex:0 0 auto;
    border:0;
    border-radius:calc(10 * var(--amplify-sheet-u));
    background:var(--orange);
    color:#fff;
    padding:calc(8 * var(--amplify-sheet-u)) calc(10 * var(--amplify-sheet-u));
    font-size:calc(16 * var(--amplify-sheet-u));
    font-weight:500;
    line-height:1.2;
    letter-spacing:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    white-space:nowrap
}
.sheet-actions {
    justify-content:flex-end;
    margin:0 0 calc(24 * var(--amplify-sheet-u))
}

/* SHARED WORK-PANE CONTROLS — branding + SEO. */
.branding-work,
.seo-work {
    --brand-height:calc(42 * var(--amplify-sheet-u));
    --brand-control-font:calc(14 * var(--amplify-sheet-u));
    --brand-detail-font:calc(12 * var(--amplify-sheet-u));
    --brand-picker-font:calc(13 * var(--amplify-sheet-u));
    --brand-icon-size:calc(27 * var(--amplify-sheet-u));
    --brand-right-width:calc(105 * var(--amplify-sheet-u));
    --brand-gap:calc(9 * var(--amplify-sheet-u))
}
.branding-work .field {
    min-width:0
}
.branding-work .field-help {
    margin:calc(8 * var(--amplify-sheet-u)) 0 0;
    line-height:1.45
}
/* CANVAS STYLE | Grayscale diagram choices in the existing Branding sheet.
   All dimensions inherit the chassis's portrait / landscape sheet scale. */
.canvas-style-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(12 * var(--amplify-sheet-u));
  margin-block: calc(16 * var(--amplify-sheet-u));
}
/* Three-choice selectors: retain the two-column card widths and center the
   final card under the first row. Uses the existing Canvas Style gallery. */
.canvas-style-gallery:has(> .canvas-style-card:nth-child(3):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.canvas-style-gallery:has(> .canvas-style-card:nth-child(3):last-child) > .canvas-style-card {
  grid-column: span 2;
}
.canvas-style-gallery:has(> .canvas-style-card:nth-child(3):last-child) > .canvas-style-card:last-child {
  grid-column: 2 / span 2;
}
.canvas-style-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: calc(6 * var(--amplify-sheet-u));
  padding: calc(9 * var(--amplify-sheet-u));
  border:1px solid transparent;
  border-radius: calc(10 * var(--amplify-sheet-u));
  background: var(--panel);
  color: var(--text);
  text-align: left;
}
.canvas-style-card svg { display: block; width: 100%; height: auto; border-radius: calc(5 * var(--amplify-sheet-u)); }
.canvas-style-card strong { font-size: calc(11 * var(--amplify-sheet-u)); letter-spacing: .05em; line-height: 1.25; }
.canvas-style-card span { font-size: calc(10 * var(--amplify-sheet-u)); line-height: 1.35; color: var(--muted); }
.canvas-style-card[aria-pressed="true"] { border-color:transparent; background: var(--panel-3); }
.canvas-style-card:hover { background: var(--panel-2); }
.canvas-style-card:focus-visible { outline:none; outline-offset: 0;filter:brightness(1.35);}
.canvas-style-options[hidden] { display: none !important; }
.canvas-style-options { margin-block: calc(16 * var(--amplify-sheet-u)); }
.canvas-style-options > .brand-subheading { margin-bottom: calc(13 * var(--amplify-sheet-u)); }

.branding-work .brand-divider,
.seo-work .brand-divider {
    height:calc(1 * var(--amplify-sheet-u));
    margin:calc(24 * var(--amplify-sheet-u)) 0;
    background:#3a3e46
}
.branding-work .brand-subheading,
.seo-work .brand-subheading {
    margin:0 0 calc(16 * var(--amplify-sheet-u))
}
.branding-work .brand-conditional[hidden],.branding-work .brand-social-presentation[hidden],.branding-work .brand-footer-logo[hidden] {
    display:none
}
.branding-work .brand-control-row,.branding-work .brand-color-row {
    display:grid;
    grid-template-columns:minmax(0,1fr) var(--brand-right-width);
    gap:var(--brand-gap);
    align-items:center
}
.branding-work .brand-asset-face {
    display:flex;
    min-width:0;
    height:var(--brand-height);
    align-items:center;
    padding:0 calc(10 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#111318;
    color:#eee;
    font-size:var(--brand-control-font);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}
.branding-work .brand-browse {
    width:100%;
    height:var(--brand-height);
    padding:0 calc(8 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid transparent;
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#20232a;
    color:#fff;
    font-size:var(--brand-detail-font)
}
/* ----- Branding | Identity asset preview ------------------------------- */
.branding-work .brand-asset-preview {
    display:flex;
    width:100%;
    min-height:0;
    align-items:center;
    justify-content:flex-start;
    margin-top:calc(10 * var(--amplify-sheet-u));
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    overflow:visible;
}
.branding-work .brand-asset-preview[hidden] {
    display:none;
}
.branding-work .brand-asset-preview-image {
    display:block;
    width:auto;
    max-width:min(calc(260 * var(--amplify-sheet-u)), 100%);
    max-height:calc(54 * var(--amplify-sheet-u));
    object-fit:contain;
    object-position:left center;
}
.branding-work .brand-asset-preview--favicon .brand-asset-preview-image {
    width:calc(40 * var(--amplify-sheet-u));
    height:calc(40 * var(--amplify-sheet-u));
    max-width:calc(40 * var(--amplify-sheet-u));
    max-height:calc(40 * var(--amplify-sheet-u));
    object-fit:contain;
}

/* Logo identity preview mirrors the canonical live logo height. */
.branding-work .brand-asset-preview--logo .brand-asset-preview-image {
    width:auto;
    height:auto;
    max-width:100%;
    max-height:var(--brand-logo-preview-height,calc(64 * var(--amplify-sheet-u)));
}
.branding-work .brand-asset-remove {
    display:block;
    margin:calc(8 * var(--amplify-sheet-u)) 0 0;
    padding:0;
    border:0;
    background:transparent;
    color:rgba(255,255,255,.62);
    font-size:var(--brand-detail-font);
    font-weight:600;
    letter-spacing:.04em;
    text-align:left;
}
.branding-work .brand-asset-remove[hidden] {
    display:none;
}
.branding-work .brand-asset-remove:hover,
.branding-work .brand-asset-remove:focus-visible {
    color:#fff;
}
.branding-work .brand-toggle,
.seo-work .brand-toggle {
    display:flex;
    width:100%;
    min-height:var(--brand-height);
    justify-content:space-between;
    align-items:center;
    padding:0 calc(10 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid transparent;
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#111318;
    color:#eee;
    font-size:var(--ui-label-font)
}
.branding-work .brand-toggle span:last-child,
.seo-work .brand-toggle span:last-child {
    min-width:calc(48 * var(--amplify-sheet-u));
    padding:calc(5 * var(--amplify-sheet-u)) calc(8 * var(--amplify-sheet-u));
    border-radius:calc(999 * var(--amplify-sheet-u));
    background:#333841;
    color:#ddd;
    text-align:center
}
.branding-work .brand-toggle[aria-pressed="true"] span:last-child,
.seo-work .brand-toggle[aria-pressed="true"] span:last-child {
    background:var(--orange);
    color:#fff
}
.branding-work .brand-range-head,
.toolpane.navigation .brand-range-head {
    display:flex;
    justify-content:space-between;
    align-items:center
}
.branding-work .brand-toggle .field-label,.seo-work .brand-toggle .field-label,.branding-work .brand-range-head .field-label {
    margin-bottom:0
}
.branding-work .brand-range-head output,
.toolpane.navigation .brand-range-head output {
    color:#ddd
}
.branding-work .brand-range {
    width:100%;
    margin:calc(12 * var(--amplify-sheet-u)) 0 calc(8 * var(--amplify-sheet-u))
}
.branding-work .brand-color-trigger {
    position:relative;
    display:flex;
    min-width:0;
    height:var(--brand-height);
    align-items:center;
    gap:calc(11 * var(--amplify-sheet-u));
    margin-bottom:0;
    padding:0 calc(10 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#111318;
    color:#eee;
    cursor:pointer
}
.branding-work .brand-color-trigger input[type="color"] {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:pointer;
    padding:0
}
.branding-work .brand-swatch {
    width:var(--brand-icon-size);
    height:var(--brand-icon-size);
    flex:0 0 var(--brand-icon-size);
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:50%;
    background:var(--swatch)
}
.branding-work .brand-color-value {
    font-size:var(--brand-picker-font)
}
.branding-work .brand-chevron,.branding-work .brand-picker-button::after {
    content:"";
    width:calc(7 * var(--amplify-sheet-u));
    height:calc(7 * var(--amplify-sheet-u));
    flex:0 0 calc(7 * var(--amplify-sheet-u));
    border-right:calc(2 * var(--amplify-sheet-u)) solid var(--orange);
    border-bottom:calc(2 * var(--amplify-sheet-u)) solid var(--orange);
    transform:rotate(45deg)
}
.branding-work .brand-chevron {
    margin-left:auto;
    margin-right:calc(5 * var(--amplify-sheet-u))
}
.branding-work .brand-hex {
    width:100%;
    text-transform:uppercase
}
.branding-work .brand-hex[aria-invalid="true"] {
    border-color:#ef6b6b
}
.branding-work .brand-picker-button {
    display:flex;
    width:100%;
    min-height:var(--brand-height);
    align-items:center;
    gap:calc(8 * var(--amplify-sheet-u));
    padding:0 calc(16 * var(--amplify-sheet-u)) 0 calc(10 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid transparent;
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#111318;
    color:#eee;
    text-align:left;
    font-family:var(--brand-picker-family,"Poppins",system-ui,sans-serif);
    font-size:var(--brand-control-font)
}
.branding-work .brand-picker-button::after {
    margin-left:auto;
    margin-bottom:calc(3 * var(--amplify-sheet-u))
}
.branding-work .brand-picker-button .brand-platform-icon+span {
    flex:1
}
.branding-work .brand-picker-button:hover {border-color:transparent;filter:brightness(1.2);}
.branding-work .brand-picker-button:focus-visible,.branding-work .brand-browse:focus-visible {
    border-color:transparent;
    outline:none;filter:brightness(1.35);}
.branding-work .brand-picker-list {
    margin-top:calc(7 * var(--amplify-sheet-u));
    padding:calc(8 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:calc(9 * var(--amplify-sheet-u));
    background:#101217
}
.branding-work .brand-picker-list[hidden] {
    display:none
}
.branding-work .brand-picker-search {
    margin-bottom:calc(8 * var(--amplify-sheet-u));
    appearance:none;
    -webkit-appearance:none;
    caret-color:var(--orange);
    -webkit-tap-highlight-color:transparent
}
.branding-work .brand-picker-search::-webkit-search-decoration,.branding-work .brand-picker-search::-webkit-search-cancel-button,.branding-work .brand-picker-search::-webkit-search-results-button,.branding-work .brand-picker-search::-webkit-search-results-decoration {
    display:none
}
.branding-work .brand-picker-section {
    padding:calc(9 * var(--amplify-sheet-u)) calc(6 * var(--amplify-sheet-u)) calc(5 * var(--amplify-sheet-u))
}
.branding-work .brand-picker-divider {
    height:calc(1 * var(--amplify-sheet-u));
    margin:calc(7 * var(--amplify-sheet-u)) calc(4 * var(--amplify-sheet-u));
    background:#3a3e46
}
.branding-work .brand-picker-options {
    max-height:calc(280 * var(--amplify-sheet-u));
    overflow-y:auto
}
.branding-work .brand-picker-option {
    display:flex;
    width:100%;
    min-height:max(calc(46 * var(--amplify-sheet-u)),calc(var(--brand-icon-size) + calc(16 * var(--amplify-sheet-u))));
    align-items:center;
    gap:calc(10 * var(--amplify-sheet-u));
    padding:calc(6 * var(--amplify-sheet-u)) calc(8 * var(--amplify-sheet-u));
    border:0;
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:transparent;
    color:#eee;
    text-align:left;
    font-size:var(--brand-control-font)
}
.branding-work .brand-picker-option .brand-platform-icon,.branding-work .brand-picker-option .brand-platform-icon svg {
    width:calc(var(--brand-icon-size) + calc(4 * var(--amplify-sheet-u)));
    height:calc(var(--brand-icon-size) + calc(4 * var(--amplify-sheet-u)))
}
.branding-work .brand-picker-option .brand-platform-icon {
    flex-basis:calc(var(--brand-icon-size) + calc(4 * var(--amplify-sheet-u)))
}
.branding-work .brand-picker-option:hover,.branding-work .brand-picker-option:focus-visible,.branding-work .brand-picker-option[aria-selected="true"] {
    background:#292d35;
    color:#fff;
    outline:none
}
.branding-work .brand-picker-option[aria-selected="true"] {
    box-shadow:inset calc(3 * var(--amplify-sheet-u)) 0 #FFFFFF
}
.branding-work .brand-platform-icon {
    display:inline-flex;
    width:var(--brand-icon-size);
    height:var(--brand-icon-size);
    flex:0 0 var(--brand-icon-size);
    align-items:center;
    justify-content:center;
    color:#fff
}
.branding-work .brand-platform-icon svg {
    display:block;
    width:var(--brand-icon-size);
    height:var(--brand-icon-size)
}
.branding-work .brand-font-preview {
    font-family:var(--preview-font),"Poppins",system-ui,sans-serif;
    font-size:var(--brand-control-font)
}
.branding-work .profile-list {
    display:flex;
    flex-direction:column;
    gap:calc(8 * var(--amplify-sheet-u));
    margin-top:calc(16 * var(--amplify-sheet-u))
}
.branding-work .profile-empty {
    margin:0
}
/* ----- Branding | Social presentation preview --------------------------- */
.branding-work .social-live-preview-wrap {
    margin-top:calc(16 * var(--amplify-sheet-u))
}
.branding-work .social-live-preview-label {
    margin:0 0 calc(8 * var(--amplify-sheet-u))
}
.branding-work .social-live-preview {
    display:flex;
    min-height:calc(32 * var(--amplify-sheet-u));
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:calc(12 * var(--amplify-sheet-u));
    padding:0;
    border:0;
    background:transparent
}
.branding-work .social-live-preview-icon {
    display:inline-flex;
    width:var(--social-preview-icon-size,calc(20 * var(--amplify-sheet-u)));
    height:var(--social-preview-icon-size,calc(20 * var(--amplify-sheet-u)));
    flex:0 0 var(--social-preview-icon-size,calc(20 * var(--amplify-sheet-u)));
    align-items:center;
    justify-content:center
}
.branding-work .social-live-preview-icon svg {
    display:block;
    width:100%;
    height:100%
}
.branding-work .social-live-preview-empty {
    margin:0;
    color:#8f949d
}
.branding-work .profile-row {
    display:grid;
    grid-template-columns:var(--brand-icon-size) minmax(0,1fr) auto;
    gap:calc(10 * var(--amplify-sheet-u));
    align-items:center;
    padding:calc(10 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:calc(9 * var(--amplify-sheet-u));
    background:#101217
}
.branding-work .profile-row>.brand-platform-icon {
    color:var(--profile-icon-color,#fff)
}
.branding-work .profile-row strong,.branding-work .profile-row small {
    display:block;
    overflow-wrap:anywhere
}
.branding-work .profile-row strong {
    font-size:var(--brand-control-font);
    font-weight:500
}
.branding-work .profile-row small {
    margin-top:calc(3 * var(--amplify-sheet-u));
    color:#aeb3bd;
    font-size:var(--ui-label-font)
}
.branding-work .profile-actions {
    display:flex;
    gap:calc(4 * var(--amplify-sheet-u));
    flex-wrap:wrap;
    justify-content:flex-end
}
.branding-work .profile-actions button {
    padding:calc(6 * var(--amplify-sheet-u));
    border:0;
    background:transparent;
    color:var(--orange);
    font-size:var(--ui-label-font);
    font-weight:500
}
.branding-work .profile-color {
    grid-column:1/-1;
    margin:0
}
.branding-work .brand-add-profile {
    margin-top:calc(2 * var(--amplify-sheet-u))
}
.branding-work .brand-segmented {
    display:flex;
    gap:calc(6 * var(--amplify-sheet-u))
}
.branding-work .brand-segmented button {
    flex:1;
    min-width:0;
    min-height:var(--brand-height);
    padding:0 calc(6 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid transparent;
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#111318;
    color:#eee;
    font-size:var(--brand-control-font)
}
.branding-work .brand-segmented button[aria-pressed="true"] {
    border-color:transparent;
    background:#2b211e;
    color:#fff
}
/* The same range row is used by Branding, Navigation and Section Design.
   Value sits below the end of the track, not beneath the typography squares. */
.brand-range-head:has(> [role="group"]) {display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:calc(8 * var(--amplify-sheet-u));align-items:center;}
.brand-range-head > input[type="range"] {flex:1 1 0;min-width:0;width:0;margin:calc(12 * var(--amplify-sheet-u)) 0 calc(8 * var(--amplify-sheet-u));}
.brand-range-head:has(> [role="group"]) > input[type="range"] {grid-column:1;grid-row:1;width:100%;margin:calc(10 * var(--amplify-sheet-u)) 0 calc(8 * var(--amplify-sheet-u));}
.brand-range-head > [role="group"] {grid-column:2;grid-row:1;display:flex;align-items:center;gap:calc(5 * var(--amplify-sheet-u));margin:0;}
.brand-range-head > output {grid-column:1;grid-row:2;justify-self:end;text-align:right;min-width:0;margin:calc(2 * var(--amplify-sheet-u)) 0 0;color:#ddd;font-size:calc(13 * var(--amplify-sheet-u));line-height:1.2;}
.brand-range-head [data-text-style] {
    appearance:none;-webkit-appearance:none;
    display:grid;place-items:center;flex:0 0 auto;
    width:calc(32 * var(--amplify-sheet-u));height:calc(32 * var(--amplify-sheet-u));
    min-width:0;min-height:0;padding:0;margin:0;border:0;
    border-radius:calc(6 * var(--amplify-sheet-u));
    background:#23262d;box-shadow:none;outline:none;
    color:#bfc0c5;font-family:inherit;font-size:calc(17 * var(--amplify-sheet-u));
    font-weight:400;font-style:normal;text-decoration:none;line-height:1;cursor:pointer;
}
.brand-range-head [data-text-style][aria-pressed="true"] {color:#fff;}
.brand-range-head [data-text-style="bold"][aria-pressed="true"] {font-weight:800;}
.brand-range-head [data-text-style="underline"][aria-pressed="true"] {text-decoration:underline;text-underline-offset:calc(2 * var(--amplify-sheet-u));}
.brand-range-head [data-text-style="italic"][aria-pressed="true"] {font-style:italic;}
.brand-range-head [data-text-style]:focus-visible {outline:none;background:#343843;}
.brand-range-head [data-text-style]:disabled {opacity:.4;cursor:not-allowed;}
.branding-work textarea {
    display:block;
    width:100%;
    min-height:calc(110 * var(--amplify-sheet-u));
    resize:vertical;
    padding:calc(10 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:calc(7 * var(--amplify-sheet-u));
    background:#111318;
    color:#eee;
    font:inherit
}
.branding-work button:focus-visible {
    outline:none;
    outline-offset:0;filter:brightness(1.35);}
.branding-work :is(.brand-picker-button,.brand-browse,.brand-segmented button):focus-visible {
    border-color:transparent;
    outline:none;filter:brightness(1.35);}
.sr-only {
    position:absolute;
    width:calc(1 * var(--amplify-sheet-u));
    height:calc(1 * var(--amplify-sheet-u));
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}
/* M!LU assistant styling is owned exclusively by css/Milu.css. */
#tool-themes:checked~.rail label[for="tool-themes"], #tool-branding:checked~.rail label[for="tool-branding"],
#tool-pages:checked~.rail label[for="tool-pages"],
#tool-navigation:checked~.rail label[for="tool-navigation"],
#tool-sections:checked~.rail label[for="tool-sections"],
#tool-music:checked~.rail label[for="tool-music"],
#tool-blog:checked~.rail label[for="tool-blog"],
#tool-merch:checked~.rail label[for="tool-merch"],
#tool-funnels:checked~.rail label[for="tool-funnels"],
#tool-audience:checked~.rail label[for="tool-audience"],
#tool-seo:checked~.rail label[for="tool-seo"],
#tool-source:checked~.rail label[for="tool-source"] {
    background:#181b21;
    color:#fff
}
#tool-themes:checked~.select, #tool-branding:checked~.select,
#tool-pages:checked~.select,
#tool-navigation:checked~.select,
#tool-sections:checked~.select,
#tool-music:checked~.select,
#tool-blog:checked~.select,
#tool-merch:checked~.select,
#tool-funnels:checked~.select,
#tool-audience:checked~.select,
#tool-seo:checked~.select,
#tool-source:checked~.select {
    transform:translateY(0);
    opacity:1;
    overflow-y:auto
}
#tool-themes:checked~.select .themes, #tool-branding:checked~.select .branding,
#tool-pages:checked~.select .pages,
#tool-navigation:checked~.select .navigation,
#tool-sections:checked~.select .sections,
#tool-music:checked~.select .music,
#tool-blog:checked~.select .blog,
#tool-merch:checked~.select .merch,
#tool-funnels:checked~.select .funnels,
#tool-audience:checked~.select .audience,
#tool-seo:checked~.select .seo,
#tool-source:checked~.select .source {
    display:block
}
#tool-branding:checked~#work-canvas-style:checked~.work,
#tool-branding:checked~#work-logo:checked~.work,
#tool-branding:checked~#work-social:checked~.work,
#tool-branding:checked~#work-background:checked~.work,
#tool-branding:checked~#work-type:checked~.work,
#tool-branding:checked~#work-colors:checked~.work,
#tool-branding:checked~#work-header:checked~.work,
#tool-branding:checked~#work-footer:checked~.work,
#tool-blog:checked~#work-blog-post:checked~.work,
#tool-music:checked~#work-music-album:checked~.work,
#tool-sections:checked~#work-hero:checked~.work,
#tool-pages:checked~#work-page:checked~.work,
#tool-seo:checked~#work-seo-page:checked~.work,
#tool-seo:checked~#work-seo-search:checked~.work,
#tool-seo:checked~#work-seo-social:checked~.work,
#tool-seo:checked~#work-seo-indexing:checked~.work,
#tool-seo:checked~#work-seo-schema:checked~.work {
    transform:translateY(0);
    opacity:1;
    overflow-y:auto
}
#work-canvas-style:checked~.work .canvas-style-settings,
#work-logo:checked~.work .logo-settings,
#work-social:checked~.work .social-settings,
#work-background:checked~.work .background-settings,
#work-type:checked~.work .type,
#work-colors:checked~.work .colors,
#work-header:checked~.work .header-settings,
#work-footer:checked~.work .footer-settings,
#work-blog-post:checked~.work .blog-post-settings,
#work-music-album:checked~.work .music-album-settings,
#work-hero:checked~.work .hero,
#work-page:checked~.work .page-settings,
#work-seo-page:checked~.work .seo-page-settings,
#work-seo-search:checked~.work .seo-search-settings,
#work-seo-social:checked~.work .seo-social-settings,
#work-seo-indexing:checked~.work .seo-indexing-settings,
#work-seo-schema:checked~.work .seo-schema-settings {
    display:block
}
/* ============================================================
AMPLIFY INTERFACE | THEMES SHEET
Responsive theme preview images and selection controls.
Typography inherits the existing application font families.
1280 reference: 1px = 0.078125vw; no additional breakpoint.
============================================================ */
.theme-gallery {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:calc(12 * var(--amplify-sheet-u))
}
.theme-option {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:calc(7 * var(--amplify-sheet-u));
    width:100%;
    min-width:0;
    padding:calc(12 * var(--amplify-sheet-u));
    border:0;
    border-radius:calc(9 * var(--amplify-sheet-u));
    background:#101217;
    color:#fff;
    text-align:center;
    cursor:pointer;
    font:inherit
}
.theme-option:disabled {
    cursor:default;
    opacity:1
}
.theme-option img {
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:3/2;
    object-fit:contain
}
.theme-option span {
    display:block;
    font-size:calc(24 * var(--amplify-sheet-u));
    line-height:1.08;
    font-weight:500;
    letter-spacing:.04em
}
.theme-option small {
    font-size:var(--ui-panel-intro-font);
    color:#aeb2bb;
    line-height:1.4
}
.theme-option:not(:disabled):hover,.theme-option:focus-visible,.theme-option[aria-pressed="true"] {
    background:#181b21
}
.theme-option:focus-visible {
    outline:none;
    outline-offset:0;filter:brightness(1.35);}
@media (orientation:landscape) and (min-width:820px) {
    .theme-gallery {
        gap:.9375vw
    }
    .theme-option {
        gap:.546875vw;
        padding:.9375vw;
        border-radius:.703125vw
    }
    .theme-option:focus-visible {
        outline-width:.15625vw;
        outline-offset:.15625vw
    }
}
@media (orientation:landscape) and (min-width:820px) {
    .theme-option span {
        font-size:1.875vw
    }
}
/* ==========================================================================
WORKSPACE / ENGINE MOUNT
The application shell owns only the mount geometry.
========================================================================== */
.viewport {
    position:relative;
    z-index:1;
    flex:1;
    min-width:0;
    height:100%;
    overflow:auto;
    overscroll-behavior:contain;
    background:#050506;
    display:flex;
    justify-content:center;
    align-items:flex-start;
}
.canvas {
    width:100%;
    min-height:100%;
    flex:0 0 auto;
    background:#000;
    box-shadow:0 0 0 1px rgba(255,255,255,.035);
    transition:width .22s ease;
}
.canvas.has-template.mobile {
    width:min(390px,100%)
}
.canvas.has-template.tablet {
    width:min(820px,100%)
}
.canvas.has-template.desktop {
    width:100%
}
.canvas.has-template.monster {
    width:100%
}
/* ----- Live website canvas | existing workspace geometry ------------------
The existing .viewport and .canvas remain the only layout authorities.
A selected template replaces the welcome-tour content in the same canvas.
Width and device presets are inherited; no independent overlay or viewport.
----------------------------------------------------------------------- */
.canvas.has-template > .mighty-content {
    display:none;
}
.canvas.has-template {
    min-width:0;
}
.canvas.has-template > .website-frame {
    display:block;
    position:relative;
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0;
    height:100%;
    min-height:0;
    margin:0;
    padding:0;
    border:0;
    background:#080a12;
    vertical-align:top;
}
/* Account entry: centered, human greeting. */
/* Shared compact application menu component. */
.mobile-app-menu {
    isolation:isolate;
    display:none;
    position:fixed;
    z-index:7000;
    top:calc(var(--ui-top) + 6px);
    right:var(--ui-gutter);
    width:max-content;
    min-width:166px;
    max-width:calc(100vw - 20px);
    max-height:calc(100dvh - var(--ui-top) - 12px);
    padding:8px;
    background:#080A0E;
    border:1px solid transparent;
    border-radius:12px;
    box-shadow:0 calc(24 * var(--amplify-sheet-u)) calc(58 * var(--amplify-sheet-u)) rgba(0,0,0,.68),inset 0 0 0 var(--amplify-sheet-u) rgba(255,255,255,.05),inset 0 var(--amplify-sheet-u) 0 rgba(255,255,255,.11),inset 0 calc(-1 * var(--amplify-sheet-u)) 0 rgba(255,255,255,.045);
    overflow-y:auto
}
.mobile-app-menu::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 68% at 50% 0%,rgba(255,255,255,.12),transparent 56%),radial-gradient(100% 84% at 50% 100%,rgba(255,255,255,.08),transparent 60%);opacity:.32}

.mobile-app-menu.open {
    display:block
}
.mobile-menu-nav {
    display:flex;
    flex-direction:column;
    gap:2px
}
.mobile-menu-nav button {
    min-height:38px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#e9e8e3;
    text-align:left;
    padding:0 10px;
    font-size:16px;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:9px;
    white-space:nowrap
}
.mobile-menu-nav button:hover,.mobile-menu-nav button:focus-visible {
    background:#181b21;
    color:var(--orange);
    outline:none
}
.mobile-menu-nav .on {
    color:var(--orange)
}
.mobile-menu-nav .dot {
    width:8px;
    height:8px;
    flex:0 0 8px;
    border:0;
    border-radius:50%;
    background:var(--orange)
}
.mobile-cpanel-link img {
    display:block;
    width:118px;
    height:auto
}
.mobile-cpanel-link:hover img,.mobile-cpanel-link:focus-visible img {
    filter:brightness(1.08)
}
.mobile-cpanel-link:focus-visible {
    outline:1px solid var(--orange);
    outline-offset:2px
}
@media (min-width:820px) and (orientation:landscape) {
    .rail-group {
        display:none
    }
    .railmain {
        padding-right:clamp(6px,.55vw,28px);
        overflow-x:hidden;
        overflow-y:auto;
        touch-action:pan-y;
        overscroll-behavior-x:none;
        overscroll-behavior-y:contain
    }
    .railmain .rbtn {
        justify-content:center;
        flex-direction:column;
        text-align:center
    }
    .railmain .dot {
        display:none
    }
    .railmain .amplify-nav-icon {
        display:block;
        object-fit:contain;
        pointer-events:none
    }
    .railmain .amplify-nav-label {
        display:block;
        width:100%;
        color:#ddd;
        font-family:"Poppins",system-ui,sans-serif;
        font-weight:500;
        line-height:1;
        letter-spacing:.02em;
        text-align:center;
        white-space:normal
    }
    .panel h2 {
        margin-bottom:clamp(10px,.75vw,27px)
    }
    .intro {
        margin-bottom:clamp(23px,1.55vw,55px)
    }
}
/* ==========================================================================
MOBILE FAMILY
The desktop rail becomes a horizontal tool dock. Panels become sheets.
========================================================================== */
/* Shared portrait dock and sheet mechanics; exclusive families follow. */
@media (max-width:819px), (orientation:portrait) and (min-width:820px) {
    :root {
        --ui-top:64px;
        --ui-rail:0px;
        --ui-select:100vw;
        --ui-work:100vw;
        --ui-control:48px;
        --ui-gutter:10px;
        --ui-dock:64px;
        --ui-dock-offset:14px;
    }
    .top {
        gap:6px;
        padding:0 5px;
        overflow:visible
    }
    .top>.nav {
        display:none
    }
    .logo {
        display:block;
        flex:0 0 52px;
        width:52px;
        height:52px;
        margin-left:-9px;
        border-radius:8px
    }
    .logo .logo-icon {
        display:block
    }
    .logo .logo-full {
        display:none
    }
    .mobile-menu-toggle {
        display:grid;
        place-items:center;
        align-self:center;
        flex:0 0 34px;
        width:34px;
        height:38px;
        margin-left:8px;
        border:0;
        border-radius:0;
        background:transparent;
        color:#fff;
        padding:0
    }
    .hamburger-lines {
        display:block;
        width:27px;
        height:20px;
        background:linear-gradient(to bottom,#fff 0 3px,transparent 3px 8px,#fff 8px 11px,transparent 11px 16px,#fff 16px 19px)
    }
    .grow {
        display:block;
        flex:0 0 0;
        min-width:0
    }
    .view {
        min-height:40px;
        padding:0 10px;
        font-size:14px
    }
    .devices {
        gap:1px;
        padding:3px
    }
    .dev {
        width:30px;
        height:34px
    }
    .dev svg {
        width:20px;
        height:20px
    }
    .pub {
        height:40px;
        padding:0 9px;
        font-size:14px
    }
    .util {
        width:31px;
        height:36px;
        font-size:17px
    }
    /* Mobile selection cards share the same visual grammar as tablet portrait. */
    .item {
        min-height:54px;
        margin-bottom:8px;
        padding:0 14px;
        border:1px solid transparent;
        border-radius:9px;
        background:#101217;
        font-size:14px;
        font-weight:400
    }
    .item>span:first-child {
        letter-spacing:.02em
    }
    .item>span:last-child {
        font-size:20px;
        line-height:1
    }
    .item:hover,.item.active {
        background:#181b21;
        border-color:transparent}
    .app {
        padding-bottom:calc(var(--ui-dock) + var(--ui-dock-offset) + 8px)
    }
    .rail {
        position:fixed;
        z-index:80;
        left:0;
        right:0;
        bottom:var(--ui-dock-offset);
        width:100%;
        height:var(--ui-dock);
        padding:5px 8px max(5px,env(safe-area-inset-bottom));
        border-right:0;
        border-top:0;
        background:rgba(0,0,0,.98);
        overflow:visible
    }
    .railmain {
        flex:1;
        flex-direction:row;
        gap:6px;
        overflow-x:auto;
        overflow-y:hidden;
        padding-right:28px;
        scroll-padding-inline:8px;
        align-items:center
    }

    .rbtn {
        flex:0 0 auto;
        min-height:50px;
        padding:0 13px;
        gap:8px;
        font-size:14px;
        border-radius:10px
    }
    .rail-group {
        min-height:50px;
        margin:0 8px 0 16px;
        padding:0 14px;
        font-size:13px;
        display:none
    }
    .rail-group:first-child {
        margin-left:0
    }
    .rail-wide {
        display:none
    }
    .rail-short {
        display:inline
    }
    .dot {
        width:10px;
        height:10px;
        flex-basis:10px
    }
    .rail>.dock-edge {
        position:fixed;
        z-index:95;
        top:auto;
        bottom:var(--ui-dock-offset);
        width:30px;
        height:var(--ui-dock)
    }
    .rail>.dock-edge::before {
        font-size:25px
    }
    .rail>.dock-prev {
        left:0;
        right:auto;
        background:linear-gradient(90deg,#000 45%,rgba(0,0,0,.86) 72%,transparent)
    }
    .rail>.dock-prev::before {
        transform:rotate(180deg)
    }
    .rail>.dock-next {
        left:auto;
        right:0;
        background:linear-gradient(270deg,#000 45%,rgba(0,0,0,.86) 72%,transparent)
    }
    .rail>.dock-next::before {
        transform:none
    }
    .sleeve {
        left:0;
        right:0;
        top:auto;
        bottom:calc(var(--ui-dock) + var(--ui-dock-offset));
        width:100%;
        height:0;
        background:linear-gradient(90deg,var(--orange),var(--magenta),var(--orange))
    }
    #tool-branding:checked~.sleeve,
  #tool-pages:checked~.sleeve,
  #tool-navigation:checked~.sleeve,
  #tool-sections:checked~.sleeve,
  #tool-music:checked~.sleeve,
#tool-blog:checked~.sleeve,
  #tool-merch:checked~.sleeve,
  #tool-funnels:checked~.sleeve,
  #tool-audience:checked~.sleeve,
  #tool-seo:checked~.sleeve,
  #tool-source:checked~.sleeve {
        height:3px;
        opacity:1
    }
    .panel {
        position:fixed;
        z-index:70;
        top:var(--ui-top);
        right:0;
        bottom:calc(var(--ui-dock) + var(--ui-dock-offset));
        left:0;
        width:100%;
        height:auto;
        transform:translateY(105%);
        opacity:0;
        border-right:0;
        border-top:0;
        box-shadow:0 -20px 50px rgba(0,0,0,.55);
        transition:transform .22s ease,opacity .16s ease
    }
    .select {
        background:rgba(21,23,29,.985)
    }
    .work {
        z-index:75;
        background:rgba(24,26,31,.985)
    }
    #tool-themes:checked~.select, #tool-branding:checked~.select,
  #tool-pages:checked~.select,
  #tool-navigation:checked~.select,
  #tool-sections:checked~.select,
  #tool-music:checked~.select,
#tool-blog:checked~.select,
  #tool-merch:checked~.select,
  #tool-funnels:checked~.select,
  #tool-audience:checked~.select,
  #tool-seo:checked~.select,
  #tool-source:checked~.select {
        transform:translateY(0);
        opacity:1;
        overflow-y:auto
    }
    #tool-branding:checked~#work-canvas-style:checked~.work,
#tool-branding:checked~#work-logo:checked~.work,
  #tool-branding:checked~#work-social:checked~.work,
  #tool-branding:checked~#work-background:checked~.work,
  #tool-branding:checked~#work-type:checked~.work,
  #tool-branding:checked~#work-colors:checked~.work,
  #tool-branding:checked~#work-header:checked~.work,
  #tool-branding:checked~#work-footer:checked~.work,
  #tool-blog:checked~#work-blog-post:checked~.work,
#tool-music:checked~#work-music-album:checked~.work,
#tool-sections:checked~#work-hero:checked~.work,
#tool-pages:checked~#work-page:checked~.work,
  #tool-seo:checked~#work-seo-page:checked~.work,
  #tool-seo:checked~#work-seo-search:checked~.work,
  #tool-seo:checked~#work-seo-social:checked~.work,
  #tool-seo:checked~#work-seo-indexing:checked~.work,
  #tool-seo:checked~#work-seo-schema:checked~.work {
        transform:translateY(0);
        opacity:1;
        overflow-y:auto
    }
    .inner {
        width:min(100%,520px);
        margin:0 auto;
        padding:var(--ui-panel-top-space) 20px var(--ui-panel-bottom-space)
    }
    .viewport {
        width:100%
    }
}

/* AMPLIFY COMPACT BOTTOM DOCK | Portal-style icon captions, neutral surfaces only. */
@media (max-width:819px), (orientation:portrait) and (min-width:820px) {
    .railmain .rbtn {
        width:clamp(64px,8.05vw,66px);
        height:clamp(56px,7.317vw,60px);
        min-height:clamp(56px,7.317vw,60px);
        justify-content:center;
        flex-direction:column;
        gap:2px;
        padding:3px 4px;
        border-radius:10px;
        background:#0b0d12;
        font-size:0;
        text-align:center
    }
    .railmain .rbtn:hover {background:#14171d}
    .railmain .rbtn.active {background:#181b21;color:#fff}
    .railmain .dot {display:none}
    .railmain .amplify-nav-icon {
        display:block;
        width:clamp(34px,5.05vw,41.4px);
        height:clamp(34px,5.05vw,41.4px);
        object-fit:contain;
        pointer-events:none
    }
    .railmain .amplify-nav-label {
        display:block;
        width:100%;
        color:#ddd;
        font-family:"Poppins",system-ui,sans-serif;
        font-size:clamp(8px,1.052vw,8.625px);
        font-weight:500;
        line-height:1;
        letter-spacing:.02em;
        text-align:center;
        white-space:nowrap
    }
}
/* PHONE PORTRAIT — one owner across all portrait widths. */
@media (max-width:819px) {
    .sleeve {
        display:block
    }
    .top {
        justify-content:flex-end;
        gap:clamp(2px,.8vw,5px)
    }
    .bell-btn {
        display:none
    }
    .view {
        order:1;
        font-size:clamp(12px,3.85vw,15px);
        padding-inline:clamp(4px,1.4vw,10px)
    }
    /* On a physical portrait phone, simulated device-size controls are redundant. */
    .devices {
        display:none
    }
    .pub {
        order:3;
        font-size:clamp(12px,3.85vw,15px);
        padding-inline:clamp(4px,1.4vw,9px)
    }
    .grow {
        order:4
    }
    .amplify-avatar-toggle {
        order:5;
        width:clamp(34px,9vw,36px);
        height:clamp(34px,9vw,36px);
        flex-basis:clamp(34px,9vw,36px);
        font-size:12px
    }
    .logo {
        display:block;
        order:6;
        flex:0 0 clamp(27px,8vw,34px);
        width:clamp(27px,8vw,34px);
        height:clamp(27px,8vw,34px);
        margin-left:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
        overflow:visible
    }
    .logo .logo-icon {
        display:block;
        width:100%;
        height:100%;
        object-fit:contain;
        object-position:center
    }
    .logo .logo-full {
        display:none
    }
    .mobile-menu-toggle {
        order:7;
        flex-basis:clamp(27px,8vw,30px);
        width:clamp(27px,8vw,30px);
        margin-left:0
    }
    .rbtn {
        font-size:16px
    }
    .item {
        font-size:15px
    }
    .intro {
        font-size:14px
    }
    :root {
        --ui-label-font:13px
    }
    .actions button,.actions label,.add {
        font-size:13px
    }
    .field input,.field select,.branding-work .brand-picker-button {
        font-size:16px
    }
    .branding-work .brand-picker-option {
        font-size:16px
    }
    .branding-work .profile-row strong {
        font-size:15px
    }
    .branding-work .brand-browse {
        font-size:13px
    }
    .branding-work .brand-segmented button {
        font-size:13px
    }
    .branding-work textarea {
        font-size:16px
    }
    .account-popover {
        top:calc(var(--ui-top) + 8px);
        right:8px;
        width:min(300px,calc(100vw - 16px))
    }
}
/* TABLET PORTRAIT */
@media (orientation:portrait) and (min-width:820px) {
    :root { --amplify-portrait-u: .1219512195vw; --amplify-sheet-u:var(--amplify-portrait-u); }
    .sleeve {
        display:block
    }
    :root {
        --ui-top:calc(82 * var(--amplify-portrait-u));
        --ui-dock:calc(82 * var(--amplify-portrait-u));
        --ui-dock-offset:calc(18 * var(--amplify-portrait-u));
        --ui-control:calc(52 * var(--amplify-portrait-u));
        --ui-gutter:calc(14 * var(--amplify-portrait-u));
        --ui-label-font:calc(12 * var(--amplify-portrait-u));
        --ui-panel-intro-font:calc(14 * var(--amplify-portrait-u));
        --ui-panel-top-space:calc(68 * var(--amplify-portrait-u));
        --ui-panel-bottom-space:calc(76 * var(--amplify-portrait-u) + env(safe-area-inset-bottom))
    }
    .top {
        gap:calc(6 * var(--amplify-portrait-u));
        padding:0 calc(10 * var(--amplify-portrait-u)) 0 calc(6 * var(--amplify-portrait-u))
    }
    .logo {
        order:1;
        flex:0 0 calc(230.85 * var(--amplify-portrait-u));
        width:calc(230.85 * var(--amplify-portrait-u));
        height:calc(84.24 * var(--amplify-portrait-u));
        margin-left:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
        overflow:visible
    }
    .grow {
        order:2;
        flex:1;
        min-width:0
    }
    .view {
        order:3;
        height:auto;
        min-height:0;
        padding:calc(8 * var(--amplify-portrait-u)) calc(10 * var(--amplify-portrait-u));
        font-size:calc(16 * var(--amplify-portrait-u))
    }
    .devices {
        order:4;
        gap:calc(3 * var(--amplify-portrait-u));
        padding:calc(3 * var(--amplify-portrait-u));
        border-radius:calc(11 * var(--amplify-portrait-u))
    }
    .pub {
        order:5;
        height:auto;
        min-height:0;
        padding:calc(8 * var(--amplify-portrait-u)) calc(10 * var(--amplify-portrait-u));
        font-size:calc(16 * var(--amplify-portrait-u))
    }
    .util {
        order:6;
        width:clamp(calc(38 * var(--amplify-portrait-u)),5.75vw,calc(48 * var(--amplify-portrait-u)));
        height:calc(48 * var(--amplify-portrait-u));
        font-size:calc(22 * var(--amplify-portrait-u))
    }
    .mobile-menu-toggle {
        order:8;
        flex-basis:clamp(calc(40 * var(--amplify-portrait-u)),6.5vw,calc(54 * var(--amplify-portrait-u)));
        width:clamp(calc(40 * var(--amplify-portrait-u)),6.5vw,calc(54 * var(--amplify-portrait-u)));
        height:calc(54 * var(--amplify-portrait-u));
        margin-left:0
    }
    .logo .logo-icon {
        display:none
    }
    .logo .logo-full {
        display:block;
        width:74.52%;
        max-width:none;
        height:100%;
        object-fit:contain;
        object-position:left center
    }
    .dev {
        width:clamp(calc(32 * var(--amplify-portrait-u)),5vw,calc(42 * var(--amplify-portrait-u)));
        height:calc(42 * var(--amplify-portrait-u));
        border-radius:calc(8 * var(--amplify-portrait-u))
    }
    .dev svg {
        width:calc(25 * var(--amplify-portrait-u));
        height:calc(25 * var(--amplify-portrait-u))
    }
    .rail {
        padding:calc(8 * var(--amplify-portrait-u)) calc(10 * var(--amplify-portrait-u)) max(calc(8 * var(--amplify-portrait-u)),env(safe-area-inset-bottom))
    }
    .railmain {
        gap:calc(8 * var(--amplify-portrait-u));
        padding-right:calc(52 * var(--amplify-portrait-u))
    }
    .rail-group {
        min-height:calc(60 * var(--amplify-portrait-u));
        font-size:calc(16 * var(--amplify-portrait-u))
    }
    .rbtn {
        min-height:calc(60 * var(--amplify-portrait-u));
        padding:0 calc(18 * var(--amplify-portrait-u));
        gap:calc(10 * var(--amplify-portrait-u));
        font-size:calc(16 * var(--amplify-portrait-u));
        font-weight:500;
        border-radius:calc(11 * var(--amplify-portrait-u))
    }
    .dot {
        width:calc(12 * var(--amplify-portrait-u));
        height:calc(12 * var(--amplify-portrait-u));
        flex-basis:calc(12 * var(--amplify-portrait-u))
    }
    .rail>.dock-edge {
        width:calc(40 * var(--amplify-portrait-u))
    }
    .rail>.dock-edge::before {
        font-size:calc(29 * var(--amplify-portrait-u))
    }
    .rail>.dock-next {
        right:calc(4 * var(--amplify-portrait-u))
    }
    .rail>.dock-prev {
        left:calc(4 * var(--amplify-portrait-u))
    }
    .intro {
        font-size:calc(16 * var(--amplify-portrait-u));
        line-height:1.55;
        margin-bottom:calc(24 * var(--amplify-portrait-u))
    }
    .item {
        min-height:calc(58 * var(--amplify-portrait-u));
        margin-bottom:calc(9 * var(--amplify-portrait-u));
        padding:0 calc(16 * var(--amplify-portrait-u));
        border:calc(1 * var(--amplify-portrait-u)) solid transparent;
        border-radius:calc(9 * var(--amplify-portrait-u));
        background:#101217;
        font-size:calc(16 * var(--amplify-portrait-u))
    }
    .item>span:first-child {
        letter-spacing:.02em
    }
    .item>span:last-child {
        font-size:calc(22 * var(--amplify-portrait-u));
        line-height:1
    }
    .item:hover,.item.active {
        background:#181b21;
        border-color:transparent}
    .actions {
        gap:calc(10 * var(--amplify-portrait-u))
    }
    .actions button,.actions label {
        height:auto;
        min-height:0
    }
    .cancel,.save {
        padding:calc(8 * var(--amplify-portrait-u)) calc(10 * var(--amplify-portrait-u));
        border-radius:calc(10 * var(--amplify-portrait-u));
        font-size:calc(16 * var(--amplify-portrait-u))
    }
    .inner {
        width:min(100%,calc(680 * var(--amplify-portrait-u)));
        padding:var(--ui-panel-top-space) calc(28 * var(--amplify-portrait-u)) var(--ui-panel-bottom-space)
    }
    .bell-btn {
        display:none
    }
    .amplify-avatar-toggle {
        order:7;
        margin-right:0;
        font-size:calc(12 * var(--amplify-portrait-u))
    }
}
/* Panel close controls retain the existing radio navigation behavior. */


@media (min-width:1281px) and (orientation:landscape) {

}

/* TABLET / SMALL-LAPTOP LANDSCAPE */

/* Narrow tablet landscape: only navigation changes; the rail/canvas persist. */
@media (min-width:960px) and (max-width:1099px) and (orientation:landscape) {
    .top>.nav {
        display:none
    }
    .grow {
        flex:1;
        min-width:0
    }
    .mobile-menu-toggle {
        display:grid;
        place-items:center;
        align-self:center;
        flex:0 0 34px;
        width:34px;
        height:38px;
        border:0;
        background:transparent;
        color:#fff;
        padding:0
    }
    .hamburger-lines {
        display:block;
        width:27px;
        height:20px;
        background:linear-gradient(to bottom,#fff 0 3px,transparent 3px 8px,#fff 8px 11px,transparent 11px 16px,#fff 16px 19px)
    }
}
/* PHONE LANDSCAPE */
@media (min-width:820px) and (max-width:959px) and (orientation:landscape) {
    .top {
        left:0;
        right:auto;
        width:100dvw;
        max-width:none
    }
    .app {
        left:0;
        right:auto;
        width:100dvw;
        max-width:none
    }
    .top>.nav {
        display:none
    }
    .grow {
        display:block;
        flex:1;
        min-width:0
    }
    .mobile-menu-toggle {
        display:grid;
        place-items:center;
        align-self:center;
        margin-left:0;
        border:0;
        border-radius:0;
        background:transparent;
        color:#fff;
        padding:0
    }
}
/* ==========================================================================
DESKTOP / LAPTOP — one fluid composition
========================================================================== */
/* MONSTER / LARGE DISPLAY — aspect variants retain their approved scale. */
/* ==========================================================================
LARGE-SCREEN WORK PANEL — 1280 × 800 REFERENCE SCALE
One authoritative owner for Desktop → Ultrawide → 4K → 5K → 8K.
1 reference px = 0.078125vw.
========================================================================== */
/* Short landscape rail density only. */
@media (min-width:960px) and (max-width:1399px) and (max-height:700px) and (orientation:landscape) {
    :root {
        --ui-control:44px
    }
    .rail {
        padding-top:10px;
        padding-bottom:8px
    }
    .railmain {
        gap:3px
    }
    .rbtn {
        min-height:44px
    }
}
/* ==========================================================================
AMPLIFY BIDIRECTIONAL 1280 SYSTEM
Current M!GHTY public-shell geometry plus the full AMPLIFY application canvas.
One shared scale owner: landscape scales down from 1280 and every screen above
1280 scales up. Portrait remains independently owned.
1 reference px = 0.078125vw.
========================================================================== */
@media (orientation:landscape) and (min-width:820px) {
    :root {
        --amplify-sheet-u:.078125vw;
        --ui-top:7.34375vw;
        /* 94px */
        --ui-rail:5.9375vw;
        /* 76px */
        --ui-select:25.8vw;
        /* 330.24px */
        --ui-work:31.6vw;
        /* 404.48px */
        --ui-control:4.6875vw;
        /* 60px */
        --ui-gutter:1.4vw;
        /* 17.92px */
        --ui-rail-font:1.35vw;
        /* 17.28px */
        --ui-panel-intro-font:1.35vw;
        /* 17.28px */
        --ui-label-font:1.015625vw;
        /* 13px */
        --ui-panel-top-space:5.3125vw;
        /* 68px */
        --ui-panel-bottom-space:calc(5.9375vw + env(safe-area-inset-bottom));
        /* 76px reference bottom scroll breathing room */
        --notification-badge-x:.78125vw;
        /* 10px */
        --notification-badge-y:-.78125vw;
        /* -10px */
        --notification-badge-size:1.09375vw;
        /* 14px */
        --notification-badge-pad:.234375vw;
        /* 3px */
        --notification-badge-font:.625vw;
        /* 8px */
    }
    /* ---- Chassis --------------------------------------------------------- */
    .top {
        gap:.546875vw;
        /* 7px */
        padding:0 var(--ui-gutter);
    }
    .top>.nav {
        display:flex;
    }
    .grow {
        display:block;
        flex:1;
        min-width:0;
    }
    .logo {
        display:block;
        flex:0 0 18.03515625vw;
        width:18.03515625vw;
        height:6.875vw;
        /* independent 230.85px container at 1280 */
        border-radius:0;
        background:transparent;
        box-shadow:none;
        overflow:visible;
    }
    .logo .logo-full {
        display:block;
        width:74.52%;
        height:100%;
        object-fit:contain;
        object-position:left center;
    }
    .nav {
        gap:.078125vw
    }
    /* 1px */
    .nav .nav-cpanel {
        min-height:3.359375vw;
        /* 43px */
        padding:0 .703125vw;
        /* 9px */
    }
    .nav-cpanel img {
        width:8vw
    }
    /* 102.4px */
    .nav-cpanel:focus-visible {
        outline-width:.078125vw;
        outline-offset:.15625vw;
    }
    .nav button {
        min-height:3.828125vw;
        /* 49px */
        padding:0 .78vw;
        /* 9.984px */
        border-radius:.625vw;
        /* 8px */
        font-size:var(--ui-rail-font);
    }
    .view {
        height:auto;
        min-height:0;
        padding:.625vw .78125vw;
        border-radius:.78125vw;
        /* 10px */
        font-size:var(--ui-rail-font);
    }
    .devices {
        gap:.23vw;
        padding:.234375vw;
        border-width:.078125vw;
        border-radius:.859375vw;
        /* 11px */
    }
    .dev {
        width:3.75vw;
        /* 48px */
        height:3.359375vw;
        /* 43px */
        padding:.078125vw .46875vw;
        /* 1px 6px */
        border-radius:.546875vw;
        /* 7px */
    }
    .dev svg {
        width:2.1vw;
        /* 26.88px */
        height:2.1vw;
    }
    .pub {
        height:auto;
        min-height:0;
        padding:.625vw .78125vw;
        /* 17px */
        border-radius:.78125vw;
        font-size:var(--ui-rail-font);
    }
    .util {
        width:3.28125vw;
        /* 42px */
        height:3.28125vw;
    }
    .util svg {
        width:1.953125vw;
        /* 25px */
        height:1.953125vw;
    }
    .amplify-avatar-toggle {
        width:3.28125vw;
        height:3.28125vw;
        flex-basis:3.28125vw;
        border-width:.078125vw;
        font-size:.9375vw;
        /* 12px */
    }
    .bell-btn {
        width:3.28125vw;
        height:3.28125vw;
    }
    .mobile-menu-toggle {
        display:none;
        flex-basis:2.96875vw;
        width:2.96875vw;
        height:2.96875vw
    }
    .hamburger-lines {
        width:2.109375vw;
        height:1.5625vw;
        background:linear-gradient(to bottom,#fff 0 .234375vw,transparent .234375vw .625vw,#fff .625vw .859375vw,transparent .859375vw 1.25vw,#fff 1.25vw 1.484375vw)
    }
    .mobile-app-menu {
        top:calc(var(--ui-top) + .46875vw);
        right:var(--ui-gutter);
        min-width:12.96875vw;
        max-width:calc(100vw - 1.5625vw);
        max-height:calc(100dvh - var(--ui-top) - .9375vw);
        padding:.625vw;
        border-width:.078125vw;
        border-radius:.9375vw;

    }
    .mobile-menu-nav {gap:.15625vw}
    .mobile-menu-nav button {
        min-height:2.96875vw;
        border-radius:.546875vw;
        padding:0 .78125vw;
        font-size:1.25vw;
        gap:.703125vw
    }
    .mobile-menu-nav .dot {
        width:.625vw;
        height:.625vw;
        flex-basis:.625vw
    }
    .rail {
        flex:0 0 var(--ui-rail);
        width:var(--ui-rail);
        align-items:center;
        padding:.9375vw .625vw;
    }
    .railmain {
        width:100%;
        align-items:center;
        gap:.546875vw;
        padding-right:0
    }
    .rail>.dock-edge {
        height:2.65625vw
    }
    .rail>.dock-edge::before {
        font-size:2.109375vw
    }

    .rail-group {display:none}
    .railmain .rbtn {
        flex:0 0 auto;
        width:4.6875vw;
        height:4.6875vw;
        min-height:4.6875vw;
        justify-content:center;
        flex-direction:column;
        gap:.15625vw;
        padding:.234375vw .3125vw;
        border-radius:.78125vw;
        background:#0b0d12;
        font-size:0;
        text-align:center
    }
    .railmain .dot {display:none}
    .railmain .amplify-nav-icon {
        display:block;
        width:3.234375vw;
        height:3.234375vw;
        object-fit:contain;
        pointer-events:none
    }
    .railmain .amplify-nav-label {
        display:block;
        width:100%;
        color:#ddd;
        font-family:"Poppins",system-ui,sans-serif;
        font-size:.673828125vw;
        font-weight:500;
        line-height:1;
        letter-spacing:.02em;
        text-align:center;
        white-space:normal
    }
    /* ---- Account / Broadcast -------------------------------------------- */
    .account-popover {
        top:calc(var(--ui-top) + .78125vw);
        right:.9375vw;
        width:26.5625vw;
        /* 340px */
        border-width:.078125vw;
        border-radius:.9375vw;
        /* 12px */

    }
    .account-popover-head {
        grid-template-columns:4.21875vw 1fr auto;
        gap:.9375vw;
        padding:1.25vw;
    }
    .account-avatar-lg {
        width:4.21875vw;
        height:4.21875vw;
        border-width:.078125vw;
        font-size:1.09375vw;
    }
    .account-ident {
        gap:.234375vw
    }
    .account-ident strong {
        font-size:1.171875vw
    }
    .account-ident span,
  .account-kicker,
  .account-popover-status span {
        font-size:.859375vw;
    }
    .account-change,
  .account-popover-actions button,
  .account-popover-plan button {
        font-size:.859375vw;
    }
    .account-popover-actions {
        gap:1.40625vw;
        padding:0 1.25vw 1.25vw;
        border-bottom-width:.078125vw;
    }
    .account-popover-plan {
        gap:.546875vw;
        padding:1.25vw;
        border-bottom-width:.078125vw;
    }
    .account-popover-plan strong {
        font-size:1.171875vw
    }
    .account-popover-plan [data-core-binding="broadcasts.message"] {
        font-size:1.25vw;
        line-height:1.5
    }
    .account-popover-status {
        gap:.9375vw;
        padding:1.09375vw 1.25vw;
    }
    .account-popover-status strong {
        gap:.546875vw;
        font-size:.859375vw;
    }
    .account-popover-status i {
        width:.625vw;
        height:.625vw;
        box-shadow:0 0 .78125vw rgba(78,203,113,.35);
    }
    .broadcast-popover {
        right:4.53125vw
    }
    /* 58px */
    /* ---- Sheets / Work Panels ------------------------------------------- */


    .panel h2 {
        padding-right:3.4375vw;
        margin-bottom:.625vw;
        font-size:1.875vw;
        /* 24px */
    }
    .inner {
        width:min(calc(100% - 3.28125vw),53.125vw);
        /* 680px */
        padding:var(--ui-panel-top-space) 1.640625vw var(--ui-panel-bottom-space);
    }
    .intro {
        margin-bottom:1.640625vw
    }
    .item {
        min-height:4.140625vw;
        /* 53px */
        padding:0 1.09375vw;
        margin-bottom:.625vw;
        border-width:.078125vw;
        border-radius:.703125vw;
        font-size:1.35vw;
    }
    .add {
        height:3.515625vw;
        margin-top:1.40625vw;
        padding:.078125vw .46875vw;
        border-width:.078125vw;
        border-radius:.625vw;
        font-size:1.25vw;
    }
    .field {
        margin-bottom:1.40625vw
    }
    .editor-generated-image-preview {
        max-height:13.28125vw;
        margin-bottom:.78125vw;
        border-radius:.78125vw;
    }
    .field label,.field-label {
        margin-bottom:.546875vw
    }
    .field input,.field select {
        height:3.28125vw;
        border-width:.078125vw;
        border-radius:.546875vw;
        padding:0 .78125vw;
        font-size:1.25vw;
    }
    .field textarea {
        min-height:8.59375vw;
        padding:.78125vw;
        border-width:.078125vw;
        border-radius:.546875vw;
        font-size:1.25vw;
    }
    .field select {
        padding-right:2.96875vw;
        background-position:right .9375vw center;
        background-size:1.40625vw 1.40625vw;
    }
    .field input[type="range"] {
        height:.390625vw
    }
    .field input[type="range"]::-webkit-slider-runnable-track {
        height:.390625vw
    }
    .field input[type="range"]::-webkit-slider-thumb {
        width:1.71875vw;
        height:1.71875vw;
        margin-top:-.6640625vw;
    }
    .field input[type="range"]::-moz-range-track,
  .field input[type="range"]::-moz-range-progress {
        height:.390625vw
    }
    .field input[type="range"]::-moz-range-thumb {
        width:1.71875vw;
        height:1.71875vw;
    }
    .actions {
        gap:.703125vw;
        margin-top:1.953125vw;
    }
    .actions button,.actions label {
        height:auto;
        min-height:0;
    }
    .cancel,.save {
        height:auto;
        min-height:0;
        padding:.625vw .78125vw;
        border-radius:.78125vw;
        font-size:1.35vw;
    }
    .sheet-actions {
        margin:0 0 1.875vw;
    }

    /* ---- Shared work-pane controls ---------------------------------------- */
    .branding-work,
    .seo-work {
        --brand-height:3.28125vw;
        --brand-control-font:1.09375vw;
        --brand-detail-font:.9375vw;
        --brand-picker-font:1.015625vw;
        --brand-icon-size:2.109375vw;
        --brand-right-width:8.203125vw;
        --brand-gap:.703125vw;
    }
    .branding-work .field-help {
        margin-top:.625vw
    }
    .branding-work .brand-divider,
    .seo-work .brand-divider {
        height:.078125vw;
        margin:1.875vw 0
    }
    .branding-work .brand-subheading,
    .seo-work .brand-subheading {
        margin-bottom:1.25vw
    }
    .branding-work .brand-asset-face,
    .branding-work .brand-toggle,
    .seo-work .brand-toggle {
        padding-left:.78125vw;
        padding-right:.78125vw;
        border-width:.078125vw;
        border-radius:.546875vw;
    }
    .branding-work .brand-browse {
        padding:0 .625vw;
        border-width:.078125vw;
        border-radius:.546875vw;
    }
    .branding-work .brand-asset-preview {
        min-height:0;
        margin-top:.78125vw;
        padding:0;
        border-width:0;
        border-radius:0;
    }
    .branding-work .brand-asset-preview-image {
        max-width:min(20.3125vw, 100%);
        max-height:4.21875vw;
    }
    .branding-work .brand-asset-preview--favicon .brand-asset-preview-image {
        width:3.125vw;
        height:3.125vw;
        max-width:3.125vw;
        max-height:3.125vw;
    }
    .branding-work .brand-asset-remove {
        margin:.625vw 0 0;
    }
    .branding-work .brand-toggle span:last-child,
    .seo-work .brand-toggle span:last-child {
        min-width:3.75vw;
        padding:.390625vw .625vw;
    }
    .branding-work .brand-range {
        margin:.9375vw 0 .625vw
    }
    .branding-work .brand-color-trigger {
        gap:.859375vw;
        padding:0 .78125vw;
        border-width:.078125vw;
        border-radius:.546875vw;
    }
    .branding-work .brand-swatch {
        border-width:.078125vw
    }
    .branding-work .brand-chevron,
  .branding-work .brand-picker-button::after {
        width:.546875vw;
        height:.546875vw;
        flex-basis:.546875vw;
        border-right-width:.15625vw;
        border-bottom-width:.15625vw;
    }
    .branding-work .brand-chevron {
        margin-right:.390625vw
    }
    .branding-work .brand-picker-button {
        gap:.625vw;
        padding:0 1.25vw 0 .78125vw;
        border-width:.078125vw;
        border-radius:.546875vw;
    }
    .branding-work .brand-picker-button::after {
        margin-bottom:.234375vw
    }
    .branding-work .brand-picker-list {
        margin-top:.546875vw;
        padding:.625vw;
        border-width:.078125vw;
        border-radius:.703125vw;
    }
    .branding-work .brand-picker-search {
        margin-bottom:.625vw
    }
    .branding-work .brand-picker-section {
        padding:.703125vw .46875vw .390625vw
    }
    .branding-work .brand-picker-divider {
        height:.078125vw;
        margin:.546875vw .3125vw
    }
    .branding-work .brand-picker-options {
        max-height:21.875vw
    }
    .branding-work .brand-picker-option {
        min-height:max(3.59375vw,calc(var(--brand-icon-size) + 1.25vw));
        gap:.78125vw;
        padding:.46875vw .625vw;
        border-radius:.546875vw;
    }
    .branding-work .brand-picker-option .brand-platform-icon,
  .branding-work .brand-picker-option .brand-platform-icon svg {
        width:calc(var(--brand-icon-size) + .3125vw);
        height:calc(var(--brand-icon-size) + .3125vw);
    }
    .branding-work .brand-picker-option .brand-platform-icon {
        flex-basis:calc(var(--brand-icon-size) + .3125vw);
    }
    .branding-work .profile-list {
        gap:.625vw;
        margin-top:1.25vw;
    }
    .branding-work .social-live-preview-wrap {
        margin-top:1.25vw;
    }
    .branding-work .social-live-preview-label {
        margin-bottom:.625vw;
    }
    .branding-work .social-live-preview {
        min-height:2.5vw;
        gap:.9375vw;
    }
    .branding-work .profile-row {
        gap:.78125vw;
        padding:.78125vw;
        border-width:.078125vw;
        border-radius:.703125vw;
    }
    .branding-work .profile-row small {
        margin-top:.234375vw
    }
    .branding-work .profile-actions {
        gap:.3125vw
    }
    .branding-work .profile-actions button {
        padding:.46875vw
    }
    .branding-work .brand-add-profile {
        margin-top:.15625vw
    }
    .branding-work .brand-segmented {
        gap:.46875vw
    }
    .branding-work .brand-segmented button {
        padding:0 .46875vw;
        border-width:.078125vw;
        border-radius:.546875vw;
    }
    .branding-work textarea {
        min-height:8.59375vw;
        padding:.78125vw;
        border-width:.078125vw;
        border-radius:.546875vw;
        font-size:1.25vw;
    }
    .branding-work button:focus-visible {
        outline-width:.15625vw;
        outline-offset:.15625vw;
    }
}

/* ============================================================
   AMPLIFY SEO WORKSPACE | Builder-only presentation
   ============================================================ */
.seo-field-count {
    float:right;
    color:#777d87;
    font-size:.92em;
    font-weight:400
}
.seo-search-preview,
.seo-social-preview {
    margin:calc(4 * var(--amplify-sheet-u)) 0 calc(20 * var(--amplify-sheet-u));
    border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.10);
    border-radius:calc(10 * var(--amplify-sheet-u));
    background:#f7f8fa;
    overflow:hidden
}
.seo-search-preview {
    padding:calc(18 * var(--amplify-sheet-u)) calc(20 * var(--amplify-sheet-u));
    color:#202124
}
.seo-search-site {
    margin-bottom:calc(2 * var(--amplify-sheet-u));
    color:#3c4043;
    font-size:calc(12 * var(--amplify-sheet-u));
    font-weight:600;
    letter-spacing:.02em
}
.seo-search-url {
    margin-bottom:calc(5 * var(--amplify-sheet-u));
    color:#202124;
    font-size:calc(12 * var(--amplify-sheet-u));
    overflow-wrap:anywhere
}
.seo-search-title {
    margin-bottom:calc(5 * var(--amplify-sheet-u));
    color:#1a0dab;
    font-size:calc(20 * var(--amplify-sheet-u));
    line-height:1.25;
    font-weight:400
}
.seo-search-description {
    color:#4d5156;
    font-size:calc(13 * var(--amplify-sheet-u));
    line-height:1.45
}
.seo-social-preview img {
    display:block;
    width:100%;
    aspect-ratio:1.91/1;
    object-fit:cover;
    background:#dfe3e8
}
.seo-social-preview-copy {
    padding:calc(13 * var(--amplify-sheet-u)) calc(15 * var(--amplify-sheet-u)) calc(15 * var(--amplify-sheet-u));
    color:#24272c
}
.seo-social-preview-copy span {
    display:block;
    margin-bottom:calc(4 * var(--amplify-sheet-u));
    color:#656b73;
    font-size:calc(11 * var(--amplify-sheet-u));
    text-transform:uppercase;
    overflow-wrap:anywhere
}
.seo-social-preview-copy strong {
    display:block;
    margin-bottom:calc(4 * var(--amplify-sheet-u));
    color:#17191c;
    font-size:calc(16 * var(--amplify-sheet-u));
    line-height:1.3
}
.seo-social-preview-copy p {
    margin:0;
    color:#5f656d;
    font-size:calc(12 * var(--amplify-sheet-u));
    line-height:1.45
}
.seo-code-output {
    min-height:calc(150 * var(--amplify-sheet-u));
    resize:vertical;
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;
    font-size:calc(11 * var(--amplify-sheet-u))!important;
    line-height:1.55!important;
    white-space:pre;
    tab-size:2
}
.seo-file-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:calc(8 * var(--amplify-sheet-u));
    margin:0 0 calc(10 * var(--amplify-sheet-u))
}
.seo-file-actions .add,
.seo-secondary-action {
    margin-top:0
}
.seo-generation-status {
    min-height:1.4em;
    margin:calc(4 * var(--amplify-sheet-u)) 0 calc(18 * var(--amplify-sheet-u))
}
.seo-generation-status[data-state="success"] { color:#a9e4b6 }
.seo-generation-status[data-state="error"] { color:#ffb2a8 }
/* CANVAS social sharing demo, presented using the existing SEO sheet geometry. */
.seo-social-settings .seo-social-preview {
    background:#111319;
    border-color:#373b43;
    box-shadow:0 calc(12 * var(--amplify-sheet-u)) calc(26 * var(--amplify-sheet-u)) rgba(0,0,0,.18);
}
.seo-social-settings .seo-social-preview-copy {background:#f7f8fa;}
.seo-social-settings .seo-social-preview img[hidden] {display:none;}
.seo-card-hint {
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
    gap:calc(7 * var(--amplify-sheet-u)); margin:calc(-9 * var(--amplify-sheet-u)) 0 calc(21 * var(--amplify-sheet-u));
    color:#ff7300; font-size:calc(11 * var(--amplify-sheet-u)); font-weight:650; letter-spacing:.04em;
}
.seo-card-hint span {color:#9ca2ad;font-size:calc(11 * var(--amplify-sheet-u));font-weight:400;}
.seo-social-upload-row {display:flex;flex-wrap:wrap;gap:calc(8 * var(--amplify-sheet-u));margin:calc(10 * var(--amplify-sheet-u)) 0 calc(20 * var(--amplify-sheet-u));}
.seo-social-upload-row > label {cursor:pointer;}
.seo-card-note {color:#a3a8b2;font-size:calc(12 * var(--amplify-sheet-u));line-height:1.5;margin:calc(11 * var(--amplify-sheet-u)) 0 calc(20 * var(--amplify-sheet-u));}

@media (max-width:520px) {
    .seo-file-actions { grid-template-columns:1fr }
    .seo-search-preview { padding:calc(15 * var(--amplify-sheet-u)) }
    .seo-search-title { font-size:calc(18 * var(--amplify-sheet-u)) }
}



/* AMPLIFY | Builder pages, section composition and destination controls.
   These controls are Builder chrome, not public template styles. */
.amplify-item-path { display:block; margin-top:calc(3 * var(--amplify-sheet-u)); font-size:.72em; font-weight:400; color:#969ba4; letter-spacing:0; }
.panel .item[aria-current="page"] { border-color:transparent; background:#1b1c23; }
.amplify-page-creator,.amplify-section-creator,.amplify-page-settings { padding-top:calc(15 * var(--amplify-sheet-u)); }
.amplify-section-creator select { appearance:auto; width:100%; min-height:calc(42 * var(--amplify-sheet-u)); background:#111318; color:#fff; border:calc(1 * var(--amplify-sheet-u)) solid #31353f; border-radius:calc(7 * var(--amplify-sheet-u)); padding:calc(9 * var(--amplify-sheet-u)) calc(12 * var(--amplify-sheet-u)); margin-bottom:calc(12 * var(--amplify-sheet-u)); font:inherit; }
.amplify-action-primary,.amplify-action-secondary,.amplify-action-danger { min-height:calc(42 * var(--amplify-sheet-u)); padding:calc(10 * var(--amplify-sheet-u)) calc(16 * var(--amplify-sheet-u)); border-radius:calc(8 * var(--amplify-sheet-u)); font:inherit; font-size:var(--ui-label-font); font-weight:600; cursor:pointer; }
.amplify-action-primary { background:var(--orange); color:#fff; border:calc(1 * var(--amplify-sheet-u)) solid var(--orange); }
.amplify-action-secondary { background:#101217; color:#fff; border:calc(1 * var(--amplify-sheet-u)) solid transparent; outline:none; box-shadow:none; -webkit-appearance:none; appearance:none; }
.amplify-action-danger { margin-top:calc(18 * var(--amplify-sheet-u)); color:#ffb7a0; background:#121419; border:calc(1 * var(--amplify-sheet-u)) solid transparent; outline:none; box-shadow:none; -webkit-appearance:none; appearance:none; }
.amplify-action-primary:hover,.amplify-action-secondary:hover,.amplify-action-danger:hover { filter:brightness(1.12); }
.amplify-action-primary:focus-visible,.amplify-action-secondary:focus,.amplify-action-danger:focus,.cancel:focus { outline:none; outline-offset:0;box-shadow:none;filter:brightness(1.35);}
.amplify-page-creator[hidden],.amplify-section-creator[hidden] { display:none!important; }
.amplify-page-creator .field,.amplify-section-creator .field { margin-bottom:calc(12 * var(--amplify-sheet-u)); }
.amplify-page-settings .amplify-action-secondary { width:100%; }
.amplify-link-card { padding:calc(16 * var(--amplify-sheet-u)); margin:0 0 calc(14 * var(--amplify-sheet-u)); border-radius:calc(10 * var(--amplify-sheet-u)); border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.12); background:#101217; }
.amplify-link-card strong { display:block; margin-bottom:calc(14 * var(--amplify-sheet-u)); font-size:var(--ui-label-font); letter-spacing:.1em; font-weight:600; color:#fff; }
.amplify-link-card .field { margin-bottom:calc(13 * var(--amplify-sheet-u)); }
.amplify-form-note { font-size:var(--ui-label-font); color:#afb3bc; overflow-wrap:anywhere; margin:calc(8 * var(--amplify-sheet-u)) 0 calc(12 * var(--amplify-sheet-u)); }
.amplify-link-card .amplify-action-danger { display:block; width:max-content; max-width:100%; margin-top:0; margin-left:auto; color:#fff; border-color:transparent; }
[data-navigation-fields] > .amplify-action-secondary { width:100%; margin:calc(8 * var(--amplify-sheet-u)) 0 calc(26 * var(--amplify-sheet-u)); }
.amplify-section-row { display:flex; gap:calc(8 * var(--amplify-sheet-u)); align-items:stretch; margin-bottom:calc(8 * var(--amplify-sheet-u)); }
.amplify-section-row > .item { margin:0; flex:1; min-width:0; }
.amplify-item-actions { display:flex; gap:calc(5 * var(--amplify-sheet-u)); align-items:center; }
.amplify-item-actions button { border:calc(1 * var(--amplify-sheet-u)) solid transparent; background:#16191f; color:#fff; min-width:calc(35 * var(--amplify-sheet-u)); border-radius:calc(7 * var(--amplify-sheet-u)); cursor:pointer; }
.amplify-item-actions button:disabled { opacity:.25; cursor:default; }
.amplify-item-actions button:not(:disabled):hover { border-color:transparent;filter:brightness(1.2);}
[data-native-header-height] .brand-range-head label { margin:0; }
[data-native-header-height] input[type="range"] { display:block; width:100%; height:calc(5 * var(--amplify-sheet-u)); margin:calc(14 * var(--amplify-sheet-u)) 0 calc(18 * var(--amplify-sheet-u)); padding:0; }

/* AMPLIFY | Invisible native scrollbars on touch-first devices only.
   Preserve scrolling, momentum, mouse/keyboard access and non-touch OS defaults. */
@media (pointer:coarse) {
    html, body, body * {
        scrollbar-width:none !important;
        scrollbar-gutter:auto !important;
        -ms-overflow-style:none
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    body *::-webkit-scrollbar {
        display:none !important;
        width:0 !important;
        height:0 !important
    }
}
/* Merch Store demo disclosure; editor chrome only. */
.merch-demo-card{border:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.11);border-radius:calc(12 * var(--amplify-sheet-u));background:#101217;padding:clamp(calc(18 * var(--amplify-sheet-u)),2.1vw,calc(28 * var(--amplify-sheet-u)));color:#f3f2f0;}
.merch-demo-kicker{color:var(--orange);font-size:calc(11 * var(--amplify-sheet-u));font-weight:700;letter-spacing:.13em;margin:0 0 calc(13 * var(--amplify-sheet-u));}
.merch-demo-card h3{font-size:clamp(calc(19 * var(--amplify-sheet-u)),1.4vw,calc(25 * var(--amplify-sheet-u)));font-weight:600;line-height:1.3;margin:0 0 calc(15 * var(--amplify-sheet-u));}
.merch-demo-card>p:not(.merch-demo-kicker){color:#bac0cb;font-size:calc(13 * var(--amplify-sheet-u));line-height:1.65;margin:0 0 calc(14 * var(--amplify-sheet-u));}
.merch-demo-card strong{color:#fafafa;font-weight:600;}
.merch-demo-card .merch-demo-fineprint{font-size:calc(12 * var(--amplify-sheet-u));color:#999fa9;border-top:calc(1 * var(--amplify-sheet-u)) solid rgba(255,255,255,.12);padding-top:calc(15 * var(--amplify-sheet-u));margin-top:calc(8 * var(--amplify-sheet-u));}
.merch-demo-actions{display:flex;flex-wrap:wrap;gap:calc(10 * var(--amplify-sheet-u));margin-top:calc(22 * var(--amplify-sheet-u));}
.merch-demo-link{min-height:calc(46 * var(--amplify-sheet-u));display:inline-flex;align-items:center;justify-content:center;gap:calc(8 * var(--amplify-sheet-u));text-decoration:none;border-radius:calc(10 * var(--amplify-sheet-u));padding:calc(12 * var(--amplify-sheet-u)) calc(19 * var(--amplify-sheet-u));font-size:calc(12 * var(--amplify-sheet-u));font-weight:600;letter-spacing:.03em;}
.merch-demo-link-primary{color:#fff;background:var(--orange);border:calc(1 * var(--amplify-sheet-u)) solid var(--orange);}
.merch-demo-link-secondary{color:#fff;background:#171a20;border:calc(1 * var(--amplify-sheet-u)) solid transparent;}
.merch-demo-link:focus-visible{outline:calc(2 * var(--amplify-sheet-u)) solid #fff;outline-offset:calc(3 * var(--amplify-sheet-u));}
@media(max-width:600px){.merch-demo-actions{display:grid;grid-template-columns:1fr;}.merch-demo-link{width:100%;}.merch-demo-card{padding:calc(19 * var(--amplify-sheet-u)) calc(17 * var(--amplify-sheet-u));}}

/* AMPLIFY | Navigation destinations and page creation. Builder chrome only. */
.amplify-link-type { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:calc(6 * var(--amplify-sheet-u)); margin-bottom:calc(14 * var(--amplify-sheet-u)); }
.amplify-link-type button { min-height:calc(42 * var(--amplify-sheet-u)); padding:calc(7 * var(--amplify-sheet-u)) calc(5 * var(--amplify-sheet-u)); background:#17191e; color:#c9cbd2; border:calc(1 * var(--amplify-sheet-u)) solid transparent; border-radius:calc(7 * var(--amplify-sheet-u)); font:600 calc(11 * var(--amplify-sheet-u))/1.25 "Poppins",sans-serif; cursor:pointer; }
.amplify-link-type button[aria-pressed="true"] { border-color:transparent; background:#2b211e; color:#fff; }
.amplify-route-dropdown { position:relative; color:#f7f7f7; background:#111318; border:calc(1 * var(--amplify-sheet-u)) solid #333740; border-radius:calc(8 * var(--amplify-sheet-u)); }
.amplify-route-dropdown summary { display:flex; align-items:center; justify-content:space-between; min-height:calc(44 * var(--amplify-sheet-u)); padding:calc(10 * var(--amplify-sheet-u)) calc(13 * var(--amplify-sheet-u)); cursor:pointer; list-style:none; }
.amplify-route-dropdown summary::-webkit-details-marker { display:none; }
.amplify-route-dropdown summary::after { content:'⌄'; font-size:calc(19 * var(--amplify-sheet-u)); padding-left:calc(9 * var(--amplify-sheet-u)); }
.amplify-route-dropdown[open] summary::after { content:'⌃'; }
.amplify-route-options { display:flex; flex-direction:column; padding:calc(5 * var(--amplify-sheet-u)); border-top:calc(1 * var(--amplify-sheet-u)) solid #30343d; max-height:calc(230 * var(--amplify-sheet-u)); overflow:auto; overscroll-behavior:contain; }
.amplify-route-option { min-height:calc(43 * var(--amplify-sheet-u)); width:100%; padding:calc(10 * var(--amplify-sheet-u)) calc(12 * var(--amplify-sheet-u)); text-align:left; background:#111318; color:#f2f2f2; border:0; border-radius:calc(5 * var(--amplify-sheet-u)); font:inherit; cursor:pointer; }
.amplify-route-option[aria-current="true"], .amplify-route-option:hover { background:#242831; outline:none; }
.amplify-route-option:focus-visible { background:#242831; outline:none; outline-offset:0; }
.amplify-route-option-add { color:#fa8d33; border-top:calc(1 * var(--amplify-sheet-u)) solid #30343d; border-radius:0; }
.amplify-creator-actions { display:flex; flex-wrap:wrap; gap:calc(10 * var(--amplify-sheet-u)); margin-bottom:calc(16 * var(--amplify-sheet-u)); }
.amplify-page-creator { padding:calc(18 * var(--amplify-sheet-u)); background:#101217; border:calc(1 * var(--amplify-sheet-u)) solid #414650; border-radius:calc(10 * var(--amplify-sheet-u)); margin:calc(18 * var(--amplify-sheet-u)) 0; }
.amplify-link-card .amplify-action-danger { font-size:calc(11 * var(--amplify-sheet-u)); }

/* Page/section rows only control alignment. Both actions inherit the
   existing responsive .save and .cancel button design without overrides. */
.amplify-editor-list-row { display:flex; align-items:center; gap:calc(7 * var(--amplify-sheet-u)); margin:0 0 calc(9 * var(--amplify-sheet-u)); min-width:0; }
.amplify-editor-list-row > .item { flex:1 1 auto; min-width:0; margin:0; }
.amplify-editor-list-row > .cancel:disabled { opacity:.42; cursor:not-allowed; }

/* AMPLIFY | Images library and editable Source pane */
.amplify-image-editor-title, .amplify-custom-css-editor h3 {
  font: 600 calc(13 * var(--amplify-sheet-u))/1.4 Poppins, sans-serif; letter-spacing: .09em; text-transform: uppercase;
  margin: 0 0 calc(10 * var(--amplify-sheet-u)); color: #fff;
}
.amplify-image-group-items { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: calc(10 * var(--amplify-sheet-u)); }
.amplify-image-library-item { display:flex; flex-direction:column; gap:calc(8 * var(--amplify-sheet-u)); text-align:left; min-width:0;
  border:calc(1 * var(--amplify-sheet-u)) solid transparent; border-radius:calc(8 * var(--amplify-sheet-u)); padding:calc(8 * var(--amplify-sheet-u)); background:#101217; color:#fff; cursor:pointer; }
.amplify-image-library-item[aria-pressed="true"] { border-color:transparent;background:#292d35;}
.amplify-image-library-item img { width:100%; aspect-ratio:4/3; object-fit:cover; background:#27292d; border-radius:calc(4 * var(--amplify-sheet-u)); }
.amplify-image-library-item span { font-size:calc(11 * var(--amplify-sheet-u)); overflow-wrap:anywhere; }
.amplify-image-editor-title { padding-top:calc(16 * var(--amplify-sheet-u)); border-top:calc(1 * var(--amplify-sheet-u)) solid #34363d; }
.amplify-custom-css-editor { border-top:calc(1 * var(--amplify-sheet-u)) solid #363943; padding-top:calc(20 * var(--amplify-sheet-u)); margin-top:calc(22 * var(--amplify-sheet-u)); }
.amplify-custom-css-editor textarea { width:100%; min-height:calc(185 * var(--amplify-sheet-u)); font:calc(12 * var(--amplify-sheet-u))/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }

/* ----- Section-owned image controls: one editor, shared state paths ------- */
.amplify-section-images { margin:calc(12 * var(--amplify-sheet-u)) 0 calc(24 * var(--amplify-sheet-u)); padding:calc(16 * var(--amplify-sheet-u)); border:calc(1 * var(--amplify-sheet-u)) solid #34363d; border-radius:calc(10 * var(--amplify-sheet-u)); background:#15171d; }
.amplify-section-images h3 { margin:0 0 calc(8 * var(--amplify-sheet-u)); font-size:calc(14 * var(--amplify-sheet-u)); letter-spacing:.075em; }
.amplify-section-images h4 { margin:calc(18 * var(--amplify-sheet-u)) 0 calc(12 * var(--amplify-sheet-u)); font-size:calc(12 * var(--amplify-sheet-u)); letter-spacing:.06em; }
.amplify-section-images .amplify-form-note { margin:0 0 calc(14 * var(--amplify-sheet-u)); }
.amplify-section-images .amplify-image-group-items { grid-template-columns:repeat(3,minmax(0,1fr)); }
.amplify-section-images .amplify-image-library-item { padding:calc(7 * var(--amplify-sheet-u)); }
.amplify-section-image-details { margin-top:calc(16 * var(--amplify-sheet-u)); }
/* Media actions use the original .save and .cancel appearance. */
.amplify-section-image-details > .save {width:100%;margin-top:calc(14 * var(--amplify-sheet-u));}
.amplify-section-image-details > .cancel {margin-top:calc(12 * var(--amplify-sheet-u));}

@media (max-width:819px) { .amplify-section-images { padding:calc(12 * var(--amplify-sheet-u)); } .amplify-section-images .amplify-image-group-items { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Section-local creative control primitives, Builder chrome only. */
.amplify-section-design-field {min-width:0;}
.amplify-section-design-field output {color:#f4f2ed;}
/* Section sizes inherit the same .brand-range-head layout as Logo Height. */
.amplify-section-design-field input[type=range] {width:100%;accent-color:#ff7300;}
/* Sections use the established .brand-color-row, .brand-color-trigger,
   .brand-swatch, .brand-hex, .brand-range and .brand-toggle components. */
.amplify-content-design-tools .brand-color-row {min-width:0;}
/* Transparent website buttons hide the original color row, not just its input. */
.amplify-content-design-tools .brand-color-row[hidden] {display:none!important;}
.amplify-content-design-tools .brand-color-trigger {min-width:0;}
.amplify-content-design-tools .brand-toggle {width:100%;}
/* All section sizing readouts follow Logo Height: beneath the slider track. */
.amplify-section-design-field .brand-range-head:has(> output):not(:has(> [role="group"])) {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;}
.amplify-section-design-field .brand-range-head:has(> output):not(:has(> [role="group"])) > input[type=range] {grid-column:1;grid-row:1;width:100%;}
.amplify-section-design-field .brand-range-head:has(> output):not(:has(> [role="group"])) > output {grid-column:1;grid-row:2;justify-self:end;}
.amplify-content-design-tools .brand-range-head:has(> [role="group"]) {display:grid;}
.amplify-section-design-field .amplify-form-note {margin:calc(6 * var(--amplify-sheet-u)) 0 0;}

/* Section Content + Design: controls live directly beneath the field they style. */
.amplify-content-design-tools { display:grid; gap:calc(12 * var(--amplify-sheet-u)); margin-top:calc(-8 * var(--amplify-sheet-u)); padding:calc(12 * var(--amplify-sheet-u)) 0 calc(4 * var(--amplify-sheet-u)) calc(14 * var(--amplify-sheet-u)); border-left:calc(2 * var(--amplify-sheet-u)) solid #FFFFFF; min-width:0; }
.amplify-content-design-tools > .field {margin:0;min-width:0;}
.amplify-content-design-layout, .amplify-content-design-extras { display:grid; gap:calc(14 * var(--amplify-sheet-u)); min-width:0; padding-top:calc(16 * var(--amplify-sheet-u)); border-top:calc(1 * var(--amplify-sheet-u)) solid #34363d; }
.amplify-content-design-layout:first-child { padding:0 0 calc(18 * var(--amplify-sheet-u)); border-top:0; border-bottom:calc(1 * var(--amplify-sheet-u)) solid #34363d; }
.amplify-content-design-layout h3:not(.brand-subheading), .amplify-content-design-extras h3 { margin:0; font-size:calc(14 * var(--amplify-sheet-u)); letter-spacing:.06em; }
.amplify-content-design-extras h4 { margin:0; font-size:calc(11 * var(--amplify-sheet-u)); letter-spacing:.055em; color:#b7b9c2; }
.amplify-content-design-layout > .field, .amplify-content-design-extras > .field { margin:0; min-width:0; }
.amplify-content-design-layout > .amplify-form-note { margin:0; }
@media(max-width:819px) {.amplify-content-design-tools { padding-left:calc(10 * var(--amplify-sheet-u)); }}

/* Shared Sections sheet: the catalogue is independent of selected theme. */
.amplify-library-add{display:grid;gap:calc(12 * var(--amplify-sheet-u));padding:calc(16 * var(--amplify-sheet-u));margin:calc(18 * var(--amplify-sheet-u)) 0;border:calc(1 * var(--amplify-sheet-u)) solid #45434c;border-radius:calc(8 * var(--amplify-sheet-u));background:#1b1b22}
.amplify-library-add label{font-size:calc(12 * var(--amplify-sheet-u));font-weight:700;letter-spacing:.08em;color:#f6f3fa}
.amplify-library-add select{width:100%;padding:calc(11 * var(--amplify-sheet-u)) calc(38 * var(--amplify-sheet-u)) calc(11 * var(--amplify-sheet-u)) calc(13 * var(--amplify-sheet-u));appearance:none;-webkit-appearance:none;background-color:#111117;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 7l3.5 3.5L12.5 7' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right calc(12 * var(--amplify-sheet-u)) center;background-size:calc(18 * var(--amplify-sheet-u)) calc(18 * var(--amplify-sheet-u));color:#f8f5fa;border:calc(1 * var(--amplify-sheet-u)) solid #4b4656;border-radius:calc(6 * var(--amplify-sheet-u))}
.amplify-library-add select:focus{border-color:var(--orange);outline:none}
.amplify-library-add .amplify-action-primary:disabled{cursor:default;filter:none}
.amplify-library-add .amplify-action-primary{width:100%;max-width:none}

/* Section editor: four native disclosure groups, one shared project state. */
.amplify-section-groups { display:grid; gap:calc(12 * var(--amplify-sheet-u)); margin:calc(18 * var(--amplify-sheet-u)) 0 calc(24 * var(--amplify-sheet-u)); min-width:0; }
.amplify-section-accordion { min-width:0; border:calc(1 * var(--amplify-sheet-u)) solid #34363d; background:#15171d; border-radius:calc(10 * var(--amplify-sheet-u)); overflow:clip; }
.amplify-section-accordion > summary { cursor:pointer; display:flex; flex-direction:column; gap:calc(5 * var(--amplify-sheet-u)); padding:calc(16 * var(--amplify-sheet-u)) calc(44 * var(--amplify-sheet-u)) calc(16 * var(--amplify-sheet-u)) calc(16 * var(--amplify-sheet-u)); position:relative; list-style:none; }
.amplify-section-accordion > summary::-webkit-details-marker {display:none;}
.amplify-section-accordion > summary::after {content:'⌄'; position:absolute; right:calc(17 * var(--amplify-sheet-u)); top:50%; transform:translateY(-50%); font-size:calc(24 * var(--amplify-sheet-u)); color:var(--orange); line-height:1;}
.amplify-section-accordion[open] > summary::after {transform:translateY(-50%) rotate(180deg);}
.amplify-section-accordion > summary strong {font-size:calc(15 * var(--amplify-sheet-u)); font-weight:600; color:#fff;}
.amplify-section-accordion > summary span {font-size:calc(12 * var(--amplify-sheet-u)); color:#a7abb3; line-height:1.5;}
.amplify-section-accordion[open] > summary {border-bottom:calc(1 * var(--amplify-sheet-u)) solid #34363d;}
.amplify-section-accordion-body {min-width:0; padding:calc(16 * var(--amplify-sheet-u)); display:grid; gap:calc(16 * var(--amplify-sheet-u));}
.amplify-section-accordion-body > .field { min-width:0; margin:0; }
.amplify-section-accordion-body .amplify-section-images {margin:0; background:transparent; border:0; padding:0;}
.amplify-section-toggle {display:flex; align-items:center; gap:calc(14 * var(--amplify-sheet-u)); justify-content:space-between; padding:calc(12 * var(--amplify-sheet-u)); border:calc(1 * var(--amplify-sheet-u)) solid #30333c; border-radius:calc(7 * var(--amplify-sheet-u)); background:#101217; color:#f1f1f1; font-size:calc(12 * var(--amplify-sheet-u));}
.amplify-section-toggle input {flex:none; width:calc(20 * var(--amplify-sheet-u)); height:calc(20 * var(--amplify-sheet-u)); accent-color:var(--orange);}
.amplify-section-range .brand-range-head {display:flex; align-items:center; gap:calc(12 * var(--amplify-sheet-u)); min-width:0;}
.amplify-section-range input[type=range] {min-width:0; flex:1; accent-color:var(--orange);}
.amplify-section-range output { flex:none; min-width:calc(50 * var(--amplify-sheet-u)); text-align:right; color:#f0eee9; font-size:calc(12 * var(--amplify-sheet-u));}
@media(max-width:819px){ .amplify-section-accordion-body{padding:calc(12 * var(--amplify-sheet-u));} .amplify-section-accordion > summary{padding:calc(12 * var(--amplify-sheet-u)) calc(42 * var(--amplify-sheet-u)) calc(12 * var(--amplify-sheet-u)) calc(12 * var(--amplify-sheet-u));} }

/* Canonical shared sheet actions: one persistent Save / Cancel pair per visible
   panel. Position in the panel's OWN existing scroll container; no scroll
   listeners, viewport clamps, or separate button appearances. */
.amplify-sheet-toolbar {
    position:sticky;
    top:0;
    z-index:95;
    width:100%;
    height:0;
    display:flex;
    justify-content:flex-end;
    pointer-events:none;
}
.amplify-sheet-toolbar-actions {
    /* Preserve the natural 8x10 padding of the existing .save/.cancel classes.
       The parent's zero height is intentional for sticky overlay positioning;
       do not let flex cross-axis stretch collapse its action row. */
    align-self:flex-start;
    margin:calc(14 * var(--amplify-sheet-u)) calc(14 * var(--amplify-sheet-u)) 0 0;
    padding:calc(5 * var(--amplify-sheet-u));
    border-radius:calc(12 * var(--amplify-sheet-u));
    background:rgba(19,21,26,.94);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    pointer-events:auto;
}
/* The generic actions and their responsive Save/Cancel sizing remain owned
   by the original Builder styles above; do not override button geometry. */
@media (max-width:819px), (orientation:portrait) and (min-width:820px) {
    .amplify-sheet-toolbar-actions {
        margin:calc(14 * var(--amplify-portrait-u)) calc(12 * var(--amplify-portrait-u)) 0 0;
        padding:calc(4 * var(--amplify-portrait-u));
        border-radius:calc(12 * var(--amplify-portrait-u));
    }
}

/* AMPLIFY | AUDIENCE HUB: original Builder .save/.cancel and .item controls. */
.toolpane.audience [hidden]{display:none!important}
.amplify-audience-builders{display:grid;gap:calc(10 * var(--amplify-sheet-u));margin:calc(14 * var(--amplify-sheet-u)) 0 calc(25 * var(--amplify-sheet-u));}
.amplify-audience-builder{background:#111318;border:calc(1 * var(--amplify-sheet-u)) solid #303139;border-radius:calc(9 * var(--amplify-sheet-u));padding:calc(14 * var(--amplify-sheet-u));display:flex;align-items:center;justify-content:space-between;gap:calc(16 * var(--amplify-sheet-u));}
.amplify-audience-builder >div{display:grid;gap:calc(6 * var(--amplify-sheet-u));min-width:0;}
.amplify-audience-builder strong,.amplify-audience-existing strong{font-size:calc(14 * var(--amplify-sheet-u));font-weight:600;color:#f5f3f1;}
.amplify-audience-builder span,.amplify-audience-existing span{font-size:calc(12 * var(--amplify-sheet-u));color:#aeb2bc;line-height:1.4;}
.amplify-audience-builder .save,.amplify-audience-existing .cancel{flex:none;}
.amplify-audience-list-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.amplify-audience-list-head [data-audience-count]{font-size:calc(11 * var(--amplify-sheet-u));color:#9c9da8;}
.amplify-audience-existing{padding:calc(12 * var(--amplify-sheet-u)) 0;display:flex;align-items:center;justify-content:space-between;gap:calc(10 * var(--amplify-sheet-u));border-bottom:1px solid #33363d;}
.amplify-audience-existing>div{display:grid;gap:calc(5 * var(--amplify-sheet-u));min-width:0;}
.amplify-audience-back{margin:calc(22 * var(--amplify-sheet-u)) 0 calc(18 * var(--amplify-sheet-u));}
.amplify-audience-live{margin-top:calc(7 * var(--amplify-sheet-u));}
@media(max-width:819px){.amplify-audience-builder{padding:13px}.amplify-audience-builder strong,.amplify-audience-existing strong{font-size:14px}.amplify-audience-builder span,.amplify-audience-existing span{font-size:12px}}

/* Audience background editor uses canonical Branding sliders, fields and buttons. */
.amplify-audience-background-editor{display:grid;gap:calc(14 * var(--amplify-sheet-u));min-width:0;border-left:calc(2 * var(--amplify-sheet-u)) solid #FFFFFF;padding-left:calc(16 * var(--amplify-sheet-u));}
.amplify-audience-background-editor h3{margin:0;font-size:calc(14 * var(--amplify-sheet-u));font-weight:600;letter-spacing:.05em;}
.amplify-audience-background-editor .amplify-form-note{margin:0;}
.amplify-audience-background-preview{width:100%;height:auto;aspect-ratio:16/7;object-fit:cover;object-position:center;border-radius:calc(8 * var(--amplify-sheet-u));border:calc(1 * var(--amplify-sheet-u)) solid #34363d;}
.amplify-audience-background-preview[hidden]{display:none;}
.amplify-audience-background-editor .actions{justify-content:flex-start;flex-wrap:wrap;gap:calc(10 * var(--amplify-sheet-u));}
.amplify-audience-background-editor .field{margin:0;min-width:0;}

/* V18 | Existing charcoal action buttons, icon-only for section ordering. */
.amplify-section-order-button { display:inline-flex; align-items:center; justify-content:center; }
.amplify-section-order-button svg { display:block; flex:none; }
.amplify-section-order-button:disabled { opacity:.32; cursor:not-allowed; }
/* Position the overlay's percentage BELOW its slider, as with Logo Height. */
.amplify-audience-background-editor .amplify-audience-overlay-range {
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto;
  row-gap:calc(8 * var(--amplify-sheet-u)); align-items:center;
}
.amplify-audience-background-editor .amplify-audience-overlay-range > input[type=range] {
  grid-column:1; grid-row:1; width:100%; margin:calc(6 * var(--amplify-sheet-u)) 0 0;
}
.amplify-audience-background-editor .amplify-audience-overlay-range > output {
  grid-column:1; grid-row:2; justify-self:end; margin:0 calc(3 * var(--amplify-sheet-u)) 0 0;
  min-width:0; line-height:1.35;
}
@media(max-width:819px) {
  .amplify-editor-list-row[data-editor-row-kind=section] {flex-wrap:wrap;}
  .amplify-editor-list-row[data-editor-row-kind=section] > .item {flex-basis:100%;}
}

/* CANVAS Audience layout fields reuse the shared Branding label/select controls. */
.amplify-audience-layout-editor{display:grid;gap:calc(14 * var(--amplify-sheet-u));min-width:0;border-left:calc(2 * var(--amplify-sheet-u)) solid #FFFFFF;padding-left:calc(16 * var(--amplify-sheet-u));}
.amplify-audience-layout-editor h3{margin:0;font-size:calc(14 * var(--amplify-sheet-u));font-weight:600;letter-spacing:.05em;}
.amplify-audience-layout-editor .amplify-form-note{margin:0;}
.amplify-audience-layout-editor .field{margin:0;min-width:0;}
.amplify-audience-layout-editor select:disabled{opacity:.45;cursor:not-allowed;}

/* Theme focus treatment for every editing sheet. Single silver-grey
   border for focused fields, subtle keyboard focus for other controls.
   iOS native picker popovers keep their OS-controlled appearance. */
.panel :is(input,select,textarea):focus,
.panel :is(input,select,textarea):focus-visible{outline:none;outline-offset:0;border-color:#959ba6;box-shadow:none;}
.panel :is(a,summary,[tabindex]):not(button):focus-visible{outline:calc(1 * var(--amplify-sheet-u)) solid #959ba6;outline-offset:0;}
.panel button:focus-visible{outline:none;filter:brightness(1.35);}
.panel input[type=range]:focus-visible{outline:calc(1 * var(--amplify-sheet-u)) solid #959ba6;outline-offset:calc(3 * var(--amplify-sheet-u));}
.panel :is(input,select,textarea,button,a){-webkit-tap-highlight-color:transparent;accent-color:var(--orange);}


/* V23 | Blog Studio and Music Library use existing sheet, button and field
   styles. Only composition, not parallel control styling, belongs here. */
.amplify-hub-hero{background:#15171d;border:1px solid #34363d;border-radius:10px;padding:calc(20 * var(--amplify-sheet-u));margin:0 0 calc(16 * var(--amplify-sheet-u));color:#f4f4f4;}
.amplify-hub-hero span{display:block;letter-spacing:.12em;font-size:calc(11 * var(--amplify-sheet-u));font-weight:700;color:var(--orange);}
.amplify-hub-hero h3{font-family:inherit;font-size:calc(19 * var(--amplify-sheet-u));font-weight:600;line-height:1.35;letter-spacing:0;margin:calc(9 * var(--amplify-sheet-u)) 0;}
.amplify-hub-hero p{color:#a7abb3;line-height:1.5;font-size:calc(13 * var(--amplify-sheet-u));margin:0;}
.amplify-hub-subtitle{font-size:calc(15 * var(--amplify-sheet-u));font-weight:700;letter-spacing:.12em;color:#f2e9df;margin:calc(28 * var(--amplify-sheet-u)) 0 calc(10 * var(--amplify-sheet-u));}
.amplify-hub-row{margin:8px 0;align-items:center;}
.amplify-hub-row .item{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;}
.amplify-hub-row .item strong{font-size:calc(14 * var(--amplify-sheet-u));font-weight:600;white-space:normal;text-align:left;}
.amplify-hub-row .item small{font-size:calc(11 * var(--amplify-sheet-u));color:#a7abb3;letter-spacing:.06em;}
.amplify-hub-editor{margin:22px 0;padding:clamp(18px,2vw,28px);background:#15171c;border:1px solid #34363d;border-radius:12px;display:grid;gap:18px;}
/* Blog Studio uses the existing sheet and controls. The content itself
   remains borderless; only the inline Rename pane receives Project Lab's
   subtle inset glass-edge language, not an extra card-outline system. */
[data-blog-post-editor] > .amplify-hub-editor{border:0;box-shadow:none;}
[data-blog-post-editor] > .amplify-hub-editor > .amplify-hub-editor,.amplify-sheet-dialog,.amplify-taxonomy-menu,.amplify-hub-post-list{
  position:relative;isolation:isolate;border:0;background:#080A0E;
  box-shadow:0 calc(24 * var(--amplify-sheet-u)) calc(58 * var(--amplify-sheet-u)) rgba(0,0,0,.68),
    inset 0 0 0 calc(1 * var(--amplify-sheet-u)) rgba(255,255,255,.05),
    inset 0 calc(1 * var(--amplify-sheet-u)) 0 rgba(255,255,255,.11),
    inset 0 calc(-1 * var(--amplify-sheet-u)) 0 rgba(255,255,255,.045);
}
[data-blog-post-editor] > .amplify-hub-editor > .amplify-hub-editor::after,.amplify-sheet-dialog::after,.amplify-taxonomy-menu::after,.amplify-hub-post-list::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(120% 68% at 50% 0%,rgba(255,255,255,.12),transparent 56%),
    radial-gradient(100% 84% at 50% 100%,rgba(255,255,255,.08),transparent 60%);
  opacity:.32;
}
.amplify-hub-post-list{padding:calc(14 * var(--amplify-sheet-u));border-radius:calc(12 * var(--amplify-sheet-u));}
.amplify-hub-editor > .field{margin:0;min-width:0;}
.amplify-hub-editor textarea{min-height:120px;white-space:pre-wrap;}
.amplify-hub-track{padding:20px 0;border-top:1px solid #34363d;display:grid;gap:12px;min-width:0;}
.amplify-hub-track h4{font-size:calc(12 * var(--amplify-sheet-u));letter-spacing:.12em;color:#ed9a70;margin:0;}
.amplify-hub-track audio{width:100%;max-width:100%;}
@media(max-width:819px){.amplify-hub-row{gap:5px}.amplify-hub-hero{padding:20px}.amplify-hub-editor{padding:16px}}

/* UNIVERSAL AMPLIFY WORKSPACES: use Builder variables and geometry only. */
.amplify-hub-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:calc(10 * var(--amplify-sheet-u));margin:calc(12 * var(--amplify-sheet-u)) 0;}
.amplify-hub-toolbar > .field{margin:0;flex:1 1 calc(175 * var(--amplify-sheet-u));min-width:0;}
.amplify-hub-toolbar > button{flex:0 0 auto;}
.amplify-hub-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(8 * var(--amplify-sheet-u));margin:calc(12 * var(--amplify-sheet-u)) 0;}
.amplify-hub-stat{padding:calc(12 * var(--amplify-sheet-u));border-radius:calc(8 * var(--amplify-sheet-u));border:1px solid #34363d;background:#101217;color:#f4f4f4;}
.amplify-hub-stat strong{display:block;color:#fff;font-size:calc(20 * var(--amplify-sheet-u));}
.amplify-hub-stat span{font-size:calc(11 * var(--amplify-sheet-u));color:#a7abb3;}
.amplify-hub-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,calc(205 * var(--amplify-sheet-u))),1fr));gap:calc(9 * var(--amplify-sheet-u));margin:calc(12 * var(--amplify-sheet-u)) 0;}
.amplify-hub-library button{cursor:pointer;background:#12141a;color:#f4f4f4;text-align:left;border:1px solid transparent;border-radius:calc(9 * var(--amplify-sheet-u));padding:calc(14 * var(--amplify-sheet-u));min-width:0;}
.amplify-hub-library button[aria-pressed="true"]{border-color:transparent;background:#202025;}
.amplify-hub-library small{display:block;color:#a7abb3;margin-top:calc(5 * var(--amplify-sheet-u));}
.amplify-hub-library button:focus-visible,.amplify-hub-toolbar button:focus-visible{outline:none;outline-offset:0;filter:brightness(1.35);}
.amplify-hub-post-preview{border:1px solid #34363d;background:#101217;border-radius:calc(9 * var(--amplify-sheet-u));padding:calc(14 * var(--amplify-sheet-u));white-space:pre-wrap;line-height:1.6;color:#ddd;}
.amplify-hub-post-preview summary{cursor:pointer;color:#fff;font-weight:600;}
.amplify-hub-post-preview .preview-head{font-size:calc(20 * var(--amplify-sheet-u));font-weight:700;margin:calc(14 * var(--amplify-sheet-u)) 0;}
.amplify-hub-empty{padding:calc(18 * var(--amplify-sheet-u));border:1px dashed #41444b;border-radius:9px;color:#a7abb3;}
@media(max-width:819px){.amplify-hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.amplify-hub-library{grid-template-columns:1fr}.amplify-hub-toolbar{align-items:stretch}}

/* V26: one compact field/button baseline for Music library creation. */
.amplify-hub-toolbar:has(> .field > input[aria-label="New library name"]){align-items:end;}
.amplify-hub-toolbar:has(> .field > input[aria-label="New library name"]) > button.save{min-height:var(--brand-height,42px);align-self:end;}
.amplify-library-picker{display:grid;gap:calc(10 * var(--amplify-sheet-u));}
.amplify-library-picker[hidden]{display:none!important;}
.amplify-blog-image-preview{max-width:100%;border-radius:calc(7 * var(--amplify-sheet-u));overflow:hidden;min-height:40px;}
.amplify-blog-image-preview img{display:block;max-width:100%;max-height:290px;width:100%;object-fit:cover;}

/* Blog Post sheet reuses the existing Hero styling sleeves, not a new widget system. */
.amplify-blog-article-style-heading{margin:calc(19 * var(--amplify-sheet-u)) 0 calc(10 * var(--amplify-sheet-u));font-size:calc(12 * var(--amplify-sheet-u));color:#e3e4e9;letter-spacing:.07em;}
[data-blog-post-editor] > .amplify-content-design-tools{margin:0 0 calc(16 * var(--amplify-sheet-u));}

/* V50.12.10 | Shared Builder glass popups and taxonomy shortcuts. */
.amplify-sheet-dialog{color:#f4f4f4;font:inherit;font-size:calc(16 * var(--amplify-sheet-u));width:min(calc(460 * var(--amplify-sheet-u)),calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:calc(24 * var(--amplify-sheet-u));border-radius:calc(14 * var(--amplify-sheet-u));overflow:auto;position:fixed;margin:auto;}
.amplify-sheet-dialog::backdrop{background:rgba(0,0,0,.65);backdrop-filter:blur(calc(4 * var(--amplify-sheet-u)));}
.amplify-sheet-dialog h3{font-size:calc(15 * var(--amplify-sheet-u));letter-spacing:.08em;margin:0 0 calc(14 * var(--amplify-sheet-u));}
.amplify-sheet-dialog p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0;color:#e0e1e6;}
.amplify-sheet-dialog .amplify-hub-toolbar{justify-content:flex-end;margin:calc(20 * var(--amplify-sheet-u)) 0 0;}
.field select[hidden]{display:none!important;}
.field .amplify-taxonomy-trigger{width:100%;height:calc(42 * var(--amplify-sheet-u));border:calc(1 * var(--amplify-sheet-u)) solid transparent;border-radius:calc(7 * var(--amplify-sheet-u));background:#111318;color:#eee;text-align:left;padding:0 calc(32 * var(--amplify-sheet-u)) 0 calc(10 * var(--amplify-sheet-u));font:inherit;font-size:calc(16 * var(--amplify-sheet-u));position:relative;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.amplify-taxonomy-trigger::after{content:'';position:absolute;right:calc(15 * var(--amplify-sheet-u));top:45%;width:calc(6 * var(--amplify-sheet-u));height:calc(6 * var(--amplify-sheet-u));border-right:calc(2 * var(--amplify-sheet-u)) solid #fff;border-bottom:calc(2 * var(--amplify-sheet-u)) solid #fff;transform:rotate(45deg);}
.amplify-taxonomy-menu{position:fixed;inset:auto;margin:0;padding:calc(6 * var(--amplify-sheet-u));border-radius:calc(12 * var(--amplify-sheet-u));overflow:auto;color:#eee;max-width:calc(100vw - 16px);box-sizing:border-box;}
.amplify-taxonomy-option{display:block;width:100%;border:0;background:transparent;color:#eee;font:inherit;font-size:calc(15 * var(--amplify-sheet-u));text-align:left;padding:calc(10 * var(--amplify-sheet-u));border-radius:calc(6 * var(--amplify-sheet-u));cursor:pointer;overflow-wrap:anywhere;}
.amplify-taxonomy-option:hover,.amplify-taxonomy-option:focus-visible{background:#20232a;}
.amplify-taxonomy-option[aria-current=true]{color:#a7abb3;}
.amplify-taxonomy-manage{color:var(--orange);font-size:var(--ui-label-font);font-weight:600;border-top:1px solid rgba(255,255,255,.09);border-radius:0;margin-top:calc(4 * var(--amplify-sheet-u));}
.amplify-hub-toolbar.amplify-taxonomy-add{align-items:flex-end;}
.amplify-taxonomy-add > .field > input{display:block;}
.amplify-taxonomy-add > button.amplify-action-primary{height:calc(42 * var(--amplify-sheet-u));align-self:flex-end;}
.amplify-hub-toolbar.amplify-taxonomy-add{flex-wrap:nowrap;}
.amplify-taxonomy-add > .field{flex:1 1 0;min-width:0;}
.amplify-taxonomy-add > button{white-space:nowrap;}

/* AMPLIFY Demo | visible chassis (landscape iPad Chrome only; enabled by the measured viewport controller).
   Shared header and workspace rectangle; the existing rail remains a flex child in this viewport family.
   Keep all original widths, dock visibility and 1280-reference tokens. */


[data-service-image-library] .amplify-image-library-item img{aspect-ratio:1;object-fit:contain;}

[data-service-image-library="true"] .amplify-image-library-item img{object-fit:contain;}

/* Canonical sheet variants; fixed presentation is defined here, never in JS. */
.amplify-link-type.amplify-taxonomy-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}
.amplify-action-danger.amplify-taxonomy-remove{margin-top:0;color:#fff;}
.amplify-hub-toolbar .amplify-taxonomy-management{flex:1 1 calc(48% - 8 * var(--amplify-sheet-u));}
.editor-generated-image-preview.amplify-full-image-preview{max-height:none;height:auto;object-fit:contain;}
.field-help.amplify-font-included{color:var(--orange);}
