[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mobile-studio-nav{display:none}.discovery-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:70px;align-items:center;padding:46px 14px 50px}.discovery-hero .eyebrow{font-size:12px;letter-spacing:.5px;color:#82729c}.discovery-hero h1{font-size:42px;line-height:1.32;letter-spacing:-1.5px;margin:16px 0 20px}.discovery-hero h1 span{color:#6a54b6}.discovery-hero p{font-size:15px;line-height:1.9;color:#7c7983;max-width:520px}.home-upload-card{display:grid;gap:12px;margin-top:26px;max-width:440px}.home-upload-card .btn{min-height:58px;font-size:16px;border-radius:13px}.home-upload-card>span{font-size:11px;color:#92909a}.home-upload-card.is-dragging{outline:3px dashed #a591e4;outline-offset:10px;border-radius:14px}.home-upload-status{font-size:12px!important;color:#866f9c!important;margin:10px 0 0;min-height:0;overflow-wrap:anywhere}.home-upload-status:empty{display:none}.home-upload-status[data-state=error]{color:#a04545!important}.home-continue{display:inline-block;margin-top:18px;font-size:13px;color:#73628f;padding:8px 0}.discovery-preview{background:#efe9f7;border-radius:30px;padding:24px 28px;transform:rotate(2deg);max-width:380px;justify-self:center;box-shadow:0 18px 50px #76638a0c}.discovery-preview-title{font-size:12px;color:#867599;font-weight:650}.discovery-preview canvas{display:block;width:100%;height:auto;image-rendering:pixelated;max-width:280px;margin:12px 0;background:radial-gradient(#d9d0e4 .8px,transparent .8px) 0 0/13px 13px}.discovery-preview>span{font-size:11px;color:#9887a6}.pattern-discovery{padding:14px 0 24px}.pattern-discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.pattern-discovery-heading h2{font-size:23px;margin:0 0 10px}.pattern-discovery-heading p{color:#8b8794;font-size:13px;margin:0}.pattern-search-label{min-width:240px;max-width:360px}.pattern-search-label input{width:100%;min-height:46px;padding:12px 16px;border:1px solid #e4dfea;border-radius:12px;background:#fff;color:#49414f;font-size:13px}.pattern-categories{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 6px}.pattern-categories button{border:1px solid #e9e4ef;background:#fff;color:#83778e;border-radius:22px;min-height:44px;padding:8px 19px;font-size:12px}.pattern-categories button[aria-pressed=true]{background:#6d59c7;color:#fff;border-color:#6d59c7}.pattern-search-status{font-size:11px;color:#99919e;min-height:18px;margin:12px 0}.pattern-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pattern-card{overflow:hidden;border:1px solid #e8e3ed;background:white;border-radius:17px;min-width:0;transition:transform .15s,box-shadow .15s}.pattern-card:hover{transform:translateY(-3px);box-shadow:0 8px 28px #5c467c0c}.pattern-card-image{background:#f4f0f7;aspect-ratio:1.28;display:flex;align-items:center;justify-content:center}.pattern-card:nth-child(3n+2) .pattern-card-image{background:#edf4ef}.pattern-card:nth-child(3n) .pattern-card-image{background:#fbf1e6}.pattern-card canvas{display:block;width:66%;max-width:230px;height:auto;image-rendering:pixelated}.pattern-card-info{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 18px}.pattern-card h3{font-size:15px;margin:0 0 4px}.pattern-card-info p{font-size:11px;color:#99929e;margin:0}.pattern-card .btn{min-height:44px;padding:8px 13px;font-size:12px;background:#f1ebfa;color:#715ba0;box-shadow:none}.home-secondary-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:10px 0 34px}.home-secondary-links a{padding:22px;border:1px solid #e7e1ed;background:#fff;border-radius:13px;min-height:90px}.home-secondary-links strong{display:block;font-size:13px;color:#72617f;margin-bottom:6px}.home-secondary-links span{font-size:12px;color:#a195ad}.studio-shell-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 0 8px;grid-column:1/-1}.studio-shell-toolbar a{font-size:12px;color:#8b7a9d;display:inline-block;padding:8px 0}.studio-shell-toolbar h1{font-size:24px;line-height:1.4;margin:3px 0 8px}.studio-shell-toolbar p{font-size:12px;color:#8e8499;margin:0;overflow-wrap:anywhere}.studio-shell-actions{display:flex;gap:9px;flex-wrap:wrap}.studio-shell-actions .btn{min-height:44px;font-size:12px;white-space:normal}.studio-shell-actions [aria-pressed=true]{background:#f0eafd;border-color:#af9ada;color:#685293}.quick-adjust-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.quick-adjust-footer .btn{min-height:44px}.simple-workspace-links{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.simple-workspace-links a{padding:10px 14px;background:#f4f0fa;color:#7a6697;border-radius:8px;font-size:12px;min-height:44px;display:flex;align-items:center}.quick-preset-extras{padding:13px 0}.quick-preset-extras>label{margin-top:6px}
body[data-studio-page=home] #studioWorkspace{display:none}body:not([data-studio-page=home]) #discoveryHome{display:none}body[data-studio-page=home] #saveProjectBtn{display:none}body[data-studio-mode=simple][data-studio-page=editor] #studioWorkspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}body[data-studio-mode=simple][data-studio-page=editor] #creationSettings{grid-column:1;grid-row:2;padding:20px;margin:0}body[data-studio-mode=simple][data-studio-page=editor] #editor{grid-column:2;grid-row:2;display:block;margin:0;min-width:0}body[data-studio-mode=simple] #editor>.left-rail,body[data-studio-mode=simple] #editor>.right-rail{display:none}body[data-studio-mode=simple] .generation-layout{display:flex;flex-direction:column;gap:14px}body[data-studio-mode=simple] .generation-column{padding:0;border:0}body[data-studio-mode=simple] .generation-column h3,body[data-studio-mode=simple] .generation-heading .canvas-label,body[data-studio-mode=simple] .generation-heading>a,body[data-studio-mode=simple] #generationAppliedSummary,body[data-studio-mode=simple] #generationPendingSummary,body[data-studio-mode=simple] .generation-view,body[data-studio-mode=simple] .generation-help:not(#paletteTypeNote),body[data-studio-mode=simple] .making-save-note,body[data-studio-mode=simple] .generation-result h3,body[data-studio-mode=simple] .reference-palette>p,body[data-studio-mode=simple] .reference-palette>strong,body[data-studio-mode=simple] .generation-palette-details,body[data-studio-mode=simple] .palette-import,body[data-studio-mode=simple] .generation-advanced{display:none}body[data-studio-mode=simple] .generation-heading h2{font-size:16px;margin:0 0 6px}body[data-studio-mode=simple] .generation-heading p{font-size:11px}body[data-studio-mode=simple] .generation-result{background:none;padding:0}body[data-studio-mode=simple] .generation-state{padding:10px;background:#f8f5fd;font-size:11px}body[data-studio-mode=simple] .generation-state-message{font-size:11px;margin:4px 0 0}body[data-studio-mode=simple] #generationStateTitle{font-size:12px}body[data-studio-mode=simple] .reference-palette{padding:0;margin:0;border:0;background:none}body[data-studio-mode=simple] #useArtkalMBtn{min-height:44px;font-size:11px;margin-top:8px;padding:8px}body[data-studio-mode=simple] #compositionPanel{display:none}body[data-studio-mode=simple][data-adjustments=open] #compositionPanel{display:block;grid-column:1/-1;grid-row:3;margin:0}body[data-studio-mode=simple] #clarityPanel{grid-column:1/-1}body[data-studio-mode=simple][data-studio-page=editor] #assemblyPanel,body[data-studio-mode=simple][data-studio-page=editor] #projects,body[data-studio-mode=simple][data-studio-page=editor] #orders{display:none}body[data-studio-mode=simple][data-studio-page=projects] #studioWorkspace>section:not(#projects),body[data-studio-mode=simple][data-studio-page=projects] #editor{display:none}body[data-studio-mode=simple][data-studio-page=making] #studioWorkspace>section:not(#assemblyPanel),body[data-studio-mode=simple][data-studio-page=making] #editor{display:none}body[data-studio-mode=simple]:not([data-studio-page=editor]) #toggleAdjustmentsBtn,body[data-studio-mode=simple]:not([data-studio-page=editor]) #changeSourceBtn{display:none}body[data-studio-mode=simple] .canvas-actions,body[data-studio-mode=simple] .view-mode-row,body[data-studio-mode=simple] #viewModeHint{display:none}body[data-studio-mode=simple] #patternPanel{padding:22px}body[data-studio-mode=simple] .canvas-stage{min-height:200px;max-height:560px}body[data-studio-mode=simple] .canvas-inner{max-width:540px}body[data-studio-mode=simple] .canvas-bottom{gap:14px;flex-wrap:wrap}body[data-studio-mode=simple] .export-actions .btn{min-height:44px}body[data-studio-mode=full] #studioWorkspace{display:block}body[data-studio-mode=full] .simple-workspace-links{display:none}
@media(max-width:1000px){.discovery-hero{gap:30px;padding:34px 0}.discovery-hero h1{font-size:34px}.discovery-preview{padding:20px;max-width:280px}.pattern-library{gap:15px}.pattern-card-info{padding:14px}.pattern-card h3{font-size:14px}.site-header nav{gap:20px}}
@media(max-width:760px){.mobile-studio-nav{display:flex;gap:7px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e9e4ee}.mobile-studio-nav a{font-size:12px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:8px;flex:1;color:#8c7b99}.mobile-studio-nav a[aria-current=page]{background:#eee8f8;color:#6b4f99}.discovery-hero{grid-template-columns:1fr;gap:24px;padding:30px 0 22px}.discovery-hero h1{font-size:31px;line-height:1.35;letter-spacing:-.7px;margin:12px 0}.discovery-hero p{font-size:13px;line-height:1.8}.discovery-hero .eyebrow{font-size:10px}.home-upload-card{margin-top:18px;max-width:none}.home-upload-card .btn{font-size:14px;min-height:52px}.home-upload-card>span{font-size:10px}.discovery-preview{display:none}.pattern-discovery{padding-top:20px}.pattern-discovery-heading{gap:16px}.pattern-discovery-heading h2{font-size:20px}.pattern-discovery-heading p{font-size:12px}.pattern-search-label{width:100%;max-width:none;min-width:0}.pattern-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pattern-categories{gap:7px;margin-top:18px}.pattern-categories button{padding:8px 13px;font-size:11px}.pattern-card-image{aspect-ratio:1.12}.pattern-card-info{display:block;padding:12px}.pattern-card h3{font-size:14px}.pattern-card-info p{font-size:10px}.pattern-card .btn{width:100%;margin-top:10px;font-size:11px}.home-secondary-links{grid-template-columns:1fr;gap:10px}.home-secondary-links a{padding:17px 19px;min-height:75px}.studio-shell-toolbar{align-items:flex-start;flex-direction:column;gap:10px;padding:15px 0 2px}.studio-shell-toolbar h1{font-size:22px}.studio-shell-actions{width:100%;gap:6px}.studio-shell-actions .btn{flex:1;padding:8px;font-size:11px}body[data-studio-mode=simple][data-studio-page=editor] #studioWorkspace{grid-template-columns:1fr;gap:15px}body[data-studio-mode=simple][data-studio-page=editor] #editor{grid-column:1;grid-row:2}body[data-studio-mode=simple][data-studio-page=editor] #creationSettings{grid-column:1;grid-row:3;padding:18px}body[data-studio-mode=simple][data-adjustments=open] #compositionPanel{grid-row:4}body[data-studio-mode=simple] .generation-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}body[data-studio-mode=simple] .generation-result{grid-column:1/-1}body[data-studio-mode=simple] .generation-result .btn{margin-top:8px}body[data-studio-mode=simple] #generationResultColumn #generationState{padding:10px}body[data-studio-mode=simple] #patternPanel{padding:16px}body[data-studio-mode=simple] .canvas-stage{max-height:410px;min-height:180px}body[data-studio-mode=simple] .canvas-display{gap:14px}body[data-studio-mode=simple] .canvas-display label{min-height:36px}body[data-studio-mode=simple] .canvas-topbar h2{font-size:16px}.quick-adjust-footer{flex-wrap:wrap}.quick-adjust-footer .btn{flex:1;font-size:12px}}
body[data-studio-page=home] #studioWorkspace{display:none!important}body[data-studio-mode=simple] [data-simple-hidden]{display:none}body[data-studio-page=home] #discoveryHome{display:block}body[data-studio-mode=simple] #generationSizeColumn,body[data-studio-mode=simple] #generationPaletteColumn{border:0;padding-bottom:0}body[data-studio-mode=simple] #useArtkalMBtn::before{content:'Artkal M · 2.6mm / '}.mobile-studio-nav a{min-width:0}body[data-studio-mode=simple] #beadCanvas{pointer-events:none}
@media(prefers-reduced-motion:reduce){.pattern-card{transition:none}.pattern-card:hover{transform:none}}
.photo-quality{border:1px solid #e8e1f0;border-radius:12px;background:#faf8fd;padding:14px;margin:0 0 16px}.photo-quality[hidden],.photo-source-preview[hidden]{display:none}.photo-quality-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:12px}.photo-quality-heading .btn{font-size:11px;min-height:36px;padding:7px 10px}.photo-quality-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.photo-quality-choices button{min-height:56px;border:1px solid #e1dbe9;border-radius:8px;background:#fff;color:#746a83;padding:8px 4px;cursor:pointer}.photo-quality-choices button strong,.photo-quality-choices button span{display:block}.photo-quality-choices button span{font-size:10px;margin-top:4px}.photo-quality-choices button[aria-pressed=true]{border-color:#9172be;background:#eee7fa;color:#6a4b93;box-shadow:inset 0 0 0 1px #9172be}.photo-quality-choices button:disabled{opacity:.6;cursor:wait}.photo-quality p{font-size:11px;line-height:1.7;color:#8b8097;margin:10px 0 0}.canvas-stage.is-comparing{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:16px}.canvas-stage.is-comparing .canvas-inner{width:100%!important;min-width:0}.photo-source-preview{min-width:0;position:relative}.photo-source-preview span{position:absolute;top:6px;left:6px;font-size:10px;background:#ffffffdf;color:#665a77;padding:4px 6px;border-radius:5px}.photo-source-preview canvas{display:block;width:100%;height:auto;background:repeating-conic-gradient(#eee 0% 25%,white 0% 50%) 50%/12px 12px}@media(max-width:760px){.canvas-stage.is-comparing{gap:8px;padding:10px 8px}.photo-quality{padding:12px}.photo-source-preview span{font-size:8px;top:3px;left:3px;padding:3px}}

body[data-studio-mode=simple] .generation-column{min-width:0}body[data-studio-mode=simple] .reference-palette .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}body[data-studio-mode=simple] #paletteSelect{min-width:0;max-width:100%}

.photo-style-choices{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.photo-style-choices button{flex:1;min-width:90px;min-height:44px;background:white;border:1px solid #ddd3eb;border-radius:8px;color:#7a6b8d;padding:8px;font-size:11px;cursor:pointer}.photo-style-choices button[aria-pressed=true]{background:#eee7fa;color:#674390;border-color:#977cba}.photo-style-choices button:disabled{opacity:.6;cursor:wait}

.ai-redraw-dialog{width:min(94vw,620px);max-height:90vh;overflow:auto;border:1px solid #ddd2ed;border-radius:18px;padding:24px;color:#50445e}.ai-redraw-dialog::backdrop{background:#30213b88}.ai-redraw-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.ai-redraw-heading h2{font-size:20px;margin:0}.ai-redraw-dialog p{font-size:12px;line-height:1.9;color:#81718d}.ai-redraw-dialog>label{display:block;font-size:13px;margin:14px 0 8px}.ai-redraw-dialog .ai-redraw-consent{display:flex;gap:8px;line-height:1.8;align-items:flex-start}.ai-redraw-consent input{margin-top:5px}.ai-redraw-dialog .btn{min-height:44px}.ai-redraw-dialog figure{margin:16px 0}.ai-redraw-dialog img{max-width:100%;max-height:380px;display:block;margin:auto}.ai-redraw-dialog figcaption{text-align:center;font-size:12px;color:#927da2;margin-top:6px}.ai-redraw-note{border-top:1px solid #eee5f4;padding-top:12px}

.save-project-dialog { width: min(94vw, 540px); max-height: 90vh; overflow: auto; padding: 24px; border: 3px solid #3b2e51; border-radius: 5px; color: #3b2e51; }
.save-project-dialog::backdrop { background: #30213b88; }
.save-project-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.save-project-heading h2 { font-size: 20px; margin: 0; }
.save-project-heading .btn { min-height: 44px; font-size: 12px; }
.save-project-dialog p { font-size: 13px; line-height: 1.8; color: #746580; }
.save-project-dialog > p { margin: 18px 0; }
.save-choice { display: block; width: 100%; text-align: left; white-space: normal; padding: 16px; margin: 12px 0; }
.save-choice strong, .save-choice span { display: block; }
.save-choice strong { font-size: 15px; margin-bottom: 6px; }
.save-choice span { font-size: 12px; line-height: 1.7; font-weight: 400; }
.photo-quality-choices .photo-plan-preview { display: block; width: min(100%, 110px); aspect-ratio: 1; height: 90px; object-fit: contain; image-rendering: pixelated; margin: 8px auto; background: #fff; }
.photo-quality-choices .photo-plan-metrics { color: #4d3f5c; font-size: 12px; font-weight: 650; line-height: 1.5; }
.photo-quality-choices button { padding: 12px 7px; }
.creator-flow { display: flex; gap: 10px; grid-column: 1 / -1; margin: 7px 0 17px; }
.creator-flow a { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 1px solid #d3c2e3; background: #fffdf5; border-radius: 4px; font-size: 12px; color: #685077; }
.creator-flow b { color: #805aa7; font-family: ui-monospace, monospace; }
body[data-studio-mode=simple] .creator-flow { grid-row: 2; }
body[data-studio-mode=simple][data-studio-page=editor] #creationSettings,
body[data-studio-mode=simple][data-studio-page=editor] #editor { grid-row: 3; }
body[data-studio-mode=simple][data-adjustments=open] #compositionPanel { grid-row: 4; }
body:not([data-studio-page=editor]) .creator-flow { display: none; }
.pattern-extra-tools { margin: 12px 0; border-top: 1px solid #e6dfee; font-size: 12px; }
.pattern-extra-tools > summary { cursor: pointer; min-height: 44px; padding: 12px 0; color: #76528e; font-weight: 650; }
.pattern-extra-tools[open] > summary { margin-bottom: 7px; }
.pattern-export-panel { margin-top: 14px; padding-top: 4px; border-top: 1px solid #e6dfee; scroll-margin-top: 14px; }
.pattern-export-panel h3 { font-size: 15px; margin: 14px 0 0; }
.pattern-export-panel .export-actions .btn { min-width: 0; white-space: normal; margin-top: 0; }
.preview-save-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.preview-save-actions .btn, .preview-save-actions a { min-height: 44px; font-size: 12px; }
.preview-save-actions a { display: inline-flex; align-items: center; color: #795893; }
.preview-storage-note { font-size: 11px; color: #7b6b85; line-height: 1.7; margin: 12px 0 0; }
body[data-studio-mode=full] .simple-workspace-more { display: none; }
@media (max-width: 760px) {
  .photo-quality-choices .photo-plan-preview { height: 62px; margin: 7px auto; }
  .photo-quality-choices .photo-plan-metrics { font-size: 11px; }
  .creator-flow { gap: 5px; margin: 0; }
  .creator-flow a { gap: 4px; padding: 8px 4px; font-size: 10px; }
  body[data-studio-mode=simple][data-studio-page=editor] #creationSettings { grid-row: 4; }
  body[data-studio-mode=simple][data-studio-page=editor] #editor { grid-row: 3; }
  body[data-studio-mode=simple][data-adjustments=open] #compositionPanel { grid-row: 5; }
  body[data-studio-mode=simple] .canvas-stage { max-height: 340px; }
  .pattern-export-panel .export-actions { grid-template-columns: 1fr; gap: 10px; }
  .pattern-export-panel h3 { font-size: 14px; }
}

.conversion-examples { margin: 24px 0 30px; padding: 24px; background: #fff; border: 2px solid #d9c9e8; border-radius: 6px; }
.conversion-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.conversion-heading h2 { font-size: 23px; margin: 0 0 8px; }
.conversion-heading p, .example-ai-details > p { font-size: 13px; line-height: 1.8; color: #756780; margin: 0; }
.conversion-heading .btn { flex-shrink: 0; min-height: 44px; }
.example-pair, .example-trio { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.example-trio { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 16px; }
.conversion-examples figure { margin: 0; min-width: 0; background: #f7f3fc; border: 1px solid #e3d8ed; border-radius: 4px; overflow: hidden; }
.conversion-examples img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
.conversion-examples .example-pixel { image-rendering: pixelated; }
.conversion-examples figcaption { display: grid; gap: 5px; padding: 13px 14px; }
.conversion-examples figcaption strong { font-size: 14px; }
.conversion-examples figcaption span, .example-caption { font-size: 12px; color: #756780; line-height: 1.8; }
.example-caption { margin: 12px 0 0; }
.example-caption a { color: #6741ad; text-decoration: underline; }
.example-ai-details { border-top: 1px dashed #d3c2e3; margin-top: 18px; padding-top: 6px; }
.example-ai-details summary { cursor: pointer; min-height: 44px; padding: 14px 0; font-size: 13px; font-weight: 650; color: #70508e; }
@media (max-width:760px) {
  .conversion-examples { padding: 16px; }
  .conversion-heading { display: block; }
  .conversion-heading h2 { font-size: 20px; }
  .conversion-heading .btn { margin-top: 12px; }
  .example-pair, .example-trio { gap: 8px; }
  .example-trio { grid-template-columns: 1fr; }
  .example-trio figure { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; }
  .conversion-examples figcaption { padding: 9px; }
  .conversion-examples figcaption strong { font-size: 12px; }
  .conversion-examples figcaption span { font-size: 11px; }
}

.preview-zoom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  color: #82728f;
}
.preview-zoom-controls > div { display: flex; align-items: center; gap: 6px; }
.preview-zoom-controls .btn { min-height: 44px; min-width: 44px; padding: 8px 12px; font-size: 12px; }
.preview-zoom-controls output { min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.canvas-stage.is-zoomed { justify-content: flex-start; align-items: flex-start; height: 560px; }
.canvas-stage.is-zoomed .canvas-inner { flex-shrink: 0; }
.png-export-choice { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; font-size: 12px; color: #82728f; }
.png-export-choice select { flex: 1; min-width: 200px; min-height: 44px; width: auto; }
body[data-studio-mode=simple] .view-mode-row { display: flex; flex-wrap: wrap; gap: 10px; }
body[data-studio-mode=simple] #viewModeHint { display: block; }
body[data-studio-mode=simple] .view-mode-tab { min-height: 44px; padding: 8px 14px; font-size: 12px; }
body[data-studio-mode=simple][data-studio-page=editor] #editor > .right-rail { display: block; margin-top: 16px; }
body[data-studio-mode=simple] .right-rail > section:not(.stats-panel) { display: none; }
body[data-studio-mode=simple] .stats-panel .color-list { max-height: 280px; overflow-y: auto; }
body[data-studio-mode=simple] .stats-panel .text-button { min-height: 44px; }
body[data-studio-mode=simple] .stats-panel .color-name { overflow-wrap: anywhere; }
@media (min-width: 1200px) {
  body[data-studio-mode=simple][data-studio-page=editor] #editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: start;
  }
  body[data-studio-mode=simple][data-studio-page=editor] #editor > .right-rail { margin-top: 0; }
  body[data-studio-mode=simple] .stats-panel { padding: 18px; }
  body[data-studio-mode=simple] .stats-panel .stats-grid { grid-template-columns: 1fr; }
  body[data-studio-mode=simple] .stats-panel .color-item { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 6px; }
  body[data-studio-mode=simple] .stats-panel .color-dot { grid-column: 1; grid-row: 1 / 3; }
  body[data-studio-mode=simple] .stats-panel .color-name { grid-column: 2; grid-row: 1; }
  body[data-studio-mode=simple] .stats-panel .color-id { grid-column: 2; grid-row: 2; }
  body[data-studio-mode=simple] .stats-panel .color-count { grid-column: 3; grid-row: 1 / 3; white-space: nowrap; }
}
@media (max-width: 760px) {
  .canvas-stage.is-zoomed { height: 410px; }
  .preview-zoom-controls { font-size: 11px; }
  body[data-studio-mode=simple] .view-mode-tabs { width: 100%; }
  body[data-studio-mode=simple] .view-mode-tab { padding: 8px 10px; font-size: 11px; }
  .png-export-choice { display: block; }
  .png-export-choice select { width: 100%; margin-top: 7px; min-width: 0; }
}
