@font-face{font-family:Noto;src:url('assets/noto-studio-shell.cd3c6947d08b7942.woff2') format('woff2');font-weight:100 900;font-display:optional;unicode-range:U+20-7E,U+A9,U+2026,U+3001-3002,U+4E00,U+4E0B,U+4E0E,U+4E1A,U+4E2A,U+4E3B,U+4E66,U+4E86,U+4E8E,U+4EA7,U+4EBA,U+4ECB,U+4EE5,U+4EF6,U+4F01,U+4F1A,U+4F5C,U+4F7F,U+4F9B,U+514D,U+5165,U+5168,U+516C,U+5173,U+5177,U+5185,U+518C,U+5230,U+5236,U+5355,U+5382,U+53CA,U+53CD,U+53D1,U+53E3,U+53EF-53F0,U+53F7,U+5408,U+540E,U+542F,U+5458,U+548C,U+54C1,U+5668,U+56DB,U+56FE,U+5728,U+5730,U+578B,U+5916,U+591A,U+5B50,U+5B8C,U+5B9A,U+5BA2,U+5BB6,U+5BB9,U+5BF9,U+5BFC,U+5C55,U+5DE5,U+5DF2,U+5E73,U+5E76,U+5E93,U+5EFA,U+5F00,U+5F55,U+5F62,U+5FEB,U+60C5,U+6211,U+6216,U+6237,U+624B,U+627E,U+6309,U+636E,U+63A2,U+63A5,U+63D0,U+641C,U+653E,U+6570,U+6574,U+6599,U+65B0,U+65B9,U+65F6,U+660E,U+667A,U+66F4,U+6700,U+6708,U+672C,U+673A,U+6743,U+6765,U+67B6,U+67E5,U+680F,U+6848,U+68B0,U+6982,U+6BCF,U+6BD4,U+6CE8,U+6D4F,U+6E05,U+6E38,U+6E90,U+70B9,U+7126,U+73B0,U+7406,U+7528,U+767B,U+7684,U+76AE,U+76CA,U+76EE,U+76F4,U+76F8,U+770B,U+77E5,U+7A97,U+7AD9,U+7CFB,U+7D22,U+7EBF,U+7ECD,U+7EDF,U+7EE7,U+7EED,U+805A,U+80FD,U+811A,U+81C2,U+822A,U+8272,U+84DD,U+8981,U+89C2,U+89C8,U+89D2,U+89E3,U+8BA1-8BA2,U+8BAE,U+8BBF,U+8BE6,U+8BF4,U+8BFB,U+8C31,U+8D26,U+8D39,U+8D44,U+8DB3,U+8DF3,U+8EAB,U+8F7D,U+8FD1,U+8FDE,U+901A,U+901F,U+90E8,U+95ED-95EE,U+95F4,U+9605,U+96F6,U+9700,U+9762,U+9875,U+9879,U+9884,U+9988,U+9996,U+FF0C,U+FF1B}
:root{--bg:#0a0a0d;--surface:#121216;--surface-2:#19191f;--line:#29282f;--text:#f1f0f5;--muted:#a19fae;--purple:#a78bfa;--accent:#7540d9;--green:#87d4b2;--max:1320px;color-scheme:dark;font-family:Noto,"PingFang SC","Microsoft YaHei",system-ui,"Noto Sans CJK SC",sans-serif;font-synthesis:none;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.45}button{border:0;background:none}svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}::selection{background:#63419f;color:white}:focus-visible{outline:2px solid var(--purple);outline-offset:5px}input{caret-color:var(--purple)}*{scrollbar-width:thin;scrollbar-color:#494253 var(--bg)}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}p{line-height:1.85}button,.chip,a{transition:background .2s,color .2s,border-color .2s,transform .2s}main{min-height:68vh;outline:none}.wrap{max-width:var(--max);margin:auto;padding:0 42px}.muted{color:var(--muted)}.purple{color:var(--purple)}.skip-link{position:fixed;top:-60px;left:20px;z-index:50;padding:12px;background:var(--accent)}.skip-link:focus{top:12px}.site-header{height:94px;display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:1440px;margin:auto;padding:0 44px;border-bottom:1px solid #202027}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand strong{display:block;font-family:Noto,"PingFang SC","Microsoft YaHei",system-ui,"Noto Sans CJK SC",sans-serif;font-size:23px;font-weight:750;letter-spacing:-.7px;line-height:1.2}.brand-dot{color:var(--purple)}.brand small{display:block;font-size:11px;letter-spacing:3px;color:var(--muted);margin-top:5px}.main-nav{display:flex;align-items:center;gap:29px;height:100%;font-size:13px;white-space:nowrap}.main-nav a{height:100%;display:flex;align-items:center;position:relative;color:#b0aebb}.main-nav a:hover,.main-nav a.active{color:#fff}.main-nav a.active:after{content:"";position:absolute;bottom:0;width:18px;height:2px;background:var(--purple);left:calc(50% - 9px)}.header-save{display:flex;align-items:center;gap:9px;font-size:12px;white-space:nowrap}.header-save b{color:var(--purple);font-size:11px}.hero{position:relative;display:grid;grid-template-columns:1.08fr .92fr;min-height:552px;padding-top:76px;padding-bottom:46px;gap:35px}.hero-copy{position:relative;z-index:2}.hero h1{font-size:clamp(43px,4.6vw,64px);line-height:1.27;font-weight:850;letter-spacing:-.025em;margin-bottom:24px}.hero h1 span{color:var(--purple);display:block}.hero-description{font-size:14px;color:#a6a2b3;max-width:440px;line-height:1.95}.search-form{display:flex;align-items:center;gap:12px;background:#16151d;border:1px solid #40364e;border-radius:10px;margin-top:29px;padding:7px 7px 7px 17px;max-width:520px;min-height:55px}.search-form:focus-within{border-color:var(--purple)}.search-form>svg{color:#aaa5ba;width:18px;flex-shrink:0}.search-form input{min-width:0;flex:1;background:none;border:0;outline:none;color:white;font-size:12px}.search-form input::placeholder{color:#a39cae}.search-form button{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);padding:11px 18px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap}.search-form button:hover,.primary:hover{background:#8150de}.search-hints{display:flex;gap:14px;align-items:center;margin-top:13px;color:#a39cae;font-size:11px}.search-hints button{padding:2px 0;color:#b8accb}.search-hints button:hover{color:var(--purple)}.hero-visual{position:relative;min-height:410px;display:grid;place-items:center;margin-top:-26px;isolation:isolate;overflow:hidden}.orbit{position:absolute;width:350px;height:350px;border:1px solid #312641;border-radius:50%;transform:rotate(-25deg) scaleX(.9)}.orbit:before{content:"";position:absolute;inset:35px;border:1px dashed #342943;border-radius:50%}.orbit:after{content:"";position:absolute;inset:-35px;border:1px solid #1d1925;border-radius:50%}.hero-visual:before{content:"";position:absolute;background:radial-gradient(ellipse,#48247555,transparent 66%);inset:0;z-index:-1}.hero-robot{width:350px;height:350px;object-fit:contain;z-index:1;margin-top:35px;filter:drop-shadow(15px 22px 35px #0008);animation:arrive 1s cubic-bezier(.16,1,.3,1)}.visual-tag{position:absolute;z-index:2;font-size:11px;display:flex;align-items:center;gap:8px;border:1px solid #3b304e;background:#16121edb;padding:10px 13px;border-radius:5px;color:#d1c6e8;left:16px;top:82px}.visual-tag svg{width:14px;height:14px;color:var(--purple)}.visual-tag.right{left:auto;right:0;top:230px}.visual-label{position:absolute;bottom:15px;left:35px;color:#a39baF;font-size:11px;letter-spacing:1.4px;display:flex;gap:25px;align-items:center}.visual-label span{height:1px;width:35px;background:#6c568e}.hero-caption{position:absolute;top:12px;right:21px;font-size:11px;color:#9b91aa;letter-spacing:1.3px}.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;margin-bottom:67px}.stat{display:flex;align-items:center;justify-content:center;gap:17px;border-right:1px solid var(--line)}.stat:first-child{justify-content:flex-start;padding-left:20px}.stat:last-child{border:0}.stat strong{font-size:33px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat span{font-size:11px;color:#aaa5b6}.stat small{display:block;font-size:11px;letter-spacing:1px;color:#aaa5b6;margin-top:4px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.section-head h2{font-size:27px;letter-spacing:-.02em;font-weight:750}.section-head h2 span{color:#a39cae;font-size:11px;font-weight:400;margin-left:15px;letter-spacing:1px}.section-head p{color:var(--muted);font-size:12px;margin-top:8px}.text-link{display:inline-flex;gap:10px;align-items:center;color:var(--muted);font-size:12px;white-space:nowrap}.text-link:hover{color:var(--purple)}.text-link svg{width:16px}.chips{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.chip{border:1px solid var(--line);border-radius:6px;padding:8px 18px;font-size:11px;color:#b8b2c4;display:inline-flex;gap:10px;align-items:center;background:transparent;min-height:35px}.chip:hover{border-color:#665183;color:#fff}.chip.active{background:#302040;border-color:#6d479b;color:#ddc9fc}.chip .count{color:#aaa0b9;font-size:11px}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.sort-select{background:none;color:var(--muted);border:0;font-size:11px;padding:8px;max-width:140px}.sort-select option{background:#16151b}.robot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.robot-card{background:var(--surface);border:1px solid #28252f;border-radius:12px;overflow:hidden;position:relative;text-align:left;transition:border-color .25s,transform .25s;min-width:0}.robot-card:hover{border-color:#65517d;transform:translateY(-4px)}.card-image-button{width:100%;display:block;text-align:left;padding:0}.robot-media{height:207px;display:flex;align-items:center;justify-content:center;position:relative;background:radial-gradient(ellipse at 50% 90%,#26202e,transparent 65%)}.robot-media img{width:83%;height:86%;object-fit:contain;transition:transform .35s}.robot-card:hover img{transform:scale(1.04)}.robot-media .category-badge{position:absolute;top:16px;left:15px;font-size:11px;letter-spacing:1px;color:#c0b5d0;background:#23202b;padding:4px 7px;border-radius:4px;z-index:1}.save-button{position:absolute;right:12px;top:10px;z-index:2;display:grid;place-items:center;width:34px;height:34px;color:#b3aabc;border-radius:7px}.save-button:hover{background:#3c2b50;color:var(--purple)}.save-button.saved{color:var(--purple)}.save-button.saved svg{fill:#533481}.save-button svg{width:16px;height:16px}.robot-info{padding:18px;border-top:1px solid #25212d}.robot-title{font-size:17px;font-weight:650;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:0;text-align:left}.robot-title svg{width:15px;color:#b3a6c4}.robot-company{font-size:11px;color:var(--muted);margin-top:7px}.robot-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:17px}.robot-tags span{font-size:11px;color:#c0b4cf;background:#24202c;padding:4px 7px;border-radius:4px}.robot-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:18px;color:#a9a0b6;font-size:11px}.source-link{display:flex;align-items:center;gap:5px}.source-link svg{width:12px;height:12px;color:#a58bbc}.media-fallback{display:grid;place-items:center;gap:13px;color:#81708f}.media-fallback svg{width:65px;height:65px;stroke-width:.8}.media-fallback small{font-size:11px;color:#aaa0b9}.disclosure{font-size:11px;color:#b0a5bd;margin-top:18px;display:flex;gap:8px;align-items:center}.disclosure svg{width:13px;flex-shrink:0}.overview-bottom{margin:75px 0;display:grid;grid-template-columns:1.18fr 1fr;gap:24px}.feature-panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#101014}.feature-panel-header{padding:27px 28px 0}.feature-panel h2{font-size:24px}.feature-panel-header p{font-size:11px;color:var(--muted);margin-top:9px}.feature-panel-footer{border-top:1px solid var(--line);padding:16px 28px;display:flex;justify-content:space-between;font-size:11px;color:#aba2b9}.mini-graph{height:235px;overflow:hidden}.mini-graph svg{width:100%;height:100%;stroke:none}.timeline-preview{padding:23px 28px 18px;min-height:235px}.timeline-preview a{display:grid;grid-template-columns:46px 10px 1fr;gap:17px;align-items:center;padding:13px 0;font-size:11px}.timeline-preview a:hover{color:var(--purple)}.timeline-preview .year{font-variant-numeric:tabular-nums;color:var(--purple);font-size:12px}.timeline-dot{width:6px;height:6px;border:1px solid #8b69b6;border-radius:50%;position:relative}.timeline-dot:after{content:"";height:35px;width:1px;background:#382d48;position:absolute;left:1.5px;top:9px}.timeline-preview a:last-child .timeline-dot:after{display:none}.closing-line{padding:15px 0 65px;display:flex;align-items:center;justify-content:space-between;gap:20px}.closing-line h2{font-size:25px}.closing-line p{margin-top:10px;color:var(--muted);font-size:12px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:7px;padding:12px 20px;font-size:12px;min-height:44px}.primary{background:var(--accent);color:white}.secondary{border:1px solid #443451;color:#d6c5e7}.secondary:hover{background:#241a30}.site-footer{border-top:1px solid var(--line);max-width:var(--max);margin:auto;padding:35px 42px 30px;display:flex;align-items:center;gap:30px;flex-wrap:wrap;font-size:11px;color:#ada3b9}.footer-brand{font-size:19px;font-weight:650;color:#d1ccd9;letter-spacing:-.5px}.footer-brand span{color:var(--purple)}.site-footer>p{font-size:11px}.site-footer>div{display:flex;gap:24px;margin-left:auto}.site-footer a:hover{color:var(--purple)}.page-intro{padding:59px 0 31px}.page-intro h1{font-size:44px;letter-spacing:-.03em}.page-intro h1 span{color:var(--purple)}.page-intro p{margin-top:15px;color:var(--muted);font-size:13px;max-width:650px}.intro-meta{color:#c1b0d9;font-size:11px;margin-top:15px}.page-tools{display:flex;align-items:center;gap:20px;margin-bottom:29px}.page-tools .search-form{margin:0;flex:1;max-width:none}.page-tools .result-count{font-size:11px;color:var(--muted);white-space:nowrap}.catalog-content{padding-bottom:65px}.empty-state{padding:65px 24px;text-align:center;border:1px dashed #3c3247;border-radius:12px;grid-column:1/-1}.empty-state h2{font-size:23px;margin-bottom:10px}.empty-state p{font-size:13px;color:var(--muted);margin-bottom:22px}.load-more{display:block;margin:30px auto 0;min-width:160px}.company-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:25px 0 65px}.company-card{padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.company-top{display:flex;align-items:center;gap:16px}.company-logo{height:48px;min-width:48px;padding:6px;background:#272033;color:#d8c1fa;border:1px solid #49365e;border-radius:12px;display:grid;place-items:center;font-size:18px;font-weight:600}.company-card h2{font-size:17px}.company-card small{font-size:11px;color:var(--muted)}.company-card p{font-size:12px;color:var(--muted);margin:19px 0}.company-actions{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:11px}.graph-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;margin:22px 0 55px}.graph-stage{border:1px solid var(--line);border-radius:12px;background:#101015;position:relative;overflow:hidden;min-height:530px}.graph-stage>svg{width:100%;height:530px;stroke:none;touch-action:none}.graph-actions{position:absolute;left:17px;bottom:15px;display:flex;background:#211a2b;border:1px solid #453655;border-radius:7px}.graph-actions button{min-width:39px;height:36px;font-size:16px}.graph-actions button:hover{background:#3e2b53}.graph-side{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:23px;align-self:start}.graph-side h2{font-size:20px;margin:16px 0 8px}.graph-side p{font-size:12px;color:var(--muted)}.graph-side .secondary{margin:20px 0;width:100%;font-size:11px}.graph-side ul{padding:0;list-style:none;margin:20px 0 0}.graph-side li{font-size:11px;display:flex;justify-content:space-between;gap:8px;padding:13px 0;border-top:1px solid var(--line);line-height:1.8}.graph-node{cursor:pointer;outline:none}.graph-node circle{transition:fill .2s,stroke .2s}.graph-node:hover circle,.graph-node:focus circle{stroke:#cdb4ff;stroke-width:3px}.graph-node text{font-family:Noto,"PingFang SC","Microsoft YaHei",system-ui,"Noto Sans CJK SC",sans-serif}.legend-dot{width:6px;height:6px;background:var(--purple);border-radius:50%;display:inline-block}.graph-hint{position:absolute;top:18px;left:18px;color:var(--muted);font-size:11px;pointer-events:none}.timeline-controls{display:flex;align-items:center;gap:25px;margin:22px 0 45px}.timeline-controls input{accent-color:var(--accent);flex:1}.timeline-controls output{font-size:27px;color:var(--purple);min-width:75px;font-variant-numeric:tabular-nums}.timeline-list{margin:0 0 70px;max-width:950px}.timeline-entry{display:grid;grid-template-columns:110px 1fr;gap:32px;padding:29px 0;border-top:1px solid var(--line)}.timeline-entry time{font-size:34px;color:var(--purple);font-weight:600;font-variant-numeric:tabular-nums}.timeline-entry h2{font-size:21px}.timeline-entry p{color:var(--muted);font-size:13px;margin:11px 0 15px}.timeline-entry a{color:var(--purple);font-size:11px}.timeline-entry.dim{opacity:.28}.methodology{display:flex;gap:22px;padding:25px 0;border-top:1px solid var(--line);flex-wrap:wrap}.methodology span{font-size:12px;color:var(--muted)}.resource-list{margin:12px 0 56px}.resource-row{border-top:1px solid var(--line);display:grid;grid-template-columns:46px 1fr 120px 120px;gap:28px;align-items:center;padding:30px 0}.resource-icon{color:var(--purple)}.resource-icon svg{width:32px;height:32px}.resource-row h2{font-size:21px}.resource-row p{font-size:12px;color:var(--muted);margin-top:7px}.resource-row small{font-size:11px;color:#b5a8c7;display:block;margin-top:10px}.resource-meta{font-size:12px;color:#c2b7d1}.resource-meta span{display:block;font-size:11px;margin-top:8px;color:var(--muted)}.build-section{border:1px solid #3d2f4f;border-radius:12px;background:#15101d;padding:30px;margin-bottom:60px;display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center}.build-section h2{font-size:23px}.build-section p{font-size:12px;color:#bfb0cc;margin-top:10px;max-width:750px}.build-section small{font-size:11px;display:block;color:#b6a7c4;margin-top:15px}.evidence-copy{max-width:830px;margin-bottom:60px}.evidence-copy h2{font-size:23px;margin:32px 0 14px}.evidence-copy p,.evidence-copy li{font-size:14px;color:#b8aec6;line-height:2}.evidence-copy a{color:var(--purple);text-decoration:underline;text-underline-offset:4px}.evidence-copy ol{padding-left:20px}.no-script{padding:30px;text-align:center}dialog{border:1px solid #4f3c63;border-radius:16px;background:#141118;color:var(--text);padding:0;width:min(740px,calc(100% - 32px));max-height:calc(100vh - 50px);overflow:auto;box-shadow:none}dialog::backdrop{background:#000b}.close-dialog{position:absolute;top:16px;right:16px;z-index:3}.icon-button{height:36px;width:36px;border-radius:8px;display:grid;place-items:center;background:#282031}.detail-layout{display:grid;grid-template-columns:260px 1fr;gap:32px;padding:42px 32px 30px}.detail-image{display:grid;place-items:center;background:#1c1723;border-radius:10px;min-height:290px}.detail-image img{width:100%;height:260px;object-fit:contain}.detail-copy{padding-top:15px}.detail-copy h2{font-size:29px;line-height:1.3;margin:12px 0}.detail-copy>p{font-size:12px;color:var(--muted)}.detail-copy .category-badge{color:var(--purple);font-size:11px}.detail-copy dl{margin:20px 0;display:grid;grid-template-columns:60px 1fr;font-size:11px;gap:12px}.detail-copy dt{color:var(--muted)}.detail-copy dd{margin:0}.detail-actions{display:flex;gap:10px;flex-wrap:wrap}.detail-note{margin:0 32px 28px;padding:15px 0 0;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:#362545;border:1px solid #70508c;border-radius:8px;color:#f0e7fa;padding:13px 22px;z-index:80;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes arrive{from{transform:translateY(22px);filter:blur(4px)}to{transform:translateY(0);filter:blur(0)}}
@media(min-width:1600px){.hero{padding-top:88px;min-height:600px}.hero h1{font-size:69px}.hero-robot{width:395px;height:395px}.hero-visual{min-height:440px}}
@media(max-width:1100px){.site-header{padding:0 26px;gap:20px}.main-nav{gap:19px;font-size:12px}.header-save span{display:none}.wrap{padding:0 30px}.hero{gap:12px;padding-top:58px;min-height:520px}.hero h1{font-size:49px}.hero-robot{width:315px;height:350px}.orbit{width:295px;height:295px}.visual-tag{left:5px}.visual-tag.right{right:0}.robot-media{height:180px}.robot-info{padding:15px}.robot-title{font-size:15px}.stat{gap:12px}.stat strong{font-size:29px}.stat:first-child{padding-left:5px}.section-head h2 span{display:none}.site-footer{padding-left:30px;padding-right:30px}.site-footer>div{margin-left:0}.graph-layout{grid-template-columns:minmax(0,1fr) 235px}}
@media(max-width:800px){.site-header{height:auto;min-height:119px;flex-wrap:wrap;gap:0;padding:18px 24px 0}.brand strong{font-size:22px}.brand small{font-size:11px}.header-save{margin-left:auto}.header-save span{display:block}.main-nav{order:3;width:100%;height:48px;justify-content:space-between;gap:15px;overflow:auto}.main-nav a{font-size:11px;flex-shrink:0}.hero{padding-top:49px;min-height:465px;grid-template-columns:1.18fr .82fr}.hero h1{font-size:39px}.hero-description{font-size:12px}.hero-visual{margin-left:-30px;margin-top:-15px;min-height:350px}.hero-robot{width:265px;height:310px}.orbit{width:230px;height:230px}.visual-tag{top:55px;font-size:11px;padding:7px}.visual-tag.right{top:242px;right:2px}.hero-caption,.visual-label{display:none}.search-form{gap:7px;padding-left:12px}.search-form button{padding:11px}.search-form button span{display:none}.stats{margin-bottom:44px}.stat{flex-direction:column;gap:2px;align-items:flex-start;padding-left:19px}.stat:first-child{padding-left:0}.stat span{font-size:11px}.stat small{display:none}.robot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.robot-media{height:205px}.catalog-toolbar{align-items:flex-start}.chips{gap:7px}.chip{padding:7px 13px}.overview-bottom{gap:18px;grid-template-columns:1fr;margin-top:50px}.feature-panel-header{padding:25px 23px 0}.closing-line h2{font-size:22px}.company-grid{grid-template-columns:repeat(2,1fr)}.graph-layout{grid-template-columns:1fr}.graph-side{display:grid;grid-template-columns:1fr 2fr;gap:0 25px}.graph-side ul{grid-column:1/-1}.graph-side .secondary{width:auto}.resource-row{grid-template-columns:36px 1fr 96px;gap:18px}.resource-meta{display:none}.page-intro h1{font-size:38px}.build-section{grid-template-columns:1fr}.build-section button{justify-self:start}}
@media(max-width:540px){.wrap{padding:0 21px}.site-header{padding:16px 21px 0}.header-save span{display:none}.main-nav{gap:20px;justify-content:flex-start}.hero{grid-template-columns:1fr;padding-top:38px;padding-bottom:26px;gap:0}.hero h1{font-size:42px;line-height:1.24;margin-bottom:20px}.hero-description{max-width:320px;font-size:12px}.hero-visual{height:270px;min-height:270px;margin:16px 0 0}.hero-robot{width:280px;height:280px;margin-top:8px}.orbit{width:230px;height:230px}.visual-tag{top:48px;left:10px;font-size:11px}.visual-tag.right{top:165px;right:5px}.hero-caption{display:block;font-size:11px;top:9px;right:3px}.search-form{margin-top:23px;min-height:51px}.search-form button{padding:11px 14px}.search-form button span{display:block}.search-hints{gap:10px;font-size:11px;flex-wrap:wrap}.stats{margin-bottom:37px;padding:20px 0}.stat{padding-left:15px}.stat strong{font-size:27px}.stat span{font-size:11px;white-space:nowrap}.section-head{margin-bottom:21px;align-items:flex-end;gap:12px}.section-head h2{font-size:24px}.section-head p{font-size:11px}.text-link{font-size:11px;gap:5px}.catalog-toolbar{flex-wrap:wrap;gap:9px;margin-bottom:17px}.chip{padding:7px 11px;min-height:33px;font-size:11px}.sort-select{margin-left:auto;font-size:11px}.robot-grid{gap:11px}.robot-media{height:167px}.robot-media img{width:94%;height:82%}.robot-media .category-badge{top:11px;left:10px;font-size:11px}.save-button{right:5px;top:5px}.robot-info{padding:13px 12px}.robot-title{font-size:14px;gap:3px}.robot-company{font-size:11px;line-height:1.8}.robot-tags{gap:4px;margin-top:13px}.robot-tags span{font-size:11px;padding:3px 5px}.robot-bottom{font-size:11px;margin-top:15px;gap:4px}.robot-bottom>span{display:none}.disclosure{font-size:11px;line-height:1.7}.overview-bottom{margin:44px 0}.feature-panel h2{font-size:22px}.feature-panel-header p{font-size:11px}.closing-line{align-items:flex-start;flex-direction:column;padding-bottom:44px}.closing-line h2{font-size:23px}.closing-line p{font-size:11px}.site-footer{padding:28px 21px;gap:14px}.site-footer>p{margin-left:auto;font-size:11px}.site-footer>div{gap:14px;flex-wrap:wrap;font-size:11px}.page-intro{padding-top:39px}.page-intro h1{font-size:36px}.page-intro p{font-size:12px}.page-tools{flex-wrap:wrap;gap:10px}.page-tools .search-form{flex-basis:100%}.company-grid{grid-template-columns:1fr;gap:12px}.company-card{padding:23px}.graph-stage{min-height:410px}.graph-stage>svg{height:410px}.graph-side{display:block}.graph-side .secondary{width:100%}.timeline-controls{gap:15px}.timeline-controls span{font-size:11px}.timeline-entry{grid-template-columns:65px 1fr;gap:17px;padding:24px 0}.timeline-entry time{font-size:25px}.timeline-entry h2{font-size:18px}.timeline-entry p{font-size:12px}.resource-row{grid-template-columns:26px 1fr;gap:15px;padding:24px 0}.resource-icon svg{width:25px}.resource-row h2{font-size:20px}.resource-row>a{grid-column:2;justify-self:start}.build-section{padding:24px}.detail-layout{grid-template-columns:1fr;padding:35px 23px 25px;gap:10px}.detail-image{min-height:200px}.detail-image img{height:200px}.detail-copy{padding:0}.detail-copy h2{font-size:26px}.detail-note{margin:0 23px 24px}.toast{width:calc(100% - 42px);text-align:center;font-size:11px}.empty-state{padding:40px 18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.wrap .catalog-filter-controls.catalog-filter-controls--province{grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr) minmax(126px,.62fr) minmax(150px,.8fr) minmax(180px,1fr);gap:8px 12px;max-width:100%}
.wrap .catalog-filter-controls.catalog-filter-controls--province .catalog-control,.wrap .catalog-filter-controls.catalog-filter-controls--province .filter-note{min-width:0}
.wrap .company-filter-grid.company-filter-grid--province{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:100%}
.wrap .company-filter-grid.company-filter-grid--province>label{min-width:0}
@media(min-width:601px) and (max-width:1199px){.wrap .catalog-filter-controls.catalog-filter-controls--province{grid-template-columns:repeat(4,minmax(0,1fr))}.wrap .catalog-filter-controls.catalog-filter-controls--province .catalog-maker-search{grid-column:span 2}.wrap .catalog-filter-controls.catalog-filter-controls--province .filter-note{grid-column:1/-1}.wrap .company-filter-grid.company-filter-grid--province{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.wrap .catalog-filter-controls.catalog-filter-controls--province{grid-template-columns:minmax(0,1fr);overflow:visible}.wrap .catalog-filter-controls.catalog-filter-controls--province .catalog-maker-search,.wrap .catalog-filter-controls.catalog-filter-controls--province .catalog-maker-select,.wrap .catalog-filter-controls.catalog-filter-controls--province .catalog-region-filter,.wrap .catalog-filter-controls.catalog-filter-controls--province .catalog-province-filter,.wrap .catalog-filter-controls.catalog-filter-controls--province .filter-note{grid-column:1}.wrap .company-filter-grid.company-filter-grid--province{grid-template-columns:minmax(0,1fr);overflow:visible}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.graph-actions button{display:grid;place-items:center}.graph-actions button svg{width:16px;height:16px}
.dossier-evidence{display:block;color:#cdb4e4;font-size:10px;line-height:1.6;margin-top:3px}.evidence-table-wrap{max-width:100%;overflow-x:auto}

/* Asset identity is visible before opening a dossier. */
.image-scope-badge{position:absolute;left:15px;bottom:12px;max-width:calc(100% - 30px);padding:5px 9px;border:1px solid #3c334f;border-radius:5px;background:#16121fe8;color:#ded4f4;font-size:10px;line-height:1.35;pointer-events:none}.dossier-photo figcaption{line-height:1.7;overflow-wrap:anywhere}

@media(max-width:600px){.wrap .catalog-filter-controls.catalog-filter-controls--province{grid-template-columns:repeat(2,minmax(0,1fr))}.wrap .catalog-filter-controls.catalog-filter-controls--province :is(.catalog-maker-search,.catalog-maker-select,.filter-note){grid-column:1/-1}.wrap .catalog-filter-controls.catalog-filter-controls--province .catalog-region-filter{grid-column:1}.wrap .catalog-filter-controls.catalog-filter-controls--province .catalog-province-filter{grid-column:2}}

/* OpenDoll linked preview, same navigation style. */
.main-nav .opendoll-entry{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.main-nav .opendoll-entry svg{width:16px;height:16px;flex:none}
.company-map{--map-empty:#e8e5ee;position:relative;color:var(--text,#25222d);font-size:14px}
.company-map-page .company-map{margin-top:18px;padding-top:18px}
.company-map *{box-sizing:border-box}
.company-map .company-map-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.company-map .company-map-heading p{margin:0;color:var(--muted,#65606e);font-size:13px;line-height:1.7}
.company-map .company-map-heading-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.company-map .company-map-scopes,.company-map .company-map-view-toggle{display:flex;gap:3px;padding:3px;border:1px solid var(--line,#dcd8e5);border-radius:7px;background:var(--surface,#fff)}
.company-map .company-map-scopes button,.company-map .company-map-view-toggle button{min-height:38px;padding:7px 18px;border:0;border-radius:5px;background:transparent;color:var(--text,#25222d);font:inherit;white-space:nowrap}
.company-map .company-map-scopes button[aria-pressed=true],.company-map .company-map-view-toggle button[aria-pressed=true]{background:var(--accent,#5834ac);color:#fff}
.company-map .company-map-view-toggle{display:none}
.company-map .company-map-tools{display:grid;grid-template-columns:minmax(210px,1.6fr) minmax(380px,2.6fr);align-items:end;gap:12px;padding-bottom:16px}
.company-map .company-map-tools label{display:grid;gap:6px;min-width:0;color:var(--muted,#65606e);font-size:12px}
.company-map .company-map-search{min-width:0}
.company-map .company-map-tools input,.company-map .company-map-tools select{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--line,#dcd8e5);border-radius:7px;background:var(--surface,#fff);color:var(--text,#25222d);font:inherit}
.company-map .company-map-tools input{font-size:16px}
.company-map .company-map-tools select{padding-right:30px}
.company-map .company-map-filter-disclosure{display:block;min-width:0}
.company-map .company-map-filter-disclosure>summary{display:none}
.company-map .company-map-filter-fields{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end;gap:12px}
.company-map .company-map-clear{min-height:44px;padding:8px 14px;white-space:nowrap}
.company-map .company-map-coverage{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.company-map .company-map-layout{display:block}
.company-map .company-map-canvas{width:100%;min-width:0;padding:12px;border:1px solid var(--line,#dcd8e5);border-radius:10px;background:var(--surface,#fff)}
.company-map .company-map-results{width:100%;min-width:0;margin-top:18px}
.company-map .company-map-canvas-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-bottom:8px}
.company-map .company-map-zoom{display:flex;gap:4px}
.company-map .company-map-zoom button,.company-map .company-map-expand{min-width:44px;min-height:44px;padding:8px 10px;border:1px solid var(--line,#dcd8e5);border-radius:6px;background:transparent;color:var(--text,#25222d);font:inherit}
.company-map .company-map-zoom button:hover,.company-map .company-map-expand:hover{background:var(--surface-raised,#f4f1f8)}
.company-map .company-map-zoom button[data-map-zoom=reset]{min-width:62px;font-size:12px}
.company-map .company-map-canvas-actions{display:flex;align-items:center;gap:8px}
.company-map .company-map-marker-toggle{display:flex;align-items:center;gap:7px;min-height:44px;color:var(--muted,#65606e);font-size:12px;white-space:nowrap}
.company-map .company-map-marker-toggle input{width:18px;height:18px;accent-color:var(--accent,#5834ac)}
.company-map .company-map-plot{position:relative;height:clamp(360px,33vw,470px);display:grid;place-items:center;overflow:hidden;border:1px solid color-mix(in srgb,var(--line,#dcd8e5) 65%,transparent);border-radius:7px;background:color-mix(in srgb,var(--surface,#fff) 70%,var(--map-empty));touch-action:pan-y}
.company-map .company-map-plot svg{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;overflow:hidden}
.company-map .company-map-plot,.company-map .company-map-plot svg,.company-map .company-map-plot :is(.company-map-region,.company-map-marker){-webkit-tap-highlight-color:transparent}
.company-map .company-map-plot:focus,.company-map .company-map-plot:focus-visible{outline:2px solid var(--accent,#5834ac);outline-offset:3px;box-shadow:none}
.company-map .company-map-region{stroke:var(--surface,#fff);stroke-width:.7;vector-effect:non-scaling-stroke}
.company-map .company-map-region[role=button]{cursor:pointer}
.company-map .company-map-region[role=button]:hover{stroke:var(--accent,#5834ac);stroke-width:1.5}
.company-map .company-map-region:focus,.company-map .company-map-region:focus-visible{stroke:var(--accent,#5834ac);stroke-width:2.5;outline:0!important;box-shadow:none}
.company-map .company-map-region.is-selected{stroke:var(--accent,#5834ac);stroke-width:2.25;outline:0}
.company-map .company-map-label{font-size:12px;fill:#25222d;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.company-map .company-map-marker{cursor:pointer}
.company-map .company-map-marker:focus,.company-map .company-map-marker:focus-visible{outline:0!important;box-shadow:none}
.company-map .company-map-marker circle{fill:var(--accent,#5834ac);fill-opacity:.88;stroke:#fff;stroke-width:1.4;vector-effect:non-scaling-stroke}
.company-map .company-map-marker .company-map-marker-dot{fill:var(--accent,#5834ac);fill-opacity:.88;stroke:#fff;stroke-width:1.4;pointer-events:none}
.company-map .company-map-marker .company-map-marker-hit{fill:transparent;fill-opacity:0;stroke:none;pointer-events:all}
.company-map .company-map-marker .company-map-marker-halo,.company-map .company-map-marker .company-map-marker-ring{visibility:hidden;fill:none;pointer-events:none}
.company-map .company-map-marker .company-map-marker-halo{stroke:#fff;stroke-width:5}
.company-map .company-map-marker .company-map-marker-ring{stroke:var(--accent,#5834ac);stroke-width:2}
.company-map .company-map-marker:focus-visible .company-map-marker-halo,.company-map .company-map-marker:focus-visible .company-map-marker-ring{visibility:visible}
.company-map .company-map-marker-label{fill:#fff;font-size:11px;font-weight:700;stroke:none;stroke-linejoin:round;pointer-events:none}
.company-map .company-map-marker-name{fill:var(--text,#25222d);font-size:12px;font-weight:600;paint-order:stroke;stroke:var(--surface,#fff);stroke-width:3px;stroke-linejoin:round;pointer-events:none}
.company-map .company-map-tooltip{position:absolute;z-index:2;max-width:min(220px,calc(100% - 16px));padding:7px 9px;border:1px solid color-mix(in srgb,var(--accent,#5834ac) 35%,var(--line,#dcd8e5));border-radius:7px;background:color-mix(in srgb,var(--surface,#fff) 96%,var(--accent,#5834ac));color:var(--text,#25222d);font-size:12px;line-height:1.35;box-shadow:0 5px 16px rgb(37 34 45 / 18%);pointer-events:none}
.company-map .company-map-tooltip[hidden]{display:none}
.company-map .company-map-tooltip strong,.company-map .company-map-tooltip span{display:block}
.company-map .company-map-map-summary{display:flex;align-items:baseline;gap:10px;min-height:28px;margin:0 2px 4px;color:var(--muted,#65606e);font-size:12px;font-variant-numeric:tabular-nums}
.company-map .company-map-map-summary strong{color:var(--text,#25222d);font-size:14px}
.company-map .company-map-hover{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:44px;margin:6px 2px;font-size:13px;color:var(--text,#25222d);font-variant-numeric:tabular-nums}
.company-map .company-map-region-action{min-height:44px;padding:7px 11px;border:0;background:transparent;color:var(--accent,#5834ac);font:inherit;text-align:left}
.company-map .company-map-region-action:hover{text-decoration:underline;text-underline-offset:3px}
.company-map .company-map-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding-top:8px;color:var(--muted,#65606e);font-size:11px}
.company-map .company-map-legend strong{color:var(--text,#25222d);font-size:12px}
.company-map .company-map-legend-items{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.company-map .company-map-legend-item{display:inline-flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}
.company-map .company-map-legend-item i{display:inline-block;width:18px;height:9px;border:1px solid color-mix(in srgb,var(--line,#dcd8e5) 70%,transparent);border-radius:2px}
.company-map .company-map-legend-note{width:100%;line-height:1.6}
.company-map .company-map-result-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(160px,1.25fr);gap:0;margin-bottom:14px;border-top:1px solid var(--line,#dcd8e5);border-bottom:1px solid var(--line,#dcd8e5)}
.company-map .company-map-result-summary>div{display:flex;align-items:baseline;gap:8px;min-height:62px;padding:12px 14px;border-right:1px solid var(--line,#dcd8e5)}
.company-map .company-map-result-summary>div:last-child{border-right:0}
.company-map .company-map-result-summary strong{font-size:22px;line-height:1;font-variant-numeric:tabular-nums}
.company-map .company-map-result-summary span{color:var(--muted,#65606e);font-size:12px}
.company-map .company-map-summary-unknown{justify-content:center}
.company-map .company-map-region-unknown{min-height:44px;padding:7px 0;border:0;background:transparent;color:var(--accent,#5834ac);font:inherit;text-align:left}
.company-map .company-map-region-unknown:hover,.company-map .company-map-region-unknown.is-selected{text-decoration:underline;text-underline-offset:3px}
.company-map .company-map-drilldown{min-height:44px;padding:5px 0;border:0;background:transparent;color:var(--accent,#5834ac);font:inherit;text-align:left}
.company-map .company-map-regions{margin:0 0 18px;padding:12px 0;border-bottom:1px solid var(--line,#dcd8e5)}
.company-map .company-map-regions-heading,.company-map .company-map-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.company-map .company-map-regions-heading h3,.company-map .company-map-list-heading h3{margin:0 0 10px;color:var(--text,#25222d);font-size:16px}
.company-map .company-map-regions-heading span,.company-map .company-map-list-total{color:var(--muted,#65606e);font-size:11px}
.company-map .company-map-region-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}
.company-map .company-map-region-bar{display:grid;grid-template-columns:minmax(58px,92px) minmax(0,1fr) 30px;align-items:center;gap:8px;min-height:36px;padding:4px 0;border:0;background:transparent;color:var(--text,#25222d);font:inherit;text-align:left}
.company-map .company-map-region-bar:hover .company-map-region-name,.company-map .company-map-region-bar.is-selected .company-map-region-name{text-decoration:underline;text-underline-offset:3px;color:var(--accent,#5834ac)}
.company-map .company-map-region-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.company-map .company-map-region-track{height:7px;overflow:hidden;border-radius:99px;background:color-mix(in srgb,var(--line,#dcd8e5) 55%,transparent)}
.company-map .company-map-region-track i{display:block;height:100%;border-radius:inherit;background:var(--accent,#5834ac)}
.company-map .company-map-region-bar strong{font-variant-numeric:tabular-nums;text-align:right}
.company-map .company-map-region-more{margin-top:5px}
.company-map .company-map-region-more>summary{display:inline-flex;align-items:center;min-height:44px;color:var(--accent,#5834ac);cursor:pointer;font-size:12px}
.company-map .company-map-region-more-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px;padding-top:4px}
.company-map .company-map-list-heading{padding-top:2px}
.company-map .company-map-list-heading h3 small{margin-left:5px;color:var(--muted,#65606e);font-size:11px;font-weight:400}
.company-map .company-map-list-heading>div{min-width:0}
.company-map .company-map-sort{display:flex;align-items:center;gap:7px;flex-shrink:0;color:var(--muted,#65606e);font-size:12px}
.company-map .company-map-sort select{min-height:40px;padding:7px 30px 7px 10px;border:1px solid var(--line,#dcd8e5);border-radius:6px;background:var(--surface,#fff);color:var(--text,#25222d);font:inherit}
.company-map .company-map-table-wrap{width:100%;margin-top:9px}
.company-map .company-map-company-table{width:100%;border-collapse:collapse;table-layout:fixed}
.company-map .company-map-company-table th,.company-map .company-map-company-table td{padding:12px 10px;border-top:1px solid var(--line,#dcd8e5);vertical-align:top;text-align:left}
.company-map .company-map-company-table th{color:var(--muted,#65606e);font-size:11px;font-weight:600}
.company-map .company-map-company-table th:nth-child(1){width:25%}.company-map .company-map-company-table th:nth-child(2){width:16%}.company-map .company-map-company-table th:nth-child(3){width:20%}.company-map .company-map-company-table th:nth-child(4){width:25%}.company-map .company-map-company-table th:nth-child(5){width:14%}
.company-map .company-map-company-table tbody tr:hover{background:color-mix(in srgb,var(--surface-raised,#f4f1f8) 52%,transparent)}
.company-map .company-map-company-name{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:44px;gap:2px;color:var(--text,#25222d);font-weight:650;text-decoration:none}
.company-map .company-map-company-name:hover{text-decoration:underline;text-underline-offset:3px}
.company-map .company-map-company-name strong{font-weight:650;line-height:1.4}
.company-map .company-map-company-english{max-width:100%;overflow:hidden;color:var(--muted,#65606e);font-size:11px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.company-map .company-map-company-location{display:inline-flex;align-items:center;min-height:44px;padding:4px 0;border:0;background:none;color:var(--accent,#5834ac);font:inherit;text-align:left}
.company-map .company-map-company-location:hover{text-decoration:underline;text-underline-offset:3px}
.company-map .company-map-company-location.is-pending,.company-map .company-map-source.is-pending,.company-map .company-map-category-empty{color:var(--muted,#65606e)}
.company-map .company-map-category-list{display:flex;flex-wrap:wrap;gap:5px;max-height:68px;overflow:hidden;padding:5px 0;line-height:1.5}
.company-map .company-map-category{display:inline-block;max-width:100%;overflow:hidden;padding:3px 6px;border:1px solid var(--line,#dcd8e5);border-radius:4px;color:var(--muted,#65606e);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.company-map .company-map-category-empty{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
.company-map .company-map-company-links{display:flex;align-items:center;flex-wrap:wrap;gap:3px 12px;min-height:44px;color:var(--muted,#65606e);font-size:12px}
.company-map .company-map-company-links a,.company-map .company-map-source{display:inline-flex;align-items:center;min-height:44px;color:var(--accent,#5834ac);text-decoration:none}
.company-map .company-map-company-links a:hover,.company-map .company-map-source:hover{text-decoration:underline;text-underline-offset:3px}
.company-map .company-map-product-count{font-variant-numeric:tabular-nums;white-space:nowrap}
.company-map .company-map-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;color:var(--muted,#65606e);font-size:12px}
.company-map .company-map-pagination button{min-height:44px;padding:7px 12px;border:1px solid var(--line,#dcd8e5);border-radius:6px;background:transparent;color:var(--text,#25222d);font:inherit}
.company-map .company-map-empty-note{display:block;padding:16px 2px;color:var(--muted,#65606e);font-size:12px}
.company-map .company-map-method{margin-top:18px;color:var(--muted,#65606e);font-size:12px}
.company-map .company-map-method summary{display:flex;align-items:center;min-height:44px;cursor:pointer}
.company-map .company-map-method p{max-width:85ch;line-height:1.8}
.company-map .company-map-method a{color:var(--accent,#5834ac)}
.company-map .company-map-loading,.company-map .company-map-error{text-align:center;padding:24px;color:var(--muted,#65606e)}
.company-map .company-map-error p{margin:0 0 12px}
.company-map :is(button,input,select,a,summary):focus-visible{outline:2px solid var(--accent,#5834ac);outline-offset:3px}
.company-map[data-map-expanded]::before{content:"";position:fixed;inset:0;z-index:1000;background:color-mix(in srgb,var(--surface,#fff) 94%,var(--accent,#5834ac))}
.company-map[data-map-expanded] .company-map-canvas{position:fixed;inset:12px;z-index:1001;max-height:calc(100vh - 24px);overflow:auto;padding:16px;border-radius:12px;box-shadow:0 16px 48px rgb(37 34 45 / 22%)}
.company-map[data-map-expanded] .company-map-plot,.company-map .company-map-canvas:fullscreen .company-map-plot{height:calc(100vh - 176px);min-height:260px;max-height:none}
.company-map .company-map-canvas:fullscreen{width:100vw;height:100vh;overflow:auto;padding:16px;border:0;border-radius:0;background:var(--surface,#fff)}

@media(max-width:900px){
  .company-map-page .company-map{margin-top:12px;padding-top:12px}
  .company-map .company-map-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .company-map .company-map-heading>div:first-child{display:none}
  .company-map .company-map-heading-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:8px}
  .company-map .company-map-scopes,.company-map .company-map-view-toggle{width:100%;min-width:0}
  .company-map .company-map-scopes button,.company-map .company-map-view-toggle button{flex:1;min-width:0;padding:7px 5px;font-size:13px}
  .company-map .company-map-view-toggle{display:flex}
  .company-map .company-map-tools{grid-template-columns:1fr;gap:10px}
  .company-map .company-map-filter-disclosure{border:1px solid var(--line,#dcd8e5);border-radius:7px;background:var(--surface,#fff)}
  .company-map .company-map-filter-disclosure>summary{display:flex;align-items:center;min-height:44px;padding:0 12px;color:var(--text,#25222d);font-size:13px;font-weight:650;cursor:pointer}
  .company-map .company-map-filter-disclosure>summary::after{content:'＋';margin-left:auto;color:var(--accent,#5834ac)}
  .company-map .company-map-filter-disclosure[open]>summary::after{content:'−'}
  .company-map .company-map-filter-disclosure:not([open]) .company-map-filter-fields{display:none}
  .company-map .company-map-filter-fields{grid-template-columns:1fr 1fr;gap:10px;padding:0 10px 10px}
  .company-map .company-map-filter-fields .company-map-clear{grid-column:1/-1;width:max-content;justify-self:start}
  .company-map .company-map-layout{display:block}
  .company-map .company-map-layout[data-map-view=map] .company-map-results{display:none}
  .company-map .company-map-layout[data-map-view=companies] .company-map-canvas{display:none}
  .company-map .company-map-canvas{padding:9px}
  .company-map .company-map-plot{height:320px}
  .company-map .company-map-canvas-tools{align-items:flex-start;flex-wrap:wrap}
  .company-map .company-map-canvas-actions{margin-left:auto}
  .company-map .company-map-result-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}
  .company-map .company-map-result-summary>div{min-height:58px;padding:10px 8px;gap:5px}
  .company-map .company-map-result-summary>div:last-child{grid-column:1/-1;border-top:1px solid var(--line,#dcd8e5);border-right:0;justify-content:flex-start}
  .company-map .company-map-result-summary strong{font-size:19px}
  .company-map .company-map-region-bars,.company-map .company-map-region-more-list{grid-template-columns:1fr}
  .company-map .company-map-region-bar{min-height:44px;grid-template-columns:minmax(58px,90px) minmax(0,1fr) 32px}
  .company-map .company-map-list-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .company-map .company-map-sort{width:100%;justify-content:space-between}
  .company-map .company-map-sort select{min-height:44px}
  .company-map .company-map-table-wrap{margin-top:4px}
  .company-map .company-map-company-table,.company-map .company-map-company-table tbody,.company-map .company-map-company-table tr,.company-map .company-map-company-table td{display:block;width:100%}
  .company-map .company-map-company-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .company-map .company-map-company-table tr{padding:10px 0;border-top:1px solid var(--line,#dcd8e5)}
  .company-map .company-map-company-table td{display:grid;grid-template-columns:minmax(5.5em,7em) minmax(0,1fr);gap:8px;align-items:start;padding:3px 0;border:0}
  .company-map .company-map-company-table td::before{content:attr(data-label);padding-top:8px;color:var(--muted,#65606e);font-size:11px}
  .company-map .company-map-company-table td[data-label=企业]{padding-top:8px}
  .company-map .company-map-company-name{min-height:44px}
  .company-map .company-map-company-location,.company-map .company-map-category-empty,.company-map .company-map-company-links a,.company-map .company-map-source{min-height:44px}
  .company-map .company-map-category-list{max-height:none;padding:4px 0}
  .company-map .company-map-company-links{min-height:44px;gap:3px 10px}
  .company-map .company-map-method summary{min-height:44px}
  .company-map .company-map-canvas-actions{display:contents}
  .company-map .company-map-canvas-actions .company-map-expand{margin-left:auto}
  .company-map .company-map-marker-toggle{min-height:32px;width:100%;margin:0}
  .company-map .company-map-map-summary{flex-wrap:wrap;gap:3px}
  .company-map .company-map-map-summary span{display:none}
  .company-map[data-map-expanded] .company-map-canvas{inset:8px;max-height:calc(100vh - 16px);padding:12px}
  .company-map[data-map-expanded] .company-map-plot,.company-map .company-map-canvas:fullscreen .company-map-plot{height:calc(100vh - 176px)}
}

@media(max-width:390px){
  .company-map .company-map-filter-fields{grid-template-columns:1fr}
  .company-map .company-map-filter-fields .company-map-clear{grid-column:auto}
  .company-map .company-map-plot{height:300px}
  .company-map .company-map-canvas-actions{width:100%;margin-left:0}
  .company-map .company-map-canvas-actions .company-map-expand{margin-left:auto}
  .company-map .company-map-result-summary>div{padding:9px 7px}
}

/* Keep the route's compact heading and honest zero-value colors. */
.company-map-page .page-intro{padding:32px 0 12px}
.company-map-page .page-intro h1{font-size:36px}
.company-map-page .page-intro p{margin-top:10px}
[data-theme=dark] .company-map{--map-empty:#333039}
.company-map .company-map-result-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}
.company-map .company-map-summary-pending{display:flex;align-items:baseline;gap:8px;min-height:44px;padding:0;border:0;background:transparent;color:var(--accent);font:inherit;text-align:left}
.company-map .company-map-summary-pending:disabled{color:var(--muted);opacity:1;cursor:default}
.company-map .company-map-summary-pending span{color:inherit}
.company-map .company-map-result-summary>div{min-height:64px;align-items:center}
.company-map .company-map-regions{margin-top:32px;padding-top:20px;border-top:1px solid var(--line)}
@media(max-width:900px){
 .company-map-page .page-intro{padding:24px 0 10px}
 .company-map-page .page-intro h1{font-size:30px}
 .company-map .company-map-result-summary>div,.company-map .company-map-result-summary>div:last-child{grid-column:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-height:66px;border-top:0;border-right:1px solid var(--line)}
 .company-map .company-map-result-summary>div:last-child{border-right:0}
 .company-map .company-map-summary-pending{flex-direction:column;gap:5px;justify-content:center;font-size:12px}
 .company-map .company-map-scopes button,.company-map .company-map-view-toggle button{min-height:44px}
 .company-map .company-map-marker-toggle{min-height:44px}
 .company-map .company-map-canvas-tools{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px}
 .company-map .company-map-canvas-actions .company-map-expand{grid-column:2;grid-row:1}
 .company-map .company-map-canvas-actions .company-map-marker-toggle{grid-column:1/-1;grid-row:2}
}
/* Network surface, with the reference's black field and white logo disks. */
.brand-logo{--logo-bg:#fff;display:inline-flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--logo-bg);border:1px solid #ffffff24;overflow:hidden;vertical-align:middle}.brand-logo img{width:78%;height:78%;object-fit:contain}.brand-logo.logo-missing{background:#211a2d;color:#c5b4e0}.company-top>.brand-logo{width:56px;height:56px;margin-right:0}.robot-company{display:flex;align-items:center;gap:5px}.robot-company .brand-logo{width:20px;height:20px;margin-right:2px}.detail-company{display:flex;align-items:center;gap:9px}.detail-company .brand-logo{width:29px;height:29px}
.network-page .page-intro{padding-bottom:33px}.network-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:52px 0 38px}.network-eyebrow{display:block;color:#b399df;font-size:11px;font-weight:600;letter-spacing:2.3px;margin-bottom:18px}.network-heading h1{font-size:clamp(34px,4vw,56px);line-height:1.22;letter-spacing:-2px;margin:0;font-weight:850}.network-heading h1 span{display:block;color:#a78bfa}.network-heading p{color:#aba6b8;line-height:1.85;font-size:13px;margin:16px 0 0}.network-heading-stats{display:flex;gap:28px;padding-bottom:7px;white-space:nowrap}.network-heading-stats div{display:flex;flex-direction:column;gap:8px}.network-heading-stats strong{font-size:36px;font-weight:650;letter-spacing:-1px;line-height:1}.network-heading-stats span{font-size:11px;color:#a8a1b6}.network-disclosure{font-size:11px;color:#a9a2b5;display:flex;align-items:center;gap:7px;margin:18px 0 48px}.network-disclosure a{color:#c0a5ee;margin-left:auto;white-space:nowrap}
.network-host{position:relative;color:#eeebf4;font-size:13px}.network-toolbar{display:flex;align-items:center;gap:18px;padding:13px 0 18px}.network-tabs{display:flex;background:#14121a;border:1px solid #302b3c;border-radius:8px;padding:3px;flex:none}.network-tabs button{border:0;background:transparent;color:#aaa3b5;padding:10px 18px;border-radius:5px;font-size:12px;white-space:nowrap}.network-tabs button[aria-pressed=true]{background:#312242;color:#e2d0ff;box-shadow:inset 0 0 0 1px #76539b}.network-search{position:relative;display:flex;align-items:center;gap:9px;border:1px solid #332e3c;border-radius:7px;background:#111015;max-width:285px;flex:1;padding:0 12px;z-index:5}.network-search>svg{width:17px;height:17px;color:#aca3b9;flex:none}.network-search input{width:100%;height:40px;color:#eee8f7;background:transparent;border:0;outline:0;font:inherit;min-width:0}.network-search:focus-within{border-color:#b58be7;box-shadow:0 0 0 2px #a78bfa19}.network-search input::placeholder{color:#96909e}.network-results{position:absolute;top:calc(100% + 7px);left:0;right:0;border:1px solid #514360;border-radius:8px;background:#19141f;box-shadow:0 12px 35px #0009;padding:6px;max-height:340px;overflow:auto}.network-results button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 7px;border:0;background:transparent;border-radius:5px;color:#eee6f6}.network-results button:hover{background:#332441}.network-results .brand-logo{width:32px;height:32px}.network-results button span:not(.brand-logo){flex:1;min-width:0}.network-results small{display:block;font-size:11px;color:#aaa0b9;margin-top:4px}.network-results b{font-size:11px;color:#c3a1ed;white-space:nowrap;font-weight:500}.network-results p{font-size:12px;line-height:1.8;padding:8px}.network-options{display:flex;gap:16px;margin-left:auto}.network-options label{display:flex;align-items:center;gap:6px;color:#c0b8ca;font-size:11px;white-space:nowrap;cursor:pointer;min-height:40px}.network-options input{width:14px;height:14px;accent-color:#a78bfa;margin:0}
.network-workspace{display:grid;grid-template-columns:minmax(0,1fr) 278px;min-height:640px;border:1px solid #322a40;border-radius:12px;overflow:hidden;background:#0d0b12}.network-stage{position:relative;min-width:0;height:640px;overflow:hidden;background:#0a080f;isolation:isolate}.network-stage>.network-svg{display:block;width:100%;height:100%;stroke:none;fill:none;touch-action:none;cursor:grab}.network-stage>.network-svg:active{cursor:grabbing}.network-canvas-caption{position:absolute;top:25px;left:26px;z-index:1;pointer-events:none}.network-canvas-caption span{display:block;font-size:11px;letter-spacing:1.8px;color:#8d7ca7}.network-canvas-caption b{display:block;font-size:12px;color:#c3b4d7;font-weight:500;margin-top:8px}.network-sample{position:absolute;top:26px;right:24px;font-size:11px;color:#bbabd0;border:1px solid #463652;border-radius:5px;padding:5px 8px;pointer-events:none}.network-canvas-bottom{position:absolute;bottom:19px;left:22px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}.network-canvas-bottom p{font-size:11px;color:#a195b1;margin:0}.network-zoom{display:flex;align-items:center;border:1px solid #45364f;border-radius:7px;background:#17101fee;pointer-events:auto;padding:3px}.network-zoom button{width:33px;height:32px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#d9caed;border-radius:4px;font-size:22px;font-weight:300}.network-zoom button:hover{background:#372346}.network-zoom button svg{width:16px;height:16px}.network-zoom output{width:44px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums;color:#bbaecb}.network-zoom button[data-action=fit]{border-left:1px solid #43304d;border-radius:0;margin-left:3px}
.network-world{font-family:Noto,"PingFang SC","Microsoft YaHei",system-ui,"Noto Sans CJK SC",sans-serif}.network-edge{pointer-events:stroke;vector-effect:non-scaling-stroke}.network-edge-labels{font-size:11px;pointer-events:none;paint-order:stroke;stroke:#0a080f;stroke-width:5px;stroke-linejoin:round}.network-memberships line{stroke-width:.7;vector-effect:non-scaling-stroke}.network-company{cursor:pointer;outline:none;transition:opacity .18s}.network-company .network-halo{fill:#a47bdd08;stroke:#a279d875;stroke-width:1}.network-company .network-disc{stroke:#c3a3ee;stroke-width:1.3}.network-company:hover .network-halo,.network-company:focus-visible .network-halo,.network-company.is-selected .network-halo{stroke:#cfacff;stroke-width:2;fill:#ae7eee1a}.network-company:focus-visible .network-halo{stroke-width:3;stroke-dasharray:4 3}.network-company.is-selected .network-disc{stroke:#ddc2ff;stroke-width:2}.network-node-label{pointer-events:none}.network-node-label rect{fill:#0a080fe8;stroke:#3b2b4a;stroke-width:.7}.network-node-label text{fill:#c5b5d9;font-size:12px;stroke:none}.network-company:hover .network-node-label text,.network-company.is-selected .network-node-label text{fill:#f0dfff}.network-company image{pointer-events:none}.network-product{cursor:pointer;outline:none;transition:opacity .18s}.network-product .product-hit{fill:transparent}.network-product:hover>circle:last-child,.network-product:focus-visible>circle:last-child,.network-product.is-selected>circle:last-child{stroke:#fff;stroke-width:2;fill:#d6b7ff;r:7}.network-tooltip{position:absolute;bottom:65px;left:23px;display:flex;gap:10px;align-items:center;padding:11px 15px;border:1px solid #5b3b73;background:#171020f5;border-radius:8px;max-width:calc(100% - 46px);pointer-events:none;z-index:2;box-shadow:0 6px 22px #0008}.network-tooltip .brand-logo{width:33px;height:33px}.network-tooltip b{display:block;font-size:12px;font-weight:550}.network-tooltip small{display:block;color:#b6a2ca;font-size:11px;margin-top:4px}.network-tooltip[hidden],.network-results[hidden]{display:none}
.network-detail{background:#121016;border-left:1px solid #302538;padding:23px 21px;min-width:0;max-height:640px;overflow:auto;scrollbar-width:thin;scrollbar-color:#4e3b60 transparent}.network-detail-kicker{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:1px;color:#b59aca;min-height:24px;margin-bottom:24px}.network-detail-kicker>span{color:#786c88}.network-detail-kicker button{padding:2px;border:0;background:transparent;color:#b5a1c9;display:flex}.network-detail-kicker button svg{width:18px;height:18px}.network-detail h2{font-size:24px;line-height:1.4;letter-spacing:-.7px;font-weight:700;margin:0 0 11px}.network-detail-description{font-size:12px;line-height:1.85;color:#b4aabd;margin:0 0 21px}.network-guide-logos{display:flex;margin:22px 0 30px;padding-left:3px}.network-guide-logos button{padding:0;background:transparent;border:0;margin-left:-3px}.network-guide-logos .brand-logo{width:43px;height:43px;border:3px solid #121016}.network-guide{list-style:none;margin:0;padding:0;display:grid;gap:23px}.network-guide li{display:flex;align-items:flex-start;gap:14px}.network-guide li>b{font-size:11px;line-height:20px;color:#87659e;font-weight:500}.network-guide li>span{color:#e4d8ed;font-size:12px}.network-guide small{display:block;font-size:11px;color:#a294ad;line-height:1.7;margin-top:4px}.network-detail-note{margin-top:32px;padding-top:18px;border-top:1px solid #302535;font-size:11px;color:#c1acd0}.network-detail-note p{line-height:1.8;color:#a89aaf;margin:8px 0 12px}.network-detail-note a{color:#b794d9}.network-detail-brand{display:flex;align-items:center;gap:12px;margin-bottom:17px}.network-detail-brand .brand-logo{width:52px;height:52px}.network-detail-brand>span:not(.brand-logo){font-size:11px;color:#cab8d9;line-height:1.5}.network-detail-brand small{display:block;color:#9d8dac;font-size:11px;margin-top:3px;overflow-wrap:anywhere}.network-official{border:1px solid #524060;background:#2a1d37;color:#d7b8f3;display:flex;align-items:center;justify-content:space-between;border-radius:6px;padding:10px 13px;font-size:12px}.network-official:hover{background:#3c274e}.network-detail-section{margin-top:25px}.network-detail-section h3{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:500;margin:0 0 11px}.network-detail-section h3>span{font-size:11px;color:#b5a1c4;font-weight:400}.network-connection-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}.network-connection-list button{display:flex;align-items:center;gap:10px;padding:9px 4px;width:100%;text-align:left;color:#ded3e7;background:transparent;border:0;border-bottom:1px solid #29202f}.network-connection-list button:hover{background:#22172c}.network-connection-list .brand-logo{width:29px;height:29px}.network-connection-list button>span:not(.brand-logo){flex:1;min-width:0;font-size:12px;overflow-wrap:anywhere}.network-connection-list small{display:block;font-size:11px;margin-top:4px}.network-connection-list b{font-size:12px;font-weight:400;color:#947da6}.network-robot-links{display:flex;flex-wrap:wrap;gap:6px}.network-robot-links button{font-size:11px;color:#c3add6;border:1px solid #40304a;border-radius:4px;padding:6px 8px;background:#201626;text-align:left;line-height:1.5}.network-robot-links button:hover{background:#36233f;border-color:#9875b3}.network-browse{display:inline-block;color:#b794d6;font-size:11px;margin-top:13px}.network-source-note,.network-no-edges{font-size:11px;line-height:1.8;color:#a79aaf}.network-source-note{border-top:1px solid #302435;padding-top:15px;margin-top:22px}.network-open-product{margin-top:10px;width:100%;justify-content:center;font-size:12px}.network-legend{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:18px 0 14px;border-bottom:1px solid #27212e}.network-legend button{display:flex;align-items:center;gap:7px;font-size:11px;color:#b5a8c5;padding:8px 10px;border:1px solid transparent;border-radius:6px;background:transparent;white-space:nowrap}.network-legend button i{width:7px;height:7px;border-radius:50%;background:var(--relation)}.network-legend button span{font-variant-numeric:tabular-nums;color:#9684a8;font-size:11px;margin-left:3px}.network-legend button[aria-pressed=true]{background:#2c1e3b;color:#e1c8fa;border-color:#6c4c85}.network-legend button:hover{background:#22182c}.network-legend button:disabled{opacity:.35;cursor:default}.network-footnote{display:flex;align-items:center;gap:18px;font-size:11px;color:#b0a0bc;padding:15px 0;line-height:1.6}.network-footnote>span:first-child{display:flex;align-items:center;gap:7px}.network-footnote i{display:inline-block;width:9px;height:9px;border:1px solid #b993e6;background:#fff;border-radius:50%}.network-footnote b{font-weight:400;color:#5f4b6d;margin:0 2px}.network-footnote .network-status{margin-left:auto;color:#9985ac}.network-footnote button{display:flex;gap:5px;align-items:center;color:#b7a1ca;background:transparent;border:0;font-size:11px;white-space:nowrap}.network-footnote button svg{width:13px;height:13px}.network-expanded{position:fixed;inset:0;z-index:100;background:#0a080f;padding:15px 24px;overflow:auto}.network-expanded .network-stage{height:calc(100dvh - 190px);min-height:360px}.network-expanded .network-detail{max-height:calc(100dvh - 190px)}.network-expanded .network-workspace{min-height:0}.network-error{padding:32px;font-size:13px}.network-mini .network-stage{height:235px;background:transparent}.network-mini .network-svg{cursor:default;pointer-events:none}.network-mini .network-node-label{display:none}.network-mini .network-company .network-halo{stroke:#9c6bcc80;fill:none}.network-mini .network-company .network-disc{stroke-width:1.5}.network-mini .network-workspace{border:0}.network-mini .network-companies{pointer-events:none}
@media(min-width:1600px){.network-stage{height:700px}.network-detail{max-height:700px}}
@media(max-width:1100px){.network-options{gap:10px}.network-toolbar{gap:12px;flex-wrap:wrap}.network-workspace{grid-template-columns:minmax(0,1fr) 252px}.network-canvas-bottom{flex-direction:column;align-items:flex-start;gap:10px}.network-canvas-bottom .network-zoom{align-self:flex-end}.network-canvas-bottom p{position:absolute;bottom:46px}.network-footnote{flex-wrap:wrap}.network-footnote .network-status{margin-left:0}.network-footnote button{margin-left:auto}.network-heading-stats{gap:18px}}
@media(max-width:800px){.network-workspace{grid-template-columns:1fr;min-height:0}.network-stage{height:550px}.network-detail{border-left:0;border-top:1px solid #302538;max-height:none;display:block;padding:24px}.network-guide{grid-template-columns:repeat(3,1fr);gap:16px}.network-detail-note{margin-top:24px}.network-detail h2 br{display:none}.network-detail-kicker{margin-bottom:14px}.network-guide-logos{margin:16px 0 23px}.network-detail-description{margin-bottom:16px}.network-heading-stats{display:none}.network-heading{padding:37px 0 25px}.network-heading h1{font-size:40px}.network-options{margin-left:auto}.network-search{max-width:none}.network-expanded{padding:12px}.network-expanded .network-stage{height:calc(100dvh - 230px);min-height:380px}.network-expanded .network-detail{max-height:none}.network-mini .network-stage{height:235px}}
@media(max-width:540px){.network-heading h1{font-size:35px;letter-spacing:-1.4px}.network-heading p{font-size:12px}.network-eyebrow{font-size:11px;margin-bottom:13px}.network-toolbar{gap:10px;padding-top:7px}.network-tabs{order:0;flex:1}.network-tabs button{flex:1;padding:10px 12px}.network-search{order:2;flex-basis:100%}.network-options{order:1;gap:9px}.network-options label{font-size:11px}.network-options label:last-child{display:none}.network-stage{height:460px}.network-canvas-caption{top:19px;left:17px}.network-canvas-caption span{font-size:11px;letter-spacing:1px}.network-canvas-caption b{font-size:11px}.network-sample{right:14px;top:18px;font-size:11px;padding:4px 6px}.network-canvas-bottom{left:16px;right:14px;bottom:15px}.network-canvas-bottom p{font-size:11px;bottom:45px}.network-zoom button{width:32px;height:32px}.network-detail{padding:21px}.network-guide{grid-template-columns:1fr;gap:17px}.network-detail h2{font-size:24px}.network-legend{gap:4px 2px;padding:12px 0}.network-legend button{padding:8px 9px;font-size:11px;gap:5px}.network-legend button span{margin-left:1px}.network-footnote{gap:10px;font-size:11px}.network-footnote>span:first-child{flex-basis:100%}.network-disclosure{align-items:flex-start;font-size:11px;line-height:1.8;flex-wrap:wrap;margin:12px 0 32px}.network-disclosure a{margin-left:0}.network-expanded .network-stage{height:480px}.network-expanded .network-toolbar{padding-top:0}.network-mini .network-stage{height:235px}}
@media(prefers-reduced-motion:reduce){.network-company,.network-product{transition:none}}
/* Catalog and evidence extensions retain the site's black / violet tokens. */
@media(prefers-reduced-motion:reduce){.network-host *{animation:none!important}}
.atlas-filters{display:flex;align-items:center;gap:18px;margin-bottom:16px;color:#b9afc7;font-size:12px;flex-wrap:wrap}.atlas-filters label,.catalog-filters label{display:flex;align-items:center;gap:8px}.atlas-filters select,.catalog-filters select{color:#ded4ec;background:#17121d;border:1px solid #493651;border-radius:6px;padding:8px 25px 8px 10px;font:inherit;max-width:250px}.atlas-filters>span{margin-left:auto;font-size:11px;color:#9f90ad}.atlas-clusters text{fill:#8e729e;font-size:20px;letter-spacing:3px;font-weight:650}.atlas-labels{pointer-events:none}.atlas-edge-hit{cursor:pointer;pointer-events:stroke;vector-effect:non-scaling-stroke;outline:none}.atlas-edge-hit:focus-visible{stroke:#ffffff60;stroke-width:5px}.atlas-evidence-type{font-size:12px;margin-bottom:12px}.atlas-parties{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0}.atlas-parties button{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:100px;color:#cdbcda;border:0;background:transparent;font-size:11px;line-height:1.6}.atlas-parties .brand-logo{width:44px;height:44px}.atlas-evidence-meta{font-size:11px;line-height:1.9;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:24px 0}.atlas-evidence-meta dt{color:#9c8ba9}.atlas-evidence-meta dd{margin:0;color:#d2c1df}.atlas-source{border-top:1px solid #3a2946;padding:16px 0}.atlas-source small{color:#9f8dac;font-size:11px}.atlas-source a{display:block;line-height:1.75;font-size:12px;color:#d1b3ec;margin:8px 0;overflow-wrap:anywhere}.atlas-source p{font-size:11px;color:#9e90a8;margin:0}.atlas-product-list{display:grid;gap:8px}.atlas-product-list button{display:flex;align-items:center;gap:12px;padding:6px;text-align:left;background:#1b1423;color:#e5d9ee;border:1px solid #382940;border-radius:6px;line-height:1.5;font-size:12px}.atlas-product-list img{width:48px;height:48px;object-fit:contain;background:#efedf1;border-radius:3px}.atlas-product-list small{display:block;font-size:11px;color:#a796b7;margin-top:3px}.atlas-product-list button:hover{border-color:#a78bfa}.atlas-empty{font-size:12px;color:#cfb6e6;line-height:1.8;border:1px solid #654878;padding:12px;border-radius:6px}.network-company text{pointer-events:none}.network-node-label text{font-size:13px}.network-connection-list b{white-space:nowrap;font-size:10px}.catalog-filters{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:6px 0 20px;font-size:12px;color:#b7abca}.catalog-filters .filter-note{margin-left:auto;color:#a996ba;font-size:11px}.catalog-coverage{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 0 22px;font-size:12px;color:#b4a1c7;border-bottom:1px solid #302635;margin-bottom:24px;line-height:1.8}.catalog-coverage strong{font-size:15px;color:#e2d3f1;font-weight:600}.catalog-coverage a{color:#c2a0e6;white-space:nowrap}.company-search{margin:22px 0;max-width:540px}.company-search input{height:44px;background:#151019;border:1px solid #4b3659;border-radius:6px;width:100%;padding:0 15px;color:#f0e5f8;font:inherit;font-size:13px}.company-results{display:block;margin:20px 0;color:#a995bc;font-size:12px}.company-card h2{overflow-wrap:anywhere}.company-actions{gap:12px;flex-wrap:wrap}.company-actions a{line-height:1.7}.company-grid .company-card{min-width:0}.company-counts{color:#b393ce;font-size:11px;margin:8px 0}.robot-media img{object-fit:contain;max-height:100%;padding:12px}.robot-media{background:#edeaf0}.robot-media .category-badge{color:#664783;background:#fffc;border:1px solid #a78bfa55}.robot-bottom>span{font-size:10px;color:#9f8eaf}.detail-image{background:#eeebf1}.detail-image>img{object-fit:contain;max-height:440px;width:100%;padding:25px}.detail-copy dl dd{overflow-wrap:anywhere}.detail-provenance{display:flex;gap:15px;flex-wrap:wrap;margin-top:18px}.detail-provenance a{font-size:11px;color:#b998d4;line-height:1.8}.evidence-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#32253d;border:1px solid #32253d;margin:0 0 40px}.evidence-stats>div{background:#15101b;padding:22px}.evidence-stats strong{display:block;font-size:30px;color:#d8bcf0;line-height:1.2}.evidence-stats span{font-size:12px;color:#a995b7;display:block;margin-top:10px}.evidence-relations{margin-top:30px}.evidence-relations details{border-top:1px solid #3b2946;padding:18px 0}.evidence-relations summary{cursor:pointer;font-size:14px;color:#ddc8ec;line-height:1.8}.evidence-relations p{font-size:12px!important}.evidence-relations a{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.8}.evidence-table{width:100%;border-collapse:collapse;font-size:12px;margin:20px 0}.evidence-table th,.evidence-table td{text-align:left;padding:12px;border-bottom:1px solid #38273e}.evidence-table th{font-weight:500;color:#ae96bd}.evidence-table td{color:#dec9eb}.evidence-copy code{word-break:break-all}.robot-company .brand-logo img{padding:0}.detail-note{overflow-wrap:anywhere}.robot-tags>span{line-height:1.6}
@media(max-width:800px){.atlas-filters>span{margin-left:0;width:100%}.catalog-filters{gap:10px}.catalog-filters select{max-width:190px}.evidence-stats{grid-template-columns:repeat(2,1fr)}.atlas-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-parties{justify-content:flex-start}.atlas-evidence-meta{max-width:330px}}
@media(max-width:540px){.catalog-coverage{align-items:flex-start;flex-direction:column;gap:5px}.catalog-filters label{width:100%;justify-content:space-between}.catalog-filters select{max-width:240px;flex:1}.catalog-filters .filter-note{margin-left:0}.atlas-filters{gap:10px;font-size:11px}.atlas-filters select{max-width:120px;padding-right:12px}.network-canvas-caption b{max-width:200px}.network-sample{top:62px;left:17px;right:auto}.network-canvas-bottom p{max-width:260px;font-size:10px}.atlas-product-list{grid-template-columns:1fr}.evidence-stats>div{padding:20px 14px}.robot-media img{padding:8px}}
/* Manual library and dossier rows keep the established near-black, violet-led atlas language. */
.manuals-library{padding-top:32px;padding-bottom:64px}.manuals-library .page-intro{max-width:760px}.manuals-library .page-intro h1{overflow-wrap:anywhere}.manual-search-form{max-width:760px;margin:30px 0 22px}.manual-search-form label{display:block;color:#cfc3dd;font-size:12px;line-height:1.8;margin-bottom:8px}.manual-search-form>div{display:flex;gap:10px;align-items:center}.manual-search-form input{flex:1;min-width:0;min-height:55px;background:#16151d;border:1px solid #4b3659;border-radius:10px;color:#f1f0f5;padding:0 16px;font:inherit;font-size:13px;caret-color:#a78bfa}.manual-search-form input::placeholder{color:#91879e}.manual-search-form input:focus{outline:2px solid #a78bfa;outline-offset:3px;border-color:#a78bfa}.manual-search-form button{min-width:86px;min-height:44px}.manual-filter-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:12px 0 18px;border-bottom:1px solid #29282f}.manual-filter{min-height:44px;border:1px solid #3c3246;border-radius:6px;background:transparent;color:#a19fae;padding:9px 14px;font:inherit;font-size:12px;cursor:pointer}.manual-filter span{color:#8f7aa7;font-variant-numeric:tabular-nums;margin-left:4px}.manual-filter:hover{border-color:#6d4b87;color:#d8c5eb}.manual-filter.active{background:#302040;border-color:#a78bfa;color:#f1eafa}.manual-filter.active span{color:#d8bcf0}.manual-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:#29282f;border:1px solid #29282f;margin:24px 0 42px}.manual-stats>div{min-width:0;background:#121216;padding:16px 18px}.manual-stats dt{color:#a19fae;font-size:11px;line-height:1.6}.manual-stats dd{margin:6px 0 0;color:#eee9f5;font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}.manual-results-heading{display:flex;justify-content:space-between;gap:18px;align-items:baseline;border-bottom:1px solid #29282f;padding-bottom:14px}.manual-results-heading h2{margin:0;font-size:22px;line-height:1.4}.manual-results-heading span{color:#a19fae;font-size:12px;line-height:1.8}.manual-library-list,.manual-dossier-list{border-top:0}.manual-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(155px,205px);gap:28px;border-bottom:1px solid #29282f;padding:24px 0;min-width:0}.manual-row-main{min-width:0}.manual-row-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}.manual-row-heading h3{margin:0;color:#f1f0f5;font-size:17px;line-height:1.55;font-weight:650;overflow-wrap:anywhere}.manual-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:27px;border:1px solid #51405d;border-radius:5px;padding:3px 8px;color:#c8b1de;font-size:11px;line-height:1.4;white-space:nowrap}.manual-badge-exact{border-color:#8b65bf;color:#d9c4f1}.manual-badge-series{border-color:#624c7a;color:#c5a9df}.manual-badge-company{border-color:#485060;color:#b9c3d8}.manual-badge-pending{border-color:#6b5531;color:#d9bb82}.manual-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:9px 0 10px;color:#a19fae;font-size:11px;line-height:1.7}.manual-meta span+span{position:relative}.manual-meta span+span::before{content:'·';position:absolute;left:-9px;color:#594a63}.manual-manufacturer{margin:0 0 12px;color:#bcb4c8;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.manual-dossier-link{color:#cfb5eb;text-decoration:underline;text-decoration-color:#684c82;text-underline-offset:3px}.manual-dossier-link:hover{color:#f1e6ff}.manual-match-lines{display:grid;gap:8px}.manual-match-line{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;color:#c8bfd2;font-size:12px;line-height:1.8;min-width:0}.manual-model-scope{overflow-wrap:anywhere}.manual-evidence{color:#b89ed1;font-variant-numeric:tabular-nums}.manual-match-note{color:#9f95a8;flex-basis:100%;font-size:11px}.manual-match-product{flex-basis:100%;font-size:12px}.manual-review-note{margin:12px 0 0;color:#b99fcf;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.manual-price{align-self:start;display:grid;gap:7px;min-width:0;padding-top:2px}.manual-price strong{color:#eee7f4;font-size:17px;line-height:1.4;font-variant-numeric:tabular-nums}.manual-price span{color:#a19fae;font-size:11px;line-height:1.7}.manual-buy{min-height:44px;border:1px solid #4a4051;border-radius:7px;background:var(--surface,#121216);color:var(--text,#f1f0f5);padding:9px 13px;font:inherit;font-size:12px;cursor:pointer}.manual-buy:disabled{opacity:1;background:var(--surface-2,#19191f);color:var(--muted,#a19fae);cursor:not-allowed}.manual-buy:focus-visible,.manual-filter:focus-visible,.manual-more:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}.manual-more{display:block;width:max-content;margin:22px auto 0;min-height:44px;line-height:24px}.manual-empty-state{border-top:1px solid #29282f;border-bottom:1px solid #29282f;padding:42px 0}.manual-empty-state h2{margin:0 0 10px;font-size:21px;line-height:1.5}.manual-empty-state p{margin:0 0 18px;color:#aaa0b3;font-size:13px;line-height:1.9;max-width:65ch}.manual-dossier-section .manual-row{grid-template-columns:minmax(0,1fr) minmax(145px,185px)}.manual-dossier-section .manual-results-heading{margin-top:0}.manual-dossier-section .manual-row:first-child{border-top:1px solid #29282f}.manual-dossier-section .manual-empty{border-top:1px solid #29282f;border-bottom:1px solid #29282f;padding:20px 0;max-width:70ch}.manual-dossier-section .manual-price{padding-top:0}
@media(max-width:820px){.manual-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.manual-row,.manual-dossier-section .manual-row{grid-template-columns:minmax(0,1fr) minmax(140px,180px);gap:20px}}
@media(max-width:600px){.manuals-library{padding-top:22px;padding-bottom:46px}.manual-search-form{margin-top:24px}.manual-search-form>div{align-items:stretch;flex-direction:column}.manual-search-form input{width:100%;flex:none}.manual-search-form button{width:100%}.manual-filter-row{gap:6px}.manual-filter{flex:1 1 calc(50% - 6px);padding-inline:8px}.manual-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:32px}.manual-stats>div{padding:14px}.manual-stats>div:last-child{grid-column:span 2}.manual-results-heading{display:block}.manual-results-heading span{display:block;margin-top:5px}.manual-row,.manual-dossier-section .manual-row{grid-template-columns:1fr;gap:16px;padding:20px 0}.manual-row-heading{display:block}.manual-row-heading .manual-badge{margin-top:10px}.manual-price{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;padding-top:2px}.manual-price strong{grid-row:span 2}.manual-price span{align-self:end}.manual-price .manual-buy{grid-column:2;align-self:start}.manual-match-line{gap:6px}.manual-more{width:100%;text-align:center}}

.manual-subscription{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:26px 0 30px;padding:24px 0;border-top:1px solid #4b3659;border-bottom:1px solid #29282f}.manual-subscription>div{min-width:0}.manual-subscription h2{font-size:20px;line-height:1.5;margin:0 0 8px}.manual-subscription-benefit{margin:0;color:#d6c5e5;font-size:14px;line-height:1.8}.manual-subscription-note{margin:8px 0 0;color:#a19fae;font-size:11px;line-height:1.8;max-width:68ch}.manual-subscription-action{display:grid;gap:9px;flex:0 0 205px}.manual-subscription-action strong{font-size:26px;line-height:1.3;font-variant-numeric:tabular-nums;color:#cbb0f8}.manual-subscription-action span{color:#a19fae;font-size:11px;line-height:1.7}.manual-price strong{font-size:13px}.manual-dossier-section .manual-subscription{margin-top:20px}.manual-dossier-section .manual-subscription h2{font-size:18px}
@media(max-width:600px){.manual-subscription{align-items:stretch;flex-direction:column;gap:18px;padding:20px 0}.manual-subscription-action{flex-basis:auto;grid-template-columns:1fr 1fr;align-items:center}.manual-subscription-action span{grid-column:1/-1}.manual-price{grid-template-columns:1fr 1fr}.manual-price strong{grid-row:auto}.manual-price span{grid-column:1;align-self:start}.manual-price .manual-buy{grid-column:2;grid-row:1/3}}

.manual-filter-select-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px 10px;padding:14px 0 18px;border-bottom:1px solid #29282f}.manual-filter-field{display:grid;flex:1 1 170px;min-width:160px;gap:6px;color:#cfc3dd;font-size:12px;line-height:1.6}.manual-filter-field>span{display:block}.manual-filter-select{width:100%;min-height:44px;border:1px solid #4b3659;border-radius:8px;background:#16151d;color:#f1f0f5;padding:0 12px;font:inherit;font-size:12px;color-scheme:dark}.manual-filter-select:hover{border-color:#6d4b87}.manual-filter-select:focus-visible{outline:2px solid #a78bfa;outline-offset:3px;border-color:#a78bfa}.manual-filter-note{flex:1 0 100%;margin:0;color:#91879e;font-size:11px;line-height:1.75}.manual-results-title{min-width:0}.manual-active-filters{margin:5px 0 0;color:#a19fae;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.manual-results-actions{display:flex;align-items:baseline;justify-content:flex-end;gap:14px;flex-wrap:wrap}.manual-clear{color:#cfb5eb;font-size:12px;line-height:1.8;text-decoration:underline;text-decoration-color:#684c82;text-underline-offset:3px;white-space:nowrap}.manual-clear:hover{color:#f1e6ff}.manual-clear:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}
@media(max-width:600px){.manual-filter-field{flex-basis:100%;min-width:0}.manual-filter-select-row{gap:10px;padding-top:12px}.manual-results-heading{display:block}.manual-results-actions{justify-content:flex-start;margin-top:8px;gap:10px}.manual-results-actions span{display:inline;margin-top:0}}

:root[data-theme="light"] .manual-filter-select-row{border-color:#dedbe6}:root[data-theme="light"] .manual-filter-field{color:#5d5968}:root[data-theme="light"] .manual-filter-select{border-color:#c9c4d4;background:#ffffff;color:#302b38;color-scheme:light}:root[data-theme="light"] .manual-filter-select:hover{border-color:#8064c7}:root[data-theme="light"] .manual-filter-note,:root[data-theme="light"] .manual-active-filters{color:#5d5968}:root[data-theme="light"] .manual-clear{color:#5f3b9f;text-decoration-color:#a18acb}:root[data-theme="light"] .manual-clear:hover{color:#43268f}

.manual-advanced-filters{margin:0 0 28px;border-top:1px solid #29282f;border-bottom:1px solid #29282f}.manual-advanced-filters>summary{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:52px;padding:8px 0;color:#eee7f4;font-size:13px;line-height:1.6;cursor:pointer;list-style:none}.manual-advanced-filters>summary::-webkit-details-marker{display:none}.manual-advanced-filters>summary::marker{content:""}.manual-advanced-filters>summary:focus-visible{outline:2px solid #a78bfa;outline-offset:3px;border-radius:6px}.manual-advanced-label{color:#eee7f4;font-weight:650}.manual-advanced-count{color:#cbb0f8;font-size:11px;line-height:1.6;white-space:nowrap}.manual-advanced-summary{min-width:0;overflow:hidden;color:#a19fae;font-size:11px;line-height:1.6;text-overflow:ellipsis;white-space:nowrap}.manual-advanced-chevron{width:16px;height:16px;flex:0 0 16px;color:currentColor;transition:transform .16s ease}.manual-advanced-filters[open] .manual-advanced-chevron{transform:rotate(90deg)}.manual-advanced-filters[open]{padding-bottom:18px}.manual-advanced-body .manual-filter-select-row{padding-top:4px}.manual-advanced-body .manual-filter-row{border-bottom:0;padding-bottom:12px}.manual-advanced-body .manual-stats{margin:16px 0 0}
:root[data-theme="light"] .manual-advanced-filters{border-color:#dedbe6}:root[data-theme="light"] .manual-advanced-filters>summary{color:#302b38}:root[data-theme="light"] .manual-advanced-label{color:#302b38}:root[data-theme="light"] .manual-advanced-count{color:#5f3b9f}:root[data-theme="light"] .manual-advanced-summary{color:#5d5968}
@media(max-width:600px){.manuals-library{padding-top:18px}.manuals-library .page-intro p{margin-bottom:6px}.manuals-library .page-intro .intro-meta{margin-top:8px}.manuals-library>.manual-search-form{margin-top:14px;margin-bottom:12px}.manuals-library>.manual-search-form input{font-size:16px}.manual-advanced-filters{margin-bottom:24px}.manual-advanced-filters>summary{grid-template-columns:auto auto minmax(0,1fr) auto;min-height:48px;gap:4px 8px;padding-block:8px}.manual-advanced-summary{grid-column:1/-1;overflow-wrap:anywhere;white-space:normal}}

/* Membership access follows the authenticated session in every manual list. */
.manual-price[data-access-state="member"] strong{color:var(--purple,#a78bfa)}
.manual-price[data-access-state="member"] .manual-buy:not(:disabled){background:var(--accent,#7540d9);border-color:var(--accent,#7540d9);color:#fff;cursor:pointer}
.manual-price .manual-buy:not(:disabled):hover{border-color:var(--purple,#a78bfa)}

:root{--manual-disclosure-text:var(--purple,#cbb4e8);--manual-disclosure-body:var(--text,#c8bfd2);--manual-disclosure-muted:var(--muted,#a19fae);--manual-disclosure-line:var(--line,#29282f);--manual-disclosure-focus:var(--purple,#a78bfa)}
:root[data-theme="light"]{--manual-disclosure-text:#5f3b9f;--manual-disclosure-body:#4b4655;--manual-disclosure-muted:#5d5968;--manual-disclosure-line:#dedbe6;--manual-disclosure-focus:#8064c7}
.manual-row-status{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}.manual-match-count{color:var(--manual-disclosure-text);font-size:11px;line-height:1.6;font-variant-numeric:tabular-nums;white-space:nowrap}.manual-disclosure{margin-top:4px;color:var(--manual-disclosure-body)}.manual-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:6px 0;color:var(--manual-disclosure-text);font-size:12px;line-height:1.7;cursor:pointer;list-style:none}.manual-disclosure>summary::-webkit-details-marker{display:none}.manual-disclosure>summary::marker{content:""}.manual-disclosure>summary:hover{color:var(--text,#f1f0f5)}.manual-disclosure>summary:focus-visible{outline:2px solid var(--manual-disclosure-focus);outline-offset:3px;border-radius:6px}.manual-disclosure-label{min-width:0;overflow-wrap:anywhere}.manual-disclosure-chevron{width:16px;height:16px;flex:0 0 16px;color:currentColor;transition:transform .16s ease}.manual-disclosure[open] .manual-disclosure-chevron{transform:rotate(90deg)}.manual-disclosure-body{padding:4px 0 2px 24px}.manual-disclosure-body .manual-match-line{color:var(--manual-disclosure-body)}.manual-disclosure-body .manual-evidence{color:var(--manual-disclosure-text)}.manual-disclosure-body .manual-match-note,.manual-disclosure-body .manual-source-note{color:var(--manual-disclosure-muted)}.manual-disclosure-body .manual-review-note{color:var(--manual-disclosure-text)}
@media(max-width:600px){.manual-row-status{justify-content:flex-start;margin-top:10px}.manual-disclosure-body{padding-left:0}.manual-disclosure>summary{padding-block:8px}}
.manual-price[data-access-state="member"] .manual-buy:not(:disabled):hover{background:#6330c7;border-color:#6330c7;color:#fff}

/* Personal library controls stay compact, native and legible in both themes. */
.manual-view-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 4px;padding-bottom:14px;border-bottom:1px solid #29282f}.manual-view-tab{min-height:44px;border:1px solid #3c3246;border-radius:7px;background:transparent;color:#a19fae;padding:9px 16px;font:inherit;font-size:12px;cursor:pointer}.manual-view-tab:hover{border-color:#6d4b87;color:#d8c5eb}.manual-view-tab.active{background:#302040;border-color:#a78bfa;color:#f1eafa}.manual-view-tab:focus-visible,.manual-inline-action:focus-visible,.manual-favorite:focus-visible,.manual-request-panel summary:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}.manual-library-status{display:flex;align-items:center;gap:12px;min-height:44px;margin:12px 0 0;padding:8px 0;border-bottom:1px solid #29282f;color:#a19fae;font-size:11px;line-height:1.7}.manual-library-status.is-error{color:#e0c4a1}.manual-inline-action{min-height:44px;border:0;background:transparent;color:#cbb0f8;padding:7px 0;font:inherit;font-size:12px;text-decoration:underline;text-decoration-color:#684c82;text-underline-offset:3px;cursor:pointer}.manual-inline-action:hover{color:#f1e6ff}.manual-request-panel{margin:24px 0 4px;border-top:1px solid #4b3659;border-bottom:1px solid #29282f}.manual-request-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:8px 0;color:#eee7f4;font-size:14px;line-height:1.6;cursor:pointer;list-style:none}.manual-request-panel>summary::-webkit-details-marker{display:none}.manual-request-panel>summary::marker{content:""}.manual-request-panel>summary small{color:#a19fae;font-size:11px;line-height:1.7;text-align:right}.manual-request-panel>summary:focus-visible{border-radius:6px}.manual-request-chevron{width:16px;height:16px;flex:0 0 16px;color:currentColor;transition:transform .16s ease}.manual-request-panel[open] .manual-request-chevron{transform:rotate(90deg)}.manual-request-body{max-width:760px;padding:4px 0 24px}.manual-request-body label{display:grid;gap:7px;color:#cfc3dd;font-size:12px;line-height:1.7}.manual-request-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.manual-request-body input,.manual-request-body textarea{width:100%;min-height:44px;border:1px solid #4b3659;border-radius:8px;background:#16151d;color:#f1f0f5;padding:9px 12px;font:inherit;font-size:13px;caret-color:#a78bfa}.manual-request-body textarea{min-height:126px;resize:vertical;line-height:1.7}.manual-request-body input:focus,.manual-request-body textarea:focus{outline:2px solid #a78bfa;outline-offset:3px;border-color:#a78bfa}.manual-request-body input::placeholder,.manual-request-body textarea::placeholder{color:#91879e}.manual-request-hint{display:block;margin-top:7px;color:#91879e;font-size:11px;line-height:1.7}.manual-request-message{margin:0;color:#a19fae;font-size:12px;line-height:1.8}.manual-request-message.is-success{color:#cbb0f8}.manual-request-message.is-error{color:#e0c4a1}.manual-request-actions{display:flex;justify-content:flex-end;margin-top:14px}.manual-request-actions button{min-height:44px}.manual-request-login{margin:0;color:#bcb4c8;font-size:12px;line-height:1.9}.manual-request-login .manual-inline-action{margin-left:8px}.manual-row-title{min-width:0}.manual-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.manual-favorite{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:78px;min-height:44px;border:1px solid #4a4051;border-radius:7px;background:var(--surface,#121216);color:#bca8c9;padding:8px 11px;font:inherit;font-size:11px;cursor:pointer}.manual-favorite svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-linejoin:round;stroke-linecap:round;stroke-width:1.6}.manual-favorite:hover{border-color:#8060a6;color:#e7d9f0}.manual-favorite.is-favorited{border-color:#8060b1;color:#cbb0f8;background:#241a31}.manual-favorite.is-favorited svg{fill:currentColor}.manual-favorite.is-loading{color:#a19fae;cursor:wait}.manual-favorite-feedback{max-width:22ch;color:#a19fae;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.manual-favorite-feedback.is-error{color:#e0c4a1}.manual-source-metadata{margin:12px 0 10px;padding:10px 12px;border-top:1px solid var(--manual-disclosure-line);border-bottom:1px solid var(--manual-disclosure-line);color:var(--manual-disclosure-muted);font-size:11px;line-height:1.8}.manual-source-metadata p{margin:0;overflow-wrap:anywhere}.manual-source-metadata strong{color:var(--manual-disclosure-body);font-weight:600}.manual-activity{flex-basis:100%;color:var(--manual-disclosure-text);font-size:11px;line-height:1.7}.manual-personal-state{max-width:70ch}.manual-refresh-button{min-height:44px}
@media(max-width:820px){.manual-row-actions{justify-content:flex-start}}
@media(max-width:600px){.manual-view-tabs{gap:6px;margin-top:20px}.manual-view-tab{flex:1 1 calc(33.333% - 6px);padding-inline:7px}.manual-request-panel>summary{display:flex;flex-wrap:wrap;align-items:center;padding-block:10px}.manual-request-panel>summary small{display:block;flex:1 0 100%;margin-top:3px;text-align:left}.manual-request-fields{grid-template-columns:1fr}.manual-request-actions{justify-content:stretch}.manual-request-actions button{width:100%}.manual-row-heading{display:block}.manual-row-actions{justify-content:flex-start;margin-top:12px;flex-wrap:wrap}.manual-favorite-feedback{max-width:100%}}

:root[data-theme="light"] .manual-view-tabs{border-color:#dedbe6}:root[data-theme="light"] .manual-view-tab{border-color:#c9c4d4;color:#5d5968}:root[data-theme="light"] .manual-view-tab:hover{border-color:#8064c7;color:#43268f}:root[data-theme="light"] .manual-view-tab.active{background:#eee9fb;border-color:#8064c7;color:#5f3b9f}:root[data-theme="light"] .manual-library-status{border-color:#dedbe6;color:#5d5968}:root[data-theme="light"] .manual-library-status.is-error{color:#8d5d2f}:root[data-theme="light"] .manual-inline-action{color:#5f3b9f;text-decoration-color:#a18acb}:root[data-theme="light"] .manual-inline-action:hover{color:#43268f}:root[data-theme="light"] .manual-request-panel{border-color:#c9bedb}:root[data-theme="light"] .manual-request-panel>summary{color:#302b38}:root[data-theme="light"] .manual-request-panel>summary small,:root[data-theme="light"] .manual-request-login{color:#5d5968}:root[data-theme="light"] .manual-request-body label{color:#4b4655}:root[data-theme="light"] .manual-request-body input,:root[data-theme="light"] .manual-request-body textarea{border-color:#c9c4d4;background:#fff;color:#302b38;caret-color:#5d38b5}:root[data-theme="light"] .manual-request-body input::placeholder,:root[data-theme="light"] .manual-request-body textarea::placeholder,:root[data-theme="light"] .manual-request-hint{color:#777181}:root[data-theme="light"] .manual-request-message{color:#5d5968}:root[data-theme="light"] .manual-request-message.is-success{color:#5f3b9f}:root[data-theme="light"] .manual-request-message.is-error{color:#8d5d2f}:root[data-theme="light"] .manual-favorite{border-color:#c9c4d4;background:#fff;color:#5d5968}:root[data-theme="light"] .manual-favorite:hover{border-color:#8064c7;color:#43268f}:root[data-theme="light"] .manual-favorite.is-favorited{border-color:#8064c7;background:#eee9fb;color:#5f3b9f}:root[data-theme="light"] .manual-favorite-feedback.is-error{color:#8d5d2f}:root[data-theme="light"] .manual-source-metadata strong{color:#4b4655}

.manual-personal-filters{margin-top:16px;border-bottom:1px solid var(--line)}.manual-personal-filters>summary{min-height:44px;display:flex;align-items:center;gap:12px;cursor:pointer;color:var(--muted);font-size:13px}.manual-personal-filters>summary svg{margin-left:auto;width:16px;height:16px}.manual-personal-filters[open]>summary svg{transform:rotate(90deg)}.manual-personal-filters[open]{padding-bottom:20px}.membership-register-choice{margin-top:20px}.membership-register-choice>summary{min-height:44px;cursor:pointer;display:flex;align-items:center}

@media(max-width:600px){
 .manuals-library .page-intro{padding:16px 0 12px}
 .manuals-library .manual-view-tabs{margin-top:12px;padding-bottom:10px}
 .manuals-library>.manual-search-form>div{display:flex;flex-direction:row;align-items:stretch}
 .manuals-library>.manual-search-form button{width:auto;min-width:68px;padding-inline:14px}
 .manuals-library>.manual-search-form input{width:0;flex:1;min-height:48px;padding-inline:12px}
 .manuals-library .manual-advanced-filters>summary{grid-template-columns:auto auto minmax(0,1fr) 16px;min-height:48px;box-sizing:border-box}
 .manuals-library .manual-advanced-summary{grid-column:auto;white-space:nowrap}
 .manuals-library .manual-advanced-filters{margin-bottom:16px}
 .manuals-library .manual-results-heading{gap:8px;padding-bottom:10px}
 .manuals-library .manual-results-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 12px}
 .manuals-library .manual-density-control{flex-basis:100%}
}
/* Unified public-metadata search. The listbox is positioned against the visual viewport while open. */
.discovery-search-form{position:relative;z-index:20;overflow:visible}
.discovery-search-shell{position:relative;display:flex;align-items:center;flex:1;min-width:0;overflow:visible}
.discovery-search-shell input{width:100%;min-height:44px}
.discovery-suggestions{position:absolute;z-index:80;top:calc(100% + 8px);left:-8px;right:-8px;box-sizing:border-box;max-width:calc(100vw - 16px);margin:0;padding:6px;list-style:none;border:1px solid #4a3b5c;border-radius:10px;background:#17151d;box-shadow:0 16px 34px #08070d99;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.discovery-suggestions[hidden]{display:none}
.discovery-suggestions li{margin:0;padding:0}
.discovery-suggestions li a{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:44px;padding:9px 11px;border-radius:7px;color:#f1f0f5;text-decoration:none;line-height:1.5}
.discovery-suggestions li a:hover,.discovery-suggestions li a:focus-visible,.discovery-suggestions li[aria-selected="true"] a{background:#2a2036;color:#fff;outline:none}
.discovery-suggestions li a span{min-width:0;flex:1 1 auto;overflow-wrap:anywhere;word-break:break-word}
.discovery-suggestions li a small{min-width:0;max-width:48%;flex:0 1 48%;overflow:hidden;color:#a19fae;font-size:11px;line-height:1.45;text-align:right;overflow-wrap:anywhere;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.discovery-search-page-form{position:relative;z-index:10;max-width:720px;margin:25px 0 0;overflow:visible}
.discovery-search-page-form .search-form{max-width:none;margin:0}
.hero-copy.has-discovery-suggestions,.discovery-search-page-form.has-discovery-suggestions{z-index:35}
.discovery-inline-search{position:relative;z-index:1;margin:0 0 42px;padding:27px 0 0;border-top:1px solid #29282f;scroll-margin-top:120px}
.discovery-inline-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.discovery-inline-heading h2{margin:0;color:#eee7f4;font-size:22px;line-height:1.45}
.discovery-inline-heading p{margin-top:5px;color:#a19fae;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.discovery-clear-search{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:#cbb0f8;font-size:11px;white-space:nowrap}
.discovery-clear-search:hover,.discovery-clear-search:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
.discovery-inline-search .discovery-type-filters{margin-top:17px}
.discovery-inline-search .discovery-empty{margin-bottom:0}
.discovery-type-filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0;border-bottom:1px solid #29282f;padding-bottom:12px}
.discovery-type-filter{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #3c3246;border-radius:7px;color:#a19fae;font-size:12px;text-decoration:none}
.discovery-type-filter span{font-size:11px;color:#cbb0f8;font-variant-numeric:tabular-nums}
.discovery-type-filter:hover,.discovery-type-filter:focus-visible{border-color:#8060a6;color:#f1eafa;outline:2px solid #a78bfa;outline-offset:2px}
.discovery-type-filter.active{border-color:#a78bfa;background:#302040;color:#f1eafa}
.discovery-search-summary{margin:20px 0 8px;color:#a19fae;font-size:12px;line-height:1.7}
.discovery-result-group{margin:24px 0 0}
.discovery-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:10px;border-bottom:1px solid #29282f;padding-bottom:10px}
.discovery-group-heading h2{margin:0;color:#eee7f4;font-size:19px;line-height:1.45}
.discovery-group-heading span{color:#a19fae;font-size:11px;font-variant-numeric:tabular-nums}
.discovery-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.discovery-result-card{min-width:0;padding:17px 16px 15px;border:1px solid #29282f;border-radius:10px;background:#121216}
.discovery-result-card:hover{border-color:#5b4572}
.discovery-result-type{color:#bca8c9;font-size:10px;letter-spacing:.08em}
.discovery-result-card h3{margin:8px 0 5px;color:#f1f0f5;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.discovery-result-card h3 a{color:inherit;text-decoration:none}
.discovery-result-card h3 a:hover,.discovery-result-card h3 a:focus-visible{color:#cfb5eb;text-decoration:underline;text-underline-offset:3px}
.discovery-result-card p{min-height:3.4em;margin:0;color:#a19fae;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.discovery-result-open{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:10px;color:#cbb0f8;font-size:11px;text-decoration:none}
.discovery-result-open:hover,.discovery-result-open:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
.discovery-more{display:flex;width:max-content;align-items:center;justify-content:center;min-height:44px;margin:22px auto 0}
.discovery-empty{max-width:680px;margin:30px 0;padding:28px 0;border-top:1px solid #29282f;border-bottom:1px solid #29282f}
.discovery-empty h2{margin:0 0 8px;color:#eee7f4;font-size:20px;line-height:1.5}
.discovery-empty p{margin:0;color:#a19fae;font-size:12px;line-height:1.8}
.discovery-empty a.secondary{display:inline-flex;align-items:center;min-height:44px;margin-top:14px}
.discovery-examples{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.discovery-examples a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #3c3246;border-radius:7px;color:#cbb0f8;font-size:12px;text-decoration:none}
.discovery-examples a:hover,.discovery-examples a:focus-visible{border-color:#a78bfa;color:#fff;outline:2px solid #a78bfa;outline-offset:2px}
.discovery-index-note{margin:18px 0;color:#a19fae;font-size:11px;line-height:1.7}

/* Manual density is a presentation preference only; all gated actions and disclosures stay in the row. */
.manual-density-control{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.manual-density-label{color:#a19fae;font-size:11px;white-space:nowrap}
.manual-density-button{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:44px;border:1px solid #3c3246;border-radius:7px;background:transparent;color:#a19fae;padding:8px 10px;font:inherit;font-size:11px;cursor:pointer}
.manual-density-button:hover,.manual-density-button:focus-visible{border-color:#8060a6;color:#f1eafa;outline:2px solid #a78bfa;outline-offset:2px}
.manual-density-button.active{border-color:#a78bfa;background:#302040;color:#f1eafa}
.manuals-library[data-manual-density="compact"] .manual-row{grid-template-columns:minmax(0,1fr) minmax(120px,160px);gap:16px;padding-block:16px}
.manuals-library[data-manual-density="compact"] .manual-row-heading h3{font-size:16px}
.manuals-library[data-manual-density="compact"] .manual-meta span[data-manual-meta-item],.manuals-library[data-manual-density="compact"] .manual-meta .manual-activity{display:none}
.manuals-library[data-manual-density="compact"] .manual-disclosure{margin-top:2px}
.manuals-library[data-manual-density="detail"] .manual-row{grid-template-columns:minmax(0,1fr) minmax(155px,205px);gap:28px;padding-block:24px}

:root[data-theme="light"] .manual-density-label{color:#5d5968}
:root[data-theme="light"] .manual-density-button{border-color:#c9c4d4;color:#5d5968}
:root[data-theme="light"] .manual-density-button:hover,:root[data-theme="light"] .manual-density-button:focus-visible{border-color:#8064c7;color:#43268f}
:root[data-theme="light"] .manual-density-button.active{border-color:#8064c7;background:#eee9fb;color:#5f3b9f}

/* Header entry keeps the affordance visible on desktop and becomes icon-only on narrow screens. */
.header-search-entry{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;color:#b0aebb;font-size:12px;text-decoration:none;white-space:nowrap}
.header-search-entry svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}
.header-search-entry:hover,.header-search-entry:focus-visible{color:#fff;outline:2px solid #a78bfa;outline-offset:3px;border-radius:6px}

:root[data-theme="light"] .discovery-suggestions{border-color:#c9c4d4;background:#fff;box-shadow:0 16px 34px #3e315222}
:root[data-theme="light"] .discovery-suggestions li a{color:#302b38}
:root[data-theme="light"] .discovery-suggestions li a:hover,:root[data-theme="light"] .discovery-suggestions li a:focus-visible,:root[data-theme="light"] .discovery-suggestions li[aria-selected="true"] a{background:#eee9fb;color:#302b38}
:root[data-theme="light"] .discovery-suggestions li a small,:root[data-theme="light"] .discovery-search-summary,:root[data-theme="light"] .discovery-group-heading span,:root[data-theme="light"] .discovery-result-card p,:root[data-theme="light"] .discovery-index-note{color:#5d5968}
:root[data-theme="light"] .discovery-type-filters,:root[data-theme="light"] .discovery-group-heading,:root[data-theme="light"] .discovery-empty{border-color:#dedbe6}
:root[data-theme="light"] .discovery-type-filter{border-color:#c9c4d4;color:#5d5968}
:root[data-theme="light"] .discovery-type-filter span{color:#5f3b9f}
:root[data-theme="light"] .discovery-type-filter:hover,:root[data-theme="light"] .discovery-type-filter:focus-visible{border-color:#8064c7;color:#43268f}
:root[data-theme="light"] .discovery-type-filter.active{border-color:#8064c7;background:#eee9fb;color:#5f3b9f}
:root[data-theme="light"] .discovery-group-heading h2,:root[data-theme="light"] .discovery-result-card h3,:root[data-theme="light"] .discovery-empty h2{color:#302b38}
:root[data-theme="light"] .discovery-result-card{border-color:#dedbe6;background:#fff}
:root[data-theme="light"] .discovery-result-card:hover{border-color:#b3a0d0}
:root[data-theme="light"] .discovery-result-type,:root[data-theme="light"] .discovery-result-open,:root[data-theme="light"] .discovery-examples a{color:#5f3b9f}
:root[data-theme="light"] .discovery-empty p{color:#5d5968}
:root[data-theme="light"] .discovery-examples a{border-color:#c9c4d4}
:root[data-theme="light"] .header-search-entry{color:#5d5968}
:root[data-theme="light"] .header-search-entry:hover,:root[data-theme="light"] .header-search-entry:focus-visible{color:#43268f}

@media(max-width:600px){.discovery-suggestions li a{flex-direction:column;gap:2px;font-size:14px}.discovery-suggestions li a small{flex:none;max-width:100%;font-size:12px;text-align:left}}

@media(max-width:900px){.discovery-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-search-entry span{display:none}.header-search-entry{margin-left:auto}}
@media(max-width:600px){.discovery-search-page-form{margin-top:20px}.discovery-search-form input[role="combobox"]{font-size:16px}.discovery-suggestions{left:-5px;right:-5px}.discovery-inline-search{margin-bottom:32px;padding-top:22px}.discovery-inline-heading{align-items:flex-start;gap:10px}.discovery-inline-heading h2{font-size:19px}.discovery-clear-search{flex:0 0 auto}.discovery-result-grid{grid-template-columns:1fr;gap:10px}.discovery-result-card{padding:15px 14px}.discovery-result-card p{min-height:0}.discovery-type-filters{gap:6px}.discovery-type-filter{min-width:0;flex:1 1 calc(50% - 6px);justify-content:space-between;overflow-wrap:anywhere}.discovery-empty{margin-top:24px;padding:22px 0}.discovery-group-heading h2{font-size:17px}.manuals-library[data-manual-density="compact"] .manual-row,.manuals-library[data-manual-density="detail"] .manual-row{grid-template-columns:1fr;gap:16px;padding-block:20px}.manual-density-control{width:100%;justify-content:flex-start}}

:root[data-theme="light"] .discovery-inline-search{border-color:#dedbe6}
:root[data-theme="light"] .discovery-inline-heading h2{color:#302b38}
:root[data-theme="light"] .discovery-inline-heading p{color:#5d5968}
:root[data-theme="light"] .discovery-clear-search{color:#5f3b9f}
:root[data-theme="light"] .discovery-clear-search:hover,:root[data-theme="light"] .discovery-clear-search:focus-visible{color:#43268f}
#compare-tray{position:fixed;top:auto;left:16px;right:16px;bottom:max(12px,env(safe-area-inset-bottom));z-index:30;width:calc(100% - 32px);max-width:calc(var(--max) - 84px);min-width:0;box-sizing:border-box;margin:0 auto;padding:0 18px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 28px #08070d24;max-height:50vh;max-height:50dvh;overflow-x:hidden;overflow-y:auto}
#compare-tray.is-compare-focus-hidden{display:none}
body.has-compare-tray{padding-bottom:var(--compare-tray-height,148px)}
body.has-compare-tray .toast{bottom:calc(var(--compare-tray-height,148px) + 4px)}
body.has-compare-tray [data-compare-id],body.has-compare-tray [data-save],body.has-compare-tray .load-more{scroll-margin-bottom:var(--compare-tray-height,148px)}
#compare-tray .compare-tray-heading strong{font-size:14px}#compare-tray .compare-tray-heading>span{font-size:12px}#compare-tray .compare-tray-actions .primary{font-size:14px;font-weight:650}
.compare-tray-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:11px 0}
.compare-tray-heading{display:flex;flex-direction:column;gap:4px;white-space:nowrap;font-size:12px}.compare-tray-heading strong{color:var(--text)}.compare-tray-heading span{font-size:11px;color:var(--muted)}
.compare-tray-manage{display:none;align-items:center;justify-content:flex-start;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;color:var(--text);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compare-tray-manage:hover{border-color:var(--purple);color:var(--purple);background:var(--surface-2)}
.compare-tray-selection{min-width:0}.compare-tray-selection>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:12px;color:var(--muted)}.compare-tray-selection .compare-tray-items{max-height:180px;overflow:auto}
.compare-tray-items{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.compare-tray-item{display:inline-flex;align-items:center;gap:6px;max-width:220px;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding-left:7px;color:var(--text);font-size:11px;line-height:1.6}.compare-tray-item-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compare-tray-item button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;color:var(--muted);font-size:19px}.compare-tray-item button:hover{color:var(--purple);background:var(--surface-2)}
.compare-tray-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.compare-tray-actions button{min-height:44px}.compare-tray-actions .primary{padding:10px 14px}.compare-tray-actions .secondary{padding:10px 14px}
.compare-product-thumbnail{display:grid;place-items:center;flex:0 0 auto;overflow:hidden;object-fit:contain;background:#edeaf0;border-radius:5px;color:#6f6877;text-align:center;line-height:1.2}.compare-product-thumbnail-heading{width:64px;height:64px;padding:4px}.compare-product-thumbnail-small{width:32px;height:32px;padding:2px}.compare-product-thumbnail-placeholder{border:1px dashed var(--line);background:var(--surface-2);font-size:10px}.compare-product-thumbnail-placeholder>span{display:block;white-space:normal}
.compare-tray-item .compare-product-thumbnail{border-radius:4px}.compare-tray-item .compare-product-thumbnail-placeholder{font-size:8px}
.robot-card-actions{display:flex;align-items:center;gap:8px;margin-top:12px}.compare-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:9px 12px;border:1px solid #443451;border-radius:7px;color:#d6c5e7;font-size:11px;background:transparent}.compare-button:hover,.compare-button.is-selected{border-color:#8e64bd;color:#fff;background:#241a30}.compare-button.is-selected{color:#e2c9ff}
.compare-detail-button{min-height:44px}.saved-sync-state{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 25px;padding:14px 16px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:12px}.saved-sync-state p{color:var(--muted);line-height:1.7}.saved-sync-state.is-error{border-color:#80516c}.saved-sync-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.saved-sync-actions .muted{font-size:11px}
.compare-page{min-width:0;max-width:100%;padding-bottom:60px}.compare-page .page-intro{padding-bottom:27px}.compare-page .page-intro p{max-width:760px}.compare-notice{margin:0 0 20px;padding:12px 15px;border:1px solid #8a6a42;border-radius:8px;background:var(--surface);color:var(--muted);font-size:12px}.compare-notice p{line-height:1.8}.compare-notice p+p{margin-top:4px}.compare-table-region{min-width:0;max-width:100%}.compare-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.compare-table{width:100%;min-width:0;border-collapse:collapse;text-align:left;table-layout:fixed;color:var(--text);font-size:12px}.compare-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.compare-table th,.compare-table td{padding:15px 16px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.8;overflow-wrap:anywhere}.compare-table thead th{background:var(--surface-2);font-weight:600;color:var(--text)}.compare-table .compare-field-column{width:126px}.compare-table thead th:first-child,.compare-table tbody th{position:sticky;left:0;z-index:2;width:126px;color:var(--muted);background:var(--surface-2);border-right:1px solid var(--line)}.compare-table thead th:first-child{z-index:3}.compare-product-heading{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}.compare-product-heading-copy{min-width:0}.compare-product-heading-copy>span,.compare-product-heading-copy>small{display:block}.compare-product-heading-copy>span{overflow-wrap:anywhere}.compare-product-heading-copy>small{margin-top:4px;color:var(--muted);font-size:10px;font-weight:400}.compare-table tbody tr:last-child th,.compare-table tbody tr:last-child td{border-bottom:0}.compare-table tbody th{font-weight:500;background:color-mix(in srgb,var(--surface-2) 52%,var(--surface))}.compare-table td{color:var(--text)}.compare-missing{color:var(--muted)}.compare-value-note,.compare-spec-source{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.6}.compare-spec-source a,.compare-source-list a{color:var(--purple);text-decoration:underline;text-underline-offset:3px}.compare-source-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.compare-source-list li{min-width:130px}.compare-source-list li small{display:block;color:var(--muted);font-size:10px;line-height:1.5}.compare-swipe-hint{display:none;margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.compare-disclosure{margin-top:12px;color:var(--muted);font-size:11px;line-height:1.8}.compare-state{margin-top:10px}.compare-state .secondary{margin:5px 4px}
@media(max-width:800px){#compare-tray{padding:0 16px}.compare-tray-inner{grid-template-columns:1fr auto}.compare-tray-heading{grid-column:1/-1}.compare-tray-items{grid-column:1/-1}.compare-tray-actions{justify-content:flex-start}.saved-sync-state{align-items:flex-start;flex-direction:column}.compare-swipe-hint{display:block}.compare-table{font-size:14px}.compare-table thead th small,.compare-value-note,.compare-spec-source,.compare-source-list li small{font-size:12px}.compare-spec-source a,.compare-source-list a{display:inline-flex;align-items:center;min-height:44px}.compare-tray-actions button{min-width:44px}}
@media(max-width:600px),(max-width:900px) and (max-height:500px){#compare-tray{left:12px;right:12px;width:calc(100% - 24px);padding:0 12px}.compare-tray-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:8px 0}.compare-tray-heading{display:none}.compare-tray-manage{display:inline-flex;grid-column:1;grid-row:1}.compare-tray-actions{grid-column:2;grid-row:1;display:flex;justify-content:flex-end;gap:6px;width:auto}.compare-tray-actions button{width:auto;min-width:44px;padding:10px 12px}.compare-tray-selection{grid-column:1/-1;grid-row:2;width:100%}.compare-tray-selection:not([open]){display:none}.compare-tray-selection>summary{display:none}.compare-tray-selection .compare-tray-items{max-height:min(150px,25vh);padding-top:2px}.compare-tray-item{width:100%;max-width:100%;min-width:0}.compare-product-thumbnail-heading{width:56px;height:56px}.compare-page .page-intro{padding-top:39px}.compare-table th,.compare-table td{padding:12px 10px}.compare-swipe-hint{display:block}.robot-card-actions{margin-top:10px}}
@media(max-width:540px){.compare-tray-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px 8px}.compare-tray-actions .primary{padding-inline:10px}.compare-tray-actions .secondary{padding-inline:10px}.compare-table-wrap[data-compare-count="2"] .compare-table{min-width:472px}.compare-table-wrap[data-compare-count="3"] .compare-table{min-width:656px}.compare-table-wrap[data-compare-count="4"] .compare-table{min-width:840px}.compare-table-wrap[data-compare-count] .compare-product-column{width:184px}.compare-table .compare-field-column,.compare-table thead th:first-child,.compare-table tbody th{width:104px}.save-button{min-width:44px;min-height:44px}}
:root[data-theme="light"] .compare-button{border-color:#c9c4d4;color:#5f3b9f}:root[data-theme="light"] .compare-button:hover,:root[data-theme="light"] .compare-button.is-selected{border-color:#8064c7;color:#43268f;background:#eee9fb}:root[data-theme="light"] .compare-tray-item{background:var(--surface)}:root[data-theme="light"] .compare-table tbody th{background:var(--surface-2)}:root[data-theme="light"] .compare-product-thumbnail-placeholder{background:#f3f1f6;color:#5f5968}

/* Column widths depend on the number of selected products. */
.compare-table-wrap[data-compare-count="2"] .compare-table{min-width:566px}.compare-table-wrap[data-compare-count="3"] .compare-table{min-width:696px}.compare-table-wrap[data-compare-count="4"] .compare-table{min-width:814px}.compare-table-wrap[data-compare-count="2"] .compare-product-column{width:220px}.compare-table-wrap[data-compare-count="3"] .compare-product-column{width:190px}.compare-table-wrap[data-compare-count="4"] .compare-product-column{width:172px}
@media(max-width:540px){.compare-table-wrap[data-compare-count="2"] .compare-table{min-width:472px}.compare-table-wrap[data-compare-count="3"] .compare-table{min-width:656px}.compare-table-wrap[data-compare-count="4"] .compare-table{min-width:840px}.compare-table-wrap[data-compare-count] .compare-product-column{width:184px}.compare-table .compare-field-column,.compare-table thead th:first-child,.compare-table tbody th{width:104px}}

/* Values lead; long source conditions remain available without stretching every row. */
.compare-spec-value{display:block;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.55;color:var(--text)}
.compare-spec-note{margin-top:6px;font-size:12px;line-height:1.65;color:var(--muted)}
.compare-spec-note>summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;color:var(--purple);text-underline-offset:3px}
.compare-spec-note>summary:hover{text-decoration:underline}
.compare-spec-note>p{margin:4px 0;overflow-wrap:anywhere}
.compare-spec-note>summary:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
/* Membership surface: same charcoal canvas and restrained violet state language as the atlas. */
.account-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid #443451;border-radius:7px;background:#121016;color:#d9cbea;font-size:12px;white-space:nowrap;flex-shrink:0}.account-trigger svg{width:17px;height:17px;color:#a78bfa}.account-trigger:hover{border-color:#a78bfa;background:#241a30;color:#fff}.account-trigger[data-member-state="subscriber"]{border-color:#67508c;color:#efe6fb}.account-trigger[data-member-state="subscriber"] svg{color:#c8a9f4}
.membership-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100vh - 42px);padding:0;overflow:auto;background:#121116;border:1px solid #4f3c63;border-radius:16px;color:#f1f0f5;box-shadow:none}.membership-dialog::backdrop{background:#000c}.membership-dialog .membership-close{position:absolute;top:15px;right:15px;z-index:2}.membership-dialog .membership-close:hover{background:#3a2948;color:#fff}.membership-view{padding:42px 38px 34px;min-width:0}.membership-view h2{font-size:27px;line-height:1.35;letter-spacing:-.02em}.membership-view h3{font-size:17px;line-height:1.5}.membership-view p{font-size:13px;line-height:1.85}.membership-lead,.membership-account>p,.membership-view-heading p{margin-top:9px;color:#aaa1b2}.membership-view-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:24px}.membership-view-heading>div{min-width:0}.membership-state{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 9px;border:1px solid #544462;border-radius:5px;color:#c9b4e0;font-size:11px;line-height:1.4;white-space:nowrap}.membership-state.is-active{border-color:#6d5d8c;color:#dbc6f4}.membership-state.is-alert{border-color:#795a43;color:#e2c095}.membership-state.is-idle{color:#b9afbf}.membership-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}.membership-actions-stack{display:grid;gap:10px;align-items:stretch}.membership-actions-stack>*{width:100%}.membership-text-button,.membership-icon-text{padding:8px 0;color:#bdadd0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.membership-text-button:hover,.membership-icon-text:hover{color:#fff}.membership-icon-text{padding:7px 0;white-space:nowrap;text-decoration:none}.membership-muted{color:#9f97a8!important;font-size:11px!important}.membership-notice{margin:18px 0 0;padding:11px 13px;border:1px solid #5b466e;border-radius:7px;background:#1b1522;color:#dfc9ef!important;font-size:12px!important}.membership-tabs{display:flex;gap:4px;margin:25px 0 20px;border-bottom:1px solid #2b2730}.membership-tab{min-height:41px;padding:8px 14px;border-bottom:2px solid transparent;color:#a9a0b1;font-size:12px}.membership-tab:hover{color:#fff}.membership-tab.active{border-color:#a78bfa;color:#f0e7fc}.membership-form{display:grid;gap:15px}.membership-form label,.membership-support-form label{display:grid;gap:7px;color:#d5cbdf;font-size:12px;line-height:1.6}.membership-form input,.membership-support-form textarea{width:100%;min-height:44px;border:1px solid #4a3a54;border-radius:7px;background:#16141b;color:#f1f0f5;padding:10px 12px;outline:none;font:inherit;font-size:13px}.membership-form textarea,.membership-support-form textarea{resize:vertical;min-height:88px}.membership-form input:focus,.membership-support-form textarea:focus{border-color:#a78bfa;outline:2px solid #a78bfa;outline-offset:3px}.membership-form input:disabled,.membership-support-form textarea:disabled{opacity:.5}.membership-form button[type="submit"]{width:100%;margin-top:2px}.membership-form-message{padding:10px 12px;border:1px solid #70465b;border-radius:7px;background:#21151d;color:#e3b9c5!important;font-size:12px!important;line-height:1.7!important}.membership-form-message.is-success{border-color:#527c6b;background:#14241e;color:#b9e0ca!important}.membership-form-message[hidden]{display:none}.membership-loading{display:grid;justify-items:center;gap:15px;padding-top:70px;padding-bottom:70px;text-align:center;color:#b4a9ba}.membership-loader{width:22px;height:22px;border:2px solid #3b3047;border-top-color:#a78bfa;border-radius:50%;animation:membership-spin .75s linear infinite}.membership-problem{padding-top:50px;padding-bottom:48px}.membership-problem h2{margin-bottom:10px}.membership-problem p{color:#b8afc1;max-width:65ch}.membership-inline-problem{margin:8px 0 0;padding:16px;border:1px solid #624657;border-radius:8px;background:#1a131a}.membership-inline-problem h3{font-size:16px;margin-bottom:6px}.membership-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:22px 0;background:#29282f;border:1px solid #29282f}.membership-summary>div{min-width:0;padding:16px;background:#19171e}.membership-summary dt,.membership-order-meta dt{color:#a7a0ad;font-size:11px;line-height:1.5}.membership-summary dd,.membership-order-meta dd{margin:7px 0 0;color:#f1edf4;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.membership-payment-note{margin:18px 0 0;padding:12px 14px;border:1px solid #4d3d59;border-radius:7px;color:#c8bed0!important;font-size:12px!important;line-height:1.7!important}.membership-payment-note.is-ready{border-color:#486455;background:#131e19;color:#bce0c8!important}.membership-payment-note.is-pending{border-color:#665239;background:#211a15;color:#e0c69a!important}.membership-price-line{display:flex;align-items:baseline;gap:12px;padding:18px 0;border-top:1px solid #4b3659;border-bottom:1px solid #29282f}.membership-price-line strong{color:#cbb0f8;font-size:31px;font-variant-numeric:tabular-nums}.membership-price-line span{color:#aaa1b0;font-size:12px}.membership-checkout-form{margin-top:22px}.membership-checkout-form fieldset{padding:0;margin:0;border:0;min-inline-size:0}.membership-checkout-form fieldset:disabled{opacity:.66}.membership-checkbox{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px!important;color:#c9c0cf!important;line-height:1.8!important}.membership-checkbox input{width:18px;min-width:18px;height:18px;min-height:18px;margin:3px 0 0;accent-color:#7540d9}.membership-checkbox span{display:block}.membership-payment-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:27px;align-items:center;margin:26px 0 0}.membership-qr{width:240px;min-height:240px;display:grid;place-items:center;align-content:center;gap:9px;padding:10px;background:#fff;border:1px solid #84649f;border-radius:10px;color:#2a2130;text-align:center}.membership-qr img{display:block;width:220px;height:220px;object-fit:contain}.membership-qr-empty{background:#1a171e;color:#c8bfd0;border-color:#4d3d59}.membership-qr-empty small{max-width:18ch;color:#a39aa9;line-height:1.65}.membership-qr-error{padding:10px;color:#b97f92;font-size:11px!important}.membership-payment-copy{display:grid;gap:12px;align-content:center}.membership-payment-copy p{color:#b6adbd;font-size:12px}.membership-payment-copy strong{color:#f0e8f8;font-variant-numeric:tabular-nums}.membership-success-state{margin:25px 0;padding:21px;border:1px solid #4e775f;border-radius:9px;background:#121e18}.membership-success-state h3{color:#c5e4d0;margin-bottom:7px}.membership-success-state p{color:#bed0c4}.membership-orders .membership-view-heading{align-items:center}.membership-order-list{display:grid;gap:15px;margin-top:23px}.membership-order-card{padding:18px;border:1px solid #302a37;border-radius:10px;background:#17151b}.membership-order-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.membership-order-heading h3{font-size:15px;overflow-wrap:anywhere}.membership-order-heading p{margin-top:4px;color:#a69dab;font-size:11px}.membership-order-card code,.membership-payment-view code{font-family:inherit;color:#d5c6e3;font-size:12px;overflow-wrap:anywhere}.membership-order-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:17px 0 0;background:#2c2731;border:1px solid #2c2731}.membership-order-meta>div{padding:11px;background:#1d1a21;min-width:0}.membership-order-meta dd{font-size:12px}.membership-order-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.membership-support-form{display:grid;gap:9px;margin-top:17px;padding-top:16px;border-top:1px solid #332d38}.membership-support-form textarea{font-size:12px;min-height:78px}.membership-support-form button{justify-self:start}.membership-empty{margin-top:23px;padding:32px 18px;border-top:1px solid #29282f;border-bottom:1px solid #29282f;text-align:center}.membership-empty h3{margin-bottom:7px}.membership-empty p{color:#a9a0b1;font-size:12px}.membership-loading-inline{display:flex;align-items:center;justify-content:center;gap:10px;min-height:150px;color:#aaa0b1;font-size:12px}.membership-loading-inline .membership-loader{width:17px;height:17px}.membership-recovery p{max-width:64ch;color:#bbb1c2}.membership-recovery-code{margin:25px 0;padding:20px 17px;border:1px solid #6c4c8c;border-radius:8px;background:#1a1422;text-align:center}.membership-recovery-code code{color:#eddcff;font:650 24px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;overflow-wrap:anywhere}.membership-recovery .membership-actions{margin-top:0}
@keyframes membership-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.account-trigger span{display:none}.account-trigger{padding-inline:11px}.site-header{gap:17px}}
@media(max-width:800px){.account-trigger span{display:block}.account-trigger{min-height:40px;padding-inline:11px}.membership-view{padding:38px 28px 29px}}
@media(max-width:600px){.membership-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);border-radius:13px}.membership-view{padding:34px 21px 24px}.membership-view h2{font-size:23px}.membership-view-heading{gap:12px;margin-bottom:19px}.membership-view-heading .membership-state{font-size:10px}.membership-summary{grid-template-columns:1fr}.membership-payment-grid{grid-template-columns:1fr;gap:20px}.membership-qr{width:min(240px,100%);justify-self:center}.membership-payment-copy{gap:8px}.membership-order-meta{grid-template-columns:1fr}.membership-order-heading{display:block}.membership-order-heading .membership-state{margin-top:10px}.membership-recovery-code code{font-size:19px}.membership-actions>*{flex:1 1 auto}.membership-actions-stack>*{flex:none}.account-trigger{font-size:11px}.membership-tabs{overflow:auto}.membership-tab{flex:1 0 auto;padding-inline:10px}}
.membership-view-heading{padding-right:42px}
.membership-payment-options{display:grid;gap:8px;padding:0;margin:0;border:0;min-inline-size:0}.membership-payment-options legend{margin-bottom:1px;color:#d5cbdf;font-size:12px}.membership-payment-option{display:flex!important;align-items:flex-start;gap:10px!important;padding:11px 12px;border:1px solid #4a3a54;border-radius:7px;background:#16141b;color:#d5cbdf!important;cursor:pointer}.membership-payment-option:hover,.membership-payment-option.is-selected{border-color:#a78bfa;background:#241a30}.membership-payment-option:focus-within{outline:2px solid #a78bfa;outline-offset:3px}.membership-payment-option input{width:18px!important;min-width:18px!important;height:18px;min-height:18px!important;margin:2px 0 0!important;accent-color:#7540d9}.membership-payment-option span{display:grid;gap:3px;min-width:0}.membership-payment-option strong{color:#f1edf5;font-size:13px;font-weight:650}.membership-payment-option small{color:#aaa1b0;font-size:11px;line-height:1.6}.membership-payment-method-single{display:grid;grid-template-columns:auto auto;gap:2px 10px;margin:0;padding:11px 12px;border:1px solid #4a3a54;border-radius:7px;background:#16141b;color:#aaa1b0;font-size:12px}.membership-payment-method-single strong{color:#f1edf5;font-size:13px;font-weight:650}.membership-payment-method-single small{grid-column:1 / -1;color:#aaa1b0;font-size:11px;line-height:1.6}
:root[data-theme="light"] .membership-payment-options legend{color:#413c4c}:root[data-theme="light"] .membership-payment-option,:root[data-theme="light"] .membership-payment-method-single{border-color:#c9c4d4;background:#fff;color:#413c4c!important}:root[data-theme="light"] .membership-payment-option:hover,:root[data-theme="light"] .membership-payment-option.is-selected{border-color:#7051ba;background:#f7f3ff}:root[data-theme="light"] .membership-payment-option:focus-within{outline-color:#7051ba}:root[data-theme="light"] .membership-payment-option strong,:root[data-theme="light"] .membership-payment-method-single strong{color:#302b38}:root[data-theme="light"] .membership-payment-option small,:root[data-theme="light"] .membership-payment-method-single small{color:#5d5968}
@media(prefers-reduced-motion:reduce){.membership-loader{animation:none}}

/* Subscription refinement: flat hierarchy, shared tokens, and readable state changes. */
.membership-settings-form { padding-block: 24px; border-bottom: 1px solid var(--line); }
.membership-settings-form h3 { margin: 0; color: var(--text); font-size: 18px; }
.membership-settings-form input { font-size: 16px; }
.membership-settings > .membership-text-button { margin-top: 20px; min-height: 44px; }
.site-header .account-trigger {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
}

.site-header .account-trigger svg {
  color: var(--muted);
}

.site-header .account-trigger:hover {
  border-color: var(--purple);
  background: var(--surface-2);
  color: var(--text);
}

.site-header .account-trigger[data-member-state="subscriber"] {
  border-color: var(--line);
  color: var(--text);
}

.site-header .account-trigger[data-member-state="subscriber"] svg {
  color: var(--purple);
}

.membership-dialog {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.membership-dialog .membership-close {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
}

.membership-dialog .membership-close:hover {
  border-color: var(--purple);
  background: var(--surface-2);
  color: var(--text);
}

.membership-view h2,
.membership-view h3 {
  color: var(--text);
}

.membership-view-heading p,
.membership-view .membership-lead,
.membership-view .membership-account > p,
.membership-view .membership-muted,
.membership-view .membership-payment-copy p,
.membership-view .membership-price-line span {
  color: var(--muted);
}

.membership-view .membership-payment-copy strong {
  color: var(--text);
}

.membership-tabs {
  border-color: var(--line);
}

.membership-tab {
  color: var(--muted);
}

.membership-tab:hover,
.membership-tab.active {
  color: var(--text);
}

.membership-form label,
.membership-form .membership-checkbox {
  color: var(--text) !important;
}

.membership-form input,
.membership-support-form textarea {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--text);
}

.membership-form input:focus,
.membership-support-form textarea:focus {
  border-color: var(--purple);
  outline-color: var(--purple);
}

.membership-price-line {
  border-color: var(--line);
}

.membership-price-line strong {
  color: var(--text);
}

.membership-payment-note {
  border-color: var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted) !important;
}

.membership-payment-note.is-ready {
  border-color: var(--green);
  background: transparent;
  color: var(--green) !important;
}

.membership-payment-note.is-pending {
  border-color: var(--line);
  background: transparent;
  color: var(--muted) !important;
}

.membership-checkout-form {
  gap: 20px;
}

.membership-checkout-form fieldset:disabled {
  opacity: .72;
}

.membership-checkbox {
  line-height: 1.85 !important;
}

.membership-payment-options,
.membership-payment-option,
.membership-payment-method-single {
  border-color: var(--line);
}

.membership-payment-option {
  background: var(--surface-2);
  color: var(--text) !important;
}

.membership-payment-method-single {
  background: var(--surface-2);
  color: var(--muted) !important;
}

.membership-payment-option:hover,
.membership-payment-option.is-selected {
  border-color: var(--purple);
  background: var(--surface-2);
}

.membership-payment-option:focus-within {
  outline-color: var(--purple);
}

.membership-payment-option strong,
.membership-payment-method-single strong {
  color: var(--text);
}

.membership-payment-option small,
.membership-payment-method-single small {
  color: var(--muted);
}

.membership-summary,
.membership-order-meta {
  background: var(--line);
  border-color: var(--line);
}

.membership-summary > div,
.membership-order-meta > div {
  background: var(--surface-2);
}

.membership-summary dt,
.membership-order-meta dt {
  color: var(--muted);
}

.membership-summary dd,
.membership-order-meta dd {
  color: var(--text);
}

.membership-order-card {
  border-color: var(--line);
  background: var(--surface);
}

.membership-order-card code,
.membership-payment-view code {
  color: var(--text);
}

.membership-form-message,
.membership-notice,
.membership-inline-problem,
.membership-recovery-code {
  border-color: var(--line);
  background: var(--surface-2);
}

.membership-empty {
  border-color: var(--line);
}

/* theme.css has stronger light selectors and loads first; these keep the local controls aligned. */
:root[data-theme="light"] .site-header .account-trigger {
  border-color: #c7c2d1;
  background: #ffffff;
  color: #413c4d;
}

:root[data-theme="light"] .site-header .account-trigger:hover {
  border-color: #8064c7;
  background: #f0ecfb;
  color: #2f2252;
}

:root[data-theme="light"] .site-header .account-trigger svg {
  color: #5d38b5;
}

:root[data-theme="light"] .membership-dialog {
  border-color: #d3cedd;
  background: #ffffff;
  color: #25222d;
}

:root[data-theme="light"] .membership-dialog .membership-close {
  border-color: #c9c4d4;
  background: #f0eff5;
  color: #413c4d;
}

:root[data-theme="light"] .membership-view h2,
:root[data-theme="light"] .membership-view h3,
:root[data-theme="light"] .membership-view .membership-lead,
:root[data-theme="light"] .membership-view .membership-account > p,
:root[data-theme="light"] .membership-view .membership-form label,
:root[data-theme="light"] .membership-view .membership-checkbox,
:root[data-theme="light"] .membership-view .membership-price-line strong,
:root[data-theme="light"] .membership-view .membership-payment-copy strong {
  color: #25222d !important;
}

:root[data-theme="light"] .membership-view-heading p,
:root[data-theme="light"] .membership-view .membership-muted,
:root[data-theme="light"] .membership-view .membership-payment-copy p,
:root[data-theme="light"] .membership-view .membership-price-line span,
:root[data-theme="light"] .membership-view .membership-payment-note,
:root[data-theme="light"] .membership-view .membership-payment-option small,
:root[data-theme="light"] .membership-view .membership-payment-method-single,
:root[data-theme="light"] .membership-view .membership-payment-method-single small {
  color: #5d5968 !important;
}

:root[data-theme="light"] .membership-view .membership-form input,
:root[data-theme="light"] .membership-view .membership-support-form textarea,
:root[data-theme="light"] .membership-view .membership-payment-option,
:root[data-theme="light"] .membership-view .membership-payment-method-single {
  border-color: #c9c4d4;
  background: #f7f7fa;
  color: #25222d !important;
}

:root[data-theme="light"] .membership-view .membership-form input:focus,
:root[data-theme="light"] .membership-view .membership-support-form textarea:focus,
:root[data-theme="light"] .membership-view .membership-payment-option:hover,
:root[data-theme="light"] .membership-view .membership-payment-option.is-selected {
  border-color: #7051ba;
  background: #f0ecfb;
}

:root[data-theme="light"] .membership-view .membership-payment-option strong,
:root[data-theme="light"] .membership-view .membership-payment-method-single strong {
  color: #302b38;
}

:root[data-theme="light"] .membership-view .membership-payment-note.is-ready {
  border-color: #1d6d4d;
  color: #1d6d4d !important;
}

.membership-browser-guide-wrap {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.membership-browser-guide-action {
  min-height: 44px;
  justify-self: start;
}

.membership-browser-guide {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.membership-browser-guide:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

.membership-browser-guide[hidden] {
  display: none;
}

.membership-browser-guide strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
}

.membership-browser-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.membership-subscribe-link {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.membership-subscribe-link-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.membership-subscribe-link-heading strong {
  color: var(--text);
  font-size: 13px;
}

.membership-subscribe-link-help,
.membership-subscribe-link-feedback,
.membership-subscribe-link-empty {
  margin: 0;
  color: var(--muted);
  font-size: 11px !important;
  line-height: 1.65 !important;
}

.membership-subscribe-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px;
  align-items: stretch;
}

.membership-subscribe-link-value {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 1.55;
  resize: none;
  overflow: auto;
  overflow-wrap: anywhere;
  word-break: break-all;
  outline: none;
}

.membership-subscribe-link-value:focus {
  border-color: var(--purple);
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.membership-subscribe-link-row button {
  min-height: 44px;
  white-space: nowrap;
}

.membership-subscribe-link-feedback[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .membership-browser-guide-action {
    width: 100%;
  }

  .membership-subscribe-link-row {
    grid-template-columns: 1fr;
  }

  .membership-subscribe-link-value {
    font-size: 16px;
  }

  .membership-subscribe-link-row button {
    justify-self: start;
  }
}

:root[data-theme="light"] .membership-subscribe-link-value {
  border-color: #c9c4d4;
  background: #f7f7fa;
  color: #25222d;
}

/* Account dialog touch floor: keep the incumbent white/minimal surface intact. */
.membership-dialog {
  overflow-x: hidden;
}

@media (max-width: 600px) {
  .membership-dialog .membership-view,
  .membership-dialog .membership-form,
  .membership-dialog .membership-form label {
    min-width: 0;
  }

  .membership-dialog .membership-view {
    overflow-wrap: anywhere;
  }

  .membership-dialog .membership-tab {
    min-height: 44px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .membership-dialog .membership-text-button,
  .membership-dialog .membership-icon-text {
    min-height: 44px;
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
  }

  .membership-dialog .membership-checkbox {
    min-height: 44px;
    padding: 8px 0;
    box-sizing: border-box;
  }

  .membership-dialog .membership-checkbox input {
    margin-top: 5px;
  }

  .membership-dialog input,
  .membership-dialog textarea {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }
}

@media(max-width:600px){.membership-dialog .membership-close{width:44px;height:44px;min-width:44px;min-height:44px}.membership-dialog .membership-view>h2{padding-right:34px}}
.dossier{padding-top:32px;padding-bottom:50px}.dossier-breadcrumb{display:flex;gap:10px;flex-wrap:wrap;color:#a9a0b4;font-size:12px;margin-bottom:32px;line-height:1.8}.dossier-breadcrumb a{color:#c8b2e7}.dossier-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:56px;align-items:center}.dossier-photo{margin:0;background:#ece9ef;border-radius:12px;overflow:hidden}.dossier-photo>img{width:100%;height:440px;object-fit:contain;padding:28px}.dossier-photo figcaption{padding:14px 20px;background:#19171e;font-size:12px;color:#b5a9c4;line-height:1.7}.dossier-photo a,.dossier a{color:#c5ade5;overflow-wrap:anywhere}.dossier-title h1,.company-dossier-hero h1{font-size:clamp(32px,3.3vw,48px);line-height:1.25;margin:20px 0 18px;letter-spacing:-.025em;overflow-wrap:anywhere}.dossier-lead{font-size:15px;color:#c0b8cc;line-height:1.95;max-width:65ch}.dossier-tags{display:flex;gap:8px;flex-wrap:wrap}.dossier-tags>span{font-size:12px;color:#cebbdf;border:1px solid #4b3a58;border-radius:5px;padding:5px 9px;line-height:1.7}.dossier-maker{display:flex;align-items:center;gap:12px;margin:24px 0;line-height:1.7;font-size:15px}.dossier-maker .brand-logo{width:44px;height:44px}.dossier-maker small{display:block;color:#a99ab9;font-size:11px}.dossier-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:13px;line-height:1.8;margin:22px 0}.dossier-status{font-size:12px;color:#a99bb6;line-height:1.9;margin:22px 0 0}.dossier-nav{display:flex;gap:24px;border-top:1px solid #322a3a;border-bottom:1px solid #322a3a;margin:44px 0 0;overflow-x:auto}.dossier-nav button{border:0;background:none;padding:20px 0;color:#cfc3dd;font:inherit;font-size:13px;white-space:nowrap;min-height:44px}.dossier-nav button:hover{color:#c6a6f4}.dossier-section{padding-top:48px;scroll-margin-top:24px}.dossier-section-heading{margin-bottom:24px}.dossier-section h2{font-size:25px;margin:0 0 12px;line-height:1.4}.dossier-section h3{font-size:16px;line-height:1.6;margin:25px 0 13px}.dossier-section-heading p,.dossier-empty{font-size:12px;color:#aca0ba;line-height:1.9}.dossier-prose,.dossier-section>p{font-size:14px;line-height:2;color:#c8bfd2;max-width:75ch;white-space:pre-line}.dossier-meta{display:grid;grid-template-columns:100px minmax(0,1fr);font-size:13px;line-height:1.9;gap:14px 22px;margin:28px 0;max-width:730px}.dossier-meta dt{color:#a99ab7}.dossier-meta dd{margin:0;overflow-wrap:anywhere;color:#ded4e8}.dossier-meta small{font-size:11px;margin-left:8px}.dossier-columns{display:grid;grid-template-columns:1fr 1fr;gap:48px}.dossier-columns>div{min-width:0}.dossier-facts{padding-left:19px;color:#c4bacf;font-size:14px;line-height:2}.dossier-facts li{margin:0 0 15px;max-width:70ch}.dossier-table-wrap{width:100%;overflow-x:auto}.dossier-specs{width:100%;border-collapse:collapse;text-align:left;font-size:13px;line-height:1.9}.dossier-specs th,.dossier-specs td{padding:15px 18px;border-bottom:1px solid #332a3c;vertical-align:top}.dossier-specs thead{color:#a99bb8;background:#17131c}.dossier-specs th{font-weight:500;min-width:115px}.dossier-specs td{color:#e0d5ea}.dossier-specs td:last-child{min-width:110px}.dossier-specs small{display:block;font-size:12px;color:#a99cb8;margin-top:5px}.dossier-sources{padding:0;list-style:none}.dossier-sources li{border-bottom:1px solid #302737;padding:16px 0;line-height:1.9;font-size:13px}.dossier-sources span{display:block;color:#a89ab6;font-size:11px;margin-top:4px}.dossier-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.dossier-product{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #302737;min-width:0}.dossier-product>div{width:88px;height:88px;flex-shrink:0;background:#ece9ef;border-radius:6px;overflow:hidden}.dossier-product img{width:100%;height:100%;object-fit:contain;padding:6px}.dossier-product span{min-width:0}.dossier-product strong{font-size:14px;font-weight:600;color:#e4dbed;line-height:1.7}.dossier-product small{display:block;color:#ac99bd;line-height:1.8;font-size:11px;margin-top:5px}.company-dossier-hero{display:grid;grid-template-columns:170px minmax(0,1fr);gap:40px;align-items:center}.company-dossier-mark .brand-logo{width:150px;height:150px;border-radius:16px;padding:20px}.company-dossier-hero h1{margin-top:0}.dossier-english{color:#ac9bbb;font-size:13px}.company-dossier-summary{display:flex;align-items:center;gap:35px;margin:38px 0;color:#a99db7;font-size:13px;line-height:1.8;flex-wrap:wrap}.company-dossier-summary strong{color:#e9e0f0;font-size:27px;vertical-align:baseline;margin-right:8px}.dossier-relations details{border-bottom:1px solid #342b3c;padding:20px 0}.dossier-relations summary{cursor:pointer;font-size:14px;line-height:1.9}.dossier-relations summary>span{font-size:11px;color:#be9ade;margin-right:16px}.dossier-relations strong{font-weight:600}.dossier-relations summary small{display:block;color:#a697b6;font-size:12px;margin:4px 0 0}.dossier-relations p{color:#c6bbcf;font-size:13px;line-height:1.9;max-width:75ch}.dossier-no-image{display:flex;align-items:center;justify-content:center;height:180px;padding:20px;font-size:12px;color:#53465c}.company-title-link{font:inherit;color:inherit;text-align:left;border:0;background:none;padding:0;cursor:pointer}.company-title-link:hover{color:#c5a4eb}
@media(max-width:900px){.dossier-hero{gap:30px}.dossier-photo>img{height:360px}.dossier-products{grid-template-columns:repeat(2,minmax(0,1fr))}.dossier-columns{gap:30px}}
@media(max-width:600px){.dossier{padding-top:22px}.dossier-breadcrumb{margin-bottom:22px;font-size:11px}.dossier-hero{grid-template-columns:1fr;gap:28px}.dossier-photo>img{height:290px;padding:20px}.dossier-title h1{font-size:32px}.dossier-lead{font-size:14px}.dossier-nav{gap:22px;margin-top:30px}.dossier-nav button{font-size:12px;padding:17px 0}.dossier-section{padding-top:35px}.dossier-section h2{font-size:23px}.dossier-columns{grid-template-columns:1fr;gap:8px}.dossier-products{grid-template-columns:1fr;gap:3px}.dossier-specs th,.dossier-specs td{padding:12px 10px}.dossier-specs th{min-width:80px}.dossier-specs td:last-child{min-width:85px}.dossier-meta{grid-template-columns:78px minmax(0,1fr);gap:13px}.company-dossier-hero{grid-template-columns:1fr;gap:23px}.company-dossier-mark .brand-logo{width:90px;height:90px;border-radius:12px;padding:12px}.company-dossier-hero h1{font-size:32px}.company-dossier-summary{gap:15px;margin:22px 0}.company-dossier-summary>span:last-child{width:100%}.dossier-actions{gap:16px}.dossier-sources li{font-size:12px}}

.dossier-source-note{padding:16px 0;border-top:1px solid #4b3a58;color:#c4add6;font-size:12px;line-height:1.9}.atlas-no-photo{display:flex;align-items:center;justify-content:center;width:48px;height:48px;font-size:10px;background:#2c2236;color:#bfaacc;flex-shrink:0}
.company-history-shell,.company-funding{--history-line:var(--line,#29282f);--history-text:var(--text,#f1f0f5);--history-muted:var(--muted,#a19fae);--history-violet:var(--purple,#a78bfa);--history-active:#302040}.company-history-shell .dossier-section-heading,.company-funding .dossier-section-heading{margin-bottom:22px}.company-history-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.company-history-filter{min-height:44px;padding:9px 15px;border:1px solid var(--history-line);border-radius:7px;background:transparent;color:var(--history-muted);font-size:12px}.company-history-filter:hover,.company-history-filter:focus-visible{border-color:var(--history-violet);color:var(--history-text)}.company-history-filter.is-active{border-color:var(--history-violet);background:var(--history-active);color:#fff}.company-history-list{max-width:900px}.company-history-event{display:grid;grid-template-columns:minmax(70px,92px) 18px minmax(0,1fr);gap:14px;padding:18px 0;border-top:1px solid var(--history-line);min-width:0}.company-history-event[hidden]{display:none}.company-history-date{padding-top:2px;color:var(--history-violet);font-size:12px;font-variant-numeric:tabular-nums;line-height:1.7;overflow-wrap:anywhere}.company-history-track{position:relative;display:flex;justify-content:center;min-height:28px}.company-history-track::before{content:"";position:absolute;top:0;bottom:-18px;width:1px;background:var(--history-line)}.company-history-event:last-child .company-history-track::before{bottom:50%}.company-history-track i{position:relative;z-index:1;width:9px;height:9px;margin-top:6px;border:1px solid var(--history-violet);border-radius:50%;background:var(--bg,#0a0a0d)}.company-history-copy{min-width:0}.company-history-event-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.company-history-event h3,.company-funding-row h3{margin:0;color:var(--history-text);font-size:15px;line-height:1.6;overflow-wrap:anywhere}.company-history-kind{color:var(--history-violet);font-size:11px;line-height:1.6}.company-history-copy>p{max-width:72ch;margin:8px 0 11px;color:var(--history-muted);font-size:13px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere}.company-history-event-foot{display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:11px;line-height:1.7}.company-history-event-foot a,.company-funding-row a{color:var(--history-violet);overflow-wrap:anywhere}.company-history-source-missing{color:var(--history-muted)}.company-history-product{white-space:nowrap}.company-history-filter-empty{margin:16px 0;color:var(--history-muted);font-size:12px;line-height:1.8}.company-history-more{margin-top:22px;min-width:150px}.company-funding-list{max-width:900px}.company-funding-row{display:grid;grid-template-columns:minmax(70px,92px) minmax(0,1fr);gap:20px;padding:19px 0;border-top:1px solid var(--history-line);min-width:0}.company-funding-row time{padding-top:2px;color:var(--history-violet);font-size:12px;font-variant-numeric:tabular-nums;line-height:1.7;overflow-wrap:anywhere}.company-funding-main{min-width:0}.company-funding-top{display:flex;align-items:baseline;justify-content:space-between;gap:18px;flex-wrap:wrap}.company-funding-top strong{color:var(--history-text);font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.company-funding-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 24px;margin:12px 0 0}.company-funding-meta div{min-width:0}.company-funding-meta dt{color:var(--history-muted);font-size:11px;line-height:1.6}.company-funding-meta dd{margin:3px 0 0;color:var(--history-text);font-size:12px;line-height:1.75;overflow-wrap:anywhere}.company-funding-note{margin:12px 0 0;color:var(--history-muted);font-size:12px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}.company-funding .dossier-section-heading p,.company-history-shell .dossier-section-heading p{max-width:72ch;color:var(--history-muted)}
:root[data-theme="light"] .company-history-shell,:root[data-theme="light"] .company-funding{--history-active:#eee9fb}:root[data-theme="light"] .company-history-filter.is-active{color:#34215f}.company-history-shell .dossier-empty{color:var(--history-muted)}
@media(max-width:600px){.company-history-event{grid-template-columns:minmax(61px,74px) 15px minmax(0,1fr);gap:10px;padding:16px 0}.company-history-event-head{display:block}.company-history-kind{display:block;margin-bottom:2px}.company-history-copy>p{font-size:12px;line-height:1.8}.company-funding-row{grid-template-columns:1fr;gap:5px;padding:17px 0}.company-funding-row time{padding-top:0}.company-funding-meta{grid-template-columns:1fr;gap:9px}.company-funding-top{display:block}.company-funding-top strong{display:block;margin-top:4px}.company-history-filters{gap:6px;margin-bottom:18px}.company-history-filter{padding-inline:13px}}
@media(max-width:360px){.company-history-event{grid-template-columns:55px 12px minmax(0,1fr);gap:8px}.company-history-date{font-size:11px}.company-history-event h3{font-size:14px}.company-history-event-foot{gap:9px}}
/* Original supplied brand artwork, kept intact in both themes. */
.brand > img, .reader-brand > img {
  display: block;
  width: 52px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 3px;
}
.resource-project { grid-template-columns: 56px minmax(0, 1fr) minmax(150px, 230px); align-items: start; }
.resource-project-copy { min-width: 0; }
.resource-project-copy > p { max-width: 55ch; }
.resource-project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.resource-project-actions a { min-height: 44px; }
.resource-project .resource-meta { white-space: normal; line-height: 1.8; }
.resource-project .resource-meta span { margin-top: 8px; }
:root[data-theme="light"] .search-hints button,
:root[data-theme="light"] .section-head h2 span { color: #5d5968; }
@media (max-width: 800px) {
  .resource-project { grid-template-columns: 46px minmax(0, 1fr); }
  .resource-project .resource-meta { grid-column: 2; }
}
@media (max-width: 540px) {
  .site-header { gap: 8px; padding-inline: 20px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand strong { font-size: 19px; letter-spacing: -.4px; }
  .site-header .brand small { letter-spacing: 1.5px; }
  .site-header .account-trigger { width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .site-header .account-trigger span { display: none; }
  .site-header .header-save { min-height: 44px; gap: 4px; }
  .brand > img, .reader-brand > img { width: 44px; height: 46px; }
  .resource-project { grid-template-columns: 1fr; gap: 18px; }
  .resource-project > .resource-icon { display: none; }
  .resource-project .resource-meta { grid-column: 1; }
  .resource-project-actions { align-items: stretch; flex-direction: column; }
  .resource-project-actions a { justify-content: center; }
}
/* Optional light theme. Dark remains the authored default when data-theme is absent or dark. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7fa;
  --surface: #ffffff;
  --surface-2: #f0eff5;
  --line: #dedbe6;
  --text: #25222d;
  --muted: #5d5968;
  --purple: #5d38b5;
  --accent: #5431a8;
  --green: #1d6d4d;
  --reader-bg: #f7f7fa;
  --reader-surface: #ffffff;
  --reader-raised: #fbfbfd;
  --reader-field: #ffffff;
  --reader-rule: #dedbe6;
  --reader-text: #25222d;
  --reader-muted: #5d5968;
  --reader-violet: #5d38b5;
  --reader-accent: #5431a8;
  --reader-accent-hover: #43268f;
}

:root[data-theme="light"],
:root[data-theme="light"] body {
  background: var(--bg);
  color: var(--text);
}

:root[data-theme="light"] * {
  scrollbar-color: #b7b2c1 var(--bg);
}

:root[data-theme="light"] ::selection {
  background: #cfc0f5;
  color: #241b3c;
}

:root[data-theme="light"] :focus-visible {
  outline-color: var(--purple);
}

/* The toggle is styled in both themes so adding it does not alter the dark default. */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #443451;
  border-radius: 8px;
  background: #121016;
  color: #d9cbea;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.theme-toggle:hover {
  border-color: #a78bfa;
  background: #241a30;
  color: #ffffff;
}

.theme-toggle:active {
  transform: translateY(1px);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[data-theme="light"] .theme-toggle {
  border-color: #cbc6d5;
  background: #ffffff;
  color: #5431a8;
}

:root[data-theme="light"] .theme-toggle:hover {
  border-color: #8064c7;
  background: #f0ecfb;
  color: #43268f;
}

:root[data-theme="light"] .site-header,
:root[data-theme="light"] .reader-header {
  border-color: #dedbe6;
  background: #ffffff;
}

:root[data-theme="light"] .brand small,
:root[data-theme="light"] .reader-brand small,
:root[data-theme="light"] .header-save,
:root[data-theme="light"] .main-nav a,
:root[data-theme="light"] .reader-nav-link,
:root[data-theme="light"] .site-footer,
:root[data-theme="light"] .reader-footer {
  color: #5d5968;
}

:root[data-theme="light"] .main-nav a:hover,
:root[data-theme="light"] .main-nav a.active,
:root[data-theme="light"] .reader-nav-link:hover,
:root[data-theme="light"] .header-save:hover,
:root[data-theme="light"] .site-footer a:hover {
  color: #43268f;
}

:root[data-theme="light"] .header-save b,
:root[data-theme="light"] .brand-dot,
:root[data-theme="light"] .reader-brand-dot,
:root[data-theme="light"] .footer-brand span,
:root[data-theme="light"] .reader-footer-brand span {
  color: #5d38b5;
}

:root[data-theme="light"] .account-trigger,
:root[data-theme="light"] .reader-nav-account {
  border-color: #c7c2d1;
  background: #ffffff;
  color: #413c4d;
}

:root[data-theme="light"] .account-trigger:hover,
:root[data-theme="light"] .reader-nav-account:hover {
  border-color: #8064c7;
  background: #f0ecfb;
  color: #2f2252;
}

:root[data-theme="light"] .account-trigger svg {
  color: #5d38b5;
}

:root[data-theme="light"] .hero h1 span,
:root[data-theme="light"] .page-intro h1 span,
:root[data-theme="light"] .text-link:hover,
:root[data-theme="light"] .timeline-preview .year,
:root[data-theme="light"] .resource-icon,
:root[data-theme="light"] .timeline-entry time,
:root[data-theme="light"] .timeline-entry a,
:root[data-theme="light"] .intro-meta {
  color: #5d38b5;
}

:root[data-theme="light"] .hero-description,
:root[data-theme="light"] .hero-caption,
:root[data-theme="light"] .visual-label,
:root[data-theme="light"] .search-hints,
:root[data-theme="light"] .section-head p,
:root[data-theme="light"] .text-link,
:root[data-theme="light"] .stat span,
:root[data-theme="light"] .stat small,
:root[data-theme="light"] .robot-company,
:root[data-theme="light"] .robot-bottom,
:root[data-theme="light"] .media-fallback small,
:root[data-theme="light"] .disclosure,
:root[data-theme="light"] .page-intro p,
:root[data-theme="light"] .page-tools .result-count,
:root[data-theme="light"] .company-card small,
:root[data-theme="light"] .company-card p,
:root[data-theme="light"] .graph-side p,
:root[data-theme="light"] .graph-hint,
:root[data-theme="light"] .timeline-entry p,
:root[data-theme="light"] .methodology span,
:root[data-theme="light"] .resource-row p,
:root[data-theme="light"] .resource-meta,
:root[data-theme="light"] .resource-meta span,
:root[data-theme="light"] .evidence-copy p,
:root[data-theme="light"] .evidence-copy li,
:root[data-theme="light"] .detail-copy>p,
:root[data-theme="light"] .detail-copy dt,
:root[data-theme="light"] .detail-note,
:root[data-theme="light"] .section-head h2 span,
:root[data-theme="light"] .feature-panel-footer,
:root[data-theme="light"] .resource-row small {
  color: #5d5968;
}

:root[data-theme="light"] .robot-title svg {
  color: #625d6d;
}

:root[data-theme="light"] .orbit,
:root[data-theme="light"] .orbit:before,
:root[data-theme="light"] .orbit:after {
  border-color: #d8d3e3;
}

:root[data-theme="light"] .hero-visual:before {
  background: none;
}

:root[data-theme="light"] .visual-label span {
  background: #917bc6;
}

:root[data-theme="light"] .search-form,
:root[data-theme="light"] .company-search input,
:root[data-theme="light"] .network-search,
:root[data-theme="light"] .manual-search-form input {
  border-color: #c9c4d4;
  background: #ffffff;
  color: #25222d;
}

:root[data-theme="light"] .search-form>svg,
:root[data-theme="light"] .network-search>svg {
  color: #625d6d;
}

:root[data-theme="light"] .search-form input,
:root[data-theme="light"] .network-search input,
:root[data-theme="light"] .company-search input,
:root[data-theme="light"] .manual-search-form input {
  color: #25222d;
}

:root[data-theme="light"] .search-form input::placeholder,
:root[data-theme="light"] .network-search input::placeholder,
:root[data-theme="light"] .company-search input::placeholder,
:root[data-theme="light"] .manual-search-form input::placeholder {
  color: #716c7a;
}

:root[data-theme="light"] .search-form:focus-within,
:root[data-theme="light"] .network-search:focus-within {
  border-color: #7051ba;
  box-shadow: 0 0 0 2px #7051ba26;
}

:root[data-theme="light"] .search-form button,
:root[data-theme="light"] .primary,
:root[data-theme="light"] .reader-button-primary {
  background: #5431a8;
  color: #ffffff;
}

:root[data-theme="light"] .search-form button:hover,
:root[data-theme="light"] .primary:hover,
:root[data-theme="light"] .reader-button-primary:hover {
  background: #43268f;
}

:root[data-theme="light"] .secondary,
:root[data-theme="light"] .reader-button-secondary,
:root[data-theme="light"] .reader-icon-button {
  border-color: #c7c2d1;
  background: #ffffff;
  color: #4f495b;
}

:root[data-theme="light"] .secondary:hover,
:root[data-theme="light"] .reader-button-secondary:hover,
:root[data-theme="light"] .reader-icon-button:hover {
  border-color: #8064c7;
  background: #f0ecfb;
  color: #2f2252;
}

:root[data-theme="light"] .skip-link {
  background: #5431a8;
  color: #ffffff;
}

:root[data-theme="light"] .visual-tag {
  border-color: #cbc5d7;
  background: #ffffff;
  color: #423c4e;
}

:root[data-theme="light"] .stats,
:root[data-theme="light"] .feature-panel-footer,
:root[data-theme="light"] .robot-info,
:root[data-theme="light"] .timeline-dot:after,
:root[data-theme="light"] .site-footer,
:root[data-theme="light"] .reader-footer {
  border-color: #dedbe6;
}

:root[data-theme="light"] .chip,
:root[data-theme="light"] .empty-state,
:root[data-theme="light"] .company-card,
:root[data-theme="light"] .feature-panel,
:root[data-theme="light"] .graph-stage,
:root[data-theme="light"] .graph-side,
:root[data-theme="light"] .robot-card {
  border-color: #dedbe6;
}

:root[data-theme="light"] .chip {
  color: #514b5c;
}

:root[data-theme="light"] .chip:hover {
  border-color: #8064c7;
  color: #2f2252;
}

:root[data-theme="light"] .chip.active {
  border-color: #8064c7;
  background: #eee9fb;
  color: #43268f;
}

:root[data-theme="light"] .chip .count {
  color: #625d6d;
}

:root[data-theme="light"] .robot-card,
:root[data-theme="light"] .company-card,
:root[data-theme="light"] .feature-panel,
:root[data-theme="light"] .graph-side {
  background: #ffffff;
}

:root[data-theme="light"] .build-section {
  border-color: #d3cedd;
  background: #ffffff;
}

:root[data-theme="light"] .build-section p,
:root[data-theme="light"] .build-section small {
  color: #5d5968;
}

:root[data-theme="light"] .robot-card:hover {
  border-color: #8064c7;
}

:root[data-theme="light"] .robot-media,
:root[data-theme="light"] .detail-image,
:root[data-theme="light"] .dossier-photo,
:root[data-theme="light"] .dossier-product>div {
  background: #f0eff5;
}

:root[data-theme="light"] .robot-media .category-badge,
:root[data-theme="light"] .robot-tags span,
:root[data-theme="light"] .company-logo {
  border-color: #d5cce8;
  background: #eee9fb;
  color: #4a2d82;
}

:root[data-theme="light"] .robot-tags span {
  color: #514266;
}

:root[data-theme="light"] .save-button {
  color: #625d6d;
}

:root[data-theme="light"] .save-button:hover {
  background: #eee9fb;
  color: #5d38b5;
}

:root[data-theme="light"] .save-button.saved {
  color: #5d38b5;
}

:root[data-theme="light"] .media-fallback {
  color: #625d6d;
}

:root[data-theme="light"] .feature-panel,
:root[data-theme="light"] .graph-stage {
  background: #ffffff;
}

:root[data-theme="light"] .mini-graph,
:root[data-theme="light"] .graph-stage>svg {
  background: #ffffff;
}

:root[data-theme="light"] .timeline-dot {
  border-color: #8064c7;
}

:root[data-theme="light"] .sort-select,
:root[data-theme="light"] .atlas-filters select,
:root[data-theme="light"] .catalog-filters select {
  color: #4f495b;
  background: #ffffff;
  border-color: #c9c4d4;
}

:root[data-theme="light"] .sort-select option {
  background: #ffffff;
  color: #25222d;
}

:root[data-theme="light"] .company-results,
:root[data-theme="light"] .company-counts {
  color: #5d5968;
}

:root[data-theme="light"] .empty-state {
  background: #fbfbfd;
}

:root[data-theme="light"] .graph-actions,
:root[data-theme="light"] .network-zoom {
  border-color: #c7c2d1;
  background: #ffffff;
}

:root[data-theme="light"] .graph-actions button,
:root[data-theme="light"] .network-zoom button {
  color: #4f495b;
}

:root[data-theme="light"] .graph-actions button:hover,
:root[data-theme="light"] .network-zoom button:hover {
  background: #f0ecfb;
  color: #2f2252;
}

:root[data-theme="light"] .network-stage,
:root[data-theme="light"] .network-expanded {
  background: #f3f2f7;
}

:root[data-theme="light"] .network-workspace {
  border-color: #d3cedd;
  background: #ffffff;
}

:root[data-theme="light"] .network-host {
  color: #292532;
}

:root[data-theme="light"] .network-tabs,
:root[data-theme="light"] .network-results,
:root[data-theme="light"] .network-tooltip {
  border-color: #c7c2d1;
  background: #ffffff;
  color: #292532;
  box-shadow: 0 10px 24px #2e25401f;
}

:root[data-theme="light"] .network-tabs button,
:root[data-theme="light"] .network-options label,
:root[data-theme="light"] .network-canvas-bottom p,
:root[data-theme="light"] .network-zoom output,
:root[data-theme="light"] .network-results small,
:root[data-theme="light"] .network-results button,
:root[data-theme="light"] .network-legend button,
:root[data-theme="light"] .network-footnote,
:root[data-theme="light"] .network-footnote button {
  color: #514b5c;
}

:root[data-theme="light"] .network-tabs button[aria-pressed="true"],
:root[data-theme="light"] .network-legend button[aria-pressed="true"] {
  border-color: #8064c7;
  background: #eee9fb;
  color: #43268f;
  box-shadow: inset 0 0 0 1px #b4a1e4;
}

:root[data-theme="light"] .network-tabs button:hover,
:root[data-theme="light"] .network-results button:hover,
:root[data-theme="light"] .network-legend button:hover {
  background: #f0ecfb;
}

:root[data-theme="light"] .network-search input {
  color: #292532;
}

:root[data-theme="light"] .network-canvas-caption span,
:root[data-theme="light"] .network-heading-stats span,
:root[data-theme="light"] .network-disclosure,
:root[data-theme="light"] .network-heading p,
:root[data-theme="light"] .network-status {
  color: #5d5968;
}

:root[data-theme="light"] .network-eyebrow,
:root[data-theme="light"] .network-disclosure a,
:root[data-theme="light"] .network-heading h1 span,
:root[data-theme="light"] .network-detail-note a,
:root[data-theme="light"] .network-guide li>b,
:root[data-theme="light"] .network-detail-section h3>span,
:root[data-theme="light"] .network-legend button span,
:root[data-theme="light"] .network-footnote .network-status,
:root[data-theme="light"] .atlas-clusters text {
  color: #5f3b9f;
}

:root[data-theme="light"] .network-canvas-caption b,
:root[data-theme="light"] .network-sample,
:root[data-theme="light"] .network-heading h1,
:root[data-theme="light"] .network-detail h2 {
  color: #292532;
}

:root[data-theme="light"] .network-sample,
:root[data-theme="light"] .network-canvas-bottom .network-zoom,
:root[data-theme="light"] .network-detail {
  border-color: #d3cedd;
}

:root[data-theme="light"] .network-detail {
  background: #ffffff;
  color: #292532;
}

:root[data-theme="light"] .network-detail-description,
:root[data-theme="light"] .network-detail-note p,
:root[data-theme="light"] .network-source-note,
:root[data-theme="light"] .network-no-edges,
:root[data-theme="light"] .network-guide small,
:root[data-theme="light"] .network-detail-brand>span:not(.brand-logo),
:root[data-theme="light"] .network-detail-brand small,
:root[data-theme="light"] .network-detail-kicker>span {
  color: #5d5968;
}

:root[data-theme="light"] .network-detail-kicker,
:root[data-theme="light"] .network-detail-note,
:root[data-theme="light"] .network-source-note,
:root[data-theme="light"] .network-connection-list button,
:root[data-theme="light"] .network-robot-links button,
:root[data-theme="light"] .network-browse,
:root[data-theme="light"] .network-official,
:root[data-theme="light"] .network-guide li>span {
  color: #4f495b;
}

:root[data-theme="light"] .network-detail-section,
:root[data-theme="light"] .network-connection-list button,
:root[data-theme="light"] .network-detail-note,
:root[data-theme="light"] .network-source-note,
:root[data-theme="light"] .network-legend {
  border-color: #dedbe6;
}

:root[data-theme="light"] .network-official,
:root[data-theme="light"] .network-robot-links button {
  border-color: #c7c2d1;
  background: #f8f7fb;
}

:root[data-theme="light"] .network-official:hover,
:root[data-theme="light"] .network-robot-links button:hover {
  border-color: #8064c7;
  background: #eee9fb;
}

:root[data-theme="light"] .network-node-label rect {
  fill: #ffffff;
  stroke: #bdb6cb;
}

:root[data-theme="light"] .network-node-label text {
  fill: #312b3b;
}

:root[data-theme="light"] .network-company:hover .network-node-label text,
:root[data-theme="light"] .network-company.is-selected .network-node-label text {
  fill: #2f2252;
}

:root[data-theme="light"] .network-edge-labels {
  fill: #4f495b;
  stroke: #ffffff;
}

:root[data-theme="light"] .atlas-edge-hit:focus-visible {
  stroke: #5d38b5;
}

:root[data-theme="light"] .network-memberships line {
  stroke: #a48dbd;
}

:root[data-theme="light"] .network-product:hover>circle:last-child,
:root[data-theme="light"] .network-product:focus-visible>circle:last-child,
:root[data-theme="light"] .network-product.is-selected>circle:last-child {
  stroke: #4d327d;
  fill: #b69be8;
}

:root[data-theme="light"] .network-tooltip small,
:root[data-theme="light"] .network-results b,
:root[data-theme="light"] .network-connection-list b {
  color: #5f3b9f;
}

:root[data-theme="light"] .network-zoom button[data-action="fit"] {
  border-left-color: #dedbe6;
}

:root[data-theme="light"] .dossier-breadcrumb,
:root[data-theme="light"] .dossier-section-heading p,
:root[data-theme="light"] .dossier-empty,
:root[data-theme="light"] .dossier-status,
:root[data-theme="light"] .dossier-maker small,
:root[data-theme="light"] .dossier-meta dt,
:root[data-theme="light"] .dossier-sources span,
:root[data-theme="light"] .dossier-product small,
:root[data-theme="light"] .dossier-english,
:root[data-theme="light"] .company-dossier-summary,
:root[data-theme="light"] .dossier-relations summary small,
:root[data-theme="light"] .dossier-relations summary>span {
  color: #5d5968;
}

:root[data-theme="light"] .company-dossier-summary strong {
  color: #342d41;
}

:root[data-theme="light"] .dossier-breadcrumb a,
:root[data-theme="light"] .dossier-photo a,
:root[data-theme="light"] .dossier a,
:root[data-theme="light"] .dossier-source-note,
:root[data-theme="light"] .company-title-link:hover {
  color: #5f3b9f;
}

:root[data-theme="light"] .dossier-lead,
:root[data-theme="light"] .dossier-prose,
:root[data-theme="light"] .dossier-section>p,
:root[data-theme="light"] .dossier-facts,
:root[data-theme="light"] .dossier-relations p,
:root[data-theme="light"] .dossier-meta dd {
  color: #413c4c;
}

:root[data-theme="light"] .dossier-tags>span {
  border-color: #c9c1d5;
  color: #514266;
}

:root[data-theme="light"] .dossier-photo figcaption {
  background: #f0eff5;
  color: #514b5c;
}

:root[data-theme="light"] .dossier-nav,
:root[data-theme="light"] .dossier-specs th,
:root[data-theme="light"] .dossier-specs td,
:root[data-theme="light"] .dossier-sources li,
:root[data-theme="light"] .dossier-product,
:root[data-theme="light"] .dossier-relations details,
:root[data-theme="light"] .dossier-source-note {
  border-color: #dedbe6;
}

:root[data-theme="light"] .dossier-nav button {
  color: #514b5c;
}

:root[data-theme="light"] .dossier-nav button:hover {
  color: #5f3b9f;
}

:root[data-theme="light"] .dossier-specs thead {
  background: #f0eff5;
  color: #5d5968;
}

:root[data-theme="light"] .dossier-specs td,
:root[data-theme="light"] .dossier-product strong {
  color: #37323f;
}

:root[data-theme="light"] .dossier-specs small,
:root[data-theme="light"] .dossier-no-image,
:root[data-theme="light"] .atlas-no-photo {
  color: #625d6d;
}

:root[data-theme="light"] .dossier-no-image,
:root[data-theme="light"] .atlas-no-photo {
  background: #f0eff5;
}

:root[data-theme="light"] .atlas-filters,
:root[data-theme="light"] .catalog-filters,
:root[data-theme="light"] .atlas-filters>span,
:root[data-theme="light"] .catalog-filters .filter-note,
:root[data-theme="light"] .catalog-coverage,
:root[data-theme="light"] .company-results,
:root[data-theme="light"] .atlas-evidence-meta dt,
:root[data-theme="light"] .atlas-source small,
:root[data-theme="light"] .atlas-source p,
:root[data-theme="light"] .evidence-stats span,
:root[data-theme="light"] .evidence-table th {
  color: #5d5968;
}

:root[data-theme="light"] .catalog-coverage strong,
:root[data-theme="light"] .evidence-stats strong {
  color: #342d41;
}

:root[data-theme="light"] .catalog-coverage,
:root[data-theme="light"] .atlas-source,
:root[data-theme="light"] .evidence-relations details,
:root[data-theme="light"] .evidence-table th,
:root[data-theme="light"] .evidence-table td {
  border-color: #dedbe6;
}

:root[data-theme="light"] .catalog-coverage a,
:root[data-theme="light"] .atlas-source a,
:root[data-theme="light"] .detail-provenance a,
:root[data-theme="light"] .evidence-copy a {
  color: #5f3b9f;
}

:root[data-theme="light"] .atlas-parties button,
:root[data-theme="light"] .atlas-evidence-meta dd,
:root[data-theme="light"] .atlas-product-list button,
:root[data-theme="light"] .evidence-table td,
:root[data-theme="light"] .evidence-relations summary {
  color: #413c4c;
}

:root[data-theme="light"] .atlas-product-list button {
  border-color: #d5cedf;
  background: #fbfbfd;
}

:root[data-theme="light"] .atlas-product-list button:hover {
  border-color: #8064c7;
  background: #f0ecfb;
}

:root[data-theme="light"] .atlas-product-list small,
:root[data-theme="light"] .robot-bottom>span {
  color: #625d6d;
}

:root[data-theme="light"] .atlas-empty {
  border-color: #b39acb;
  color: #55347e;
  background: #fbf9ff;
}

:root[data-theme="light"] .evidence-stats {
  border-color: #dedbe6;
  background: #dedbe6;
}

:root[data-theme="light"] .evidence-stats>div {
  background: #ffffff;
}

:root[data-theme="light"] .toast {
  border-color: #7055a4;
  background: #39265f;
  color: #ffffff;
}

:root[data-theme="light"] .manual-search-form label,
:root[data-theme="light"] .manual-meta,
:root[data-theme="light"] .manual-price span,
:root[data-theme="light"] .manual-results-heading span,
:root[data-theme="light"] .manual-stats dt,
:root[data-theme="light"] .manual-empty-state p,
:root[data-theme="light"] .manual-subscription-note,
:root[data-theme="light"] .manual-subscription-action span,
:root[data-theme="light"] .manual-match-note {
  color: #5d5968;
}

:root[data-theme="light"] .manual-row-heading h3,
:root[data-theme="light"] .manual-price strong,
:root[data-theme="light"] .manual-stats dd {
  color: #302b38;
}

:root[data-theme="light"] .manual-stats {
  background: var(--line);
}

:root[data-theme="light"] .manual-stats>div {
  background: var(--surface);
}

:root[data-theme="light"] .manual-filter,
:root[data-theme="light"] .manual-buy {
  border-color: #c9c4d4;
  background: #ffffff;
  color: #514b5c;
}

:root[data-theme="light"] .manual-filter:hover {
  border-color: #8064c7;
  color: #43268f;
}

:root[data-theme="light"] .manual-filter.active {
  border-color: #8064c7;
  background: #eee9fb;
  color: #43268f;
}

:root[data-theme="light"] .manual-filter span,
:root[data-theme="light"] .manual-dossier-link,
:root[data-theme="light"] .manual-evidence,
:root[data-theme="light"] .manual-review-note,
:root[data-theme="light"] .manual-subscription-benefit,
:root[data-theme="light"] .manual-subscription-action strong,
:root[data-theme="light"] .manual-filter.active span,
:root[data-theme="light"] .manual-dossier-link:hover {
  color: #5f3b9f;
}

:root[data-theme="light"] .manual-badge,
:root[data-theme="light"] .manual-match-line,
:root[data-theme="light"] .manual-manufacturer {
  color: #514b5c;
}

:root[data-theme="light"] .manual-badge,
:root[data-theme="light"] .manual-filter-row,
:root[data-theme="light"] .manual-results-heading,
:root[data-theme="light"] .manual-row,
:root[data-theme="light"] .manual-stats,
:root[data-theme="light"] .manual-empty-state,
:root[data-theme="light"] .manual-subscription,
:root[data-theme="light"] .manual-dossier-section .manual-empty {
  border-color: #dedbe6;
}

:root[data-theme="light"] .manual-badge-exact,
:root[data-theme="light"] .manual-badge-series {
  border-color: #9a7bd0;
  color: #5f3b9f;
}

:root[data-theme="light"] .manual-badge-company {
  border-color: #9da9bc;
  color: #4c596b;
}

:root[data-theme="light"] .manual-badge-pending {
  border-color: #bf9958;
  background: #fff8e9;
  color: #744f1d;
}

:root[data-theme="light"] .manual-buy:disabled {
  border-color: #d4cfda;
  background: #f0eff5;
  color: #777280;
}

:root[data-theme="light"] .membership-dialog,
:root[data-theme="light"] dialog {
  border-color: #c9c4d4;
  background: #ffffff;
  color: #25222d;
}

:root[data-theme="light"] dialog::backdrop,
:root[data-theme="light"] .membership-dialog::backdrop {
  background: #21183273;
}

:root[data-theme="light"] .icon-button,
:root[data-theme="light"] .membership-dialog .membership-close {
  background: #f0eff5;
  color: #514b5c;
}

:root[data-theme="light"] .icon-button:hover,
:root[data-theme="light"] .membership-dialog .membership-close:hover {
  background: #eee9fb;
  color: #43268f;
}

:root[data-theme="light"] .membership-lead,
:root[data-theme="light"] .membership-account>p,
:root[data-theme="light"] .membership-view-heading p,
:root[data-theme="light"] .membership-order-heading p,
:root[data-theme="light"] .membership-empty p,
:root[data-theme="light"] .membership-loading-inline,
:root[data-theme="light"] .membership-loading,
:root[data-theme="light"] .membership-payment-copy p,
:root[data-theme="light"] .membership-recovery p {
  color: #5d5968;
}

:root[data-theme="light"] .membership-muted,
:root[data-theme="light"] .membership-payment-note {
  color: #5d5968 !important;
}

:root[data-theme="light"] .membership-form label,
:root[data-theme="light"] .membership-support-form label {
  color: #413c4c;
}

:root[data-theme="light"] .membership-checkbox {
  color: #413c4c !important;
}

:root[data-theme="light"] .membership-state,
:root[data-theme="light"] .membership-tab,
:root[data-theme="light"] .membership-text-button,
:root[data-theme="light"] .membership-icon-text {
  color: #5f3b9f;
}

:root[data-theme="light"] .membership-state,
:root[data-theme="light"] .membership-tabs,
:root[data-theme="light"] .membership-support-form,
:root[data-theme="light"] .membership-summary,
:root[data-theme="light"] .membership-order-meta,
:root[data-theme="light"] .membership-order-card,
:root[data-theme="light"] .membership-payment-note,
:root[data-theme="light"] .membership-price-line,
:root[data-theme="light"] .membership-notice,
:root[data-theme="light"] .membership-inline-problem,
:root[data-theme="light"] .membership-form-message,
:root[data-theme="light"] .membership-recovery-code {
  border-color: #d7d1df;
}

:root[data-theme="light"] .membership-state.is-active,
:root[data-theme="light"] .membership-form-message.is-success,
:root[data-theme="light"] .membership-payment-note.is-ready,
:root[data-theme="light"] .membership-success-state {
  border-color: #79a88e;
  background: #edf8f1;
  color: #1d6d4d;
}

:root[data-theme="light"] .membership-state.is-alert,
:root[data-theme="light"] .membership-payment-note.is-pending,
:root[data-theme="light"] .membership-inline-problem {
  border-color: #c59d60;
  background: #fff8e9;
  color: #744f1d;
}

:root[data-theme="light"] .membership-payment-note.is-ready {
  color: #1d6d4d !important;
}

:root[data-theme="light"] .membership-payment-note.is-pending {
  color: #744f1d !important;
}

:root[data-theme="light"] .membership-notice {
  background: #f7f3ff;
  color: #4f347c !important;
}

:root[data-theme="light"] .membership-form input,
:root[data-theme="light"] .membership-support-form textarea,
:root[data-theme="light"] .reader-page-input-wrap input {
  border-color: #c9c4d4;
  background: #ffffff;
  color: #25222d;
}

:root[data-theme="light"] .membership-form input:focus,
:root[data-theme="light"] .membership-support-form textarea:focus,
:root[data-theme="light"] .reader-page-input-wrap input:focus {
  border-color: #7051ba;
  outline-color: #7051ba;
}

:root[data-theme="light"] .membership-form-message {
  background: #fff3f5;
  color: #963e4c !important;
}

:root[data-theme="light"] .membership-form-message.is-success {
  color: #1d6d4d !important;
}

:root[data-theme="light"] .membership-loader {
  border-color: #d4cfdd;
  border-top-color: #5d38b5;
}

:root[data-theme="light"] .membership-summary,
:root[data-theme="light"] .membership-order-meta {
  background: #dedbe6;
}

:root[data-theme="light"] .membership-summary>div,
:root[data-theme="light"] .membership-order-meta>div,
:root[data-theme="light"] .membership-order-card {
  background: #fbfbfd;
}

:root[data-theme="light"] .membership-summary dt,
:root[data-theme="light"] .membership-order-meta dt {
  color: #5d5968;
}

:root[data-theme="light"] .membership-summary dd,
:root[data-theme="light"] .membership-order-meta dd,
:root[data-theme="light"] .membership-payment-copy strong,
:root[data-theme="light"] .membership-order-card code,
:root[data-theme="light"] .membership-payment-view code {
  color: #302b38;
}

:root[data-theme="light"] .membership-price-line strong {
  color: #5d38b5;
}

:root[data-theme="light"] .membership-price-line span {
  color: #5d5968;
}

:root[data-theme="light"] .membership-success-state h3,
:root[data-theme="light"] .membership-success-state p {
  color: #1d6d4d;
}

:root[data-theme="light"] .membership-qr-error {
  color: #963e4c;
}

:root[data-theme="light"] .membership-qr-empty {
  border-color: #c9c4d4;
  background: #f0eff5;
  color: #514b5c;
}

:root[data-theme="light"] .membership-recovery-code {
  background: #f7f3ff;
}

:root[data-theme="light"] .membership-recovery-code code {
  color: #4f347c;
}

:root[data-theme="light"] .reader-heading p,
:root[data-theme="light"] .reader-status-copy p,
:root[data-theme="light"] .reader-page-input-wrap,
:root[data-theme="light"] .reader-page-total,
:root[data-theme="light"] .reader-zoom-label,
:root[data-theme="light"] .reader-notes,
:root[data-theme="light"] .reader-footer-brand {
  color: #5d5968;
}

:root[data-theme="light"] .reader-footer-brand {
  color: #302b38;
}

:root[data-theme="light"] .reader-header,
:root[data-theme="light"] .reader-heading,
:root[data-theme="light"] .reader-toolbar,
:root[data-theme="light"] .reader-footer {
  border-color: #dedbe6;
}

:root[data-theme="light"] .reader-access-state {
  border-color: #c7bdd8;
  color: #5f3b9f;
}

:root[data-theme="light"] .reader-access-state.is-ready {
  border-color: #79a88e;
  color: #1d6d4d;
}

:root[data-theme="light"] .reader-access-state.is-error,
:root[data-theme="light"] .reader-access-state.is-locked {
  border-color: #c59d60;
  color: #744f1d;
}

:root[data-theme="light"] .reader-status-indicator {
  border-color: #8064c7;
  background: #eee9fb;
}

:root[data-theme="light"] .reader-status-error .reader-status-indicator,
:root[data-theme="light"] .reader-status-locked .reader-status-indicator {
  border-color: #b17a32;
  background: #fff0d1;
}

:root[data-theme="light"] .reader-status[role="alert"] .reader-status-copy h2 {
  color: #744f1d;
}

:root[data-theme="light"] .reader-viewport {
  border-color: #d3cedd;
  background: #f0eff5;
}

:root[data-theme="light"] .reader-page-shell {
  border-color: #c8c2d0;
}

:root[data-theme="light"] .reader-watermark {
  border-color: #8c8294;
  background: #ffffffe8;
  color: #473c4d;
}

:root[data-theme="light"] button:disabled,
:root[data-theme="light"] input:disabled,
:root[data-theme="light"] textarea:disabled,
:root[data-theme="light"] select:disabled {
  opacity: .58;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle {
    transition: none;
  }
}
.registration-access-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:16px 0 2px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.registration-access-cta p{margin:0;line-height:1.7}.registration-access-cta .primary{flex:0 0 auto;min-height:44px}
.access-lock-panel,.access-preview-panel{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}.access-lock-panel{min-height:470px;margin:52px 0 70px;display:grid;place-items:center}.access-preview-panel{min-height:235px;margin:18px 28px 18px;display:grid;place-items:center}
.access-lock-panel__diagram{position:absolute;inset:10% 7%;display:grid;place-items:center;color:var(--purple);opacity:.28;filter:blur(1.2px);pointer-events:none;z-index:0}.access-lock-panel__diagram svg{width:100%;height:100%;max-height:300px;stroke:currentColor}.access-preview-panel .access-lock-panel__diagram{inset:4% 10%;opacity:.24}.access-preview-panel .access-lock-panel__diagram svg{max-height:180px}
.access-lock-panel__overlay{position:relative;z-index:1;width:min(520px,calc(100% - 42px));padding:28px 30px;text-align:center;border:1px solid var(--line);border-radius:12px;background:rgba(18,18,22,.93);box-shadow:0 18px 48px rgba(0,0,0,.2)}.access-lock-panel__overlay h1,.access-lock-panel__overlay h3{font-size:27px;line-height:1.35;font-weight:750;letter-spacing:-.02em}.access-lock-panel__overlay h3{font-size:19px}.access-lock-panel__overlay p{margin:12px auto 20px;max-width:42ch;color:var(--muted);font-size:13px;line-height:1.85}.access-lock-panel__overlay .primary{min-height:44px}
.access-pending-hint{position:fixed;left:50%;bottom:24px;z-index:90;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:0 12px 28px rgba(0,0,0,.16);font-size:12px;line-height:1.6;text-align:center}
html[data-theme="light"] .access-lock-panel__overlay{background:rgba(255,255,255,.95);box-shadow:0 18px 48px rgba(53,39,85,.12)}html[data-theme="light"] .access-pending-hint{box-shadow:0 12px 28px rgba(53,39,85,.12)}
@media(max-width:600px){.registration-access-cta{align-items:flex-start;flex-direction:column}.registration-access-cta .primary{width:100%}.access-lock-panel{min-height:410px;margin:36px 0 52px}.access-lock-panel__overlay{padding:24px 20px}.access-lock-panel__overlay h1{font-size:24px}.access-preview-panel{margin-left:18px;margin-right:18px}.access-preview-panel .access-lock-panel__overlay{width:calc(100% - 28px);padding:20px 16px}.access-pending-hint{bottom:16px}}

/* Authentication preview follows the existing flat surfaces and page gutters. */
.access-lock-panel{border:0;border-radius:0;background:transparent}
.access-lock-panel__overlay{box-shadow:none}
.access-preview-panel .access-lock-panel__overlay{border:0;background:transparent;box-shadow:none}
.access-lock-panel__diagram{opacity:.42;filter:blur(3px)}
.access-lock-panel__diagram img{width:100%;height:100%;object-fit:contain}
.access-pending-hint{box-shadow:none}
html[data-theme="light"] .access-lock-panel__overlay,html[data-theme="light"] .access-pending-hint{box-shadow:none}
/* Home overview only. The catalog shell, header, footer and route pages keep
   their incumbent selectors; this file is loaded by the lead after the base
   catalog styles. */
.home-overview {
  min-width: 0;
  max-width: var(--max);
  overflow-x: clip;
}

.home-overview .hero.home-search-hero {
  min-height: 360px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 58px 0 46px;
  text-align: center;
}

.home-overview .home-search-hero .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-overview .home-search-hero h1 {
  max-width: 14ch;
  margin-bottom: 14px;
  font-size: clamp(32px, 5.2vw, 52px);
  line-height: 1.16;
}

.home-overview .home-search-hero .hero-description {
  max-width: 38rem;
  font-size: 13px;
  line-height: 1.8;
}

.home-overview .home-search-hero .search-form {
  width: min(100%, 720px);
  max-width: 720px;
  margin-top: 22px;
  text-align: left;
}

.home-overview .home-quick-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  width: 100%;
  margin-top: 14px;
}

.home-overview .home-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.home-overview .home-quick-links a:hover {
  border-color: var(--purple);
  background: var(--surface-2);
  color: var(--text);
}

.home-overview .home-quick-links a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.home-overview .collection-stats {
  margin-bottom: 30px;
}

.home-overview__section {
  min-width: 0;
  margin: 34px 0 48px;
}

.home-overview__section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.home-overview__section-head h2 {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.025em;
}

.home-overview__section-head p {
  max-width: 66ch;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.home-overview__section-head .text-link {
  flex: 0 0 auto;
  min-height: 44px;
}

.home-overview__empty {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.home-overview .home-recent-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-overview .home-recent-list .robot-card {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  min-width: 0;
  border-radius: 10px;
}

.home-overview .home-recent-list .card-image-button {
  min-width: 0;
  min-height: 100%;
}

.home-overview .home-recent-list .robot-media {
  height: 100%;
  min-height: 126px;
}

.home-overview .home-recent-list .robot-media img {
  width: 90%;
  height: 80%;
}

.home-overview .home-recent-list .robot-info {
  min-width: 0;
  padding: 13px 12px 11px;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.home-overview .home-recent-list .robot-title {
  min-height: 44px;
  font-size: 14px;
}

.home-overview .home-recent-list .robot-company {
  margin-top: 3px;
  line-height: 1.55;
}

.home-overview .home-recent-list .robot-tags {
  gap: 4px;
  margin-top: 8px;
}

.home-overview .home-recent-list .robot-bottom {
  margin-top: 9px;
  font-size: 10px;
}

.home-overview .home-recent-list .robot-bottom > span {
  display: none;
}

.home-overview .home-category {
  margin-top: 50px;
}

.home-overview .home-category-toolbar {
  align-items: center;
  margin-bottom: 18px;
}

.home-overview .home-category-toolbar .chip {
  min-height: 44px;
}

.home-overview .home-category-toolbar > .muted {
  flex: 0 0 auto;
  font-size: 11px;
  white-space: nowrap;
}

.home-overview .home-category #home-robots {
  gap: 14px;
}

.home-overview .home-category #home-robots .robot-card {
  min-width: 0;
}

.home-overview .home-activity,
.home-overview .home-companies,
.home-overview .home-destinations {
  margin-top: 52px;
}

.home-overview .home-activity-list,
.home-overview .home-company-list,
.home-overview .home-destination-list {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.home-overview .home-activity-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.home-overview .home-activity-date {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
}

.home-overview .home-activity-date time {
  color: var(--purple);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.home-overview .home-activity-date span {
  color: var(--muted);
  font-size: 11px;
}

.home-overview .home-activity-copy {
  min-width: 0;
}

.home-overview .home-activity-company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  min-height: 24px;
  font-size: 11px;
}

.home-overview .home-activity-company a,
.home-overview .home-activity-title,
.home-overview .home-activity-source {
  color: var(--purple);
}

.home-overview .home-activity-company a:hover,
.home-overview .home-activity-title:hover,
.home-overview .home-activity-source:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-overview .home-activity-title {
  display: block;
  min-height: 44px;
  padding: 7px 0 4px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.home-overview .home-activity-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.home-overview .home-activity-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
}

.home-overview .home-activity-source svg {
  width: 12px;
  height: 12px;
}

.home-overview .home-company-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 72px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.home-overview .home-company-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  min-width: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
}

.home-overview .home-company-logo .brand-logo {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 0;
  border-radius: 0;
}

.home-overview .home-company-logo .brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-overview .home-company-logo-fallback {
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}

.home-overview .home-company-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.home-overview .home-company-main strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-overview .home-company-main small,
.home-overview .home-company-count {
  color: var(--muted);
  font-size: 11px;
}

.home-overview .home-company-count {
  white-space: nowrap;
}

.home-overview .home-company-count b {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.home-overview .home-company-arrow {
  color: var(--purple);
  font-size: 18px;
  text-align: right;
}

.home-overview .overview-bottom {
  margin: 48px 0 0;
  gap: 16px;
}

.home-overview .feature-panel {
  background: var(--surface);
}

.home-overview .feature-panel--graph {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.home-overview .feature-panel--graph .mini-graph {
  display: flex;
  min-height: 235px;
  flex: 1 1 auto;
  height: auto;
}

.home-overview .feature-panel--graph .mini-graph .network-stage,
.home-overview .feature-panel--graph .mini-graph .network-svg {
  height: 100%;
  min-height: 235px;
}

.home-overview .feature-panel--graph .feature-panel-footer {
  margin-top: auto;
}

.home-overview .home-destination-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-overview .home-destination-link {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-overview .home-destination-link:last-child {
  border-right: 0;
}

.home-overview .home-destination-link span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.home-overview .home-destination-link strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.home-overview .home-destination-link small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-overview .home-destination-link svg {
  flex: 0 0 16px;
  width: 16px;
  color: var(--purple);
}

.home-overview .home-destination-link:hover {
  background: var(--surface-2);
}

.home-overview .closing-line {
  margin-top: 12px;
  padding: 34px 0 58px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .home-overview .hero.home-search-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
    text-align: center;
  }

  .home-overview .home-recent-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-overview .home-destination-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-overview .home-destination-link:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 800px) {
  .home-overview .hero.home-search-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 36px;
    text-align: center;
  }

  .home-overview .home-search-hero h1 {
    font-size: clamp(35px, 6vw, 46px);
  }

  .home-overview .home-activity-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .home-overview .home-company-row {
    grid-template-columns: 40px minmax(0, 1fr) auto 18px;
    gap: 10px;
  }
}

@media (max-width: 540px) {
  .home-overview .hero.home-search-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 26px;
    padding-bottom: 24px;
    min-height: 300px;
    text-align: center;
  }

  .home-overview .home-search-hero h1 {
    max-width: 14ch;
    font-size: clamp(32px, 9vw, 39px);
  }

  .home-overview .home-search-hero .hero-description {
    max-width: 31ch;
    font-size: 12px;
  }

  .home-overview .home-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 300px;
    gap: 6px;
  }

  .home-overview .home-quick-links a {
    width: 100%;
  }

  .home-overview__section {
    margin: 30px 0 38px;
  }

  .home-overview__section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
  }

  .home-overview__section-head h2 {
    font-size: 23px;
  }

  .home-overview__section-head .text-link {
    min-height: 44px;
  }

  .home-overview .home-recent-list {
    grid-template-columns: 1fr;
  }

  .home-overview .home-recent-list .robot-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .home-overview .home-category {
    margin-top: 36px;
  }

  .home-overview .home-category-toolbar {
    align-items: flex-start;
  }

  .home-overview .home-category-toolbar > .muted {
    width: 100%;
  }

  .home-overview .home-category #home-robots {
    gap: 10px;
  }

  .home-overview .home-activity,
  .home-overview .home-companies,
  .home-overview .home-destinations {
    margin-top: 38px;
  }

  .home-overview .home-activity-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 0;
  }

  .home-overview .home-activity-date {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 9px;
  }

  .home-overview .home-activity-title {
    padding-top: 3px;
  }

  .home-overview .home-company-row {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
  }

  .home-overview .home-company-count {
    grid-column: 2;
    grid-row: 2;
    margin-top: -8px;
  }

  .home-overview .home-company-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .home-overview .overview-bottom {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .home-overview .home-destination-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-overview .home-destination-link {
    min-height: 72px;
    padding: 12px 11px;
    border-right: 1px solid var(--line);
  }

  .home-overview .home-destination-link:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .home-overview .home-destination-link:nth-child(2n) {
    border-right: 0;
  }

  .home-overview .closing-line {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 42px;
  }
}

@media (max-width: 360px) {
  .home-overview .home-destination-list {
    grid-template-columns: 1fr;
  }

  .home-overview .home-destination-link,
  .home-overview .home-destination-link:nth-child(3n) {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-overview .robot-card,
  .home-overview .robot-card img,
  .home-overview .home-destination-link {
    transition: none;
  }
}
/* Compact home value strip and manual membership disclosure. */
.home-subscription {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-width: 0;
  margin: 0 0 30px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}

.home-subscription__copy {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
  gap: 12px;
}

.home-subscription__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: var(--purple);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-subscription__text {
  min-width: 0;
  flex: 1 1 auto;
}

.home-subscription__text h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.home-subscription__description {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.home-subscription__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 0 8px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--purple);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.home-subscription__link:hover {
  color: var(--text);
}

.home-subscription__link svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-subscription__link:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.manual-membership {
  display: block;
  min-width: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.manual-membership__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 0;
  color: var(--text);
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.manual-membership__summary::-webkit-details-marker {
  display: none;
}

.manual-membership__summary::marker {
  content: "";
}

.manual-membership__summary:hover .manual-membership__title {
  color: var(--purple);
}

.manual-membership__summary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

.manual-membership__title {
  min-width: 0;
  flex: 1 1 auto;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.manual-membership__status {
  min-width: 0;
  max-width: 42%;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
  overflow-wrap: anywhere;
}

.manual-membership__chevron {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--purple);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.manual-membership[open] .manual-membership__chevron {
  transform: rotate(90deg);
}

.manual-membership__body {
  min-width: 0;
  padding: 12px 0 16px;
  border-top: 1px solid var(--line);
}

.manual-membership__description {
  max-width: 70ch;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.manual-membership__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 12px 0 16px;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  list-style: none;
}

.manual-membership__features li {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 7px;
  overflow-wrap: anywhere;
}

.manual-membership__features svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--purple);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.manual-membership__access {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.manual-membership__access > div {
  min-width: 0;
  padding: 12px 16px 0 0;
}

.manual-membership__access > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.manual-membership__access dt {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.manual-membership__access dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.manual-membership__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  min-width: 0;
  margin: 16px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}

.manual-membership__price > span {
  max-width: 100%;
  color: var(--purple);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.manual-membership__price small {
  flex: 1 0 100%;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.manual-membership__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
  margin: 16px 0 0;
}

.manual-membership__actions .primary,
.manual-membership__actions .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 14px;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.manual-membership__actions .secondary {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}

.manual-membership__actions .secondary:hover {
  border-color: var(--purple);
  background: var(--surface-2);
  color: var(--text);
}

.manual-membership__actions .primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.manual-membership__actions .primary:hover {
  border-color: var(--purple);
  background: var(--accent);
}

.manual-membership__actions svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.manual-membership__actions .primary:focus-visible,
.manual-membership__actions .secondary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.manual-membership__note {
  max-width: 70ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.membership-benefits-page .page-intro {
  margin-bottom: 24px;
}

.home-subscription[hidden],
.home-subscription [hidden],
.manual-membership[hidden],
.manual-membership [hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .home-subscription {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    margin-bottom: 28px;
    padding: 16px;
  }

  .home-subscription__link {
    justify-self: start;
    margin-left: 36px;
    padding-left: 0;
    text-align: left;
  }

  .manual-membership__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px;
    gap: 2px 10px;
    padding-block: 8px;
  }

  .manual-membership__title {
    grid-column: 1;
    grid-row: 1;
  }

  .manual-membership__status {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    margin-left: 0;
    text-align: left;
  }

  .manual-membership__chevron {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .manual-membership__access {
    grid-template-columns: minmax(0, 1fr);
  }

  .manual-membership__access > div {
    padding: 12px 0 0;
  }

  .manual-membership__access > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .manual-membership__actions {
    align-items: stretch;
  }

  .manual-membership__actions .primary,
  .manual-membership__actions .secondary {
    width: 100%;
    flex: 1 1 100%;
  }
}
.chronicle-page {padding-bottom:64px}
.chronicle-heading {padding:64px 0 36px;max-width:760px}
.chronicle-heading h1 {font-size:42px;font-weight:750;letter-spacing:-.025em;line-height:1.3;color:var(--text)}
.chronicle-heading p {margin-top:18px;font-size:16px;color:var(--muted)}
.chronicle-heading>span {display:block;margin-top:18px;color:var(--muted);font-size:12px}
.chronicle-filter {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:18px;padding:18px 0;border-block:1px solid var(--line)}
.chronicle-types {display:flex;flex-wrap:wrap;gap:6px}
.chronicle-types button,.chronicle-selects button,.chronicle-empty button {min-height:44px;padding:8px 16px;border:1px solid transparent;border-radius:6px;color:var(--muted);font-size:14px}
.chronicle-types button:hover,.chronicle-selects button:hover,.chronicle-empty button:hover {background:var(--surface-2);color:var(--text)}
.chronicle-types button[aria-pressed="true"] {color:var(--text);border-color:var(--line);background:var(--surface);font-weight:650}
.chronicle-selects {display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.chronicle-selects label {display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}
.chronicle-selects select {min-height:44px;min-width:140px;padding:8px 30px 8px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:14px}
.chronicle-caption {display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin:24px 0;font-size:12px;color:var(--muted)}
.chronicle-events {list-style:none;padding:0;margin:0;max-width:1020px}
.chronicle-event {display:grid;grid-template-columns:100px minmax(0,1fr);gap:32px;position:relative;outline-offset:3px;scroll-margin-block:30px}
.chronicle-year {position:relative;padding-top:28px;color:var(--text);font-size:28px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.3}
.chronicle-year::after {content:"";position:absolute;width:1px;right:-17px;top:0;bottom:0;background:var(--line)}
.chronicle-year::before {content:"";position:absolute;right:-20px;top:40px;width:7px;height:7px;border-radius:50%;background:var(--muted);z-index:1}
.chronicle-body {min-width:0;padding:28px 0 30px;border-bottom:1px solid var(--line)}
.chronicle-event:last-child .chronicle-body {border-bottom:0}
.chronicle-event.is-highlighted .chronicle-body {background:var(--surface)}
.chronicle-meta {display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--muted);font-size:12px;line-height:1.65;margin-bottom:10px}
.chronicle-meta>span:first-child {color:var(--purple)}
.chronicle-body h2 {font-size:22px;font-weight:650;line-height:1.45;color:var(--text)}
.chronicle-body>p {margin-top:10px;max-width:66ch;font-size:14px;color:var(--muted);line-height:1.9}
.chronicle-source {display:inline-flex;align-items:center;gap:7px;min-height:44px;margin-top:8px;font-size:12px;color:var(--purple);overflow-wrap:anywhere}
.chronicle-source svg {width:14px;height:14px;flex:0 0 14px}
.chronicle-source:hover {text-decoration:underline;text-underline-offset:4px}
.chronicle-note {margin-top:10px;color:var(--muted);font-size:12px;max-width:66ch}
.chronicle-note summary {cursor:pointer;min-height:36px;align-content:center}
.chronicle-note p {padding-bottom:8px}
.chronicle-footnote {max-width:75ch;font-size:12px;color:var(--muted);margin-top:36px}
.chronicle-empty {padding:48px 0;color:var(--muted)}
.chronicle-empty h2 {font-size:22px;color:var(--text)}
.chronicle-empty p {margin:12px 0}
.chronicle-preview small {display:block;margin-top:3px;font-size:11px;color:var(--muted)}
.chronicle-preview-links {display:flex;flex-wrap:wrap;gap:8px 16px;margin:4px 0 20px}
.chronicle-preview-links a {display:inline-flex;align-items:center;min-height:36px;font-size:12px;color:var(--purple)}
.chronicle-preview-links a:hover {text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){
 .chronicle-heading {padding:36px 0 24px}
 .chronicle-heading h1 {font-size:30px}
 .chronicle-heading p {font-size:15px}
 .chronicle-filter {display:block;padding:12px 0 16px}
 .chronicle-types {gap:4px;margin-bottom:16px}
 .chronicle-types button {padding-inline:11px;font-size:14px}
 .chronicle-selects {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px}
 .chronicle-selects select {min-width:0;width:100%;font-size:16px;padding-inline:8px 20px}
 .chronicle-selects button {padding-inline:8px}
 .chronicle-event {grid-template-columns:54px minmax(0,1fr);gap:22px}
 .chronicle-year {font-size:21px;padding-top:24px}
 .chronicle-year::after {right:-11px}
 .chronicle-year::before {right:-14px;top:32px}
 .chronicle-body {padding:24px 0}
 .chronicle-body h2 {font-size:18px}
 .chronicle-meta {gap:4px 10px;font-size:11px}
 .chronicle-caption>span {display:none}
 .chronicle-event.is-highlighted .chronicle-body {box-shadow:none}
 .chronicle-preview-links a {min-height:44px}
}

.chronicle-page {min-width:0;overflow-x:clip}
.chronicle-view-switch {display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.chronicle-control-label {font-size:12px;color:var(--muted);white-space:nowrap}
.chronicle-view-switch [role="group"] {display:flex;flex-wrap:wrap;gap:6px}
.chronicle-view-switch button {min-height:44px;padding:9px 16px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font-size:14px}
.chronicle-view-switch button:hover,.chronicle-view-switch button:focus-visible {background:var(--surface-2);color:var(--text)}
.chronicle-view-switch button[aria-pressed="true"] {border-color:var(--line);background:var(--surface);color:var(--text);font-weight:650}
.chronicle-view-switch button:focus-visible,.chronicle-types button:focus-visible,.chronicle-selects button:focus-visible,.chronicle-selects select:focus-visible,.chronicle-selects input:focus-visible,.chronicle-single-controls select:focus-visible,.chronicle-source:focus-visible {outline:2px solid var(--purple);outline-offset:2px}
.chronicle-selects {align-items:end}
.chronicle-selects input {min-height:44px;min-width:210px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:14px}
.chronicle-selects input::placeholder {color:var(--muted);opacity:1}
.chronicle-search {min-width:210px}
.chronicle-single-controls {display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}
.chronicle-single-controls>span {font-size:13px;color:var(--text);font-weight:650;align-self:center;margin-right:4px}
.chronicle-single-controls>p {margin:0 0 8px auto;font-size:12px;color:var(--muted)}
.chronicle-single-controls label {display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px}
.chronicle-single-controls select {min-height:44px;min-width:230px;padding:8px 30px 8px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:14px}
.chronicle-product {display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:12px;color:var(--muted);font-size:12px}
.chronicle-product strong {color:var(--text);font-weight:500}
.chronicle-empty {max-width:66ch}

@media(max-width:720px){
 .chronicle-view-switch {align-items:flex-start;flex-direction:column;gap:8px}
 .chronicle-view-switch [role="group"] {width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .chronicle-view-switch button {width:100%;padding-inline:8px}
 .chronicle-selects {grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}
 .chronicle-selects label,.chronicle-search {min-width:0}
 .chronicle-selects label:nth-of-type(3) {grid-column:1 / -1}
 .chronicle-selects input {width:100%;min-width:0;font-size:16px}
 .chronicle-selects button {grid-column:1 / -1;width:100%}
 .chronicle-single-controls {align-items:stretch;display:flex}
 .chronicle-single-controls>p {flex-basis:100%;margin:0}
 .chronicle-single-controls label {flex:1 1 100%}
 .chronicle-single-controls select {width:100%;min-width:0;font-size:16px}
}
.notifications-page {
  padding-bottom: 65px;
}

.notifications-board {
  max-width: 960px;
  margin-bottom: 24px;
}

.notifications-board-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--line);
}

.notifications-board-top h2 {
  font-size: 23px;
  font-weight: 650;
}

.notifications-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.notifications-list {
  min-width: 0;
}

.notice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 9px 20px;
  min-width: 0;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.notice-row-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.notice-row-heading h2 {
  min-width: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.notice-time,
.notice-detail-time,
.notice-popup-time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

.notice-row-excerpt {
  grid-column: 1;
  max-width: 75ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.notice-row-link,
.notifications-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--purple);
  border-radius: 7px;
  color: var(--purple);
  font-size: 12px;
  white-space: nowrap;
}

.notice-row-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 9px 14px;
}
.notifications-back { padding: 9px 14px; }

.notice-row-link:hover,
.notifications-back:hover {
  background: var(--surface-2);
}

.notifications-feedback {
  min-width: 0;
}

.notifications-state,
.notifications-loading {
  margin-top: 22px;
  padding: 34px 24px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  text-align: center;
}

.notifications-state h2 {
  font-size: 20px;
  font-weight: 650;
}

.notifications-state p {
  max-width: 65ch;
  margin: 9px auto 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.notifications-state-error {
  border-style: solid;
  border-color: #76566a;
}

.notifications-state-error h2 {
  color: var(--text);
}

.notifications-state-error .secondary {
  min-width: 88px;
}

.notifications-loading {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.notifications-skeleton {
  display: block;
  width: min(68%, 520px);
  height: 12px;
  border-radius: 3px;
  background: var(--surface-2);
}

.notifications-skeleton-title {
  width: min(44%, 320px);
  height: 18px;
}

.notifications-skeleton-short {
  width: min(34%, 230px);
}

.notifications-load-more {
  display: block;
  min-width: 160px;
  margin: 28px auto 0;
}

.notifications-detail-content {
  max-width: 860px;
  padding: 28px 0 35px;
}

.notice-detail {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.notice-detail h1 {
  max-width: 32ch;
  color: var(--text);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.notice-detail-time {
  display: block;
  margin-top: 12px;
}

.notice-detail-body {
  max-width: 65ch;
  margin-top: 27px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.notice-popup {
  width: min(520px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: min(680px, calc(100vh - 32px));
  max-height: min(680px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 48px #0006;
}

.notice-popup::backdrop {
  background: #000b;
}

.notice-popup-content {
  position: relative;
  padding: 31px 30px 28px;
}

.notice-popup h2 {
  max-width: 32ch;
  padding-right: 52px;
  font-size: 23px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.notice-popup-time {
  display: block;
  margin-top: 9px;
}

.notice-popup-body {
  max-height: min(45vh, 330px);
  margin: 23px 0 0;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow: auto;
  overflow-wrap: anywhere;
}

.notice-popup-actions {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.notice-popup-view {
  min-width: 128px;
}

.notice-popup-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
}

.notice-popup-close:hover {
  border-color: var(--purple);
  color: var(--purple);
}

@media (max-width: 600px) {
  .notifications-board-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .notifications-status {
    text-align: left;
  }

  .notice-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }

  .notice-row-heading {
    display: block;
  }

  .notice-time {
    display: block;
    margin-top: 6px;
  }

  .notice-row-excerpt,
  .notice-row-link {
    grid-column: 1;
    grid-row: auto;
  }

  .notice-row-link {
    justify-self: start;
    padding-inline: 13px;
  }

  .notifications-state,
  .notifications-loading {
    padding-inline: 18px;
  }

  .notice-detail h1 {
    font-size: 27px;
  }

  .notice-detail-body {
    font-size: 14px;
  }

  .notice-popup {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .notice-popup-content {
    padding: 29px 20px 22px;
  }

  .notice-popup-actions {
    display: grid;
  }

  .notice-popup-view {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-popup,
  .notice-row-link,
  .notifications-back {
    transition: none;
  }
}
/* Shared catalog header: one quiet row, one compact utility group. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 1.35vw, 22px);
  height: 94px;
  min-height: 94px;
  padding: 0 44px;
  overflow: visible;
}

.site-header .brand {
  order: 1;
  flex: 0 0 auto;
  min-width: 0;
  margin-right: 0;
}

.site-header .header-actions {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: auto;
}

.site-header .main-nav {
  order: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
  min-width: 0;
  min-height: 44px;
  height: 100%;
  justify-content: center;
  gap: clamp(8px, .95vw, 15px);
  overflow: visible;
  padding: 0;
  white-space: nowrap;
}

.site-header .main-nav > a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  min-height: 44px;
  flex: 0 0 auto;
}

.site-header .header-search,
.site-header .header-notifications,
.site-header > .theme-toggle,
.site-header .header-actions > .theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}

.site-header .header-search svg,
.site-header .header-notifications svg {
  width: 19px;
  height: 19px;
}

.site-header .header-search:hover,
.site-header .header-search:focus-visible,
.site-header .header-notifications:hover,
.site-header .header-notifications:focus-visible,
.site-header .header-actions > .theme-toggle:hover,
.site-header .header-actions > .theme-toggle:focus-visible {
  border-color: transparent;
  background: var(--surface-2);
  color: var(--text);
}

.site-header .header-feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  gap: 7px;
  padding: 0;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.site-header .header-feedback svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}

.site-header .header-feedback span,
.site-header .header-save > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header .header-feedback:hover,
.site-header .header-feedback:focus-visible,
.site-header .header-save:hover,
.site-header .header-save:focus-visible {
  background: var(--surface-2);
  color: var(--text);
}

.site-header .header-save {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  gap: 4px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}

.site-header .header-save svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.site-header .header-save b {
  color: var(--purple);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.site-header .header-subscription {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 7px;
  width: max-content;
  min-width: 100px;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--text);
  border-radius: 7px;
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  box-shadow: none;
}

.header-subscription-label {
  display: block;
}

.header-subscription-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke-width: 1.7;
}

.site-header a.header-subscription { text-decoration: none; }

.site-header .header-subscription:hover {
  border-color: var(--purple);
  background: var(--surface-2);
  color: var(--text);
}

.site-header .header-subscription:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

.site-header .header-actions > .theme-toggle {
  border-color: transparent;
  color: var(--muted);
  order: 5;
}

.site-header > .theme-toggle {
  order: 3;
}

.site-header .header-actions > .theme-toggle svg {
  width: 20px;
  height: 20px;
}

.site-header .account-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  max-width: 180px;
  min-height: 44px;
  overflow: hidden;
  order: 7;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-color: transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}

.site-header .account-trigger svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.site-header .account-trigger [data-membership-label] {
  min-width: 0;
  max-width: clamp(0px, 14vw, 120px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .account-trigger:hover,
.site-header .account-trigger:focus-visible {
  border-color: transparent;
  background: var(--surface-2);
  color: var(--text);
}

.site-header .header-search { order: 1; }
.site-header .header-feedback { order: 2; }
.site-header .header-save { order: 3; }
.site-header .header-subscription { order: 4; }
.site-header .header-notifications { order: 6; }

.site-header .notification-indicator {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--purple);
  pointer-events: none;
}

.site-header .mobile-nav-utilities {
  display: none;
}

@media (max-width: 1400px) {
  .site-header {
    padding-inline: 26px;
    gap: 12px;
  }

  .site-header .main-nav {
    gap: 8px;
  }

  .site-header .account-trigger [data-membership-label] {
    max-width: 76px;
  }
}

@media (max-width: 1240px) {
  .site-header {
    padding-inline: 26px;
    gap: 14px;
  }

  .site-header .main-nav {
    gap: 10px;
  }
}

@media (max-width: 1100px) {
  .site-header .account-trigger [data-membership-label] {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    height: auto;
    grid-template-columns: minmax(0, 1fr) repeat(3, 44px);
    grid-template-rows: 56px 48px;
    min-height: 104px;
    padding: 10px 24px 0;
    column-gap: 4px;
    row-gap: 0;
  }

  .site-header .header-actions {
    display: contents;
    order: initial;
  }

  .site-header .brand {
    order: initial;
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: calc(100% - 108px);
  }

  .site-header .header-subscription {
    grid-column: 2 / -1;
    grid-row: 1;
    justify-self: end;
    min-width: 96px;
    max-width: 112px;
    padding-inline: 10px;
  }

  .site-header .header-search,
  .site-header .header-notifications,
  .site-header .account-trigger {
    grid-row: 2;
    width: 44px;
    max-width: 44px;
    padding-inline: 0;
  }

  .site-header .header-search { grid-column: 2; }
  .site-header .header-notifications { grid-column: 3; }
  .site-header .account-trigger { grid-column: 4; }

  .site-header .header-feedback,
  .site-header .header-save,
  .site-header .header-actions > .theme-toggle {
    display: none;
  }

  .site-header > .theme-toggle {
    grid-column: 3;
    grid-row: 2;
    order: initial;
  }

  .site-header .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding-inline: 16px;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand img {
    width: 40px;
    height: 42px;
  }

  .site-header .brand strong {
    font-size: 18px;
  }

  .site-header .brand small {
    margin-top: 3px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .site-header .header-subscription {
    min-width: 96px;
    max-width: 108px;
    padding-inline: 8px;
  }
}

@media (max-width: 380px) {
  .site-header .brand strong {
    font-size: 17px;
  }

  .site-header .brand small {
    letter-spacing: 1px;
  }
}

/* theme.css is loaded first; keep light controls readable on the white surface. */
:root[data-theme="light"] .site-header .header-save,
:root[data-theme="light"] .site-header .header-feedback,
:root[data-theme="light"] .site-header .header-search,
:root[data-theme="light"] .site-header .header-notifications,
:root[data-theme="light"] .site-header .header-actions > .theme-toggle,
:root[data-theme="light"] .site-header .account-trigger {
  color: #5d5968;
}

:root[data-theme="light"] .site-header .header-save:hover,
:root[data-theme="light"] .site-header .header-save:focus-visible,
:root[data-theme="light"] .site-header .header-feedback:hover,
:root[data-theme="light"] .site-header .header-feedback:focus-visible,
:root[data-theme="light"] .site-header .header-search:hover,
:root[data-theme="light"] .site-header .header-search:focus-visible,
:root[data-theme="light"] .site-header .header-notifications:hover,
:root[data-theme="light"] .site-header .header-notifications:focus-visible,
:root[data-theme="light"] .site-header .header-actions > .theme-toggle:hover,
:root[data-theme="light"] .site-header .header-actions > .theme-toggle:focus-visible,
:root[data-theme="light"] .site-header .account-trigger:hover,
:root[data-theme="light"] .site-header .account-trigger:focus-visible {
  background: #f0ecfb;
  color: #2f2252;
}

:root[data-theme="light"] .site-header .header-subscription {
  border-color: #25222d;
  background: #25222d;
  color: #f7f7fa;
}

:root[data-theme="light"] .site-header .header-subscription:hover {
  border-color: #8064c7;
  background: #f0ecfb;
  color: #2f2252;
}

:root[data-theme="light"] .site-header .notification-indicator {
  border-color: #ffffff;
}
/* Manual subscription choices: two quiet summaries, never a three-card grid. */
.manual-subscription.manual-subscription--plans {
  display: block;
}

.manual-plan-details {
  margin-top: 20px;
}

.manual-plan-details summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  padding: 0 14px;
  border: 1px solid var(--line, #3b3047);
  border-radius: 7px;
  background: transparent;
  color: var(--text, #f1f0f5);
  font-size: 13px;
  cursor: pointer;
}

.manual-plan-details summary:hover {
  border-color: var(--purple, #a78bfa);
  color: var(--purple, #a78bfa);
}

.manual-plan-details summary:focus-visible {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 3px;
}

.manual-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--line, #3b3047);
  border-radius: 12px;
  background: var(--surface, #121116);
  overflow: hidden;
}

.manual-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 20px;
  border: 0;
  border-right: 1px solid var(--line, #3b3047);
  border-radius: 0;
  background: transparent;
}

.manual-plan:last-child {
  border-right: 0;
}

.manual-plan h3 {
  margin: 0;
  color: var(--text, #f1f0f5);
  font-size: 16px;
  line-height: 1.5;
}

.manual-plan-price {
  display: block;
  margin: 10px 0 4px;
  color: var(--text, #f1f0f5);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.manual-plan p {
  margin: 0;
  color: var(--muted, #aaa1b2);
  font-size: 12px;
  line-height: 1.75;
}

.manual-plan .manual-buy {
  min-height: 44px;
  margin-top: 16px;
  border: 1px solid var(--line, #3b3047);
  background: transparent;
  color: var(--text, #f1f0f5);
}

.manual-plan .manual-buy:not(:disabled):hover {
  border-color: var(--purple, #a78bfa);
  background: var(--surface-2, #211a2b);
  color: var(--text, #f1f0f5);
}

.manual-plan [data-membership-plan-status] {
  display: block;
  margin-top: 9px;
  color: var(--muted, #aaa1b2);
  font-size: 11px;
  line-height: 1.7;
}

.manual-plan .manual-buy:disabled {
  opacity: 1;
  border-color: var(--line, #3b3047);
  background: var(--surface-2, #211a2b);
  color: var(--muted, #aaa1b2);
}

/* Shared plan rows stay useful if the checkout fieldset is rendered before its scoped pass. */
.membership-plan-options {
  display: grid;
  gap: 0;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line, #3b3047);
  border-radius: 12px;
  background: var(--surface, #121116);
}

.membership-plan-options legend {
  margin: 0;
  padding: 13px 16px 8px;
  color: var(--text, #f1f0f5);
  font-size: 13px;
}

.membership-plan-option {
  display: flex !important;
  align-items: center;
  min-width: 0;
  min-height: 70px;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text, #f1f0f5) !important;
}

.membership-plan-option + .membership-plan-option {
  border-top: 1px solid var(--line, #3b3047);
}

.membership-plan-option-copy {
  min-width: 0;
  flex: 1;
}

.membership-plan-option:focus-within {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: -2px;
}

.membership-plan-option.is-selected {
  background: #2a1d38;
}

.membership-plan-option.is-disabled {
  cursor: not-allowed;
}

:root[data-theme="light"] .manual-plan-details summary,
:root[data-theme="light"] .manual-plan .manual-buy {
  border-color: #c9c4d4;
  background: #ffffff;
  color: #413c4d;
}

:root[data-theme="light"] .manual-plan-details summary:hover,
:root[data-theme="light"] .manual-plan .manual-buy:not(:disabled):hover {
  border-color: #8064c7;
  background: #f0ecfb;
  color: #2f2252;
}

:root[data-theme="light"] .manual-plans,
:root[data-theme="light"] .membership-plan-options {
  border-color: #d7d1df;
  background: #ffffff;
}

:root[data-theme="light"] .manual-plan,
:root[data-theme="light"] .membership-plan-option + .membership-plan-option {
  border-color: #d7d1df;
}

:root[data-theme="light"] .manual-plan h3,
:root[data-theme="light"] .manual-plan-price,
:root[data-theme="light"] .membership-plan-options legend {
  color: #25222d;
}

:root[data-theme="light"] .manual-plan p,
:root[data-theme="light"] .manual-plan [data-membership-plan-status] {
  color: #5d5968;
}

:root[data-theme="light"] .manual-plan .manual-buy:disabled {
  border-color: #dedbe6;
  background: #f0eff5;
  color: #5d5968;
}

:root[data-theme="light"] .membership-plan-option.is-selected {
  background: #f0ecfb;
}

@media (max-width: 820px) {
  .manual-plans {
    grid-template-columns: 1fr;
  }

  .manual-plan {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line, #3b3047);
  }

  .manual-plan:last-child {
    border-bottom: 0;
  }

  .manual-plan-price {
    font-size: 22px;
  }
}
/* Checkout surface: two calm plan rows, one clear payment path. */
.membership-checkout .membership-plan-title {
  margin: 0 0 -5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
#membership-dialog .membership-checkout .membership-plan-options legend.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}
.membership-checkout input[data-membership-plan]:focus-visible + .membership-plan-option-copy .membership-plan-option-name {
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-underline-offset: 5px;
}
#membership-dialog .membership-checkout .membership-checkout-payment,
#membership-dialog .membership-checkout .membership-payment-method-single {
  padding-inline: 0;
  border: 0;
  background: transparent;
}
.membership-checkout .membership-payment-method-single small {
  display: inline;
  min-width: 0;
  overflow-wrap: anywhere;
}

.membership-dialog.is-checkout {
  width: min(720px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.membership-dialog.is-checkout > .membership-close {
  position: sticky;
  top: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 10px 14px -44px auto;
  border: 1px solid var(--line, #3b3047);
  border-radius: 7px;
  background: var(--surface-2, #211a2b);
  color: var(--text, #f1f0f5);
}

.membership-dialog.is-checkout > .membership-close:hover {
  border-color: var(--purple, #a78bfa);
  background: var(--surface-2, #211a2b);
  color: var(--text, #f1f0f5);
}

.membership-checkout.membership-view {
  min-width: 0;
  padding: 30px clamp(20px, 4vw, 36px) 26px;
}

.membership-checkout .membership-view-heading {
  display: block;
  min-width: 0;
  margin: 0 0 18px;
  padding-right: 56px;
}

.membership-checkout .membership-view-heading > div {
  min-width: 0;
}

.membership-checkout .membership-view-heading h2 {
  margin: 0;
  color: var(--text, #f1f0f5);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.membership-checkout .membership-view-heading p {
  max-width: 62ch;
  margin: 8px 0 0;
  color: var(--muted, #aaa1b2);
  font-size: 13px;
  line-height: 1.7;
}

.membership-checkout .membership-checkout-form {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

/* The fieldset is the single outline; rows supply only quiet dividers. */
.membership-checkout .membership-plan-options {
  display: grid;
  gap: 0;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line, #3b3047);
  border-radius: 12px;
  background: var(--surface, #121116);
  overflow: hidden;
}

.membership-checkout .membership-plan-options legend {
  grid-column: 1 / -1;
  width: auto;
  margin: 0;
  padding: 13px 16px 8px;
  color: var(--text, #f1f0f5);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.membership-checkout .membership-plan-option {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 74px;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text, #f1f0f5) !important;
  cursor: pointer;
  text-align: start;
  box-shadow: none;
}

.membership-checkout .membership-plan-option + .membership-plan-option {
  border-top: 1px solid var(--line, #3b3047);
}

/* Keep the native radio in the tab order while presenting the label as the target. */
.membership-checkout .membership-plan-option input[data-membership-plan] {
  position: absolute;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.membership-checkout .membership-plan-option-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "heading amount"
    "period amount";
  align-items: center;
  column-gap: 16px;
  row-gap: 3px;
  min-width: 0;
  padding: 0;
}

.membership-checkout .membership-plan-option-heading {
  display: flex;
  grid-area: heading;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.membership-checkout .membership-plan-option-name {
  min-width: 0;
  color: var(--text, #f1f0f5);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.membership-checkout .membership-plan-availability {
  color: var(--muted, #aaa1b2);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.membership-checkout .membership-plan-availability:empty {
  display: none;
}

.membership-checkout .membership-plan-check {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--purple, #a78bfa);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.membership-checkout .membership-plan-check path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.membership-checkout .membership-plan-option.is-selected .membership-plan-check {
  opacity: 1;
  visibility: visible;
}

.membership-checkout .membership-plan-option-amount {
  display: flex;
  grid-area: amount;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}

.membership-checkout .membership-plan-option-price {
  margin: 0;
  color: var(--text, #f1f0f5);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.membership-checkout .membership-plan-option-term {
  color: var(--muted, #aaa1b2);
  font-size: 11px;
  line-height: 1.4;
}

.membership-checkout .membership-plan-option small {
  grid-area: period;
  min-width: 0;
  margin: 0;
  color: var(--muted, #aaa1b2);
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.membership-checkout .membership-plan-option:not(.is-disabled):hover,
.membership-checkout .membership-plan-option.is-selected {
  background: #2a1d38;
}

.membership-checkout .membership-plan-option:focus-within {
  outline: none;
}

.membership-checkout .membership-plan-option.is-disabled {
  cursor: not-allowed;
}

.membership-checkout .membership-plan-option.is-disabled:hover {
  background: transparent;
}

.membership-checkout .membership-plan-option.is-disabled .membership-plan-option-name,
.membership-checkout .membership-plan-option.is-disabled .membership-plan-availability,
.membership-checkout .membership-plan-option.is-disabled .membership-plan-option-price,
.membership-checkout .membership-plan-option.is-disabled .membership-plan-option-term,
.membership-checkout .membership-plan-option.is-disabled small {
  color: var(--muted, #aaa1b2);
}

/* Payment is one quiet line; the ready note only repeats the primary action. */
.membership-checkout .membership-checkout-payment {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.membership-checkout .membership-payment-options {
  display: grid;
  gap: 0;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.membership-checkout .membership-payment-options legend {
  margin: 0;
  padding: 0;
  color: var(--muted, #aaa1b2);
  font-size: 12px;
  line-height: 1.5;
}

.membership-checkout .membership-payment-option {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  min-width: 0;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text, #f1f0f5) !important;
}

.membership-checkout .membership-payment-option input {
  position: absolute;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.membership-checkout .membership-payment-option:focus-within {
  outline: none;
}

.membership-checkout .membership-payment-option > span {
  flex: 1;
}

.membership-checkout .membership-payment-check {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 2px 4px 0 12px;
  color: var(--purple);
  visibility: hidden;
}

.membership-checkout .membership-payment-check path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.membership-checkout .membership-payment-option.is-selected .membership-payment-check {
  visibility: visible;
}

.membership-checkout .membership-payment-option input[data-membership-payment-method]:focus-visible + span strong {
  text-decoration: underline;
  text-decoration-color: var(--purple, #a78bfa);
  text-underline-offset: 5px;
}

.membership-checkout .membership-payment-option strong,
.membership-checkout .membership-payment-method-single strong {
  color: var(--text, #f1f0f5);
}

.membership-checkout .membership-payment-option small,
.membership-checkout .membership-payment-method-single small {
  color: var(--muted, #aaa1b2);
}

.membership-checkout .membership-payment-method-single {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--muted, #aaa1b2) !important;
}

.membership-checkout .membership-payment-method-single small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.membership-checkout .membership-payment-note {
  min-width: 0;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted, #aaa1b2) !important;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.membership-checkout .membership-payment-note.is-ready {
  display: none;
}

.membership-checkout .membership-payment-note.is-pending {
  color: var(--muted, #aaa1b2) !important;
}

/* The selected amount is already in its row; retain this as a safe fallback. */
.membership-checkout .membership-checkout-total {
  display: none !important;
}

.membership-checkout .membership-checkout-consent {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 1;
}

.membership-checkout .membership-checkout-consent:disabled {
  opacity: 0.72;
}

.membership-checkout .membership-terms,
.membership-checkout .membership-terms-details {
  min-width: 0;
  border: 0;
}

.membership-checkout .membership-terms-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 0;
  color: var(--text, #f1f0f5);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.membership-checkout .membership-terms-details summary:focus-visible {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 3px;
}

.membership-checkout .membership-terms-details summary svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.membership-checkout .membership-terms-details[open] summary svg {
  transform: rotate(180deg);
}

.membership-checkout .membership-terms-details p {
  max-width: 72ch;
  margin: 0 0 10px;
  color: var(--muted, #aaa1b2);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.membership-checkout .membership-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  min-width: 0;
  min-height: 44px;
  color: var(--text, #f1f0f5) !important;
  line-height: 1.7 !important;
}

.membership-checkout .membership-checkbox input {
  flex: 0 0 18px;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px;
  min-height: 18px !important;
  margin: 3px 0 0 !important;
  accent-color: var(--purple, #a78bfa);
}

.membership-checkout .membership-checkbox span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.membership-checkout .membership-form-message-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.membership-checkout .membership-form-message-row > .membership-form-message {
  flex: 1 1 18rem;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.membership-checkout .membership-form-message-row > [data-membership-error-orders] {
  flex: 0 1 auto;
  min-width: 44px;
  min-height: 44px;
  white-space: normal;
}

.membership-checkout .membership-checkout-form > [data-membership-submit-order] {
  width: 100%;
  min-height: 48px;
  margin: 0;
  white-space: normal;
}

.membership-checkout [data-membership-submit-order]:disabled {
  opacity: 1;
  border-color: var(--line, #3b3047);
  background: var(--surface-2, #211a2b);
  color: var(--muted, #aaa1b2);
  cursor: not-allowed;
}

.membership-checkout .membership-checkout-actions {
  justify-content: flex-start;
  gap: 8px 18px;
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line, #3b3047);
}

.membership-checkout .membership-checkout-actions > button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--muted, #aaa1b2);
  white-space: normal;
}

.membership-checkout .membership-checkout-actions > button:hover {
  border-color: transparent;
  background: transparent;
  color: var(--text, #f1f0f5);
}

.membership-checkout .membership-checkout-actions > button:focus-visible {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 3px;
}

.membership-checkout .membership-browser-guide,
.membership-checkout .membership-subscribe-link {
  min-width: 0;
}

:root[data-theme="light"] .membership-dialog.is-checkout > .membership-close {
  border-color: #c9c4d4;
  background: #f0eff5;
  color: #413c4d;
}

:root[data-theme="light"] .membership-checkout .membership-plan-options {
  border-color: #d7d1df;
  background: #ffffff;
}

:root[data-theme="light"] .membership-checkout .membership-plan-option + .membership-plan-option,
:root[data-theme="light"] .membership-checkout .membership-checkout-actions {
  border-color: #d7d1df;
}

:root[data-theme="light"] .membership-checkout .membership-plan-option:not(.is-disabled):hover,
:root[data-theme="light"] .membership-checkout .membership-plan-option.is-selected {
  background: #f0ecfb;
}

:root[data-theme="light"] .membership-checkout .membership-plan-option.is-disabled:hover {
  background: #ffffff;
}

@media (max-width: 780px) {
  .membership-dialog.is-checkout {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .membership-checkout.membership-view {
    padding: 28px 16px 22px;
  }

  .membership-checkout .membership-view-heading {
    margin-bottom: 16px;
    padding-right: 52px;
  }

  .membership-checkout .membership-view-heading h2 {
    font-size: 24px;
  }

  .membership-checkout .membership-checkout-form {
    gap: 12px;
  }

  .membership-checkout .membership-plan-options {
    border-radius: 10px;
  }

  .membership-checkout .membership-plan-options legend {
    padding: 12px 14px 7px;
  }

  .membership-checkout .membership-plan-option {
    min-height: 70px;
    padding: 11px 14px;
  }

  .membership-checkout .membership-plan-option-copy {
    column-gap: 12px;
  }

  .membership-checkout .membership-plan-option-price {
    font-size: 20px;
  }

  .membership-checkout .membership-checkout-actions {
    gap: 4px 16px;
  }
}

@media (max-height: 560px) {
  .membership-dialog.is-checkout {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .membership-checkout.membership-view {
    padding-top: 24px;
    padding-bottom: 18px;
  }
}

/* Payment branding stays local to checkout choices and order payment surfaces. */
#membership-dialog .membership-checkout .membership-payment-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#membership-dialog .membership-checkout .membership-payment-options > legend {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 0 2px;
  color: var(--muted, #aaa1b2);
  font-size: 12px;
  line-height: 1.5;
}

#membership-dialog .membership-checkout .membership-payment-option {
  position: relative;
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px !important;
  min-width: 0;
  min-height: 76px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line, #3b3047);
  border-radius: 10px;
  background: var(--surface-2, #211a2b);
  color: var(--text, #f1f0f5) !important;
  cursor: pointer;
  box-shadow: none;
}

#membership-dialog .membership-checkout .membership-payment-option:hover,
#membership-dialog .membership-checkout .membership-payment-option.is-selected {
  border-color: var(--purple, #a78bfa);
  background: #2a1d38;
}

#membership-dialog .membership-checkout .membership-payment-option:focus-within {
  outline: none;
}

#membership-dialog .membership-checkout .membership-payment-option:has(input:focus-visible) {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 3px;
}

#membership-dialog .membership-checkout .membership-payment-option input {
  position: absolute;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

#membership-dialog .membership-checkout .membership-payment-option-copy {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}

#membership-dialog .membership-checkout .membership-payment-option-copy strong {
  min-width: 0;
  color: var(--text, #f1f0f5);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#membership-dialog .membership-checkout .membership-payment-option-copy small {
  min-width: 0;
  color: var(--muted, #aaa1b2);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#membership-dialog .membership-checkout .membership-payment-brand,
#membership-dialog .membership-payment-view .membership-payment-brand {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff !important;
  overflow: hidden;
}

#membership-dialog .membership-checkout .membership-payment-brand svg,
#membership-dialog .membership-payment-view .membership-payment-brand svg {
  display: block;
  width: 24px;
  height: 24px;
  color: currentColor;
  fill: currentColor;
}

#membership-dialog .membership-checkout .membership-payment-brand svg path,
#membership-dialog .membership-payment-view .membership-payment-brand svg path {
  stroke: none;
  fill: currentColor;
}

#membership-dialog .membership-checkout .membership-payment-brand--alipay,
#membership-dialog .membership-payment-view .membership-payment-brand--alipay {
  background: #1677ff;
}

#membership-dialog .membership-checkout .membership-payment-brand--wechat,
#membership-dialog .membership-payment-view .membership-payment-brand--wechat {
  background: #07c160;
}

#membership-dialog .membership-checkout .membership-payment-check {
  justify-self: end;
  align-self: center;
  width: 16px;
  height: 16px;
  margin: 0;
  color: var(--purple, #a78bfa);
  opacity: 0;
  visibility: hidden;
}

#membership-dialog .membership-checkout .membership-payment-option.is-selected .membership-payment-check {
  opacity: 1;
  visibility: visible;
}

#membership-dialog .membership-checkout .membership-payment-method-single {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "label value"
    "note note";
  align-items: center;
  gap: 4px 10px;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line, #3b3047);
  border-radius: 10px;
  background: var(--surface-2, #211a2b);
  color: var(--muted, #aaa1b2) !important;
}

#membership-dialog .membership-checkout .membership-payment-method-label {
  grid-area: label;
  color: var(--muted, #aaa1b2);
  font-size: 12px;
  line-height: 1.5;
}

#membership-dialog .membership-checkout .membership-payment-method-value {
  display: flex;
  grid-area: value;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#membership-dialog .membership-checkout .membership-payment-method-value strong,
#membership-dialog .membership-checkout .membership-payment-method-pending > strong {
  min-width: 0;
  color: var(--text, #f1f0f5);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#membership-dialog .membership-checkout .membership-payment-method-pending > strong {
  grid-area: value;
}

#membership-dialog .membership-checkout .membership-payment-method-single small {
  grid-area: note;
  min-width: 0;
  color: var(--muted, #aaa1b2);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#membership-dialog .membership-payment-view .membership-payment-copy {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line, #3b3047);
  border-radius: 10px;
  background: var(--surface-2, #211a2b);
}

#membership-dialog .membership-payment-view .membership-payment-copy .membership-actions {
  margin-top: 4px;
}

#membership-dialog .membership-payment-view .membership-payment-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 0 2px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line, #3b3047);
}

#membership-dialog .membership-payment-view .membership-payment-provider > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

#membership-dialog .membership-payment-view .membership-payment-provider small {
  color: var(--muted, #aaa1b2);
  font-size: 11px;
  line-height: 1.35;
}

#membership-dialog .membership-payment-view .membership-payment-provider strong {
  color: var(--text, #f1f0f5);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#membership-dialog .membership-payment-view .membership-qr {
  box-sizing: border-box;
  width: min(240px, 100%);
  min-height: 0;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 12px 10px 10px;
  background: #fff;
  border: 1px solid #84649f;
  border-radius: 10px;
  color: #2a2130;
  text-align: center;
}

#membership-dialog .membership-payment-view .membership-qr-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

#membership-dialog .membership-payment-view .membership-qr-heading .membership-payment-brand {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

#membership-dialog .membership-payment-view .membership-qr-heading strong {
  color: #2a2130;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

#membership-dialog .membership-payment-view .membership-qr img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

#membership-dialog .membership-payment-view .membership-qr-empty {
  background: var(--surface-2, #211a2b);
  color: var(--muted, #aaa1b2);
}

#membership-dialog .membership-payment-view .membership-qr-empty .membership-qr-heading strong {
  color: var(--text, #f1f0f5);
}

#membership-dialog .membership-payment-view .membership-qr-empty small {
  max-width: 18ch;
  color: var(--muted, #aaa1b2);
  line-height: 1.65;
}

:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-option,
:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-method-single,
:root[data-theme="light"] #membership-dialog .membership-payment-view .membership-payment-copy {
  border-color: #d7d1df;
  background: #fff;
  color: #413c4c !important;
}

:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-option:hover,
:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-option.is-selected {
  border-color: #7051ba;
  background: #f0ecfb;
}

:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-option:focus-within {
  outline-color: #7051ba;
}

:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-option-copy strong,
:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-method-value strong,
:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-method-pending > strong,
:root[data-theme="light"] #membership-dialog .membership-payment-view .membership-payment-provider strong {
  color: #302b38;
}

:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-options > legend,
:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-option-copy small,
:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-method-label,
:root[data-theme="light"] #membership-dialog .membership-checkout .membership-payment-method-single small,
:root[data-theme="light"] #membership-dialog .membership-payment-view .membership-payment-provider small {
  color: #5d5968;
}

:root[data-theme="light"] #membership-dialog .membership-payment-view .membership-payment-provider {
  border-bottom-color: #d7d1df;
}

:root[data-theme="light"] #membership-dialog .membership-payment-view .membership-qr {
  border-color: #c9c4d4;
}

:root[data-theme="light"] #membership-dialog .membership-payment-view .membership-qr-empty {
  background: #f8f7fb;
}

:root[data-theme="light"] #membership-dialog .membership-payment-view .membership-qr-empty .membership-qr-heading strong {
  color: #302b38;
}

:root[data-theme="light"] #membership-dialog .membership-payment-view .membership-qr-empty small {
  color: #5d5968;
}

@media (max-width: 599px) {
  #membership-dialog .membership-checkout .membership-payment-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #membership-dialog .membership-checkout .membership-payment-option {
    min-height: 72px;
    padding: 13px 12px;
  }

  #membership-dialog .membership-payment-view .membership-payment-grid {
    gap: 16px;
  }

  #membership-dialog .membership-payment-view .membership-payment-copy {
    padding: 14px;
  }
}

.membership-checkout .membership-checkout-actions > [data-membership-account],
.membership-checkout .membership-checkout-actions > [data-membership-orders],
.membership-checkout .membership-checkout-actions > [data-membership-refresh-session] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 7px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.membership-checkout .membership-checkout-actions > [data-membership-account],
.membership-checkout .membership-checkout-actions > [data-membership-refresh-session] {
  color: var(--muted, #aaa1b2);
}

.membership-checkout .membership-checkout-actions > [data-membership-account]:hover,
.membership-checkout .membership-checkout-actions > [data-membership-refresh-session]:hover {
  background: var(--surface-2, #211a2b);
  color: var(--text, #f1f0f5);
}

.membership-checkout .membership-checkout-actions > [data-membership-orders] {
  min-width: 116px;
  padding-inline: 16px;
  border: 1px solid var(--purple, #a78bfa);
  background: var(--surface-2, #211a2b);
  color: var(--text, #f1f0f5);
  font-weight: 650;
}

.membership-checkout .membership-checkout-actions > [data-membership-orders]:hover {
  border-color: var(--purple, #a78bfa);
  background: color-mix(in srgb, var(--purple) 12%, var(--surface));
  color: var(--text, #f1f0f5);
}

.membership-checkout .membership-checkout-actions > [data-membership-account]:focus-visible,
.membership-checkout .membership-checkout-actions > [data-membership-orders]:focus-visible,
.membership-checkout .membership-checkout-actions > [data-membership-refresh-session]:focus-visible {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 3px;
}

@media (max-width: 599px) {
  .membership-checkout .membership-checkout-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
  }

  .membership-checkout .membership-checkout-actions > [data-membership-orders] {
    grid-column: 1 / -1;
    order: -1;
    width: 100%;
  }

  .membership-checkout .membership-checkout-actions > [data-membership-account],
  .membership-checkout .membership-checkout-actions > [data-membership-refresh-session] {
    width: 100%;
    min-width: 0;
  }
}
.feedback-dialog {
  width: min(650px, calc(100vw - 32px));
  max-height: min(780px, calc(100dvh - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line, #29282f);
  border-radius: 16px;
  background: var(--surface, #121216);
  color: var(--text, #f1f0f5);
  box-shadow: none;
}

.feedback-dialog::backdrop {
  background: rgb(0 0 0 / 72%);
}

.feedback-dialog__shell {
  display: flex;
  max-height: inherit;
  flex-direction: column;
}

.feedback-dialog__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 28px 0;
}

.feedback-dialog__header h2 {
  margin: 0;
  padding-right: 10px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.feedback-dialog__close,
.feedback-button {
  min-height: 44px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.3;
}

.feedback-dialog__close {
  flex: 0 0 44px;
  width: 44px;
  padding: 8px 4px;
  border: 1px solid var(--line, #29282f);
  background: var(--surface-2, #19191f);
  color: var(--muted, #a19fae);
}

.feedback-dialog__close:hover {
  border-color: var(--purple, #a78bfa);
  color: var(--text, #f1f0f5);
}

.feedback-dialog__body {
  min-height: 0;
  overflow-y: auto;
  padding: 7px 28px 28px;
  overscroll-behavior: contain;
}

.feedback-dialog__intro,
.feedback-session-status,
.feedback-field__hint,
.feedback-privacy,
.feedback-history__hint,
.feedback-history__state,
.feedback-history__meta {
  color: var(--muted, #a19fae);
  font-size: 12px;
  line-height: 1.75;
}

.feedback-dialog__intro {
  margin: 0 0 4px;
}

.feedback-session-status {
  min-height: 21px;
  margin: 0 0 20px;
}

.feedback-session-status.is-ready,
.feedback-history__state.is-ready {
  color: var(--green, #87d4b2);
}

.feedback-session-status.is-error,
.feedback-history__state.is-error,
.feedback-form-message.is-error,
.feedback-field__error {
  color: #e5a4a4;
}

.feedback-form {
  display: grid;
  gap: 18px;
}

.feedback-form[aria-busy="true"] {
  cursor: progress;
}

.feedback-field {
  display: grid;
  gap: 7px;
}

.feedback-field > label {
  color: var(--text, #f1f0f5);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.feedback-field select,
.feedback-field input,
.feedback-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line, #29282f);
  border-radius: 7px;
  background: var(--surface-2, #19191f);
  color: var(--text, #f1f0f5);
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
}

.feedback-field select,
.feedback-field input {
  padding: 9px 12px;
}

.feedback-field textarea {
  min-height: 150px;
  padding: 11px 12px;
  resize: vertical;
}

.feedback-field select:focus,
.feedback-field input:focus,
.feedback-field textarea:focus {
  border-color: var(--purple, #a78bfa);
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 2px;
}

.feedback-field select:disabled,
.feedback-field input:disabled,
.feedback-field textarea:disabled {
  opacity: .64;
}

.feedback-field [aria-invalid="true"] {
  border-color: #d98f8f;
}

.feedback-field__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.feedback-field__hint {
  margin: 0;
}

.feedback-char-count {
  flex: 0 0 auto;
  color: var(--muted, #a19fae);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.feedback-field__error {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.feedback-privacy {
  margin: -3px 0 0;
  max-width: 70ch;
}

.feedback-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.feedback-form-message {
  margin: -2px 0 0;
  padding: 11px 0 0;
  color: var(--muted, #a19fae);
  font-size: 12px;
  line-height: 1.7;
}

.feedback-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.feedback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 11px 20px;
  border: 1px solid transparent;
  color: var(--text, #f1f0f5);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.feedback-button--primary {
  min-width: 138px;
  background: var(--accent, #7540d9);
  color: #fff;
  font-weight: 650;
}

.feedback-button--primary:hover {
  background: #8150de;
}

.feedback-button--secondary,
.feedback-button--quiet {
  border-color: var(--line, #29282f);
  background: transparent;
  color: var(--text, #f1f0f5);
}

.feedback-button--secondary:hover,
.feedback-button--quiet:hover {
  border-color: var(--purple, #a78bfa);
  background: var(--surface-2, #19191f);
}

.feedback-button--quiet {
  min-width: 58px;
  padding-inline: 12px;
  color: var(--muted, #a19fae);
}

.feedback-button:disabled,
.feedback-dialog__close:disabled {
  cursor: default;
  opacity: .52;
}

.feedback-success {
  display: grid;
  gap: 14px;
  padding: 3px 0 8px;
}

.feedback-success h3,
.feedback-history h3 {
  margin: 0;
  color: var(--text, #f1f0f5);
  font-size: 17px;
  font-weight: 700;
}

.feedback-success > p {
  margin: 0;
  color: var(--muted, #a19fae);
  font-size: 12px;
  line-height: 1.8;
}

.feedback-ticket {
  display: grid;
  grid-template-columns: minmax(86px, .35fr) minmax(0, 1fr);
  gap: 0;
  margin: 0 0 4px;
  border-top: 1px solid var(--line, #29282f);
}

.feedback-ticket dt,
.feedback-ticket dd {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line, #29282f);
  font-size: 12px;
  line-height: 1.6;
}

.feedback-ticket dt {
  color: var(--muted, #a19fae);
}

.feedback-ticket dd {
  color: var(--text, #f1f0f5);
  overflow-wrap: anywhere;
}

.feedback-ticket__id {
  font-variant-numeric: tabular-nums;
}

.feedback-success .feedback-button {
  justify-self: start;
}

.feedback-history {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #29282f);
}

.feedback-history__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feedback-history__hint {
  margin: 6px 0 0;
}

.feedback-history__state {
  min-height: 21px;
  margin: 11px 0 0;
}

.feedback-history__state.is-pending {
  color: var(--muted, #a19fae);
}

.feedback-history__list {
  display: grid;
  gap: 0;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.feedback-history__item,
.feedback-history__empty {
  padding: 13px 0;
  border-top: 1px solid var(--line, #29282f);
}

.feedback-history__empty {
  color: var(--muted, #a19fae);
  font-size: 12px;
  line-height: 1.7;
}

.feedback-history__item-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.feedback-history__item-heading strong {
  min-width: 0;
  color: var(--text, #f1f0f5);
  font-size: 12px;
  font-weight: 650;
}

.feedback-history__status {
  flex: 0 0 auto;
  color: var(--muted, #a19fae);
  font-size: 11px;
}

.feedback-history__status.is-open,
.feedback-history__status.is-in_progress {
  color: var(--purple, #a78bfa);
}

.feedback-history__status.is-resolved {
  color: var(--green, #87d4b2);
}

.feedback-history__message {
  margin: 5px 0 0;
  color: var(--text, #f1f0f5);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.feedback-history__meta {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

.feedback-history__reply {
  min-width: 0;
  margin-top: 12px;
  padding: 11px 12px 12px;
  border: 1px solid var(--line, #29282f);
  border-radius: 7px;
  background: var(--surface-2, #19191f);
}

.feedback-history__reply-heading {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.feedback-history__reply-label {
  color: var(--purple, #a78bfa);
  font-size: 12px;
  font-weight: 650;
}

.feedback-history__reply-time {
  flex: 0 1 auto;
  color: var(--muted, #a19fae);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.feedback-history__reply-message {
  min-width: 0;
  margin: 5px 0 0;
  color: var(--text, #f1f0f5);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.feedback-dialog [hidden] {
  display: none !important;
}

.feedback-dialog :focus-visible {
  outline-color: var(--purple, #a78bfa);
}

:root[data-theme="light"] .feedback-dialog::backdrop {
  background: rgb(34 29 48 / 34%);
}

:root[data-theme="light"] .feedback-field__error,
:root[data-theme="light"] .feedback-form-message.is-error,
:root[data-theme="light"] .feedback-session-status.is-error,
:root[data-theme="light"] .feedback-history__state.is-error {
  color: #a33c45;
}

:root[data-theme="light"] .feedback-field [aria-invalid="true"] {
  border-color: #b94b57;
}

@media (max-width: 600px) {
  .feedback-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 13px;
  }

  .feedback-dialog__header {
    gap: 12px;
    padding: 20px 18px 0;
  }

  .feedback-dialog__header h2 {
    font-size: 22px;
  }

  .feedback-dialog__body {
    padding: 7px 18px 22px;
  }

  .feedback-form__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .feedback-form__actions .feedback-button,
  .feedback-success .feedback-button {
    width: 100%;
  }

  .feedback-field__meta {
    align-items: flex-start;
  }
  .feedback-field select,.feedback-field input,.feedback-field textarea{font-size:16px}

  .feedback-history__reply-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .feedback-history__reply-time {
    text-align: left;
  }

  .feedback-success .feedback-button {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-button {
    transition: none;
  }
}
.feedback-entry{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 10px;border:0;background:transparent;color:var(--muted,#a19fae);font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
.feedback-entry:hover{color:var(--text,#f1f0f5)}
.feedback-entry svg{width:19px;height:19px;flex-shrink:0}
.feedback-entry:focus-visible{outline:2px solid var(--purple,#a78bfa);outline-offset:2px;border-radius:7px}
.feedback-footer{display:flex;justify-content:center;padding:0 16px 20px}
.feedback-login p{color:var(--muted,#a19fae);font-size:14px;line-height:1.7;margin:0 0 20px}
@media(max-width:720px){.header-feedback span{display:none}.header-feedback{padding-inline:8px}.reader-nav .feedback-entry{font-size:12px}}
/* Progressive mobile catalog navigation enhancement. */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 1240px) {
  .site-header.mobile-navigation-ready {
    position: relative;
    z-index: 20;
  }

  .site-header.mobile-navigation-ready.mobile-navigation-open {
    z-index: 40;
  }

  .site-header.mobile-navigation-ready .mobile-nav-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    order: 2;
    flex: 0 0 auto;
    width: auto;
    min-width: 88px;
    min-height: 48px;
    overflow: hidden;
    padding: 0 12px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 16px;
    text-align: left;
  }

  .site-header.mobile-navigation-ready .mobile-nav-toggle:hover,
  .site-header.mobile-navigation-ready .mobile-nav-toggle:focus-visible {
    background: transparent;
    color: var(--text);
  }

  .mobile-nav-toggle-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .02em;
    white-space: nowrap;
    line-height: 1.3;
  }

  .mobile-nav-toggle-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-nav-toggle-close,
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-lines {
    display: none;
  }

  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-close {
    display: block;
  }

  .site-header.mobile-navigation-ready .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 26px;
    right: 26px;
    z-index: 30;
    display: none;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: auto;
    max-height: min(60vh, calc(100vh - 128px), 420px);
    max-height: min(60dvh, calc(100dvh - 128px), 420px);
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    box-shadow: 0 12px 30px #0003;
  }

  .site-header.mobile-navigation-ready .main-nav.is-open {
    display: grid;
  }

  .site-header.mobile-navigation-ready .header-actions > .header-feedback,
  .site-header.mobile-navigation-ready .header-actions > .header-save,
  .site-header.mobile-navigation-ready .header-actions > .theme-toggle {
    display: none;
  }

  .site-header.mobile-navigation-ready .main-nav > a,
  .site-header.mobile-navigation-ready .mobile-nav-utilities > * {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 52px;
    height: auto;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
  }

  .site-header.mobile-navigation-ready .main-nav > a:hover,
  .site-header.mobile-navigation-ready .main-nav > a:focus-visible,
  .site-header.mobile-navigation-ready .mobile-nav-utilities > *:hover,
  .site-header.mobile-navigation-ready .mobile-nav-utilities > *:focus-visible {
    background: var(--surface-2);
    color: var(--text);
  }

  .site-header.mobile-navigation-ready .main-nav > a.active,
  .site-header.mobile-navigation-ready .main-nav > a[aria-current="page"] {
    background: var(--surface-2);
    color: var(--text);
    font-weight: 650;
  }

  .site-header.mobile-navigation-ready .main-nav > a.active::after,
  .site-header.mobile-navigation-ready .main-nav > a[aria-current="page"]::after {
    display: none;
  }

  .site-header.mobile-navigation-ready .mobile-nav-utilities {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .site-header.mobile-navigation-ready .mobile-nav-utilities > * {
    justify-content: center;
    width: auto;
    min-width: 0;
    border: 0;
    background: transparent;
    text-align: center;
  }

  .site-header.mobile-navigation-ready .mobile-nav-utilities .header-feedback {
    gap: 7px;
  }

  .site-header.mobile-navigation-ready .mobile-nav-utilities .header-feedback span,
  .site-header.mobile-navigation-ready .mobile-nav-utilities .header-save > span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  .site-header.mobile-navigation-ready .mobile-nav-utilities .header-feedback svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }

  .site-header.mobile-navigation-ready .mobile-nav-utilities .header-save {
    gap: 7px;
  }

  .site-header.mobile-navigation-ready .mobile-nav-utilities .theme-toggle {
    display: inline-grid;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 52px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    font-size: 16px;
  }

  .site-header.mobile-navigation-ready .mobile-nav-utilities .theme-toggle svg {
    width: 20px;
    height: 20px;
  }

  :root[data-theme="light"] .site-header.mobile-navigation-ready .main-nav {
    border-color: #c7c2d1;
    background: #ffffff;
    color: #292532;
  }

  :root[data-theme="light"] .site-header.mobile-navigation-ready .mobile-nav-toggle {
    background: transparent;
    color: #292532;
  }

  :root[data-theme="light"] .site-header.mobile-navigation-ready .main-nav > a,
  :root[data-theme="light"] .site-header.mobile-navigation-ready .mobile-nav-utilities > * {
    color: #5d5968;
  }

  :root[data-theme="light"] .site-header.mobile-navigation-ready .main-nav > a:hover,
  :root[data-theme="light"] .site-header.mobile-navigation-ready .main-nav > a:focus-visible,
  :root[data-theme="light"] .site-header.mobile-navigation-ready .mobile-nav-utilities > *:hover,
  :root[data-theme="light"] .site-header.mobile-navigation-ready .mobile-nav-utilities > *:focus-visible,
  :root[data-theme="light"] .site-header.mobile-navigation-ready .main-nav > a.active,
  :root[data-theme="light"] .site-header.mobile-navigation-ready .main-nav > a[aria-current="page"] {
    background: #f5f3f8;
    color: #292532;
  }
}

@media (max-width: 900px) {
  .site-header.mobile-navigation-ready .mobile-nav-toggle {
    grid-column: 1;
    grid-row: 2;
    order: initial;
    justify-self: start;
  }

  .site-header.mobile-navigation-ready .main-nav {
    left: 16px;
    right: 16px;
  }
}

.invoice-view {
  display: grid;
  gap: 20px;
  min-width: 0;
  color: var(--text);
}

.invoice-view *,
.invoice-view code,
.invoice-view output {
  min-width: 0;
  overflow-wrap: anywhere;
}

.invoice-view code {
  font-family: inherit;
  color: var(--text);
  font-size: 12px;
  word-break: break-word;
}

.invoice-view .membership-view-heading {
  margin-bottom: 0;
}

.invoice-view .invoice-section-heading {
  display: grid;
  gap: 6px;
}

.invoice-view .invoice-section-heading h3 {
  font-size: 16px;
}

.invoice-view .invoice-section-heading p,
.invoice-view .invoice-unavailable p,
.invoice-view .invoice-page-error p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.invoice-view .invoice-page-error,
.invoice-view .invoice-unavailable,
.invoice-view .invoice-reply {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.invoice-view .invoice-page-error strong,
.invoice-view .invoice-unavailable h3,
.invoice-view .invoice-reply strong {
  color: var(--text);
  font-size: 13px;
}

.invoice-view .invoice-page-error .membership-actions {
  margin-top: 4px;
}

.invoice-view .invoice-unavailable {
  padding: 25px 18px;
}

.invoice-view .invoice-detail-stack {
  display: grid;
  gap: 18px;
}

.invoice-view .invoice-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.invoice-view .invoice-amount-row output {
  color: var(--text);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  text-align: right;
}

.invoice-view .invoice-amount-row output small {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.invoice-view .invoice-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.invoice-view .invoice-details > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 13px;
  background: var(--surface-2);
}

.invoice-view .invoice-details dt {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.invoice-view .invoice-details dd {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.invoice-view .invoice-reply {
  border-color: var(--purple);
}

.invoice-view .invoice-reply-alert {
  border-color: var(--line);
}

.invoice-view .invoice-reply p {
  color: var(--text);
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.invoice-view .invoice-delivery-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.invoice-view .invoice-form {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.invoice-view .invoice-form fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.invoice-view .invoice-form fieldset legend,
.invoice-view .invoice-form label {
  color: var(--text);
  font-size: 12px;
  line-height: 1.6;
}

.invoice-view .invoice-kind-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.invoice-view .invoice-kind-option {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--muted) !important;
  cursor: pointer;
  text-align: center;
}

.invoice-view .invoice-kind-option:hover,
.invoice-view .invoice-kind-option.is-selected {
  border-color: var(--purple);
  color: var(--text) !important;
}

.invoice-view .invoice-kind-option input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

.invoice-view .invoice-kind-option:focus-within {
  outline: none;
}

.invoice-view .invoice-kind-option input:focus-visible + span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.invoice-view .invoice-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.invoice-view .invoice-form-grid label,
.invoice-view .invoice-form > label {
  display: grid !important;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.invoice-view .invoice-form input,
.invoice-view .invoice-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.invoice-view .invoice-form textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.7;
}

.invoice-view .invoice-form input:focus,
.invoice-view .invoice-form textarea:focus {
  border-color: var(--purple);
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.invoice-view .invoice-form input:disabled,
.invoice-view .invoice-form textarea:disabled {
  opacity: .55;
}

.invoice-view .invoice-form [hidden] {
  display: none !important;
}

.invoice-view .invoice-amount-readonly {
  align-items: center;
}

.invoice-view .invoice-form-error {
  margin: 0;
}

.invoice-view .invoice-form-actions,
.invoice-view .invoice-actions {
  margin-top: 0;
}

.invoice-view .invoice-form-actions > *,
.invoice-view .invoice-actions > *,
.invoice-view .invoice-page-error .membership-actions > * {
  min-height: 44px;
}

.invoice-view .membership-state {
  flex: 0 0 auto;
  white-space: normal;
  text-align: center;
}

@media (max-width: 600px) {
  #membership-dialog.is-invoice .membership-close {
    width: 44px;
    height: 44px;
  }

  .invoice-view .invoice-form input:not([type="radio"]),
  .invoice-view .invoice-form textarea {
    font-size: 16px;
  }

  .invoice-view .invoice-kind-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoice-view .invoice-form-grid,
  .invoice-view .invoice-details {
    grid-template-columns: 1fr;
  }

  .invoice-view .invoice-amount-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .invoice-view .invoice-amount-row output {
    text-align: left;
  }

  .invoice-view .membership-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .invoice-view .membership-actions > * {
    width: 100%;
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .invoice-view * {
    scroll-behavior: auto;
  }
}
.social-channels-home {
  min-width: 0;
  margin: 0 0 67px;
  padding: 34px 0 36px;
  border-top: 1px solid var(--line, #29282f);
  border-bottom: 1px solid var(--line, #29282f);
}

.social-channels-home__intro {
  min-width: 0;
}

.social-channels-home h2 {
  margin: 0;
  color: var(--text, #f1f0f5);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.social-channels-home__intro p {
  max-width: 65ch;
  margin: 10px 0 0;
  color: var(--muted, #a19fae);
  font-size: 14px;
  line-height: 1.8;
}

.social-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
  margin-top: 28px;
}

.social-channel {
  display: grid;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.social-channel__qr-link {
  display: block;
  width: min(100%, 160px);
  text-decoration: none;
}

.social-channel__qr {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--line, #29282f);
  background: #fff;
  object-fit: contain;
}

.social-channel__qr-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted, #a19fae);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

.social-channel__caption {
  display: grid;
  justify-items: center;
  width: 100%;
  min-width: 0;
}

.social-channel__platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  padding: 7px 6px 4px;
  color: var(--text, #f1f0f5);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.social-channel__platform-link:hover {
  color: var(--purple, #a78bfa);
}

.social-channel__brand {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  stroke: none;
}

.social-channel__account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 4px;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  color: var(--muted, #a19fae);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-align: center;
}

.social-channel__account:hover {
  color: var(--purple, #a78bfa);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-channel__visit-hint {
  color: var(--muted, #a19fae);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.social-channel__qr-link:focus-visible,
.social-channel__platform-link:focus-visible,
.social-channel__account:focus-visible {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 4px;
}

.social-channels-home__dialog {
  display: none;
  width: min(680px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line, #29282f);
  border-radius: 12px;
  background: var(--surface, #121216);
  color: var(--text, #f1f0f5);
}

.social-channels-home__dialog[open] {
  display: block;
  width: min(680px, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}

.social-channels-home__dialog::backdrop {
  background: rgb(0 0 0 / 68%);
}

.social-qr-dialog__shell {
  display: flex;
  max-height: inherit;
  flex-direction: column;
  min-height: 0;
}

.social-qr-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px)) 12px calc(16px + env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--line, #29282f);
}

.social-qr-dialog__platform {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.social-qr-dialog__platform {
  color: var(--text, #f1f0f5);
  font-weight: 650;
}

.social-qr-dialog__close {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line, #29282f);
  border-radius: 6px;
  color: var(--text, #f1f0f5);
  font-size: 13px;
}

.social-qr-dialog__close:hover {
  border-color: var(--purple, #a78bfa);
  color: var(--purple, #a78bfa);
}

.social-qr-dialog__close:focus-visible {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 3px;
}

.social-qr-dialog__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .72fr);
  gap: 24px;
  min-height: 0;
  padding: 20px calc(16px + env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
  overflow: auto;
}

.social-qr-dialog__image-frame {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 0;
  max-height: min(54dvh, 360px);
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}

.social-qr-dialog__image {
  display: block;
  width: min(100%, 360px);
  max-height: min(48dvh, 360px);
  aspect-ratio: 1;
  object-fit: contain;
}

.social-qr-dialog__copy {
  align-self: center;
  min-width: 0;
}

.social-qr-dialog__copy h2 {
  margin: 0;
  color: var(--text, #f1f0f5);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.social-qr-dialog__copy p {
  margin-top: 12px;
  color: var(--muted, #a19fae);
  font-size: 13px;
  line-height: 1.8;
}

.social-qr-dialog__copy strong {
  color: var(--text, #f1f0f5);
  font-weight: 650;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .social-channels-home {
    margin-bottom: 44px;
    padding: 28px 0 30px;
  }

  .social-channels-home h2 {
    font-size: 25px;
  }

  .social-channels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin-top: 24px;
  }

  .social-channel__qr-link {
    width: min(100%, 116px);
  }

  .social-qr-dialog__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .social-qr-dialog__image {
    width: min(100%, 300px);
    max-height: min(42dvh, 300px);
  }

  .social-qr-dialog__image-frame {
    max-height: min(42dvh, 300px);
  }

  .social-qr-dialog__copy {
    align-self: start;
  }
}

@media (max-width: 340px) {
  .social-channels-grid {
    gap: 20px 12px;
  }

  .social-channel__qr-link {
    width: min(100%, 104px);
  }

  .social-channel__platform-link {
    gap: 6px;
    padding-right: 0;
    padding-left: 0;
    font-size: 13px;
  }

  .social-channels-home__dialog {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .social-channels-home__dialog[open] {
    width: calc(100vw - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    max-width: calc(100vw - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }

  .social-qr-dialog__header {
    padding-right: calc(10px + env(safe-area-inset-right, 0px));
    padding-left: calc(10px + env(safe-area-inset-left, 0px));
  }

  .social-qr-dialog__content {
    padding-right: calc(10px + env(safe-area-inset-right, 0px));
    padding-left: calc(10px + env(safe-area-inset-left, 0px));
  }
}
.official-account-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  min-width: 0;
  margin: 0 0 67px;
  padding: 34px 0 36px;
  border-top: 1px solid var(--line, #29282f);
  border-bottom: 1px solid var(--line, #29282f);
}

.official-account-home-copy,
.official-account-footer-copy {
  min-width: 0;
}

.official-account-home h2 {
  margin: 0;
  color: var(--text, #f1f0f5);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.official-account-description {
  max-width: 65ch;
  margin: 10px 0 0;
  color: var(--muted, #a19fae);
  font-size: 14px;
  line-height: 1.8;
}

.official-account-account-name {
  min-width: 0;
  margin: 19px 0 0;
  color: var(--muted, #a19fae);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.official-account-account-name strong {
  color: var(--text, #f1f0f5);
  font-weight: 650;
}

.official-account-alias-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  min-width: 0;
  margin-top: 14px;
}

.official-account-alias {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--muted, #a19fae);
  font-size: 14px;
  line-height: 1.7;
  user-select: text;
}

.official-account-alias-value {
  color: var(--text, #f1f0f5);
  font-weight: 650;
  letter-spacing: 0.01em;
  user-select: text;
}

.official-account-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 74px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line, #29282f);
  border-radius: 7px;
  background: transparent;
  color: var(--text, #f1f0f5);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.official-account-copy svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.official-account-copy:hover {
  border-color: var(--purple, #a78bfa);
  background: var(--surface-2, #19191f);
}

.official-account-copy:focus-visible,
.official-account-qr-image-link:focus-visible,
.official-account-qr-link:focus-visible,
.official-account-details summary:focus-visible {
  outline: 2px solid var(--purple, #a78bfa);
  outline-offset: 4px;
}

.official-account-copy:disabled {
  opacity: 0.65;
}

.official-account-status {
  flex: 1 1 180px;
  min-width: 0;
  min-height: 1.7em;
  color: var(--muted, #a19fae);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.official-account-status[data-wechat-state="success"] {
  color: var(--purple, #a78bfa);
}

.official-account-instruction {
  max-width: 65ch;
  margin: 11px 0 0;
  color: var(--muted, #a19fae);
  font-size: 13px;
  line-height: 1.75;
}

.official-account-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 148px;
  min-width: 136px;
  margin: 0;
}

.official-account-qr-image-link {
  display: block;
  width: 136px;
  height: 136px;
  overflow: hidden;
  border: 1px solid var(--line, #29282f);
  background: #fff;
}

.official-account-qr-image {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
}

.official-account-qr figcaption,
.official-account-qr-link {
  color: var(--muted, #a19fae);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.official-account-qr-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--purple, #a78bfa);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.official-account-qr-link:hover {
  color: var(--text, #f1f0f5);
}

.official-account-footer {
  max-width: 1320px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 42px 24px;
}

.official-account-details {
  min-width: 0;
  border-top: 1px solid var(--line, #29282f);
  border-bottom: 1px solid var(--line, #29282f);
}

.official-account-details summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 0;
  color: var(--muted, #a19fae);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.official-account-details summary::-webkit-details-marker {
  display: none;
}

.official-account-details summary:hover {
  color: var(--text, #f1f0f5);
}

.official-account-summary-icon {
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--purple, #a78bfa);
}

.official-account-summary-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.official-account-summary-chevron {
  width: 16px;
  height: 16px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.official-account-details[open] .official-account-summary-chevron {
  transform: rotate(90deg);
}

.official-account-details-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  min-width: 0;
  padding: 5px 0 27px;
}

.official-account-footer .official-account-account-name {
  margin-top: 0;
}

.official-account-footer .official-account-alias-row {
  margin-top: 10px;
}

.official-account-footer .official-account-instruction {
  margin-top: 8px;
}

.official-account-footer .official-account-qr {
  align-self: start;
}

@media (max-width: 600px) {
  .official-account-home {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    margin-bottom: 44px;
    padding: 28px 0 30px;
  }

  .official-account-home h2 {
    font-size: 25px;
  }

  .official-account-home .official-account-qr,
  .official-account-footer .official-account-qr {
    grid-template-columns: 144px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 6px;
    justify-items: start;
    width: 100%;
    min-width: 0;
  }

  .official-account-home .official-account-qr-image-link,
  .official-account-footer .official-account-qr-image-link {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 144px;
    height: 144px;
  }

  .official-account-home .official-account-qr-image,
  .official-account-footer .official-account-qr-image {
    width: 100%;
    height: 100%;
  }

  .official-account-home .official-account-qr figcaption,
  .official-account-footer .official-account-qr figcaption {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    text-align: left;
  }

  .official-account-home .official-account-qr-link,
  .official-account-footer .official-account-qr-link {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-content: flex-start;
    text-align: left;
  }

  .official-account-footer {
    padding: 0 20px 24px;
  }

  .official-account-details-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* Scoped catalog controls for the shared discovery and enterprise facets. */
.catalog-filter-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr) minmax(126px, .62fr) minmax(180px, .9fr);
  align-items: end;
  gap: 8px 12px;
}
.catalog-filter-controls .catalog-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-content: end;
  gap: 6px;
  width: 100%;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}
.catalog-filter-controls .catalog-control > span {
  min-width: 0;
  white-space: nowrap;
}
.catalog-filter-controls .catalog-control input,
.catalog-filter-controls .catalog-control select {
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 8px 10px;
  box-sizing: border-box;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.company-search input,
.company-filter-grid select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.catalog-filter-controls .catalog-control input,
.catalog-filter-controls .catalog-control select {
  font: inherit;
  font-size: 14px;
}
.catalog-filter-controls .catalog-control input:focus,
.catalog-filter-controls .catalog-control select:focus,
.company-search input:focus,
.company-filter-grid select:focus {
  border-color: var(--accent);
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 1px;
}
.catalog-filter-controls .catalog-control select {
  max-width: 100%;
}
.catalog-filter-controls .catalog-control select optgroup {
  color: var(--muted);
  font-weight: 600;
}
.catalog-filter-controls .catalog-control select option {
  color: var(--text);
  background: var(--surface);
}
.catalog-filter-controls .filter-note {
  align-self: end;
  min-width: 0;
  margin-left: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.company-search {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin: 22px 0 18px;
}
.company-search label {
  color: var(--muted);
  font-size: 12px;
}
.company-search input {
  font-size: 14px;
}
.company-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding: 16px 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.company-filter-grid > label:not(.company-manual-filter) {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}
.company-filter-grid select {
  font-size: 12px;
}
.company-manual-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}
.company-manual-filter input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}
.company-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 12px 0 0;
}
.company-filter-summary > span {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.company-filter-summary button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 13px;
  font-size: 11px;
}
.company-filter-summary button:disabled {
  cursor: default;
  opacity: .55;
}
.company-results {
  min-height: 20px;
}
@media (max-width: 800px) {
  .company-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 601px) and (max-width: 1199px) {
  .catalog-filter-controls {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(112px, .62fr);
  }
  .catalog-filter-controls .filter-note {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .catalog-filter-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px 8px;
  }
  .catalog-filter-controls .catalog-maker-search {
    grid-column: 1 / -1;
  }
  .catalog-filter-controls .catalog-maker-select {
    grid-column: 1;
  }
  .catalog-filter-controls .catalog-region-filter {
    grid-column: 2;
  }
  .catalog-filter-controls .filter-note {
    grid-column: 1 / -1;
    align-self: auto;
  }
  .catalog-filter-controls .catalog-control {
    gap: 5px;
  }
  .catalog-filter-controls .catalog-control input,
  .catalog-filter-controls .catalog-control select,
  .company-search input,
  .company-filter-grid select {
    font-size: 16px;
  }
  .company-filter-grid > label:not(.company-manual-filter) {
    width: 100%;
  }
  .company-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .company-filter-summary {
    align-items: stretch;
    flex-direction: column;
  }
  .company-filter-summary button {
    width: 100%;
  }
}
@media (max-width: 320px) {
  .catalog-filter-controls,
  .company-filter-grid,
  .company-filter-summary {
    width: 100%;
    max-width: 100%;
  }
  .catalog-filter-controls .catalog-control input,
  .catalog-filter-controls .catalog-control select,
  .company-search input,
  .company-filter-grid select {
    max-width: 100%;
  }
}
/* Company-owned resources inherit the site's light/dark palette. */
.dossier .company-resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dossier .company-resource-list li { min-width: 0; border-bottom: 1px solid var(--line); }
.dossier .company-resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 4px;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.dossier .company-resource-list strong { display: block; font-size: 15px; line-height: 1.5; font-weight: 600; }
.dossier .company-resource-list small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.dossier .company-resource-list svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.dossier .company-resource-list a:hover { color: var(--accent); }
.dossier .company-resource-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 640px) {
  .dossier .company-resource-list { grid-template-columns: minmax(0, 1fr); }
}
.open-source-page {
  min-width: 0;
  color: var(--text);
}

.open-source-page,
.open-source-page * {
  box-sizing: border-box;
}

.opensource-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 24px;
  border-bottom: 1px solid var(--line);
}

.opensource-heading h1,
.opensource-discovery h2,
.opensource-websites h2,
.opensource-pinned-row h2,
.opensource-project-row h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: -.025em;
}

.opensource-heading h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.opensource-heading p,
.opensource-discovery-head p,
.opensource-project-row p,
.opensource-empty p,
.opensource-disclosure {
  color: var(--muted);
  line-height: 1.7;
}

.opensource-heading p {
  max-width: 600px;
  margin: 12px 0 0;
  font-size: 14px;
}

.opensource-pinned-label {
  margin-left: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

.opensource-pinned,
.opensource-websites,
.opensource-discovery {
  min-width: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.opensource-pinned-row,
.opensource-website-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.opensource-pinned-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 50%;
}

.opensource-pinned-mark .opensource-icon {
  width: 19px;
  height: 19px;
}

.opensource-pinned-row h2,
.opensource-website-row h2 {
  font-size: 21px;
  line-height: 1.25;
}

.opensource-pinned-copy p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.opensource-pinned-meta,
.opensource-repo,
.opensource-note {
  overflow-wrap: anywhere;
}

.opensource-pinned-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.opensource-pinned-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
}

.opensource-link,
.opensource-github-action,
.opensource-project-link,
.opensource-website-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.opensource-link:hover,
.opensource-github-action:hover,
.opensource-project-link:hover,
.opensource-website-action:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.opensource-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  vertical-align: -3px;
}

.opensource-discovery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.opensource-discovery-head h2 {
  font-size: 23px;
  line-height: 1.25;
}

.opensource-website-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.opensource-result-count {
  flex: 0 0 auto;
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
}

.opensource-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, .34fr) minmax(148px, .42fr) auto;
  align-items: end;
  gap: 10px;
  min-width: 0;
  margin: 18px 0;
}

.opensource-search-control,
.opensource-select-control {
  display: grid;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
}

.opensource-search-control {
  position: relative;
}

.opensource-search-control input,
.opensource-select-control select,
.opensource-reset {
  min-width: 0;
  min-height: 44px;
  margin-top: 6px;
  padding: 9px 11px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
}

.opensource-search-control input {
  width: 100%;
  padding-left: 34px;
  font-size: 16px;
}

.opensource-search-control input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.opensource-control-icon {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 11px;
  color: var(--muted);
  pointer-events: none;
}

.opensource-select-control select {
  width: 100%;
}

.opensource-search-control input:focus,
.opensource-select-control select:focus,
.opensource-reset:focus,
.opensource-link:focus,
.opensource-github-action:focus {
  border-color: var(--accent);
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 1px;
}

.opensource-reset {
  margin-top: 0;
  padding-right: 15px;
  padding-left: 15px;
  color: var(--accent);
  cursor: pointer;
  white-space: nowrap;
}

.opensource-reset:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.opensource-project-list {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.opensource-project-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(152px, 220px);
  gap: 20px;
  min-width: 0;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.opensource-project-copy,
.opensource-project-meta {
  min-width: 0;
}

.opensource-project-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.opensource-project-row h3 {
  font-size: 17px;
  line-height: 1.35;
}

.opensource-category,
.opensource-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  overflow-wrap: anywhere;
  font-size: 10px;
  line-height: 1.35;
}

.opensource-category {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

.opensource-repo {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.opensource-project-row p {
  margin: 8px 0 0;
  font-size: 13px;
}

.opensource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.opensource-tag {
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.opensource-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.opensource-project-meta {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.opensource-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow-wrap: anywhere;
}

.opensource-project-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 12px;
  width: 100%;
  margin-top: 4px;
}

.opensource-project-link {
  justify-content: flex-end;
}

.opensource-github-action {
  width: 100%;
  justify-content: flex-end;
  margin-top: 4px;
}

.opensource-empty {
  padding: 32px 0 28px;
  color: var(--text);
}

.opensource-empty strong {
  font-size: 15px;
}

.opensource-empty p {
  margin: 5px 0 0;
  font-size: 13px;
}

.opensource-disclosure {
  margin: 16px 0 0;
  font-size: 11px;
}

.opensource-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .opensource-select-control select { font-size: 16px; }
  .opensource-heading {
    padding-top: 10px;
  }

  .opensource-controls {
    grid-template-columns: 1fr 1fr;
  }

  .opensource-search-control {
    grid-column: 1 / -1;
  }

  .opensource-reset {
    width: 100%;
  }

  .opensource-project-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .opensource-project-meta {
    justify-content: flex-start;
    text-align: left;
  }

  .opensource-github-action {
    width: auto;
    justify-content: flex-start;
    margin-top: 0;
  }

  .opensource-project-links {
    justify-content: flex-start;
  }

  .opensource-project-link {
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  .opensource-pinned-row,
  .opensource-website-row {
    grid-template-columns: 1fr;
  }

  .opensource-pinned-mark {
    width: 36px;
    height: 36px;
  }

  .opensource-controls {
    grid-template-columns: 1fr;
  }

  .opensource-search-control {
    grid-column: auto;
  }
}
.collection-stats{width:100%;margin:0 0 67px;padding:20px 0 17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--text);overflow:hidden}
.collection-stats__header{display:flex;align-items:baseline;justify-content:space-between;gap:18px;min-width:0;margin-bottom:15px;font-size:13px;line-height:1.5}
.collection-stats__title{font-size:12px;font-weight:600;letter-spacing:-.01em;color:var(--text);white-space:nowrap}
.collection-stats__meta,.collection-stats__loading-text{min-width:0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.collection-stats__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));min-width:0}
.collection-stats__item{min-width:0;padding:0 14px;border-left:1px solid var(--line)}
.collection-stats__item:first-child{padding-left:0;border-left:0}
.collection-stats__count{display:block;font-size:clamp(28px,2.3vw,34px);line-height:1.05;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--text)}
.collection-stats__label{display:block;min-width:0;margin-top:7px;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.collection-stats__label-link{color:var(--accent, var(--purple));text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.collection-stats__label-text{color:var(--muted)}
.collection-stats__trends{display:flex;flex-direction:column;gap:3px;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.45}
.collection-stats__detail{display:inline-flex;align-items:center;gap:3px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.collection-stats__trend-icon{flex:0 0 14px;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.collection-stats__detail--added{color:var(--accent, var(--purple))}
.collection-stats__detail .collection-stats__trend-icon{width:12px;height:12px;flex-basis:12px}
.collection-stats__notes{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:15px;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.55}
.collection-stats__retry{min-height:28px;padding:3px 8px;border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--accent, var(--purple));font-size:12px;line-height:1.3}
.collection-stats__retry:hover{border-color:var(--accent, var(--purple));background:var(--surface-2)}
.collection-stats__method{margin-top:13px;border-top:1px solid var(--line);padding-top:10px;color:var(--muted);font-size:12px;line-height:1.65}
.collection-stats__method summary{cursor:pointer;color:var(--muted);text-underline-offset:3px}
.collection-stats__method summary:hover{color:var(--accent, var(--purple))}
.collection-stats__method-copy{max-width:78ch;padding-top:7px}
.collection-stats__method-copy p+p{margin-top:4px}
.collection-stats__error-message{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;line-height:1.6}
.collection-stats--loading{color:var(--muted)}

@media (max-width:900px){
  .collection-stats__grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:17px}
  .collection-stats__item:nth-child(3n+1){padding-left:0;border-left:0}
  .collection-stats__item:nth-child(n+4){padding-top:14px;border-top:1px solid var(--line)}
}

@media (max-width:540px){
  .collection-stats{margin-bottom:37px;padding:17px 0 15px}
  .collection-stats__header{align-items:flex-start;flex-direction:column;gap:3px;margin-bottom:13px}
  .collection-stats__grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:0;row-gap:15px}
  .collection-stats__item{padding-right:10px;padding-left:10px}
  .collection-stats__item:nth-child(3n+1){padding-left:10px;border-left:1px solid var(--line)}
  .collection-stats__item:nth-child(2n+1){padding-left:0;border-left:0}
  .collection-stats__item:nth-child(n+3){padding-top:13px;border-top:1px solid var(--line)}
  .collection-stats__count{font-size:clamp(28px,8vw,32px)}
  .collection-stats__label{margin-top:6px}
  .collection-stats__trends{margin-top:7px;font-size:12px}
}

@media (prefers-reduced-motion:reduce){
  .collection-stats *{transition:none!important}
}

.collection-stats__method summary{min-height:44px;display:list-item;padding:10px 0}
.collection-stats__retry{min-height:44px;min-width:44px}
.collection-stats :is(a,button,summary):focus-visible{outline:2px solid var(--accent, var(--purple));outline-offset:4px}
/* Shared OmniRobLab site switcher. All selectors are intentionally scoped. */
.orl-switcher {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.orl-switcher > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 10px 7px 12px;
  border: 1px solid var(--orl-line);
  border-radius: 999px;
  background: var(--orl-panel);
  color: var(--orl-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  list-style: none;
  white-space: nowrap;
}

.orl-switcher > summary::-webkit-details-marker,
.orl-switcher > summary::marker {
  display: none;
  content: "";
}

.orl-switcher > summary:hover,
.orl-switcher > summary:focus-visible {
  border-color: var(--orl-accent);
}

.orl-switcher > summary:focus-visible,
.orl-site-option:focus-visible {
  outline: 2px solid var(--orl-accent);
  outline-offset: 2px;
}

.orl-switcher-chevron {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .16s ease;
}

.orl-switcher[open] > summary .orl-switcher-chevron {
  transform: rotate(180deg);
}

.orl-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 2px;
  width: min(316px, calc(100vw - 30px));
  padding: 8px;
  border: 1px solid var(--orl-line);
  border-radius: 10px;
  background: var(--orl-panel);
  box-shadow: 0 14px 28px #0003;
}

.orl-site-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--orl-text);
  text-decoration: none;
}

.orl-site-option:hover,
.orl-site-option:focus-visible,
.orl-site-option[aria-current="page"] {
  background: var(--orl-hover);
  color: var(--orl-text);
  outline: none;
}

.orl-site-option[aria-current="page"] { font-weight: 700; }

.orl-site-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.orl-site-option strong,
.orl-site-option small {
  display: block;
}

.orl-site-option strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.orl-site-option small {
  margin-top: 3px;
  color: var(--orl-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.orl-mobile-sites {
  display: none;
}

.orl-footer-sites {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
}

body[data-orl-site] .orl-footer-sites a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 0;
  color: var(--orl-footer-text);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

body[data-orl-site] .orl-footer-sites a:hover,
body[data-orl-site] .orl-footer-sites a:focus-visible,
body[data-orl-site] .orl-footer-sites a[aria-current="page"] {
  color: var(--orl-footer-accent);
}

body[data-orl-site] .orl-footer-sites a[aria-current="page"] {
  font-weight: 700;
}

body[data-orl-site="official"] .orl-switcher,
body[data-orl-site="official"] .orl-mobile-sites {
  --orl-panel: #171720;
  --orl-hover: #2a2935;
  --orl-text: #faf7ef;
  --orl-muted: #d0c8d0;
  --orl-accent: #ffda3e;
  --orl-line: #ffffff55;
}

body[data-orl-site="official"] .orl-footer-sites {
  --orl-footer-text: #aaa1b2;
  --orl-footer-accent: #ffda3e;
}

body[data-orl-site="studio"] .orl-switcher,
body[data-orl-site="studio"] .orl-mobile-sites {
  --orl-panel: var(--surface);
  --orl-hover: var(--surface-2);
  --orl-text: var(--text);
  --orl-muted: var(--muted);
  --orl-accent: var(--purple);
  --orl-line: var(--line);
}

body[data-orl-site="studio"] .orl-footer-sites {
  --orl-footer-text: var(--muted);
  --orl-footer-accent: var(--purple);
}

body[data-orl-site="opendoll"] .orl-switcher,
body[data-orl-site="opendoll"] .orl-mobile-sites {
  --orl-panel: #141414;
  --orl-hover: #202a34;
  --orl-text: #f5f5f7;
  --orl-muted: #b8b8bd;
  --orl-accent: #1890ff;
  --orl-line: #3b3b40;
}

body[data-orl-site="opendoll"] .orl-footer-sites {
  --orl-footer-text: var(--muted);
  --orl-footer-accent: var(--accent-text);
}

body[data-orl-site="studio"] .orl-studio-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
  order: 1;
}

body[data-orl-site="studio"] .site-header {
  position: relative;
  z-index: 40;
}

body[data-orl-site="studio"] .orl-studio-brand-group .brand {
  min-width: 0;
  order: 0;
}

body[data-orl-site="studio"] .orl-studio-brand-group > .orl-switcher { order: 1; }

body[data-orl-site="studio"] .orl-switcher-menu,
body[data-orl-site="opendoll"] .orl-switcher-menu { left: 0; right: auto; }

body[data-orl-site="studio"] .site-footer .orl-footer-sites {
  margin: 0;
}

@media (max-width: 600px) {
  body[data-orl-site="official"] .orl-switcher {
    display: none;
  }

  body[data-orl-site="official"] .orl-mobile-sites {
    display: grid;
    grid-column: 1 / -1;
  }
}

@media (max-width: 1240px) {
  body[data-orl-site="studio"] .orl-switcher {
    display: none;
  }

  body[data-orl-site="studio"] .orl-studio-brand-group {
    gap: 0;
  }

  body[data-orl-site="studio"] .orl-mobile-sites {
    display: grid;
    grid-column: 1 / -1;
  }
}

@media (max-width: 1000px) {
  body[data-orl-site="opendoll"] .orl-switcher {
    display: none;
  }

  body[data-orl-site="opendoll"] .orl-mobile-sites {
    display: grid;
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body[data-orl-site] .orl-footer-sites {
    width: 100%;
    gap: 4px 14px;
  }

  body[data-orl-site] .orl-footer-sites a {
    min-height: 44px;
  }
}

@media (max-width: 1240px) {
  body[data-orl-site] .orl-mobile-sites {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 4px;
    padding: 4px 0 8px;
    border-bottom: 1px solid var(--orl-line);
  }

  body[data-orl-site] .orl-mobile-site {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 68px;
    padding: 7px 4px;
    border-radius: 6px;
    color: var(--orl-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: normal;
  }

  body[data-orl-site] .orl-mobile-site:hover,
  body[data-orl-site] .orl-mobile-site:focus-visible,
  body[data-orl-site] .orl-mobile-site[aria-current] {
    background: var(--orl-hover);
    color: var(--orl-text);
    outline: none;
  }

  body[data-orl-site] .orl-mobile-site[aria-current] { color: var(--orl-accent); }

  body[data-orl-site] .orl-mobile-site:focus-visible {
    outline: 2px solid var(--orl-accent);
    outline-offset: -2px;
  }

  body[data-orl-site] .orl-mobile-site .orl-site-icon {
    width: 17px;
    height: 17px;
    margin: 0;
  }
}

@media (max-width: 360px) {
  body[data-orl-site] .orl-mobile-sites {
    gap: 2px;
  }

  body[data-orl-site] .orl-mobile-site {
    padding-inline: 2px;
    font-size: 11px;
  }
}
/*
 * OmniRobLab / studio editorial.
 * Content, data, permissions and behavior are intentionally untouched.
 */
:root[data-design="editorial"] {
  color-scheme: light;
  --bg: #f8f8f5;
  --surface: #ffffff;
  --surface-2: #f1f1ed;
  --line: #dedfd9;
  --text: #222521;
  --muted: #565a55;
  --purple: #963d31;
  --accent: #963d31;
  --action-bg: #222521;
  --action-text: #f8f8f5;
  --green: #2d6f5e;
  --max: 1280px;
  --reader-bg: #f8f8f5;
  --reader-surface: #ffffff;
  --reader-raised: #f1f1ed;
  --reader-field: #ffffff;
  --reader-rule: #dedfd9;
  --reader-text: #222521;
  --reader-muted: #565a55;
  --reader-violet: #963d31;
  --reader-accent: #222521;
  --reader-accent-hover: #414640;
}

:root[data-design="editorial"][data-theme="dark"] {
  color-scheme: dark;
  --bg: #202320;
  --surface: #292c29;
  --surface-2: #323632;
  --line: #474b46;
  --text: #f4f4ef;
  --muted: #c2c6bf;
  --purple: #c77468;
  --accent: #ed9e8e;
  --action-bg: #ecefe8;
  --action-text: #222521;
  --green: #8cc6af;
  --reader-bg: #202320;
  --reader-surface: #292c29;
  --reader-raised: #323632;
  --reader-field: #292c29;
  --reader-rule: #474b46;
  --reader-text: #f4f4ef;
  --reader-muted: #c2c6bf;
  --reader-violet: #c77468;
  --reader-accent: #ecefe8;
  --reader-accent-hover: #d1d7cc;
}

:root[data-design="editorial"],
:root[data-design="editorial"] body { background: var(--bg); color: var(--text); }
:root[data-design="editorial"] body { font: 14px/1.75 Noto,"PingFang SC","Microsoft YaHei",system-ui,"Noto Sans CJK SC",sans-serif; }
:root[data-design="editorial"] { scrollbar-color: #a8aaa3 var(--bg); }
:root[data-design="editorial"] :focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
:root[data-design="editorial"] ::selection { background: #ead1cb; color: #222521; }
:root[data-design="editorial"][data-theme="dark"] ::selection { background: #704039; color: #fff; }
:root[data-design="editorial"] input { caret-color: var(--purple); }
:root[data-design="editorial"] .wrap,
:root[data-design="editorial"] .home-overview,
:root[data-design="editorial"] .site-footer { max-width: var(--max); }
:root[data-design="editorial"] .wrap,
:root[data-design="editorial"] .site-footer { padding-inline: 32px; }

/* Header, membership and navigation */
:root[data-design="editorial"] .site-header {
  max-width: var(--max); height: 82px; min-height: 82px; padding-inline: 32px; gap: 10px;
  border-color: var(--line); background: var(--surface); color: var(--text);
}
:root[data-design="editorial"] .site-header .brand strong { font-size: 21px; font-weight: 650; letter-spacing: -.035em; }
:root[data-design="editorial"] .site-header .brand small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: 1.5px; }
:root[data-design="editorial"] .site-header .main-nav > a { color: var(--muted); font-size: 12px; }
:root[data-design="editorial"] .site-header .main-nav > a:hover,
:root[data-design="editorial"] .site-header .main-nav > a.active,
:root[data-design="editorial"] .site-header .main-nav > a[aria-current] { color: var(--text); }
:root[data-design="editorial"] .site-header .main-nav > a.active::after { height: 1px; background: var(--purple); }
:root[data-design="editorial"] .site-header .header-search,
:root[data-design="editorial"] .site-header .header-notifications,
:root[data-design="editorial"] .site-header .header-feedback,
:root[data-design="editorial"] .site-header .header-save,
:root[data-design="editorial"] .site-header .account-trigger,
:root[data-design="editorial"] .site-header .header-actions > .theme-toggle {
  border-color: transparent; background: transparent; color: var(--muted);
}
:root[data-design="editorial"] .site-header .header-search:hover,
:root[data-design="editorial"] .site-header .header-search:focus-visible,
:root[data-design="editorial"] .site-header .header-notifications:hover,
:root[data-design="editorial"] .site-header .header-notifications:focus-visible,
:root[data-design="editorial"] .site-header .header-feedback:hover,
:root[data-design="editorial"] .site-header .header-feedback:focus-visible,
:root[data-design="editorial"] .site-header .header-save:hover,
:root[data-design="editorial"] .site-header .header-save:focus-visible,
:root[data-design="editorial"] .site-header .account-trigger:hover,
:root[data-design="editorial"] .site-header .account-trigger:focus-visible,
:root[data-design="editorial"] .site-header .header-actions > .theme-toggle:hover,
:root[data-design="editorial"] .site-header .header-actions > .theme-toggle:focus-visible {
  background: var(--surface-2); color: var(--text);
}
:root[data-design="editorial"] .site-header .header-save b,
:root[data-design="editorial"] .header-subscription-label,
:root[data-design="editorial"] .home-activity-date time,
:root[data-design="editorial"] .timeline-preview .year,
:root[data-design="editorial"] .timeline-entry time,
:root[data-design="editorial"] .hero h1 span,
:root[data-design="editorial"] .page-intro h1 span { color: var(--purple); }
:root[data-design="editorial"] .site-header .header-subscription {
  min-width: 0; min-height: 40px; height: 40px; padding-inline: 8px; gap: 5px;
  border: 0; border-radius: 4px; font-weight: 500;
  background: transparent; color: var(--purple); box-shadow: none;
}
:root[data-design="editorial"][data-theme="dark"] .site-header .header-subscription { color: #ed9e8e; }
:root[data-design="editorial"] .site-header .header-subscription:hover,
:root[data-design="editorial"] .site-header .header-subscription:focus-visible {
  background: var(--surface-2); color: var(--text);
}
:root[data-design="editorial"] .site-header .header-subscription-label { color: inherit; }
:root[data-design="editorial"] .site-header .header-subscription-arrow { width: 14px; height: 14px; flex-basis: 14px; }
:root[data-design="editorial"] .theme-toggle {
  border-color: var(--line); border-radius: 4px; background: var(--surface); color: var(--muted);
}
:root[data-design="editorial"] .site-header .orl-switcher::before {
  content: ""; position: absolute; left: -6px; top: 50%; height: 18px;
  border-left: 1px solid var(--line); transform: translateY(-50%); pointer-events: none;
}
:root[data-design="editorial"] .site-header .orl-switcher > summary {
  min-height: 40px; padding: 8px; gap: 4px; border: 0; border-radius: 4px;
  background: transparent; color: var(--muted); font-weight: 500;
}
:root[data-design="editorial"] .site-header .orl-switcher-chevron { width: 12px; height: 12px; }
:root[data-design="editorial"] .theme-toggle:hover,
:root[data-design="editorial"] .site-header .orl-switcher > summary:hover,
:root[data-design="editorial"] .site-header .orl-switcher > summary:focus-visible,
:root[data-design="editorial"] .site-header .orl-switcher[open] > summary {
  border-color: var(--purple); background: var(--surface-2); color: var(--text);
}
:root[data-design="editorial"] .orl-switcher-menu,
:root[data-design="editorial"] .site-header.mobile-navigation-ready .main-nav {
  border-color: var(--line); border-radius: 4px; background: var(--surface); box-shadow: none;
}
:root[data-design="editorial"] .orl-site-option:hover,
:root[data-design="editorial"] .orl-site-option:focus-visible,
:root[data-design="editorial"] .orl-site-option[aria-current="page"] { background: var(--surface-2); }

/* Centered search and restrained hierarchy */
:root[data-design="editorial"] .hero h1,
:root[data-design="editorial"] .page-intro h1 { color: var(--text); font-weight: 650; }
:root[data-design="editorial"] .hero.home-search-hero { min-height: 300px; padding: 72px 0 58px; }
:root[data-design="editorial"] .home-search-hero h1 { max-width: 18ch; margin-bottom: 12px; font-size: clamp(38px, 3.1vw, 44px); line-height: 1.2; }
:root[data-design="editorial"] .home-search-hero h1 span { color: var(--text); }
:root[data-design="editorial"] .home-search-hero .hero-description { max-width: 42rem; color: var(--muted); font-size: 14px; line-height: 1.75; }
:root[data-design="editorial"] .search-form,
:root[data-design="editorial"] .company-search input,
:root[data-design="editorial"] .network-search,
:root[data-design="editorial"] .manual-search-form input {
  border-color: var(--line); border-radius: 4px; background: var(--surface); color: var(--text); box-shadow: none;
}
:root[data-design="editorial"] .search-form { width: min(100%, 720px); max-width: 720px; min-height: 56px; margin-top: 24px; }
:root[data-design="editorial"] .search-form:focus-within,
:root[data-design="editorial"] .network-search:focus-within { border-color: var(--text); }
:root[data-design="editorial"] .search-form input,
:root[data-design="editorial"] .network-search input,
:root[data-design="editorial"] .company-search input,
:root[data-design="editorial"] .manual-search-form input { color: var(--text); font-size: 14px; }
:root[data-design="editorial"] .search-form input::placeholder,
:root[data-design="editorial"] .network-search input::placeholder,
:root[data-design="editorial"] .company-search input::placeholder,
:root[data-design="editorial"] .manual-search-form input::placeholder { color: var(--muted); }
:root[data-design="editorial"] .search-form button,
:root[data-design="editorial"] .primary,
:root[data-design="editorial"] .reader-button-primary {
  border: 1px solid var(--action-bg); border-radius: 3px; background: var(--action-bg); color: var(--action-text); font-weight: 600;
}
:root[data-design="editorial"] .search-form button:hover,
:root[data-design="editorial"] .primary:hover,
:root[data-design="editorial"] .reader-button-primary:hover { background: var(--reader-accent-hover); color: var(--action-text); }
:root[data-design="editorial"] .home-quick-links a {
  border-color: var(--line); border-radius: 3px; background: transparent; color: var(--muted);
}
:root[data-design="editorial"] .home-quick-links a:hover { border-color: var(--purple); background: var(--surface-2); color: var(--text); }
:root[data-design="editorial"] .home-overview__section-head h2,
:root[data-design="editorial"] .feature-panel h2,
:root[data-design="editorial"] .section-head h2 { color: var(--text); font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
:root[data-design="editorial"] .home-overview__section-head p,
:root[data-design="editorial"] .section-head p,
:root[data-design="editorial"] .feature-panel-header p { color: var(--muted); font-size: 13px; }

/* Flat cards and panels; supplied robot photography remains dominant. */
:root[data-design="editorial"] .robot-card,
:root[data-design="editorial"] .company-card,
:root[data-design="editorial"] .feature-panel,
:root[data-design="editorial"] .graph-stage,
:root[data-design="editorial"] .graph-side,
:root[data-design="editorial"] .empty-state,
:root[data-design="editorial"] .build-section,
:root[data-design="editorial"] .access-lock-panel__overlay,
:root[data-design="editorial"] .access-preview-panel {
  border-color: var(--line); border-radius: 5px; background: var(--surface); box-shadow: none;
}
:root[data-design="editorial"] .robot-card:hover { border-color: var(--purple); transform: none; }
:root[data-design="editorial"] .robot-media,
:root[data-design="editorial"] .detail-image,
:root[data-design="editorial"] .company-logo,
:root[data-design="editorial"] .dossier-photo,
:root[data-design="editorial"] .dossier-product > div { background: var(--surface-2); }
:root[data-design="editorial"] .robot-media { border-bottom: 1px solid var(--line); }
:root[data-design="editorial"] .robot-media .category-badge,
:root[data-design="editorial"] .robot-tags span,
:root[data-design="editorial"] .save-button:hover,
:root[data-design="editorial"] .save-button.saved { border-color: var(--line); background: var(--surface-2); color: var(--muted); }
:root[data-design="editorial"] .robot-info { border-color: var(--line); }
:root[data-design="editorial"] .robot-title { color: var(--text); font-size: 15px; font-weight: 600; }
:root[data-design="editorial"] .robot-company,
:root[data-design="editorial"] .robot-bottom,
:root[data-design="editorial"] .company-card p,
:root[data-design="editorial"] .company-card small,
:root[data-design="editorial"] .disclosure { color: var(--muted); }
:root[data-design="editorial"] .home-recent-list,
:root[data-design="editorial"] .home-category #home-robots { gap: 14px; }
:root[data-design="editorial"] .home-recent-list .robot-info { border-left-color: var(--line); }
:root[data-design="editorial"] .overview-bottom { gap: 18px; }
:root[data-design="editorial"] .feature-panel-header { padding: 24px 26px 0; }
:root[data-design="editorial"] .feature-panel-footer,
:root[data-design="editorial"] .timeline-preview,
:root[data-design="editorial"] .timeline-entry,
:root[data-design="editorial"] .resource-row { border-color: var(--line); }
:root[data-design="editorial"] .home-destination-link:hover,
:root[data-design="editorial"] .graph-actions button:hover,
:root[data-design="editorial"] .network-tabs button:hover,
:root[data-design="editorial"] .network-results button:hover { background: var(--surface-2); }

/* Stats and membership remain legible without a loud banner. */
:root[data-design="editorial"] .stats,
:root[data-design="editorial"] .collection-stats { border-color: var(--line); }
:root[data-design="editorial"] .stat strong,
:root[data-design="editorial"] .collection-stats__count { color: var(--text); font-weight: 600; }
:root[data-design="editorial"] .stat span,
:root[data-design="editorial"] .stat small,
:root[data-design="editorial"] .collection-stats__meta,
:root[data-design="editorial"] .collection-stats__label-text,
:root[data-design="editorial"] .collection-stats__trends { color: var(--muted); }
:root[data-design="editorial"] .collection-stats__count { font-size: 30px; }
:root[data-design="editorial"] .home-subscription { border-color: var(--line); border-radius: 4px; background: var(--surface); box-shadow: none; }
:root[data-design="editorial"] .home-subscription__icon,
:root[data-design="editorial"] .home-subscription__link,
:root[data-design="editorial"] .manual-membership__price > span,
:root[data-design="editorial"] .manual-membership__summary:hover .manual-membership__title { color: var(--purple); }
:root[data-design="editorial"] .manual-membership__actions .primary { background: var(--action-bg); color: var(--action-text); }
:root[data-design="editorial"] .manual-membership__actions .secondary,
:root[data-design="editorial"] .reader-button-secondary,
:root[data-design="editorial"] .reader-icon-button { border-color: var(--line); border-radius: 4px; background: var(--surface); color: var(--text); }

/* Catalog, manuals, maps and relationship controls. */
:root[data-design="editorial"] .page-intro { padding-top: 48px; }
:root[data-design="editorial"] .page-intro h1 { font-size: 34px; line-height: 1.25; }
:root[data-design="editorial"] .page-intro p,
:root[data-design="editorial"] .page-tools .result-count,
:root[data-design="editorial"] .catalog-filter-controls .catalog-control,
:root[data-design="editorial"] .catalog-filter-controls .filter-note { color: var(--muted); }
:root[data-design="editorial"] .catalog-filter-controls .catalog-control input,
:root[data-design="editorial"] .catalog-filter-controls .catalog-control select,
:root[data-design="editorial"] .company-filter-grid select { border-color: var(--line); border-radius: 4px; background: var(--surface); color: var(--text); }
:root[data-design="editorial"] .catalog-filter-controls .catalog-control input:focus,
:root[data-design="editorial"] .catalog-filter-controls .catalog-control select:focus,
:root[data-design="editorial"] .company-filter-grid select:focus,
:root[data-design="editorial"] .company-search input:focus { border-color: var(--text); outline-color: var(--purple); }
:root[data-design="editorial"] .catalog-filter-controls .catalog-control select option { background: var(--surface); color: var(--text); }
:root[data-design="editorial"] .chip,
:root[data-design="editorial"] .sort-select,
:root[data-design="editorial"] .atlas-filters select,
:root[data-design="editorial"] .catalog-filters select { border-color: var(--line); border-radius: 4px; background: transparent; color: var(--muted); }
:root[data-design="editorial"] .chip:hover,
:root[data-design="editorial"] .chip.active { border-color: var(--purple); background: var(--text); color: var(--bg); }
:root[data-design="editorial"] .chip .count { color: currentColor; }
:root[data-design="editorial"] .graph-actions,
:root[data-design="editorial"] .network-zoom,
:root[data-design="editorial"] .network-tabs,
:root[data-design="editorial"] .network-results,
:root[data-design="editorial"] .network-tooltip,
:root[data-design="editorial"] .network-detail,
:root[data-design="editorial"] .network-sample,
:root[data-design="editorial"] .network-legend { border-color: var(--line); border-radius: 4px; background: var(--surface); color: var(--text); }
:root[data-design="editorial"] .graph-actions button,
:root[data-design="editorial"] .network-zoom button,
:root[data-design="editorial"] .network-tabs button,
:root[data-design="editorial"] .network-legend button { color: var(--muted); }
:root[data-design="editorial"] .graph-actions button:hover,
:root[data-design="editorial"] .network-tabs button[aria-pressed="true"],
:root[data-design="editorial"] .network-legend button[aria-pressed="true"] { color: var(--text); }
:root[data-design="editorial"] .graph-node:hover circle,
:root[data-design="editorial"] .graph-node:focus circle { stroke: var(--purple); }
:root[data-design="editorial"] .dossier-specs th,
:root[data-design="editorial"] .dossier-specs td,
:root[data-design="editorial"] .dossier-sources li { border-color: var(--line); }

/* Dialogs, reader surfaces and square QR backgrounds. */
:root[data-design="editorial"] dialog { border-color: var(--line); border-radius: 6px; background: var(--surface); color: var(--text); box-shadow: none; }
:root[data-design="editorial"] dialog::backdrop { background: #22252199; }
:root[data-design="editorial"][data-theme="dark"] dialog::backdrop { background: #000000aa; }
:root[data-design="editorial"] .icon-button,
:root[data-design="editorial"] .close-dialog { border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--text); }
:root[data-design="editorial"] .reader-header,
:root[data-design="editorial"] .reader-footer,
:root[data-design="editorial"] .reader-sidebar,
:root[data-design="editorial"] .reader-content,
:root[data-design="editorial"] .reader-page { border-color: var(--line); background: var(--reader-surface); color: var(--reader-text); }
:root[data-design="editorial"] .social-channel__qr,
:root[data-design="editorial"] .social-channel-qr,
:root[data-design="editorial"] .home-overview img[alt*="二维码" i] { border: 1px solid var(--line); border-radius: 3px; background: #fff; }

/* Review corrections: secondary labels, footer and mobile menu keep contrast. */
:root[data-design="editorial"] .collection-stats__label-link,
:root[data-design="editorial"] .collection-stats__detail--added { color: var(--muted); }
:root[data-design="editorial"] .site-footer .footer-brand { color: var(--text); }
:root[data-design="editorial"] .site-footer { border-color: var(--line); }
:root[data-design="editorial"] .mini-graph { background: var(--surface-2); }
:root[data-design="editorial"] .social-channel__account,
:root[data-design="editorial"] .social-channel__platform-link { background: transparent; color: var(--text); }
:root[data-design="editorial"] body[data-orl-site="studio"] .orl-mobile-sites a,
:root[data-design="editorial"] body[data-orl-site="studio"] .orl-site-option { color: var(--text); }
:root[data-design="editorial"] body[data-orl-site="studio"] .orl-mobile-sites a[aria-current="page"],
:root[data-design="editorial"] body[data-orl-site="studio"] .orl-site-option[aria-current="page"] { color: var(--purple); }
:root[data-design="editorial"] .timeline-preview .timeline-dot { background: var(--purple); }

@media (max-width: 1240px) {
  :root[data-design="editorial"] .site-header { height: auto; min-height: 82px; }
  :root[data-design="editorial"] .site-header .header-subscription { min-height: 44px; height: 44px; }
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .mobile-nav-toggle { color: var(--text); }
}
@media (min-width: 1241px) {
  :root[data-design="editorial"] .site-header .orl-studio-brand-group { flex-shrink: 0; }
  :root[data-design="editorial"] .site-header .main-nav { gap: 10px; }
}

@media (max-width: 900px) {
  :root[data-design="editorial"] .site-header { padding-inline: 24px; }
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .main-nav > a,
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .mobile-nav-utilities > * { color: var(--muted); }
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .main-nav > a:hover,
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .main-nav > a:focus-visible,
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .main-nav > a.active,
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .main-nav > a[aria-current="page"],
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .mobile-nav-utilities > *:hover,
  :root[data-design="editorial"] .site-header.mobile-navigation-ready .mobile-nav-utilities > *:focus-visible { background: var(--surface-2); color: var(--text); }
}

@media (max-width: 600px) {
  :root[data-design="editorial"] .wrap,
  :root[data-design="editorial"] .site-footer,
  :root[data-design="editorial"] .site-header { padding-inline: 20px; }
  :root[data-design="editorial"] .home-overview .hero.home-search-hero { min-height: 292px; padding: 38px 0 28px; }
  :root[data-design="editorial"] .home-search-hero h1 { max-width: 16ch; font-size: clamp(34px, 10vw, 40px); }
  :root[data-design="editorial"] .home-search-hero .hero-description { font-size: 13px; }
  :root[data-design="editorial"] .home-overview__section-head h2,
  :root[data-design="editorial"] .section-head h2,
  :root[data-design="editorial"] .feature-panel h2 { font-size: 22px; }
  :root[data-design="editorial"] .home-subscription { align-items: flex-start; gap: 10px; padding: 14px; }
  :root[data-design="editorial"] .collection-stats { margin-bottom: 36px; }
  :root[data-design="editorial"] .page-intro { padding-top: 34px; }
  :root[data-design="editorial"] .page-intro h1 { font-size: 29px; }
  :root[data-design="editorial"] .catalog-filter-controls { gap: 8px; }
  :root[data-design="editorial"] .robot-grid { gap: 10px; }
  :root[data-design="editorial"] .robot-media { height: 166px; }
  :root[data-design="editorial"] .robot-info { padding: 12px 11px; }
  :root[data-design="editorial"] .overview-bottom { margin-top: 40px; }
}

@media (max-width: 360px) {
  :root[data-design="editorial"] .wrap,
  :root[data-design="editorial"] .site-footer,
  :root[data-design="editorial"] .site-header { padding-inline: 16px; }
  :root[data-design="editorial"] .home-search-hero h1 { font-size: 34px; }
  :root[data-design="editorial"] .robot-grid { gap: 8px; }
  :root[data-design="editorial"] .robot-media { height: 150px; }
  :root[data-design="editorial"] .robot-title { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-design="editorial"] .robot-card,
  :root[data-design="editorial"] .robot-card img,
  :root[data-design="editorial"] .home-destination-link { transition: none; }
}

/* Manual discovery: quiet topic tabs and one divided strip of editorial picks. */
.manuals-library {
  --manual-find-ink: var(--text, #f1f0f5);
  --manual-find-muted: var(--muted, #a19fae);
  --manual-find-line: var(--manual-disclosure-line, #29282f);
  --manual-find-accent: var(--manual-disclosure-text, #cbb4e8);
  --manual-find-tint: #271c35;
}
:root[data-theme="light"] .manuals-library {
  --manual-find-ink: #242322;
  --manual-find-muted: #5d5968;
  --manual-find-tint: #ede7f8;
}
.manuals-library > .page-intro { margin-bottom: 16px; padding-bottom: 0; }
.manuals-library > .manual-search-form { max-width: 100%; margin: 16px 0 8px; }
.manuals-library > .manual-search-form > div { max-width: 760px; }
.manuals-library .manual-view-tabs { margin-top: 12px; padding-bottom: 8px; }
.manuals-library .manual-advanced-filters { margin-bottom: 12px; }
.manual-topic-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px;
  min-width: 0; padding: 4px 0; margin: 0;
}
.manual-topic-item {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px;
  max-width: 100%; padding: 6px 10px;
  border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: var(--manual-find-muted); font: inherit; font-size: 13px; font-weight: 550;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.manual-topic-item:hover { border-color: var(--manual-find-line); color: var(--manual-find-ink); }
.manual-topic-item:is([aria-pressed="true"], [aria-current="true"], .active) {
  color: var(--manual-find-accent); border-color: var(--manual-find-line); background: var(--manual-find-tint);
}
.manual-topic-item :is(span, small) { font-size: 12px; font-variant-numeric: tabular-nums; }
.manual-topic-item:focus-visible, .manual-pick:focus-visible {
  outline: 2px solid var(--manual-disclosure-focus); outline-offset: -2px;
}
.manual-discovery-toolbar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px;
  margin: 4px 0 12px; min-width: 0;
}
.manual-discovery-toolbar .manual-filter-field { flex: 0 1 206px; min-width: 0; }
.manual-discovery-toolbar .manual-filter-select { min-height: 44px; font-size: 13px; }
.manual-picks {
  margin: 4px 0 18px; padding: 10px 0 0; min-width: 0;
  border-top: 1px solid var(--manual-find-line);
}
.manual-picks :is(h2,h3) {
  margin: 0 0 7px; color: var(--manual-find-ink); font-size: 15px; font-weight: 650;
}
.manual-picks-list, .manual-picks-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0;
  margin: 0; padding: 0; list-style: none;
}
.manual-pick {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
  min-width: 0; min-height: 65px; padding: 8px 12px; text-decoration: none;
  color: var(--manual-find-ink); font-size: 13px; line-height: 1.45;
  border-inline-start: 1px solid var(--manual-find-line); overflow-wrap: anywhere;
}
.manual-pick:hover { background: var(--manual-find-tint); color: var(--manual-find-accent); }
.manual-pick-reason { color: var(--manual-find-muted); font-size: 12px; font-weight: 500; }
@media (max-width: 600px) {
  .manuals-library > .page-intro { margin-bottom: 8px; }
  .manuals-library > .manual-search-form { margin: 10px 0 4px; }
  .manual-topic-bar { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .manual-topic-item { flex: 0 0 auto; padding-inline: 8px; }
  .manual-discovery-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
  .manual-picks { margin-bottom: 12px; }
  .manual-picks-list, .manual-picks-grid {
    grid-auto-flow: column; grid-auto-columns: minmax(208px, 73%); grid-template-columns: none;
    overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin;
  }
  .manual-pick { min-height: 62px; padding-inline: 9px; }
}

.manuals-library > .page-intro { padding-top: 10px; }
.manuals-library > .page-intro h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; }
.manuals-library > .page-intro p { margin-top: 8px; }
.manuals-library > .page-intro .intro-meta { margin-top: 7px; }
.manuals-library .manual-membership { margin-bottom: 8px; }
.manuals-library .manual-results-heading { padding-bottom: 8px; }
@media (max-width: 600px) {
  .manuals-library > .page-intro { padding-top: 4px; padding-bottom: 0; }
  .manuals-library .manual-view-tabs { margin-top: 6px; }
  .manuals-library .manual-advanced-filters > summary { min-height: 44px; }
  .manuals-library .manual-advanced-filters { margin-bottom: 8px; }
  .manuals-library .manual-density-control { flex-basis: auto; }
}

.manual-discovery-toolbar > .manual-filter-select-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 188px));
  align-items: end; padding: 0; border: 0; gap: 8px 12px; width: min(100%,388px);
}
.manual-pick-title { font-weight: 650; }
.manual-pick-meta { font-size: 12px; color: var(--manual-find-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .manual-discovery-toolbar { display: block; }
  .manual-discovery-toolbar > .manual-filter-select-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .manual-picks { margin-top: 0; }
}

:root[data-design="editorial"] .manuals-library > .page-intro {
  padding: 10px 0 0;
}
.manual-discovery-controls {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 4px 16px; margin: 0 0 12px; min-width: 0;
}
.manual-discovery-controls > .manual-discovery-toolbar { flex: 0 0 auto; margin: 0; }
.manual-picks > summary {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--manual-find-ink); font-size: 14px; font-weight: 650;
  list-style: none; cursor: pointer;
}
.manual-picks > summary::-webkit-details-marker { display: none; }
.manual-picks > summary::marker { content: ""; }
.manual-picks > summary::after {
  content: ""; width: 6px; height: 6px; margin-left: auto; margin-right: 4px;
  border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.manual-picks[open] > summary::after { transform: rotate(225deg); }
.manual-picks > summary > small { font-size: 12px; font-weight: 500; color: var(--manual-find-muted); }
.manual-picks > summary:focus-visible { outline: 2px solid var(--manual-disclosure-focus); outline-offset: -2px; }
.manual-picks { padding-top: 0; margin-bottom: 12px; }
.manual-picks:not([open]) { border-bottom: 1px solid var(--manual-find-line); }
@media (max-width: 600px) {
  :root[data-design="editorial"] .manuals-library > .page-intro { padding-top: 0; }
  .manuals-library { padding-top: 12px; }
  .manual-discovery-controls { display: block; margin-bottom: 8px; }
  .manual-discovery-controls > .manual-discovery-toolbar { margin-top: 2px; }
  .manuals-library .manual-results-heading h2 { font-size: 18px; line-height: 1.35; }
  .manuals-library .manual-results-heading .manual-active-filters { margin: 2px 0 0; }
  .manuals-library .manual-results-heading .manual-results-actions { margin-top: 4px; }
}

@media (max-width: 600px) {
  .manuals-library .manual-results-title-default {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}

@media (max-width: 750px) {
  .home-overview .home-search-hero { padding-block: 20px 12px; min-height: 0; }
  .home-overview .hero-description { margin-block: 8px 14px; }
  .home-overview .home-quick-links { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
  .home-overview .home-quick-links > a:not([href="#manuals"]):not([href="magazine/index.html"]) { display: none; }
  .home-overview .home-quick-links > a { width: auto; min-width: 108px; }
  .home-overview .home-recent { margin-top: 16px; }
}
