:root{color:#18201d;font-synthesis:none;text-rendering:optimizelegibility;--ink:#18201d;--muted:#66706a;--forest:#173a31;--forest-deep:#0f2923;--gold:#b98b35;--cream:#fbfaf6;--line:#d7dcd7;--danger:#9d2e2e;--focus:#1967d2;background:#eef1ed;font-family:Microsoft YaHei UI,PingFang SC,system-ui,sans-serif}*{box-sizing:border-box}html{background:#eef1ed;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.topbar :focus-visible,.sidebar :focus-visible{outline-color:#ffe09a;box-shadow:0 0 0 2px #0a1e19,0 0 0 5px #ffe09a}.skip-link{z-index:100;color:#fff;background:#0a4d8c;border-radius:.4rem;padding:.7rem 1rem;position:fixed;top:.75rem;left:.75rem;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}.topbar{color:#fff;background:var(--forest-deep);border-bottom:3px solid var(--gold);justify-content:space-between;align-items:center;gap:1rem;min-height:76px;padding:.85rem clamp(1rem,3vw,2.5rem);display:flex}.brand{align-items:center;gap:.8rem;text-decoration:none;display:flex}.brand-mark{color:#f4d18a;border:1px solid #d6b56f;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-family:Georgia,serif;font-weight:700;display:grid}.brand strong,.brand small{display:block}.brand strong{letter-spacing:.08em}.brand small{color:#cbd8d2;margin-top:.15rem}.build-identity{flex-wrap:wrap;justify-content:flex-end;gap:.65rem;display:flex}.build-identity span{color:#e8eee9;border:1px solid #547168;border-radius:999px;padding:.35rem .6rem;font-size:.82rem}.auth-page{background:linear-gradient(120deg,#173a3114,#0000 45%),repeating-linear-gradient(90deg,#0000 0 47px,#173a3106 48px);place-items:center;min-height:calc(100vh - 76px);padding:2rem 1rem;display:grid}.auth-card{background:var(--cream);border:1px solid var(--line);border-top:5px solid var(--gold);border-radius:.3rem;width:min(100%,480px);padding:clamp(1.5rem,4vw,2.5rem);box-shadow:0 18px 50px #152c2521}.auth-card h1,.content h1{margin:.35rem 0 .8rem;font-family:Georgia,Songti SC,serif}.eyebrow{color:#7c5c21;letter-spacing:.14em;margin:0;font-size:.77rem;font-weight:700}.lede{color:var(--muted);line-height:1.75}.auth-card form{gap:.55rem;margin-top:1.5rem;display:grid}.auth-card label{margin-top:.6rem;font-weight:700}.factor-choice{border:1px solid var(--line);flex-wrap:wrap;gap:.6rem 1.2rem;margin:.3rem 0 .5rem;padding:.75rem;display:flex}.factor-choice legend{padding:0 .35rem;font-weight:700}.factor-choice label{align-items:center;gap:.45rem;margin:0;display:inline-flex}.factor-choice input{width:auto;min-height:auto}.auth-card input{background:#fff;border:1px solid #7f8d85;border-radius:.25rem;width:100%;min-height:46px;padding:.7rem .8rem}.button-primary,.button-secondary,.button-quiet{cursor:pointer;border-radius:.25rem;min-height:42px}.button-primary{border:1px solid var(--forest);color:#fff;background:var(--forest);margin-top:1rem;padding:.75rem 1rem;font-weight:700}.button-primary:hover{background:#205346}button:disabled{cursor:not-allowed;opacity:.58}.security-note{border-top:1px solid var(--line);color:var(--muted);margin:1.25rem 0 0;padding-top:1rem;font-size:.86rem;line-height:1.6}.error-banner{color:#6f1616;border-left:4px solid var(--danger);background:#fff0ed;padding:.75rem .9rem}.private-layout{grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 76px);display:grid}.sidebar{color:#ecf1ee;background:var(--forest);padding:1.25rem .8rem 2rem}.operator-card{border-bottom:1px solid #45645b;gap:.28rem;margin:0 .55rem 1.25rem;padding:.9rem 0;display:grid}.operator-card .eyebrow{color:#d3b06d}.operator-card span:last-child{color:#b8c9c3;font-size:.8rem}.operator-card label{color:#dce7e2;margin-top:.55rem;font-size:.78rem;font-weight:700}.operator-card select{color:#17241f;background:#fff;border:1px solid #9cb2aa;width:100%;min-height:42px;padding:.45rem}.menu-list{gap:.15rem;margin:0;padding:0;list-style:none;display:grid}.menu-list a{color:#dce7e2;border-left:3px solid #0000;align-items:center;gap:.6rem;min-height:42px;padding:.55rem .65rem;text-decoration:none;display:flex}.menu-list a:hover{background:#ffffff12}.menu-list a[aria-current=page]{color:#fff;background:#ffffff1a;border-left-color:#e0b85f}.menu-index{color:#c5d7d0;font-family:ui-monospace,monospace;font-size:.7rem}.workspace{background:#f2f4f1;min-width:0}.workspace-toolbar{border-bottom:1px solid var(--line);min-height:58px;color:var(--muted);background:#fff;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;padding:.65rem clamp(1rem,3vw,2.5rem);font-size:.82rem;display:flex}.security-state{color:#206046;margin-right:auto;font-weight:700}.security-state--stale{color:#7d4c00}.button-secondary,.button-quiet{color:var(--ink);background:#fff;border:1px solid #65766f;padding:.45rem .8rem}.button-quiet{border-color:#0000;text-decoration:underline}.content{max-width:1050px;margin:0 auto;padding:clamp(2rem,5vw,4rem)}.content h1{color:var(--forest-deep);font-size:clamp(2rem,5vw,3.7rem)}.tenant-context{color:var(--forest-deep);overflow-wrap:anywhere;background:#e7ece8;border:1px solid #bac7c0;margin:.25rem 0 0;padding:.35rem .55rem;font-family:ui-monospace,monospace;font-size:.78rem;display:inline-block}.boundary-card{border:1px solid var(--line);border-left:5px solid var(--gold);background:#fff;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2rem;margin-top:2.5rem;padding:1.5rem;display:grid}.boundary-card h2{margin-top:0}.boundary-card p{color:var(--muted);line-height:1.7}.mask-sample{text-align:center;background:#eef2ef;gap:.45rem;min-width:150px;padding:1rem;display:grid}.mask-sample>span:first-child{color:var(--muted);font-size:.75rem}.masked-value{color:var(--forest);letter-spacing:.2em;font-family:ui-monospace,monospace;font-size:1.25rem}.denied-panel{border-left:5px solid var(--danger);background:#fff;padding:2rem}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.feature-page{gap:1rem;display:grid}.feature-page h2{color:var(--forest-deep);margin:0;font-family:Georgia,Songti SC,serif;font-size:clamp(1.55rem,3vw,2.35rem)}.feature-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.integrity-badge{color:#1e5d44;background:#e8f3ed;border:1px solid #8eb8a4;padding:.4rem .65rem;font-weight:700}.success-banner{color:#164f38;background:#e7f5ec;border-left:4px solid #287a55;padding:.75rem .9rem}.table-scroll{border:1px solid var(--line);background:#fff;max-width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:680px}.data-table th,.data-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:.75rem}.data-table th{color:#fff;background:var(--forest)}.data-table tbody tr:last-child td{border-bottom:0}.editor-panel,.result-panel{border:1px solid var(--line);border-left:5px solid var(--gold);background:#fff;padding:1.25rem}.editor-panel h3,.result-panel h3{margin-top:0}.editor-panel fieldset{border:1px solid var(--line);flex-wrap:wrap;gap:.7rem 1.2rem;padding:1rem;display:flex}.check-option{align-items:center;gap:.4rem;min-height:42px;display:inline-flex}.action-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.inline-form{border:1px solid var(--line);background:#fff;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:.65rem;padding:1rem;display:grid}.inline-form label{grid-column:1/-1;font-weight:700}.inline-form input,.inline-form select,.editor-panel input,.editor-panel select,.editor-panel textarea{background:#fff;border:1px solid #7f8d85;min-height:44px;padding:.65rem .75rem}.inline-form .button-primary,.editor-panel .button-primary{margin-top:0}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.result-grid div{background:#f3f5f2;padding:.75rem}.result-grid dt{color:var(--muted);font-size:.78rem}.result-grid dd{overflow-wrap:anywhere;margin:.25rem 0 0;font-weight:700}.route-search-form{border:1px solid var(--line);background:#fff;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:.75rem;padding:1rem;display:grid}.route-search-form label{margin-bottom:.35rem;font-weight:700;display:block}.route-search-form input{background:#fff;border:1px solid #7f8d85;width:100%;min-height:44px;padding:.65rem .75rem}.route-search-form .button-primary{white-space:nowrap;margin-top:0}.search-hint{color:var(--muted);margin:-.35rem 0 0;font-size:.84rem}.route-result{gap:1rem;display:grid}.route-outcome{border:1px solid var(--line);background:#fff;border-left:6px solid #287a55;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:1rem;padding:1.1rem 1.25rem;display:grid}.route-outcome--danger{border-left-color:var(--danger);background:#fff7f4}.route-outcome--pass{background:#f3fbf6}.route-outcome strong{color:var(--forest-deep);margin-top:.25rem;font-size:2.8rem;line-height:1;display:block}.route-outcome--danger strong{color:#9a2525}.route-outcome-label{color:var(--muted);margin-bottom:.25rem;font-size:.8rem;display:block}.route-outcome b{font-size:1.05rem;line-height:1.6}.route-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.route-panel{border:1px solid var(--line);background:#fff;padding:1.25rem}.route-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.route-panel-heading h3{color:var(--forest-deep);margin:0}.route-panel-heading p{color:var(--muted);margin:.35rem 0 0;font-size:.85rem}.route-hit-count{color:#1e5d44;background:#e8f3ed;border:1px solid #8eb8a4;padding:.35rem .55rem;font-weight:700}.route-detail-lock{color:#60491d;background:#fff8df;border:1px solid #e1c878;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-top:1rem;padding:.8rem .9rem;display:flex}.route-detail-lock p{color:#77633b;margin:.25rem 0 0;font-size:.84rem;line-height:1.5}.route-unlock-form{flex-wrap:wrap;align-items:end;gap:.5rem;display:flex}.route-unlock-form label{gap:.25rem;font-size:.78rem;font-weight:700;display:grid}.route-unlock-form input{background:#fff;border:1px solid #9e8952;min-height:38px;padding:.45rem .6rem}.route-unlock-form .button-secondary{min-height:38px}.route-unlocked-badge{color:#1e5d44;background:#e8f3ed;border:1px solid #8eb8a4;padding:.35rem .55rem;font-size:.8rem;font-weight:700}.route-detail-button{color:#1e5d44;min-height:auto;padding:0;font-size:.8rem;display:inline-block}.route-statistics-panel{background:#fff;border:1px solid #d9dedb;margin-top:1.5rem;padding:1rem}.route-statistics-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.route-statistics-heading h3{margin:.15rem 0 .3rem}.route-statistics-heading p{color:#60706a;margin:0}.route-statistics-filters{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.route-statistics-filters label{color:#39544b;font-size:.85rem}.route-statistics-filters input,.route-statistics-filters select{color:#183a31;background:#fff;border:1px solid #8ca097;min-height:2.2rem;padding:.3rem .5rem}.route-statistics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:1rem 0 0;display:grid}.route-statistics-grid>div{background:#f5f7f5;border-left:3px solid #bd8b2e;padding:.8rem}.route-statistics-grid dt{color:#60706a;font-size:.8rem}.route-statistics-grid dd{color:#123d31;margin:.25rem 0 0;font-size:1.55rem;font-weight:700}.route-statistics-grid small{color:#4b6b5d}.route-statistics-footnote{color:#6b7772;margin:.8rem 0 0;font-size:.78rem}.route-timeline{gap:.7rem;margin:1.15rem 0 0;padding:0;list-style:none;display:grid}.route-step{border:1px solid var(--line);background:#f8faf8;border-left:4px solid #bac7c0;grid-template-columns:2.1rem minmax(0,1fr);gap:.75rem;padding:.8rem;display:grid}.route-step--matched{background:#f1faf4;border-left-color:#287a55}.route-step-order{width:2rem;height:2rem;color:var(--muted);background:#e7ece8;place-items:center;font-family:ui-monospace,monospace;font-size:.78rem;font-weight:700;display:grid}.route-step--matched .route-step-order{color:#fff;background:#287a55}.route-step-body{min-width:0}.saved-record-list .route-step{grid-template-columns:minmax(0,1fr)}.saved-record-list button{min-width:9rem}.route-step-title{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.route-step-title code{color:var(--muted);overflow-wrap:anywhere;background:#e9eeeb;padding:.12rem .35rem;font-size:.75rem}.route-step-body p{color:var(--muted);margin:.35rem 0;line-height:1.55}.route-step-body small{color:var(--ink);line-height:1.5}.rule-status{color:#66756e;margin-left:auto;font-size:.78rem;font-weight:700}.rule-status--matched{color:#1c714b}.route-warning{color:#714b13;border-left:4px solid var(--gold);background:#fff8df;align-items:flex-start;gap:.65rem;padding:.8rem .9rem;line-height:1.55;display:flex}@media (width<=800px){.topbar{flex-direction:column;align-items:flex-start}.build-identity{justify-content:flex-start}.private-layout{grid-template-columns:1fr}.sidebar{padding-bottom:.75rem}.operator-card{margin-bottom:.6rem}.menu-list{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-toolbar{justify-content:flex-start}.security-state{width:100%}.boundary-card,.inline-form,.result-grid,.route-search-form,.route-outcome{grid-template-columns:1fr}.route-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.route-detail-lock{flex-direction:column;align-items:stretch}.route-statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.route-statistics-filters{width:100%}}@media (width<=480px){.menu-list{grid-template-columns:1fr}.content{padding:1.5rem 1rem}.route-summary-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:no-preference){.skip-link,.menu-list a,button{transition:all .14s}}@media (forced-colors:active){:focus-visible{outline:3px solid highlight}.topbar :focus-visible,.sidebar :focus-visible{box-shadow:none}.topbar,.sidebar{color:canvastext;background:canvas}.brand-mark,.brand small,.build-identity span,.operator-card .eyebrow,.operator-card span:last-child,.operator-card label,.menu-list a,.menu-index{color:canvastext}.topbar,.sidebar,.auth-card,.boundary-card,.denied-panel{border:1px solid canvastext}.menu-list a[aria-current=page]{border:3px solid highlight}.error-banner,.security-state,.security-state--stale{color:canvastext}}
