:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #171126; background: #fbf8ff; --purple:#7b22ed; --purple-dark:#5810b5; --lavender:#f2eafb; --line:#e8daf8; --muted:#9671b4; --sidebar:280px; font-synthesis:none; -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; }
body { margin:0; min-width:280px; }
button, input, select { font:inherit; }
button, a, summary { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled, button[aria-disabled="true"] { cursor:not-allowed; }
a { color:inherit; }
button, input, select { touch-action:manipulation; }
:focus-visible { outline:3px solid #9b56ef; outline-offset:3px; }
[hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; left:12px; top:12px; z-index:100; padding:14px 20px; border-radius:8px; background:white; transform:translateY(-160%); }
.skip-link:focus { transform:translateY(0); }
svg { width:22px; height:22px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.app-sidebar { position:fixed; inset:0 auto 0 0; width:var(--sidebar); background:#fff; border-right:1px solid var(--line); padding:46px 47px 25px; display:flex; flex-direction:column; overflow:auto; z-index:20; }
.brand { display:flex; flex-direction:column; align-items:center; text-decoration:none; min-height:90px; }
.brand img { display:block; width:188px; max-width:100%; height:auto; object-fit:contain; }
#brand-fallback { font-size:34px; font-weight:900; letter-spacing:-2px; background:linear-gradient(170deg,#8c26e6,#260049); color:transparent; background-clip:text; -webkit-background-clip:text; }
.brand small { display:block; margin-top:21px; font-size:6px; color:#955ec6; letter-spacing:3px; white-space:nowrap; }
.brand-message { margin-top:37px; }
.brand-message > p { font-size:9px; letter-spacing:2px; color:#5200a8; margin:0 0 12px; }
.brand-message h2 { font-size:24px; line-height:1.3; font-weight:600; letter-spacing:-.7px; margin:0; }
.brand-message h2 span { color:#5f13a8; }
.main-navigation { display:grid; gap:9px; margin-top:45px; }
.main-navigation > * { display:flex; align-items:center; gap:13px; min-height:43px; padding:8px 0; font-size:12px; text-decoration:none; color:#a374bf; border:0; background:transparent; text-align:left; line-height:1.5; }
.main-navigation > [aria-current="page"] { color:#7b27bd; }
.main-navigation svg { width:19px; height:19px; }
.inactive-nav { cursor:default; }
.main-navigation button:hover, .main-navigation a:hover { color:var(--purple); }
.sidebar-footer { margin-top:auto; padding-top:43px; font-size:10px; color:#b28bc9; line-height:1.5; }
.sidebar-footer p { border-top:1px solid var(--line); padding-top:20px; margin:18px 0 0; font-size:9px; }
.mobile-navigation { display:none; }
.studio-main { margin-left:var(--sidebar); padding:24px 32px 45px; max-width:1720px; }
.journey-header { padding-bottom:26px; }
.journey-header > div:first-child { display:flex; justify-content:space-between; color:#8f4dcc; font-size:12px; margin-bottom:10px; }
.journey-header strong { font-weight:600; }
.journey-segments { display:grid; grid-template-columns:repeat(6,1fr); gap:5px; }
.journey-segments i { height:3px; border-radius:3px; background:#e9dff3; }
.journey-segments .current { background:#8737f3; }
.journey-header > p { color:#a184b9; font-size:11px; margin:11px 0 0; }
.page-title-row { display:flex; align-items:center; gap:10px; margin:8px 0 24px; }
.page-title-row h1 { font-size:24px; font-weight:600; letter-spacing:-.6px; margin:0; }
.icon-button { border:0; color:#1e1530; background:transparent; border-radius:9px; min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:10px; font-size:28px; }
.icon-button:hover { background:#efe5fa; }
.icon-button:disabled { opacity:.4; background:transparent; }
.save-heart { margin-left:auto; }
.studio-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"preview options" "summary options"; grid-template-rows:auto 1fr; gap:18px 28px; align-items:start; }
.preview-column, .options-column { min-width:0; }
.preview-column { grid-area:preview; }
.options-column { grid-area:options; }
.design-summary { grid-area:summary; min-width:0; padding:17px 4px 0; border-top:1px solid var(--line); }
.design-summary h2 { margin:0; color:#78548e; font-size:14px; line-height:1.5; font-weight:500; }
.preview-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:1px 0 20px; }
.preview-heading h2 { margin:0; font-size:26px; font-weight:500; letter-spacing:-.6px; }
.preview-heading > span { background:#f1e9fa; border:1px solid var(--line); color:#8e64ad; font-size:10px; padding:7px 10px; border-radius:30px; flex-shrink:0; }
.preview-card { border:1px solid var(--line); border-radius:22px; padding:10px; background:#fff; overflow:hidden; }
.preview-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; }
.segmented { display:inline-flex; gap:2px; padding:3px; border-radius:11px; background:#f1e8fa; }
.segmented button { min-height:44px; min-width:49px; padding:10px 13px; border:0; border-radius:9px; background:transparent; color:#8b53b4; font-size:12px; }
.segmented button.selected { background:#7c22dc; color:white; }
.segmented button[aria-disabled="true"] { color:#ac87c4; }
.segmented button:disabled { opacity:.55; }
.preview-toolbar .segmented { flex-shrink:0; }
.preview-toolbar .segmented button { min-width:44px; padding:8px 9px; font-size:11px; }
.preview-toolbar .spin-toggle { min-width:54px; font-weight:600; }
.preview-toolbar .spin-toggle[aria-pressed="true"] { background:#7c22dc; color:#fff; }
.image-stage { position:relative; isolation:isolate; aspect-ratio:1; width:100%; border-radius:15px; overflow:hidden; background:#eee6f4; }
.image-stage canvas { position:relative; z-index:1; width:100%; height:100%; display:block; transform-origin:50% 50%; pointer-events:none; user-select:none; -webkit-user-select:none; }
.image-stage:not([data-status="ready"]) canvas { visibility:hidden; }
.stage-overlay { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:15px; padding:28px; text-align:center; background:#eee6f4; color:#8c69a2; }
.stage-overlay p { max-width:320px; margin:0; font-size:13px; line-height:1.65; }
.image-stage[data-status="ready"] .stage-overlay { display:none; }
.image-stage[data-preview-mode="spin"] { touch-action:pan-y pinch-zoom; cursor:grab; user-select:none; -webkit-user-select:none; }
.image-stage[data-preview-mode="spin"][data-dragging="true"] { cursor:grabbing; }
.image-stage[data-zoomed="true"], .image-stage[data-expanded="true"] { touch-action:none; user-select:none; -webkit-user-select:none; }
.image-stage[data-zoomed="true"] { cursor:grab; }
.image-stage[data-zoomed="true"] canvas { will-change:transform; }
.image-stage[data-zoomed="true"][data-dragging="true"] { cursor:grabbing; }
.image-stage[data-preview-mode="spin"][data-has-frame="true"][data-status="loading"] canvas { visibility:visible; }
.image-stage[data-preview-mode="spin"][data-has-frame="true"][data-status="loading"] .stage-overlay { inset:auto auto 10px 50%; width:max-content; max-width:calc(100% - 20px); transform:translateX(-50%); flex-direction:row; gap:8px; padding:8px 11px; border:1px solid #e2d2ef; border-radius:20px; background:#ffffffed; pointer-events:none; box-shadow:0 2px 12px #5733750d; }
.image-stage[data-preview-mode="spin"][data-has-frame="true"][data-status="loading"] .stage-overlay p { font-size:11px; line-height:1.4; }
.image-stage[data-preview-mode="spin"][data-has-frame="true"][data-status="loading"] .spinner { width:15px; height:15px; flex-shrink:0; }
.viewer-tools { display:grid; grid-template-columns:44px minmax(50px,1fr) 44px minmax(78px,1fr); align-items:stretch; gap:6px; padding-top:9px; }
.viewer-tool { display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:44px; padding:7px 6px; border:1px solid #e2d3ed; border-radius:10px; background:#fff; color:#7825bd; font-size:11px; line-height:1.35; }
.viewer-tool:hover:not(:disabled) { background:#f4ebfc; border-color:#be96df; }
.viewer-tool:disabled { color:#b5a4c1; background:#f8f5fb; border-color:#ece4f2; }
.viewer-tool svg { width:20px; height:20px; }
.zoom-reset { flex-direction:column; gap:1px; padding:4px 6px; }
#zoom-level { font-size:12px; font-weight:600; line-height:15px; }
.zoom-reset-label { color:#9476a4; font-size:9px; line-height:11px; }
.expand-viewer { background:#f3eafa; border-color:#ddc7ef; font-weight:600; }
.expand-viewer svg { width:18px; height:18px; }
.viewer-hint { margin:7px 2px 2px; color:#80618f; text-align:center; font-size:11px; line-height:1.5; }
.spin-feature { min-width:0; }
.spin-entry { display:flex; align-items:center; padding:8px 2px 1px; }
.spin-availability { flex:1; min-width:0; margin:0; color:#80618f; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.spin-pilot-actions { display:flex; flex-wrap:wrap; gap:6px; }
.spin-pilot-button { display:block; flex:1 1 120px; min-width:0; min-height:44px; margin:6px 0 0; padding:8px 10px; border:1px solid #ddc4f6; border-radius:10px; background:#fff; color:#7825bd; font-size:11px; line-height:1.5; }
.spin-pilot-button:hover:not(:disabled) { background:#f3eafb; }
.spin-pilot-button:disabled { opacity:.55; }
.spin-controls { margin-top:8px; padding:0 2px 2px; border-top:1px solid var(--line); }
.spin-controls > summary { display:flex; align-items:center; gap:7px; min-height:44px; padding:6px 1px; border-radius:7px; color:#80618f; font-size:11px; line-height:1.5; list-style:none; cursor:pointer; touch-action:manipulation; }
.spin-controls > summary::-webkit-details-marker { display:none; }
.spin-controls > summary > span { flex-shrink:0; }
.spin-controls > summary > svg { width:16px; height:16px; }
.spin-controls[open] > summary > svg { transform:rotate(180deg); }
.spin-angle-label { display:block; min-width:0; margin-left:auto; overflow:hidden; color:#73418f; text-align:right; text-overflow:ellipsis; white-space:nowrap; font-size:11px; font-weight:600; line-height:1.5; }
.spin-navigation { display:flex; align-items:center; width:100%; }
.spin-arrow { position:absolute; top:50%; z-index:3; width:48px; height:48px; min-width:48px; min-height:48px; padding:12px; transform:translateY(-50%); border:1px solid #e8d7f4; border-radius:50%; background:#ffffffed; color:#7825bd; box-shadow:0 3px 12px #4423651a; }
.spin-arrow:hover:not(:disabled) { background:#fff; color:#5810b5; border-color:#c8a3e9; }
.spin-arrow:disabled { background:#ffffffc9; box-shadow:none; }
#spin-previous { left:8px; }
#spin-next { right:8px; }
.image-stage:not([data-preview-mode="spin"]) .spin-arrow { display:none; }
#spin-angle { width:100%; min-width:0; height:44px; margin:0; padding:0; accent-color:var(--purple); background:transparent; cursor:ew-resize; }
#spin-angle:disabled { cursor:not-allowed; opacity:.55; }
.spin-hint { margin:2px 0 5px; color:#80618f; text-align:center; font-size:10px; line-height:1.6; }
.spinner { width:25px; height:25px; border:2px solid #dac8e8; border-top-color:#8a4fb5; border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.coverage-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 5px 7px; font-size:10px; }
.coverage-badge { display:inline-flex; align-items:center; gap:6px; color:#7839a3; font-weight:600; }
.coverage-badge::before { content:""; width:5px; height:5px; border-radius:50%; background:#9859c3; }
.coverage-badge[data-coverage="reference"] { color:#9b642d; }
.coverage-badge[data-coverage="reference"]::before { background:#bc8a4b; }
.view-label { color:#a588b9; }
.coverage-description { font-size:11px; color:#96809f; line-height:1.65; margin:0 5px 6px; }
.three-d-note { color:#8c6aa3; font-size:11px; line-height:1.5; padding:0 4px; margin:0 0 10px; }
.selection-summary { display:flex; flex-wrap:wrap; gap:7px; margin:15px 0 0; }
.selection-summary > span { font-size:10px; color:#9475a7; background:#f3ebfa; border:1px solid #eadcf6; padding:7px 9px; border-radius:6px; line-height:1.4; }
.selection-summary strong { color:#78548e; font-weight:500; }
.preview-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 20px; padding-top:11px; }
.text-button { display:inline-flex; justify-content:center; align-items:center; min-height:44px; gap:7px; border:0; background:transparent; color:#9560b9; font-size:11px; border-radius:8px; padding:8px 6px; }
.text-button svg { width:16px; height:16px; }
.text-button:hover:not(:disabled) { color:var(--purple); background:#f1e8fb; }
.text-button:disabled { color:#c0a8ce; }
.reference-fit-note { color:#ad95bd; font-size:10px; line-height:1.5; margin:6px 0 0; text-align:center; }
.section-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:0 0 23px; }
.section-tabs button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-height:70px; border:1px solid var(--line); border-radius:13px; background:#fff; color:#b18aca; font-size:10px; padding:11px 5px; line-height:1.35; }
.section-tabs button svg { width:21px; height:21px; }
.section-tabs button[aria-selected="true"] { background:#f0e6fc; border-color:#b675ff; color:#8737ec; }
.options-panel { min-width:0; }
.group-switch { display:flex; gap:6px; border-bottom:1px solid #eddef8; margin-bottom:17px; }
.group-switch button { min-height:44px; padding:10px 13px; font-size:11px; background:transparent; border:0; border-bottom:2px solid transparent; color:#a981bd; }
.group-switch button[aria-pressed="true"] { color:#7c23c9; border-bottom-color:#9a51f6; font-weight:600; }
.options-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:13px; }
.options-title h2 { margin:0; font-size:18px; font-weight:600; letter-spacing:-.3px; }
.options-title > span { color:#b092c5; font-size:10px; }
.family-note { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 11px; margin:0 0 11px; border:1px solid #efe2f8; border-radius:9px; background:#f7f1fc; font-size:10px; line-height:1.5; }
.family-note span { color:#a083b4; }
.family-note strong { text-align:right; color:#89649e; font-weight:500; }
.option-tools { display:flex; gap:8px; margin-bottom:13px; min-width:0; }
.search-field { display:flex; align-items:center; gap:8px; min-width:0; flex:1; background:#fff; border:1px solid var(--line); border-radius:10px; padding:0 11px; }
.search-field svg { width:16px; height:16px; color:#b793ce; }
.search-field input { appearance:none; min-width:0; width:100%; min-height:44px; padding:9px 0; background:transparent; border:0; color:#795191; outline-offset:0; font-size:11px; }
.search-field input::placeholder { color:#b69dc6; }
.search-field:focus-within { outline:2px solid #bb8ae9; outline-offset:1px; }
.search-field input:focus { outline:0; }
.family-filter { min-width:0; max-width:43%; }
.family-filter select { min-width:0; max-width:100%; width:100%; min-height:44px; border:1px solid var(--line); border-radius:10px; padding:8px 25px 8px 10px; background:#fff; color:#9c76b4; font-size:10px; }
.option-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; max-height:510px; overflow:auto; padding:2px 3px 4px 1px; scrollbar-width:thin; scrollbar-color:#dcc5ed transparent; scroll-padding:10px; }
.style-option { position:relative; display:flex; flex-direction:column; min-width:0; text-align:center; padding:5px; border:1px solid #e5d5f5; border-radius:13px; background:#fff; color:#50355f; cursor:pointer; }
.style-option[aria-checked="true"] { border-color:#b577ef; box-shadow:0 0 0 1px #b577ef; background:#f0e5fc; color:#8735ea; }
.style-option img { display:block; width:100%; aspect-ratio:1; object-fit:contain; background:#e4daed; border-radius:8px; }
.style-option .style-name { padding:9px 3px 5px; min-height:35px; font-size:11px; line-height:1.35; }
.style-option[aria-checked="true"] .style-name { font-weight:600; }
.style-option .style-family { font-size:8px; color:#ad8dbf; padding:0 2px 5px; line-height:1.35; }
.style-option:disabled { opacity:.5; cursor:not-allowed; }
.style-option:hover:not(:disabled) { border-color:#af7bd8; }
.style-option.no-image { justify-content:center; align-items:center; min-height:155px; }
.none-symbol { width:45px; height:45px; border:1px solid #d7bce8; border-radius:50%; position:relative; margin:20px 0 12px; }
.none-symbol::after { content:""; position:absolute; height:1px; width:42px; left:0; top:21px; background:#d7bce8; transform:rotate(-45deg); }
.current-construction { display:flex; align-items:center; justify-content:center; min-height:75px; padding:12px 5px; font-size:9px; line-height:1.5; color:#ac85c3; }
.empty-options { grid-column:1/-1; text-align:center; padding:45px 20px; color:#a28baf; font-size:12px; line-height:1.7; }
.dependent-notice { border-left:3px solid #b374e8; background:#f2e9fa; color:#86609e; font-size:11px; line-height:1.65; padding:11px 12px; margin:0 0 14px; border-radius:0 8px 8px 0; }
.option-helper { color:#ac94bc; font-size:10px; line-height:1.6; margin:11px 0 0; }
.next-step-card { display:flex; align-items:center; justify-content:space-between; gap:15px; border:1px solid #e6d2fa; border-radius:18px; padding:16px 18px; margin-top:22px; }
.next-step-card > div { display:flex; flex-direction:column; gap:7px; min-width:0; }
.next-step-card small { color:#b08fc7; font-size:10px; }
.next-step-card strong { font-size:18px; color:#271037; line-height:1.25; font-weight:600; }
.primary-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:48px; padding:12px 20px; border:0; border-radius:13px; background:linear-gradient(105deg,#922afb,#7019eb); color:#fff; font-size:12px; font-weight:600; flex-shrink:0; }
.primary-button svg { width:22px; height:22px; }
.primary-button:hover { background:linear-gradient(105deg,#8220e6,#6314d5); }
.primary-button:disabled { opacity:.5; }
.secondary-button { min-height:44px; border:1px solid #dcc2ee; background:#fff; border-radius:10px; padding:11px 16px; color:#81529e; font-size:12px; }
.design-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:5px; margin-top:10px; }
.toast { position:fixed; z-index:80; bottom:25px; left:calc(50% + var(--sidebar)/2); transform:translateX(-50%); width:max-content; max-width:min(420px,calc(100% - 32px)); border:1px solid #e3ccf4; box-shadow:0 6px 30px #5122681c; border-radius:12px; background:#fff; color:#8553a0; padding:14px 20px; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.studio-dialog { border:1px solid #e5d2f3; border-radius:22px; padding:27px; width:min(480px,calc(100% - 32px)); max-height:calc(100% - 48px); overflow:auto; overscroll-behavior:contain; color:#32203e; box-shadow:0 24px 80px #36194525; }
.studio-dialog::backdrop { background:#32213e55; backdrop-filter:blur(3px); }
.viewer-open { overflow:hidden; overscroll-behavior:none; }
.viewer-dialog { --viewer-frame-height:min(900px,calc(100vh - 32px)); --viewer-pad-top:16px; --viewer-pad-bottom:16px; position:fixed; inset:0; width:min(960px,calc(100vw - 32px)); height:var(--viewer-frame-height); max-width:none; max-height:none; margin:auto; padding:var(--viewer-pad-top) 16px var(--viewer-pad-bottom); overflow:hidden; border:1px solid #e5d2f3; border-radius:22px; background:#fbf8ff; color:#32203e; box-shadow:0 24px 80px #36194535; overscroll-behavior:contain; }
.viewer-dialog[open] { display:flex; flex-direction:column; gap:8px; }
.viewer-dialog::backdrop { background:#2810389c; backdrop-filter:blur(4px); }
.viewer-heading { display:flex; flex:0 0 44px; align-items:center; justify-content:space-between; gap:16px; min-height:44px; }
.viewer-heading h2 { margin:0; padding-left:3px; color:#68417d; font-size:17px; line-height:24px; font-weight:600; letter-spacing:-.3px; }
.viewer-heading .icon-button { width:44px; height:44px; color:#7a3da3; border:1px solid #e3d2ef; background:#f4ebfc; border-radius:13px; }
.viewer-host { display:flex; flex:1; min-width:0; min-height:0; justify-content:center; align-items:stretch; }
.viewer-dialog .preview-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; width:100%; height:100%; min-width:0; min-height:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.viewer-dialog .preview-toolbar { flex-shrink:0; width:min(100%,600px); min-height:44px; margin:0; gap:6px; }
.viewer-dialog .segmented { gap:0; padding:0; }
.viewer-dialog .preview-toolbar .segmented button { padding-left:6px; padding-right:6px; }
.viewer-dialog .image-stage { flex:0 0 auto; width:min(100%,calc(var(--viewer-frame-height) - var(--viewer-pad-top) - var(--viewer-pad-bottom) - 206px)); max-width:100%; aspect-ratio:1; margin:0; border-radius:15px; }
.viewer-dialog .viewer-tools { flex-shrink:0; grid-template-columns:44px minmax(50px,1fr) 44px; width:224px; max-width:100%; padding:0; }
.viewer-dialog .viewer-hint { flex-shrink:0; max-width:500px; min-height:32px; margin:0; font-size:11px; line-height:16px; }
.viewer-dialog .spin-feature, .viewer-dialog .three-d-note, .viewer-dialog #open-viewer { display:none; }
@supports (height:100dvh) { .viewer-dialog { --viewer-frame-height:min(900px,calc(100dvh - 32px)); } }
.studio-dialog > p, .studio-dialog form > p { color:#a086b0; font-size:12px; line-height:1.7; margin:10px 0 21px; }
.dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.dialog-heading h2 { margin:0; font-size:21px; font-weight:500; letter-spacing:-.4px; }
.dialog-heading .icon-button { margin:-10px -10px -10px 0; color:#9573aa; }
.name-field { display:flex; flex-direction:column; gap:10px; color:#8b689f; font-size:12px; }
.name-field input { border:1px solid #e2cdef; border-radius:10px; color:#623c79; font-size:14px; padding:12px; min-height:46px; width:100%; }
.dialog-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin-top:25px; }
.change-dialog { background:#fff; scroll-padding-block:20px; }
.change-dialog .dialog-heading { align-items:flex-start; gap:12px; }
.change-dialog .dialog-heading h2 { min-width:0; padding-top:6px; color:#68417d; font-size:20px; line-height:1.35; font-weight:600; }
.change-dialog .dialog-heading .icon-button { flex-shrink:0; width:44px; height:44px; margin:0; border:1px solid #e3d2ef; border-radius:12px; background:#f4ebfc; color:#7a3da3; }
.change-dialog #change-intro { margin:16px 0; color:#765a86; font-size:13px; line-height:1.7; }
.change-dialog #change-list { margin:0; padding:15px 16px 15px 33px; border:1px solid #e8d9f3; border-radius:13px; background:#f7f0fc; color:#705180; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.change-dialog #change-list:empty { display:none; }
.change-dialog #change-list li + li { margin-top:11px; }
.change-dialog #change-list li::marker { color:#9d62cf; }
.change-dialog #change-list strong { color:#683593; }
.change-dialog .dialog-actions { margin-top:20px; }
.change-dialog .dialog-actions .primary-button { width:100%; min-height:48px; }
.dialog-error { color:#a54762!important; }
.saved-list { display:grid; gap:12px; }
.saved-design { border:1px solid #e9daf5; border-radius:12px; padding:15px; display:grid; gap:10px; }
.saved-design h3 { margin:0; color:#764c8f; font-weight:500; font-size:14px; overflow-wrap:anywhere; }
.saved-design p { color:#a68bb9; font-size:10px; line-height:1.7; margin:0; }
.saved-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.saved-actions button { min-height:44px; }
.review-details { display:grid; grid-template-columns:1fr 1.2fr; gap:12px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:20px 0; font-size:12px; }
.review-details dt { color:#a187b1; }
.review-details dd { margin:0; color:#755386; }
.noscript-message { position:fixed; z-index:100; bottom:20px; left:20px; right:20px; background:#5f1ab0; color:white; padding:20px; text-align:center; border-radius:12px; }
@media (min-width:1400px) { .studio-main { padding-left:40px; padding-right:40px; } .studio-grid { gap:32px; } }
@media (max-width:1220px) { :root { --sidebar:235px; } .app-sidebar { padding:35px 31px 24px; } .studio-main { padding:22px 25px 35px; } .studio-grid { gap:20px; } .preview-heading h2 { font-size:23px; } .preview-heading > span { font-size:9px; padding:6px 8px; } .section-tabs { gap:7px; } .section-tabs button { font-size:9px; } .next-step-card { padding:14px; } .next-step-card strong { font-size:16px; } .option-tools { flex-wrap:wrap; } .family-filter { max-width:100%; width:100%; } }
@media (max-width:1030px) { :root { --sidebar:205px; } .app-sidebar { padding-left:23px; padding-right:23px; } .brand-message h2 { font-size:22px; } .main-navigation > * { font-size:11px; } .studio-main { padding-left:21px; padding-right:21px; } .preview-heading { flex-wrap:wrap; margin-bottom:13px; gap:8px; } .preview-heading h2 { font-size:22px; } .style-option .style-name { font-size:10px; } .segmented button { min-width:43px; padding:10px; font-size:11px; } .next-step-card strong { font-size:14px; } .primary-button { padding-left:16px; padding-right:16px; gap:8px; } }
@media (max-width:860px) {
  :root { --sidebar:0px; --mobile-nav-height:68px; --mobile-nav-space:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom,0px)); scroll-padding-top:18px; scroll-padding-bottom:calc(var(--mobile-nav-space) + 20px); }
  .app-sidebar { display:none; }
  .studio-main { width:100%; max-width:680px; margin:0 auto; padding:14px max(18px,env(safe-area-inset-right,0px)) calc(var(--mobile-nav-space) + 32px) max(18px,env(safe-area-inset-left,0px)); }
  .journey-header { padding-bottom:4px; }
  .journey-header > div:first-child { color:#7a548e; font-size:11px; line-height:14px; margin-bottom:8px; }
  .journey-segments { gap:5px; }
  .journey-segments i { height:3px; }
  .journey-header > p { color:#8d8597; font-size:10px; line-height:15px; margin-top:9px; }
  .page-title-row { min-height:44px; margin:0 0 13px; gap:2px; }
  .page-title-row h1 { min-width:0; font-size:20px; line-height:1.25; letter-spacing:-.55px; }
  .page-title-row > .icon-button:first-child { margin-left:-10px; }
  .page-title-row > .icon-button { flex-shrink:0; }
  .studio-grid { display:block; }
  .preview-column { display:block; }
  .preview-heading { padding:0; margin:0 0 12px; gap:10px; flex-wrap:nowrap; min-height:28px; }
  .preview-heading h2 { font-size:20px; line-height:28px; letter-spacing:-.7px; }
  .preview-heading > span { color:#80638f; background:#f2edf8; font-size:10px; line-height:14px; padding:5px 9px; }
  .preview-card { border-color:#e7dff0; border-radius:18px; padding:9px; box-shadow:0 5px 22px #6b348005; }
  .preview-toolbar { gap:9px; margin-bottom:9px; }
  .segmented { gap:0; padding:0; border-radius:11px; background:#f2ebf8; }
  .segmented button { min-width:46px; min-height:44px; padding:8px 10px; border:3px solid transparent; border-radius:12px; background-clip:padding-box; font-size:11px; color:#80618f; }
  .segmented button.selected { color:#fff; }
  .segmented button[aria-disabled="true"] { color:#80618f; }
  .image-stage { width:100%; aspect-ratio:1; margin:0; border-radius:11px; }
  .options-column { margin-top:18px; padding-top:16px; border-top:1px solid #e7deef; scroll-margin-top:18px; }
  .section-tabs { margin-bottom:18px; }
  .section-tabs button { min-height:65px; font-size:10px; }
  .option-tools { flex-wrap:wrap; }
  .search-field { flex-basis:100%; }
  .search-field input, .family-filter select, .name-field input { font-size:16px; }
  .family-filter { max-width:100%; width:100%; }
  .style-option .style-name { font-size:11px; }
  .style-option .style-family { font-size:9px; }
  .option-grid { max-height:none; overflow:visible; gap:9px; padding:2px 3px 4px 1px; }
  .next-step-card { margin-top:18px; padding:15px 16px; }
  .next-step-card strong { font-size:17px; }
  .primary-button { padding:12px 19px; }
  .design-tools .text-button { font-size:11px; }
  .design-summary { margin-top:16px; padding:18px 0 0; }
  .selection-summary { margin-top:11px; gap:6px; }
  .selection-summary > span { font-size:10px; padding:7px 9px; }
  .coverage-row { padding:14px 0 6px; font-size:10px; }
  .coverage-description { font-size:11px; margin:0; line-height:1.6; }
  .preview-actions { padding-top:9px; justify-content:space-between; gap:5px 12px; }
  .preview-actions .text-button { font-size:12px; }
  .mobile-navigation { position:fixed; inset:auto 0 0; z-index:40; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); min-height:var(--mobile-nav-space); padding:7px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px)); border:1px solid #eee7f4; border-bottom:0; border-radius:20px 20px 0 0; background:#fff; box-shadow:0 -3px 18px #50306d06; }
  .mobile-navigation > button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-width:0; min-height:54px; border:0; border-radius:12px; padding:0 1px; background:transparent; color:#8d8698; font-size:9px; line-height:12px; letter-spacing:.1px; }
  .mobile-nav-icon { display:flex; align-items:center; justify-content:center; width:42px; height:29px; border-radius:11px; }
  .mobile-nav-icon svg { width:23px; height:23px; stroke-width:1.65; }
  .mobile-navigation > [aria-current="page"] { color:#7a27ad; font-weight:600; }
  .mobile-navigation > [aria-current="page"] .mobile-nav-icon { background:#f0e2fb; }
  .mobile-navigation > button:hover { color:#7a27ad; }
  .toast { left:50%; bottom:calc(var(--mobile-nav-space) + 12px); }
  .studio-dialog { padding:22px; max-height:calc(100% - 32px); max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 32px); }
  .noscript-message { bottom:calc(var(--mobile-nav-space) + 12px); }
}
@media (max-width:360px) { .studio-main { padding-left:max(12px,env(safe-area-inset-left,0px)); padding-right:max(12px,env(safe-area-inset-right,0px)); } .preview-heading h2 { font-size:19px; } .page-title-row h1 { font-size:19px; } .preview-toolbar { gap:3px; } .preview-toolbar .segmented button { padding-left:5px; padding-right:5px; } .style-option { padding:4px; border-radius:10px; } .style-option .style-name { font-size:10px; } .style-option .style-family { font-size:8px; } .section-tabs button { font-size:9px; } .option-grid { gap:7px; } .search-field { padding:0 8px; gap:5px; } .next-step-card { gap:10px; padding:13px; } .next-step-card strong { font-size:15px; } .mobile-navigation { padding-left:3px; padding-right:3px; } .mobile-navigation > button { font-size:8px; } }
@media (max-width:860px), (max-height:600px) {
  .viewer-dialog { --viewer-frame-height:100vh; --viewer-pad-top:calc(12px + env(safe-area-inset-top,0px)); --viewer-pad-bottom:calc(12px + env(safe-area-inset-bottom,0px)); width:100vw; margin:0; padding-right:max(12px,env(safe-area-inset-right,0px)); padding-left:max(12px,env(safe-area-inset-left,0px)); border:0; border-radius:0; }
}
@supports (height:100dvh) { @media (max-width:860px), (max-height:600px) { .viewer-dialog { --viewer-frame-height:100dvh; } } }
@media (max-height:600px) and (min-width:480px) and (min-aspect-ratio:4/3) {
  .viewer-dialog .preview-card { display:grid; grid-template-columns:minmax(0,1fr) 250px; grid-template-rows:44px 44px minmax(0,1fr); grid-template-areas:"image format" "image zoom" "image hint"; column-gap:12px; row-gap:10px; justify-content:normal; align-items:start; }
  .viewer-dialog .image-stage { grid-area:image; justify-self:center; align-self:center; width:min(100%,calc(var(--viewer-frame-height) - var(--viewer-pad-top) - var(--viewer-pad-bottom) - 52px)); }
  .viewer-dialog .preview-toolbar { grid-area:format; width:100%; }
  .viewer-dialog .viewer-tools { grid-area:zoom; width:100%; }
  .viewer-dialog .viewer-hint { grid-area:hint; justify-self:center; align-self:start; min-height:0; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; } }
