@font-face{font-family:Aileron;src:url('assets/aileron-regular.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:Aileron;src:url('assets/aileron-bold.otf') format('opentype');font-weight:700;font-display:swap}
@font-face{font-family:Crexell;src:url('assets/crexell-type.otf') format('opentype');font-weight:400;font-display:swap}
:root{--brown:#442922;--blue:#dbebfa;--ink:#442922;--line:#44292225;--worktop:#edf3f8;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--brown);font:16px/1.45 Aileron,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:none}button:disabled{cursor:default;opacity:.32}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #567fa3;outline-offset:4px}a{color:inherit;text-decoration:none}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,p{margin:0}h2{font-size:16px;font-weight:700}fieldset{border:0;margin:0;padding:0;min-width:0}legend{padding:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.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}[hidden]{display:none!important}
.lab-header{min-height:86px;padding:16px 36px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line);background:#fff}.lab-brand{display:flex;align-items:center;gap:30px}.brand-link img{display:block;width:94px;height:auto}.back-link{font-size:14px;border-bottom:1px solid transparent;padding:8px 0}.back-link:hover{border-color:currentColor}.export-buttons{display:flex;gap:10px}.export-button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);font-size:14px;padding:11px 17px;border-radius:3px;transition:background .15s}.export-button svg{width:18px;height:18px}.export-button:hover{background:var(--blue)}.export-button.primary{background:var(--brown);color:#fff;border-color:var(--brown)}.export-button.primary:hover{background:#624039}
.logo-lab{max-width:1800px;margin:auto;padding:28px 36px 20px}.lab-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 0 27px}.lab-intro h1{font-size:clamp(35px,3.8vw,58px);line-height:1.15;letter-spacing:-.055em}.lab-intro h1 span{font-family:Crexell,cursive;font-weight:400;font-size:1.15em;letter-spacing:0;display:inline-block;transform:rotate(-4deg);position:relative;isolation:isolate;padding-right:.12em}.lab-intro h1 span:after{content:'';position:absolute;bottom:.08em;left:0;right:0;height:.16em;background:var(--blue);z-index:-1;transform:rotate(3deg)}.lab-intro>p{font-size:16px;line-height:1.5;max-width:310px}
.studio{display:grid;grid-template-columns:82px minmax(0,1fr) 254px;gap:20px;align-items:start}.tool-rail{display:grid;gap:5px;padding-top:58px}.tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:65px;border-radius:3px;font-size:14px;border:1px solid transparent;transition:background .15s,border-color .15s}.tool svg{width:25px;height:25px}.tool:hover{background:#edf3f8}.tool.active{background:var(--blue);border-color:#44292215}.tool.active svg{stroke-width:1.9}
.workspace{min-width:0}.sheet-bar{height:54px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 20px}.sheet-note{font:23px/1.2 Crexell,cursive;transform:rotate(-2deg);letter-spacing:0}.history-controls{display:flex;align-items:center;gap:5px}.history-controls>button{width:38px;height:38px;display:grid;place-items:center;border-radius:3px}.history-controls>button:hover:not(:disabled){background:var(--blue)}.history-controls svg{width:20px;height:20px}.guide-switch{font-size:14px;display:flex;align-items:center;gap:8px;margin-left:10px;white-space:nowrap}.guide-switch input,.check-row input{width:16px;height:16px;accent-color:var(--brown);margin:0;flex-shrink:0}.paper-stage{background:var(--worktop);border:1px solid #dce4eb;min-height:570px;height:calc(100svh - 310px);max-height:900px;display:flex;align-items:center;justify-content:center;padding:28px;overflow:hidden;border-radius:4px}.paper{position:relative;width:min(100%,calc(100svh - 366px));min-width:260px;max-width:840px;aspect-ratio:1;background:#fff;box-shadow:0 3px 14px #24344218;flex-shrink:0;isolation:isolate}.paper canvas{display:block;width:100%;height:100%;touch-action:none;position:absolute;inset:0;outline-offset:7px}.paper-guides{display:none;position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent calc(50% - .5px),#7daed680 calc(50% - .5px),#7daed680 calc(50% + .5px),transparent calc(50% + .5px)),linear-gradient(transparent calc(50% - .5px),#7daed680 calc(50% - .5px),#7daed680 calc(50% + .5px),transparent calc(50% + .5px));box-shadow:inset 0 0 0 1px #7daed650}.paper.guides-on .paper-guides{display:block}#nib-cursor{position:absolute;pointer-events:none;border:1px solid var(--ink);border-radius:50%;transform:translate(-50%,-50%);display:none;z-index:5;min-width:3px;min-height:3px;box-shadow:0 0 0 1px #ffffff90}.paper.cursor-visible #nib-cursor{display:block}.paper.flat-nib #nib-cursor{transform:translate(-50%,-50%) rotate(-35deg)}.workspace-foot{display:flex;justify-content:space-between;gap:20px;padding:15px 5px 0;font-size:14px;line-height:1.5;min-height:65px}.workspace-foot>p:first-child{max-width:420px}.workspace-foot>p:last-child{text-align:right;font-size:13px;max-width:215px;opacity:.8}
.inspector{padding:59px 3px 0 8px}.setting-group{padding:0 0 23px;margin-bottom:22px;border-bottom:1px solid var(--line)}.setting-group h2{margin:0 0 14px}.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:-5px -7px 12px}.swatch{width:100%;height:39px;position:relative;display:grid;place-items:center;border-radius:3px}.swatch:before{content:'';width:21px;height:21px;border:1px solid #44292225;border-radius:50%;background:var(--swatch)}.swatch.active:after{content:'';position:absolute;width:29px;height:29px;border:1px solid var(--brown);border-radius:50%}.swatch:hover{background:var(--worktop)}.custom-color{display:flex;align-items:center;gap:12px}.custom-color input[type=color]{width:41px;height:36px;padding:2px;border:1px solid var(--line);border-radius:3px;background:#fff;cursor:pointer}.custom-color input[type=text]{width:calc(100% - 53px);min-width:0;padding:7px 10px;border:1px solid var(--line);border-radius:3px;font-size:14px;background:#fff}.setting-title{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:7px}.setting-title output{font-size:14px;font-variant-numeric:tabular-nums}.range{display:block;width:100%;margin:0;accent-color:var(--brown);cursor:pointer;height:23px}#tip-field{margin-top:17px}#tip-field legend{font-size:14px;margin-bottom:9px}.tip-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tip{min-height:39px;padding:8px 6px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px;border:1px solid var(--line);border-radius:3px}.tip.active{background:var(--blue);border-color:#8daac1}.round-tip,.flat-tip{display:block;width:10px;height:10px;background:currentColor;border-radius:50%;flex-shrink:0}.flat-tip{width:13px;height:5px;transform:rotate(-35deg);border-radius:1px}.opacity-title{margin-top:18px}.check-row{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.5;margin-top:15px;cursor:pointer}.field-label{display:block;font-size:14px;margin:15px 0 7px}.text-input,select{display:block;width:100%;height:41px;padding:8px 10px;border:1px solid var(--line);background:#fff;border-radius:3px;font-size:14px}.export-note{font-size:13px;margin:8px 0 0 25px;line-height:1.5;opacity:.75}select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23442922' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 12px center;background-size:16px;background-repeat:no-repeat}.clear-sheet{display:flex;align-items:center;gap:9px;font-size:14px;min-height:42px;padding:8px 0}.clear-sheet svg{width:18px;height:18px}.lab-signoff{font-size:14px;margin:30px 0 0 102px}.lab-signoff span{font:21px Crexell,cursive;display:inline-block;transform:rotate(-3deg);margin-left:8px}
@media(min-width:1450px){.paper-stage{min-height:620px}.paper{width:min(100%,calc(100svh - 330px));min-width:540px}}
@media(max-width:1100px){.lab-header{padding:15px 24px}.logo-lab{padding:25px 24px 20px}.studio{grid-template-columns:70px minmax(0,1fr) 218px;gap:14px}.paper-stage{padding:20px;min-height:510px}.paper{width:min(100%,calc(100svh - 350px));min-width:230px}.inspector{padding-left:0}.lab-intro>p{max-width:270px}.sheet-bar{padding:0 8px}.sheet-note{font-size:20px}.tool{font-size:14px}.workspace-foot{display:block}.workspace-foot>p:last-child{text-align:left;margin-top:8px;max-width:none}.lab-signoff{margin-left:84px}.export-button{padding:10px 12px}}
@media(max-width:800px){.lab-header{display:block;padding:14px 20px}.lab-brand{justify-content:space-between;gap:20px}.brand-link img{width:77px}.back-link{font-size:14px}.export-buttons{margin-top:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.export-button{font-size:14px;min-height:43px}.logo-lab{padding:23px 20px 20px}.lab-intro{display:block;margin-bottom:19px}.lab-intro h1{font-size:36px}.lab-intro>p{margin-top:12px;max-width:none;font-size:16px}.lab-intro>p br{display:none}.studio{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.tool-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding-top:0;margin-bottom:10px}.tool{font-size:14px;min-height:61px;gap:3px;padding:6px 1px}.tool svg{width:22px;height:22px}.sheet-bar{height:48px;padding:0 2px;gap:8px}.sheet-note{font-size:20px}.history-controls{gap:2px}.history-controls>button{width:32px;height:36px}.guide-switch{margin-left:5px;gap:5px;font-size:14px}.paper-stage{height:auto;min-height:0;padding:17px;overflow:visible}.paper{width:100%;max-width:620px;min-width:0}.workspace-foot{padding:13px 2px 0;min-height:85px}.workspace-foot>p:first-child{font-size:14px;max-width:none}.workspace-foot>p:last-child{font-size:13px;margin-top:7px}.inspector{padding:23px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.setting-group{margin-bottom:22px;padding-bottom:22px;min-width:0}.swatches{grid-template-columns:repeat(4,1fr)}.swatch{height:40px}.custom-color{gap:8px}.custom-color input[type=text]{width:calc(100% - 46px);padding:7px;font-size:14px}.custom-color input[type=color]{width:38px;flex-shrink:0}.tip-buttons{grid-template-columns:1fr}.tip{min-height:36px;padding:7px 5px}.export-settings{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.export-settings h2,.export-settings .check-row,.export-settings .export-note{grid-column:1/-1}.export-settings .field-label{grid-row:2;margin-top:0}.export-settings .text-input,.export-settings select{grid-row:3}.clear-sheet{margin-top:-12px;grid-column:1/-1}.lab-signoff{margin:24px 0 0;font-size:14px}.lab-signoff span{font-size:21px}.paper canvas{cursor:crosshair}}
@media(hover:hover) and (pointer:fine){.paper canvas{cursor:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.brand-link img{filter:brightness(0) saturate(100%) invert(15%) sepia(22%) saturate(1159%) hue-rotate(330deg) brightness(91%) contrast(88%)}
@media(min-width:801px){.paper-stage{height:clamp(380px,calc(100svh - 280px),780px);min-height:0;padding:18px}.paper{width:min(100%,calc(100svh - 316px));min-width:0;max-width:744px}}
