.beading-top,.beading-dock{display:none}
body.beading-focused{overflow:hidden;background:#fff}
body.beading-focused>header,body.beading-focused>footer,body.beading-focused .assist-heading,body.beading-focused #assist-status,body.beading-focused #assist-inspector{display:none!important}
body.beading-focused #beadia-support-launcher{display:none!important}
body.beading-focused .assist-main,body.beading-focused #assist-editor-content,body.beading-focused .assist-workspace{margin:0!important;padding:0!important;max-width:none!important;display:block!important}
body.beading-focused #assist-board{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-height:none!important;display:flex!important;flex-direction:column!important;border:0!important;border-radius:0!important;background:#fff;z-index:1000;padding:0!important;gap:0!important;overflow:hidden}
body.beading-focused #assist-board> :not(.beading-top):not(.beading-dock):not(#canvas-stage){display:none!important}
body.beading-focused #canvas-stage{position:relative!important;flex:1 1 0!important;height:auto!important;min-height:80px!important;max-height:none!important;width:100%!important;overflow:hidden;background:#faf9f8}
body.beading-focused #pattern-canvas,body.beading-focused #pattern-overlay{position:absolute!important;inset:0;width:100%;height:100%}
.beading-focused .beading-top{display:flex;flex:none;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 16px 8px;border-bottom:1px solid #ede5e8;background:#fff;min-height:60px}
.beading-brand{color:#ad526c;font-size:24px;font-family:Georgia,serif;font-style:italic;margin-right:auto}.beading-brand span{display:block;font:10px system-ui;letter-spacing:.07em;color:#6f676a}
.beading-focused .beading-dock{display:block;flex:none;background:#fff;border-top:1px solid #eee5e9;padding-bottom:env(safe-area-inset-bottom)}
.beading-top button,.beading-dock button,.beading-sheet button{font:500 13px system-ui;min-height:40px;border:1px solid #e9dfe3;border-radius:12px;background:#fff;color:#55434a;padding:8px 12px;cursor:pointer;box-shadow:none;white-space:nowrap}
.beading-top button[data-action=timer]{font-variant-numeric:tabular-nums;background:#fbf3f6}.beading-top button[data-action=save],.beading-active button{background:#97506a;color:#fff;border-color:#97506a}
.beading-top button[data-action=timer]{width:122px;flex:0 0 122px;display:flex;justify-content:center;align-items:center;gap:6px;white-space:nowrap;font-family:monospace;letter-spacing:0}
.beading-top button[data-action=timer] time{font:inherit;font-variant-numeric:tabular-nums}
.beading-top button[data-action=done]{background:#97506a;color:white;border-color:#97506a}
.beading-beta{display:inline-block;vertical-align:middle;margin-left:4px;padding:2px 5px;border:1px solid #e7c4d1;border-radius:5px;color:#97506a;background:#faf0f4;font:600 9px system-ui;font-style:normal;letter-spacing:.03em}
.beading-actions{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;overflow:auto}.beading-actions button[aria-pressed=true]{background:#f4e5eb;color:#8b3a58;border-color:#c48a9e}
.beading-active{display:flex;justify-content:space-between;align-items:center;gap:8px;max-width:1000px;margin:auto;padding:0 14px 6px;font:12px system-ui;color:#65515a}.beading-active button{min-height:32px;padding:5px 10px}
.beading-bottom{display:flex;gap:10px;padding:6px 12px 10px;align-items:stretch;max-width:1200px;margin:auto}.beading-progress{display:flex;align-items:center;justify-content:center;flex:0 0 52px;font:600 14px system-ui;color:#97506a;border:1px solid #eedde4;background:#faf1f5;border-radius:12px}
.beading-colors{display:flex;overflow-x:auto;gap:7px;min-width:0;scrollbar-width:thin}.beading-colors button{position:relative;display:grid;grid-template-columns:16px auto;column-gap:7px;min-width:75px;min-height:54px;padding:7px 9px;text-align:left;flex:none;border-radius:9px}.beading-colors i{grid-row:1/3;align-self:center;width:15px;height:30px;background:var(--bead);border:1px solid #0002;border-radius:5px}.beading-colors strong{font-size:12px}.beading-colors span{font-size:11px;color:#6e6468}.beading-colors button[aria-pressed=true]{outline:2px solid #a75573;outline-offset:-2px;background:#fdf3f7}
.beading-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;max-width:500px;width:100%;max-height:85dvh;border:0;border-radius:24px 24px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));color:#342f32;background:#fff;box-shadow:0 -10px 60px #22121b22;overflow:auto;z-index:1200;font-family:system-ui}
.beading-sheet::backdrop{background:#20151a66}.beading-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.beading-sheet h2{margin:0;font:600 21px system-ui}.beading-sheet-body{display:grid;gap:10px}.beading-sheet-body label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;padding:9px 0}.beading-sheet-body input[type=checkbox]{width:20px;height:20px;accent-color:#a75573}.beading-sheet-body select{max-width:55%;padding:8px;border:1px solid #e1d8dd;border-radius:8px;background:#fff}.beading-sheet p{font-size:13px;color:#71636a;margin:0 0 8px}.beading-sheet-body button{text-align:left;min-height:44px}
.beading-focused button:disabled{opacity:.4;cursor:default}.beading-focused button:focus-visible,.beading-sheet button:focus-visible{outline:3px solid #a75573;outline-offset:2px}
.beading-dark #canvas-stage{background:#262329}
@media(max-width:500px){.beading-focused .beading-top{padding-left:8px;padding-right:8px;gap:5px}.beading-brand{font-size:21px}.beading-brand span{font-size:8px}.beading-top button{font-size:11px;padding:7px;min-height:36px}.beading-actions{justify-content:flex-start;gap:4px;padding:6px 8px}.beading-actions button{font-size:11px;padding:6px 9px;min-height:36px}.beading-active{padding:0 10px 5px}.beading-bottom{padding:5px 8px 8px;gap:6px}.beading-colors button{min-width:69px}.beading-progress{flex-basis:42px}}
