:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#263d36;background:#faf8f6;font-synthesis:none;--green: #d23855;--ink: #263d36;--mint: #e4f1e9;--surface: #ffffff;--radius: 18px;--shadow: 0 4px 16px #43363108;--cream: #faf8f6;--line: #e7e3e2;--orange: #d23855;--action: #d23855;--action-ink: #b8304b;--action-tint: #fcecef;--muted: #5a6b64;--ink-soft: #46574f;--radius-card: 14px;--radius-control: 12px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button{border:1px solid var(--green);border-radius:7px;background:var(--green);color:#fff;padding:11px 17px;font-weight:550;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;min-height:43px}button:hover,.button:hover{filter:brightness(1.12)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d97943;outline-offset:3px}.secondary{background:transparent;color:var(--green);border-color:#bec7b9}.quiet{background:transparent;color:var(--green);border-color:transparent;padding:9px 11px}.danger{color:#a44231}a{color:inherit;text-underline-offset:4px}header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 5%;gap:28px;background:#faf8f6f5;position:relative;z-index:5}.brand{font-size:29px;font-weight:750;letter-spacing:2px;text-decoration:none;display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-mark{font-size:35px;font-weight:400;color:var(--orange)}.brand-note{font-size:12px;letter-spacing:1px;font-weight:400;padding-left:8px;border-left:1px solid #c3cbbf}header nav{display:flex;align-items:center;gap:36px;flex:1;justify-content:center}nav a{text-decoration:none;font-size:15px;color:#6c766a;height:88px;display:flex;align-items:center;position:relative}nav a.active{color:var(--green);font-weight:650}nav a.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--green)}main{max-width:1440px;margin:0 auto;padding:45px 5% 70px;min-height:74vh}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 35px}.heading small,.eyebrow,.auth-form>small{font-size:11px;letter-spacing:2px;color:#7a846f;font-weight:600}.heading h1,h1{font-size:32px;line-height:1.4;font-weight:600;letter-spacing:.4px;margin:10px 0 0}h2{font-size:23px;font-weight:600}h3{font-size:17px;font-weight:600}p{line-height:1.7}.muted{font-size:12px;color:#5a6b64;line-height:1.7;overflow-wrap:anywhere}.filters{display:flex;align-items:end;gap:16px;padding:24px;background:#f6f3f1;border:1px solid #e4e4d7;border-radius:9px}.filters label{flex:1;min-width:0}.filters .search{flex:2.3}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:500}input,select{width:100%;background:#fff;border:1px solid #ccd1c2;border-radius:5px;padding:11px 12px;color:#263d36;min-width:0}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex:none}.check{display:flex;align-items:center;flex-direction:row;gap:8px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#63705f;font-size:13px;margin:22px 0}.section-line h3{margin:0;color:#263d36}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.pattern-card{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:hidden}.image-button{padding:0;border:0;background:transparent;width:100%;display:block;border-radius:0}.preview{padding:32px;display:flex;align-items:center;justify-content:center;background:#eeeee2;aspect-ratio:1.22;overflow:hidden;background-image:radial-gradient(#c8cbbf .65px,transparent .65px);background-size:9px 9px}.preview canvas{max-height:100%;max-width:100%;object-fit:contain;image-rendering:pixelated;width:auto!important;box-shadow:0 7px 16px #2a422015}.pattern-card:nth-child(3n+2) .preview{background-color:#f1e9da}.pattern-card:nth-child(3n) .preview{background-color:#e7ebe2}.card-info{padding:20px 23px 24px}.card-info small{color:#7a806d;font-size:11px;letter-spacing:.5px}.card-info h3{font-size:19px;margin:9px 0 15px}.card-info h3 a{text-decoration:none}.card-info p{font-size:12px;display:flex;justify-content:space-between;margin:0;color:#64705c}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.card-info .actions{margin-top:16px}.card-info .actions button{padding:9px 12px;font-size:12px}.empty{text-align:center;padding:90px 20px;color:#5a6b64}.empty h1,.empty h2{color:#263d36}.empty button{margin-top:15px}.notice{position:sticky;top:0;z-index:50;background:#e4f1e9;border-bottom:1px solid #bbc9ac;padding:12px 5%;display:flex;justify-content:space-between;align-items:center;font-size:14px}.notice button{background:transparent;border:0;color:#263d36;padding:0;min-height:24px;font-size:24px}footer{border-top:1px solid var(--line);padding:28px 5%;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#7c826f}.mobile-nav{display:none}.narrow{max-width:520px;margin:30px auto}.auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:1000px;margin:10px auto 40px;background:#fffcf6;border:1px solid var(--line);border-radius:12px;overflow:hidden}.auth-art{background:#e9ecdf;padding:60px 40px;display:flex;flex-direction:column;justify-content:center}.pixel-mark{font-size:110px;color:#d2824d}.auth-art h1{font-size:35px;line-height:1.6}.auth-art p{color:#68715f;font-size:13px}.auth-form{padding:60px 45px;display:flex;flex-direction:column;gap:20px}.auth-form h2{margin:0 0 6px;font-size:27px}.auth-form .muted{margin:-10px 0 0}.detail-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr);gap:55px;align-items:start}.detail-layout h1{margin:12px 0 16px}.art-panel{position:sticky;top:24px}.art-panel .preview{aspect-ratio:1;padding:55px;border-radius:10px}.art-caption{display:flex;justify-content:space-between;font-size:13px;color:#5a6b64;padding:18px 0}.breadcrumb{font-size:12px;color:#76816c;margin:-10px 0 25px}.material{width:100%;background:transparent;border:0;border-bottom:1px solid #e4e5d9;color:#263d36;justify-content:start;border-radius:0;padding:10px 5px;font-size:13px;font-weight:400}.material i{width:21px;height:21px;border:1px solid #aab09f;border-radius:50%;flex:none}.material span{margin-left:auto;color:#5a6b64}.material b{font-weight:500}.material.chosen{background:#e4f1e9}.materials{margin:25px 0}.materials .muted{font-size:11px}.downloads{border-top:1px solid var(--line);margin-top:25px;padding-top:8px}.downloads h3{font-size:16px}.downloads .actions{margin-top:18px}.downloads .actions a,.downloads .actions button{font-size:12px}.downloads>label{margin:12px 0;max-width:300px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;padding:24px}.editor-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:22px;align-items:start}.settings{display:flex;flex-direction:column;gap:20px;padding:22px}.settings h3{margin:0}.file-drop{border:1px dashed #9eae92;border-radius:6px;padding:22px 10px;text-align:center;color:var(--green);cursor:pointer}.file-drop input{font-size:11px;padding:0;border:0;background:none}.source-thumb{width:100%;height:150px;object-fit:contain;background:#f6f3f1}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings summary{font-size:13px;cursor:pointer}.settings details p{font-size:11px}.settings details label{margin-top:14px}.workspace{background:#f6f5f3;border:1px solid #d9decf;border-radius:9px;overflow:hidden;min-width:0}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;background:#fff;border-bottom:1px solid var(--line)}.segmented{display:flex;border:1px solid #c6cebc;border-radius:6px;overflow:hidden}.segmented button{border-radius:0;border:0;background:transparent;color:#263d36;min-height:36px;font-size:12px;padding:8px 10px}.segmented button.chosen{background:#ffedf0}.toolbar>.secondary{font-size:12px;min-height:36px;padding:8px 12px}.zoom{margin-left:auto;display:flex;flex-direction:row;align-items:center;gap:7px;font-size:12px;max-width:180px}.zoom input{width:110px;padding:0;accent-color:var(--green)}.grid-hint{font-size:11px;color:#66725c;margin:13px 18px}.canvas-scroll{overflow:auto;max-height:620px;min-height:320px;padding:28px;position:relative}.canvas-scroll canvas{display:block;image-rendering:pixelated;border:1px solid #a7b09c;cursor:crosshair}.workspace-status{padding:12px 20px;border-top:1px solid #d7ddcb;display:flex;justify-content:space-between;font-size:12px;color:#67735d}.palette{background:#fff;border-top:1px solid var(--line);padding:10px 20px 20px}.palette h3{font-size:14px}.palette h3 small{font-size:12px;color:#78846b;margin-left:10px}.swatches{display:flex;gap:5px;flex-wrap:wrap;max-height:200px;overflow:auto;padding:3px}.swatches button{width:38px;height:32px;min-height:32px;padding:0;border:1px solid #909984;font-size:9px;border-radius:4px}.swatches button.selected{outline:3px solid #d23855;outline-offset:1px}.workspace>.downloads{padding:12px 22px;background:#fff;margin-top:0}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:28px}.tabs button{border-radius:0;background:transparent;color:#78816d;border:0;border-bottom:2px solid transparent;padding:12px 5px}.tabs button.active{border-bottom-color:var(--green);color:var(--green)}.stack{display:flex;flex-direction:column;gap:18px}.stack a{overflow-wrap:anywhere;font-size:13px}.stack time{font-size:12px;color:#738066}.card-info .status{font-size:12px;margin:9px 0;color:#9c643e}.follow-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.follow-state{background:#e4f1e9;border-radius:7px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:13px;padding:17px 20px;margin-bottom:22px}.follow-state b{font-size:18px}.follow-state span{color:#5a6b64}.coordinate-axis{font-size:11px;padding:13px 20px;color:#63705a}.follow-canvas{height:650px;max-height:70vh}.follow-layout .materials{margin-top:5px}.qr{width:135px;height:135px;margin-top:20px}.badge{background:#e4e9d9;padding:8px 14px;font-size:12px;border-radius:20px}.print-grid{overflow:auto;margin:30px 0}.print-grid canvas{max-width:100%!important;width:100%!important}.print-page{max-width:900px;margin:auto}.job{border-top:1px solid var(--line);margin:24px 0;padding-top:5px}.job h3{font-size:13px}.job-row{display:flex;align-items:center;gap:15px;padding:8px;border-bottom:1px solid #e7e9dd;font-size:13px}.job-row span{flex:1}.job-row input{width:17px}.review-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:17px 0;font-size:13px}.review-row h3{margin:0;font-size:16px}.review-row p{margin:8px 0}.review-preview .preview{max-width:420px}.panel+.panel,section+details{margin-top:25px}details.panel{font-size:12px;overflow-wrap:anywhere}@media(max-width:1000px){.brand-note{display:none}header nav{gap:23px}.gallery{gap:18px}.detail-layout{gap:30px}.editor-layout{grid-template-columns:230px minmax(0,1fr)}.follow-layout{grid-template-columns:minmax(0,1fr) 240px}.toolbar .zoom{margin-left:0}}@media(max-width:720px){header{height:70px;padding:0 6%;gap:12px}.brand{font-size:26px}.brand-mark{font-size:30px}header nav{display:none}.account{font-size:12px;padding-right:0}main{padding:29px 5% 50px;min-height:80vh}.heading{gap:15px;align-items:start;flex-wrap:wrap;margin-bottom:25px}.heading h1,h1{font-size:25px;line-height:1.45}.heading small{font-size:9px}.heading>button{padding:9px 13px;font-size:12px}.filters{flex-wrap:wrap;padding:16px;gap:13px}.filters label{flex:1 1 30%;font-size:11px}.filters .search{flex:1 1 100%}.filters input,.filters select{padding:10px;font-size:12px}.section-line{font-size:11px;margin:18px 0}.section-line .check{font-size:11px;white-space:nowrap}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.preview{padding:18px;aspect-ratio:1}.card-info{padding:14px 12px 17px}.card-info small{font-size:9px}.card-info h3{font-size:14px;margin:8px 0 12px}.card-info p{display:block;font-size:10px}.card-info p span{display:block;margin-top:4px}.card-info .actions{gap:5px}.card-info .actions button{font-size:10px;padding:7px 9px;min-height:34px}.detail-layout{display:block}.art-panel{position:static;margin-bottom:20px}.art-panel .preview{padding:30px}.detail-layout h1{font-size:25px}.auth-layout{display:block;margin:0}.auth-art{padding:28px}.pixel-mark{display:none}.auth-art h1{font-size:25px;margin:0}.auth-art h1 br{display:none}.auth-art p{margin:12px 0 0;font-size:12px}.auth-form{padding:30px 28px;gap:17px}.auth-form h2{font-size:23px}.editor-layout{display:flex;flex-direction:column}.settings{width:100%;padding:18px;gap:16px}.source-thumb{height:130px}.workspace{width:100%}.canvas-scroll{max-height:480px;padding:18px;min-height:220px}.grid-hint{font-size:10px}.toolbar{padding:12px;gap:9px}.toolbar .zoom{margin:0}.follow-layout{display:flex;flex-direction:column}.follow-layout>aside{width:100%}.follow-canvas{height:450px;max-height:60vh}.follow-state{gap:10px;font-size:11px;padding:14px}.follow-state b{font-size:16px}.tabs{gap:18px}.tabs button{font-size:12px}.panel{padding:18px}.review-row{align-items:start;flex-direction:column}.review-row .actions button{font-size:11px;padding:9px 11px}.job-row{gap:9px;flex-wrap:wrap}.job-row span{min-width:100px}.job-row button{font-size:11px}.downloads .actions{gap:7px}.downloads .actions a,.downloads .actions button{padding:9px 13px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;height:66px;padding-bottom:env(safe-area-inset-bottom);background:#fffffff5;border-top:1px solid #d7ddcd;justify-content:space-around;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-nav button{display:flex;flex-direction:column;gap:1px;background:transparent;color:#829076;border:0;padding:5px 25px;font-size:10px;border-radius:0}.mobile-nav b{font-size:25px;line-height:1.15;font-weight:400}.mobile-nav .selected{color:var(--green)}footer{padding:24px 5% 92px;flex-direction:column;gap:9px;font-size:10px}.notice{font-size:12px;padding:10px 5%}.empty{padding:65px 10px}.qr{width:120px;height:120px}}@media print{header,footer,.mobile-nav,.notice,.downloads,.heading,.follow-state,.toolbar,button{display:none!important}main{padding:0;max-width:none}.print-grid{overflow:visible}.print-grid canvas{width:100%!important}.print-page .materials{break-before:page}.detail-layout{display:block}.art-panel .preview{aspect-ratio:auto;background:none;padding:0}.art-panel .preview canvas{max-height:none}}textarea{font:inherit;min-height:80px;border:1px solid #ccd1c2;border-radius:5px;padding:9px;background:#fff;resize:vertical;width:100%;color:#263d36}.source-preview{position:relative;overflow:hidden;border-radius:5px;cursor:crosshair}.source-preview img{display:block;width:100%;height:auto}.source-preview i{position:absolute;border:2px solid #fff;box-shadow:0 0 0 2000px #173e3460;pointer-events:none}.crop-presets{display:flex;gap:6px;flex-wrap:wrap}.crop-presets button{font-size:11px;padding:5px 8px;min-height:30px}.crop-presets p{margin:0}.toolbar .segmented{flex-wrap:wrap}.pattern-viewer{min-width:0;width:100%;background:#f9faf3;border:1px solid #cbd4be;border-radius:9px;overflow:hidden}.reader-controls{display:flex;align-items:center;gap:9px;padding:12px;background:#fff;flex-wrap:wrap;border-bottom:1px solid #d5ddca;font-size:12px}.reader-controls button{min-width:44px;min-height:44px;padding:8px 12px}.reader-controls .check{margin-left:auto}.reader-frame{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:38px minmax(0,1fr);height:min(65vh,690px);min-height:300px;overflow:hidden}.reader-corner{grid-area:1/1;font-size:9px;display:flex;align-items:center;justify-content:center;background:#e5ecdb;border-bottom:1px solid #aebba1;border-right:1px solid #aebba1}.reader-columns{grid-area:1/2;overflow:hidden;background:#eaf0e1;border-bottom:1px solid #aebba1}.reader-column-track{display:flex;height:100%;will-change:transform}.reader-columns span{flex:none;height:38px;display:flex;align-items:center;justify-content:center;font-size:11px}.reader-rows{grid-area:2/1;overflow:hidden;background:#eaf0e1;border-right:1px solid #aebba1}.reader-rows span{display:flex;align-items:center;justify-content:center;font-size:11px}.reader-frame .major{font-weight:750;color:#173e34;background:#d9e4cc}.reader-scroll.canvas-scroll{grid-area:2/2;min-height:0;height:100%;max-height:none;padding:0;border:0;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-gutter:stable}.reader-scroll.canvas-scroll canvas{border:0;max-width:none;max-height:none;touch-action:pan-x pan-y}.reader-location{margin:0;border-top:1px solid #d5ddca;padding:12px 14px;font-size:12px;min-height:44px;line-height:1.7;background:#fff}.detail-layout>.art-panel{min-width:0}.detail-layout{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}@media(max-width:720px){.reader-frame{height:38vh;min-height:260px}.reader-controls{gap:7px;padding:10px}.reader-controls .check{margin-left:4px}.reader-controls .quiet{margin-left:auto;font-size:11px}.reader-location{font-size:11px}.detail-layout{display:block}.reader-controls input[type=checkbox]{min-height:20px;min-width:20px}}@media print{.reader-controls,.reader-location{display:none!important}.reader-frame{display:block;height:auto;overflow:visible}.reader-columns,.reader-rows,.reader-corner{display:none}.reader-scroll.canvas-scroll{overflow:visible}}.reader-controls .check{min-height:44px}@media print{.reader-scroll.canvas-scroll{height:auto}.reader-scroll.canvas-scroll canvas{width:100%!important;height:auto!important;max-width:100%!important}}.brand-logo{width:44px;height:44px;object-fit:contain;flex:none}.brand-wordmark{white-space:nowrap}.brand{gap:10px;font-size:27px;letter-spacing:1px}header .account{max-width:30%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-brand-logo{width:125px;height:125px;object-fit:contain;margin-bottom:24px}.auth-art h1{font-size:32px}@media(max-width:720px){.brand{font-size:22px;gap:8px;letter-spacing:.5px}.brand-logo{width:36px;height:36px}.auth-brand-logo{width:58px;height:58px;margin-bottom:14px}.auth-art h1{font-size:24px}}@media(max-width:350px){header{gap:8px}.brand{font-size:21px}.brand-logo{width:32px;height:32px}header .account{font-size:11px}}.preview img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}button,.button{border-radius:12px;transition:background .16s,box-shadow .16s}button:hover,.button:hover{filter:brightness(.98)}button:active{transform:translateY(1px)}input,select,textarea{border-radius:10px;border-color:var(--line);min-height:44px}input[type=checkbox]{min-height:18px}.secondary,.quiet{color:var(--ink)}.secondary{background:#fff;border-color:#dcd9d8}.danger{color:#a92d40;border:1px solid #b84052;background:#fff5f6}header{height:80px;background:#fffdfb;border-color:var(--line)}header nav a{height:80px}main{padding-top:30px}.heading{margin-bottom:24px}.heading small,.eyebrow{letter-spacing:.6px;color:#78807d}h1,.heading h1{font-weight:750;letter-spacing:-.5px}.panel,.workspace,.pattern-viewer,.pattern-card{border-color:var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.pattern-card{transition:box-shadow .2s,transform .2s}.pattern-card:hover{box-shadow:0 10px 25px #473e3710;transform:translateY(-2px)}.preview{aspect-ratio:1;padding:24px;background-color:#edf4ef;background-image:radial-gradient(#b9cfc344 .8px,transparent .8px);background-size:10px 10px}.pattern-card:nth-child(3n+2) .preview{background-color:#faf0e7}.pattern-card:nth-child(3n) .preview{background-color:#f1edf7}.preview img{filter:drop-shadow(0 5px 5px #263d3614)}.card-info{padding:16px 18px 20px}.card-info h3{margin:7px 0 10px;font-size:18px}.card-info small{letter-spacing:0}.gallery-search{max-width:650px}.gallery-search label{font-size:0;gap:0}.gallery-search input{font-size:16px;padding:15px 18px;background:#fff;box-shadow:inset 0 1px 3px #00000003;border-radius:15px}.category-tabs{display:flex;gap:22px;overflow:auto;border-bottom:1px solid var(--line);margin:16px 0 12px}.category-tabs button{background:none;border:0;border-radius:0;color:#6d7571;padding:12px 4px;white-space:nowrap;border-bottom:3px solid transparent}.category-tabs .active{color:#d94057;border-bottom-color:#d23855;font-weight:700}.filter-disclosure summary,.material-disclosure summary{cursor:pointer;font-size:14px;padding:12px 0;color:#59675f}.filters{background:#fff;border-color:var(--line);border-radius:14px;margin:8px 0}.section-line{margin:8px 0 18px}.section-line p{margin:8px 0}.badge,.status{background:var(--mint)}.tabs{gap:18px;overflow-x:auto}.tabs button{flex-shrink:0}.detail-heading{margin:0 0 18px}.detail-heading h1{margin:0}.detail-heading p{margin:6px 0 0}.detail-layout{gap:32px}.art-caption{padding:12px 0}.materials{margin:10px 0}.task-actions{gap:10px}.editor-layout{grid-template-columns:240px minmax(0,1fr);gap:20px}.editor-page .workspace{display:grid;grid-template-columns:minmax(0,1fr) 205px}.editor-page .workspace>.toolbar{grid-column:1/-1}.editor-page .workspace>.grid-hint{grid-column:1}.editor-page .editor-canvas{grid-column:1;height:480px;touch-action:pan-x pan-y}.editor-page .workspace-status{grid-column:1}.editor-page .workspace>.palette{grid-column:2;grid-row:3/6;border-top:0;border-left:1px solid var(--line);padding:14px}.editor-page .workspace>.downloads,.editor-page .workspace>.panel{grid-column:1/-1}.editor-page .swatches{max-height:440px;gap:9px}.swatches button{width:44px;height:44px;border-radius:10px;border-color:#00000025;font-weight:650}.swatches button.selected{outline-color:var(--green);outline-offset:3px}.palette>.quiet{padding:4px 0;font-size:12px;min-height:36px}.palette h3{margin:6px 0 14px}.palette h3 small{display:block;margin:5px 0 0}.segmented{border-color:var(--line);border-radius:12px;padding:3px;gap:3px}.segmented button{border-radius:8px;min-height:40px}.segmented button.chosen{background:#ffedf0;color:#cb354d;box-shadow:inset 0 0 0 1px #f2adba}.move-mode canvas{cursor:grab}.workspace-status{background:#fafaf9}.follow-state{background:var(--mint);border-radius:14px}.reader-columns,.reader-rows{background:#f0f5f1}.reader-corner,.reader-frame .major{background:#e0ede5}.reader-controls,.reader-location{border-color:var(--line)}.app-dialog{width:min(440px,calc(100% - 32px));border:1px solid var(--line);border-radius:22px;padding:26px;color:var(--ink);box-shadow:0 20px 70px #18251b33}.app-dialog::backdrop{background:#1b282655;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.app-dialog h2{margin:0}.app-dialog label{margin:18px 0}.app-dialog .actions{justify-content:flex-end;margin-top:24px}.hidden{display:none!important}@media(max-width:1100px)and (min-width:721px){.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-layout{grid-template-columns:210px minmax(0,1fr)}.editor-page .workspace{display:block}.editor-page .workspace>.palette{border-left:0;border-top:1px solid var(--line)}}@media(max-width:720px){header{height:64px;padding:0 20px}main{padding:22px 18px 94px}h1,.heading h1{font-size:27px}.heading{margin-bottom:20px;gap:14px}.heading small{font-size:11px}.heading>button{background:#fff0f2;border-color:#ffe0e5;color:#bb354d;padding:12px 16px;width:100%;justify-content:flex-start;font-size:15px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pattern-card{border-radius:15px}.preview{padding:14px}.card-info{padding:11px 12px 14px}.card-info h3{font-size:14px;line-height:1.5;margin:5px 0 8px}.card-info small{font-size:10px}.card-info p{font-size:11px}.category-tabs{gap:22px;margin-top:10px}.category-tabs button{font-size:15px}.filter-disclosure summary{padding:6px 0;font-size:12px}.mobile-nav{height:calc(64px + env(safe-area-inset-bottom));background:#ffffffed;border-color:var(--line)}.mobile-nav button{font-size:12px;color:#68746d;min-width:80px}.mobile-nav .selected{color:#df425b}.mobile-nav b{font-size:25px}.editor-page{padding:16px 12px 104px}.editor-page .heading{margin-bottom:12px}.editor-page .heading h1{font-size:21px}.editor-page>.muted{font-size:11px;margin:6px 0}.editor-page .editor-layout{display:flex;gap:14px}.editor-page .settings{display:none;order:2}.editor-page .settings.is-open{display:flex}.editor-page .workspace{display:flex;flex-direction:column}.editor-page .toolbar{gap:7px;padding:10px}.editor-page .toolbar>.secondary{padding:8px}.editor-page .toolbar:nth-child(2){order:6}.editor-page .grid-hint{margin:8px 12px;line-height:1.5}.editor-page .editor-canvas{height:35vh;min-height:210px;max-height:340px;padding:12px}.editor-page .workspace>.palette{border-left:0;border-top:1px solid var(--line);padding:12px}.editor-page .swatches{flex-wrap:nowrap;max-height:100px;padding:5px}.editor-page .swatches button{flex:none}.palette h3{font-size:13px;margin:0 0 9px}.palette h3 small{display:inline;margin-left:7px}.palette>.quiet{float:right}.task-actions,.editor-actions{position:fixed;left:0;right:0;bottom:0;z-index:21;min-height:72px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--line);box-shadow:0 -4px 16px #43363105;display:flex;flex-wrap:nowrap}.task-actions>button,.editor-actions>button{flex:1;font-size:13px;padding:10px 8px}.editor-actions .muted{display:none}.detail-page{padding-top:10px}.detail-page .breadcrumb{margin:0 0 4px}.detail-page .breadcrumb button{min-height:32px;padding:3px 0}.detail-heading{margin-bottom:12px}.detail-heading h1{font-size:22px}.detail-heading p{font-size:12px}.detail-page .reader-controls{padding:6px;gap:4px}.detail-page .reader-controls button{padding:7px}.detail-page .reader-frame{height:34vh;min-height:215px}.detail-page .reader-location{padding:7px 10px;line-height:1.5}.detail-page .art-caption{padding:8px 0;font-size:11px}.detail-page .art-panel{margin-bottom:8px}.follow-page .heading h1{font-size:22px}.follow-page .follow-state{padding:12px;margin-bottom:14px}.follow-page .reader-frame{height:42vh}.task-page+footer,.editor-page+footer{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}@media print{.task-actions,.editor-actions,.detail-heading{display:none}}.settings-close{display:none}.editor-canvas canvas{margin:0 auto}@media(max-width:720px){.editor-page .settings.is-open{position:fixed;top:76px;bottom:calc(88px + env(safe-area-inset-bottom));left:12px;right:12px;width:auto;z-index:24;overflow-y:auto;box-shadow:0 12px 55px #263d3640;border-color:#cfc9c7}.settings-close{display:flex;flex-shrink:0}}@media(max-width:720px){.editor-page .toolbar .segmented{flex-wrap:nowrap;max-width:100%;overflow-x:auto}.editor-page .toolbar .segmented button{flex-shrink:0}.editor-page .editor-canvas{height:30vh;min-height:200px;max-height:300px}}.ui-icon{flex:none;vertical-align:middle}.mobile-nav .ui-icon{margin:1px 0 3px}.file-drop{position:relative;align-items:center;gap:8px;padding:22px 12px;border:1px dashed #d7b7bd;background:#fff7f8;border-radius:14px;color:#a9344b}.file-drop small{font-size:11px;line-height:1.5;color:#7a6f72;font-weight:400}.file-drop input[type=file]{position:absolute;width:1px;height:1px;min-height:0;opacity:0;overflow:hidden;padding:0;border:0}.file-drop:focus-within{outline:3px solid #d23855;outline-offset:3px}input[type=range]{appearance:none;-webkit-appearance:none;height:28px;min-height:28px;border:0;padding:0;background:transparent;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{height:5px;background:#eadfe1;border-radius:10px}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:17px;height:17px;margin-top:-6px;background:#d23855;border:3px solid #fff;border-radius:50%;box-shadow:0 1px 5px #92304444}input[type=range]::-moz-range-track{height:5px;background:#eadfe1;border-radius:10px}input[type=range]::-moz-range-thumb{width:12px;height:12px;background:#d23855;border:3px solid #fff;border-radius:50%;box-shadow:0 1px 5px #92304444}@media(max-width:720px){.editor-page .toolbar .segmented button{flex-direction:column;gap:5px;padding:6px 10px;min-height:54px;min-width:48px}.gallery-page{position:relative}.gallery-page .heading{margin-bottom:12px;gap:10px}.gallery-page .heading h1{margin-top:0;font-size:25px}.gallery-page .heading>button{padding:10px 14px;min-height:44px}.gallery-page .gallery-search input{padding:12px 15px}.gallery-page .category-tabs{margin:8px 0;gap:22px}.gallery-page .category-tabs button{padding:8px 3px}.gallery-page .filter-disclosure{margin-bottom:12px}.gallery-page .filter-disclosure summary{width:max-content;min-height:28px;padding:6px 0}.gallery-page .filter-disclosure[open]+.section-line{position:static;margin-bottom:12px}}.gallery-refine-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:4px 0 16px}.gallery-refine-row>.filter-disclosure{flex:1}.gallery-refine-row>.filter-disclosure[open]{flex-basis:100%}.gallery-refine-row>.section-line{margin:0;min-height:36px}@media(max-width:720px){.gallery-page .gallery-refine-row{margin-bottom:8px}.gallery-page .gallery-refine-row>.section-line{position:static;min-height:28px}.gallery-page .gallery-refine-row .filter-disclosure{margin-bottom:0}}.reader-frame .axis-selected{background:#e44560;color:#fff;font-weight:750}.reader-progress{display:none}.editor-page .heading{margin:0 0 10px;align-items:center}.editor-page .heading h1{font-size:22px}.editor-actions{gap:8px}.editor-page .workspace>.pattern-viewer{grid-column:1;grid-row:1/5}.editor-page .workspace>.palette{grid-row:1/5}.editor-page .grid-edit-settings{grid-column:1/-1;grid-row:6;padding:8px 12px}.editor-page .workspace{align-content:start}.editor-reader{display:flex;flex-direction:column}.editor-reader .reader-frame{order:0;height:min(58vh,600px);min-height:300px}.editor-reader .reader-controls{order:1}.editor-reader .toolbar{order:2;margin:0;flex-wrap:wrap}.editor-reader .reader-location{order:3}.editor-reader .reader-scroll.editor-canvas{height:100%;min-height:0;max-height:none;padding:0}.reader-controls{gap:4px;padding:6px}.reader-controls button{padding:6px 9px}.reader-reset{display:none}.detail-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:10px;flex-wrap:wrap}.detail-heading h1{font-size:25px;margin:0}.detail-heading p{margin:0}.card-info{padding:9px 12px}.card-info h3{margin:3px 0}.card-info p{margin:4px 0 0}body.viewing-immersive header,body.viewing-immersive footer,body.viewing-immersive .mobile-nav,body.viewing-immersive .task-actions,body.viewing-immersive .editor-actions{display:none!important}.pattern-viewer.immersive-view{position:fixed;inset:0;z-index:200;width:100%;height:100dvh;border:0;border-radius:0;display:flex;flex-direction:column;background:#fffdfb;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box}.pattern-viewer.immersive-view .reader-frame{flex:1;min-height:0;height:auto;order:1}.pattern-viewer.immersive-view .reader-controls{flex:none;order:0}.pattern-viewer.immersive-view .reader-location{flex:none;order:4;min-height:30px;padding:4px 10px}.pattern-viewer.immersive-view .reader-progress{display:flex;gap:12px;align-items:center;padding:2px 10px;order:3;font-size:12px}.pattern-viewer.immersive-view .toolbar{flex:none;order:2}@media(max-width:720px),(max-height:500px)and (max-width:1000px){.editor-page{padding:8px 10px 24px}.editor-page .heading{flex-wrap:nowrap;gap:8px;margin:0 0 8px}.editor-page .heading h1{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:42vw}.editor-actions{position:static;padding:0;min-height:44px;border:0;box-shadow:none;background:none;flex-wrap:nowrap}.editor-actions>.secondary{display:none}.editor-actions .muted{display:block;font-size:10px;max-width:64px;line-height:1.3}.editor-actions>button{flex:none;padding:7px 10px;font-size:12px}.editor-page .editor-layout{display:flex;flex-direction:column;gap:8px}.editor-page .workspace{display:flex;flex-direction:column;width:100%}.editor-page .workspace>.pattern-viewer{order:0}.editor-page .workspace-status{order:1;padding:7px 10px}.editor-page .workspace>.palette{order:2}.editor-page .grid-edit-settings{order:3;padding:10px}.editor-page .workspace>.downloads,.editor-page .workspace>.panel{order:4}.editor-reader .reader-frame{height:46vh;min-height:260px}.editor-reader .reader-controls .work-scale{display:none}.editor-reader .toolbar{padding:6px;gap:4px}.editor-reader .toolbar .segmented{flex-wrap:nowrap;overflow-x:auto;width:100%;display:flex}.editor-reader .toolbar .segmented button{flex:none;padding:7px;min-width:44px;font-size:12px}.editor-reader .toolbar .segmented svg{width:18px;height:18px}.editor-reader .reader-location{font-size:11px;padding:6px 9px}.editor-reader .toolbar>.secondary{padding:7px}.editor-mobile-settings{display:block}.detail-page .detail-heading{gap:2px;margin:0 0 8px}.detail-heading h1{font-size:20px}.detail-heading p{font-size:12px}.gallery-page .heading{display:flex;flex-direction:row;align-items:center;margin:0 0 8px;gap:6px}.gallery-page .heading h1{font-size:21px}.gallery-page .heading>button{width:auto;padding:7px;font-size:12px}.gallery-page .gallery-search label{font-size:0;gap:0}.gallery-page .gallery-search input{font-size:14px;min-height:44px}.gallery-page .category-tabs{margin:5px 0;padding-bottom:0}.gallery-page .gallery-refine-row{margin:0 0 6px;min-height:38px}.gallery-page .card-info{padding:7px 9px}.gallery-page .card-info small{display:none}.gallery-page .card-info h3{font-size:14px;margin:0 0 4px}.gallery-page .card-info p{font-size:11px;margin:0}.reader-controls .work-scale{font-size:11px}.reader-controls .check{margin-left:0}}.editor-mobile-settings{display:none}@media(max-width:720px){.editor-mobile-settings{display:block;margin:0;padding:6px 10px}}@media(orientation:landscape)and (max-height:500px){header{min-height:48px;padding-top:4px;padding-bottom:4px}.detail-page,.follow-page,.editor-page{padding-top:6px}.detail-layout,.follow-layout{display:block}.detail-heading h1,.follow-page .heading h1{font-size:18px}.detail-page .reader-frame,.follow-page .reader-frame,.editor-reader .reader-frame{height:65vh;min-height:160px}.pattern-viewer.immersive-view{display:grid;grid-template-columns:minmax(0,1fr) 160px;grid-template-rows:minmax(0,1fr) auto}.pattern-viewer.immersive-view .reader-frame{grid-area:1/1;height:100%;min-height:0}.pattern-viewer.immersive-view .reader-controls{grid-area:1/2;align-content:start;overflow-y:auto}.pattern-viewer.immersive-view .reader-location{grid-area:2/1}.pattern-viewer.immersive-view .reader-progress{grid-area:2/2;flex-wrap:wrap;gap:2px}.pattern-viewer.immersive-view .toolbar{grid-area:2/1;display:flex;overflow-x:auto}.editor-reader.immersive-view .reader-location{display:none}.reader-controls .check{margin:0}}.editor-page .reader-frame .reader-scroll.editor-canvas{grid-area:2/2}@media(max-width:720px){main:has(>.gallery-page){padding-top:8px}.gallery-page .heading{margin-bottom:4px}.gallery-page .category-tabs{margin:3px 0}}@media(max-width:720px){.gallery-page .preview{padding:0}}@media(orientation:landscape)and (max-height:500px){.pattern-viewer.editor-reader.immersive-view{grid-template-rows:minmax(0,1fr) auto auto}.pattern-viewer.editor-reader.immersive-view .reader-location{display:block;grid-area:3/1}}.reader-scroll.canvas-scroll canvas{margin:0}@media(max-width:720px){.gallery-page .card-info p{display:flex;justify-content:space-between;gap:4px;font-size:10px;white-space:nowrap}.gallery-page .card-info p span{display:inline;margin:0}.gallery-page .card-info h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-page .detail-heading{gap:6px}}.canvas-color{display:flex;flex-direction:row;align-items:center;gap:4px;margin:0;font-size:12px}.canvas-color select{min-height:44px;width:76px;padding:4px}@media(orientation:landscape)and (max-height:500px)and (max-width:1000px){header{height:48px}header nav,header .brand span{display:none}.editor-page .settings{display:none}.editor-page .settings.is-open{display:flex;position:fixed;inset:54px 12px 12px;z-index:24;overflow:auto}.editor-mobile-settings{display:block}.editor-page .editor-actions{display:flex}}@media(orientation:landscape)and (max-height:500px){.pattern-viewer.editor-reader.immersive-view .toolbar{flex-wrap:nowrap;overflow-x:auto;padding:4px}.pattern-viewer.editor-reader.immersive-view .toolbar .segmented{flex:none;width:auto}.pattern-viewer.editor-reader.immersive-view .toolbar>*{flex-shrink:0}}.editor-page,.pattern-viewer{--ink: #263d36;--muted: #5a6b64;--line: #dce4dc;--paper: #f7f8f4;--accent: #d23855}.pattern-viewer{background:var(--paper);border:0;border-radius:0;overflow:visible;display:flex;flex-direction:column;position:relative}.editor-page button,.pattern-viewer button,.editor-page summary{min-height:44px;min-width:44px;border-radius:11px;font-size:13px;font-weight:600}.editor-page button:not(.secondary):not(.quiet):not(.chosen),.view-dialog button[type=submit]{background:#d23855}.editor-page button.secondary,.pattern-viewer button.secondary{background:#fff;border:1px solid #dce4dc;color:#263d36}.editor-page button:disabled,.pattern-viewer button:disabled{opacity:1;background:#f0f2ef;color:#9aa79f;border-color:#e5e9e4}.editor-page button[aria-pressed=true],.pattern-viewer button[aria-pressed=true]{background:#fcecef;color:#c43250;border:1px solid #d23855}.editor-page button:active:not(:disabled),.pattern-viewer button:active:not(:disabled){transform:translateY(1px);background:#e6f1e9}.editor-page :focus-visible,.pattern-viewer :focus-visible{outline:2px solid #2563eb;outline-offset:3px}.reader-area{order:1;width:100%;height:min(65vh,620px);min-height:0;display:flex;justify-content:center;align-items:center;position:relative}.pattern-viewer .reader-frame{position:relative;flex:none;min-height:0;max-height:100%;max-width:100%;grid-template-columns:24px minmax(0,1fr);grid-template-rows:24px minmax(0,1fr);order:initial}.reader-columns span{height:24px;overflow:visible}.reader-columns,.reader-rows,.reader-corner{background:#eaf1ea;border:0}.reader-corner{font-size:8px}.reader-frame .major{background:transparent;color:#5a6b64;font-weight:500}.reader-frame .axis-selected{background:var(--guide-color);color:var(--guide-ink);font-weight:700}.reader-scroll.canvas-scroll{scrollbar-gutter:auto;scrollbar-width:none;background:#f7f8f4}.reader-scroll::-webkit-scrollbar{display:none}.coordinate-guides{position:absolute;left:24px;top:24px;width:calc(100% - 24px);height:calc(100% - 24px);overflow:hidden;pointer-events:none}.pattern-viewer .reader-controls{order:0;padding:12px 0 16px;gap:8px;border:0;background:transparent;flex-wrap:wrap}.reader-controls .enter-view{order:0}.reader-controls .rotate-view{order:1}.reader-controls .view-options{order:2}.reader-zoom{display:flex;gap:8px;order:3}.pattern-viewer .reader-location{order:2;min-height:24px;height:auto;line-height:24px;font-size:11px;padding:0 12px;border:0;margin:8px 0 12px}.drawing-tools{order:3;display:flex;flex-direction:column;gap:8px}.primary-tools{display:flex;gap:10px;padding:7px;background:#fff;border:1px solid #dce4dc;border-radius:16px}.primary-tools>button{flex:1;display:flex;flex-direction:column;gap:4px;padding:6px;min-height:56px}.more-tools{position:relative;flex:1.3}.more-tools summary{list-style:none;height:100%;display:flex;justify-content:center;align-items:center;background:#fff;border:1px solid #dce4dc;padding:6px;white-space:nowrap}.more-tools>div{position:absolute;z-index:20;right:0;bottom:calc(100% + 8px);padding:8px;background:#fff;box-shadow:0 5px 30px #263d3620;border:1px solid #dce4dc;border-radius:12px;display:flex;gap:8px}.more-tools>div button{white-space:nowrap}.drawing-tools>.canvas-color{display:none}.editor-zoom{order:4;display:flex;gap:8px;margin-top:12px;padding-right:50%}.editor-zoom>.view-options,.editor-zoom>button:last-child{display:none}.editor-zoom .fit-view{flex:1}.history-tools{order:5;display:flex;gap:8px;align-self:flex-end;margin-top:-44px;width:47%}.history-tools button{flex:1;padding:6px}.pattern-viewer>.palette{order:6;margin:12px 0 0;border:0;background:transparent;padding:0;box-shadow:none}.pattern-viewer .palette h3{font-size:12px;margin:0 0 8px;color:#5a6b64}.pattern-viewer .palette h3 small{float:right;color:#263d36}.pattern-viewer .palette>.quiet{float:right;padding:0 8px;font-size:12px}.pattern-viewer .swatches{display:flex;flex-wrap:wrap;gap:8px;clear:both}.pattern-viewer .swatches button{width:54px;height:54px;border-radius:10px;font-size:11px;border:1px solid #dce4dc}.pattern-viewer .swatches button.selected{outline:2px solid #d23855;outline-offset:2px}.view-dialog{width:min(366px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;border:1px solid #dce4dc;border-radius:22px;color:#263d36;background:#fff;box-sizing:border-box}.view-dialog::backdrop{background:#263d3630}.view-dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.view-dialog h2{font-size:18px;margin:0}.view-zoom{display:flex;gap:8px}.view-zoom .fit-view{flex:1}.view-dialog .work-scale{width:100%;display:block;margin:12px 0}.view-directions{display:flex;gap:12px}.view-directions button{flex:1;padding:6px}.guide-toggle{border-top:1px solid #dce4dc;margin-top:16px;padding:16px 0;display:flex;align-items:center;justify-content:space-between}.guide-toggle small{display:block;font-size:12px;color:#5a6b64;margin-top:4px}.guide-toggle button{border:0;background:transparent;width:64px;padding:8px}.guide-toggle i{display:block;width:48px;height:28px;background:#a4b0a9;border-radius:20px;padding:4px}.guide-toggle i:after{content:"";display:block;height:20px;width:20px;border-radius:50%;background:#fff}.guide-toggle [aria-checked=true] i{background:#6d28d9}.guide-toggle [aria-checked=true] i:after{margin-left:20px}.view-dialog .section-line{font-size:13px;margin:0 0 12px}.view-dialog .section-line span{font-size:11px;color:#6d28d9}.guide-colors{display:flex;gap:8px}.guide-colors button{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:72px;padding:10px 4px}.guide-colors i{width:28px;height:28px;border-radius:8px;border:1px solid #bac4bf;font-style:normal}.view-dialog .guide-colors [aria-pressed=true]{border:2px solid #6d28d9;color:#6d28d9;background:#f4efff}.custom-guide{margin-top:14px;width:100%;height:52px}.custom-guide-form{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.custom-guide-form label{flex:1;min-width:80px}.custom-guide-form input{min-height:44px}.guide-current{display:flex;justify-content:space-between;font-size:12px;margin:16px 0}.guide-note{font-size:12px;padding:16px;border-radius:14px;background:#f4f7f2;line-height:1.8;margin-bottom:0}.reader-title{display:none}@media(max-width:720px){body:has(.editor-page)>#root header,body:has(.editor-page) header{display:none}main:has(.editor-page){padding:0}.editor-page{padding:0 12px 12px;background:#f7f8f4}.editor-page .heading{height:68px;margin:0 -12px;padding:12px 12px 12px 68px;background:#fff;position:relative}.editor-page .heading h1{font-size:16px;max-width:50vw}.editor-page .editor-actions .editor-back{display:flex;position:absolute;left:12px;top:12px;width:44px;height:44px;justify-content:center}.editor-page .editor-actions>.secondary:not(.editor-back){display:none}.editor-page .editor-actions .muted{position:absolute;left:68px;top:40px;max-width:200px;font-size:11px}.editor-page .editor-actions>button:last-child{width:76px;height:44px;font-size:14px}.editor-page .editor-layout,.editor-page .workspace{gap:0}.editor-page .reader-area{height:calc(100vw - 24px)}.editor-reader .reader-controls{flex-wrap:nowrap}.editor-reader .reader-controls>button{flex:1;padding:6px;white-space:nowrap}.editor-reader .reader-controls .rotate-view{flex:1.3}.editor-page .workspace-status{display:none}.editor-mobile-settings{margin-top:16px}.editor-page .settings.is-open{z-index:250;inset:12px}}@media(orientation:landscape)and (max-height:500px){.pattern-viewer.immersive-view{display:grid;grid-template-columns:minmax(0,1fr) 72px;grid-template-rows:minmax(0,1fr) 24px;padding:0;background:#f7f8f4}.pattern-viewer.immersive-view .reader-area{grid-area:1/1;height:100%;width:100%}.pattern-viewer.immersive-view .reader-frame{min-height:0;flex:none}.pattern-viewer.immersive-view .reader-controls{grid-area:1/2/3/3;display:flex;flex-direction:column;gap:8px;padding:10px;background:#fff;overflow:auto;border-left:1px solid #dce4dc}.immersive-view .reader-controls>button{width:100%;min-height:50px;padding:4px;flex:none}.immersive-view .reader-controls .exit-view{order:0}.immersive-view .reader-controls .reader-zoom{order:1;display:contents}.immersive-view .reader-zoom button{min-height:50px;width:100%;order:1}.immersive-view .reader-zoom .zoom-plus{order:1}.immersive-view .reader-zoom .zoom-minus{order:2}.immersive-view .reader-zoom .fit-view{order:3}.immersive-view .reader-controls .rotate-view{order:4;flex-direction:column;font-size:10px}.immersive-view .reader-controls .view-options{order:5}.pattern-viewer.immersive-view .reader-location{grid-area:2/1;display:block;margin:0;height:24px;min-height:24px;padding:0 12px;white-space:nowrap;overflow:hidden}.pattern-viewer.immersive-view:has(.reader-progress){grid-template-rows:minmax(0,1fr) 52px 24px}.pattern-viewer.immersive-view:has(.reader-progress) .reader-location{grid-row:3}.pattern-viewer.immersive-view .reader-progress{grid-area:2/1;min-width:0;overflow:auto;flex-wrap:nowrap}.pattern-viewer.editor-reader.immersive-view{grid-template-columns:128px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 24px}.pattern-viewer.editor-reader.immersive-view .reader-area{grid-area:1/2}.pattern-viewer.editor-reader.immersive-view .reader-location{grid-area:2/2}.editor-reader.immersive-view .reader-controls{grid-area:1/1/3/2;display:grid;grid-template-columns:48px 48px;grid-template-rows:44px 48px 48px 48px 44px 44px 44px;align-content:start;gap:8px;padding:8px 12px;border-right:1px solid #dce4dc;overflow:visible}.editor-reader.immersive-view .reader-controls>.exit-view{grid-column:1/3;min-height:44px}.editor-reader.immersive-view .reader-controls>.rotate-view{grid-area:4/2;min-height:48px}.editor-reader.immersive-view .reader-controls>.view-options{grid-area:7/2;min-height:44px}.editor-reader.immersive-view .drawing-tools{position:absolute;top:60px;left:12px;width:104px}.editor-reader.immersive-view .primary-tools{display:grid;grid-template-columns:48px 48px;gap:8px;padding:0;border:0;background:transparent}.editor-reader.immersive-view .primary-tools>button{height:48px;min-height:48px;padding:4px;font-size:11px}.editor-reader.immersive-view .more-tools{grid-area:3/1;height:48px;font-size:12px}.editor-reader.immersive-view .more-tools>div{inset:0 auto auto 112px}.editor-reader.immersive-view .canvas-color{display:flex;margin-top:4px;font-size:0}.editor-reader.immersive-view .canvas-color select{width:104px;font-size:13px}.editor-reader.immersive-view .history-tools{position:absolute;top:284px;left:12px;width:104px;margin:0;gap:8px}.editor-reader.immersive-view .history-tools button{width:48px;font-size:0;padding:4px}.editor-reader.immersive-view .editor-zoom{position:absolute;left:12px;top:336px;margin:0;padding:0;width:48px}.editor-reader.immersive-view .editor-zoom button:not(.fit-view){display:none}.editor-reader.immersive-view>.palette{display:none}.editor-reader.immersive-view .reader-controls .rotate-view span{font-size:9px}}@media print{.coordinate-guides,.view-dialog{display:none!important}}.editor-page .workspace{border:0;box-shadow:none;padding:0;background:transparent;border-radius:0}@media(max-width:720px){.editor-page .editor-actions{position:static}.editor-page .editor-actions .editor-back{left:12px;top:12px}.editor-page .editor-actions .muted{left:68px;top:40px}}@media(max-width:720px){.editor-page .editor-actions{-webkit-backdrop-filter:none;backdrop-filter:none}.detail-page .reader-area,.follow-page .reader-area{height:min(52vh,calc(100dvh - 300px));min-height:180px}.detail-page .reader-controls,.follow-page .reader-controls{padding:0 0 8px}.detail-page .reader-controls>button,.follow-page .reader-controls>button{flex:1;padding:4px}.detail-page .reader-zoom,.follow-page .reader-zoom{width:100%}.editor-mobile-settings{width:60%;align-self:flex-start}.editor-page .unsaved-export{width:37%;align-self:flex-end;margin-top:-44px}}.pattern-viewer .swatches button{background:#fff!important;color:#263d36!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.pattern-viewer .swatches button i{display:block;width:18px;height:18px;border-radius:5px;border:1px solid #263d3618}.pattern-viewer .swatches button.selected{background:#fcecef!important;color:#c43250!important;outline:0;border:1px solid #d23855}.pattern-viewer .palette{position:relative;padding-bottom:0}.pattern-viewer .palette>.quiet{position:absolute;bottom:0;right:0;width:54px;height:54px;font-size:0;border:1px solid #dce4dc;background:#fff}.pattern-viewer .palette>.quiet:after{content:"全部";font-size:12px}.pattern-viewer .palette .swatches{padding-right:62px;flex-wrap:wrap}.pattern-viewer .palette h3 small{float:right}@media(max-width:720px){.editor-page .heading>div:first-child{align-self:flex-start;padding-top:2px}.editor-page .heading h1{line-height:22px;margin:0}.pattern-viewer .reader-controls button{min-width:44px}.detail-page .reader-area,.follow-page .reader-area{height:min(42vh,calc(100dvh - 380px));min-height:160px}.view-dialog{width:calc(100vw - 24px);max-width:366px;margin:auto auto 12px;padding:16px}}.editor-page .guide-toggle button{background:transparent!important}@media(orientation:landscape)and (max-height:500px){.editor-reader.immersive-view .drawing-tools,.editor-reader.immersive-view .primary-tools{pointer-events:none}.editor-reader.immersive-view .drawing-tools button,.editor-reader.immersive-view .drawing-tools summary,.editor-reader.immersive-view .drawing-tools select{pointer-events:auto}.immersive-view.has-spare-space .reader-title{display:block;position:absolute;left:20px;top:16px;max-width:150px;font-size:13px;font-weight:600;pointer-events:none}.immersive-view.has-spare-space .reader-title small{display:block;font-size:11px;color:#5a6b64;margin-top:6px}.editor-reader.immersive-view.has-spare-space .reader-title{left:150px}.editor-reader.immersive-view.has-spare-space>.palette{display:block;position:absolute;top:16px;right:20px;width:130px;margin:0}.editor-reader.immersive-view.has-spare-space>.palette .swatches{flex-direction:column;padding:0}.editor-reader.immersive-view.has-spare-space>.palette h3 small,.editor-reader.immersive-view.has-spare-space>.palette>.quiet{display:none}.editor-reader.immersive-view.has-spare-space>.palette .swatches button{width:52px}.editor-reader.immersive-view.has-spare-space>.palette .swatches button:nth-child(n+5){display:none}}.editor-page button,.pattern-viewer button{white-space:nowrap}.editor-zoom button{padding:4px 8px}.reader-progress select{min-height:44px;min-width:100px}.reader-progress>button{flex:none}@media(orientation:landscape)and (max-height:500px){.immersive-view .reader-controls .exit-view{font-size:11px;padding:4px 0}.editor-reader.immersive-view .reader-controls .exit-view{font-size:13px}.editor-reader.immersive-view .editor-zoom .fit-view{width:48px;height:44px;padding:4px}.pattern-viewer.immersive-view .reader-progress{background:#f7f8f4}}.immersive-settings{display:none}.pattern-viewer .palette>.quiet[aria-expanded=true]:after{content:"已用"}@media(orientation:landscape)and (max-height:500px){.editor-reader.immersive-view.has-spare-space .immersive-settings{display:block;position:absolute;right:12px;bottom:44px;width:138px}}@media(orientation:landscape)and (max-height:500px){.editor-reader.immersive-view.has-spare-space>.palette,.editor-reader.immersive-view.has-spare-space>.immersive-settings{z-index:2}}.pattern-viewer.immersive-view .reader-area{flex:1;min-height:0}@media(min-width:721px)and (min-height:501px){.editor-page .workspace{display:flex;flex-direction:column}.editor-page .editor-reader .reader-area{height:min(58vh,600px)}.editor-page .editor-reader .reader-controls{justify-content:flex-start}}.convert-choice{border:0;margin:0 0 14px;padding:0;display:grid;gap:8px}.convert-choice legend{padding:0;margin-bottom:8px;font-weight:600}.convert-choice .muted{margin:0}.convert-choice label.check{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;margin:0}.convert-choice label.check input{flex:none;width:20px;height:20px;min-height:0;margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.narrow-only{display:none}button,.button{border-radius:var(--radius-control);min-height:44px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--action);outline-offset:2px}.icon-button{width:44px;height:44px;min-height:44px;padding:0;flex-shrink:0;border:0;background:transparent;color:var(--ink)}.icon-button:hover{background:#f1eeeb}.gallery-page>.sr-only+.gallery-search{margin-top:0}.gallery-search{display:flex;gap:12px;align-items:stretch;margin-bottom:12px}.gallery-search .search{position:relative;flex:1;display:block;margin:0;color:var(--muted)}.gallery-search .search .ui-icon{position:absolute;left:14px;top:14px;pointer-events:none}.gallery-search .search input{width:100%;height:48px;margin:0;padding:0 14px 0 42px;border:1px solid var(--line);border-radius:var(--radius-card);background:#fff;font-size:16px;color:var(--ink)}.start-photo{flex-shrink:0;min-height:48px;gap:8px;padding:0 22px;border-radius:var(--radius-card);font-size:16px;font-weight:600}.gallery-refine-row{display:flex;align-items:center;gap:4px;margin:0 0 12px}.gallery-page .category-tabs{flex:1;min-width:0;display:flex;gap:2px;margin:0;padding:0;border:0;overflow-x:auto;scrollbar-width:none}.gallery-page .category-tabs::-webkit-scrollbar{display:none}.gallery-page .category-tabs button{flex-shrink:0;min-height:40px;padding:0 14px;border:0;border-radius:20px;background:transparent;color:var(--ink-soft);font-size:15px;font-weight:500}.gallery-page .category-tabs button.active{background:var(--action-tint);color:var(--action-ink);font-weight:600}.filter-toggle{position:relative;flex-shrink:0;width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink-soft)}.filter-toggle.is-set:after{content:"";position:absolute;top:9px;right:8px;width:8px;height:8px;border-radius:50%;background:var(--action)}.gallery-page>.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;align-items:end;margin:0 0 12px;padding:12px;border:1px solid var(--line);border-radius:var(--radius-card);background:#fff;font-size:15px}.gallery-page>.filters select{width:100%;min-height:44px}.gallery{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.pattern-card{border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:none;background:#fff;overflow:hidden}.pattern-card:hover{transform:none;border-color:#cfc9c7;box-shadow:0 2px 10px #43363112}.pattern-card .image-button{display:block;width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent}.pattern-card .preview,.pattern-card:nth-child(n) .preview{border:0;border-radius:0;background:#fdf1e8}.pattern-card:nth-child(4n+2) .preview{background:#fcecef}.pattern-card:nth-child(4n+3) .preview{background:#e4f1e9}.pattern-card:nth-child(4n+4) .preview{background:#f4effa}.pattern-card .image-button{position:relative}.card-badge{position:absolute;top:8px;left:8px;padding:2px 8px;border-radius:10px;background:#fff;color:var(--action-ink);font-size:13px;font-weight:600}.pattern-card .card-info{padding:9px 11px 11px}.pattern-card .card-info h3{margin:0;font-size:15px;font-weight:600;line-height:1.3}.pattern-card .card-info p{display:block;margin:2px 0 0;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.detail-heading{display:flex;align-items:center;gap:6px;margin:0 0 10px}.detail-title{flex:1;min-width:0}.detail-heading h1{margin:0;font-size:19px;font-weight:700;line-height:1.25}.detail-heading .muted{margin:0;font-size:13px;font-variant-numeric:tabular-nums}.detail-side{display:flex;flex-direction:column;gap:12px}.task-actions .share-button{flex:0 0 52px;width:52px;padding:0}.task-actions>button:not(.share-button){flex:1;min-height:52px;border-radius:var(--radius-card);font-size:16px;font-weight:600}.bead-list h2{margin:0 0 8px;font-size:16px;font-weight:700}.bead-list .section-line{display:none}.bead-list .materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.bead-list .material{display:flex;align-items:center;gap:7px;min-height:44px;margin:0;padding:0 11px 0 8px;border:1px solid var(--line);border-radius:var(--radius-control);background:#fff;color:var(--ink);font-size:14px;font-variant-numeric:tabular-nums}.bead-list .material i{width:22px;height:22px;flex-shrink:0;border-radius:6px;border:1px solid #263d3640}.bead-list .material span{margin-left:auto;color:var(--muted);font-weight:400}.bead-list .materials .muted{grid-column:1 / -1;margin:2px 0 0;font-size:13px}.detail-page .pattern-viewer:not(.immersive-view) .reader-location{min-height:44px;display:flex;align-items:center;flex-wrap:wrap;padding:6px 12px;border-radius:var(--radius-control);background:var(--mint);color:var(--ink);font-size:14px;font-variant-numeric:tabular-nums}.detail-credit{margin:0;font-size:13px}.report-button{align-self:flex-start;color:var(--muted);font-size:13px}.sheet-backdrop{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:16px;background:#263d3675}.sheet{width:min(460px,100%);max-height:100%;overflow-y:auto;padding:8px 16px 18px;display:flex;flex-direction:column;gap:10px;border-radius:20px;background:var(--cream);outline:none}.sheet-head{display:flex;align-items:center;justify-content:space-between}.sheet-head h2{margin:0;font-size:18px;font-weight:700}.sheet-head .icon-button{margin-right:-10px}.sheet .downloads h3{display:none}.sheet .muted{margin:0;font-size:13px;line-height:1.45}.downloads{display:flex;flex-direction:column;gap:10px;margin:0}.downloads>label:not(.check){font-size:14px}.downloads .check{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;font-size:15px}.downloads .check input{width:20px;height:20px;margin:0;flex-shrink:0}.direct-print{align-self:flex-start;color:var(--muted);font-size:13px}.print-options{display:flex;flex-direction:column;gap:10px}.print-option{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:60px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-card);background:#fff;color:var(--ink);text-align:left;text-decoration:none;font-weight:400}.print-option:hover{background:#fff;border-color:#cfc9c7;color:var(--ink)}.print-option.is-main,.print-option.is-main:hover{border:1.5px solid var(--action)}.print-option-icon{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#f1eeeb}.print-option:nth-child(2) .print-option-icon{background:var(--mint)}.print-option.is-main .print-option-icon{background:var(--action-tint);color:var(--action-ink)}.print-option-text b{display:block;font-size:15px;font-weight:600}.print-option-text small{display:block;margin-top:1px;font-size:13px;color:var(--muted)}.shop-qr{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--radius-card);background:#fff}.shop-qr img{width:64px;height:64px;flex-shrink:0}.shop-qr b{font-size:15px;font-weight:600}.shop-qr p{margin:2px 0 0}.editor-layout{grid-template-columns:300px minmax(0,1fr)}.settings-head{display:flex;align-items:center;gap:6px}.settings-head h2{margin:0;font-size:19px;font-weight:700}.settings-head .settings-close{display:none}.photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;border:1px solid var(--line);border-radius:var(--radius-card);background:#fff}.photo-cell{display:flex;flex-direction:column;gap:5px;min-width:0}.photo-cell .file-drop{flex:1;margin:0;aspect-ratio:1;border-radius:10px;font-size:15px}.photo-cell .file-drop.is-compact{order:2;flex:none;aspect-ratio:auto;min-height:28px;padding:0;border:0;background:transparent;font-size:13px;color:var(--muted);text-align:center}.photo-cell .source-preview{border-radius:10px}.grid-thumb-frame{aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:10px;background:#fbf9f6;font-size:13px;text-align:center}.grid-thumb{max-width:100%;max-height:100%;width:100%;height:auto;object-fit:contain;image-rendering:pixelated}.photo-caption{margin:0;min-height:28px;font-size:13px;color:var(--muted);text-align:center}.segments{margin:0;padding:0;border:0;min-width:0}.segments legend{padding:0;margin:0 0 6px;font-size:14px;font-weight:600}.segment-row{display:grid;gap:4px;padding:4px;border-radius:var(--radius-control);background:#f1eeeb}.segment-row button{display:block;white-space:normal;min-height:44px;padding:4px 2px;border:0;border-radius:9px;background:transparent;color:var(--ink-soft);font-size:15px;font-weight:500;line-height:1.25}.segment-row button:hover{background:#ffffff80;color:var(--ink)}.segment-row button.on,.segment-row button.on:hover{background:#fff;color:var(--action-ink);font-weight:600;box-shadow:0 1px 3px #263d3629}.segment-row small{display:block;white-space:normal;font-size:12px;font-weight:400;color:var(--muted);font-variant-numeric:tabular-nums}.choice-note{margin:-6px 0 0;font-size:13px}.convert-bar button{width:100%;min-height:52px;border-radius:var(--radius-card);font-size:16px;font-weight:600}@media(max-width:720px){.wide-only{display:none}.narrow-only{display:inline}.brand-note,header nav,.sheet .direct-print{display:none}header .account{min-height:44px;font-size:15px;font-weight:600}.gallery-search{flex-direction:column}.start-photo{min-height:52px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sheet-backdrop{align-items:flex-end;padding:0}.sheet{width:100%;max-height:92%;padding-bottom:calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.detail-side{padding-bottom:8px}.editor-page .settings.is-open{position:fixed;inset:0;z-index:250;gap:14px;width:auto;padding:8px 16px 0;border:0;border-radius:0;box-shadow:none;background:var(--cream);overflow-y:auto}.settings-head{margin-left:-10px}.settings-head .settings-close{display:flex}.convert-bar{position:sticky;bottom:0;z-index:2;margin:0 -16px;padding:10px 16px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}}@media print{.sheet-backdrop{display:none}}.editor-layout.is-photo-step{display:block;max-width:520px;margin:0 auto}.is-photo-step .settings{width:100%}.is-photo-step .settings-head .settings-close{display:flex}.is-photo-step .follow-state{margin:0}html,body{overscroll-behavior:none;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}html{overflow-x:hidden}body{overflow-x:clip;-webkit-tap-highlight-color:transparent}button,.button,.mobile-nav,nav a{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}@media(max-width:720px){input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}}.photo-flow{display:flex;flex-direction:column;gap:14px;max-width:520px;margin:0 auto}.flow-head{display:flex;align-items:center;gap:6px}.flow-head .icon-button{border:0;background:transparent;margin-left:-10px}.flow-title{flex:1;min-width:0}.flow-title h1{margin:0 0 5px;font-size:19px;font-weight:700;line-height:1.25}.flow-steps{display:flex;gap:4px;margin:0;padding:0;list-style:none}.flow-steps li{flex:1;height:4px;border-radius:2px;background:var(--line)}.flow-steps li.done{background:var(--action)}.flow-count{padding-left:8px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}.flow-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:300px;margin:0;border:1.5px dashed #e3a6b2;border-radius:var(--radius-card);background:#fff8f9;color:var(--action-ink);cursor:pointer;font-size:16px}.flow-drop b{font-weight:600}.flow-drop small{color:var(--muted);font-size:13px}.flow-drop input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.flow-drop:focus-within{outline:2px solid var(--action);outline-offset:2px}.flow-tip,.flow-hint{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}.flow-hint{min-height:20px;text-align:center}.flow-stage,.flow-result,.flow-preview{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-card);background:#fff}.flow-stage.is-cut,.flow-result.is-cut{background:repeating-conic-gradient(#e7e3e2 0 25%,#fff 0 50%) 0 0 / 18px 18px}.flow-stage{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}.flow-stage canvas{display:block;max-width:100%;max-height:56dvh}.flow-result{height:240px;padding:8px}.flow-result img{max-width:100%;max-height:100%}.flow-working{position:absolute;top:10px;left:50%;transform:translate(-50%);padding:5px 12px;border-radius:14px;background:#263d36e6;color:#fff;font-size:13px;white-space:nowrap}.flow-preview{height:min(46dvh,88vw,460px);padding:10px;background:#fbf9f6}.flow-preview .grid-thumb{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.flow-stats{min-height:20px;margin:-4px 0 0;color:var(--ink);font-size:14px;text-align:center;font-variant-numeric:tabular-nums}.flow-tools{display:flex;align-items:flex-end;gap:10px}.flow-tools .segments{flex:1}.flow-tools>button{gap:4px;min-height:52px;padding:0 14px}.flow-bar{position:sticky;bottom:0;z-index:2;display:flex;gap:10px;margin:0 -16px;padding:10px 16px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}.flow-bar button{flex:1;min-height:52px;border-radius:var(--radius-card);font-size:16px;font-weight:600}.flow-link{align-self:center;color:var(--muted);font-size:13px}.look-options{display:flex;flex-direction:column;gap:10px}.look-option,.look-option:hover{display:block;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-card);background:#fff;color:var(--ink);font-weight:400;text-align:left}.look-option.on,.look-option.on:hover{border:1.5px solid var(--action);background:#fff8f9}.look-option b{display:block;font-size:16px;font-weight:600}.look-option small{display:block;margin-top:2px;color:var(--muted);font-size:13px;line-height:1.45;white-space:normal}.look-option:disabled{opacity:.6}.photo-flow .follow-state{margin:0}@media(min-width:721px){.flow-bar{position:static;margin:0;padding:0;border:0;background:transparent}}@media(max-width:720px){.photo-flow{min-height:calc(100dvh - 24px)}.photo-flow .flow-bar{margin-top:auto}}.flow-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px}.model-settings{display:flex;flex-direction:column;gap:12px}.model-settings h2,.model-settings h3,.model-settings p{margin:0}.model-settings h3{margin-top:6px;font-size:16px}.model-settings label{display:block;font-size:14px}.model-settings input,.model-settings select,.model-settings textarea{width:100%;margin-top:4px}.model-settings textarea{padding:10px;border:1px solid var(--line);border-radius:var(--radius-control);font:inherit}.model-state{margin-left:8px;padding:2px 8px;border-radius:10px;background:#f1eeeb;color:var(--muted);font-size:13px;font-weight:400}.model-state.on{background:var(--mint);color:var(--ink)}.model-key-state{display:block;margin-top:4px;color:var(--action-ink);font-size:13px}.model-key-state button{min-height:32px;padding:0;font-size:13px}.model-test{padding:10px 12px;border-radius:var(--radius-control);font-size:14px}.model-test.ok{background:var(--mint)}.model-test.ok img{display:block;max-width:200px;margin-top:8px;border-radius:8px}.model-test.failed{background:var(--action-tint);color:var(--action-ink)}
