@charset "UTF-8";
:root{--paper:#f6f4ed;--card:#fffef9;--ink:#263d32;--muted:#798176;--line:#e3e5d9;--green:#244c3c;--light:#e7eddf;--sage:#b9c5a8;--clay:#b97458;--rose:#f5e6da;--red:#a73f32;--shadow:0 12px 40px #243c3210;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid var(--clay);outline-offset:4px}button{color:inherit}a{color:var(--green)}svg{display:block}h1,h2,h3,p{margin:0}button svg{width:21px;height:21px;flex-shrink:0}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shell{max-width:1120px;padding:0 46px 120px;margin:auto}.topbar{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);background:none;border:0;padding:0}.brand-mark{width:39px;height:39px;color:var(--green)}.brand-name{font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:600;letter-spacing:-1px}.brand-label{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);margin-top:4px}.top-actions{display:flex;gap:9px;align-items:center}.save-note{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-right:12px}.save-note i{height:6px;width:6px;border-radius:50%;background:#7f9c70}.icon-button{width:42px;height:42px;background:transparent;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:var(--light)}.page{padding-top:40px;animation:appear .2s ease}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:2.2px;font-weight:700;color:var(--muted);margin-bottom:14px}.page-title{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1.4px;font-size:46px;line-height:1.08}.subtle{color:var(--muted);font-size:14px;line-height:1.65}.page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:30px}.page-intro .subtle{max-width:260px}.hero{border-radius:24px;background:var(--green);color:#fffdf2;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;position:relative;margin-bottom:37px;min-height:246px}.hero-copy{padding:32px 36px;z-index:1}.hero .eyebrow{color:#b9cbb7;margin-bottom:15px}.hero h2{font-family:Georgia,"Times New Roman",serif;font-size:32px;font-weight:400;line-height:1.16;max-width:380px;letter-spacing:-.5px}.hero p{color:#c1cfbd;font-size:13px;line-height:1.6;margin-top:11px;max-width:350px}.hero-art{height:100%;width:100%;max-height:290px;align-self:center;opacity:.93}.hero .button{background:#e9efdc;color:var(--green);margin-top:23px;border:none;font-size:13px;min-height:42px;padding:10px 19px}.hero .button .icon{width:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;gap:12px}.section-heading h2{font-size:21px;font-family:Georgia,serif;font-weight:400;letter-spacing:-.4px}.badge{font-size:10px;text-transform:uppercase;letter-spacing:1px;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:6px;background:var(--light);color:#53654d}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--green);background:var(--green);color:white;border-radius:12px;padding:13px 18px;min-height:47px;font-size:14px;font-weight:600;text-decoration:none}.button:hover{filter:brightness(1.07)}.button.secondary{background:var(--card);color:var(--green);border-color:var(--line)}.button.text{background:none;color:var(--green);border-color:transparent;padding:8px 0;min-height:36px}.button.danger{color:var(--red);border-color:#e4c8bd;background:#fff7f0}.button.small{padding:9px 12px;min-height:38px;font-size:12px}.button.wide{width:100%}.button .icon{width:18px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.project-card{background:var(--card);border:1px solid var(--line);border-radius:19px;padding:24px;position:relative;min-width:0}.project-card .title-row{display:flex;gap:13px;align-items:center;margin:0 24px 20px 0}.project-thumb{width:49px;height:54px;border-radius:12px;background:#e7eadb;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;color:var(--green);font-size:27px;flex-shrink:0}.project-thumb.clay{background:#f0e0d3;color:var(--clay)}.project-card h3{font-family:Georgia,serif;font-size:21px;font-weight:400;line-height:1.2;overflow-wrap:anywhere}.project-card .subtle{font-size:11px;margin-top:5px}.project-card .edit{position:absolute;right:17px;top:18px;width:32px;height:32px;border:none}.card-stats{display:flex;gap:28px;margin-bottom:15px;font-size:18px}.card-stats span{font-size:10px;color:var(--muted);display:block;margin-top:3px}.progress-track{height:4px;background:#e9ebdf;border-radius:10px;overflow:hidden}.progress-track>i{display:block;height:100%;border-radius:10px;background:#91a078;min-width:1px}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.card-bottom .subtle{font-size:10px;margin:0}.new-card{background:transparent;border:1px dashed #bcc5b2;border-radius:19px;min-height:229px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#6a7b60;padding:22px}.new-card .plus{width:44px;height:44px;border-radius:50%;background:#e9eddf;display:grid;place-items:center;font-size:24px;font-weight:300}.new-card strong{font-size:14px;font-weight:500}.new-card small{font-size:11px;color:var(--muted);text-align:center}.footer-note{display:flex;gap:9px;align-items:center;justify-content:center;font-size:11px;color:var(--muted);margin-top:29px;line-height:1.6;text-align:center}.footer-note .icon{width:15px;height:15px;flex-shrink:0}.bottom-nav{position:fixed;z-index:10;bottom:20px;left:50%;transform:translateX(-50%);display:flex;padding:7px;gap:5px;border:1px solid #e1e4d7;background:#fffef9ed;backdrop-filter:blur(15px);border-radius:19px;box-shadow:0 7px 35px #263d3214}.nav-item{display:flex;align-items:center;gap:8px;background:transparent;border:none;padding:12px 22px;border-radius:12px;font-size:12px;color:#7b8477;min-height:44px}.nav-item.active{background:var(--green);color:#fff}.nav-item .icon{width:18px;height:18px}.knit-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px}.knit-header .page-title{font-size:34px;overflow-wrap:anywhere}.knit-header .eyebrow{margin-bottom:7px}.knit-tools{display:flex;gap:8px;flex-shrink:0}.knit-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.75fr);gap:22px}.work-card{background:var(--card);border:1px solid var(--line);border-radius:23px;padding:28px;min-width:0}.row-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.row-number{font-size:20px;font-family:Georgia,serif}.row-side{font-size:11px;color:var(--muted);margin-top:5px}.stitch-progress{font-size:11px;color:var(--muted)}.current-stitch{text-align:center;padding:26px 10px 24px}.stitch-orbit{height:106px;width:106px;margin:0 auto 20px;background:var(--light);color:var(--green);border:1px solid #dbe2cf;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:65px;font-weight:300;font-family:Georgia,serif;line-height:1}.current-stitch h2{font-family:Georgia,serif;font-size:34px;letter-spacing:-.6px;font-weight:400;margin-bottom:10px}.current-stitch p{font-size:13px;line-height:1.65;color:#74816e;max-width:370px;margin:auto}.position-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--clay);margin-bottom:12px}.stitch-rail{display:flex;gap:7px;padding:14px 0;overflow-x:auto;scrollbar-width:thin;justify-content:center;max-width:100%}.rail-step{width:37px;height:41px;flex-shrink:0;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;font-family:Georgia,serif;font-size:24px;background:var(--paper);color:#819075;position:relative}.rail-step.done{background:var(--light);opacity:.55}.rail-step.current{background:var(--green);color:white;border-color:var(--green)}.rail-step.changed{border-color:#d4ae8b;color:var(--clay);background:#f9eee2}.rail-step.current.changed{background:var(--clay);color:white}.rail-step small{font-family:-apple-system,sans-serif;position:absolute;bottom:-13px;font-size:8px;color:var(--muted)}.rail-gap{display:grid;place-items:center;color:var(--muted);flex-shrink:0;font-size:13px}.complete-button{width:100%;min-height:70px;border:0;background:var(--green);color:#fff;border-radius:15px;font-size:18px;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:600;margin-top:15px;touch-action:manipulation}.complete-button .icon{width:23px;height:23px}.work-actions{display:flex;justify-content:space-between;gap:10px;margin-top:10px}.work-actions button{font-size:11px;color:#6d7b63}.side-stack{display:flex;flex-direction:column;gap:15px}.info-card{border:1px solid var(--line);border-radius:18px;padding:21px;background:var(--card)}.info-card h3{font-family:Georgia,serif;font-size:19px;font-weight:400;margin-bottom:16px}.count-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.count-grid strong{font-size:28px;font-family:Georgia,serif;font-weight:400;display:block}.count-grid span{font-size:10px;color:var(--muted);display:block;margin-top:5px;line-height:1.5}.count-grid .after{color:var(--clay)}.count-delta{font-size:11px;color:var(--clay);padding-top:14px;border-top:1px solid var(--line);margin-top:15px;line-height:1.6}.upcoming{display:flex;gap:9px;align-items:flex-start;border-top:1px solid var(--line);padding:11px 0;font-size:11px;line-height:1.5}.upcoming:first-of-type{border-top:none;padding-top:0}.upcoming:last-child{padding-bottom:0}.upcoming .mini-glyph{height:29px;width:29px;background:var(--rose);color:var(--clay);font-size:20px;display:grid;place-items:center;border-radius:7px;flex-shrink:0}.upcoming strong{font-weight:500}.upcoming span{color:var(--muted)}.notice{padding:13px 16px;border-radius:12px;background:#edf1e6;font-size:12px;line-height:1.65;margin-bottom:16px;color:#54694a;display:flex;gap:10px;align-items:center}.notice.warning{background:#f6e8da;color:#936143}.notice.error{background:#f8e4db;color:var(--red)}.notice .icon{width:19px;height:19px;flex-shrink:0}.notice .button{margin-left:auto;white-space:nowrap;font-size:11px}.pattern-source{white-space:pre-wrap;font-size:12px;line-height:1.9;color:#75806e;font-family:inherit;word-break:break-word;margin:0}.pattern-source strong{font-weight:600;color:var(--green)}.pattern-row{display:block;padding:4px 8px;border-radius:7px}.pattern-row.selected{background:var(--light);color:var(--green)}.legend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.symbol-card{display:flex;gap:15px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:15px;padding:18px;min-width:0}.symbol-glyph{width:45px;height:49px;display:grid;place-items:center;background:var(--light);border-radius:10px;color:var(--green);font-size:33px;font-family:Georgia,serif;flex-shrink:0}.symbol-card h3{font-size:13px;font-weight:600;margin-bottom:5px}.symbol-card p{font-size:10px;color:var(--muted);line-height:1.6}.symbol-card code{font:10px inherit;background:var(--paper);padding:2px 4px}.symbol-card .icon-button{width:27px;height:27px;margin-left:auto;border:0;flex-shrink:0}.legend-help{margin-top:22px;line-height:1.8;font-size:12px;color:var(--muted);max-width:670px}.empty-state{text-align:center;border:1px dashed #bec8b4;border-radius:20px;padding:40px 22px}.empty-state h2{font-family:Georgia,serif;font-weight:400;margin:15px 0;font-size:25px}.empty-state .subtle{max-width:350px;margin:0 auto 20px}.history-list{display:flex;flex-direction:column;gap:0}.history-entry{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:12px;line-height:1.5}.history-entry time{font-size:10px;color:var(--muted);white-space:nowrap}.modal-backdrop{position:fixed;inset:0;background:#1b30286b;z-index:30;display:flex;align-items:center;justify-content:center;padding:22px;backdrop-filter:blur(4px);overflow:auto}.modal{background:var(--paper);border:1px solid var(--line);width:min(100%,620px);border-radius:24px;max-height:90dvh;overflow-y:auto;padding:29px;box-shadow:0 20px 100px #0003}.modal.wide{width:min(100%,750px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}.modal-header h2{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:-.5px}.modal-header .icon-button{width:32px;height:32px;flex-shrink:0}.field{margin-bottom:18px}.field>label{font-size:12px;font-weight:600;display:block;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;background:var(--card);color:var(--ink);border:1px solid #d9dfce;border-radius:10px;padding:13px 14px;outline:none;font-size:16px;min-height:47px}.field textarea{resize:vertical;min-height:160px;line-height:1.7;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#82966e;box-shadow:0 0 0 3px #c3d0b333}.field .hint{font-size:11px;color:var(--muted);line-height:1.6;margin-top:7px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox{display:flex;gap:10px;align-items:center;font-size:12px;line-height:1.5;margin:8px 0 19px}.checkbox input{width:19px;height:19px;accent-color:var(--green);flex-shrink:0}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;justify-content:flex-end}.modal-actions .button{flex:1}.modal .subtle{font-size:12px}.editor-legend{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.editor-legend button{border:1px solid var(--line);border-radius:7px;background:var(--card);font-size:10px;padding:7px;color:#607256}.error-list{font-size:12px;color:var(--red);line-height:1.7;margin-top:15px;white-space:pre-line}.preview-list{font-size:11px;line-height:1.8;background:var(--light);border-radius:10px;padding:12px 15px;margin-top:13px;max-height:150px;overflow:auto}.preview-list .warn{color:var(--clay)}.help-block{margin-bottom:22px}.help-block h3{font-size:14px;margin-bottom:8px;font-weight:600}.help-block p,.help-block ol{font-size:12px;color:#6e7d66;line-height:1.85;margin:0}.help-block ol{padding-left:19px}.toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%) translateY(15px);opacity:0;pointer-events:none;z-index:50;background:#263d32;color:white;padding:13px 20px;border-radius:12px;font-size:12px;box-shadow:var(--shadow);transition:.2s;max-width:calc(100% - 30px);text-align:center}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.text-button{border:0;background:none;color:var(--green);font:inherit;text-decoration:underline;text-underline-offset:3px;padding:3px}.danger-zone{margin-top:24px;padding-top:17px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px}.finished{padding:36px 10px;text-align:center}.finished .stitch-orbit{font-size:48px}.finished h2{font-family:Georgia,serif;font-weight:400;font-size:32px;margin-bottom:12px}.finished .subtle{margin-bottom:22px}.paused-tag{background:var(--rose);color:var(--clay)}.offline-label{background:var(--rose);color:var(--clay);font-size:10px;border-radius:5px;padding:5px 7px}.storage-error{position:sticky;top:0;z-index:22;border-radius:0!important;margin:0!important}.mini-separator{height:1px;background:var(--line);margin:20px 0}.metric-line{display:flex;justify-content:space-between;font-size:12px;padding:9px 0;border-bottom:1px solid var(--line)}.metric-line:last-child{border:0}.row-relation{color:var(--muted);font-size:10px;margin-top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1000px){.hero-art{padding:12px 38px 0 0}.knit-page{padding-top:30px}}@media(max-width:760px){.shell{padding:0 23px 112px}.topbar{height:85px}.brand-name{font-size:27px}.brand-label{font-size:8px;letter-spacing:1.5px}.brand-mark{height:34px;width:34px}.save-note{display:none}.page{padding-top:29px}.page-title{font-size:36px;letter-spacing:-1px}.page-intro{margin-bottom:24px}.page-intro>.subtle{display:none}.hero{grid-template-columns:1.25fr .75fr;min-height:235px;margin-bottom:29px}.hero-copy{padding:25px}.hero h2{font-size:27px;max-width:270px}.hero p{font-size:11px}.hero-art{width:190px;margin-left:-15px}.hero .eyebrow{font-size:8px;letter-spacing:1.6px}.project-grid{gap:13px}.project-card{padding:20px}.project-card h3{font-size:19px}.card-stats{gap:20px}.knit-layout{grid-template-columns:1fr}.side-stack{display:grid;grid-template-columns:1fr 1fr;gap:13px}.side-stack .pattern-panel{grid-column:1/-1}.legend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-item{padding:12px 19px}.bottom-nav{bottom:max(12px,env(safe-area-inset-bottom))}.knit-header .page-title{font-size:28px}.work-card{padding:23px}.toast{bottom:95px}.knit-tools .icon-button{width:37px;height:37px}.knit-header{align-items:flex-start}.info-card{padding:18px}.side-stack .info-card h3{font-size:18px}}
@media(max-width:480px){.shell{padding-left:20px;padding-right:20px}.topbar{height:78px}.top-actions{gap:6px}.top-actions .icon-button{width:35px;height:35px}.brand{gap:8px}.brand-name{font-size:25px}.page-title{font-size:35px}.eyebrow{font-size:9px;margin-bottom:10px}.hero{min-height:217px;grid-template-columns:1.15fr .65fr;border-radius:19px}.hero-copy{padding:23px 0 23px 23px}.hero h2{font-size:27px}.hero p{max-width:210px}.hero-art{width:154px;margin-left:-21px}.hero .button{font-size:11px;padding:10px 13px;min-height:39px;margin-top:18px}.hero .eyebrow{font-size:7px;letter-spacing:1.3px}.project-grid{grid-template-columns:1fr}.project-card{min-height:auto;padding:21px}.new-card{min-height:112px;gap:6px;padding:18px;position:relative}.new-card .plus{position:absolute;left:23px;width:37px;height:37px}.new-card strong,.new-card small{margin-left:34px}.project-card .title-row{margin-bottom:17px}.project-thumb{width:45px;height:48px}.section-heading h2{font-size:21px}.section-heading>.button{font-size:11px}.footer-note{font-size:10px;margin-top:23px}.bottom-nav{width:calc(100% - 40px);max-width:400px;justify-content:space-around;padding:6px;border-radius:17px;gap:0}.nav-item{padding:11px 12px;gap:6px;font-size:10px;border-radius:11px}.nav-item .icon{width:17px;height:17px}.knit-header .page-title{font-size:25px}.knit-header{gap:8px;margin-bottom:18px}.knit-tools{gap:4px}.knit-tools .icon-button{width:34px;height:34px}.work-card{padding:20px;border-radius:19px}.row-number{font-size:19px}.current-stitch{padding:22px 0 16px}.current-stitch h2{font-size:32px}.current-stitch p{font-size:12px}.stitch-orbit{height:98px;width:98px;margin-bottom:17px}.stitch-rail{gap:6px}.rail-step{width:31px;height:37px;font-size:22px}.complete-button{min-height:67px;font-size:17px}.work-actions button{font-size:10px;gap:5px}.work-actions button .icon{width:15px}.side-stack{gap:10px}.info-card{padding:16px;border-radius:15px}.count-grid{gap:10px}.count-grid strong{font-size:25px}.count-grid span{font-size:9px}.count-delta{font-size:10px}.upcoming{font-size:10px}.upcoming .mini-glyph{width:24px;height:25px;font-size:18px}.side-stack .info-card h3{font-size:16px;margin-bottom:12px}.legend-grid{gap:10px}.symbol-card{padding:14px 11px;gap:9px;align-items:flex-start}.symbol-glyph{width:32px;height:39px;font-size:27px;border-radius:7px}.symbol-card h3{font-size:11px}.symbol-card p{font-size:9px}.symbol-card .icon-button{width:22px;height:22px}.symbol-card .icon{width:14px;height:14px}.modal-backdrop{padding:12px;align-items:flex-end}.modal{border-radius:22px;padding:23px 20px 28px;max-height:93dvh}.modal-header h2{font-size:25px}.field-grid{gap:12px}.field-grid .field label{font-size:11px}.notice{padding:11px 13px;font-size:11px;gap:7px}.notice .button{padding-left:5px;font-size:10px}.history-entry time{font-size:9px}.save-status-mobile{font-size:9px;color:var(--muted);text-align:center;margin-top:12px}.legend-help{font-size:11px}.knit-header .eyebrow{font-size:8px}.pattern-source{font-size:11px}}
.project-card>.icon-button{position:absolute;right:17px;top:18px;width:32px;height:32px;border:none}
@media(max-width:480px){.knit-page{padding-top:23px}.knit-page .work-card{padding:17px}.knit-page .current-stitch{padding:16px 0 10px}.knit-page .stitch-orbit{height:78px;width:78px;font-size:53px;margin-bottom:13px}.knit-page .current-stitch h2{font-size:29px;margin-bottom:8px}.knit-page .stitch-rail{padding:10px 0}.knit-page .complete-button{min-height:64px;margin-top:10px}.knit-page .row-heading{margin-bottom:14px}.knit-page .work-actions{margin-top:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
