:root{font-family:var(--font-text);font-size:14px;line-height:1.5;background:var(--paper);color:var(--ink)}
:lang(zh-Hans){font-family:Manrope,'Microsoft YaHei','PingFang SC','Noto Sans CJK SC',sans-serif}:lang(ja){font-family:Manrope,'Yu Gothic','Hiragino Sans','Noto Sans CJK JP',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button,a,input,textarea,select,summary{touch-action:manipulation}button{min-height:44px;padding:9px 16px;border:1.5px solid var(--ink);border-radius:var(--control-radius);background:transparent;line-height:1.4;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center}button:hover:not(:disabled){background:var(--surface)}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}a,button{overflow-wrap:anywhere}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.2;letter-spacing:-.025em}h2{font-size:20px;line-height:1.3}h3{font-size:16px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input,textarea,select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:var(--field-radius);background:var(--paper);padding:10px 12px;line-height:1.45}
/* Single-line fields are capsules like the buttons; multi-line fields keep the 12 px radius (user decision 15.11.2026). */
input:not([type=checkbox],[type=radio],[type=color],[type=file],[type=range]),select{border-radius:var(--control-radius);padding-inline:16px}textarea{resize:vertical;min-height:72px;white-space:pre-wrap;overflow-wrap:anywhere}input::placeholder,textarea::placeholder{color:color-mix(in srgb,var(--ink) 55%,transparent);opacity:1}label{display:block}small,.muted{color:var(--muted)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:fixed;top:-80px;left:16px;padding:12px;background:var(--surface);z-index:100}.skip:focus{top:8px}.primary{background:var(--highlight);border-color:var(--highlight);color:#17200d}.primary:hover:not(:disabled){background:color-mix(in srgb,var(--highlight) 78%,#fff);border-color:color-mix(in srgb,var(--highlight) 78%,#fff)}.icon-button{width:44px;padding:9px}.selected,[aria-pressed=true]{border-color:var(--highlight);background:var(--selected)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 28px;border-bottom:1px solid var(--line);min-height:80px}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:19px;min-width:0}.brand img{width:38px;height:38px;flex:none}.brand span{overflow-wrap:anywhere}.brand-title{border-left:1px solid var(--line);padding-left:20px;margin-left:8px;font-size:15px;font-weight:500;color:var(--accent)}.top-actions{display:flex;align-items:center;gap:12px}.language-select{width:auto;max-width:160px;border-radius:999px;padding:10px 38px 10px 16px}.topbar .primary{white-space:nowrap}.editor{display:grid;grid-template-columns:350px minmax(0,1fr);height:calc(100dvh - 138px);min-height:580px}.settings{padding:24px 20px;overflow:auto;border-right:1px solid var(--line);scrollbar-gutter:stable;overscroll-behavior:contain}.project-block{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:18px}.field{margin-top:12px;min-width:0}.field>label{font-size:12px;margin-bottom:5px;font-weight:600}.field .count{display:block;text-align:right;font-size:11px;margin-top:4px;color:var(--muted)}.field .error{font-size:12px;color:var(--danger);margin-top:4px}.field [aria-invalid=true]{border-color:var(--danger)}.logo-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.logo-preview{width:66px;height:48px;object-fit:contain;border:1px solid var(--line);border-radius:8px;padding:4px}.logo-note{font-size:11px;margin-top:8px;color:var(--muted)}.outline{margin-top:10px}.group{border-bottom:1px solid var(--line);padding:8px 0}.group-toggle{display:flex;justify-content:flex-start;width:100%;text-align:left;border:0;padding:8px;border-radius:14px;gap:10px}.group-toggle .name{flex:1;font-weight:700;min-width:0}.chevron{font-size:18px;transition:transform .15s}.group-toggle[aria-expanded=true] .chevron{transform:rotate(90deg)}.group-content{padding:6px 6px 16px}.outline-item{border-bottom:1px solid var(--line);padding:7px 0}.outline-item.active{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--highlight);border-radius:16px;margin:8px -4px;padding:6px}.outline-item .item-name{min-width:0;overflow-wrap:anywhere}.item-actions{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.item-actions button{font-size:11px;flex:1;padding:8px 10px;min-width:65px}.section-editor{padding:0 6px 8px}.add-button{width:100%;margin:16px 0}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.scheme-choice{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:14px;min-height:95px;font-size:11px;font-weight:600;text-align:center}.scheme-choice small{font-size:10px;font-weight:400}.scheme{display:flex;width:100%;height:39px;border:1px solid var(--line);border-radius:5px;position:relative;gap:5px;padding:7px;align-items:center;color:var(--muted)}.scheme i{display:block;height:3px;background:currentColor;flex:1;border-radius:1px}.scheme .mark{flex:none;width:9px;height:9px;background:var(--accent)}.scheme.centered{align-items:flex-end;justify-content:center;padding-top:20px}.scheme.centered .mark{position:absolute;top:5px;left:calc(50% - 4px)}.scheme.side,.scheme.collapsible{flex-direction:column;justify-content:center;align-items:flex-start;gap:3px}
.scheme.side{padding:4px 8px}
.scheme.side::before,.scheme.collapsible::before{content:'';position:absolute;inset:3px auto 3px 3px;pointer-events:none;background:color-mix(in srgb,var(--accent) 16%,transparent);border-right:1px solid currentColor}
.scheme.side::before{width:34%}
.scheme.side i{position:relative;flex:none;width:24%;height:2px}
.scheme.side i.mark{width:6px;height:5px;margin-bottom:1px}
.scheme.side::after{content:'';position:absolute;left:43%;right:8%;top:34%;height:3px;background:currentColor;box-shadow:0 7px currentColor;opacity:.65}
.scheme.collapsible{padding:5px 8px 5px 34%}
.scheme.collapsible::before{width:7px;background:var(--accent);border:0;border-radius:2px}
.scheme.collapsible i.mark{display:none}
.scheme.collapsible i{flex:none;width:78%;height:2px}
.scheme.collapsible::after{content:'';position:absolute;left:14px;top:50%;width:6px;height:6px;border:solid var(--ink);border-width:2px 2px 0 0;transform:translateY(-50%) rotate(45deg)}
.scheme.compact i:nth-of-type(2),.scheme.compact i:nth-of-type(3){flex:none;position:absolute;right:6px;width:10px}.scheme.compact i:nth-of-type(2){top:14px}.scheme.compact i:nth-of-type(3){top:20px}.mini-scheme{width:70px;height:28px;flex:none;padding:5px;gap:3px}.mini-scheme .mark{width:7px;height:7px}.behaviour{margin-top:14px}.segmented{display:flex;gap:5px;padding:4px;border:1px solid var(--line);border-radius:28px;min-width:0}.segmented button{flex:1;border-color:transparent;min-width:0;font-size:12px;padding:8px 10px}.segmented button[aria-pressed=true]{border-color:var(--line);background:var(--accent);color:var(--paper)}.group-hint{font-size:11px;margin-top:8px;color:var(--muted)}.save-state{font-size:11px;margin-top:16px;color:var(--muted)}.save-state.problem{color:var(--danger)}.save-actions{display:flex;flex-direction:column;gap:8px;margin-top:10px}.preview-workspace{padding:22px 24px;min-width:0;display:flex;flex-direction:column;gap:14px;overflow:hidden}.previews{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.39fr);gap:20px;min-height:0;flex:1}.preview-card{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface)}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;flex:none;font-size:12px;min-height:56px}.preview-toolbar button{padding:6px 12px;font-size:11px}.preview-stage{position:relative;flex:1;min-height:200px;overflow:hidden;background:var(--paper)}.preview-stage iframe{position:absolute;display:block;border:0;transform-origin:top left;max-width:none;background:var(--paper)}.mobile-switch{display:none}.back-settings{display:none}.service-footer{min-height:58px;border-top:1px solid var(--line);padding:6px 28px;display:flex;align-items:center;justify-content:flex-end;gap:28px;font-size:12px}.service-footer a{display:inline-flex;align-items:center;min-height:44px}dialog{max-width:min(580px,calc(100vw - 24px));width:560px;max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);overflow:auto}dialog::backdrop{background:#020711bd}dialog .dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}dialog p{color:var(--muted);margin:14px 0}.dialog-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:22px}.file-actions{display:flex;flex-direction:column;gap:10px}.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.catalog-choice{border-radius:16px;display:block;text-align:left;padding:14px}.catalog-choice span:not(.catalog-scheme){display:block;font-size:13px}.catalog-choice small{display:block;font-size:11px;font-weight:400;margin-top:8px}.catalog-scheme{width:100%;height:34px;margin-bottom:10px;display:flex;gap:4px;padding:5px;border:1px solid var(--line);border-radius:4px}.catalog-scheme i{height:100%;flex:1;background:var(--line);opacity:.3}.catalog-scheme.hero i:first-child,.catalog-scheme.about i:first-child{flex:2}.catalog-scheme.process i{border-radius:50%}.catalog-scheme.faq,.catalog-scheme.events,.catalog-scheme.articles{flex-direction:column}.catalog-scheme.custom i{background:none;border:1px dashed var(--line);opacity:1}.system{max-width:1080px;margin:auto;padding:40px 28px 70px}.system h1{font-size:clamp(28px,5vw,48px);margin:26px 0 18px}.system .intro{font-size:17px;max-width:720px;color:var(--muted)}.system section{margin-top:48px}.system section>p{max-width:760px;margin-top:16px;color:var(--muted)}.swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:22px}.swatch{min-width:0}.swatch i{display:block;height:80px;border:1px solid var(--line);border-radius:16px;margin-bottom:9px}.swatch code{display:block;font-size:12px;color:var(--muted)}.system .samples{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.system .field{max-width:400px}.font-sample{font-size:clamp(30px,5vw,60px);margin-top:20px;overflow-wrap:anywhere}.font-display{font-family:var(--font-display);font-weight:700;letter-spacing:-.035em;line-height:1.02}.system h3{margin-top:24px;font-size:16px}.problem-note{border-left:3px solid var(--danger);padding-left:12px;margin-top:12px;font-size:12px;color:var(--danger)}
@media(min-width:1800px){.editor{grid-template-columns:360px minmax(0,1fr)}.preview-workspace{padding-inline:36px}.previews{grid-template-columns:minmax(0,1fr) 330px;gap:30px}}
@media(max-width:1199px){.editor{grid-template-columns:320px minmax(0,1fr)}.previews{display:flex;flex-direction:column;flex:1;overflow-y:auto}.preview-card{flex:none;height:max(480px,70dvh)}.brand-title{display:none}.preview-workspace{padding:18px}.topbar{padding:14px 20px;gap:12px}.top-actions{gap:8px}}
@media(max-width:699px){.topbar{padding:12px 16px;min-height:72px;gap:8px}.brand{font-size:15px;gap:7px}.brand img{width:32px;height:32px}.top-actions{gap:6px}.top-actions .download-brief,.top-actions .theme-button{display:none}.language-select{max-width:98px;font-size:12px;padding-left:10px;padding-right:25px}.editor{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 130px)}.mobile-switch{display:flex;margin:12px 16px}.settings{border-right:0;padding:18px 16px;overflow:visible;max-height:none}.editor[data-panel=preview] .settings{display:none}.editor[data-panel=settings] .preview-workspace{display:none}.preview-workspace{min-height:calc(100dvh - 215px);padding:0 16px 16px;overflow:visible;gap:10px}.back-settings{display:flex;width:100%}.previews{overflow:visible;flex:none}.preview-card{height:max(440px,70dvh)}.service-footer{padding:8px 16px;gap:18px;justify-content:center;flex-wrap:wrap}.swatches{grid-template-columns:repeat(2,minmax(0,1fr))}.system{padding:22px 18px 50px}.system .samples{flex-direction:column}.catalog-grid{grid-template-columns:1fr 1fr}.catalog-choice{padding:12px}.catalog-choice span{font-size:12px}.catalog-choice small{font-size:11px}.topbar .brand span{max-width:100px}.item-actions button{font-size:12px}.group-toggle{padding-inline:6px}.preview-toolbar{padding-inline:10px}.preview-toolbar button{padding-inline:10px}.save-actions button{width:100%}}
textarea[rows="1"]{min-height:44px}
.selected,[aria-pressed=true]{border-color:var(--selection-line)}.outline-item.active{border-left-color:var(--selection-line)}
:lang(zh-Hans),:lang(ja){letter-spacing:normal}
.editor{height:calc(100dvh - 170px);min-height:520px}.settings{background:#050910;--paper:#050910}.structure-title{margin-bottom:20px;font-size:24px}.settings .group:first-of-type{padding-top:0}.outline-heading{display:flex;align-items:center;gap:2px}.outline-heading .group-toggle{flex:1;min-width:0;width:auto}.drag-handle,.remove-section{flex:0 0 44px;width:44px;padding:8px;border:0;background:transparent}.drag-handle{touch-action:none;cursor:grab}.drag-handle[aria-pressed=true]{cursor:grabbing}.grip{display:grid;grid-template-columns:repeat(2,3px);gap:3px}.grip i{width:3px;height:3px;border-radius:50%;background:var(--muted)}.remove-section{font-size:22px;color:var(--muted)}.outline-item{position:relative}.outline.is-reordering{user-select:none}.is-reordering .section-editor{display:none}.outline-item.dragging{opacity:.6;border-style:dashed}.outline-item.drop-before::before,.outline-item.drop-after::after{content:'';position:absolute;height:3px;background:var(--focus);left:0;right:0;z-index:2}.outline-item.drop-before::before{top:-3px}.outline-item.drop-after::after{bottom:-3px}
:root[data-theme=light] .settings{--paper:#f4f3ee;background:var(--paper)}
@media(max-width:759px) and (min-width:700px){.editor{height:calc(100dvh - 142px)}}
@media(max-width:699px){.editor{height:auto;min-height:calc(100dvh - 142px)}.preview-workspace{min-height:0}.settings{padding-top:20px}.structure-title{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.project-actions{display:grid;gap:8px;margin-top:18px}
@media(min-width:700px){.settings{display:flex;flex-direction:column}.settings>*{flex-shrink:0}.settings .project-actions{margin-top:auto;padding-top:18px}}
.project-actions button{width:100%}
#style-references{padding:16px 0;border-bottom:1px solid var(--line)}
#style-references h2{font-size:16px;line-height:1.4}
.reference-list{list-style:none;margin:0;padding:0}
.reference-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line)}
.reference-list a{padding:10px 0;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.reference-list button{flex:none;width:44px;padding:0;background:transparent;border:0;font-size:20px}
.reference-form{margin-top:12px}
.reference-form label{display:block;font-size:13px;margin-bottom:5px}
.reference-form>div{display:flex;align-items:stretch;gap:6px}
.reference-form input{flex:1;min-width:0;width:100%;font:inherit;font-size:14px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:8px 10px}
.reference-form button{padding-inline:12px}
.layout-controls,.section-photos{margin:12px 0 0;padding:0;border:0;min-width:0}
.layout-controls legend,.section-photos legend{margin-bottom:8px;font-size:13px;font-weight:650}
.layout-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.layout-options button{display:flex;align-items:center;gap:7px;min-height:44px;padding:6px 8px;border-radius:7px;text-align:left;line-height:1.25;font-size:11px}
.layout-options button[aria-pressed=true]{border-color:var(--accent);color:var(--ink);background:color-mix(in srgb,var(--accent) 13%,var(--surface))}
.layout-sketch{display:flex;align-items:center;justify-content:center;flex:0 0 24px;height:19px;gap:2px;border:1px solid currentColor;border-radius:2px;opacity:.8}
.layout-sketch i:first-child{width:6px;height:9px;background:currentColor}.layout-sketch i:last-child{width:8px;height:4px;border-block:1px solid currentColor}
.sketch-centered,.sketch-default,.sketch-custom{flex-direction:column}.sketch-centered i:first-child{width:11px;height:3px}.sketch-default i:first-child{width:16px;height:3px}
.sketch-media-right{flex-direction:row-reverse}.sketch-custom{align-items:flex-start;padding-left:3px}.sketch-custom i:first-child{height:3px}.sketch-custom i:last-child{width:14px}
.part-order{list-style:none;display:grid;gap:3px;margin:8px 0 0;padding:0}.part-order li{display:flex;align-items:center;gap:3px;border-bottom:1px solid var(--line)}
.part-order li span{flex:1;min-width:0;font-size:12px}.part-order button,.section-photo-row button{min-width:40px;padding:5px;background:transparent;border:0}
.section-photos>button{width:100%}.section-photo-row{display:grid;grid-template-columns:44px minmax(0,1fr) 40px;gap:6px;align-items:center;margin-bottom:8px}
.section-photo-row img{width:44px;height:44px;object-fit:cover;border:1px solid var(--line);border-radius:5px}.section-photo-row label{font-size:11px;color:var(--muted)}
.section-photo-row input{min-width:0;width:100%;padding:6px;background:var(--paper);color:var(--ink);font:inherit;font-size:13px;border:1px solid var(--line);border-radius:5px}
.photo-order{grid-column:2/-1;display:flex;gap:4px}
.photo-order button{border:1px solid var(--line);min-height:32px}
.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.scheme-choice{min-width:0;max-width:100%}
.footer-scheme{min-width:0;display:grid;place-items:center;padding:4px 6px}
.footer-scheme svg{display:block;width:100%;height:100%;min-width:0;fill:currentColor}
.split-scheme{display:grid;place-items:center;padding:4px 6px}.split-scheme svg{display:block;width:100%;height:100%;fill:currentColor}.split-scheme svg rect:first-child{fill:var(--accent)}
.footer-scheme svg rect:first-child{fill:var(--accent)}
.catalog-group-title{margin:18px 0 8px;font-size:16px}
.scheme.anchors{justify-content:flex-end;align-items:flex-start;flex-direction:column;gap:2px;padding:5px}.scheme.anchors i:not(.mark){width:16px;height:2px;border-left:3px solid currentColor}
.scheme.split .mark{order:2}.scheme.split i:nth-child(2){order:1}.scheme.split i:nth-child(n+3){order:3}
.scheme.tabs{align-items:flex-end}.scheme.tabs i:not(.mark){height:6px;border-bottom:2px solid currentColor}
.catalog-scheme.gallery i,.catalog-scheme.certificates i,.catalog-scheme.products i{border:1px solid currentColor;background:none}
.catalog-scheme.stats i,.catalog-scheme.partners i{border-radius:40%}.catalog-scheme.video{justify-content:center}.catalog-scheme.video i{display:none}.catalog-scheme.video::after{content:'▶'}
.catalog-scheme.careers,.catalog-scheme.downloads{flex-direction:column}.catalog-scheme.banner i:first-child,.catalog-scheme.newsletter i:first-child{flex:3}
.preview-toolbar{justify-content:flex-start;flex-wrap:wrap;gap:8px 16px;padding:8px 12px}
.preview-options,.preview-widths{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.preview-widths{gap:4px 8px}
.preview-widths>span{color:var(--muted)}
.preview-options button{min-height:36px;padding:6px 10px;border:1px solid transparent;border-radius:8px;background:transparent;font-size:12px}
.preview-options button:hover{border-color:var(--line)}
.preview-options button[aria-pressed=true]{border-color:var(--accent);color:var(--ink);background:color-mix(in srgb,var(--accent) 15%,var(--surface))}
@media(pointer:coarse){.preview-options button{min-height:44px}}
.project-actions .cloud-save{background:#223c68;color:#fff;border-color:var(--line)}
:root[data-theme=light] .project-actions .cloud-save{background:#243f6b;border-color:#243f6b}
.project-actions .cloud-save:hover{background:var(--ink);color:var(--paper)}
.radii{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.radius{min-width:0}.radius i{display:block;height:64px;border:1px solid var(--line);background:var(--surface);margin-bottom:9px}.radius code{display:block;font-size:12px;color:var(--muted)}@media(max-width:600px){.radii{grid-template-columns:1fr}}
/* All headings use the display face (user decision 15.11.2026). */
:is(h1,h2,h3,h4,h5,h6){font-family:var(--font-display)}
/* Secondary buttons: the site outline button, as in the case cards (user decision 16.11.2026). Option tiles and toggles keep their own look. */
button{transition:color var(--ease),border-color var(--ease),background var(--ease)}
:where(button:not(.primary,.cloud-google,.scheme-choice,.layout-options *,.preview-options *,.segmented *)):is(:hover,:focus-visible):not(:disabled){border-color:var(--highlight);background:var(--control-surface);color:var(--highlight)}
.layout-options button,.scheme-choice:not([aria-pressed=true]){border-color:var(--line)}
.colour-add:not([data-picking]){border-color:var(--ink);color:var(--ink)}
@media(prefers-reduced-motion:reduce){button{transition:none}}
/* Text fields (user decision 16.11.2026): a thin frame that turns violet on hover and focus, like the header language button,
   instead of the thick focus ring; placeholders in a muted blue (--placeholder). */
:is(input:not([type=checkbox],[type=radio],[type=color],[type=file],[type=range]),textarea,select){border-width:1.5px;transition:border-color var(--ease),background var(--ease)}
:is(input:not([type=checkbox],[type=radio],[type=color],[type=file],[type=range]),textarea,select):is(:hover:not(:disabled),:focus-visible){border-color:var(--selection-line)}
:is(input:not([type=checkbox],[type=radio],[type=color],[type=file],[type=range]),textarea,select):focus-visible{outline:none}
input::placeholder,textarea::placeholder{color:var(--placeholder)}
@media(prefers-reduced-motion:reduce){:where(input:not([type=checkbox],[type=radio],[type=color],[type=file],[type=range]),textarea,select){transition:none}}

/* Action buttons (user decision 16.11.2026): .primary looks like the header «Почати новий проєкт» button, the other action buttons are the same geometry outlined in ink (their violet hover is the :where(button…) rule above). Sizes from tokens.css. */
.primary,.brand-logo-actions button{gap:var(--action-gap);min-height:var(--action-height);padding:var(--action-pad);border-width:var(--action-border);border-radius:var(--control-radius);font:400 var(--action-font-size)/1.25 var(--font-text)}
.primary{background:var(--control-surface);border-color:var(--highlight);color:var(--highlight)}
.primary:is(:hover,:focus-visible):not(:disabled,[aria-disabled=true]){background:var(--highlight);border-color:var(--highlight);color:var(--control-surface)}
.primary:focus-visible{outline:2px solid var(--highlight);outline-offset:3px}
:root:not([data-theme=dark]) .primary{background:transparent;border-color:var(--selection-line);color:var(--selection-line)}
:root:not([data-theme=dark]) .primary:is(:hover,:focus-visible):not(:disabled,[aria-disabled=true]),:root:not([data-theme=dark]) :where(button:not(.primary,.cloud-google,.scheme-choice,.layout-options *,.preview-options *,.segmented *)):is(:hover,:focus-visible):not(:disabled){background:var(--selected);border-color:var(--selection-line);color:var(--selection-line)}
:root:not([data-theme=dark]) .primary:focus-visible{outline-color:var(--selection-line)}
.primary:is(:disabled,[aria-disabled=true]){background:transparent;border-color:var(--line);color:color-mix(in srgb,var(--ink) 55%,transparent);cursor:default}
