.bell{display:flex;position:relative}.bell-btn{position:relative}.bell-badge{background:var(--gold);min-width:16px;height:16px;color:var(--gold-ink);font:700 10px/16px var(--ui);text-align:center;font-variant-numeric:tabular-nums;border-radius:8px;padding:0 4px;position:absolute;top:-3px;right:-5px}.bell-panel{z-index:60;border:1px solid var(--rule);border-radius:var(--radius-m);background:var(--surface);width:min(380px,100vw - 16px);max-height:min(72vh,620px);color:var(--ink);box-shadow:var(--shadow-pop);--focus:var(--indigo);position:absolute;top:calc(100% + 8px);right:0;overflow:auto}.bell-part{padding:14px 16px 12px}.bell-part+.bell-part{border-top:1px solid var(--rule)}.bell-since{color:var(--soft);font:500 var(--t-sm)/1.3 var(--ui);margin:0 0 2px}.bell-part h2{font:var(--display-weight) var(--t-xl)/1.15 var(--display);letter-spacing:var(--display-tracking);margin:0}.bell-part h3{font:600 var(--t-sm)/1.3 var(--ui);color:var(--soft);margin:0 0 6px}.bell-sub{color:var(--soft);font-size:var(--t-sm);margin:3px 0 0}.bell-groups,.bell-notes{gap:1px;margin:10px 0 0;padding:0;list-style:none;display:grid}.bell-groups a{border-radius:var(--radius-s);color:inherit;font-size:var(--t-md);align-items:baseline;gap:8px;margin:0 -8px;padding:5px 8px;text-decoration:none;display:flex}.bell-groups a:hover{background:var(--wash)}.bell-groups a span{flex:1;min-width:0}.bell-groups b{font:600 var(--t-sm)/1 var(--ui);font-variant-numeric:tabular-nums;color:var(--soft)}.bell-more{color:var(--soft);font-size:var(--t-sm);padding:3px 0 0 16px}.bell-dot{background:var(--faint);border-radius:50%;flex:none;width:8px;height:8px;display:inline-block;transform:translateY(-1px)}.error>a .bell-dot,.error>.bell-dot,.rf.error .rf-toggle .bell-dot{background:var(--madder)}.warning>a .bell-dot,.warning>.bell-dot,.rf.warning .rf-toggle .bell-dot{background:var(--ochre)}.info>a .bell-dot,.info>.bell-dot{background:var(--indigo)}.dup>a .bell-dot{background:var(--petrol)}.bell-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.bell-foot{color:var(--faint);font-size:var(--t-xs);margin:8px 0 0}.bell-notes li{font-size:var(--t-sm);gap:1px;padding:6px 0;display:grid}.bell-notes li+li{border-top:1px solid var(--rule)}.bell-notes a{color:inherit;text-decoration:none}.bell-notes a:hover{text-underline-offset:2px;text-decoration:underline}.bell-notes .unread>:first-child{font-weight:600}.bell-notes small{color:var(--faint);font-size:var(--t-xs)}.qs{border:1px solid var(--card-edge);border-radius:var(--radius-m);background:var(--surface);margin:0 0 16px;padding:14px 16px}.qs h2{font:600 var(--t-sm)/1.3 var(--ui);color:var(--soft);margin:0 0 8px}.qs-row{flex-wrap:wrap;align-items:flex-end;gap:22px;display:flex}.qs-num{color:inherit;text-decoration:none;display:grid}.qs-num b{font:var(--display-weight) var(--t-3xl)/1 var(--display);font-variant-numeric:tabular-nums}.qs-num span{color:var(--soft);font-size:var(--t-sm)}.qs-num:hover span{text-underline-offset:2px;text-decoration:underline}.qs-side{color:var(--soft);justify-items:end;gap:2px;margin-left:auto;display:grid}.qs-delta{font-size:var(--t-xs)}.qs-delta.down{color:var(--petrol)}.qs-delta.up{color:var(--ochre)}.qs-clear{margin:0}.qs-foot{color:var(--soft);font-size:var(--t-sm);flex-wrap:wrap;gap:14px;margin:10px 0 0;display:flex}.qs-foot a{margin-left:auto}.rf{font-size:var(--t-sm);margin:8px 0 0}.rf-toggle{color:var(--soft);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:2px 0;display:inline-flex}.rf-toggle:hover{color:var(--ink);text-underline-offset:2px;text-decoration:underline}.rf-list{gap:2px;margin:2px 0 0;padding:0;list-style:none;display:grid}.rf-list li{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.rf-list li>a{color:inherit;text-decoration:none}.rf-list li>a:hover{text-underline-offset:2px;text-decoration:underline}.rf-changed{background:color-mix(in srgb, var(--ochre) 18%, transparent);font-size:var(--t-xs);border-radius:9px;padding:0 6px}.rf-with{color:var(--soft)}.fd-accept{gap:10px;display:grid}.fd-accept p{margin:0}.fd-quote{border-left:3px solid var(--ochre);background:var(--wash);border-radius:0 var(--radius-s) var(--radius-s) 0;padding:8px 12px}.fd-note{gap:4px;display:grid}.fd-note span{font:var(--label-weight) var(--t-sm)/1.3 var(--ui);color:var(--soft)}.fd-bar{font-size:var(--t-sm);color:var(--soft);flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 8px;display:flex}.fd-bar .grow{margin-left:auto}.fd-table tr.cur td{background:color-mix(in srgb, var(--indigo) 9%, transparent)}.fd-table tr.cur td:first-child{box-shadow:inset 3px 0 0 var(--indigo)}.fd-table td{vertical-align:top}.fd-table .ck-rec{width:30%}.ck .ck-list,.ck .ck-groups{min-width:0}.fd-msg small{color:var(--soft);margin-top:2px;display:block}.fd-new{background:var(--gold);color:var(--gold-ink);font:600 var(--t-xs)/1.5 var(--ui);border-radius:9px;margin-left:8px;padding:0 6px}.fd-acts{white-space:nowrap;justify-content:flex-end;gap:12px;display:flex}.fd-keys{color:var(--faint);font-size:var(--t-xs);margin:10px 0 0}.fd-dec{gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.fd-dec>li{border:1px solid var(--card-edge);border-radius:var(--radius-m);background:var(--surface);grid-template-columns:150px minmax(0,1fr) auto;align-items:start;gap:4px 16px;padding:10px 14px;display:grid}.fd-dec .kind{font:600 var(--t-sm)/1.4 var(--ui)}.fd-dec .what a{color:inherit;font-weight:500;text-decoration:none}.fd-dec .what a:hover{text-underline-offset:2px;text-decoration:underline}.fd-dec .what p{color:var(--soft);font-size:var(--t-sm);margin:2px 0 0}.fd-dec .what .note{color:var(--ink)}.fd-dec .who{color:var(--faint);font-size:var(--t-xs);grid-column:2}.fd-dec .stale{background:color-mix(in srgb, var(--ochre) 18%, transparent);font-size:var(--t-xs);border-radius:9px;margin-left:8px;padding:0 6px;font-weight:400}.fd-rules{margin-top:12px}.fd-rules th.num,.fd-rules td.num{text-align:right;font-variant-numeric:tabular-nums;width:70px}.fd-rules td.level{width:190px}.fd-rules tr.group th{font:600 var(--t-sm)/1.3 var(--ui);color:var(--soft);text-align:left;border-bottom:1px solid var(--rule);padding-top:16px}.fd-rules tr.off td:first-child{color:var(--soft)}.fd-rules small{color:var(--faint);margin-left:8px}.fd-dupscore{font-size:var(--t-sm);align-items:center;gap:10px;margin:18px 0 0;display:flex}.fd-dupscore .select,.fd-dupscore select{flex:none;width:160px}.ck>.muted{margin:14px 0 10px}.dup-acts{justify-items:stretch;gap:6px;display:grid}@media (width<=720px){.bell-panel{top:calc(var(--top-h) + 4px);width:auto;position:fixed;left:8px;right:8px}.fd-dec>li{grid-template-columns:1fr}.fd-dec .who{grid-column:1}.fd-acts{flex-wrap:wrap;justify-content:flex-start;gap:4px 18px}.ck .fd-table thead{display:none}.ck .fd-table,.ck .fd-table tbody{display:block}.ck .fd-table tr{padding:8px 12px;display:block}.ck .fd-table tr+tr{border-top:1px solid var(--rule)}.ck .fd-table td,.ck .fd-table .ck-rec{border:0;width:auto;height:auto;min-height:0;padding:2px 0;display:block;box-shadow:none!important;background:0 0!important}.ck .fd-table tr{height:auto}.ck .fd-table tr.cur{background:color-mix(in srgb, var(--indigo) 9%, transparent);box-shadow:inset 3px 0 0 var(--indigo)}.ck .fd-table .actions{text-align:left}.fd-bar .grow{margin-left:0}.fd-rules td.level{width:120px}}.ref-scope{display:contents}.ref-scope .page.wide{max-width:1320px}.ref-scope .small{font-size:var(--t-sm)}.ref-scope .stack{align-content:start;gap:14px;display:grid}.ref-scope .row.tight{flex-wrap:nowrap;gap:6px}.ref-scope .row.tight .select{width:auto}.ref-scope .backlink{font:500 var(--t-sm)/1.2 var(--tight);color:var(--soft);margin-bottom:2px;display:inline-block}.ref-scope .backlink:before{content:"‹ "}.ref-scope .toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.ref-scope .toolbar .tabs{margin:0}.ref-scope .input.filter{width:260px;max-width:100%}.ref-scope .bulkbar{gap:8px;margin-bottom:8px;display:flex}.ref-scope .table.dense td{height:28px;padding:2px 12px}.ref-scope .table td.check,.ref-scope .table th.check{width:34px;padding-right:0}.ref-scope .th-sort{font:inherit;color:inherit;background:0 0;border:0;padding:0}.ref-scope .th-sort:hover,.ref-scope th[aria-sort] .th-sort{color:var(--ink)}.ref-scope th[aria-sort] .th-sort:after{content:" ↓";color:var(--indigo)}.ref-scope .table .strong{color:var(--ink);text-decoration:none}.ref-scope .table a.strong:hover,.ref-scope .table button.strong:hover{color:var(--indigo);text-decoration:underline}.ref-scope .recref{align-items:baseline;gap:8px;min-width:0;display:inline-flex}.ref-scope .recmeta{font-size:var(--t-sm);color:var(--soft);font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:8px}.ref-scope .recref .recmeta{margin-left:0}.ref-scope .panel{border:1px solid var(--rule);border-radius:var(--radius-m);background:var(--surface);min-width:0;padding:14px 16px 16px}.ref-scope .panel.flush{padding:4px 0}.ref-scope .panel.quiet{background:0 0;border-style:dashed}.ref-scope .panel-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.ref-scope .panel-head h2{font-size:var(--t-lg)}.ref-scope .panel>.row{margin-top:10px}.ref-scope .sub{font:500 var(--t-md)/1.2 var(--tight);color:var(--soft);margin:14px 0 6px}.ref-scope .count-pill{background:var(--wash);min-width:26px;font:500 var(--t-sm)/1.3 var(--tight);text-align:center;font-variant-numeric:tabular-nums;border-radius:11px;padding:2px 8px}.ref-scope .count-pill.zero{color:var(--faint)}.ref-scope .cols{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);align-items:start;gap:14px;display:grid}.ref-scope .cols.even{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-scope .cells{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 14px;display:grid}.ref-scope .cells.one{grid-template-columns:1fr}.ref-scope .cell{align-content:start;gap:3px;min-width:0;display:grid}.ref-scope .cell.wide{grid-column:1/-1}.ref-scope .cell-label{font:500 var(--t-sm)/1.2 var(--tight);color:var(--soft)}.ref-scope .cell-value{overflow-wrap:anywhere;min-height:22px}.ref-scope .input.area{resize:vertical;height:auto;padding:8px 10px;line-height:1.45}.ref-scope .input.inline{width:190px;margin-left:10px}.ref-scope .prose{white-space:pre-wrap;overflow-wrap:anywhere}.ref-scope .checkline{font-size:var(--t-sm);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.ref-scope .note{border-radius:var(--radius-s);background:var(--wash);font-size:var(--t-sm);margin-top:10px;padding:8px 12px}.ref-scope .note.warn{background:color-mix(in srgb, var(--ochre) 16%, var(--surface))}.ref-scope .usage{margin:0;padding:0;list-style:none}.ref-scope .usage li{border-top:1px solid var(--rule);align-items:baseline;gap:8px;min-height:28px;padding:3px 0;display:flex}.ref-scope .usage li:first-child{border-top:0}.ref-scope .usage li>.btn{align-self:center;margin-left:auto}.ref-scope .usage-ev{font-size:var(--t-sm);color:var(--soft);text-align:right;font-variant-numeric:tabular-nums;margin-left:auto}.ref-scope .map{border:1px solid var(--rule);border-radius:var(--radius-s);width:100%;height:280px;margin-top:10px;display:block}.ref-scope .picklist{max-height:46vh;margin:10px 0 0;padding:0;list-style:none;overflow-y:auto}.ref-scope .picklist button{border:0;border-top:1px solid var(--rule);text-align:left;background:0 0;justify-content:space-between;gap:10px;width:100%;padding:6px 8px;display:flex}.ref-scope .picklist button:hover,.ref-scope .picklist button:focus-visible{background:var(--wash)}.ref-scope .over-head{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:18px;display:flex}.ref-scope .crest{flex:none;width:52px;height:58px}.ref-scope .crest path{fill:var(--trunk);stroke:var(--gold);stroke-width:2.5px}.ref-scope .crest text{fill:var(--gold);font:600 30px var(--display)}.ref-scope .quick{flex-wrap:wrap;gap:6px;margin-left:auto;display:flex}.ref-scope .tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.ref-scope .tile{border:1px solid var(--rule);border-radius:var(--radius-m);background:var(--surface);color:var(--ink);grid-template-columns:auto 1fr;align-items:center;gap:0 10px;padding:12px 14px;text-decoration:none;display:grid}.ref-scope .tile:hover{border-color:var(--indigo)}.ref-scope .tile svg{color:var(--soft);grid-row:span 2}.ref-scope .tile-value{font:600 var(--t-2xl)/1 var(--display)}.ref-scope .tile-label{font:500 var(--t-sm)/1.3 var(--tight);color:var(--soft);grid-column:2}.ref-scope .tile-sub{font-size:var(--t-xs);color:var(--faint);grid-column:2}.ref-scope .tile:first-child{border-top:3px solid var(--indigo)}.ref-scope .tile:nth-child(2){border-top:3px solid var(--petrol)}.ref-scope .tile:nth-child(3){border-top:3px solid var(--madder)}.ref-scope .tile:nth-child(4){border-top:3px solid var(--ochre)}.ref-scope .tile:nth-child(5){border-top:3px solid var(--soft)}.ref-scope .anniv{border-top:1px solid var(--rule)}.ref-scope .anniv:first-of-type{border-top:0}.ref-scope .anniv summary{cursor:pointer;justify-content:space-between;align-items:center;height:34px;font-weight:500;list-style:none;display:flex}.ref-scope .anniv summary::-webkit-details-marker{display:none}.ref-scope .anniv summary span:first-child:before{content:"▸";width:16px;color:var(--faint);display:inline-block}.ref-scope .anniv[open] summary span:first-child:before{content:"▾"}.ref-scope .anniv .usage{padding:0 0 8px 16px}.ref-scope .changes{margin:0;padding:0;list-style:none}.ref-scope .changes li{border-top:1px solid var(--rule);min-height:30px;font-size:var(--t-sm);grid-template-columns:124px 74px minmax(0,1fr) 140px;align-items:baseline;gap:10px;padding:4px 16px;display:grid}.ref-scope .changes li:first-child{border-top:0}.ref-scope .changes.dense li{grid-template-columns:84px 66px minmax(0,1fr);padding:4px 0}.ref-scope .changes.dense .who{display:none}.ref-scope .changes .when,.ref-scope .changes .who{color:var(--soft)}.ref-scope .changes .who{text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ref-scope .changes .what{text-overflow:ellipsis;white-space:nowrap;font-size:var(--t-md);overflow:hidden}.ref-scope .changes .rkind{color:var(--soft);font-size:var(--t-sm)}.ref-scope .act{font:500 var(--t-sm)/1.2 var(--tight)}.ref-scope .act.create{color:var(--petrol)}.ref-scope .act.update{color:var(--indigo)}.ref-scope .act.delete{color:var(--madder)}.ref-scope .pager{justify-content:center;margin-top:12px}.ref-scope .page-head>.select{width:auto;min-width:220px}.ref-scope .terms{grid-template-columns:190px minmax(0,1fr) minmax(300px,400px);align-items:start;gap:14px;display:grid}.ref-scope .kinds{gap:12px;display:grid}.ref-scope .kinds h2{font:500 var(--t-sm)/1.4 var(--tight);color:var(--faint);margin-bottom:2px;padding-left:8px}.ref-scope .kind{border-radius:var(--radius-s);text-align:left;background:0 0;border:0;width:100%;height:28px;padding:0 8px;display:block}.ref-scope .kind:hover{background:var(--wash)}.ref-scope .kind[aria-current]{background:var(--wash);box-shadow:inset 3px 0 0 var(--gold);font-weight:600}.ref-scope .kinds-select{display:none}.ref-scope .terms-list{gap:10px;min-width:0;display:grid}.ref-scope .terms-list .row.tight{flex-wrap:wrap}.ref-scope .terms-list .input.filter{flex:140px;width:auto}.ref-scope .termrows{border:1px solid var(--rule);border-radius:var(--radius-m);background:var(--surface);max-height:calc(100vh - 250px);margin:0;padding:0;list-style:none;overflow-y:auto}.ref-scope .termrows li{border-top:1px solid var(--rule);cursor:pointer;align-items:baseline;gap:8px;min-height:28px;padding:3px 12px;display:flex}.ref-scope .termrows li:first-child{border-top:0}.ref-scope .termrows li:hover{background:color-mix(in srgb, var(--wash) 55%, transparent)}.ref-scope .termrows li[aria-selected=true]{background:var(--wash);box-shadow:inset 3px 0 0 var(--gold)}.ref-scope .termrows .term-text{overflow-wrap:anywhere;font-weight:500}.ref-scope .termrows .num{margin-left:auto}.ref-scope .termrows .recmeta{margin-left:0}.ref-scope .dot{background:var(--ochre);border-radius:50%;flex:none;align-self:center;width:7px;height:7px}.ref-scope .terms-detail{max-height:calc(100vh - 80px);position:sticky;top:66px;overflow-y:auto}.ref-scope .terms-detail .panel>.cell,.ref-scope .terms-detail .panel>.checkline{margin-top:8px}.ref-scope .later{gap:8px;margin:0;padding:0;list-style:none;display:grid}.ref-scope .later li{justify-items:start;gap:2px;display:grid}@media (width<=1100px){.ref-scope .terms{grid-template-columns:170px minmax(0,1fr)}.ref-scope .terms-detail{grid-column:1/-1;max-height:none;position:static}.ref-scope .tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=860px){.ref-scope .cols,.ref-scope .cols.even,.ref-scope .terms{grid-template-columns:1fr}.ref-scope .kinds{display:none}.ref-scope .kinds-select{display:block}.ref-scope .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-scope .quick{width:100%;margin-left:0}.ref-scope .input.filter{width:100%}.ref-scope .toolbar .row.tight{flex-wrap:wrap;width:100%}.ref-scope .changes li{grid-template-columns:1fr auto;gap:2px 8px}.ref-scope .changes li .what{white-space:normal;grid-area:1/1/auto/-1}.ref-scope .changes li .who{display:none}.ref-scope .changes.dense li{grid-template-columns:1fr auto}.ref-scope .termrows{max-height:46vh}.ref-scope .input.inline{width:120px}.ref-scope .usage li{flex-wrap:wrap}}.gate-provider{height:44px;font-size:var(--t-lg);justify-content:center;text-decoration:none}.gate-or{color:var(--soft);font-size:var(--t-sm);align-items:center;gap:12px;margin:0;display:flex}.gate-or:before,.gate-or:after{content:"";background:var(--rule);flex:1;height:1px}.gate-problem{border-left:3px solid var(--madder);background:color-mix(in srgb, var(--madder) 9%, transparent);font-size:var(--t-sm);border-radius:4px;gap:3px;padding:10px 12px;display:grid}.gate-problem strong{font-weight:600}.pw-form{gap:14px;display:grid}
