.tech-root .tt-screen{z-index:30;background:var(--t-bg);flex-direction:column;display:flex;position:fixed;inset:0}.tech-root .tt-head{padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:var(--t-nav);color:var(--t-nav-fg);align-items:center;gap:10px;display:flex}.tech-root .tt-head h2{text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-size:17px;font-weight:760;overflow:hidden}.tech-root .tt-scroll{-webkit-overflow-scrolling:touch;flex:1;width:100%;max-width:820px;margin:0 auto;padding:10px 12px 12px;overflow-y:auto}.tech-root .tt-bar{border-top:2px solid var(--t-line);background:var(--t-card);padding:8px 12px calc(8px + env(safe-area-inset-bottom));flex:none}.tech-root .tt-bar .tech-row{margin:4px 0}.tech-root .tt-calc{z-index:3;background:var(--t-card);border:1px solid var(--t-line);border-radius:10px;margin:0 0 10px;padding:8px 10px;position:sticky;top:-10px}.tech-root .tt-calc p{margin:2px 0 0;font-size:14px}.tech-root .tt-pills{flex-wrap:wrap;gap:6px;display:flex}.tech-root .tt-pill{border:1px solid var(--t-line);background:var(--t-bg);border-radius:99px;align-items:baseline;gap:5px;padding:5px 10px;font-size:13px;font-weight:700;display:inline-flex}.tech-root .tt-pill b{font-size:16px}.tech-root .tt-pill.ok{color:var(--t-ok);border-color:var(--t-ok);background:var(--t-ok-bg)}.tech-root .tt-pill.warn{color:var(--t-warn);border-color:var(--t-warn);background:var(--t-warn-bg)}.tech-root .tt-pill.bad{color:var(--t-bad);border-color:var(--t-bad);background:var(--t-bad-bg)}.tech-root .tt-grid{touch-action:pan-y;position:relative}.tech-root .tt-unit{position:absolute;left:0;right:0}.tech-root .tt-unit-head{align-items:center;gap:8px;min-height:50px;padding:0 2px 4px;display:flex}.tech-root .tt-swatch{border:2px solid var(--t-fg);border-radius:8px;flex:none;justify-content:center;align-items:center;gap:3px;width:34px;height:34px;font-size:12px;font-weight:800;display:inline-flex}.tech-root .tt-swatch i{background:currentColor;border-radius:1px;width:3px;height:14px;display:block}.tech-root .tt-unit-title{flex:1;min-width:0;font-size:15px;font-weight:760;line-height:1.2}.tech-root .tt-unit-title span{color:var(--t-muted);font-size:12px;font-weight:600;display:block}.tech-root .tt-cells{grid-template-columns:repeat(var(--cols,6),minmax(0,1fr));gap:6px;display:grid}.tech-root .tt-cell{border:2px solid var(--t-line);background:var(--t-card);min-width:0;height:54px;color:var(--t-fg);font:inherit;cursor:pointer;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;padding:0;line-height:1.05;display:flex;position:relative;overflow:hidden}.tech-root .tt-cell .tt-n{font-size:18px;font-weight:800}.tech-root .tt-cell .tt-s{letter-spacing:-.4px;-moz-text-size-adjust:none;text-size-adjust:none;text-overflow:clip;white-space:nowrap;max-width:100%;padding:0 2px;font-size:9px;font-weight:700;overflow:hidden}.tech-root .tt-cell .tt-band{justify-content:center;align-items:center;gap:4px;height:12px;display:flex;position:absolute;top:0;left:0;right:0}.tech-root .tt-cell .tt-band i{background:currentColor;border-radius:1px;width:4px;height:8px;display:block}.tech-root .tt-cell.has-band{padding-top:10px}.tech-root .tt-cell.sel{border-color:var(--t-accent);box-shadow:0 0 0 3px var(--t-accent)}.tech-root .tt-cell.sel:after{content:"✓";color:var(--t-accent);font-size:13px;font-weight:900;position:absolute;bottom:1px;right:3px}.tech-root .tt-cell.used{background:repeating-linear-gradient(135deg,var(--t-bg),var(--t-bg) 6px,var(--t-line) 6px,var(--t-line) 7px);color:var(--t-muted)}.tech-root .tt-cell.used .tt-band{opacity:.45}.tech-root .tt-cell.used .tt-n{font-weight:700}.tech-root .tt-cell.dashed{border-style:dashed}.tech-root .tt-cell .tt-dot{border:1px solid #0006;border-radius:50%;width:10px;height:10px;position:absolute;top:14px;right:3px}.tech-root .tt-cell:disabled{opacity:.5;cursor:not-allowed}.tech-root .tt-chips{flex-wrap:wrap;gap:8px;margin:6px 0;display:flex}.tech-root .tt-chip{border:2px solid var(--t-line);background:var(--t-card);min-height:48px;color:var(--t-fg);font:inherit;cursor:pointer;border-radius:99px;align-items:center;gap:7px;padding:0 14px;font-size:15px;font-weight:700;display:inline-flex}.tech-root .tt-chip[aria-pressed=true],.tech-root .tt-chip[aria-checked=true]{border-color:var(--t-accent);background:var(--t-accent);color:var(--t-accent-fg)}.tech-root .tt-chip.small{min-height:44px;padding:0 12px;font-size:14px}.tech-root .tt-item{border:1px solid var(--t-line);background:var(--t-card);border-radius:10px;margin:0 0 10px;padding:10px 12px}.tech-root .tt-item h4{margin:0 0 2px;font-size:16px}.tech-root .tt-tabs{gap:8px;margin:0 0 10px;display:flex}.tech-root .tt-tabs button{border:2px solid var(--t-line);background:var(--t-card);min-height:52px;color:var(--t-fg);font:inherit;cursor:pointer;border-radius:10px;flex:1;font-weight:760}.tech-root .tt-tabs button[aria-selected=true]{border-color:var(--t-accent);box-shadow:inset 0 -4px 0 var(--t-accent)}.tech-root .tt-sheet{z-index:40;background:var(--t-card);border-top:3px solid var(--t-accent);padding:12px 14px calc(14px + env(safe-area-inset-bottom));max-height:70vh;position:fixed;bottom:0;left:0;right:0;overflow-y:auto;box-shadow:0 -8px 24px #00000040}.tech-root .tt-sheet h3{margin:0 0 6px;font-size:16px}.tech-root .tt-check{align-items:center;gap:12px;min-height:52px;display:flex}.tech-root .tt-check input{flex:none;width:28px;height:28px}.tech-root .tt-reasons{border:2px solid var(--t-bad);background:var(--t-bad-bg);border-radius:8px;margin:6px 0;padding:8px 12px;font-size:14px}.tech-root .tt-reasons ul{margin:4px 0 0 18px;padding:0}.tech-root .tt-ok{border:2px solid var(--t-ok);background:var(--t-ok-bg);border-radius:8px;margin:6px 0;padding:8px 12px;font-size:14px;font-weight:700}.tech-root .tt-suggest{flex-wrap:wrap;gap:6px;margin:4px 0;display:flex}.tech-root .tt-suggest button{border:1px dashed var(--t-muted);background:var(--t-bg);min-height:44px;color:var(--t-fg);font:inherit;cursor:pointer;border-radius:99px;padding:0 12px;font-size:14px}.tref{margin:0}.tref-title{margin:4px 0 10px;font-size:20px;font-weight:760}.tref-search{margin:0 0 12px}.tref-quick{flex-wrap:wrap;gap:8px;margin:0 0 12px;display:flex}.tref-quick .tech-btn{flex:140px}.tref-sections{gap:8px;margin:0 0 12px;padding:0;list-style:none;display:grid}.tref-sectionbtn{border:1px solid var(--t-line);background:var(--t-card);width:100%;min-height:60px;color:var(--t-fg);text-align:left;font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:12px;padding:10px 14px;display:flex}.tref-code{letter-spacing:.05em;text-transform:uppercase;min-width:84px;color:var(--t-muted);flex:none;font-size:12px;font-weight:760}.tref-sectiontitle{flex:1;font-weight:700}.tref-snippet{color:var(--t-muted);margin-top:2px;font-size:14px;font-weight:400;display:block}.tref-back{margin:0 0 10px}.tref-sec-head{margin:0 0 4px}.tref-sec-head h2{margin:2px 0 8px;font-size:20px}.tref-h{margin:18px 0 6px;font-size:16px;font-weight:760}.tref-p{margin:0 0 10px}.tref-p.gray{color:var(--t-muted);font-size:14px}.tref-p.strong{font-weight:700}.tref-list{margin:0 0 12px;padding-left:22px}.tref-list li{margin:3px 0}.tref-check{padding-left:0;list-style:none}.tref-check li{margin:6px 0;padding-left:28px;position:relative}.tref-check li:before{content:"";border:2px solid var(--t-fg);border-radius:3px;width:16px;height:16px;position:absolute;top:4px;left:2px}.tref-steps{counter-reset:step;gap:8px;margin:0 0 12px;padding:0;list-style:none;display:grid}.tref-steps li{counter-increment:step;min-height:30px;padding-left:40px;position:relative}.tref-steps li:before{content:counter(step);background:var(--t-fg);width:28px;height:28px;color:var(--t-bg);border-radius:50%;place-items:center;font-size:14px;font-weight:760;display:grid;position:absolute;top:0;left:0}.tref-steps b{letter-spacing:.05em;font-size:13px;display:block}.tref-table{min-width:100%}.tref-table th{letter-spacing:.04em;text-transform:uppercase;color:var(--t-muted);white-space:nowrap;font-size:12px}.tref-table td.tref-num,.tref-table th.tref-num{text-align:center}.tref-swatch{border:1.5px solid var(--t-fg);vertical-align:-4px;border-radius:50%;flex:none;width:18px;height:18px;margin-right:6px;display:inline-block}.tref-strong{font-weight:700}.tref-tiles{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;margin:0 0 12px;display:grid}.tref-tile{border:1px solid var(--t-line);background:var(--t-card);border-radius:10px;padding:10px 12px}.tref-tile b{font-size:17px;display:block}.tref-tile span{color:var(--t-muted);font-size:14px;display:block}.tref-mono{background:var(--t-card);border:1px solid var(--t-line);white-space:pre;border-radius:8px;margin:0 0 12px;padding:10px 12px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;overflow-x:auto}.tref-defs{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px;margin:0 0 12px;display:grid}.tref-defs>div{border:1px solid var(--t-line);background:var(--t-card);border-radius:10px;padding:10px 12px}.tref-defs dt{letter-spacing:.05em;text-transform:uppercase;margin:0 0 3px;font-size:13px;font-weight:760}.tref-defs dd{margin:0;font-size:15px}.tref-trace{border:1px solid var(--t-line);background:var(--t-card);border-radius:10px;margin:0 0 14px;overflow:hidden}.tref-trace-btn{cursor:zoom-in;background:#fff;border:0;width:100%;padding:0;display:block}.tref-trace-btn img{width:100%;height:auto;display:block}.tref-trace figcaption{padding:10px 12px;font-size:15px}.tref-trace figcaption b{letter-spacing:.05em;margin-bottom:4px;font-size:13px;display:block}.tref-svg{max-width:100%;height:auto;color:var(--t-fg);display:block}.tref-figrow{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin:0 0 12px;display:grid}.tref-fig{border:1px solid var(--t-line);background:var(--t-card);text-align:center;border-radius:10px;padding:8px}.tref-fig b{letter-spacing:.04em;margin-top:4px;font-size:13px;display:block}.tref-fig span{color:var(--t-muted);text-align:left;margin-top:2px;font-size:13px;display:block}.tref-matrix th:first-child,.tref-matrix td:first-child{background:var(--t-card);z-index:1;white-space:nowrap;position:sticky;left:0}.tref-matrix td{text-align:center;white-space:nowrap;font-size:13px}.tref-matrix td b{font-size:15px;display:block}.tref-matrix td span{color:var(--t-muted);font-size:12px}.tref-matrix .tref-split{border-left:3px solid var(--t-fg)}.tref-calc{border:1px solid var(--t-line);background:var(--t-card);border-radius:10px;margin:0 0 12px;padding:12px}.tref-fields{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:0 10px;display:grid}.tref-result{border:1px solid var(--t-ok);background:var(--t-ok-bg);border-radius:8px;margin:10px 0 0;padding:10px 12px}.tref-result.bad{border-color:var(--t-bad);background:var(--t-bad-bg)}.tref-result .big{font-size:26px;font-weight:800}.tref-foot{border-top:1px solid var(--t-line);margin:18px 0 0;padding-top:10px;font-size:14px}.tref-foot p{margin:0 0 6px}.tref-pager{gap:8px;margin:14px 0 0;display:flex}.tref-pager .tech-btn{flex:1}.tref-source{margin:12px 0 0}.tref-zoom{z-index:50;background:var(--t-bg);color:var(--t-fg);flex-direction:column;display:flex;position:fixed;inset:0}.tref-zoom-bar{padding:calc(8px + env(safe-area-inset-top)) 10px 8px;border-bottom:1px solid var(--t-line);align-items:center;gap:8px;display:flex}.tref-zoom-bar .grow{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;font-weight:700;overflow:hidden}.tref-zoom-pane{touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch;background:#fff;flex:1;overflow:auto}.tref-zoom-pane img{max-width:none;height:auto;display:block}.tref-zoom-cap{padding:8px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--t-line);max-height:32vh;font-size:14px;overflow:auto}.tools-tabs{gap:8px;margin:0 0 12px;display:flex}.tools-tabs button{border:1px solid var(--t-line);background:var(--t-card);min-height:52px;color:var(--t-fg);cursor:pointer;border-radius:9px;flex:1;font-size:15px;font-weight:760}.tools-tabs button[aria-selected=true]{background:var(--t-accent);border-color:var(--t-accent);color:var(--t-accent-fg)}.tools-grid2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.tools-seg{gap:8px;margin:8px 0 4px;display:flex}.tools-seg button{border:1px solid var(--t-line);background:var(--t-card);min-height:48px;color:var(--t-fg);cursor:pointer;border-radius:9px;flex:1;font-weight:700}.tools-seg button[aria-pressed=true]{border:2px solid var(--t-accent)}.tools-bignum{letter-spacing:.01em;text-align:center;font-size:28px;font-weight:800}.tools-swatches{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.tools-swatch{border:2px solid var(--t-line);cursor:pointer;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;min-height:56px;font-size:13px;font-weight:800;line-height:1.15;display:flex}.tools-swatch[aria-pressed=true]{outline:4px solid var(--t-focus);outline-offset:1px;border-color:var(--t-fg)}.tools-swatch small{opacity:.85;font-size:11px;font-weight:700}.tools-result{border-left:6px solid var(--t-accent)}.tools-part{align-items:center;gap:12px;margin:10px 0;display:flex}.tools-dot{border:2px solid var(--t-fg);border-radius:50%;flex:none;width:44px;height:44px}.tools-dot.marked{background-image:repeating-linear-gradient(90deg,#0000 0 9px,#000000a6 9px 13px)}.tools-part b{font-size:18px}.tools-big{margin:4px 0;font-size:17px;font-weight:700}.tools-file{border:2px dashed var(--t-line);background:var(--t-card);width:100%;min-height:52px;color:var(--t-fg);border-radius:9px;padding:12px;display:block}.tools-events td:first-child{min-width:150px}
