:root{font:16px/1.5 system-ui,sans-serif;color:#123454;background:#f2f7fc}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:24px;background:white;padding:18px 5%;border-bottom:1px solid #dbe7f1}header a{font-size:28px;font-weight:850;text-decoration:none;color:#123454}header a span{color:var(--theme-accent,#53a2d9)}header button{margin-left:auto}main{max-width:1240px;margin:auto;padding:25px}.panel{background:white;border:1px solid #dce8f2;border-radius:18px;padding:26px;box-shadow:0 8px 25px #163f6110}#auth,#member{max-width:500px;margin:35px auto}h1{font-size:34px;margin:0}h2{font-size:23px}p{margin:10px 0 18px}.eyebrow{font-size:12px;letter-spacing:2px;color:#357da8;font-weight:800}label{display:block;font-weight:650;margin-bottom:15px}input,select,textarea{display:block;width:100%;font:inherit;color:inherit;padding:12px;border:1px solid #afc9dd;border-radius:9px;margin-top:5px;background:white}textarea{min-height:150px;resize:vertical}button{font:inherit;font-weight:700;cursor:pointer;background:var(--theme-accent,#53a2d9);border:1px solid var(--theme-accent,#53a2d9);color:white;padding:11px 18px;border-radius:9px}button.secondary{background:white;color:#235a80;border-color:#bed4e4}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #126797;outline-offset:3px}.heading,.toolbar,.paging{display:flex;gap:15px;align-items:center;justify-content:space-between}.toolbar{justify-content:start;margin:25px 0}.toolbar label{margin:0;flex:1}.toolbar button{align-self:end}.workspace{display:grid;grid-template-columns:minmax(280px,1fr) minmax(340px,1.4fr);gap:25px}.listing{display:block;text-align:left;width:100%;margin-bottom:9px;background:white;color:#123454;border-color:#d7e5f0;padding:16px}.listing small{display:block;color:#61758a;font-weight:500}.listing.selected{border:2px solid var(--theme-accent,#53a2d9);background:#eaf6fe}.paging{margin:20px 0}#notice{padding:12px 16px;background:#e4f2fb;border-radius:10px;min-height:48px}#notice.error{background:#fff0ed;color:#a72d1c}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fields label{margin:0}.full{grid-column:1/-1}.muted{font-size:14px;color:#61758a}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}img.preview{width:100px;height:100px;object-fit:contain;border:1px solid #dce8f2;border-radius:9px}.checks label{font-weight:500;display:flex;gap:8px;margin:6px 0}.checks input{width:auto}.checks{max-height:220px;overflow:auto;border:1px solid #dce8f2;border-radius:9px;padding:12px}[hidden]{display:none!important}@media(max-width:760px){header{flex-wrap:wrap;gap:10px}header>span{font-size:13px}main{padding:16px}.workspace{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar label{min-width:140px}h1{font-size:29px}.panel{padding:20px}.fields{grid-template-columns:1fr}.full{grid-column:auto}}
header{position:sticky;top:0;z-index:10;box-shadow:0 3px 18px #153b5510}.header-context{font-size:14px;color:#667f94}.website-link{margin-left:auto!important;font-size:14px!important;font-weight:700!important;color:#285f87!important;border:1px solid #cbddea;padding:10px 14px;border-radius:10px}header #signout{margin-left:0}main{max-width:1440px;padding:28px 36px}.admin-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0 22px}.admin-intro h1{font-size:36px;letter-spacing:-1px}.admin-intro p:not(.eyebrow){color:#647e93}.account-badge{background:#e1f1fc;color:#2974a2;border:1px solid #c3e0f3;padding:8px 15px;border-radius:30px;font-size:13px;font-weight:750}.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:white;border:1px solid #dbe7f1;color:#123454;padding:20px;border-radius:15px;box-shadow:0 5px 20px #1b496508;transition:transform .15s,box-shadow .15s}.stat-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #1b496515}.stat-card span{font-size:14px;color:#526d84;font-weight:650}.stat-card strong{font-size:34px;line-height:1.4;letter-spacing:-1px}.stat-card small{font-size:12px;color:#73899a;font-weight:450}.stat-draft{border-top:3px solid #e4b76b}.stat-active{border-top:3px solid #69b69d}.stat-total{border-top:3px solid var(--theme-accent,#53a2d9)}.sync-note{font-size:13px;padding:12px 16px;border:1px solid #d7e6f1;border-radius:10px;color:#5c778e;background:#edf5fb}.heading{margin:32px 0 16px}.heading h2{margin:0;font-size:25px}.heading p{margin:5px 0;color:#6b8093}.heading #total{background:#e3eff8;padding:5px 12px;border-radius:25px;font-size:13px;color:#456b8a}.toolbar{background:white;border:1px solid #dce7ef;padding:16px;border-radius:14px;margin:18px 0 22px}.toolbar label{font-size:13px}.toolbar label:first-child{flex:2}.toolbar button{height:48px}.workspace{grid-template-columns:minmax(280px,.9fr) minmax(340px,1.3fr);align-items:start}.listing-column{min-width:0}.listing{box-shadow:0 3px 12px #183b4f06;padding:16px 18px;border-radius:12px}.listing:hover{border-color:#8dc3e7;background:#f8fcff}.listing strong{font-size:15px}.listing small{margin-top:5px;font-size:13px}.listing.selected{box-shadow:0 4px 18px color-mix(in srgb,var(--theme-accent,#53a2d9) 13%,transparent)}.empty-editor{text-align:center;padding:65px 20px;color:#648096}.empty-editor h2{color:#123454}.empty-editor p{max-width:340px;margin:auto}.empty-icon{display:inline-grid;place-items:center;width:65px;height:65px;border-radius:18px;background:#e9f5fd;font-size:38px;color:var(--theme-accent,#53a2d9)}.panel{box-shadow:0 7px 28px #24496209}#editor>h2{margin-top:0}.actions{position:sticky;bottom:0;background:white;padding:14px 0 2px;border-top:1px solid #e1eaf2}#notice{font-size:14px;margin-top:0;background:#e8f5ef;color:#386452}#notice.error{background:#fff0ed;color:#a72d1c}@media(max-width:1000px){.stats{grid-template-columns:repeat(3,1fr)}main{padding:24px}.header-context{display:none}}@media(max-width:760px){header{padding:14px 16px;gap:8px}header a{font-size:23px}.website-link{font-size:12px!important;padding:8px 10px}header #signout{font-size:12px;padding:8px 10px}.admin-intro{align-items:start;gap:10px}.admin-intro h1{font-size:27px}.account-badge{font-size:11px;padding:7px 10px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat-card{padding:15px}.stat-card strong{font-size:28px}.stat-card small{font-size:11px}.stat-card:first-child{grid-column:1/-1}.workspace{grid-template-columns:1fr}.toolbar{gap:10px}.toolbar label:first-child{flex-basis:100%}.toolbar label{min-width:0}.toolbar button{font-size:13px;padding:10px 12px}main{padding:16px}.empty-editor{padding:35px 10px}.admin-intro p:not(.eyebrow){font-size:14px}.heading #total{white-space:nowrap}}@media(prefers-reduced-motion:reduce){.stat-card{transition:none}.stat-card:hover{transform:none}}
.claim-review-card{padding:20px 0;border-top:1px solid #d9e8f5;display:flow-root}.claim-review-card .preview{float:left;width:90px;height:90px;object-fit:contain;margin:0 20px 15px 0;border-radius:8px}.claim-review-card p{overflow-wrap:anywhere}.claim-review-card .actions{display:flex;gap:10px;flex-wrap:wrap;clear:both}.claim-review-card h3{margin-top:0}
#user-dashboard{margin-top:20px}.member-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px}.member-sidebar{background:linear-gradient(160deg,#0b3458,#052338);color:white;border-radius:18px;padding:24px 18px;display:flex;flex-direction:column;gap:10px;align-self:start;position:sticky;top:110px}.member-sidebar h2{font-size:21px;margin:0 0 15px}.member-sidebar a{color:#dceffc;text-decoration:none;padding:12px;border-radius:9px}.member-sidebar a:hover{background:var(--theme-accent,#53a2d9)}.member-welcome>p:first-child{font-size:11px;letter-spacing:2px;color:var(--theme-accent,#53a2d9);font-weight:800}.member-welcome h1{color:#0b3458}.member-content>select{max-width:420px;margin:22px 0}.member-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px}.member-grid .panel{min-width:0}.member-grid h2{margin-top:0}#member-account{grid-column:1/-1}#member-account form{max-width:480px}.member-square{display:flex;gap:20px;margin:20px 0}.member-square img,.member-square-art{width:140px;height:140px;object-fit:contain;border-radius:12px;flex-shrink:0}.member-square-art{display:grid;place-items:center;background:#0b3458;color:white;text-align:center;padding:12px;font-size:20px;font-weight:800}.member-square p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.member-square h2{font-size:20px}.member-status{background:#e4f3fb;color:#28678d;padding:6px 10px;border-radius:20px;font-size:12px;display:inline-block}.member-primary{display:inline-flex;background:var(--theme-accent,#53a2d9);color:white;padding:11px 16px;border-radius:9px;text-decoration:none;font-size:14px;font-weight:700}.member-share-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.member-share-actions button{font-size:14px}#member-share p{font-size:14px;color:#54728b}@media(max-width:1000px){.member-grid{grid-template-columns:1fr}.member-shell{grid-template-columns:190px minmax(0,1fr)}}@media(max-width:650px){.member-shell{grid-template-columns:1fr}.member-sidebar{position:static;flex-direction:row;flex-wrap:wrap;padding:14px;gap:4px}.member-sidebar h2{width:100%;margin-bottom:5px}.member-sidebar a{font-size:12px;padding:8px}.member-square{gap:12px}.member-square img,.member-square-art{width:90px;height:90px}.member-square h2{font-size:17px}.member-welcome h1{font-size:27px}.member-square p{font-size:13px}}
.member-editor{grid-column:1/-1}.member-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.member-editor label{display:grid;gap:7px;font-weight:600;font-size:14px}.member-editor textarea{min-height:120px}.member-editor h3{margin:20px 0 10px}.member-editor small,.member-editor>p{color:#536c83}.member-editor form>label{margin:18px 0 10px}.member-editor .checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.member-editor .checks label{display:flex;align-items:center;gap:8px;font-weight:400}.member-editor .checks input{width:auto}.member-editor .actions{margin:20px 0 12px}.member-square img{object-fit:contain}.member-editor [role=status]{margin:12px 0;color:#176eaa}@media(max-width:650px){.member-editor-fields{grid-template-columns:1fr}.member-editor .checks{grid-template-columns:repeat(2,minmax(0,1fr))}}
.subcategory-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.subcategory-selects label{display:grid;gap:5px;font-weight:600;font-size:14px;align-content:start}.subcategory-selects select{width:100%;min-width:0}.member-editor-fields label{align-content:start}.member-editor-fields input,.member-editor-fields select{height:48px}@media(max-width:650px){.subcategory-selects{grid-template-columns:1fr}}
.admin-image-upload{grid-column:1/-1;padding:14px;border:1px solid #c7dfee;border-radius:10px;background:#f1f8fd}.admin-image-upload img{display:block;width:110px;height:110px;object-fit:contain;margin:12px 0}.admin-image-upload small{display:block;color:#536c83}.admin-image-upload input[type=file]{width:100%;margin:8px 0}.admin-image-upload p{font-size:13px}

.quick-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.quick-gallery button{padding:0;border:1px solid #cae1f3;border-radius:8px;overflow:hidden;aspect-ratio:1;background:#edf6fc;cursor:zoom-in}.quick-gallery img{width:100%;height:100%;object-fit:cover;display:block}.quick-gallery button:hover{box-shadow:0 0 12px var(--theme-accent,#53a2d9)}.gallery-editor{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-editor h3{grid-column:1/-1}.gallery-editor .admin-image-upload{grid-column:auto}.gallery-editor .admin-image-upload label input{font-size:14px}#square-photo-viewer{width:min(900px,94vw);padding:44px 16px 16px}#square-photo-viewer>img{display:block;width:100%;max-height:75vh;object-fit:contain}.photo-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:12px}@media(max-width:600px){.gallery-editor{grid-template-columns:1fr}}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.admin-tabs button{background:white;color:#103356;border:1px solid #c5ddec}.admin-tabs button.active{background:#103356;color:white}.admin-control-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(320px,2fr);gap:24px}.admin-section label{display:block;margin:12px 0}.admin-section input,.admin-section textarea,.admin-section select{width:100%;padding:12px;border:1px solid #bdd8eb;border-radius:8px}.admin-section textarea{min-height:100px}.admin-owned-square,.ownership-review-card,.history-card{border:1px solid #d6e6f2;padding:18px;border-radius:12px;margin:12px 0}.review-badge{display:inline-block;padding:6px 10px;border-radius:8px;background:#e8f4fe}.review-badge.match{background:#e7f7ed}.bulk-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:16px;background:#e8f4fe;border-radius:12px;margin:16px 0}.bulk-toolbar select{padding:10px;border:1px solid #bdd8eb;border-radius:8px}.listing-selection{display:flex;gap:8px;align-items:center}.listing-selection .listing{flex:1}.listing-selection input{width:20px;height:20px;flex:none}.change-table{width:100%;border-collapse:collapse;font-size:13px}.change-table td,.change-table th{padding:10px;border-bottom:1px solid #d6e6f2;text-align:left;overflow-wrap:anywhere}.history-card details{overflow:auto}.admin-confirm{width:min(600px,calc(100vw - 32px));margin:auto;max-height:85vh;overflow:auto}.admin-confirm textarea{width:100%;min-height:100px}.admin-confirm::backdrop{background:#082b4b99}.confirmation-list{max-height:180px;overflow:auto}.activity-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.activity-totals div{padding:18px;border-radius:12px;background:#eaf5fd}.activity-totals strong{display:block;font-size:30px}.activity-totals span{font-size:13px}.activity-chart{width:100%;height:auto;max-height:220px}@media(max-width:700px){.admin-control-grid{grid-template-columns:1fr}.activity-totals{gap:6px}.activity-totals div{padding:12px}.activity-totals strong{font-size:24px}.admin-tabs button{font-size:13px;padding:10px}}
.member-delete-section{border-top:1px solid #e2eaf1;margin-top:24px;padding-top:16px}.member-delete-button{background:#fff;color:#ad3030;border:1px solid #dcabab}.member-delete-button:hover{background:#fff0f0}.member-delete-confirm{width:min(560px,calc(100vw - 32px));margin:auto;max-height:85vh;overflow:auto}.member-delete-confirm::backdrop{background:#082b4b99}.member-delete-confirm .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.member-billing[hidden]{display:none!important}.billing-nav-link[aria-current=page]{background:var(--theme-accent,#53a2d9);color:white}.billing-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:28px}.billing-plan>p:first-child{font-size:11px;letter-spacing:1.5px;color:#55758e;font-weight:800}.billing-price{font-size:27px;font-weight:800;color:#113657}.billing-test-badge{display:inline-block;background:#e7f3fe;color:#28648b;padding:7px 12px;border-radius:20px;font-size:12px;font-weight:700}.billing-plan dl{display:grid;grid-template-columns:120px 1fr;gap:12px;border-top:1px solid #e0ebf3;border-bottom:1px solid #e0ebf3;padding:20px 0;margin:22px 0;font-size:14px}.billing-plan dt{font-weight:700}.billing-plan dd{margin:0;color:#526e83}.billing-plan button:disabled{opacity:.55;cursor:not-allowed}.billing-plan p,.billing-history p,.billing-history li{line-height:1.6}.billing-empty{padding:28px 20px;background:#f0f7fc;border:1px dashed #c2dced;border-radius:12px;margin:22px 0}.billing-empty strong{color:#123859}.billing-history ul{padding-left:20px;font-size:14px}.billing-history li{margin:9px 0}@media(max-width:1000px){.billing-grid{grid-template-columns:1fr}}@media(max-width:650px){.billing-plan dl{grid-template-columns:1fr;gap:5px}.billing-plan dd{margin-bottom:10px}.billing-price{font-size:23px}}
.billing-invoice{padding:14px 0;border-bottom:1px solid #dbe8f3}.billing-invoice a{display:inline-block;margin-right:16px;margin-bottom:12px}

.data-control-block{border-top:1px solid #dce8f2;padding-top:20px;margin-top:24px}.import-preview-scroll{max-height:520px;overflow:auto;margin:16px 0}.import-logo{width:64px;height:64px;object-fit:contain;display:block;margin-bottom:6px}.data-control-block details{margin:14px 0}.data-control-block small{display:block;margin-top:20px;color:#536c83}

/* Shared Ayrshire Local branding */
.dashboard-brand{display:inline-flex;align-items:center;flex-shrink:0}.dashboard-brand img{display:block;width:200px;height:auto}@media(max-width:760px){.dashboard-brand img{width:155px}}
/* Clear dashboard navigation: sidebar on desktop, collapsible menu on phones. */
.member-sidebar{gap:16px}.member-sidebar-brand{display:block!important;background:white;padding:11px!important;border-radius:12px!important;line-height:0}.member-sidebar-brand img{display:block;width:100%;height:auto;max-width:200px;margin:auto}.member-sidebar-brand:hover{background:white!important}.member-sidebar nav{display:flex;flex-direction:column;gap:5px}.member-sidebar nav a{min-height:44px;display:flex;align-items:center;font-size:14px}.member-sidebar nav a[aria-current=page]{background:var(--theme-accent,#53a2d9);color:#fff}.member-menu-toggle{display:none}.member-content{min-width:0}.member-grid>.panel,.member-billing,#user-dashboard{scroll-margin-top:110px}
@media(max-width:650px){.member-shell{gap:20px}.member-sidebar{display:block;position:sticky;top:72px;z-index:9;padding:0;border-radius:12px;box-shadow:0 4px 14px color-mix(in srgb,var(--theme-navy,#0a2f57) 9%,transparent)}.member-sidebar-brand{display:none!important}.member-menu-toggle{width:100%;min-height:52px;border:0;border-radius:12px;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(160deg,#0b3458,#052338);font-size:14px;text-align:left}.member-menu-toggle>span:last-child{font-size:12px;color:#cbe6f8}.member-sidebar nav{display:none;max-height:65vh;overflow:auto;padding:7px 10px 12px;gap:4px}.member-sidebar.menu-open nav{display:flex}.member-sidebar.menu-open .member-menu-toggle{border-radius:12px 12px 0 0}.member-sidebar nav a{font-size:14px;padding:12px 14px;min-height:46px;border-radius:8px}.member-grid>.panel,.member-billing,#user-dashboard{scroll-margin-top:145px}.member-welcome h1{margin-top:4px}}

.import-origin-badge{display:inline-block;font-size:11px;font-weight:700;background:#e6f3fc;color:#27698f;padding:4px 8px;border-radius:20px;margin-top:8px}.import-review-card{padding:23px 0;border-bottom:1px solid #dce8f2}.import-review-heading{display:flex;align-items:center;gap:16px}.import-review-heading img{width:80px;height:80px;object-fit:contain;border:1px solid #dce8f2;border-radius:9px}.import-review-heading h3{margin:0}.import-review-heading p{margin:6px 0;font-size:13px}.import-review-link{display:inline-block;margin:8px 20px 8px 0;color:#27698f;text-decoration:underline}.import-review-card>p{font-size:14px;max-width:850px}.import-review-card .actions{position:static}
.announcement-options{display:flex;flex-wrap:wrap;gap:18px;margin:14px 0}.announcement-options label{display:flex;align-items:center;gap:9px;font-size:14px}.announcement-options input{width:18px;height:18px;margin:0}.announcement-admin-preview{background:var(--theme-navy,#0a2f57);color:white;padding:15px 20px;border-radius:9px;font-size:13px;margin-bottom:20px;overflow-wrap:anywhere}
.admin-delete-permanent{background:#fff3f1!important;color:#a33527!important;border-color:#e8b7b0!important;margin-top:14px}.admin-delete-confirm{width:min(560px,calc(100vw - 28px));max-height:90vh;overflow:auto;margin:auto}.admin-delete-confirm::backdrop{background:#092d4a99}.admin-delete-confirm h2{margin-top:0}.admin-delete-confirm .actions{position:static}
.category-groups{display:grid;gap:16px;grid-column:1/-1}.category-groups fieldset{min-width:0;margin:0;padding:16px;border:1px solid #c5ddeb;border-radius:12px;background:#f6fbff}.category-groups legend{font-weight:750;padding:0 7px}.category-groups fieldset>label{display:block;margin-bottom:12px}.category-groups select{width:100%;min-height:42px;border:1px solid #b9d9ee;border-radius:7px;padding:9px;background:white;color:var(--theme-navy,#0a2f57)}.category-groups-hint{font-size:13px;line-height:1.5;color:#536c83}.category-groups [hidden]{display:none!important}
.site-control{margin-top:35px;padding-top:24px;border-top:1px solid #c5ddeb}.settings-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.settings-tabs .active{background:var(--blue);color:white}.settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.settings-form label{display:flex;flex-direction:column;gap:6px}.settings-form input[type=color]{width:100%;height:48px;padding:4px}.settings-form input,.settings-form select,.settings-form textarea{width:100%;min-width:0}.settings-form p,.settings-form .seo-preview,.settings-form .theme-preview{grid-column:1/-1}.branding-preview{max-width:220px;max-height:100px;object-fit:contain;padding:10px;border:1px solid #dae6f0;border-radius:10px;background:#e8f1f8}.theme-preview{padding:28px;font-size:22px;font-weight:800;border-radius:12px}.taxonomy-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:600px;overflow:auto;margin-top:15px}.taxonomy-row{text-align:left;padding:14px;display:flex;flex-direction:column;align-items:start;gap:6px;background:#f1f7fc!important;color:var(--navy)!important;border:1px solid #d5e6ef}.taxonomy-row small{font-size:11px;line-height:1.5;font-weight:400}.relation-row{padding:14px;border:1px solid #d5e6ef;border-radius:9px;display:flex;flex-direction:column;gap:10px}.seo-preview{padding:20px;background:#f9fcff;border:1px solid #d5e6ef;border-radius:10px}.seo-preview strong{display:block;color:#1539a3}.seo-preview small{color:#306b49}.seo-preview p{font-size:13px}.category-groups .subcategory-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media(max-width:700px){.settings-form,.taxonomy-tree,.category-groups .subcategory-selects{grid-template-columns:1fr}.settings-tabs{display:grid;grid-template-columns:1fr 1fr}.site-control{margin-top:25px}}
.brand-asset-field{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 200px;gap:12px;align-items:center;padding:16px;background:#f2f7fb;border:1px solid #d5e6ef;border-radius:12px}.brand-asset-field h4{grid-column:1/-1;margin:0}.brand-asset-field .branding-preview{width:100%;max-height:80px}.brand-asset-field [hidden]{display:none!important}@media(max-width:700px){.brand-asset-field{grid-template-columns:1fr}.brand-asset-field .branding-preview{max-width:200px}}
.square-upgrade-dialog{width:min(540px,calc(100vw - 28px));margin:auto;padding:28px;max-height:90vh;overflow:auto;border:1px solid #d0e4f3;border-radius:18px;box-shadow:0 18px 70px #092b4940}.square-upgrade-dialog::backdrop{background:#092b4970;backdrop-filter:blur(3px)}.square-upgrade-dialog>strong{font-size:30px;color:var(--navy);display:block;margin:14px 0}.square-upgrade-dialog li{margin:10px 0}.square-upgrade-dialog .actions{display:flex;flex-wrap:wrap;gap:10px}.square-upgrade-dialog .actions button{flex:1;min-height:46px}@media(max-width:600px){.square-upgrade-dialog{padding:22px}.square-upgrade-dialog .actions{flex-direction:column}}
.revenue-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:25px 0;align-items:end}.revenue-filters label{display:flex;flex-direction:column;gap:7px}.revenue-filters label:nth-last-of-type(1){grid-column:span 3}.revenue-filters select,.revenue-filters input{width:100%;min-width:0}.revenue-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.revenue-summary article{border:1px solid #cce2f2;background:linear-gradient(145deg,#f3faff,#e4f2fc);border-radius:14px;padding:22px}.revenue-summary small{display:block;color:#416681;margin-bottom:10px}.revenue-summary strong{font-size:29px;color:var(--navy,#0a2f57)}.revenue-table-wrap{overflow-x:auto;margin-top:20px}.revenue-table{min-width:850px;width:100%}.revenue-table td small{display:block;margin-top:7px;color:#52748b}.revenue-table td a{color:#176d9f;text-decoration:underline}.revenue-plan-counts{padding:16px;background:#f2f8fc;border-radius:10px;font-size:13px}@media(max-width:700px){.revenue-filters,.revenue-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-filters label:nth-last-of-type(1){grid-column:1/-1}.revenue-summary article{padding:16px}.revenue-summary strong{font-size:23px}.revenue-filters button{grid-column:1/-1}}
.admin-card-level{margin:24px 0;padding:20px;border:1px solid #b8dbf2;border-radius:14px;background:#edf7fe;display:grid;gap:12px}.admin-card-level h3,.admin-card-level p{margin:0}.admin-card-level p{font-size:13px;line-height:1.6}.admin-card-level label{display:flex;flex-direction:column;gap:7px}.admin-card-level select,.admin-card-level input{width:100%}.admin-card-level button{justify-self:start}
