:root{--quiet-ink:#52634c;--warm-line:#b69476}.signature{position:relative;isolation:isolate;display:block;overflow:hidden;min-height:238px;padding:34px 38px;margin:0 0 25px;border:1px solid #294a36;border-radius:14px;background:#243e31;color:#f8f8ec}.signature>div:not(.signature-art){position:relative;z-index:1;width:68%}.signature .eyebrow{color:#d1dfbf;font-size:9px;letter-spacing:2px;margin-bottom:13px}.signature h1{color:#f8f8ec;font-size:clamp(34px,3.7vw,48px);font-weight:500;letter-spacing:-1.1px;line-height:1.45}.signature>.intro-copy{display:block;position:relative;z-index:1;max-width:64%;font-size:13px;line-height:1.85;color:#dce5d1;white-space:pre-line;margin:13px 0 0}.signature-art{position:absolute;width:44%;max-width:480px;right:-12px;bottom:0;pointer-events:none;mask-image:linear-gradient(to right,transparent,#000 30%)}.signature-art svg{display:block;width:100%;height:auto}.signature-grid{fill:none;stroke:#c8d6b52b;stroke-width:1}.signature-brows{fill:#b1c69b42}.signature-guide{fill:none;stroke:#d7edb4;stroke-width:1.7}.signature-nodes{fill:#e2c4a0}.signature-eye{fill:none;stroke:#d1dfbd60;stroke-width:1}.signature-art text{font:8px sans-serif;letter-spacing:2.7px;fill:#d9e6c795}.home-resume{display:grid;grid-template-columns:102px minmax(0,1fr) auto;gap:20px;align-items:center;padding:17px 20px;margin-bottom:24px;background:#f1f1e7;border-color:#cbd5c1;border-radius:10px}.home-resume .eyebrow{display:none}.home-resume h2{font-size:11px;line-height:1.5;letter-spacing:.2px;color:var(--quiet-ink);margin:0 0 5px}.home-resume #home-saved-name{font-size:16px;font-weight:500;line-height:1.6;color:#203b30;overflow-wrap:anywhere}.home-resume .button{font-size:12px;min-width:75px;min-height:46px;margin:0;padding:10px 12px;width:auto}.saved-preview{position:relative;background:#263f31;color:#dceac8;border-radius:7px;overflow:hidden}.saved-preview:before{content:'';position:absolute;left:12%;right:12%;top:50%;border-top:1px solid #d5e4c221}.saved-preview svg{position:relative;display:block;width:100%;height:100%;padding:8px 12px;overflow:visible}.saved-preview path{fill:#bcd6a345;stroke:#d8edbb;stroke-width:1.2;stroke-linejoin:round}.saved-preview circle{fill:#e3c8a3}#home-shape-preview{width:102px;height:67px}.home-features{gap:20px}.home-features .fit-entry,.home-features .salon-card{position:relative;border-radius:10px;padding:24px 25px;background:#fafaf3;border:1px solid #cbd4c1;border-top:3px solid #7c9670}.home-features .salon-card{background:#f1eee3;border-color:#d5cebe;border-top-color:#a8896e}.home-features h2{font-size:26px;line-height:1.5;letter-spacing:-.5px;margin:12px 0 2px}.home-features .eyebrow{font-size:8px;letter-spacing:1.6px;color:#4f6248}.home-features .feature-number{width:25px;height:25px;color:#4e6348;border-color:#8ba07d}.home-features .salon-card .feature-number{color:#745a46;border-color:#a88a6f}.home-features p:not(.eyebrow){font-size:14px;line-height:1.8;margin:10px 0 18px}.home-features .button{border-radius:6px;font-size:14px;min-height:48px}.home-features .access-note{font-size:12px!important;line-height:1.8!important;color:var(--quiet-ink);margin:11px 0 0!important}.home-features .salon-card .access-note{margin-bottom:15px!important}.home-features .salon-card .ritual-steps{display:none}.home-features .salon-card #scan-tips-open{font-size:12px;min-height:44px;margin-top:2px}.home-features .salon-actions .button{font-size:13px;min-height:48px}.home-trust{display:flex;gap:9px;align-items:start;padding:14px 2px;margin:0 0 6px;color:var(--quiet-ink)}.home-trust .trust-mark{font-size:18px;line-height:1.4}.home-trust .fit-entry-note{font-size:12px;line-height:1.8;margin:0}.bottom-nav a{color:#52634c}.bottom-nav a[aria-current=page]{background:#dfe8d1;color:#213a2c}.button.secondary{border-color:#76866d;color:#273e2d}.field-note,.save-caption,.library-plan-note{font-size:12px;color:var(--quiet-ink)}.source-badge{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.name-field input,.scan-edit select{border-color:#76866d}.notice{margin:0 0 20px;padding:13px 16px;background:#e9eddf;border:1px solid #8b9e7e;border-radius:6px;line-height:1.8;font-size:14px;overflow-wrap:anywhere}.notice.error{color:#713c2e;background:#f2e8dc;border-color:#ae8b74}#library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.library-item,.library-item[data-selected=true]{display:block;padding:0;margin:0;border:1px solid #c5d0bd;border-radius:10px;background:#fafaf3;min-width:0;overflow:visible}.library-item[data-selected=true]{border-color:#5f7951;box-shadow:0 0 0 1px #5f7951}.library-item .library-thumb{width:100%;height:108px;border-radius:9px 9px 0 0}.library-thumb svg{padding:10px 25px}.library-item-body{padding:17px 18px}.library-item .library-name{font-size:18px;font-weight:500;line-height:1.55;margin:0 0 5px;overflow-wrap:anywhere}.library-item .library-meta{font-size:12px;line-height:1.7;color:var(--quiet-ink);margin:0 0 15px}.library-selected{position:absolute;right:10px;top:10px;background:#e5edda;color:#29412d;font-size:10px;line-height:1.5;padding:4px 8px;border-radius:3px}.library-item-actions{display:flex;gap:9px;align-items:center;flex-wrap:nowrap}.library-item-actions .load-shape{flex:1;min-width:0;min-height:46px;justify-content:center;text-align:center;font-size:13px;line-height:1.6;padding:10px 13px;border-radius:5px;background:#29422f;color:#f8f8ec;border:1px solid #29422f}.library-more{position:relative;flex-shrink:0}.library-more>summary{list-style:none;display:grid;place-items:center;width:46px;height:46px;cursor:pointer;font-size:16px;letter-spacing:2px;border:1px solid #76866d;border-radius:5px;color:#29422f;background:#fafaf3}.library-more>summary::-webkit-details-marker{display:none}.library-more>summary:focus-visible{outline:3px solid #568b78;outline-offset:2px}.library-more[open]>summary{background:#e5ebdc}.library-menu{position:absolute;top:calc(100% + 7px);right:0;z-index:40;min-width:180px;border:1px solid #8a9a7e;border-radius:7px;padding:6px;background:#fafaf3;box-shadow:0 8px 24px #233b2929}.library-item-actions .library-menu button{display:block;width:100%;text-align:left;min-height:44px;padding:11px 12px;border:0;border-radius:3px;font-size:13px;color:#29422f;background:none}.library-item-actions .library-menu button:hover,.library-item-actions .library-menu button:focus-visible{background:#e6eddc}.library-item-actions .library-menu .delete-shape{color:#863f30}.library-tools{gap:12px}.library-tools .button{font-size:13px;min-height:48px}.empty-library{border:1px dashed #8b9e7d;border-radius:10px;background:#eef1e5;padding:30px 24px}.empty-library>span{color:#546f47}.empty-library p{font-size:14px;line-height:1.85;max-width:420px;margin:8px auto 13px}.empty-library .text-button{min-height:46px;font-size:13px;color:#29422f}.lab-guide{border-color:#b4c2a5}.lab-banner .lab-badge{font-size:10px}.lab-banner strong{font-size:12px}.lab-banner p{font-size:11px;color:#3e5639}
@media(max-width:760px){.signature{padding:25px 23px;min-height:217px;border-radius:10px;margin-bottom:18px}.signature>div:not(.signature-art){width:76%}.signature h1{font-size:29px;line-height:1.45;letter-spacing:-.7px}.signature .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:9px}.signature>.intro-copy{font-size:12px;max-width:76%;line-height:1.8;margin-top:11px}.signature-art{width:182px;right:-21px;bottom:0;opacity:.8;mask-image:linear-gradient(to right,transparent,#000 42%)}.home-resume{grid-template-columns:78px minmax(0,1fr) auto;gap:12px;padding:13px;margin-bottom:18px}.home-resume h2{font-size:10px;margin-bottom:4px}.home-resume #home-saved-name{font-size:14px;line-height:1.55}#home-shape-preview{width:78px;height:58px}.home-resume .button{font-size:11px;min-width:58px;min-height:46px;padding:8px}.home-features{gap:14px}.home-features .fit-entry,.home-features .salon-card{padding:20px}.home-features h2{font-size:23px;margin-top:10px}.home-features .salon-card h2{font-size:21px}.home-features p:not(.eyebrow){font-size:13px;margin:9px 0 15px}.home-features .button{font-size:13px}.home-features .salon-actions .button{font-size:12px;padding:11px 9px}.home-features .eyebrow{font-size:8px;letter-spacing:1px}.home-trust{padding:13px 2px}.home-trust .fit-entry-note{font-size:12px}.lab-banner{gap:7px}.lab-banner .lab-badge{font-size:9px;padding:5px 7px}.lab-banner strong{font-size:12px}.lab-banner p{font-size:10px;line-height:1.5}.lab-banner>a{font-size:10px}#library-list{grid-template-columns:1fr;gap:17px}.library-item .library-thumb{height:97px}.library-item-body{padding:16px 18px}.library-item .library-name{font-size:17px}.library-item .library-meta{font-size:12px;margin-bottom:13px}.library-item-actions .load-shape{min-height:46px;font-size:13px}.library-tools .button{font-size:13px}.library-plan-note{line-height:1.85}.empty-library{padding:28px 20px}.notice{font-size:13px;padding:12px 14px}}
@media(max-width:360px){.signature{padding:23px 19px;min-height:216px}.signature h1{font-size:26px}.signature>div:not(.signature-art){width:80%}.signature>.intro-copy{max-width:80%}.signature-art{width:164px;right:-27px;opacity:.65}.home-resume{grid-template-columns:66px minmax(0,1fr) 52px;gap:10px;padding:11px}#home-shape-preview{width:66px;height:54px}.home-resume .button{min-width:52px;font-size:10px}.home-resume #home-saved-name{font-size:13px}.home-features .fit-entry,.home-features .salon-card{padding:18px 16px}.home-features h2{font-size:22px}.home-features .salon-card h2{font-size:20px}.lab-banner .lab-badge{font-size:9px}.lab-banner strong{font-size:11px}.lab-banner p{font-size:10px}.lab-banner>a{font-size:10px}}
@media(prefers-reduced-motion:no-preference){.bottom-nav a,.home-features .button,.library-item-actions .load-shape{transition:background .16s,color .16s,box-shadow .16s}.home-features .button:hover,.library-item-actions .load-shape:hover{box-shadow:0 3px 12px #203b301a}}
.notice-area{position:relative}.notice-area .notice{padding-right:53px}.notice-dismiss{position:absolute;right:4px;top:4px;width:44px;height:44px;font-size:22px;line-height:1;border:0;background:transparent;color:#3f5940;border-radius:4px}.notice-dismiss:hover{background:#cad6be55}.notice-dismiss:focus-visible{outline:3px solid #568b78;outline-offset:1px}
.notice-area{position:sticky;top:10px;z-index:45}.local-note{font-size:12px;line-height:1.8}
.notice-area.has-notice-actions{margin-bottom:16px;border:1px solid #b19585;border-radius:8px;background:#f5eeea}
.notice-area.has-notice-actions .notice{margin:0;background:none;border:0}
.notice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:2px 14px}
.notice-area.has-notice-actions .notice-actions{padding:0 13px 8px}
#notice-photo{width:auto;min-height:44px;margin:0;padding:8px 13px;border-radius:5px}
.browser-help-link{min-height:44px;border:0;background:none;padding:6px 3px;color:#23483c;font-size:13px;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:4px}
.start-screen .browser-help-link{color:#dce8d9;text-align:center}
#scan-browser-help,#save-browser-help{display:block;margin:-9px 0 10px}
.browser-help-dialog{width:min(460px,calc(100% - 24px));padding:20px 22px;max-height:calc(100dvh - 24px);overscroll-behavior:contain}
.browser-help-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.browser-help-heading h2{margin:0;line-height:1.4}
.browser-help-heading h2:focus{outline:none}
.browser-help-steps{margin:12px 0 18px;padding-inline-start:23px;font-size:14px;line-height:1.65}
.browser-help-steps li+li{margin-top:8px}
.browser-help-dialog label{display:block;margin-bottom:5px;color:var(--muted);font-size:12px}
.browser-help-address{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.browser-help-address input{width:100%;min-width:0;min-height:44px;padding:8px 9px;border:1px solid #92968c;border-radius:6px;background:#fff;color:var(--ink);font-size:16px}
.browser-help-address .button{width:auto;min-height:44px;margin:0;padding:7px 10px;font-size:12px;white-space:nowrap}
@media(max-width:370px){.browser-help-address{grid-template-columns:minmax(0,1fr)}}
.browser-help-feedback{margin:5px 0 9px;min-height:1.5em;color:#23483c;font-size:12px;line-height:1.5}
.browser-help-data{padding:11px 12px;border-radius:6px;background:#edf0e9;color:#354735;font-size:12px;line-height:1.65}
.browser-help-data p{margin:0}
.browser-help-data p+p{margin-top:7px}
.first-save-dialog{width:min(400px,calc(100% - 24px));padding:24px;overscroll-behavior:contain}
.first-save-dialog h2{margin:0 0 16px;font-weight:600;outline:none}
.first-save-shape{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:14px;margin-bottom:18px}
#first-save-preview{height:56px}
#first-save-name{margin:0;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
#first-save-try{width:100%;min-height:48px;margin:0}
#first-save-next{margin:12px 0 2px;color:var(--muted);font-size:13px;line-height:1.7}
#first-save-later{display:block;margin:0 auto;padding-inline:14px}
.library-lookup{margin:0 0 22px;padding:16px 18px;border:1px solid var(--line);border-radius:5px;background:#f5f7f2}
#library-panel:has(.library-lookup:not([hidden])) :is(.library-intro>p,.library-total,.library-plan-note,.empty-library>span){display:none}
#library-panel:has(.library-lookup:not([hidden])) .library-intro{margin-bottom:16px}
#library-panel:has(.library-lookup:not([hidden])) .empty-library{margin:0 0 12px;padding:12px 17px 3px;text-align:left}
#library-panel:has(.library-lookup:not([hidden])) .empty-library p{margin:0;font-size:13px}
.library-lookup h2{margin:0;font-size:14px;line-height:1.55}
.library-lookup ol{margin:10px 0 0;padding-inline-start:21px;font-size:13px;line-height:1.7}
.library-lookup li{padding-inline-start:3px}
.library-lookup li+li{margin-top:7px}
.library-lookup li::marker{color:var(--mint-strong);font-weight:650}
#toast[data-reuse-hint]{width:min(370px,calc(100% - 32px));padding:12px 15px;text-align:left;pointer-events:none}
#toast[data-reuse-hint] #toast-message{font-size:13px;font-weight:650}
#toast-save-next{display:block;margin-top:3px;color:#e2ebdb;line-height:1.6}
.mirror-toolbar .mirror-button{min-width:44px}@media(max-width:760px){.mirror-toolbar{gap:5px}}
.library-item .library-thumb{padding:0}.library-thumb svg{fill:none;stroke:none;stroke-width:0}.saved-preview circle{stroke:none}
