:root{font-family:Inter,Segoe UI,sans-serif;color:#354038;background:#f8f7f3;font-synthesis:none;font-size:14px;--bg: #f8f7f3;--surface: #fffefa;--ink: #354038;--muted: #788075;--line: #e5e6dd;--sage: #526951;--soft: #edf0e7;--hero: #e9ede2;--peach: #f1e5db;--shadow: 0 3px 14px #37433305;color-scheme:light}.mobile-menu-button{display:none}.mobile-menu-grid{display:grid;gap:12px}.mobile-library-tools{display:none}@media(max-width:780px){.app-shell .mobile-library-tools{display:inline-flex}.app-shell .library-import:not(.expanded){display:none}.app-shell .pattern-heading>div>p.muted{display:none}.app-shell .pattern-heading .actions{gap:10px}.app-shell .browse-toolbar[data-filters-open=false] select[aria-label="Sort patterns"]{display:none}}@media(max-width:780px){.app-shell[data-phone-layout=compact] .catalog-grid.pattern-library{gap:14px}.app-shell[data-phone-layout=compact] .pattern-library.catalog-grid .card-image{height:auto;aspect-ratio:3 / 4}.app-shell[data-phone-layout=compact] .pattern-library .card-body{padding:12px}.app-shell[data-phone-layout=compact] .pattern-library .card-body h3{font-size:14px;line-height:1.4}.app-shell[data-phone-layout=compact] .pattern-library .card-body>.section-head:first-child>small,.app-shell[data-phone-layout=compact] .pattern-library .card-body>.section-head:last-child .tag{display:none}.app-shell[data-phone-layout=compact] .pattern-library .card-body>.section-head:first-child{position:absolute;top:7px;right:7px}.app-shell[data-phone-layout=compact] .pattern-library .pattern-card{position:relative}.app-shell[data-phone-layout=compact] .pattern-library .favorite{background:var(--surface);border-radius:50%;width:44px}.app-shell[data-phone-layout=compact] .pattern-library .card-body>.section-head:last-child{justify-content:flex-end}}@media(max-width:780px){.mobile-menu-button{display:inline-flex}.topbar .breadcrumb{display:none}.topbar{justify-content:flex-end}.topbar>.actions{width:100%;justify-content:space-between}.app-shell[data-phone-layout=comfortable] .catalog-grid{grid-template-columns:minmax(0,1fr);gap:24px}.app-shell[data-phone-layout=comfortable] .catalog-grid .card-image{height:auto;aspect-ratio:4 / 3}.app-shell[data-phone-layout=comfortable] .card-body{padding:20px}.app-shell[data-phone-layout=comfortable] .card-body h3{font-size:19px;line-height:1.4}.app-shell[data-phone-layout=comfortable] .card-body p{font-size:14px}.app-shell .toolbar{gap:12px;align-items:stretch}.app-shell .toolbar>input,.app-shell .toolbar>.search{width:100%;flex:1 0 100%;min-width:0}.app-shell .toolbar>select,.app-shell .toolbar>label{min-width:0;flex:1 1 160px}.app-shell .filter-panel{grid-template-columns:minmax(0,1fr)}.app-shell .filter-panel>div{gap:12px}.app-shell .page-heading .actions{flex-wrap:wrap;gap:12px}.app-shell .page-heading>button{flex:1 1 100%}.app-shell button,.app-shell .button,dialog button{min-height:44px}.app-shell .card-body .actions,.app-shell .card-body .section-head{flex-wrap:wrap;gap:12px}.app-shell .tabs{flex-wrap:wrap;gap:8px}.app-shell .tabs button{white-space:normal;flex:1 1 130px}.app-shell .catalog-list .card-image{width:100px;height:145px}.app-shell .catalog-list .card-body{min-width:0;padding:14px}.app-shell .catalog-list .card-body h3{font-size:16px;overflow-wrap:anywhere}.app-shell .timer-bar{max-height:35dvh;overflow-y:auto}.app-shell:has(.timer-bar) main{padding-bottom:300px}dialog{overscroll-behavior:contain}dialog>header{position:sticky;top:-20px;background:var(--surface);z-index:3;padding:14px 0}dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea,.app-shell input:not([type=checkbox]):not([type=radio]),.app-shell select,.app-shell textarea{font-size:16px}dialog .form-grid{grid-template-columns:minmax(0,1fr)}dialog .wide{grid-column:auto}dialog label.check{min-height:44px;align-items:center}.gallery-filter-button{width:100%;margin-bottom:16px}}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid var(--line);border-radius:9px;padding:10px 16px;background:var(--surface);color:var(--ink);cursor:pointer;text-decoration:none;font-weight:500;transition:background .15s}button:hover,.button:hover{background:var(--soft)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a1b591;outline-offset:3px}.primary{background:var(--sage);color:#fff;border-color:var(--sage)}.primary:hover{background:#3d543d}.icon{padding:9px;min-width:40px;border-color:transparent;background:transparent}.text-button{padding:0;min-height:36px;background:none;border:0;color:var(--sage);text-align:left}.text-button:hover{background:transparent;text-decoration:underline}.active,.selected{background:var(--soft)!important;color:var(--sage)!important}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:400;letter-spacing:-.035em}h1{font-size:38px;margin-bottom:12px;line-height:1.15}h2{font-size:27px;margin-bottom:16px}h3{font-size:16px;font-weight:600;line-height:1.4;margin-bottom:7px}p{line-height:1.75}small{font-size:12px;line-height:1.5}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:600;color:var(--sage);margin-bottom:13px}.app-shell{min-height:100vh}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:38px 22px 20px;background:var(--surface);display:flex;flex-direction:column;z-index:10}.brand{border:0;background:none;padding:0;justify-content:flex-start;gap:13px;text-align:left;line-height:.95;font-family:Georgia,serif;font-size:27px;letter-spacing:-1px}.brand b{font-weight:400;letter-spacing:1px}.brand img{width:45px;height:45px}.sidebar-caption{font-size:11px;color:var(--muted);margin:17px 0 35px 4px}.sidebar nav{display:grid;gap:7px}.sidebar nav button,.sidebar-bottom>button{width:100%;justify-content:flex-start;border:0;background:transparent;gap:13px;min-height:48px;padding:13px}.sidebar nav small{margin-left:auto;background:var(--surface);border-radius:5px;padding:0 6px}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-bottom>button{font-size:12px}.sidebar-note{border-radius:12px;padding:23px 18px;background:var(--soft);margin-top:22px;color:var(--sage)}.sidebar-note p{font-family:Georgia,serif;font-size:21px;line-height:1.35;margin:12px 0}.sidebar-note small{font-size:10px;color:var(--muted)}.main-shell{margin-left:230px}.topbar{height:76px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:var(--surface)}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{padding:0 12px;color:#b2b9ad}.avatar{border-radius:50%;width:35px;height:35px;min-height:35px;padding:0;background:#e8e0d2;font-family:Georgia,serif}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}main{max-width:1500px;padding:39px 42px 90px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading p{margin-bottom:0}.page-heading .eyebrow{margin-bottom:13px}.heading-star{font-size:33px;color:#a7b49a;padding-left:10px}.home-hero{display:grid;grid-template-columns:1.15fr 1fr;background:var(--hero);border:1px solid #dfe5d7;border-radius:17px;overflow:hidden;min-height:290px;margin-bottom:24px}.home-hero>div:first-child{padding:34px 35px;z-index:1}.home-hero h2{font-size:34px;line-height:1.15;max-width:380px;margin:15px 0}.home-hero p{font-size:13px;color:#6c7865;max-width:340px}.home-hero small{display:block;margin-top:20px;font-size:10px;color:#7b8874}.hero-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 55% 50%,#f4f0e6 0,#e6e6d8 50%,transparent 70%);min-height:290px}.yarn-ball{position:absolute;border-radius:47%;box-shadow:inset -20px -12px 25px #342f2a38,12px 20px 25px #4c4b3318;border:1px solid #adab9333}.yarn-ball.one{width:185px;height:180px;left:18%;top:36%;transform:rotate(-25deg);background:repeating-linear-gradient(58deg,#c4bca5 0,#c4bca5 3px,#e0d8c2 4px,#e0d8c2 7px,#b9b49b,#b9b49b 9px)}.yarn-ball.two{width:151px;height:145px;left:53%;top:16%;transform:rotate(18deg);background:repeating-linear-gradient(112deg,#a8b39a 0,#a8b39a 3px,#c0c9af 4px,#c0c9af 7px,#95a28a,#95a28a 9px)}.needle{position:absolute;width:5px;height:250px;background:linear-gradient(90deg,#a7875e,#dac5a0);border-radius:90% 90% 4px 4px;top:0;left:48%;transform:rotate(32deg);box-shadow:2px 1px 2px #312d2c20}.needle.n2{left:55%;transform:rotate(42deg);top:-10px}.art-label{position:absolute;bottom:21px;right:22px;font-family:Georgia,serif;font-size:18px;line-height:1.4;transform:rotate(-7deg);color:#687660}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0 30px}.stats>div{padding:20px 22px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.stats small{display:block;color:var(--muted);margin-bottom:5px}.stats strong{font-size:24px;font-weight:500;display:block;letter-spacing:-.7px}.stats em{font-size:12px;font-style:normal;color:var(--muted);margin-left:9px;letter-spacing:0}.home-stats{grid-template-columns:repeat(3,1fr)}.home-stats>div{display:flex;align-items:center;gap:16px}.stat-icon{display:flex;padding:13px;background:var(--soft);color:var(--sage);border-radius:50%}.stat-icon svg{width:20px}.stat-icon.peach{background:var(--peach);color:#ac826c}.stat-icon.oatmeal{background:#eee9dc;color:#9f9270}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 16px}.section-head h2,.section-head h3,.section-head p{margin:0}.section-head .eyebrow{margin-bottom:7px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:24px;box-shadow:var(--shadow)}.project-preview-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.mini-project{padding:17px;display:flex;gap:18px;align-items:center}.mini-cover{border:0;padding:0;overflow:hidden;flex:0 0 108px;height:125px;border-radius:8px}.mini-cover>img,.mini-cover>.textile{width:100%;height:100%;object-fit:cover}.mini-project>div{flex:1;min-width:0}.mini-project h3{margin:6px 0}.tag{display:inline-flex;align-items:center;gap:4px;font-size:10px;padding:4px 8px;background:var(--soft);color:var(--sage);border-radius:5px;margin-right:4px}.textile{width:100%;height:100%;min-height:120px;display:grid;place-items:center;background:repeating-linear-gradient(45deg,#d4c8b5,#ddd2c0 2px,#d0c3ad 3px,#e1d7c8 5px);color:#fbf7ed}.textile span{font-family:Georgia,serif;font-size:65px;opacity:.7}.pattern-card:nth-child(3n+2) .textile,.inspiration:nth-child(3n+2) .textile{background:repeating-linear-gradient(-45deg,#9eac94,#b3bea8 2px,#9eac94 3px,#c0c9b7 5px)}.pattern-card:nth-child(3n+3) .textile,.inspiration:nth-child(3n+3) .textile{background:repeating-linear-gradient(45deg,#bc927c,#caa891 2px,#b68e7e 3px,#d3b7a3 5px)}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:5px;display:block;margin:14px 0 10px;border:none;border-radius:5px;overflow:hidden;background:var(--soft)}progress::-webkit-progress-bar{background:var(--soft)}progress::-webkit-progress-value{background:#a0ad90;border-radius:5px}.home-lower{display:grid;grid-template-columns:1.7fr 1fr;gap:28px;margin:30px 0}.journal-card{background:#f0eadf;padding:26px;border-radius:12px;color:#70614e}.journal-card .eyebrow{margin:15px 0;color:#a58b67}.journal-card h2{font-size:27px;line-height:1.2}.journal-card p:not(.eyebrow){font-size:12px}.inspiration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.inspiration{display:block;text-align:left;padding:0;background:none;border:0;overflow:hidden}.inspiration>.textile,.inspiration>img{height:160px;width:100%;object-fit:cover;border-radius:9px}.inspiration h3{margin:12px 0 3px;font-size:13px}.inspiration small{color:var(--muted);font-size:11px}.backup-nudge{border-top:1px solid var(--line);padding-top:20px;margin-top:25px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);gap:20px}.app-footer{display:flex;justify-content:space-between;padding-top:28px;border-top:1px solid var(--line);margin-top:45px;font-size:10px;color:var(--muted)}.bottom-nav{display:none}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.pattern-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--surface);min-width:0}.card-image{position:relative;width:100%;height:230px;padding:0;display:block;overflow:hidden;border:0;border-radius:0}.card-image img,.card-image .textile{width:100%;height:100%;object-fit:cover}.card-body{padding:17px 20px}.card-body .section-head{margin:0 0 7px}.card-body .section-head>small{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.card-body p{font-size:12px;margin-bottom:12px}.card-body .text-button h3{margin:0;color:var(--ink)}.favorite{color:#a87e65;min-height:30px;padding:5px}.image-badge{position:absolute;left:15px;bottom:15px;font-size:10px;background:var(--surface);border-radius:20px;padding:6px 12px}.catalog-list{display:grid;gap:12px}.catalog-list .pattern-card{display:flex}.catalog-list .card-image{width:110px;height:135px;flex-shrink:0}.catalog-list .card-body{flex:1}.count{display:inline-block;vertical-align:middle;margin-left:14px;padding:5px 10px;border:1px solid var(--line);border-radius:20px;font:12px Segoe UI,sans-serif;letter-spacing:0;color:var(--muted)}.toolbar{display:flex;align-items:center;gap:10px;margin:23px 0;flex-wrap:wrap}.toolbar>.search{flex:1;min-width:180px}.search{display:flex;gap:10px;align-items:center;position:relative;margin:0;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:0 13px;color:var(--muted)}.search input{border:0;padding-left:0;background:transparent;width:100%}.toolbar>input{flex:1;min-width:160px}.toolbar select{width:auto}.filter-panel{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.filter-panel>div{grid-column:1/-1;display:flex;gap:12px}.filter-panel select[multiple]{min-height:115px}.empty{padding:35px 20px;text-align:center;border:1px dashed var(--line);border-radius:12px;margin:20px 0;background:var(--surface)}.empty>span{display:block;font-size:34px;color:#9aab8c;margin-bottom:10px}.empty h3{font-family:Georgia,serif;font-size:23px;font-weight:400}.empty p{color:var(--muted);font-size:13px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:20px 0 28px;overflow:auto;padding-bottom:12px}.tabs button{white-space:nowrap;background:transparent;border-color:transparent}.resume-panel{display:flex;justify-content:space-between;gap:24px;background:var(--hero)}.resume-panel>div:first-child{flex:1}.resume-panel h2{margin-top:10px}.big-row{min-width:120px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-left:1px solid #cfd8c7}.big-row strong{font-family:Georgia,serif;font-size:70px;font-weight:400;color:var(--sage)}.big-row small{font-size:9px;letter-spacing:2px}.counter-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.counter .section-head{margin-top:0}.counter-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0}.counter-controls strong{font-size:64px;font-family:Georgia,serif;font-weight:400}.counter-controls>button{height:66px;width:70px}.counter .text-button{display:block;font-size:11px}.timeline{max-width:850px;margin-left:8px;border-left:1px solid var(--line);padding-left:25px}.timeline-entry{position:relative;margin:20px 0}.timeline-entry:before{content:"";width:10px;height:10px;background:#b5c0a9;border:3px solid var(--bg);border-radius:50%;position:absolute;left:-33px;top:32px}.timeline-entry .section-head{margin-top:0}.timeline-entry h3{margin-top:15px}.modification{margin:20px 0}.modification dl{display:grid;grid-template-columns:100px 1fr;gap:15px}.modification dd{margin:0;white-space:pre-wrap}dt{color:var(--muted);font-size:12px}dd{margin:7px 0 0;line-height:1.5}.details{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:25px 0}.back{font-size:12px;margin-bottom:18px}.calculation{font:38px Georgia,serif;margin:25px 0 10px}.photo-strip{display:flex;gap:12px;overflow:auto;padding:10px 0}.photo-tile{flex:0 0 130px;display:block;padding:0;overflow:hidden}.photo-tile img,.photo-tile .textile{height:130px;width:100%;object-fit:cover}.photo-tile small{display:block;padding:8px}.full-photo{width:100%;max-height:60vh;object-fit:contain}.file-row{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.file-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.file-row small{display:block;color:var(--muted);margin-top:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wide{grid-column:1/-1}label{display:block;font-size:12px;line-height:1.5;color:var(--ink);margin:12px 0}input,select,textarea{display:block;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:7px;min-height:43px;margin-top:6px;background:var(--surface);color:var(--ink)}textarea{resize:vertical}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--sage);display:inline-block;margin:0}label.check{display:flex;align-items:center;gap:10px}dialog{border:1px solid var(--line);border-radius:16px;padding:26px;width:min(720px,94vw);max-height:90dvh;background:var(--surface);color:var(--ink);box-shadow:0 30px 90px #15231e30}dialog::backdrop{background:#26322970;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:10px}dialog header h2{margin:0}dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:22px;flex-wrap:wrap}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}td,th{text-align:left;border-bottom:1px solid var(--line);padding:10px}.dropzone{border:1px dashed #acb89f;padding:25px;border-radius:10px;text-align:center}.notice,.error{padding:15px 20px;border-radius:9px;margin:15px 0;overflow-wrap:anywhere}.notice{background:var(--soft)}.error{background:#f9e4dc;color:#893a2e}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 42px;background:#eee3cc;font-size:11px;color:#786747}.demo-banner button{font-size:11px;border:none;background:none;padding:4px;min-height:30px}.search-result{display:flex;justify-content:space-between;width:100%;margin:8px 0;text-align:left}.timer-bar{position:fixed;bottom:18px;left:254px;right:25px;z-index:30;display:flex;align-items:center;gap:17px;padding:15px 20px;border:1px solid #b5c2a8;background:var(--surface);box-shadow:0 3px 35px #233c2520;border-radius:14px}.timer-bar>div{display:flex;gap:13px;align-items:center;flex:1}.timer-bar b{font-size:12px}.timer-bar small{display:block;font-size:10px;color:var(--muted)}.timer-bar strong{font-size:19px;white-space:nowrap}.timer-bar input{max-width:220px;margin:0}.timer-dot{width:9px;height:9px;border-radius:50%;background:#bca785}.timer-dot.running{background:#89a46f;box-shadow:0 0 0 5px #89a46f22}.pdf-workspace{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg);z-index:100;display:flex;flex-direction:column}.pdf-workspace>header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:var(--surface);border-bottom:1px solid var(--line)}.pdf-workspace header small{display:block;color:var(--muted);font-size:10px}.pdf-tools{display:flex;gap:7px;padding:8px 15px;align-items:center;overflow-x:auto;flex-shrink:0}.pdf-tools>*{flex-shrink:0}.pdf-tools select{width:85px;margin:0}.pdf-tools input[type=color]{width:42px;margin:0;padding:3px}.pdf-tools input[type=range]{width:65px;margin:0;padding:0}.pdf-options{display:flex;gap:20px;align-items:center;padding:0 15px}.pdf-options>select{width:130px}.pdf-options label{display:flex;align-items:center;gap:8px}.pdf-scroll{overflow:auto;flex:1;background:#bfc3bb;padding:25px}.pdf-page{position:relative;background:#fff;box-shadow:0 4px 16px #0002;margin:auto;flex-shrink:0}.pdf-page canvas,.pdf-page svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.update-banner{position:fixed;top:12px;left:50%;transform:translate(-50%);z-index:200;background:var(--sage);color:#fff}.pattern-picker{display:none}[data-theme=dark]{--bg: #232923;--surface: #2b322b;--ink: #e3e6dd;--muted: #a9b2a3;--line: #424b3f;--sage: #859b75;--soft: #384332;--hero: #35402f;--peach: #4e4035;color-scheme:dark;color:var(--ink);background:var(--bg)}[data-theme=dark] .journal-card{background:#463e32;color:#e1d5c1}[data-theme=dark] .hero-art{opacity:.65}[data-theme=dark] .home-hero p,[data-theme=dark] .home-hero small{color:#b4c0a9}[data-theme=dark] .home-hero{border-color:var(--line)}[data-theme=dark] .avatar{color:#333}@media(min-width:1500px){.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.sidebar{width:200px;padding:30px 15px}.main-shell{margin-left:200px}main{padding:30px 25px 100px}.topbar{padding:0 25px}.home-hero h2{font-size:30px}.home-hero>div:first-child{padding:28px}.home-stats>div{padding:15px;gap:10px}.stats strong{font-size:21px}.project-preview-grid{grid-template-columns:1fr}.timer-bar{left:215px}.timer-bar input{display:none}.catalog-grid{gap:16px}.card-image{height:195px}.card-body{padding:15px}.home-lower{grid-template-columns:1.4fr 1fr;gap:20px}.inspiration-grid{grid-template-columns:repeat(2,1fr)}.inspiration:last-child{display:none}}@media(max-width:780px){.sidebar{display:none}.main-shell{margin-left:0}.topbar{height:62px;padding:0 20px}main{padding:27px 20px 115px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:7px 5px max(8px,env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);z-index:40;justify-content:space-around}.bottom-nav button{flex-direction:column;font-size:10px;gap:4px;min-width:58px;border:0;background:none;padding:7px;border-radius:10px}.page-heading{align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:24px}.page-heading .actions{width:100%}h1{font-size:33px}.heading-star{font-size:26px}.eyebrow{font-size:9px;letter-spacing:1.5px}.home-hero{grid-template-columns:1.3fr 1fr;min-height:260px}.home-hero>div:first-child{padding:25px 20px}.home-hero h2{font-size:29px}.home-hero small{font-size:9px}.hero-art{min-height:260px}.yarn-ball.one{width:130px;height:125px;left:2%;top:44%}.yarn-ball.two{width:105px;height:100px;left:38%;top:25%}.needle{height:210px}.art-label{font-size:14px;right:13px;bottom:20px}.home-stats{gap:9px}.home-stats>div{display:block;padding:14px 12px}.stat-icon{display:none}.stats strong{font-size:21px}.stats em{display:block;margin:3px 0 0;font-size:10px}.stats small{font-size:10px}.home-lower{grid-template-columns:1fr 1fr;gap:18px}.journal-card{padding:20px}.journal-card h2{font-size:24px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card-image{height:210px}.filter-panel{grid-template-columns:1fr 1fr}.filter-panel>div{flex-wrap:wrap}.two-columns{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.home-stats{grid-template-columns:repeat(3,1fr)}.counter-grid{grid-template-columns:1fr 1fr;gap:12px}.counter{padding:17px}.counter-controls{gap:9px}.counter-controls strong{font-size:50px}.counter-controls>button{width:49px;height:55px}.timer-bar{left:10px;right:10px;bottom:80px;padding:11px;gap:10px;flex-wrap:wrap}.timer-bar>div{min-width:130px}.timer-bar>.primary{font-size:12px}.timer-bar strong{font-size:16px}.demo-banner{padding:7px 20px}.pdf-options{gap:10px;flex-wrap:wrap}.pdf-options label{margin:4px 0}.pdf-options input{margin:0}.pdf-scroll{padding:12px}.backup-nudge{display:block}.details{gap:16px}.app-footer{padding-top:20px}}@media(max-width:480px){.home-hero{grid-template-columns:1.35fr .75fr;min-height:275px}.home-hero h2{font-size:27px}.home-hero p{font-size:12px}.home-hero .primary{font-size:12px;padding:10px 12px}.home-hero>div:first-child{padding:25px 0 25px 20px}.hero-art{overflow:hidden}.yarn-ball.one{left:5%;width:108px;height:110px;top:49%}.yarn-ball.two{left:33%;top:29%}.art-label{display:none}.home-lower{grid-template-columns:1fr}.inspiration-grid{grid-template-columns:repeat(3,1fr);gap:10px}.inspiration:last-child{display:block}.inspiration>.textile,.inspiration>img{height:130px}.journal-card{padding:24px}.card-image{height:170px}.card-body{padding:12px}.card-body h3{font-size:14px}.card-body p{font-size:11px}.toolbar{gap:7px}.toolbar>.search{flex-basis:100%}.toolbar select{flex:1}.form-grid{grid-template-columns:1fr;gap:0}.wide{grid-column:auto}.counter-grid{grid-template-columns:1fr}.counter-controls>button{width:75px;height:65px}.counter-controls strong{font-size:64px}.resume-panel{padding:20px;gap:10px}.resume-panel h2{font-size:25px}.big-row{min-width:70px}.big-row strong{font-size:53px}.big-row small{font-size:8px;letter-spacing:1px}.file-row{flex-wrap:wrap}.file-row>div{min-width:70%}.panel{padding:20px}.section-head h2{font-size:25px}.section-head .text-button{font-size:11px}.timer-bar>div{min-width:120px}.timer-bar>.primary{flex:1}.pdf-tools{padding:7px}.pdf-options{font-size:10px}.pdf-options>select{width:105px}dialog{padding:20px}.demo-banner,.demo-banner button{font-size:10px}.home-stats strong{font-size:18px}.home-stats small{font-size:9px}.stats>div{padding:17px}.home-stats>div{padding:12px 10px}.timer-bar>strong small{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.bottom-nav,.timer-bar,.tabs,.page-heading,.back,.app-footer,button,.actions{display:none!important}.main-shell{margin:0}main{padding:0}.panel{box-shadow:none;break-inside:avoid}.printable,.printable h2{display:block}body{background:#fff;color:#000}}.statistics{margin:20px 0}.statistics summary{cursor:pointer}.week-chart{display:flex;gap:12px;height:170px;align-items:flex-end;margin-top:25px}.week-chart>div{flex:1;text-align:center;height:100%;display:flex;flex-direction:column;gap:8px}.week-chart small{font-size:9px;color:var(--muted)}.bar-track{height:110px;position:relative;background:var(--soft);border-radius:6px;overflow:hidden}.bar-track>div{position:absolute;bottom:0;width:100%;background:#a1b48f;border-radius:6px}.week-chart span{font-size:11px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:15px}.comparison figure{margin:0}.comparison img,.comparison .textile{width:100%;height:220px;object-fit:cover;border-radius:10px}.comparison figcaption{margin-top:8px;font-size:12px}dialog.pdf-workspace{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0}dialog.pdf-workspace>header{margin:0}dialog.pdf-workspace:not([open]){display:none}.multi-select{border:1px solid var(--line);border-radius:8px;background:var(--surface);margin-top:6px}.multi-select summary{padding:12px;cursor:pointer;line-height:1.6}.multi-select>div{padding:4px 14px;max-height:260px;overflow:auto}.draft-photo{flex:0 0 110px}.draft-photo img{width:110px;height:110px;object-fit:cover;border-radius:8px}.draft-photo button{font-size:11px}.photo-drafts{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.photo-drafts input{max-width:100%}.reader-worksheet{padding:10px 18px;border-bottom:1px solid var(--line);max-height:45vh;overflow:auto;flex-shrink:0}.reader-worksheet summary{cursor:pointer;font-weight:600}.form-section{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:1.1rem}.comparison-table{min-width:600px;width:100%}.comparison-table td{min-width:150px;white-space:pre-wrap;vertical-align:top}.comparison-table th{text-align:left;vertical-align:top}
