body{font-size:1rem;font-weight:400}button,input,textarea{font-family:inherit}a:focus-visible,button:focus-visible{outline-color:var(--primary)}.topbar{display:block;padding:0;min-height:0;background:#fff;border-bottom:1px solid var(--border)}.topbar-inner{max-width:1440px;margin-inline:auto;padding:20px 64px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{gap:10px;font-size:1.5rem;font-weight:650;letter-spacing:-.05em;white-space:nowrap}.brand-mark{grid-template-columns:repeat(2,12px);gap:4px}.brand-mark i{width:12px;height:12px;border-width:3px;border-color:var(--primary)}.brand-mark i:nth-child(2){border-color:#ef917d}.brand-mark i:nth-child(3){border-color:var(--build)}.brand-mark i:nth-child(4){border-color:#72b7a2}.main-tabs{height:auto!important;gap:6px!important}.main-tabs [data-slot=tabs-trigger]{min-height:44px;padding:10px 18px;gap:8px;font-size:.9375rem;font-weight:500;color:var(--muted-foreground);border:0;border-radius:12px}.main-tabs [data-active]{background:var(--secondary)!important;color:var(--primary)!important}.nav-count{color:var(--primary);background:#dde6ff;font-size:.75rem;min-width:20px}.account-button{min-height:44px;border-color:var(--border);background:#fff;color:var(--foreground);font-size:.875rem;font-weight:500}.account-button:hover{background:var(--muted)}main{padding:40px 64px 48px}.page-heading{align-items:center;margin-bottom:28px;gap:24px}.page-heading h1{font-size:clamp(1.75rem,2.7vw,2.25rem);line-height:1.17;font-weight:600;letter-spacing:-.045em}.page-heading h1 span{color:inherit}.local-note{color:var(--muted-foreground);font-size:.8125rem;padding-bottom:0}.local-note>span{background:#72b7a2}.workspace{grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start}.control-panel,.pattern-panel{border:1px solid var(--border);border-radius:20px;box-shadow:none}.control-panel{padding:24px}.idea-toggle{display:none}.idea-controls{display:flex;flex-direction:column}.panel-heading{gap:10px;margin-bottom:20px}.panel-heading>svg{width:20px;height:20px;padding:0;color:var(--primary)}.panel-heading h2{font-size:1.25rem;font-weight:600;letter-spacing:-.025em}.field-label{font-size:.875rem;font-weight:500;margin-bottom:10px}textarea{min-height:104px;font-size:1rem;line-height:1.5;font-weight:400;padding:14px;border:1px solid var(--input);border-radius:12px;background:#fafbfc}textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--secondary)}textarea::placeholder{color:var(--muted-foreground)}.prompt-ideas{margin:6px 0 20px}.prompt-ideas-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px;color:var(--muted-foreground);font-size:.875rem}.prompt-ideas-heading>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 0 8px 8px;border-radius:10px;color:var(--primary);font-weight:500}.prompt-ideas-heading>button:hover:not(:disabled){color:var(--primary-hover)}.prompt-ideas button:disabled{opacity:.5}.suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.suggestions button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 8px;line-height:1.4;border:1px solid var(--border);border-radius:10px;color:var(--foreground);background:var(--muted);font-size:.875rem;font-weight:500;transition:background .15s ease,border-color .15s ease}.suggestions button:hover:not(:disabled),.suggestions button[aria-pressed=true]{background:var(--secondary);border-color:#bdccf8;color:var(--primary)}.primary-button{min-height:50px;height:auto;padding:13px 16px;font-size:1rem;font-weight:500;border:1px solid transparent;border-radius:12px;background:var(--primary);color:#fff;box-shadow:none;transition:background .15s ease}.primary-button:hover:not(:disabled){background:var(--primary-hover)}.primary-button:active:not(:disabled){transform:translateY(1px)}.primary-button svg{width:18px;height:18px}.generation-mode{margin-top:12px;font-size:.8125rem;line-height:1.5;color:var(--muted-foreground)}.generation-feedback{border-radius:12px}.panel-divider{background:var(--border);margin:24px 0 20px}.section-heading h3{font-size:.875rem;font-weight:600}.section-heading>span{font-size:.8125rem;color:var(--muted-foreground)}.supply-card{min-height:64px;padding:12px;border:1px solid var(--border);border-radius:12px;gap:10px}.supply-card:hover{border-color:#bdccf8;background:#fafbfc}.supply-card strong{font-size:.875rem;font-weight:500}.supply-card small{font-size:.8125rem}.supply-card small,.supply-card>svg{color:var(--muted-foreground)}.board-icon{width:36px;height:36px;flex-shrink:0;border-radius:10px;background:var(--secondary);color:var(--primary)}.swatch-strip{flex-wrap:nowrap;align-items:center;gap:3px;padding-bottom:16px}.swatch-strip>span{flex:0 1 10px;min-width:0;width:10px;height:auto;aspect-ratio:1}.scan-button{min-height:44px;border:1px dashed var(--input);border-radius:12px;background:#fff;color:var(--primary);font-size:.875rem;font-weight:500}.scan-button:hover{background:var(--secondary)}.pattern-editor{display:flex;flex-direction:column}.pattern-heading{gap:16px;padding:22px 26px}.pattern-heading>div{min-width:0}.pattern-heading .eyebrow{font-size:.875rem;font-weight:400;letter-spacing:0;color:var(--muted-foreground)}.pattern-heading h2{flex-wrap:wrap;gap:9px;font-size:1.5rem;font-weight:600;line-height:1.25;letter-spacing:-.03em;margin-top:6px}.pattern-title-button{overflow-wrap:anywhere}.pill{border-radius:7px;padding:4px 8px;background:var(--success-soft);border-color:#dcebe1;color:var(--success);font-size:.75rem;font-weight:500}.icon-button{width:44px;height:44px;border:1px solid var(--border);border-radius:12px;color:var(--muted-foreground);flex-shrink:0}.icon-button.is-saved{background:#fff0f5;border-color:#f2cbdf;color:#af396a}.canvas-area{flex:1;min-height:468px;padding:40px 60px 36px;background:var(--muted)}.board-wrap{width:min(100%,560px);transform:none;filter:drop-shadow(0 4px 10px #24262b06)}.canvas-badge{top:16px;left:20px;border-color:#e0e5e2;background:#fff;color:var(--success);font-size:.8125rem;font-weight:500;padding:6px 10px}.canvas-tools{top:16px;right:14px;padding:3px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:none}.canvas-tools button{width:40px;height:44px;border-radius:9px;color:var(--muted-foreground)}.canvas-tools button>svg{width:18px;height:18px}.canvas-tools button:hover{background:var(--secondary);color:var(--primary)}.canvas-tools>span{background:var(--border)}.board-caption{color:var(--muted-foreground);font-size:.8125rem;font-weight:400;letter-spacing:0}.pattern-bottom{padding:20px 24px;gap:16px}.bead-summary strong{font-size:.9375rem;font-weight:600}.bead-summary small{font-size:.875rem;color:var(--muted-foreground)}.make-button{min-height:48px;height:auto;gap:18px;padding:12px 20px;border:1px solid transparent;border-radius:12px;background:var(--build);color:var(--foreground);box-shadow:none;font-size:1rem;font-weight:600}.make-button:hover:not(:disabled){background:var(--build-hover)}.make-button:active:not(:disabled){transform:translateY(1px)}.edit-toolbar{padding:12px 18px;gap:8px}.edit-toolbar button{min-height:44px;justify-content:center;flex:1;padding:8px;border:1px solid transparent;border-radius:10px;background:#fff;color:var(--muted-foreground);font-size:.875rem;font-weight:500}.edit-toolbar button>svg{width:18px;height:18px}.edit-toolbar .selected,.edit-toolbar button:hover{border-color:#bdccf8;background:var(--secondary);color:var(--primary)}.brush-panel{padding-top:8px}.brushes{gap:12px}.brushes button{width:44px;height:44px}.brushes .selected{outline-color:var(--primary)}.helper{font-size:.875rem;color:var(--muted-foreground)}.inspiration{margin-top:40px}.inspiration-heading{margin-bottom:20px}.inspiration-heading h2{font-size:1.5rem;font-weight:600;letter-spacing:-.03em}.inspiration-heading p{color:var(--muted-foreground);font-size:1rem}.inspiration-heading>span{color:var(--muted-foreground);font-size:.875rem;font-weight:400;gap:8px}.inspiration-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.inspiration-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;border-radius:16px;background:transparent;box-shadow:none}.inspiration-card:hover:not(:disabled){transform:translateY(-2px);box-shadow:none}.mini-pattern{display:grid;place-items:center;width:100%;height:auto;aspect-ratio:1.12;border:1px solid transparent;border-radius:16px;background:var(--muted);transition:border-color .15s ease}.inspiration-card:hover:not(:disabled) .mini-pattern{border-color:#bdccf8}.inspiration-thumbnail{width:90%;height:90%}.inspiration-card-copy{padding:12px 0 8px}.inspiration-card h3{font-size:.9375rem;line-height:1.4;font-weight:500}.inspiration-card span{font-size:.8125rem;color:var(--muted-foreground);line-height:1.5}.inspiration-card>svg{display:none}.inspiration-more{color:var(--muted-foreground);margin-top:28px}.inspiration-more button{min-height:44px;height:auto;padding:10px 18px;border:1px solid var(--border);border-radius:12px;background:#fff;font-size:.9375rem;font-weight:500;color:var(--primary)}.generation-loading{background:var(--muted)}.loading-copy h2{color:var(--foreground);font-weight:600}.loading-prompt{font-size:1rem}.loading-patience,.loading-prompt,.loading-supplies{color:var(--muted-foreground)}.loading-supplies{border-color:var(--border);font-size:.875rem}.loading-pegboard{background:#fff;border-color:var(--border);box-shadow:0 12px 30px -16px #24262b25}.loading-peg:before{background:#d9dce1}.loading-bead:after{background:#fff}.saved-card{border-radius:20px;border-width:1px;box-shadow:none}.saved-card h2{font-size:1.25rem;font-weight:600}.empty-state,.saved-card-open>svg{background:var(--muted)}.empty-state>svg{color:var(--primary)}.empty-state p,.saved-card p,.saved-card span{color:var(--muted-foreground)}.empty-state h2{font-weight:600}.pattern-heading-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.history-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--muted-foreground);font-size:.875rem;font-weight:500;white-space:nowrap}.history-button:hover{color:var(--primary);background:var(--secondary);border-color:#d3defc}.history-button>span{color:var(--primary);font-size:.75rem}.library-filters{display:flex;flex-wrap:wrap;gap:8px}.library-filters>button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--muted-foreground);font-size:.9375rem;font-weight:500}.library-filters>button[aria-pressed=true]{background:var(--secondary);color:var(--primary);border-color:#d3defc}.library-filters>button>span{font-size:.8125rem;opacity:.8}.library-note{max-width:720px;margin:16px 0 28px;font-size:.9375rem;line-height:1.6;color:var(--muted-foreground)}.library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.library-card{position:relative;min-width:0;border:1px solid var(--border);border-radius:18px;background:#fff}.library-card:focus-within,.library-card:hover{border-color:#c9d5f6}.library-card-open{display:block;width:100%;height:100%;border:0;border-radius:inherit;background:transparent;color:var(--foreground);text-align:left;overflow:hidden}.library-picture{aspect-ratio:1.1;padding:42px 24px 22px;background:var(--muted)}.library-picture>svg{width:100%;height:100%}.library-card-copy{padding:18px}.library-card h2{font-size:1.125rem;line-height:1.35;font-weight:600;letter-spacing:-.025em;overflow-wrap:anywhere}.library-card-details,.library-prompt{font-size:.875rem;line-height:1.5;margin-top:8px;color:var(--muted-foreground)}.library-prompt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.library-card time,.library-date{display:block;font-size:.75rem;color:var(--muted-foreground);margin-top:14px}.library-bookmark{position:absolute;top:10px;right:10px;background:#fff}.library-current{position:absolute;top:17px;left:14px;display:flex;align-items:center;gap:4px;font-size:.75rem;color:var(--success);pointer-events:none}.guide-panel [data-slot=tabs-list]{height:auto}.guide-panel [data-slot=tabs-trigger],.row-picker button{min-height:44px;font-size:.9375rem}.guide-colours button{min-height:64px;border-radius:12px;border-color:var(--border)}.guide-colours button.selected,.row-picker button.selected{border-color:var(--primary);background:var(--secondary)}.check-label,.guide-colours span{font-size:.875rem}.guide-colours small{font-size:.8125rem;color:var(--muted-foreground)}.row-picker button{background:#fff;border-color:var(--border)}.text-button{color:var(--primary);min-height:44px;font-size:.875rem}footer{padding:20px max(24px,calc((100% - 1312px) / 2));border-color:var(--border);color:var(--muted-foreground);font-size:.875rem;align-items:center;gap:16px}footer button{min-height:44px;font-size:.875rem}@media (max-width:1200px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar-inner{gap:12px}.topbar-inner,main{padding-inline:28px}.main-tabs [data-slot=tabs-trigger]{padding-inline:12px}.workspace{grid-template-columns:280px minmax(0,1fr);gap:20px}.control-panel{padding:20px}.inspiration-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.edit-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.topbar-inner{flex-wrap:wrap;gap:12px}.topbar-inner>[data-slot=tabs]{width:100%;order:3}.main-tabs{width:100%}.main-tabs [data-slot=tabs-trigger]{flex:1}main{padding:28px 24px 36px}.workspace{grid-template-columns:260px minmax(0,1fr);gap:16px}.pattern-bottom{flex-wrap:wrap}.make-button{width:100%;justify-content:center}.pattern-heading{padding:20px}.canvas-area{min-height:0;padding:56px 62px 38px 20px}}@media (max-width:760px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-card-copy{padding:14px}.library-picture{padding:52px 12px 16px;aspect-ratio:.9}.library-current{top:23px;left:8px;font-size:.75rem}.library-bookmark{right:6px}.library-card h2{font-size:1rem}.library-filters>button{font-size:.875rem;padding-inline:10px}.pattern-heading{flex-wrap:wrap}.pattern-heading>div:first-child{flex:1 1 160px}.topbar-inner{padding:16px 20px;gap:12px}.brand{font-size:1.5rem;gap:8px}.account-button{padding:8px 10px;font-size:.8125rem}.main-tabs [data-slot=tabs-trigger]{padding:10px 8px;gap:6px;font-size:.875rem}.main-tabs [data-slot=tabs-trigger]>svg{width:17px;height:17px}main{padding:20px 16px 32px}.page-heading{margin-bottom:16px}.page-heading h1{font-size:1.75rem;line-height:1.2}.workspace{display:flex;flex-direction:column;gap:16px}.control-panel,.pattern-panel{width:100%}.control-panel{padding:0;border-radius:16px}.idea-desktop-heading{display:none}.idea-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;padding:14px 16px;border-radius:16px;color:var(--foreground);background:transparent;text-align:left}.idea-toggle>svg{flex-shrink:0;color:var(--primary)}.idea-toggle>svg:last-child{color:var(--muted-foreground)}.idea-toggle[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.idea-toggle-copy{flex:1;min-width:0}.idea-toggle-copy strong{display:block;font-size:1rem;font-weight:600;line-height:1.4}.idea-toggle-copy>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.5;color:var(--muted-foreground)}.control-panel:not(.idea-open) .idea-controls{display:none}.idea-controls{padding:4px 16px 16px}.pattern-panel{width:calc(100% + 32px);margin-inline:-16px;border-inline:0;border-radius:0}.control-panel textarea{min-height:96px}.suggestions button{padding:10px 8px}.pattern-heading{padding:16px}.pattern-heading h2{font-size:1.375rem}.canvas-area{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 0;padding:12px 4px;min-height:0;overflow:visible}.board-wrap{grid-column:1/-1;grid-row:2;width:100%;max-width:none;filter:none}.canvas-badge{position:static;grid-column:1;grid-row:1;justify-self:start;margin-left:8px;font-size:.8125rem}.canvas-tools{position:static;grid-column:1/-1;grid-row:3;justify-self:center;flex-direction:row;align-items:center;gap:4px}.canvas-tools button{width:44px;height:44px}.canvas-tools>span{width:1px;height:24px;margin:0 2px}.board-caption{position:static;grid-column:2;grid-row:1;justify-self:end;margin-inline:8px;font-size:.75rem}.pattern-bottom{padding:16px;gap:16px}.edit-toolbar{padding:12px}.edit-toolbar button{background:var(--muted)}.inspiration{margin-top:32px}.inspiration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.mini-pattern{border-radius:14px;aspect-ratio:1}.inspiration-card-copy{padding:10px 0 6px}footer{padding:16px 20px;font-size:.8125rem}}@media (max-width:370px){.topbar-inner,main{padding-inline:16px}.brand{font-size:1.25rem}.main-tabs [data-slot=tabs-trigger]{padding-inline:5px}.main-tabs [data-slot=tabs-trigger]>svg{display:none}}@media (prefers-reduced-motion:reduce){.inspiration-card,.primary-button,.suggestions button{transition:none}}@media print{.topbar,footer{display:none}main{padding:0}body{background:white}}[data-slot=dialog-overlay]{background:#24262b40;backdrop-filter:blur(4px)}.studio-modal{width:calc(100vw - 32px);max-width:500px;max-height:min(92dvh,940px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--border);border-radius:24px;padding:32px;gap:18px;background:#fff;color:var(--foreground);font-size:1rem;box-shadow:0 24px 80px #24262b22}.studio-modal>[data-slot=dialog-close]{top:14px;right:14px;width:44px;height:44px;border:1px solid var(--border);border-radius:12px;background:var(--muted);color:var(--muted-foreground);z-index:2}.studio-modal>[data-slot=dialog-close]:hover{background:var(--secondary);color:var(--primary)}.studio-modal>[data-slot=dialog-close] svg{width:21px;height:21px}.studio-modal [data-slot=dialog-title]{margin:0;padding-right:40px;font-size:1.5rem;line-height:1.15;font-weight:600;letter-spacing:-.03em;color:var(--foreground)}.studio-modal [data-slot=dialog-description]{margin-top:6px;font-size:1rem;line-height:1.5;color:var(--muted-foreground);overflow-wrap:anywhere}.studio-modal.account-dialog,.studio-modal.supplies-dialog{display:flex;flex-direction:column;gap:0;overflow:hidden}.studio-modal.account-dialog{max-width:510px}.studio-modal.supplies-dialog{max-width:760px!important}.modal-heading{display:flex;align-items:center;flex-shrink:0;gap:16px;padding-bottom:22px}.modal-heading>div:last-child{min-width:0;flex:1}.modal-emblem{display:none}.modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--input) transparent;margin:0 -8px;padding:2px 8px 8px;scroll-padding-block:12px}.modal-body:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.account-body{display:flex;flex-direction:column;gap:18px}.modal-section-title{margin:20px 0 14px;font-size:1.125rem;font-weight:500}.studio-modal .helper{font-size:.875rem;line-height:1.6;color:var(--muted-foreground)}.studio-modal .text-button{color:var(--primary);min-height:44px;font-size:.875rem;font-weight:600}.studio-modal [data-slot=button]:not(.primary-button):not([data-slot=dialog-close]){min-height:46px;height:auto;padding:10px 14px;border-radius:12px;font-size:.9375rem;font-weight:500}.studio-modal input:not([type=color]):not([type=checkbox]):not([data-slot=input-otp]):focus-visible{outline:3px solid var(--secondary);outline-offset:1px;border-color:var(--primary)}.account-dialog .credit-intro{display:flex;flex-wrap:nowrap;align-items:center;gap:18px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--muted)}.welcome-beads{display:flex;gap:5px;flex-shrink:0}.welcome-beads>span{display:grid;place-items:center;width:26px;height:26px;border:7px solid var(--primary);border-radius:50%;background:#fff;color:var(--foreground);font-size:.8125rem;font-weight:600;box-shadow:none}.welcome-beads>span:nth-child(2){border-color:var(--build)}.welcome-beads>span:nth-child(3){border-color:#72b7a2}.credit-intro strong{font-size:1.0625rem;font-weight:500;color:var(--foreground)}.credit-intro p{margin:4px 0 0;font-size:.8125rem;line-height:1.5;color:var(--muted-foreground)}.account-form{gap:10px}.account-form>input,.account-form>label{font-size:1rem;font-weight:500}.account-form>input{min-height:52px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:#ffffff;color:var(--foreground)}.account-form>input:disabled{background:var(--muted);color:var(--muted-foreground);opacity:1}.account-form .primary-button{margin-top:8px;margin-bottom:4px}.account-form .text-button{font-size:.875rem}.account-code{width:100%;margin:2px 0 6px}.account-code [data-slot=input-otp-group]{width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.account-code [data-slot=input-otp-slot]{width:100%;height:58px;border:1px solid var(--border);border-radius:12px;background:var(--muted);color:var(--primary);font-size:1.5rem;font-weight:600;box-shadow:none}.account-code [data-slot=input-otp-slot][data-active=true]{border-color:var(--primary);background:#fff}.account-dialog .account-message{margin:0;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--secondary);color:var(--muted-foreground);font-size:.9375rem;line-height:1.5}.account-dialog .account-message[role=alert]{background:#fff0f0;border-color:#f3d2d2;color:#98444d}.credit-balance{padding:22px;border:1px solid var(--border);border-radius:12px;background:var(--secondary);color:var(--primary)}.credit-balance span{font-size:.9375rem;font-weight:600}.credit-balance .credit-number{font-size:3rem;font-weight:600}.credit-dots{gap:5px;flex-shrink:0}.credit-dots i{width:22px;height:22px;border:7px solid var(--border)}.credit-dots i.available{border-color:var(--primary)}.credit-dots i.available:nth-child(2){border-color:var(--build)}.credit-dots i.available:nth-child(3){border-color:#72b7a2}.account-body>.helper{margin:-4px 0 0}.key-settings,.palette-details{border:1px solid var(--border);border-radius:12px;background:#ffffff}.key-settings>summary,.palette-details>summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:14px 16px;color:var(--muted-foreground);font-size:.9375rem;font-weight:500;cursor:pointer;list-style:none}.key-settings>summary::-webkit-details-marker,.palette-details>summary::-webkit-details-marker{display:none}.key-settings>summary>svg,.palette-details>summary>svg{flex-shrink:0}.key-settings>summary>svg:last-child,.palette-details>summary>svg:last-child{margin-left:auto}.key-settings[open]>summary>svg:last-child,.palette-details[open]>summary>svg:last-child{transform:rotate(180deg)}.key-settings>summary:focus-visible,.palette-details>summary:focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:12px}.key-settings-body{padding:4px 16px 16px}.account-form .key-consent{padding:10px 0;min-height:44px;font-size:.875rem;font-weight:500;gap:12px;cursor:pointer}.key-consent input{width:24px;height:24px;margin-top:0;accent-color:var(--primary)}.personal-key-active{background:#eaf7f2;border:1px solid #cde9dd;border-radius:12px;color:#3b806b}.personal-key-active strong{font-size:1rem;font-weight:500}.personal-key-active p{font-size:.875rem;color:#53796d}.signout-button{min-height:48px;border:1px solid var(--border);border-radius:12px;color:var(--muted-foreground);font-size:.9375rem;font-weight:500}.signout-button:hover{background:var(--muted)}.account-footnote{border-top:1px solid var(--border);padding-top:16px;color:var(--muted-foreground);font-size:.8125rem}.dialog-tabs{height:auto!important;padding:4px;gap:6px;margin:0;background:var(--muted);border:1px solid var(--border);border-radius:12px}.dialog-tabs [data-slot=tabs-trigger]{flex:1;min-height:48px;gap:10px;padding:10px 18px;font-size:1.0625rem;font-weight:500;border-radius:12px;color:var(--muted-foreground)}.dialog-tabs [data-slot=tabs-trigger] svg{width:21px;height:21px}.dialog-tabs [data-active]{background:#fff;color:var(--primary);box-shadow:none}.board-options{gap:10px}.board-options button{position:relative;gap:10px;min-height:138px;padding:18px 8px 14px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--foreground)}.board-options button.selected{border-color:var(--primary);background:var(--secondary);box-shadow:none}.board-options strong{font-size:.875rem;font-weight:500;line-height:1.2}.board-options small{color:var(--muted-foreground);font-size:.8125rem}.board-options button:hover:not(:disabled){border-color:var(--primary)}.shape-preview{width:43px;height:43px;border-radius:6px;background-color:#dce5fc;background-image:radial-gradient(#ffffff 1.4px,transparent 0);background-size:7px 7px}.board-options button:nth-child(2) .shape-preview{width:35px;height:35px;margin:4px;background-color:#dce5fc}.board-options button:nth-child(3) .shape-preview{border-radius:50%;background-color:#dce5fc}.board-options button:nth-child(4) .shape-preview,.board-options button:nth-child(5) .shape-preview{background-color:#dce5fc}.choice-check{position:absolute;top:7px;right:7px;padding:3px;width:23px;height:23px;background:var(--primary);color:#fff;border-radius:50%}.dimension-fields{gap:12px;margin:18px 0}.dimension-fields label{gap:7px;font-size:.9375rem;font-weight:500}.dimension-fields input,.studio-modal .text-input{min-height:50px;border:1px solid var(--border);border-radius:12px;background:#ffffff;color:var(--foreground);font-size:1.0625rem;font-weight:600;padding:10px 12px}.dimension-fields [data-slot=select-trigger]{height:50px;border:1px solid var(--border);border-radius:12px;background:#ffffff;font-size:1rem;text-transform:capitalize}.palette-sets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.palette-sets button{position:relative;flex-direction:column;align-items:flex-start;gap:8px;padding:20px 14px 14px;border:1px solid var(--border);border-radius:12px;background:#ffffff;color:var(--foreground)}.palette-sets button.selected{border-color:var(--primary);background:var(--secondary);box-shadow:none}.palette-sets button:hover:not(:disabled){border-color:var(--primary)}.palette-sets strong{font-size:1.0625rem;font-weight:500}.palette-sets small{font-size:.8125rem;color:var(--muted-foreground)}.palette-set-swatches{display:flex;padding:5px 0}.palette-set-swatches i{display:block;width:26px;height:26px;border:8px solid;border-radius:50%;background:#fff;margin-right:-5px;box-shadow:none}.photo-actions{margin-top:20px;gap:12px}.photo-actions>[data-slot=button]{border:1px dashed var(--input);background:#ffffff;color:var(--primary)}.scan-photo,.status-message{border:1px solid var(--border);border-radius:12px}.status-message{background:var(--secondary);color:var(--muted-foreground);font-size:.9375rem;margin:14px 0}.palette-details{margin:16px 0 4px}.palette-edit{padding:0 14px 14px;gap:10px}.palette-edit-row{min-height:58px;padding:5px;border:1px solid var(--border);border-radius:12px;background:#fff;gap:6px}.palette-edit-row input[type=color]{width:44px;height:44px}.palette-edit-row input:not([type=color]){min-height:44px;font-size:1rem;color:var(--foreground)}.palette-edit-row button{width:44px;height:44px;flex-shrink:0;padding:0;font-size:1.5rem;border-radius:10px;color:var(--muted-foreground)}.palette-edit-row button:hover:not(:disabled){background:#fff0f5}.palette-details>[data-slot=button]{margin:0 14px 16px}.studio-modal .dialog-actions{flex-shrink:0;margin-top:10px;padding-top:18px;gap:16px;border-top:1px solid var(--border)}.dialog-actions .helper{display:flex;align-items:center;gap:8px;font-size:.9375rem;font-weight:600}.dialog-actions .primary-button{min-width:150px;justify-content:center}.dialog-actions .primary-button>svg:last-child{margin-left:0}.studio-modal.zoom-dialog{max-width:1050px!important}.zoom-scroll{background:var(--muted);border:1px solid var(--border);border-radius:12px}.studio-modal.install-dialog{max-width:510px!important}.install-instructions h3{margin-top:18px;color:var(--muted-foreground);font-size:1.125rem;font-weight:500}.install-instructions p{font-size:1rem;line-height:1.6}.install-instructions p.helper{font-size:.875rem;color:var(--muted-foreground)}.rename-dialog .text-input{width:100%}@media (max-width:600px){.studio-modal{width:calc(100vw - 24px);max-height:92dvh;padding:20px 18px;border-radius:12px;gap:16px}.studio-modal>[data-slot=dialog-close]{top:10px;right:10px}.studio-modal [data-slot=dialog-title]{font-size:1.5rem;padding-right:32px}.studio-modal [data-slot=dialog-description]{font-size:.9375rem;padding-right:18px}.modal-heading{gap:12px;padding-bottom:20px}.modal-emblem{width:48px;height:48px;border-radius:12px}.modal-emblem>svg{width:24px;height:24px}.dialog-tabs [data-slot=tabs-trigger]{font-size:1rem;padding:10px}.board-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.board-options button{min-height:132px;padding:18px 5px 12px;gap:9px}.board-options strong{font-size:.875rem}.board-options small{font-size:.8125rem}.dimension-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dimension-fields>span{display:none}.dimension-fields label:last-child{grid-column:1/-1}.palette-sets{grid-template-columns:1fr;gap:10px}.palette-sets button{display:grid;grid-template-columns:116px 1fr;column-gap:14px;row-gap:3px;padding:14px 28px 14px 14px;align-items:center}.palette-set-swatches{grid-row:1/3}.palette-sets small{font-size:.75rem}.palette-edit{grid-template-columns:1fr;padding-inline:10px}.palette-sets .choice-check{right:8px;top:8px}.studio-modal .dialog-actions{gap:12px;padding-top:14px}.dialog-actions .helper{font-size:.875rem}.dialog-actions .primary-button{width:100%}.account-dialog .credit-intro{flex-wrap:wrap;gap:14px;padding:16px}.welcome-beads>span{width:36px;height:36px;border-width:8px}.account-code [data-slot=input-otp-group]{gap:6px}.account-code [data-slot=input-otp-slot]{height:52px;border-radius:11px;font-size:1.5rem}.credit-balance{padding:18px 16px;gap:10px;flex-wrap:wrap}.key-settings>summary,.palette-details>summary{padding:12px;font-size:.875rem}.key-settings-body{padding:4px 12px 14px}}@media (max-width:360px){.modal-heading{align-items:flex-start}.modal-emblem{display:none}.palette-sets button{grid-template-columns:96px 1fr;column-gap:8px}.palette-set-swatches i{width:23px;height:23px;border-width:7px}.account-code [data-slot=input-otp-group]{gap:4px}}