:root{--bg: #f4f4f2;--panel: #ffffff;--line: #e2e2dd;--ink: #1a1a18;--muted: #6b6b66;--accent: #8c1d18;color-scheme:light}*{box-sizing:border-box}body{margin:0;font:14px/1.5 ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--bg)}.app{display:grid;grid-template-columns:300px 1fr 360px;height:100vh;overflow:hidden}.panel{background:var(--panel);border-right:1px solid var(--line);overflow-y:auto;padding:16px 16px 48px}.panel.right{border-right:none;border-left:1px solid var(--line)}h1{font-size:19px;margin:4px 0 18px;letter-spacing:-.01em}h2{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin:0 0 10px}h3{font-size:12px;margin:14px 0 4px}section{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}section:last-child{border-bottom:none}label{display:block;font-size:12px;color:var(--muted);margin-bottom:10px}label.check{display:flex;gap:8px;align-items:center;color:var(--ink)}input[type=date],input[type=number],input[type=file]{width:100%;margin-top:4px;padding:7px 8px;border:1px solid var(--line);border-radius:6px;font:inherit;background:#fff;color:var(--ink)}input[type=range]{width:100%;accent-color:var(--accent)}input:not([type]),input[type=text],select,textarea{width:100%;margin-top:4px;padding:7px 8px;border:1px solid var(--line);border-radius:6px;font:inherit;background:#fff;color:var(--ink)}textarea{resize:vertical;line-height:1.45}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.row{display:flex;align-items:center;gap:8px}.row input{flex:1}.deg{font-size:12px;color:var(--muted);white-space:nowrap}button{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);cursor:pointer;width:100%;margin-bottom:8px}button:hover:not(:disabled){background:#f6f6f4}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button.primary:hover:not(:disabled){background:#741713}.quick{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.quick button{width:auto;flex:none;padding:5px 9px;font-size:12px;margin:0}.hint{font-size:11.5px;color:var(--muted);margin:6px 0 0}.status{font-size:11.5px;color:var(--accent);margin:8px 0 0}.warn{font-size:11.5px;color:#8a5a00;background:#fff7e6;border:1px solid #f0dfb8;border-radius:6px;padding:7px 8px;margin:8px 0 0}.stage{overflow:auto;display:grid;place-items:center;background:repeating-conic-gradient(#ececea,#ececea 25%,#f4f4f2 0%,#f4f4f2 50%) 50% / 22px 22px}.stage canvas{box-shadow:0 2px 18px #00000024;touch-action:none}.empty{text-align:center;color:var(--muted)}.cls{font-weight:600;margin:0 0 6px;font-size:13px}.struct{font-size:12px;color:var(--accent);margin:2px 0}.minigrid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:10px}.cell{display:grid;gap:1px;padding:8px 4px;text-align:center;width:auto;margin:0;line-height:1.25}.cell.sel{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.cell.facing{background:#f0f6f1}.cell.sitting{background:#f6f2ec}.cell .stars{font-weight:700;font-size:15px}.cell .per{font-size:11px;color:var(--muted)}.cell .dir{font-size:10px;color:var(--muted)}.nature{font-weight:600;margin:0 0 2px}.nature.auspicious{color:#1f7a4d}.nature.inauspicious{color:#b3261e}.nature.mixed{color:#8a6d1f}.classical{font-size:12px;color:var(--muted);margin:0 0 8px}.workings{font-size:11.5px;color:var(--muted);padding-left:18px;margin:0}.workings li{margin-bottom:5px}@media(max-width:1100px){.app{grid-template-columns:1fr;grid-template-rows:auto 60vh auto;height:auto}.panel{border-right:none;border-bottom:1px solid var(--line)}.panel.right{border-left:none;border-top:1px solid var(--line)}}.missing{margin-top:10px;padding:9px 10px;border:1px solid #f0dfb8;background:#fff7e6;border-radius:6px;font-size:11.5px;color:#6b5520}.missing strong{display:block;margin-bottom:5px;color:#8a5a00}.missing>div{margin-bottom:2px}.missing span{color:#90805a}.missing .hint{margin-top:6px}select{width:100%;margin-top:4px;padding:7px 8px;border:1px solid var(--line);border-radius:6px;font:inherit;background:#fff;color:var(--ink)}input[type=text],.person input:not([type]){width:100%;margin-top:4px;padding:7px 8px;border:1px solid var(--line);border-radius:6px;font:inherit}.person{border:1px solid var(--line);border-radius:7px;padding:9px 10px;margin-bottom:8px;background:#fcfcfb}.person.draft{background:#fff;border-color:var(--accent)}.person-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.person-head span{font-size:11.5px;color:var(--muted)}.person-meta{font-size:11.5px;color:var(--muted);margin:2px 0 6px}.person .x{width:auto;margin:0;padding:0 6px;border:none;background:none;color:var(--muted);font-size:17px;line-height:1}.person .x:hover{color:var(--accent);background:none}.matrix-scroll{overflow-x:auto}table.matrix{border-collapse:collapse;font-size:11.5px;width:100%}table.matrix th,table.matrix td{border:1px solid var(--line);padding:4px 5px;text-align:center}table.matrix th.rowhead{text-align:left;white-space:nowrap;font-weight:600}table.matrix th.rowhead span{display:block;font-weight:400;color:var(--muted);font-size:10px}table.matrix td{position:relative;font-variant-numeric:tabular-nums}table.matrix td.own{font-weight:700;box-shadow:inset 0 0 0 2px var(--accent)}table.matrix td i{display:none}button.linkish{width:auto;margin:0;padding:0;border:none;background:none;font:inherit;font-weight:600;text-decoration:underline dotted}.v-prime{background:#d8ecdd}.v-good{background:#eaf4ec}.v-workable{background:#fdf6e3}.v-avoid{background:#f9dedc}.legend{display:flex;gap:6px;margin-top:8px}.legend span{font-size:10.5px;padding:2px 7px;border-radius:4px}.quick button.on{background:var(--accent);color:#fff;border-color:var(--accent)}.bedroom{border:1px solid var(--line);border-radius:7px;padding:9px 10px;margin-top:8px;background:#fcfcfb}.bedroom.empty{opacity:.65}.bedroom p{margin:6px 0 0;font-size:12px}.hint.sep{margin-top:14px;padding-top:10px;border-top:1px solid var(--line)}.rf{margin-bottom:10px}.rf h3{margin:10px 0 3px}.rf h3 em{font-style:normal;font-weight:400;color:var(--accent);font-size:10px;margin-left:5px}.rf p{margin:0;font-size:12.5px}.rf h3{display:flex;align-items:baseline;gap:7px}.rf h3 em{font-style:normal;font-weight:600;color:var(--accent);font-size:9.5px;text-transform:uppercase;letter-spacing:.06em}.rf h3 .linkish{font-size:11px;font-weight:400;color:var(--muted)}.rf h3 .linkish:hover{color:var(--accent)}.rf h3 .edit{margin-left:auto}.rf p{font-size:12.5px;border-radius:4px;padding:2px 4px;margin:0 0 0 -4px;cursor:text}.rf p:hover{background:#f2f2ef}.rf p.edited{border-left:2px solid var(--accent);padding-left:6px;margin-left:-8px}.rf textarea{width:100%;font:inherit;font-size:12.5px;line-height:1.45;padding:7px 8px;border:1px solid var(--accent);border-radius:6px;resize:vertical;min-height:60px;overflow:hidden;color:var(--ink);background:#fff}.mode{display:flex;gap:0;margin-bottom:16px}.mode button{flex:1;width:auto;margin:0;font-size:12px;padding:6px 8px;border-radius:0;border-right-width:0}.mode button:first-child{border-radius:6px 0 0 6px}.mode button:last-child{border-radius:0 6px 6px 0;border-right-width:1px}.mode button.on{background:var(--accent);color:#fff;border-color:var(--accent)}.wiz-progress{display:flex;align-items:center;gap:9px;margin-bottom:12px}.wiz-bar{flex:1;height:5px;background:var(--line);border-radius:3px;overflow:hidden}.wiz-bar span{display:block;height:100%;background:var(--accent);transition:width .25s}.wiz-count{font-size:11px;color:var(--muted);white-space:nowrap}.wiz-steps{list-style:none;margin:0 0 16px;padding:0}.wiz-steps li button{width:100%;margin:0 0 2px;text-align:left;border:none;background:none;padding:5px 6px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;border-radius:5px}.wiz-steps li button:hover:not(:disabled){background:#f4f4f1}.wiz-steps li i{font-style:normal;width:19px;height:19px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:10.5px;flex:none}.wiz-steps li.ok i{background:#1f7a4d;border-color:#1f7a4d;color:#fff}.wiz-steps li.now button{color:var(--ink);font-weight:600;background:#f4f4f1}.wiz-steps li.now i{border-color:var(--accent);color:var(--accent)}.wiz-body h3{font-size:15px;margin:0 0 6px}.wiz-body p{font-size:12.5px;margin:0 0 10px;color:#3d3d3a}.wiz-body .hint{color:var(--muted)}.ok-note{font-size:12px;background:#eef6f0;border:1px solid #cfe4d6;color:#1f5a3d;border-radius:6px;padding:7px 9px;margin:8px 0 0!important}.verdict{font-weight:600;font-size:14px!important;color:var(--accent)!important}.wiz-nav{display:flex;gap:8px;margin-top:16px}.wiz-nav button{flex:1;margin:0}details{margin-top:8px}details summary{font-size:11.5px;color:var(--muted);cursor:pointer;padding:3px 0}details summary:hover{color:var(--accent)}.canvas-wrap{width:100%;height:100%;display:grid;place-items:center;overflow:auto}.canvas-wrap.plan-view{display:block;position:relative;overflow:hidden;touch-action:none}.canvas-wrap.plan-view>canvas{display:block;width:100%;height:100%;box-shadow:none;touch-action:none}.zoom-controls{position:absolute;top:10px;right:10px;z-index:3;display:flex;align-items:center;gap:2px;padding:3px;background:#fff;border-radius:999px;box-shadow:0 1px 6px #0000002e}.zoom-controls button{width:34px;height:34px;min-width:34px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;font-size:19px;line-height:1}.zoom-controls button.fit{width:auto;padding:0 12px;font-size:13px;font-weight:600}.zoom-level{min-width:46px;text-align:center;font-size:12.5px;font-variant-numeric:tabular-nums;color:var(--muted)}@media(pointer:coarse){.zoom-controls{flex-direction:column;border-radius:24px}.zoom-controls button{width:44px;height:44px;min-width:44px}.zoom-controls button.fit{width:44px;padding:0;font-size:12px}.zoom-level{min-width:44px;font-size:11px}}.canvas-wrap:focus{outline:none}.canvas-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.stage>.canvas-wrap{align-self:stretch;justify-self:stretch}.stage.with-banner{display:flex;flex-direction:column}.stage.with-banner .canvas-wrap{flex:1;min-height:0}.stage-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fff;border-bottom:1px solid var(--line);font-size:12.5px}.stage-banner button{width:auto;margin:0}.stage-banner .actions{display:flex;gap:8px;flex:none}.shell{height:100vh;display:flex;flex-direction:column;overflow:hidden}.page{flex:1;min-height:0;display:flex;flex-direction:column}.page-top{flex:none;background:var(--panel);border-bottom:1px solid var(--line);padding:10px 16px 8px}.progress{display:flex;gap:4px;margin-bottom:8px}.progress .seg{flex:1;min-width:12px;height:6px;margin:0;padding:0;border:0;border-radius:3px;background:#dcdcd6;cursor:pointer}.progress .seg.done{background:#1f7a4d}.progress .seg.in-progress{background:#c9a24a}.progress .seg.current{outline:2px solid var(--accent);outline-offset:1px}.page-top-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.page-top-row button,.page-nav button{width:auto;margin:0}.page-top-actions,.sheet-head-actions{display:flex;align-items:center;gap:12px}.undo-redo{display:inline-flex;gap:4px}.undo-redo button{width:38px;height:34px;margin:0;padding:0;display:inline-flex;align-items:center;justify-content:center}.undo-redo button svg{width:20px;height:20px}.undo-redo button:disabled{opacity:.35;cursor:default}.page-project{color:var(--muted);margin-right:8px}.page-body{flex:1;min-height:0;overflow:hidden}.page-body.three{display:grid;grid-template-columns:300px 1fr 360px}.page-body.two{display:grid;grid-template-columns:300px 1fr}.page-body.three>*,.page-body.two>*{min-height:0}.page-body.single{overflow-y:auto;padding:24px 16px 48px;background:var(--bg)}.single-inner{max-width:900px;margin:0 auto;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px 20px 20px}.page-nav{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:var(--panel);border-top:1px solid var(--line)}.page-nav .hint{margin:0}.sheet-screen{flex:1;min-height:0;display:grid;grid-template-columns:300px 1fr}.sheet-screen>*{min-height:0}.sheet-main{overflow-y:auto;padding:20px 24px 48px;background:var(--bg)}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.sheet-title{font-size:17px;font-weight:600;margin-bottom:2px}.sheet-head button{width:auto;margin:0}.page-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.page-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px;display:flex;flex-direction:column;gap:6px}.page-card[draggable=true]{cursor:grab}.page-card.drag-over{border:1px dashed var(--accent)}.page-card-open{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:3px;border-radius:6px}.page-card-open:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.page-thumb{display:block;width:100%;height:110px;border-radius:6px;background:#f1f1ee}.page-thumb.empty{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px}.page-card-title{font-weight:600;font-size:13px}.page-card-note{font-size:11.5px;color:var(--muted)}.page-status{font-size:11px;font-weight:600}.page-status.done{color:#1f7a4d}.page-status.in-progress{color:#8a6d1f}.page-status.not-started{color:var(--muted)}.page-card-actions{display:flex;gap:14px;border-top:1px solid var(--line);padding-top:6px}.page-card-actions{align-items:center}.page-card-actions .linkish{font-size:12px;margin-left:auto}.page-card-actions .move{width:auto;margin:0;padding:3px 8px;font-size:11.5px;border-radius:5px;color:var(--ink)}.page-card-actions .move:disabled{opacity:.3}@media(max-width:1100px){.page-body.three,.page-body.two,.sheet-screen{grid-template-columns:1fr;overflow-y:auto;align-content:start}.page-body.three>.stage,.page-body.two>.stage{min-height:60vh}.sheet-screen>.panel{border-right:none;border-bottom:1px solid var(--line);overflow:visible}.sheet-main{overflow:visible}.page-nav{flex-wrap:wrap}}.page-card.add{border-style:dashed;justify-content:center;min-height:180px}.add-btn{align-items:center;text-align:center}.add-btn .plus{font-size:28px;color:var(--muted);line-height:1}.add-room label{font-size:12px}.danger-link{color:#b3261e}.facing-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 6px}.facing-tools button:not(.linkish){width:auto;margin:0}.facing-dialog,.compass-sheet{width:min(440px,100%);max-height:92vh;overflow-y:auto}.facing-help h3{margin:0 0 10px}.facing-help ol{margin:10px 0 8px;padding-left:20px;font-size:13.5px;line-height:1.5}.facing-warning{margin:0;padding:8px 10px;border-radius:8px;font-size:13px;font-weight:600;color:#7a1f00;background:#fff1d6;border-left:3px solid #d98e04}.facing-illustration{display:block;width:100%;height:auto;--fh-bg: #f6f3ec;--fh-ink: #26241f;--fh-muted: #7a766c;--fh-wall: #3b3833;--fh-accent: #8c1d18;--fh-no: #c62828;--fh-body: #d8d2c4}@media(prefers-color-scheme:dark){.facing-illustration{--fh-bg: #1f1d1a;--fh-ink: #efeae0;--fh-muted: #a8a295;--fh-wall: #d8d2c4;--fh-accent: #ff8a7a;--fh-no: #ff6b6b;--fh-body: #4a463e}.facing-warning{color:#ffd9a0;background:#3a2a10;border-left-color:#f0a830}}.fh-bg{fill:var(--fh-bg)}.fh-label{fill:var(--fh-muted);font:600 12px ui-sans-serif,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase}.fh-wall{stroke:var(--fh-wall);stroke-width:7;stroke-linecap:round}.fh-door{stroke:var(--fh-wall);stroke-width:3;stroke-linecap:round}.fh-swing{fill:none;stroke:var(--fh-muted);stroke-width:1.5;stroke-dasharray:4 4}.fh-arrow{stroke:var(--fh-accent);stroke-width:4;stroke-linecap:round}.fh-arrowhead{fill:var(--fh-accent)}.fh-arrow-label{fill:var(--fh-accent);font:700 13px ui-sans-serif,system-ui,sans-serif}.fh-body{fill:var(--fh-body);stroke:var(--fh-ink);stroke-width:1.5}.fh-head{fill:var(--fh-bg);stroke:var(--fh-ink);stroke-width:1.5}.fh-phone{fill:var(--fh-ink)}.fh-wrong{opacity:.8}.fh-wrong-arrow{stroke:var(--fh-muted);stroke-width:2.5;stroke-linecap:round}.fh-wrong-head{fill:var(--fh-muted)}.fh-cross{stroke:var(--fh-no);stroke-width:4;stroke-linecap:round}.compass-tip{margin:0 0 12px;border:1px solid var(--line);border-radius:10px;padding:8px 12px}.compass-tip summary{cursor:pointer;font-size:13px;font-weight:600}.compass-tip[open] summary{margin-bottom:8px}.compass-tip .linkish{margin-top:8px}.compass-live{display:flex;flex-direction:column;align-items:center;gap:4px;margin:6px 0}.compass-dial{position:relative;width:132px;height:132px;border-radius:50%;border:3px solid var(--ink);background:radial-gradient(circle,#fff 58%,#f1eee7 59%)}.compass-dial:after{content:"";position:absolute;left:50%;top:-4px;width:0;height:0;transform:translate(-50%);border-left:7px solid transparent;border-right:7px solid transparent;border-top:12px solid var(--accent)}.compass-needle{position:absolute;top:0;right:0;bottom:0;left:0;transition:transform .12s linear}.compass-n{position:absolute;top:8px;left:50%;transform:translate(-50%);font-weight:800;color:var(--accent)}.compass-reading{font-size:30px;font-weight:700;margin:4px 0 0;font-variant-numeric:tabular-nums}.compass-reading span{font-size:15px;font-weight:500;color:var(--muted)}.compass-sheet .dialog-actions button.primary{min-width:96px}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;padding:16px;display:flex;align-items:center;justify-content:center;background:#14141273}.dialog{background:var(--panel);border-radius:12px;padding:18px 20px 16px;width:min(460px,100%);box-shadow:0 10px 40px #00000040}.dialog h3{font-size:16px;margin:0 0 8px}.dialog-body{font-size:13px;color:#3a3a36;line-height:1.5}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:16px}.dialog-actions button{width:auto;margin:0}button.danger{background:#b3261e;color:#fff;border-color:#b3261e}.edit-compare .was{color:var(--muted);text-decoration:line-through}.edit-compare .now{margin-top:8px}.review-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.review-row .quick{margin:0}.dialog.upgrade{width:min(560px,100%);max-height:90vh;overflow-y:auto}.upgrade-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:6px 0 12px}.upgrade-cols ul{margin:0;padding-left:18px;font-size:13px;line-height:1.6}.dialog.upgrade button.plan{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%;margin:0 0 8px;padding:10px 12px}.dialog.upgrade button.plan .hint{display:block;margin:2px 0 0}.legal-links{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin-top:12px;font-size:12px}.legal-links a{color:var(--muted);text-underline-offset:3px}.plan-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:12.5px}.plan-row .linkish{font-size:12px}fieldset.lockable{border:0;padding:0;margin:0;min-width:0}fieldset.lockable:disabled{opacity:.72}details.library summary{cursor:pointer;font-size:12.5px;margin:10px 0 8px}.project{display:flex;gap:8px;padding:6px;margin-bottom:6px;border:1px solid var(--line);border-radius:7px;background:#fcfcfb}.project.current{border-color:var(--accent)}.thumb{width:58px;height:44px;flex:none;object-fit:cover;border-radius:4px;background:#efefec}.project-info{display:flex;flex-direction:column;min-width:0;font-size:11.5px;gap:1px}.project-info strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px}.project-info span{color:var(--muted)}.project-info .tag{color:var(--accent)}.project-actions{display:flex;gap:10px;margin-top:2px}.project-actions .linkish{font-size:11.5px}.sheet{display:flex;width:100%;height:100%;min-height:0}.stage>.sheet{align-self:stretch;justify-self:stretch}.stage.with-banner .sheet{flex:1;height:auto}.sheet>.canvas-wrap{flex:1;min-width:0;position:relative}.missing-note{border-left:3px solid var(--accent);padding-left:8px}.missing-note strong{color:var(--accent)}.missing-note p{margin:0 0 6px}.missing-list{list-style:none;margin:0;padding:0}.missing-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 0}.missing-list li.set-aside span{color:var(--muted)}.missing-list .linkish{font-size:12px}.align-pill{position:absolute;bottom:10px;left:50%;transform:translate(-50%);z-index:2;pointer-events:none;display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 24px);padding:5px 6px 5px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);box-shadow:0 2px 10px #0000001f;font-size:12.5px}.align-pill.aligned{padding-right:14px}.align-pill .align-dot{width:9px;height:9px;border-radius:50%;flex:none;background:#1f7a4d}.align-pill.close .align-dot{background:#c9a24a}.align-pill.off .align-dot{background:#b3261e}.align-pill .align-hint{color:var(--muted)}.align-pill button{width:auto;margin:0;padding:4px 12px;border-radius:999px;font-size:12px;flex:none;pointer-events:auto}.tools{flex:none;width:188px;overflow-y:auto;background:var(--panel);border-left:1px solid var(--line);padding:12px 10px 40px}.tools h2{display:flex;align-items:center;gap:6px}.tools canvas{box-shadow:none}.pro-tag{font-size:9px;letter-spacing:.06em;color:#fff;background:var(--accent);border-radius:3px;padding:1px 5px}button.pro-locked{border-style:dashed;color:var(--muted)}button.pro-locked:not(.page-card-open){display:inline-flex;align-items:center;gap:8px;width:auto}button.pro-locked:hover:not(:disabled){color:var(--accent)}.tool-group{font-size:11px;color:var(--muted);margin:12px 0 4px}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.tool-grid button{width:auto;margin:0;padding:5px 2px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10.5px;line-height:1.15}.tool-selected{border:1px solid var(--accent);border-radius:7px;padding:8px;background:#fcfcfb;margin:8px 0;font-size:12px}.tool-selected .quick{margin:8px 0 0}.tools .remove-all{margin-top:14px;font-size:11px;color:var(--muted)}.field-title{font-size:12px;color:var(--muted);margin:10px 0 4px}.checks{display:flex;flex-wrap:wrap;gap:4px 14px;margin-bottom:6px}.checks .check{margin:0}.person-head .linkish{font-size:11.5px;color:var(--muted);margin-right:6px}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f1ea}.auth-card{width:100%;max-width:400px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:12px}.auth-brand{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--accent)}.auth-brand svg{width:34px;height:34px;flex:none}.auth-card h1{font-size:22px;margin:4px 0 0}.auth-card form{display:flex;flex-direction:column;gap:10px}.auth-card .legal-links{margin-top:4px}.auth-links{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.apple-btn{background:#000;color:#fff;border-color:#000;font-weight:600;padding:10px}.apple-btn:hover:not(:disabled){background:#222}.auth-or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.auth-or:before,.auth-or:after{content:"";flex:1;border-top:1px solid var(--line)}.account-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:13px}.account-row strong{word-break:break-all}.linkish.danger-link{color:#b3261e}.auth-card label{display:flex;flex-direction:column;gap:4px;font-size:13px}.auth-card input{width:100%;box-sizing:border-box;font-size:16px;padding:10px}.auth-card button.primary,.auth-card .apple-btn{width:100%;padding:11px;font-size:15px}.auth-card label.check{flex-direction:row;align-items:center;gap:8px}.auth-card label.check input{width:auto}.password-form{display:flex;flex-direction:column;gap:8px;margin-top:8px;font-size:13px}.password-form label{display:flex;flex-direction:column;gap:4px}.password-form label.check{flex-direction:row;align-items:center;gap:6px}.password-form label.check input{width:auto;margin:0}.password-form input[type=password],.password-form input[type=text]{width:100%;box-sizing:border-box}.password-form p{margin:0}.password-actions{display:flex;gap:8px;justify-content:flex-end}.password-actions button{width:auto;margin:0}.lock-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#f4f1eaf7}
