[data-nine-grid]{position:relative;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}[data-nine-grid] .grid-cell .grid-digit,[data-nine-grid] .grid-cell .grid-count{font-family:Arial,Helvetica Neue,sans-serif;font-weight:600;font-variant-numeric:lining-nums tabular-nums;dominant-baseline:alphabetic}[data-nine-grid] .grid-cell .grid-digit{font-size:26px}[data-nine-grid] .grid-cell .grid-count{font-size:13px;letter-spacing:.2px;fill:#171916;opacity:0}[data-nine-grid] .grid-cell.root .grid-count{fill:var(--root-pressed-ink)}[data-nine-grid] .grid-press-fill{fill:var(--mint);opacity:0}[data-nine-grid] .grid-cell.is-counting{transform-box:fill-box;transform-origin:center;animation:palace-hold-wiggle .58s cubic-bezier(.22,.75,.3,1)}[data-nine-grid] .grid-cell.is-counting .grid-press-fill{opacity:.2}[data-nine-grid] .grid-cell.is-counting .grid-digit{opacity:0}[data-nine-grid] .grid-cell.is-counting .grid-count{opacity:1}[data-nine-grid] .grid-press-targets{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}[data-nine-grid] .grid-press-targets>button{min-width:0;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:transparent;cursor:pointer;touch-action:pan-y pinch-zoom;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}[data-nine-grid] .grid-press-targets>button:active{transform:none;background:transparent}[data-nine-grid] .grid-press-targets>button:focus-visible{outline:2px dashed color-mix(in srgb,var(--mint) 60%,var(--ink));outline-offset:-7px;border-radius:12px}@keyframes palace-hold-wiggle{0%,to{transform:rotate(0) scale(1)}20%{transform:rotate(-2.5deg) scale(.975)}46%{transform:rotate(2deg) scale(1.02)}72%{transform:rotate(-.8deg) scale(1)}}@media(prefers-reduced-motion:reduce){[data-nine-grid] .grid-cell.is-counting{animation:none}}.settings-drawer{position:fixed;inset:0 auto 0 0;width:min(308px,82vw);max-width:none;height:100dvh;max-height:none;margin:0;padding:calc(24px + env(safe-area-inset-top,0px)) 22px calc(30px + env(safe-area-inset-bottom,0px));border:0;border-right:2px solid var(--ink);border-radius:0 32px 32px 0;background:#fff;color:var(--ink);overflow:auto;box-shadow:8px 0 #0000000a;transform-origin:left center}.settings-drawer .settings-option-icon,.modal .primary-button,.modal .pin-illustration>span{color:var(--yellow-ink,var(--ink))}.settings-drawer .settings-lock-icon,.settings-drawer .settings-lock-status{color:var(--mint-ink,var(--ink))}.settings-logo-icon{background:var(--yellow);transform:rotate(-7deg)}.settings-drawer::backdrop{background:#0004;backdrop-filter:none;-webkit-backdrop-filter:none}.settings-drawer[open]{animation:drawer-in .65s cubic-bezier(.2,.8,.25,1) both}.settings-drawer[open]::backdrop{animation:preview-backdrop-in .32s ease-out both}.settings-drawer[data-closing]{animation:drawer-out .28s cubic-bezier(.4,0,1,1) both;pointer-events:none}.settings-drawer[data-closing]::backdrop{animation:preview-backdrop-out .28s ease both}@keyframes drawer-in{0%{transform:translate(-105%) rotate(-3deg)}64%{transform:translate(7px) rotate(.5deg)}to{transform:translate(0) rotate(0)}}@keyframes drawer-out{to{transform:translate(-105%) rotate(-2deg)}}.settings-drawer-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2}.settings-drawer-heading h2{display:flex;align-items:center;gap:13px;margin:0;font-size:24px;font-weight:750}.settings-drawer-heading>button{margin:0}.settings-drawer-heading>button svg{width:23px;height:23px;stroke-width:1.9}.settings-drawer-options{position:relative;display:flex;flex-direction:column;gap:0;margin-top:28px;z-index:2}.settings-share-status{margin-top:20px;color:#60645c;font-size:13px}.home-screen-preview{display:flex;flex-direction:column;align-items:center;gap:10px;margin:26px 0}.home-screen-preview img{border-radius:19px;border:2px solid var(--ink);box-shadow:3px 4px 0 var(--ink);transform:rotate(-5deg)}.home-screen-preview strong{font-size:15px}.home-screen-steps{list-style:none;display:flex;flex-direction:column;gap:22px;padding:0;margin:24px 0 8px}.home-screen-steps li{display:flex;align-items:center;gap:14px;font-size:14px;line-height:1.5}.home-screen-steps li>span{width:52px;min-width:52px;min-height:45px;display:flex;justify-content:center;align-items:center;gap:2px;background:color-mix(in srgb,var(--yellow) 22%,#fff);border-radius:13px}.home-screen-steps small{display:block;color:#777b73;font-size:12px;margin-top:4px}.home-screen-hint{font-size:13px;line-height:1.7;text-align:center;margin:18px 0 5px;color:#666b61}.home-screen-status{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;margin:25px 0 10px}.home-screen-install{margin-top:25px}.settings-option{display:flex;align-items:center;gap:16px;width:100%;min-height:0;padding:18px 0;background:none;border-radius:0;border-bottom:1px solid #eee;text-align:left}.settings-option:hover{background:#fff}.settings-option>span:nth-child(2){flex:1;font-size:17px;font-weight:400}.settings-option>svg{width:17px;height:17px;margin-left:auto}.settings-option-icon{display:grid;place-items:center;flex-shrink:0;width:45px;height:47px;background:var(--yellow);border:2px solid var(--ink);border-radius:15px;box-shadow:2px 3px 0 var(--ink);transform:rotate(-7deg)}.settings-option-icon svg{width:23px;height:23px}.settings-lock-icon{background:var(--mint);transform:rotate(6deg)}.settings-lock-status{width:21px;height:21px;display:grid;place-items:center;background:var(--mint);border-radius:50%;margin-right:-7px}.appearance-tabs{display:flex;align-items:center;gap:6px;background:#f3f4f1;padding:5px;border-radius:26px;margin:20px auto 0;width:min(100%,270px)}.appearance-tabs>button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-height:41px;border-radius:22px;background:none;border:1.5px solid transparent;font-size:13px;font-weight:650}.appearance-tabs>button.selected{background:#fff;border-color:var(--ink);box-shadow:1px 2px 0 var(--ink)}.appearance-tabs i{width:17px;height:17px;border:1.4px solid var(--ink);border-radius:6px;transform:rotate(-8deg)}.appearance-palette{position:relative;margin:13px -12px 5px}.appearance-wheel{--wheel-radius:108px;position:relative;width:min(100%,306px);height:306px;margin:auto;isolation:isolate}.appearance-wheel-track{position:absolute;top:50%;left:50%;width:216px;height:216px;border:1px dashed #e0e2db;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.appearance-swatch{position:absolute;z-index:1;top:50%;left:50%;width:42px;height:58px;margin:-29px 0 0 -21px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:var(--swatch);border:1.8px solid var(--ink);border-radius:12px 13px 11px;box-shadow:1.7px 2px 0 var(--ink);transform:rotate(var(--angle)) translateY(calc(-1 * var(--wheel-radius))) rotate(12deg)}.appearance-swatch span{display:grid;place-items:center;width:27px;height:32px}.appearance-swatch i{position:absolute;width:5px;height:5px;bottom:6px;border:1px solid var(--ink);border-radius:50%;opacity:.45;background:#ffffff70}.appearance-swatch.selected{z-index:3;box-shadow:2px 4px 0 var(--ink);transform:rotate(var(--angle)) translateY(calc(-1 * var(--wheel-radius) - 7px)) rotate(2deg) scale(1.1)}.appearance-swatch:active:not(:disabled){transform:rotate(var(--angle)) translateY(calc(-1 * var(--wheel-radius))) rotate(12deg)}.appearance-swatch.selected:active:not(:disabled){transform:rotate(var(--angle)) translateY(calc(-1 * var(--wheel-radius) - 7px)) rotate(2deg) scale(1.1)}.appearance-swatch:focus-visible{outline-color:var(--ink);outline-offset:4px}.appearance-sample{position:absolute;top:50%;left:50%;width:108px;height:108px;display:grid;place-items:center;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.appearance-sample svg{width:100%;height:100%;overflow:visible}.appearance-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:5px}.appearance-actions .primary-button{min-width:121px;min-height:46px}.appearance-reset{display:flex;align-items:center;justify-content:center;gap:6px;background:none;padding:12px 3px;font-size:12px;color:#72766b}.appearance-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:3px 0 15px}.appearance-sliders label{display:flex;flex-direction:column;min-width:0;gap:5px}.appearance-sliders label>span{display:flex;justify-content:space-between;gap:5px;font-size:12px;font-weight:600}.appearance-sliders output{font-size:11px;color:#74786e;font-variant-numeric:tabular-nums;font-weight:500}.appearance-sliders input[type=range]{display:block;-moz-appearance:none;appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:34px;margin:0;padding:0;background:transparent;cursor:pointer;touch-action:pan-y}.appearance-sliders input[type=range]::-webkit-slider-runnable-track{height:9px;border:1px solid #b0b3aa;border-radius:10px;background:linear-gradient(to right,var(--range-start),var(--range-end))}.appearance-sliders input[type=range]::-webkit-slider-thumb{-moz-appearance:none;appearance:none;-webkit-appearance:none;height:21px;width:21px;margin-top:-7px;border:2px solid var(--ink);border-radius:50%;background:#fff;box-shadow:1px 1px 0 var(--ink)}.appearance-sliders input[type=range]::-moz-range-track{height:9px;border:1px solid #b0b3aa;border-radius:10px;background:linear-gradient(to right,var(--range-start),var(--range-end))}.appearance-sliders input[type=range]::-moz-range-thumb{height:17px;width:17px;border:2px solid var(--ink);border-radius:50%;background:#fff;box-shadow:1px 1px 0 var(--ink)}.appearance-sliders input[type=range]:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}.logo-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:25px}.logo-option{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;border:1.5px solid #dbddd6;border-radius:17px;padding:20px 3px 14px;background:#fff;font-size:11px}.logo-option.selected{border-color:var(--ink);box-shadow:2px 3px 0 var(--ink)}.logo-option-image{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;border:2px solid var(--ink);border-radius:12px 14px 13px 11px;background:#ffe100;box-shadow:2px 3px 0 var(--ink);overflow:hidden;transform:rotate(-7deg)}.logo-option-image img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}.logo-option-image.original img{transform:scale(1.42)}.logo-option-check{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;color:var(--yellow-ink,var(--ink));background:transparent}.logo-option.selected .logo-option-check{background:var(--yellow)}.pin-illustration{position:relative;height:81px;display:flex;align-items:center;justify-content:center;margin:20px auto 10px;width:145px}.pin-illustration>span{display:grid;place-items:center;width:70px;height:70px;border:2px solid var(--ink);border-radius:23px 25px 21px 24px;background:var(--yellow);box-shadow:3px 4px 0 var(--ink);transform:rotate(-8deg)}.pin-illustration>i{position:absolute;left:0;top:16px;color:var(--mint);-webkit-text-stroke:1.3px var(--ink);font-size:23px;font-style:normal;transform:rotate(12deg)}.pin-illustration>i:last-child{left:auto;right:0;top:53px;color:var(--yellow);font-size:20px}.pin-ledger-name{max-width:100%;padding:0 10px;margin:15px 0 0;text-align:center;font-size:16px;font-weight:700;overflow-wrap:anywhere}.pin-form{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-top:20px}.pin-prompt{font-size:13px;text-align:center;font-weight:500}.pin-entry{position:relative;width:100%;max-width:272px;align-self:center;border-radius:17px}.pin-entry input{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;opacity:0;font-size:16px;cursor:text}.pin-slots{display:flex;justify-content:center;gap:12px;pointer-events:none}.pin-slots>span{display:grid;place-items:center;width:55px;height:60px;border:1.8px solid #d7d9d2;border-radius:15px 17px 14px 16px;background:#fff}.pin-entry:focus-within .current{border-color:var(--ink);box-shadow:2px 3px 0 var(--yellow)}.pin-slots>span.filled{border-color:var(--ink);background:color-mix(in srgb,var(--yellow) 19%,#fff)}.pin-slots i{width:11px;height:11px;border-radius:50%;background:var(--ink)}.pin-entry.has-error .pin-slots>span{border-color:#b63727}.pin-hint{text-align:center;font-size:11px;line-height:1.6;color:#858881;overflow-wrap:anywhere;margin-top:-2px}.pin-form .primary-button{margin-top:4px;min-height:47px}.pin-form .form-error{text-align:center}.pin-back{display:flex;align-items:center;justify-content:center;align-self:center;min-height:35px;gap:5px;background:none;font-size:12px;color:#797d72}.pin-management{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:15px}.pin-enabled{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:#687a63;margin-bottom:8px}.pin-disable{display:flex;align-items:center;justify-content:center;gap:7px;min-height:35px;font-size:12px;color:#73786c;background:none}@media(max-width:360px){.appearance-wheel{--wheel-radius:94px;height:278px}.appearance-swatch{width:38px;height:53px;margin:-26.5px 0 0 -19px}.appearance-wheel-track{width:188px;height:188px}.appearance-sample{width:93px;height:93px}.pin-slots{gap:9px}.pin-slots>span{width:49px;height:56px}}:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#171916;background:#fff;font-synthesis:none;font-weight:400;--ink: #171916;--yellow: #fff000;--mint: #bae7b7;--yellow-ink: #171916;--mint-ink: #171916;--root-pressed-ink: #171916;--muted: #858881}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;transition:transform .16s,background .16s}button:disabled{cursor:not-allowed;opacity:.35}button:active:not(:disabled){transform:scale(.95)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb,var(--mint) 70%,var(--ink));outline-offset:4px}button svg{flex-shrink:0}a{color:inherit;text-decoration:none}input,textarea{min-width:0}::selection{background:var(--yellow);color:var(--yellow-ink)}h1,h2,h3,p{margin:0}svg{vertical-align:middle}.app-shell{min-height:100svh;background:#fff}.topbar{height:calc(76px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 28px 0;display:flex;align-items:center;justify-content:space-between;max-width:720px;margin:auto}.brand{display:inline-flex;align-items:center;gap:10px;font-size:25px;font-weight:850;letter-spacing:-1px}.brand>span:last-child{display:flex;align-items:center;gap:7px}.brand-mark{height:44px;width:44px;flex-shrink:0;overflow:hidden;background:#ffe100;border:2px solid var(--ink);border-radius:13px 15px 14px 12px;box-shadow:2px 3px 0 var(--ink);display:grid;place-items:center;transform:rotate(-8deg)}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.brand-mark-original img{transform:scale(1.42)}.brand-settings,.brand-settings:hover .brand-mark,.brand-settings:active:not(:disabled){animation:none;transition:none}.brand-settings:active:not(:disabled){transform:none}.account-actions{display:flex;align-items:center;gap:7px}.account-name{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.account-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;background:#fff;font-weight:650;font-size:12px;border-radius:100px;padding:8px 0 8px 12px}.workspace{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}main{width:100%;max-width:640px;margin:0 auto;padding:0 24px}.create-page{touch-action:none;min-height:calc(100svh - 168px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));display:flex;flex-direction:column}.sphere-stage{flex-shrink:0;position:relative;width:calc(100% + 48px);margin:0 -24px 8px;height:clamp(290px,42svh,370px)}.trigram-sphere{position:relative;display:block;width:100%;height:100%;touch-action:none}.trigram-sphere canvas{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;touch-action:none}.creation-panel button,.creation-panel input,.creation-panel select{touch-action:manipulation}.creation-panel{position:relative;z-index:2;width:100%;max-width:440px;align-self:center}.picker-row{display:grid;grid-template-columns:1.45fr 1fr 1fr 59px;gap:8px;align-items:center}.date-pill{position:relative;height:46px;border:1.8px solid var(--ink);border-radius:25px;min-width:0;display:flex;align-items:center}.date-pill select{border:0;border-radius:inherit;outline:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:transparent;font-size:16px;font-weight:650;width:100%;height:100%;padding:0 23px 0 11px;cursor:pointer}.date-pill svg{position:absolute;right:9px;pointer-events:none;stroke-width:2}.start-button{height:54px;background:var(--yellow);color:var(--ink);border:2px solid var(--ink);border-radius:16px 17px 14px 16px;display:flex;align-items:center;justify-content:center;gap:1px;font-weight:900;font-size:19px;font-style:italic;box-shadow:2px 3px 0 var(--ink);transform:rotate(-3deg)}.start-button span{font-size:15px;margin-top:-12px}.start-button:hover:not(:disabled){transform:rotate(3deg) translateY(-2px)}.start-button:active:not(:disabled){transform:translate(2px,3px);box-shadow:0 0 0 var(--ink)}.quick-input-wrap{margin-top:25px;border:2px solid var(--ink);border-radius:24px 27px 23px 26px;height:112px;padding:19px 20px 12px;background:#fff;transition:box-shadow .16s}.quick-input-wrap:focus-within{box-shadow:4px 4px 0 var(--yellow)}.quick-input-wrap>label{display:block;font-size:12px;font-weight:650}.quick-input-line{display:flex;align-items:center;height:53px;gap:5px}.quick-input-line input{width:0;flex:1;height:100%;background:none;border:0;outline:none;font-size:31px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:1px;padding:0}.quick-input-line input::placeholder{color:#b4b6af;opacity:1}.quick-input-line input:focus-visible{outline:0}.input-spark{flex-shrink:0;height:30px;width:30px;fill:var(--mint);stroke:var(--ink);stroke-width:1.8;stroke-linejoin:round;transform:rotate(9deg)}.quick-input-line:has(.icon-button) .input-spark{display:none}.input-error{border-color:#ba4030}.date-feedback{min-height:27px;padding-top:13px;font-size:12px;line-height:1.6}.error-text,.form-error{color:#b63727}.candidate-list{display:flex;gap:8px;flex-wrap:wrap}.candidate-list button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 13px;background:#fff;border:1.5px solid var(--ink);border-radius:25px;font-size:13px;font-weight:650}.candidate-list button.selected{background:var(--mint)}.bottom-nav{position:fixed;z-index:20;left:0;right:0;bottom:0;height:calc(82px + env(safe-area-inset-bottom,0px));padding:10px 28px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;display:flex;align-items:flex-start;justify-content:center;gap:94px}.nav-item{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;color:var(--ink);min-height:54px;min-width:64px;padding:0;font-size:11px;font-weight:600}.nav-symbol{display:flex;align-items:center;justify-content:center;height:32px;min-width:53px;border-radius:24px}.nav-item.active .nav-symbol{background:var(--yellow)}.nav-item.active .nav-symbol svg{transform:rotate(-7deg)}.icon-button{display:inline-flex;justify-content:center;align-items:center;background:none;border-radius:50%;min-height:44px;min-width:44px;padding:8px}.icon-button:hover{background:#f5f5f1}.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 17px;border-radius:25px;font-weight:750;font-size:13px;white-space:nowrap;border:1.8px solid var(--ink)}.primary-button{background:var(--yellow)}.secondary-button{background:#fff}.danger-button{background:var(--ink);color:#fff}.full-width{width:100%}.result-page,.clients-page{padding-top:25px}.result-header{display:flex;align-items:center;gap:10px;margin-bottom:25px}.result-header h1{font-size:25px;font-weight:800;overflow-wrap:anywhere;flex:1}.result-title{min-width:0;flex:1}.result-title h1{font-size:19px;margin-bottom:5px}.result-title p{font-weight:750;font-size:18px;letter-spacing:.5px}.result-title h1+p{font-size:13px;color:#74776e}.back-button{margin-left:-10px}.chart-card{width:100%}.nine-grid{width:100%;max-width:480px;margin:0 auto;aspect-ratio:1;border:1.6px solid var(--ink);border-radius:24px;overflow:hidden;background:#fff}.nine-grid-drawing{display:block;width:100%;height:auto}.nine-grid .grid-root-fill{fill:var(--yellow)}.nine-grid .grid-dividers{fill:none;stroke:#e0e2db;stroke-width:1;vector-effect:non-scaling-stroke}.nine-grid .grid-connections line{stroke:var(--ink);stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linecap:round}.nine-grid .grid-root-connections line,.nine-grid .grid-cell.root .grid-ring{stroke:var(--yellow-ink)}.nine-grid .grid-cell.root .grid-digit{fill:var(--yellow-ink)}.nine-grid .grid-ring{fill:none;stroke:var(--ink);stroke-width:1.3;vector-effect:non-scaling-stroke}.nine-grid .grid-digit{font-family:Georgia,Times New Roman,serif;font-size:28px;fill:var(--ink)}.nine-grid .grid-cell.empty .grid-digit{fill:#92968b}.result-numbers{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px}.root-badge{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:28px;background:var(--yellow);min-height:46px;padding:8px 13px;font-size:12px;white-space:nowrap}.root-badge strong{font-family:Arial,sans-serif;font-size:24px;font-weight:700}.date-roots{display:flex;align-items:center;gap:5px}.date-root{display:flex;align-items:center;justify-content:center;gap:4px;border-radius:16px;background:color-mix(in srgb,var(--yellow) 25%,white);padding:8px 7px;font-size:11px;white-space:nowrap}.date-root strong{font-family:Arial,sans-serif;font-size:16px;font-weight:600}.stages-section{margin-top:26px}.stages-section h2{font-size:15px;margin-bottom:14px}.stages-grid{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stage-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#f6f6f6;border-radius:inherit;z-index:-2}.stage-highlight{position:absolute;inset:0 auto 0 0;width:calc((100% - 24px)/4);border-radius:23px;background:var(--mint);z-index:-1;transition:transform .44s cubic-bezier(.22,1,.36,1)}.stage-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;min-height:104px;padding:14px 2px;background:transparent;border-radius:23px;text-align:center}.stage-card>span{font-size:11px;white-space:nowrap}.stage-card>strong{font-family:Arial,sans-serif;font-size:34px;line-height:1;font-weight:600}.stage-card:active:not(:disabled){transform:scale(.98)}.memo-dot{position:absolute;height:4px;width:4px;border-radius:50%;background:var(--ink);bottom:8px}.ledger-title{padding:0;background:none;font-size:inherit;font-weight:inherit;text-align:left;overflow-wrap:anywhere;touch-action:manipulation;-webkit-user-select:none;user-select:none}.ledger-nav{touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.ledger-nav>span:last-child{max-width:110px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.saved-notes{padding:23px 0;margin-top:15px}.saved-notes h3{font-size:12px;margin-bottom:10px}.saved-notes p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.clients-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:25px}.clients-toolbar>span{font-size:12px;white-space:nowrap}.search-field{display:flex;align-items:center;gap:9px;border:1.5px solid var(--ink);border-radius:28px;height:48px;padding:0 15px;flex:1;min-width:0}.search-field input{width:0;flex:1;border:0;outline:none;background:none;font-size:16px}.search-field input::placeholder{color:#969a8f}.client-list{display:flex;flex-direction:column;gap:13px}.client-row{display:flex;align-items:center;gap:9px;padding:9px 0}.client-avatar{width:42px;height:42px;border:1.5px solid var(--ink);border-radius:14px 16px 15px 13px;background:var(--mint);display:grid;place-items:center;font-size:17px;flex-shrink:0;transform:rotate(-4deg)}.client-main{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0;background:none;text-align:left;padding:0}.client-main strong{font-size:15px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%}.client-main>span{font-size:12px;color:#898d81}.delete-button{color:#96998f}.empty-state{min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;text-align:center}.empty-state h2{font-size:17px;font-weight:650}.empty-state p{font-size:13px;line-height:1.7}.empty-icon{width:82px;height:82px;border-radius:28px 25px 32px;background:var(--yellow);border:2px solid var(--ink);display:grid;place-items:center;transform:rotate(-7deg)}.modal{width:420px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 36px);overflow:visible;background:transparent;color:var(--ink);padding:0;border:0;border-radius:28px;animation:panel-in .68s cubic-bezier(.22,1,.36,1) both}.modal::backdrop{background:#17191665;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:backdrop-in .4s ease both}.modal-inner{position:relative;z-index:1;padding:13px 23px 24px;max-height:calc(100dvh - 36px);overflow:auto;background:#fff;border:2px solid var(--ink);border-radius:28px;box-shadow:5px 6px #17191640}.panel-handle{display:block;width:40px;height:5px;background:var(--ink);border-radius:4px;margin:0 auto 19px}.modal[data-closing]{animation:panel-out .24s ease-in both;pointer-events:none}.modal[data-closing]::backdrop{animation:backdrop-out .24s ease-in both}.panel-confetti{position:absolute;top:-28px;right:-8px;bottom:-28px;left:-8px;pointer-events:none;z-index:3;overflow:visible}.panel-confetti i{position:absolute;left:var(--x);top:0;width:7px;height:16px;background:var(--paper);border-radius:2px;opacity:0;animation:panel-paper 1.8s var(--delay) cubic-bezier(.16,.55,.4,1) both}.panel-confetti i:nth-child(3n){width:5px;height:22px;border-radius:5px}.celebration-layer{position:fixed;inset:35vh auto auto 50%;transform:translate(-50%);width:min(420px,calc(100vw - 32px));height:0;margin:0;padding:0;border:0;overflow:visible;background:transparent;pointer-events:none;z-index:10000}.celebration-layer::backdrop{background:transparent;pointer-events:none}@keyframes panel-in{0%{opacity:0;transform:translateY(90px) rotate(-3deg) scale(.86)}55%{opacity:1;transform:translateY(-9px) rotate(1deg) scale(1.025)}78%{transform:translateY(3px) rotate(-.3deg) scale(.994)}to{opacity:1;transform:none}}@keyframes panel-out{to{opacity:0;transform:translateY(32px) scale(.96) rotate(1deg)}}@keyframes backdrop-in{0%{background:#17191600;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}}@keyframes backdrop-out{to{background:#17191600;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}}@keyframes panel-paper{0%{opacity:0;transform:translateY(35px) rotate(0) scale(.4)}12%{opacity:1}35%{transform:translate(calc(var(--drift)*.65),-70px) rotate(calc(var(--turn)*.35)) scale(1)}76%{opacity:1}to{opacity:0;transform:translate(var(--drift),200px) rotate(var(--turn)) scale(.8)}}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-heading h2{font-size:23px;font-weight:800;overflow-wrap:anywhere}.modal-heading .icon-button{margin-right:-9px}.modal-description{font-size:13px;color:#82877b;margin-top:9px}.auth-tabs{display:flex;gap:8px;padding:5px;border:1.5px solid var(--ink);border-radius:26px;margin-top:21px}.auth-tabs button{flex:1;min-height:38px;background:none;border-radius:25px;font-size:13px;font-weight:650}.auth-tabs button.selected{background:var(--yellow)}.start-button,.primary-button,.root-badge,.empty-icon,.nav-item.active .nav-symbol,.auth-tabs button.selected,.ledger-swipe-surface .client-avatar{color:var(--yellow-ink)}.candidate-list button.selected,.stage-card.selected,.client-avatar{color:var(--mint-ink)}.stage-card.selected .memo-dot{background:var(--mint-ink)}.modal-form{display:flex;flex-direction:column;gap:20px;margin-top:24px}.modal-form label{font-size:13px;font-weight:600}.modal-form input,.modal-form textarea{display:block;width:100%;border:1.5px solid var(--ink);border-radius:14px;padding:13px;background:#fff;margin-top:9px;font-size:16px;resize:vertical}.memo-input{min-height:150px}.modal-form input::placeholder,.modal-form textarea::placeholder{color:#a3a69c;font-size:13px;font-weight:400}.form-error{font-size:13px;line-height:1.7}.optional{color:#8e9286;font-size:11px;font-weight:400;margin-left:5px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:27px}.toast{position:fixed;z-index:100;bottom:calc(105px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%);background:var(--ink);color:#fff;font-size:13px;padding:13px 19px;border-radius:25px;display:flex;align-items:center;gap:8px;white-space:nowrap;max-width:90vw}.alert{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1.5px solid #b44732;border-radius:15px;color:#a03825;font-size:12px;line-height:1.6;padding:7px 10px 7px 15px;margin-top:12px}.spinner{width:24px;height:24px;border:2px solid #e6e7e1;border-top-color:var(--ink);border-radius:50%;animation:spin .8s linear infinite}.page-enter{animation:enter .3s ease-out both}@keyframes spin{to{transform:rotate(360deg)}}@keyframes enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes mark-wiggle{25%{transform:rotate(10deg)}60%{transform:rotate(-14deg)}}@media(min-width:700px){.topbar{max-width:940px;height:90px}main{max-width:580px}.sphere-stage{height:380px}.creation-panel{max-width:470px}.bottom-nav{gap:100px}.result-page,.clients-page{padding-top:25px}.result-header{margin-bottom:28px}.stage-card{min-height:116px}.stage-card>span{font-size:13px}.stage-card>strong{font-size:42px}}@media(max-width:360px){.topbar{padding-left:20px;padding-right:20px;height:calc(68px + env(safe-area-inset-top,0px))}main{padding-left:19px;padding-right:19px}.sphere-stage{height:clamp(255px,40svh,320px);width:calc(100% + 38px);margin-left:-19px;margin-right:-19px}.picker-row{grid-template-columns:1.45fr 1fr 1fr 50px;gap:6px}.date-pill select{font-size:16px;padding-left:6px;padding-right:16px}.date-pill svg{right:5px;width:12px}.start-button{height:49px;font-size:17px}.quick-input-wrap{margin-top:22px}.quick-input-line input{font-size:28px}.result-title p{font-size:16px}.primary-button,.secondary-button{padding-left:13px;padding-right:13px}.stage-card>span{font-size:11px}.root-badge{gap:5px;padding:8px 10px;font-size:11px}.root-badge strong{font-size:23px}.date-roots{gap:4px}.date-root{padding:7px 5px;gap:3px}.bottom-nav{gap:72px}}@media(max-height:710px)and (max-width:600px){.sphere-stage{height:265px;min-height:230px;margin-bottom:0}.quick-input-wrap{margin-top:19px;height:103px;padding-top:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.brand-settings{border:0;padding:0;background:none;min-height:44px}.ledger-row{position:relative;border-bottom:1px solid #eee;overflow:hidden;border-radius:18px;background:#ef645c}.ledger-swipe-surface{position:relative;display:flex;align-items:center;gap:13px;min-height:86px;padding:14px 8px;background:#fff;transition:transform .32s cubic-bezier(.22,1,.36,1);touch-action:pan-y pinch-zoom}.ledger-swipe-surface.is-swiping{transition:none}.ledger-swipe-surface .client-avatar{position:relative;pointer-events:none;width:46px;height:46px;background:var(--yellow)}.ledger-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px;pointer-events:none}.ledger-meta strong{font-size:17px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ledger-meta>span{font-size:13px;color:#81847c}.ledger-open{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;border:0;background:transparent;border-radius:18px}.ledger-open:active{transform:none!important}.ledger-edit{position:relative;z-index:2;min-width:56px;min-height:44px;background:none;border-radius:18px;font-size:14px}.ledger-delete{position:absolute;inset:0 0 0 auto;width:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#ef645c;color:#fff;font-size:12px;border-radius:0 18px 18px 0}.ledger-row:not(.is-open) .ledger-delete{visibility:hidden}.ledger-row:has(.is-swiping) .ledger-delete{visibility:visible}.ledger-swipe-surface.is-flashing{animation:ledger-flash .38s ease-out both}@keyframes ledger-flash{0%{background:#fff}24%,50%{background:color-mix(in srgb,var(--yellow) 60%,white)}to{background:#fff}}.ledger-locked{min-height:330px;gap:19px}.ledger-locked h2{font-size:19px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:699px){:root{--ink:#191919;color:#191919;color-scheme:light;font-size:15px;line-height:1.5;-webkit-text-size-adjust:100%;text-size-adjust:100%}button,input,textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none}html,body,#root{height:100%;overflow:hidden}.app-shell{height:100dvh;min-height:0;display:grid;grid-template-rows:calc(56px + env(safe-area-inset-top,0px)) minmax(0,1fr) calc(64px + env(safe-area-inset-bottom,0px));overflow:hidden}.topbar{width:100%;height:auto;max-width:none;margin:0;padding:calc(4px + env(safe-area-inset-top,0px)) 22px 8px;background:#fff;z-index:2}.brand{gap:9px;font-size:25px;font-weight:800;line-height:1.5}.brand-settings{border-radius:12px}.account-button{width:44px;height:44px;min-height:44px;padding:10px;border-radius:18px}.account-button svg{width:23px;height:23px;stroke-width:1.9}.workspace{min-height:0;overflow:hidden;padding:0}main{height:100%;max-width:none;padding:0;overflow-y:auto;scrollbar-width:none;overscroll-behavior-y:contain}main::-webkit-scrollbar{display:none}.create-page{min-height:100%;padding:0 23px 40px}.sphere-stage{flex:1;flex-shrink:1;width:calc(100% + 32px);height:330px;min-height:240px;max-height:380px;margin:0 -16px 16px}.sphere-stage>.trigram-sphere{position:absolute;top:0;right:0;bottom:0;left:0;height:auto}.creation-panel{width:100%;max-width:none;flex-shrink:0}.picker-row{grid-template-columns:1.35fr 1fr 1fr 56px;gap:7px;margin-bottom:19px}.date-pill{height:46px;border-radius:28px}.date-pill select{padding:0 23px 0 12px;font-size:16px;font-weight:600}.date-pill svg{width:13px;height:13px;right:9px;stroke-width:2.3}.start-button{height:52px;min-height:44px;padding:0;border-radius:17px;font-size:20px;font-weight:850;font-style:normal;letter-spacing:-1px;transform:rotate(3deg);box-shadow:2px 3px 0 var(--ink)}.start-button:hover:not(:disabled){transform:rotate(3deg)}.start-button:active:not(:disabled){transform:rotate(-3deg) translate(2px,2px);box-shadow:none}.quick-input-wrap{min-height:97px;height:auto;margin:0;border-radius:24px;padding:18px 20px;display:flex;align-items:center}.quick-input-line{width:100%;height:auto;gap:13px}.input-asterisk{width:23px;height:23px;flex-shrink:0;stroke-width:1.8}.quick-input-line input{height:auto;padding:8px 0;font-size:21px;font-weight:400;letter-spacing:.5px;color:#171717;line-height:1.5}.quick-input-line input::placeholder{color:#8a8a8a;font-size:18px;letter-spacing:0}.quick-input-line .icon-button{min-width:32px;width:32px;padding:4px;margin-right:-10px}.date-feedback{min-height:0;padding:0;font-size:12px;margin:10px 4px 0}.date-feedback:empty{display:none}.candidate-list{gap:6px;margin-top:8px}.candidate-list button{padding:8px;border:1px solid var(--ink);border-radius:18px;background:var(--yellow);font-size:12px;font-weight:400;color:var(--yellow-ink)}.bottom-nav{position:relative;inset:auto;height:auto;padding:0 12px env(safe-area-inset-bottom,0px);gap:20px;z-index:3;align-items:center}.nav-item{flex-direction:row;gap:7px;min-width:0;max-width:190px;min-height:44px;padding:10px 17px;border-radius:24px;font-size:13px;font-weight:600}.nav-item.active{background:var(--yellow);color:var(--yellow-ink)}.nav-symbol{min-width:0;height:auto;background:none!important;border-radius:0}.nav-symbol svg{width:19px;height:19px;stroke-width:2;transform:none!important}.ledger-nav>span:last-child{max-width:125px}.icon-button{padding:10px}.icon-button svg{width:23px;height:23px;stroke-width:1.9}.icon-button:hover{background:transparent}.toast{bottom:calc(80px + env(safe-area-inset-bottom,0px));background:var(--mint);color:var(--mint-ink);border:1.5px solid var(--ink);padding:10px 19px}}@media(max-width:350px){.app-shell{grid-template-rows:calc(50px + env(safe-area-inset-top,0px)) minmax(0,1fr) calc(59px + env(safe-area-inset-bottom,0px))}.create-page{padding:0 16px 25px}.sphere-stage{min-height:180px;margin-bottom:9px}.picker-row{gap:5px;grid-template-columns:1.35fr 1fr 1fr 47px;margin-bottom:15px}.date-pill select{font-size:14px;padding-left:7px;padding-right:14px}.date-pill svg{right:4px;width:9px}.quick-input-wrap{min-height:83px;padding:14px}.quick-input-line input{font-size:18px}.bottom-nav{gap:14px;padding-left:10px;padding-right:10px}.nav-item{padding:9px 14px}.ledger-nav>span:last-child{max-width:108px}}@media(max-width:699px){.result-page,.clients-page{min-height:100%;padding:15px 22px 30px}.result-page .result-header{gap:10px;margin:0 -8px 26px}.result-page .back-button{width:44px;height:44px;padding:10px;margin:0;border-radius:18px}.result-page .back-button svg{width:23px;height:23px;stroke-width:1.9}.result-title h1{display:none}.result-title p,.result-title h1+p{color:var(--ink);font-size:20px;font-weight:700;letter-spacing:-.5px;line-height:1.5}.result-page .result-header>.primary-button,.clients-page .result-header>.primary-button{min-width:59px;min-height:44px;border:0;border-radius:22px;padding:10px 15px;font-size:14px;font-weight:650;line-height:1.5}.nine-grid{max-width:none;border:1.5px solid #ddd;border-radius:22px}.nine-grid .grid-dividers{stroke:#e5e5e5;stroke-width:1}.nine-grid .grid-connections line{stroke:#262626;stroke-width:1.2}.nine-grid .grid-ring{stroke:#272727;stroke-width:1.05}.nine-grid .grid-root-connections line,.nine-grid .grid-cell.root .grid-ring{stroke:var(--yellow-ink)}[data-nine-grid] .grid-cell .grid-digit{fill:#171717;font-family:Arial,Helvetica Neue,sans-serif;font-size:26px;font-weight:600}[data-nine-grid] .grid-cell.empty .grid-digit{fill:#b6b6b6}[data-nine-grid] .grid-cell.root .grid-digit{fill:var(--yellow-ink)}[data-nine-grid] .grid-cell .grid-count{font-size:14px}.result-numbers{gap:7px;margin:18px 0 25px;font-size:12px}.root-badge{flex-shrink:0;min-height:0;padding:8px 10px;gap:6px;font-size:11px;border-radius:20px}.root-badge strong{font-family:inherit;font-size:23px;line-height:1.2}.date-roots{flex:1;justify-content:flex-end;gap:3px;color:#6d6d6d}.date-root{gap:2px;padding:7px 5px;border-radius:14px;color:var(--ink);font-size:11px}.date-root strong{font-family:inherit;color:#191919;font-size:15px;font-weight:600}.stages-section{margin-top:0}.stages-section h2{margin:0 0 16px;font-size:14px;font-weight:650;line-height:1.5}.stages-grid{gap:6px}.stage-card{display:block;min-width:0;min-height:87px;padding:14px 2px;border-radius:19px;font-size:15px;line-height:1.5}.stage-card:before{background:#f7f7f7}.stage-highlight{width:calc((100% - 18px)/4);border-radius:19px;transition:transform .42s cubic-bezier(.22,.85,.23,1.08);pointer-events:none}.stage-card>span{font-size:11px}.stage-card>strong{display:block;margin:5px 0 0;font-family:inherit;font-size:27px;font-weight:600;line-height:1.5}.memo-dot{right:9px;bottom:9px}.clients-page .result-header{justify-content:space-between;margin:0 0 22px}.clients-page .result-header>.primary-button{height:45px}.clients-page .result-header>.primary-button svg{width:24px;height:24px}.clients-page .result-header h1,.ledger-title{font-size:21px;font-weight:750;line-height:1.5}.ledger-title{min-height:44px;max-width:235px}.clients-toolbar{margin-bottom:15px}.search-field{height:auto;min-height:47px;gap:10px;border:1.5px solid #ddd;border-radius:18px;padding:10px 14px}.search-field input{line-height:1.5;padding:1px 2px;background:#fff}.search-field input::placeholder{color:#757575}.client-list{gap:4px}.ledger-row{background:#d83b36}.ledger-swipe-surface{gap:0;padding:17px 0 17px 1px;transition:transform .34s cubic-bezier(.2,.8,.3,1)}.ledger-swipe-surface .client-avatar{width:38px;height:38px;border:1.5px solid #191919;border-radius:14px;font-size:15px;margin-right:12px;transform:none}.ledger-meta{gap:0}.ledger-meta strong{font-size:16px;font-weight:700;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.ledger-meta>span{color:#777;font-size:12px;line-height:1.5}.ledger-open{border-radius:17px}.ledger-edit{flex-shrink:0;min-width:0;padding:13px 10px;font-size:13px;line-height:1.5}.ledger-delete{width:76px;border-radius:0;background:#d83b36;font-size:14px;padding:0}.ledger-delete svg{display:none}.ledger-delete:active:not(:disabled){transform:none;background:#b92325}.ledger-swipe-surface.is-flashing{animation:preview-ledger-flash .33s ease-out both}.clients-page .empty-state:not(.ledger-locked){min-height:0;padding:70px 0;gap:0;color:#777;font-size:14px}.clients-page .empty-state:not(.ledger-locked) .empty-icon,.clients-page .empty-state:not(.ledger-locked) h2+.secondary-button{display:none}.clients-page .empty-state:not(.ledger-locked) h2{font-size:14px;font-weight:400}}@media(max-width:350px){.result-page{padding:14px 16px 24px}.result-title p,.result-title h1+p{font-size:17px}.result-numbers{gap:5px}.root-badge{padding:8px;font-size:10px;gap:4px}.root-badge strong{font-size:21px}.date-root strong{font-size:14px}}@keyframes preview-ledger-flash{0%{background:#fff}36%{background:var(--yellow)}to{background:color-mix(in srgb,var(--yellow) 35%,white)}}dialog.modal{position:fixed;inset:auto 0 0;width:min(100%,480px);max-width:100%;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px));margin:0 auto;overflow:visible;border-radius:28px 28px 0 0;transform-origin:50% 100%;animation:preview-panel-in .65s cubic-bezier(.18,.75,.23,1) both}dialog.modal::backdrop{background:#00000047;backdrop-filter:none;-webkit-backdrop-filter:none;animation:preview-backdrop-in .32s ease-out both}dialog.modal .modal-inner{padding:27px 24px calc(35px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px));border:0;border-top:2px solid var(--ink);border-radius:28px 28px 0 0;box-shadow:none;overscroll-behavior:contain}dialog.modal .panel-handle{position:absolute;top:8px;left:calc(50% - 19px);width:38px;height:4px;margin:0;border-radius:5px;background:#ddd}dialog.modal .modal-heading{gap:8px;margin-bottom:17px}dialog.modal .modal-heading h2{margin:0;font-size:19px;line-height:1.4;font-weight:750}dialog.modal .modal-heading .icon-button{margin:0;width:44px;height:44px;padding:10px}dialog.modal .modal-heading .icon-button svg{width:23px;height:23px;stroke-width:1.9}dialog.modal .modal-form{margin-top:0;gap:0}dialog.modal .modal-form label{font-size:13px;font-weight:400}dialog.modal .modal-form input,dialog.modal .modal-form textarea{border:1.7px solid var(--ink);border-radius:17px;padding:15px;margin-top:8px;font-size:17px}dialog.modal .modal-form textarea{min-height:160px;max-height:240px;line-height:1.55}dialog.modal .modal-form>textarea{margin-top:0}dialog.modal .modal-form>.primary-button{margin-top:19px}dialog.modal .modal-form>.form-error{margin-top:10px}dialog.modal .modal-form textarea::placeholder{font-size:17px;color:#757575}dialog.modal .modal-actions{margin-top:19px}dialog.modal .modal-actions:has(.danger-button){flex-direction:column-reverse;margin-top:19px;gap:12px}dialog.modal .modal-actions .danger-button{width:100%;min-height:50px;border:2px solid var(--ink);color:#a12a23;background:#fff;box-shadow:2px 3px 0 var(--ink);font-size:15px;font-weight:650}dialog.modal .modal-actions:has(.danger-button) .secondary-button{min-height:44px;border:0;color:#646464;font-size:13px;font-weight:400}dialog.modal .primary-button{min-height:50px;border:2px solid var(--ink);border-radius:25px;box-shadow:2px 3px 0 var(--ink);font-size:15px;font-weight:650}dialog.modal .primary-button>svg{display:none}dialog.modal[data-closing]{animation:preview-panel-out .24s cubic-bezier(.55,0,.8,.5) both}dialog.modal[data-closing]::backdrop{animation:preview-backdrop-out .24s ease-in both}dialog.modal:has(.appearance-tabs,.logo-options,.pin-illustration,.home-screen-preview) .modal-inner{padding-top:22px;padding-bottom:calc(25px + env(safe-area-inset-bottom,0px))}dialog.modal .appearance-tabs{width:100%;padding:4px;gap:9px;border-radius:24px;margin:0;background:#f5f5f5}dialog.modal .appearance-tabs>button{min-height:45px;font-size:14px;font-weight:400;border-radius:18px}dialog.modal .appearance-tabs i{width:18px;height:18px;border-width:1px;border-radius:7px;transform:none}dialog.modal .appearance-palette{margin:18px 0 8px}dialog.modal .appearance-wheel{--wheel-radius: 108px;width:280px;max-width:100%;height:280px}dialog.modal .appearance-wheel-track,dialog.modal .appearance-swatch i{display:none}dialog.modal .appearance-swatch{width:44px;height:56px;min-height:0;margin:0;padding:8px;border:1.7px solid var(--ink);border-radius:12px;box-shadow:2px 3px 0 var(--ink);justify-content:center;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(calc(-1 * var(--wheel-radius))) rotate(9deg)}dialog.modal .appearance-swatch>span{width:22px;height:22px}dialog.modal .appearance-swatch svg{width:22px;height:22px;transform:rotate(calc(-1 * var(--angle)))}dialog.modal .appearance-swatch.selected,dialog.modal .appearance-swatch:active:not(:disabled),dialog.modal .appearance-swatch.selected:active:not(:disabled){z-index:2;box-shadow:3px 5px 0 var(--ink);transform:translate(-50%,-50%) rotate(var(--angle)) translateY(calc(-1 * var(--wheel-radius) - 6px)) rotate(-5deg)}dialog.modal .appearance-sample{top:31%;right:31%;bottom:31%;left:31%;width:auto;height:auto;background:var(--yellow);border:2px solid var(--ink);box-shadow:4px 5px 0 var(--ink);border-radius:25px;transform:rotate(-8deg);overflow:hidden}dialog.modal .appearance-sample:before{content:"";position:absolute;inset:auto 0 0;height:46%;background:var(--mint)}dialog.modal .appearance-sample svg{position:relative;width:47px;height:47px;stroke-width:1.6;color:var(--yellow-ink);filter:drop-shadow(0 1px 0 var(--mint-ink))}dialog.modal .appearance-actions{gap:10px;margin-top:0}dialog.modal .appearance-actions .primary-button{flex:1;min-width:0}dialog.modal .appearance-reset{min-height:50px;border:1.5px solid var(--ink);border-radius:25px;padding:10px 20px;font-size:15px;color:var(--ink)}dialog.modal .appearance-reset svg{display:none}dialog.modal .appearance-sliders{gap:16px;margin:8px 0 15px}dialog.modal .appearance-sliders label{gap:2px}dialog.modal .appearance-sliders label>span{font-size:12px;line-height:1.5;font-weight:400}dialog.modal .appearance-sliders output{font-size:12px;color:#6d6d6d;font-weight:400}dialog.modal .appearance-sliders input[type=range]{height:30px}dialog.modal .appearance-sliders input[type=range]::-webkit-slider-runnable-track{height:8px;border:0;border-radius:8px}dialog.modal .appearance-sliders input[type=range]::-webkit-slider-thumb{width:19px;height:19px;margin-top:-5.5px}dialog.modal .appearance-sliders input[type=range]::-moz-range-track{height:8px;border:0;border-radius:8px}dialog.modal .appearance-sliders input[type=range]::-moz-range-thumb{width:16px;height:16px}dialog.modal .logo-options{gap:9px;margin:22px 0}dialog.modal .logo-option{gap:13px;justify-content:flex-start;padding:12px 4px 10px;border-color:#ddd;border-radius:20px;font-size:12px;white-space:nowrap}dialog.modal .logo-option.selected{border:2px solid var(--ink);background:color-mix(in srgb,var(--yellow) 12%,white)}dialog.modal .logo-option-image{width:68px;height:68px;max-width:100%;border:1.7px solid var(--ink);border-radius:21px;box-shadow:none;transform:none}dialog.modal .logo-option-image img{object-fit:contain}dialog.modal .logo-option-check{width:auto;height:17px;min-height:17px;font-size:11px;color:#777;border-radius:0}dialog.modal .logo-option.selected .logo-option-check{background:none}dialog.modal:has(.logo-options) .modal-actions{margin-top:0;padding-top:19px}dialog.modal .pin-illustration{width:70px;height:73px;margin:8px auto 23px}dialog.modal .pin-illustration>span{width:70px;height:73px;background:var(--mint);color:var(--mint-ink);border-radius:22px}dialog.modal .pin-illustration>span svg{width:37px;height:37px}dialog.modal .pin-illustration>i{display:none}dialog.modal .pin-ledger-name{display:none}dialog.modal .pin-form{margin:0;gap:0}dialog.modal .pin-prompt{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}dialog.modal .pin-entry{max-width:274px;border-radius:16px}dialog.modal .pin-slots{gap:10px}dialog.modal .pin-slots>span{flex:1;aspect-ratio:1;width:auto;max-width:58px;height:auto;border:1.7px solid var(--ink);border-radius:16px;background:#fafafa}dialog.modal .pin-slots>span.filled{background:var(--yellow)}dialog.modal .pin-slots i{background:var(--yellow-ink)}dialog.modal .pin-entry:focus-within .current{outline:2px solid var(--ink);outline-offset:3px;box-shadow:none}dialog.modal .pin-hint{font-size:12px;line-height:1.5;color:#777;margin:20px 0 5px}dialog.modal .pin-form .primary-button{margin-top:19px}dialog.modal .pin-form .form-error{margin-top:10px}dialog.modal .pin-back{margin-top:12px}dialog.modal .pin-management{margin-top:0;padding-top:19px;gap:12px}dialog.modal .pin-enabled{display:none}dialog.modal .pin-disable{min-height:44px;font-size:13px;color:#646464}dialog.modal .pin-disable>svg{display:none}@keyframes preview-panel-in{0%{transform:translateY(105%) rotate(-3deg) scale(.94)}62%{transform:translateY(-13px) rotate(1deg) scale(1.005)}83%{transform:translateY(4px) rotate(-.35deg)}to{transform:translateY(0) rotate(0) scale(1)}}@keyframes preview-panel-out{to{transform:translateY(105%) rotate(2deg) scale(.96)}}@keyframes preview-backdrop-in{0%{background:#0000}to{background:#00000047}}@keyframes preview-backdrop-out{to{background:#0000}}@media(max-width:350px){dialog.settings-drawer{padding-left:18px;padding-right:18px}dialog.modal .modal-inner{padding:25px 19px calc(30px + env(safe-area-inset-bottom,0px))}dialog.modal:has(.appearance-tabs,.logo-options,.pin-illustration,.home-screen-preview) .modal-inner{padding-top:20px;padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}dialog.modal:has(.appearance-tabs,.logo-options,.pin-illustration) .modal-heading{margin-bottom:10px}dialog.modal .appearance-palette{margin:12px 0 8px}dialog.modal .appearance-wheel{width:220px;height:220px;--wheel-radius: 83px}dialog.modal .appearance-swatch{width:37px;height:46px;border-radius:10px}dialog.modal .appearance-sample{border-radius:20px}dialog.modal .appearance-tabs>button{font-size:13px;padding:8px}dialog.modal .appearance-sliders{gap:13px;margin-top:6px;margin-bottom:10px}dialog.modal .logo-options{gap:7px}dialog.modal .logo-option-image{width:57px;height:57px;border-radius:17px}dialog.modal .logo-option{font-size:11px;padding-left:3px;padding-right:3px}dialog.modal .pin-slots{gap:8px}}@media(prefers-reduced-motion:reduce){dialog.modal,dialog.modal::backdrop,dialog.modal[data-closing],dialog.modal[data-closing]::backdrop{animation:none}}
