:root{--bg:#fbfcfa;--panel:#fff;--soft:#f1f5f1;--ink:#193630;--muted:#64766f;--line:#d9e3dc;--accent:#176a53;--tint:#e6f0e9;--warning:#8b632b;--warnbg:#faf3e5;--error:#ac4052;--errbg:#fbeef0;--blue:#28778c;--radius:10px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 "Segoe UI","Yu Gothic UI",Meiryo,sans-serif}body.dark{--bg:#080b0e;--panel:#11171b;--soft:#172127;--ink:#e4f0f2;--muted:#9bb0b9;--line:#2e3d44;--accent:#43d5d8;--tint:#0b3036;--warning:#edc47b;--warnbg:#30291c;--error:#ff92aa;--errbg:#331d27;--blue:#76c6df;background-image:linear-gradient(#22b2bb06 1px,transparent 1px),linear-gradient(90deg,#22b2bb06 1px,transparent 1px);background-size:38px 38px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:9px 14px;min-height:42px}button:hover{border-color:var(--accent);background:var(--tint)}button.active{color:var(--accent);background:var(--tint);border-color:var(--accent)}button:disabled{opacity:.45;cursor:not-allowed}button.primary{color:var(--panel);background:var(--accent);border-color:var(--accent);font-weight:650}.dark button.primary{color:#071214}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #6cbaa0;outline-offset:3px}.skip{position:fixed;top:-100px;z-index:100}.skip:focus{top:5px;background:var(--panel);padding:8px}header{height:68px;background:var(--panel);position:fixed;top:0;left:220px;right:0;z-index:30;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:12px}.brand{display:flex;gap:12px;align-items:center}.brand strong{font:700 27px "Yu Mincho",serif;color:var(--accent)}.brand span{font-size:14px;font-weight:700;line-height:1.25}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.header-right{display:flex;align-items:center;gap:16px}.header-right button{border:0;font-size:12px}.mock-tag{font-size:11px;font-weight:700;letter-spacing:.7px;border:1px solid var(--line);padding:4px 9px;border-radius:4px;color:var(--muted)}.sidebar{position:fixed;width:220px;left:0;top:0;bottom:0;border-right:1px solid var(--line);background:var(--soft);z-index:35;padding-top:88px;display:flex;flex-direction:column}.side-title{font-size:10px;letter-spacing:1.5px;color:var(--muted);margin:26px 24px 10px}.sidebar>a,.sidebar>button{display:flex;align-items:center;gap:12px;padding:15px 20px;border:0;border-left:3px solid transparent;border-radius:0;font-size:13px;text-align:left;background:transparent}.sidebar>a.active{background:var(--tint);color:var(--accent);border-left-color:var(--accent);font-weight:650}.sidebar small{display:block;font-size:10px;color:var(--muted);font-weight:400}.sidebar b{font-size:9px;margin-left:auto}.side-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 24px;font-size:11px;color:var(--muted)}.side-bottom b{letter-spacing:1px;color:var(--accent)}.side-bottom a{text-decoration:underline}.menu{display:none}main{margin-left:220px;padding:104px 36px 60px;max-width:1700px;min-height:100vh}.eyebrow{color:var(--accent);font-size:10px;font-weight:750;letter-spacing:1.7px;margin:0 0 10px}.page-head{display:flex;justify-content:space-between;gap:26px;align-items:end;margin-bottom:24px}h1{font-size:32px;line-height:1.3;letter-spacing:-.8px;margin:0 0 12px;font-weight:650}h2{font-size:20px;line-height:1.5;margin:0 0 13px}h3{font-size:15px;margin:0 0 9px}p{margin:0 0 12px}p:last-child{margin-bottom:0}.muted{color:var(--muted)}.small{font-size:12px}.fine{font-size:11px;color:var(--muted)}.tabs{display:flex;gap:22px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:26px}.tabs button{padding:13px 0;background:transparent;border:0;border-radius:0;border-bottom:2px solid transparent;color:var(--muted);font-weight:650}.tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:20px}.panel.soft{background:var(--soft)}.grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:22px}.grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid>*{min-width:0}.row{display:flex;gap:12px;align-items:center;justify-content:space-between}.row.wrap{flex-wrap:wrap}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:22px}.tag{display:inline-block;color:var(--accent);background:var(--tint);padding:3px 8px;border-radius:4px;font-size:10px;font-weight:650}.tag.warn{background:var(--warnbg);color:var(--warning)}.tag.bad{background:var(--errbg);color:var(--error)}.note{border-left:3px solid var(--accent);background:var(--tint);border-radius:0 6px 6px 0;padding:12px 16px;font-size:12px;margin:16px 0}.note.warn{border-color:var(--warning);background:var(--warnbg);color:var(--warning)}.note.bad{border-color:var(--error);background:var(--errbg);color:var(--error)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.step{border-top:2px solid var(--line);padding:13px 0;font-size:12px}.step b{color:var(--accent);display:block;font-size:15px;margin-bottom:4px}.step small{display:block;color:var(--muted);margin-top:6px}.stat{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:11px 0;font-size:12px;gap:16px}.stat span:first-child{color:var(--muted)}.stat b{text-align:right}.section-label{font-size:11px;letter-spacing:1px;color:var(--muted);margin:22px 0 12px}label{display:block;font-size:12px;font-weight:600;margin-bottom:16px}input,textarea,select{display:block;width:100%;border:1px solid var(--line);border-radius:6px;padding:10px 12px;background:var(--bg);color:var(--ink);margin-top:6px;min-height:44px}textarea{resize:vertical;line-height:1.6;min-height:86px}label small{display:block;color:var(--muted);font-weight:400;margin-top:5px;font-size:11px}input[type=checkbox]{width:18px;min-height:18px;display:inline;margin:0 9px 0 0;accent-color:var(--accent)}.checks{display:flex;align-items:start;padding:13px;border:1px solid var(--line);border-radius:6px}.checks input{margin-top:3px;flex-shrink:0}.schema-row{display:grid;grid-template-columns:90px 1fr 130px 90px;gap:10px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;align-items:center}.schema-row input,.schema-row select{margin:0;min-height:38px;padding:7px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:var(--muted);font-size:10px;letter-spacing:.4px;font-weight:600;background:var(--soft)}td,th{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:top}td small{display:block;font-size:10px;color:var(--muted)}.table-button{border:0;padding:0;color:var(--accent);min-height:30px;text-align:left;background:transparent}pre,.code-editor{font:12px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--soft);padding:16px;border:1px solid var(--line);border-radius:6px}pre{margin:12px 0}.code-editor{min-height:300px;width:100%;resize:vertical}.score-line{display:flex;align-items:baseline;gap:10px}.big-score{font-size:76px;letter-spacing:-4px;line-height:1.1;font-weight:650}.score-line>span{color:var(--muted);font-size:18px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.metric-grid strong{display:block;font-size:25px}.metric-grid small{color:var(--muted);font-size:11px}.axis-row{display:grid;grid-template-columns:1.2fr 1.5fr 55px;gap:15px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.track{height:8px;background:var(--soft);border-radius:8px;overflow:hidden}.track i{display:block;height:100%;background:var(--accent);border-radius:8px}.axis-row:nth-child(4) .track i{background:#6f9c88}.axis-row:nth-child(5) .track i{background:#ad9570}.chart-bars{display:flex;align-items:end;gap:12px;height:130px;margin:20px 0 8px}.chart-bar{flex:1;text-align:center;font-size:10px;color:var(--muted)}.chart-bar b{display:block;height:var(--h);min-height:2px;background:var(--accent);border-radius:3px 3px 0 0;margin:6px 0}.chart-bar span{display:block}.axis-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.axis-card{border:1px solid var(--line);padding:14px;border-radius:7px;font-size:11px}.axis-card b{display:block;margin:8px 0;font-size:23px}.task-card{border-left:3px solid var(--accent)}.task-meta{display:grid;grid-template-columns:repeat(4,1fr);margin:20px 0;border-top:1px solid var(--line);padding-top:14px;gap:12px;font-size:11px}.task-meta b{display:block;font-size:14px;margin-top:4px}.task-meta span{color:var(--muted)}.sample-controls{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.sample-controls button{font-size:12px}.status-box{padding:14px;border:1px solid var(--line);border-radius:7px;margin:10px 0}.status-box b{display:block}.validation-list{font-size:12px;padding-left:20px}.validation-list li{margin:9px 0}.answer{border-top:1px solid var(--line);padding:17px 0}.answer blockquote{margin:9px 0;color:var(--muted);font-size:13px}.propositions td:first-child{width:55px}.propositions td:last-child{width:75px}.selected-row{background:var(--tint)}details{border-top:1px solid var(--line);padding:14px 0;margin-top:12px;font-size:12px}summary{cursor:pointer;font-weight:600;min-height:30px}.boundary-columns h3{padding-bottom:14px;border-bottom:2px solid var(--accent)}.boundary-columns ul{font-size:13px;padding-left:20px}.boundary-columns li{margin:11px 0}.separator{height:1px;background:var(--line);margin:20px 0}dialog{background:var(--panel);color:var(--ink);width:min(850px,calc(100vw - 30px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:32px;box-shadow:0 30px 100px #10291e33}dialog::backdrop{background:#020e1199;backdrop-filter:blur(3px)}dialog .close{position:absolute;right:12px;top:10px;border:0;font-size:24px;min-height:35px;padding:0 10px}.modal-intro{margin:16px 0}.muted-cell{color:var(--muted)}#toast{position:fixed;bottom:20px;right:24px;max-width:440px;z-index:80;background:var(--ink);color:var(--panel);border-radius:8px;padding:13px 20px;box-shadow:0 4px 20px #0002;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}[hidden]{display:none!important}.review{margin:0 auto;max-width:1100px;padding:50px 30px}.review a{text-decoration:underline;color:var(--accent)}.review-links{display:flex;gap:16px;flex-wrap:wrap}.review-links a{padding:10px 16px;border:1px solid var(--line);border-radius:6px}.dark h1{font-family:"Yu Mincho",Georgia,serif}.dark .eyebrow,.dark .tag{font-family:Consolas,monospace}.phase{border:1px solid var(--line);padding:14px;border-radius:6px;margin:10px 0}.phase b{font-size:12px}.phase p{font-size:12px;color:var(--muted);margin:5px 0}.pill{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:3px 8px;border-radius:4px}.align-right{text-align:right}
.panel[id]{scroll-margin-top:88px}.phase-progress{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.phase-progress button{font-size:11px}.agent-preview{min-height:160px}.agent-preview .hidden-target{border:1px dashed var(--line);padding:16px;border-radius:7px;color:var(--muted);font-size:12px}
@media(min-width:1500px){main{padding:108px 54px 70px}.grid{gap:28px}.panel{padding:28px}}
@media(max-width:1050px){.sidebar{width:185px}header{left:185px;padding:0 24px}main{margin-left:185px;padding:100px 24px 40px}.grid{grid-template-columns:1fr}.grid.equal{grid-template-columns:1fr 1fr}.axis-cards{grid-template-columns:repeat(3,1fr)}.big-score{font-size:66px}}
@media(max-width:700px){header{left:0;height:64px;padding:0 16px}.menu{display:block;border:0;padding:5px;font-size:20px}.brand{gap:7px}.brand strong{font-size:23px}.brand span{font-size:12px}.brand small{display:none}.header-right{gap:7px}.header-right button{font-size:10px;padding:3px}.mock-tag{font-size:9px;padding:3px 5px}.sidebar{display:none;top:64px;width:250px;padding-top:6px;box-shadow:20px 0 50px #0004}.sidebar.open{display:flex}main{margin:0;padding:90px 16px 32px}.page-head{display:block}h1{font-size:27px}.page-head>button{margin-top:14px}.tabs{gap:15px}.tabs button{font-size:12px}.panel{padding:18px}.grid.equal,.grid.three{grid-template-columns:1fr}.steps{grid-template-columns:1fr;gap:4px}.axis-cards{grid-template-columns:repeat(2,1fr)}.axis-row{grid-template-columns:1.1fr 1fr 42px;gap:8px;font-size:11px}.task-meta{grid-template-columns:1fr 1fr}.schema-row{grid-template-columns:50px 1fr;gap:7px}.metric-grid{gap:12px}.metric-grid strong{font-size:22px}dialog{padding:24px 18px}.review{padding:30px 16px}.header-right .mock-tag{white-space:nowrap}.row{gap:8px}.row.wrap{justify-content:flex-start}}
.proposition-group{padding:18px}.proposition-editor{display:flex;gap:12px;align-items:end;margin:14px 0}.proposition-editor label{flex:1;margin:0}.proposition-editor button{font-size:11px;min-width:52px;margin-bottom:5px}.proposition-editor textarea{min-height:76px}.board-sidebar-brand{display:none}.board-extra-nav{display:none}
body.board-style{--bg:#050505;--panel:#101010;--soft:#0b0b0b;--ink:#e2e8f0;--muted:#94a3b8;--line:#ffffff1a;--accent:#00dce9;--tint:#00292d;font-family:Consolas,"Yu Gothic UI",Meiryo,monospace;background-color:#050505;background-image:linear-gradient(#00f2ff06 1px,transparent 1px),linear-gradient(90deg,#00f2ff06 1px,transparent 1px)}
.board-style header{left:256px;background:#050505;height:64px;padding:0 28px}.board-style .brand strong{display:none}.board-style .brand span{font:700 12px Consolas,monospace;letter-spacing:1px;color:#00dce9}.board-style .brand small{display:none}.board-style .header-right .mock-tag{color:#00dce9;background:#00292d;border-color:#00dce933}.board-style .sidebar{width:256px;background:#050505;padding-top:64px}.board-style .sidebar>a,.board-style .sidebar>button{font-size:12px;min-height:46px;padding:12px 26px}.board-style .sidebar>a small{display:none}.board-style .sidebar>a.active{background:#00292d;color:#00dce9}.board-style .sidebar .side-title{font-size:9px;letter-spacing:2px;margin:28px 26px 14px}.board-style .board-sidebar-brand{display:block;position:absolute;top:0;left:0;right:0;height:64px;border-bottom:1px solid var(--line);padding:14px 24px;font:24px/1.5 Georgia,serif;letter-spacing:.5px;color:#e5e7eb}.board-sidebar-brand::first-letter{color:#00dce9}.board-style main{margin-left:256px;padding:94px 16px 60px;max-width:none}.board-style .board-extra-nav{display:block;color:var(--muted)}.board-extra-nav button{width:100%;background:transparent;border:0;text-align:left;font-size:12px;padding:12px 26px;border-radius:0}.board-extra-nav .side-title{margin-bottom:8px}.board-extra-nav button:hover{color:#00dce9;background:#00292d}.board-style main>section.board-hero,.board-style main>.board-guidance,.board-style main>.board-view,.board-style main>.board-top-controls,.board-style main>.board-types,.board-style main>.board-search,.board-style main>.board-pagination,.board-style main>.fine,.board-style main>.board-card,.board-style main>.panel,.board-style main>.board-back{max-width:1024px;margin-left:auto;margin-right:auto}
.board-hero{text-align:center;margin:0 auto 36px}.board-badges{display:flex;justify-content:center;gap:8px;margin-bottom:16px}.board-hero h1{font:38px/1.35 "Yu Mincho",Georgia,serif;letter-spacing:0;margin:0 0 13px;color:#fff}.board-hero>p{font-size:14px;line-height:1.7}.board-hero>p.fine{font-size:12px;margin-top:12px;color:#94a3b8}.board-guidance{padding:0;border:1px solid var(--line);border-radius:5px;margin:0 auto 26px;background:#080808}.board-guidance>summary{display:flex;justify-content:space-between;gap:15px;padding:17px;color:#00dce9;min-height:50px;font-size:13px}.board-guidance summary>span{font-size:11px;color:#64748b}.board-guidance p{padding:0 18px 18px;font-size:12px}.board-view{margin:0 auto 16px;color:#d1d5db;font-size:12px}.board-view b{color:#0aff00;background:#0aff001a;border:1px solid #0aff004d;padding:4px 9px;display:inline-block;margin-left:10px}.board-top-controls{display:flex;gap:12px;align-items:stretch;margin-bottom:16px}.board-top-controls>button,.board-types>button,.board-search>button,.board-pagination>button,.board-card-actions button{border:1px solid #00dce94d;background:#00dce91a;color:#00dce9;border-radius:0;min-height:44px;font-size:11px;letter-spacing:.3px}.board-top-controls>button{border-color:#00dce9;padding:14px}.board-state{display:flex;border:1px solid #00dce955;border-radius:4px;overflow:hidden;gap:2px;padding:3px}.board-state>button{border:0;min-width:78px;padding:9px;border-radius:3px;background:#050505;color:#b6c7cc;font-size:11px}.board-state small{display:block;font-size:10px}.board-state>button.active{background:#00dce9;color:#050505}.board-types{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.board-types>button{padding:10px 14px;font-size:10px}.board-types>button.active{background:#00dce9;color:#050505;border-color:#00dce9}.board-types>button:nth-child(3),.board-types>button:nth-child(5),.board-types>button:nth-child(6){background:#b026ff1a;color:#c179f1;border-color:#b026ff4d}.board-search{display:flex;gap:10px;align-items:center;margin-bottom:20px}.board-search label{white-space:nowrap;margin:0;font-size:12px}.board-search input{margin:0;flex:1;min-width:0;background:#101010;border-color:#333}.board-pagination{justify-content:start;margin-bottom:12px}.board-pagination>button{color:#94a3b8;border-color:#333;background:#111}.board-style .fine{line-height:1.7}.board-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#111;margin:24px auto}.board-card-head{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:20px;background:#080808;border-bottom:1px solid var(--line)}.board-identity{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:10px}.board-identity code{font-size:11px;color:#64748b;overflow-wrap:anywhere}.board-card-head h2{font:22px/1.4 "Yu Mincho",Georgia,serif;letter-spacing:.3px;color:#00dce9;margin:0 0 6px}.board-card-head p{font-size:12px;color:#94a3b8}.board-card-head>.tag{color:#0aff00;background:#0aff001a;border:1px solid #0aff004d;white-space:nowrap}.board-card-head>.tag.warn{color:#f2c94c;background:#f2c94c1a;border-color:#f2c94c44}.board-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#ffffff1a;border-bottom:1px solid var(--line)}.board-metrics>div{background:#101010;padding:20px 10px;text-align:center}.board-metrics span{display:block;color:#64748b;font-size:9px;letter-spacing:.7px}.board-metrics strong{font-size:13px;display:block;margin-top:10px}.board-metrics>div:first-child strong,.board-metrics>div:nth-child(5) strong{color:#fb923c}.board-metrics>div:nth-child(4) strong{color:#00dce9}.board-metrics>div:nth-child(6) strong{color:#0aff00}.board-card-body{padding:24px;background:#080808}.board-definition{padding:20px;background:#050505;border:1px solid #1e293b;border-radius:4px}.board-definition>h3{color:#e2e8f0;font-size:14px;padding-bottom:15px;border-bottom:1px solid #334155;margin-bottom:20px}.board-definition-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;min-width:0}.board-definition-grid>div{min-width:0}.board-definition h4{font-size:10px;letter-spacing:1px;color:#00dce9;margin:0 0 14px}.board-label{display:block;font-size:10px;color:#64748b;margin:12px 0 6px}.board-definition code{display:block;padding:7px;border:1px solid var(--line);background:#ffffff0d;font-size:11px;color:#00dce9;overflow-wrap:anywhere}.board-definition details{font-size:11px;background:#080808;border:1px solid var(--line);padding:12px}.board-reward{align-self:start}.board-reward>small{font-size:9px;color:#64748b;letter-spacing:.6px}.board-reward>strong{display:block;font-size:22px;color:#0aff00;margin:5px 0 16px}.board-reward>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;padding:9px 0;border-bottom:1px solid #ffffff0d}.board-reward>div span{color:#64748b}.board-reward>p{font-size:11px;color:#94a3b8;margin:15px 0 0}.board-card-actions{display:flex;justify-content:space-between;gap:12px;align-items:end;flex-wrap:wrap;padding:20px;border-top:1px solid var(--line);background:#080808}.board-card-actions p{margin-bottom:8px}.board-detail{margin:24px auto}.board-back{margin-top:20px}.board-style dialog{font-family:Consolas,"Yu Gothic UI",Meiryo,monospace}
@media(max-width:1050px){.board-style .sidebar{width:220px}.board-style header{left:220px}.board-style main{margin-left:220px}}
@media(max-width:700px){.proposition-editor{display:block}.proposition-editor>button{margin-top:6px}.board-style header{left:0;padding:0 16px}.board-style .sidebar{width:250px;top:64px;padding-top:0}.board-style .board-sidebar-brand{display:none}.board-style main{margin:0;padding:90px 16px 40px}.board-hero h1{font-size:29px}.board-hero>p{font-size:12px}.board-types>button{font-size:9px;padding:8px}.board-top-controls{flex-wrap:wrap}.board-state{flex:1}.board-search{flex-wrap:wrap}.board-search label{width:100%}.board-card-head{flex-wrap:wrap}.board-card-head h2{font-size:20px}.board-definition-grid{grid-template-columns:1fr}.board-card-body{padding:16px}.board-definition{padding:16px}.board-metrics>div{padding:15px 7px}.board-metrics strong{font-size:11px}.board-card-actions{align-items:stretch;flex-direction:column}.board-card-actions button{width:100%}}

.board-style .sidebar{overflow-y:auto}.sidebar .side-bottom{flex-shrink:0}

/* R3: preserve v2 offer/results and execution-summary surfaces. */
.board-card-actions{align-items:center}.board-card-actions>button{width:auto}.board-reward{padding:16px;background:#111;border:1px solid #2d2d2d;border-radius:4px}.v2-detail-shell{scroll-margin-top:85px;border:1px solid #ff007f66;border-radius:12px;overflow:hidden;background:#101010;margin:28px 0}.v2-detail-heading{position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#ff007f12;border-bottom:1px solid #ff007f4d;padding:16px}.v2-detail-heading h2{font:700 13px/1.6 Consolas,monospace;color:#ff479f;margin:0;overflow-wrap:anywhere}.v2-detail-heading>button{background:transparent;border:0;color:#94a3b8;font-size:24px;min-width:44px}.v2-detail-content{padding:24px}.v2-result-hero{margin:40px 0 24px}.v2-result-hero h1{font:normal 38px/1.3 Georgia,"Yu Mincho",serif;color:#fff;margin:12px 0 18px}.v2-capacity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#283033;border:1px solid #283033;border-radius:4px;margin:20px 0;overflow:hidden}.v2-capacity>div{background:#0c0c0c;padding:18px}.v2-capacity b{font:700 27px Consolas,monospace;color:#edf2f6;display:block}.v2-capacity span{font-size:11px;color:#94a3b8;display:block;margin-top:10px}.v2-overview{background:#141414}.v2-conditions{background:#080b0d;border:1px solid #283033;padding:16px;margin:16px 0;font-size:12px}.v2-conditions>summary{color:#00dce9;font-weight:600}.v2-audience-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.v2-audience-tabs>button{font-size:12px;border:1px solid #283033;color:#00dce9;border-radius:0}.v2-audience-tabs>button[aria-pressed=true]{background:#00dce91a;border-color:#00dce9}.v2-answer-card{padding:24px;margin:20px 0;border:1px solid #283033;border-radius:10px;background:#141414}.v2-answer-card blockquote{margin:16px 0;font-size:13px}.v2-answer-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.v2-answer-facts small{display:block;color:#94a3b8;font-size:11px}.v2-answer-facts strong{display:block;margin-top:8px;font-size:13px;overflow-wrap:anywhere}.v2-summary-table{min-width:1000px;width:100%;table-layout:fixed;font-size:12px}.v2-summary-table th{color:#ff479f;white-space:normal}.v2-summary-table th:first-child{width:185px}.v2-summary-table th:nth-child(2),.v2-summary-table th:nth-child(3){width:180px}.v2-summary-table td{vertical-align:top;overflow-wrap:anywhere}.v2-summary-table small{display:block;color:#94a3b8;font-size:11px;line-height:1.8;margin-top:6px}.v2-summary-table button{white-space:nowrap;min-width:80px;font-size:11px}.v2-summary-scroll{container-type:inline-size}.v2-summary-detail td>div{position:sticky;left:0;width:min(850px,calc(100cqw - 32px));padding:12px;box-sizing:border-box}.v2-summary-detail h2{font-size:18px}.v2-summary-detail pre{white-space:pre-wrap}.v2-summary-detail .propositions{min-width:0}.v2-empty{text-align:center;padding:38px 20px}.v2-empty h2{font-size:22px}.v2-detail-content>div.actions.align-right{justify-content:flex-end}
@media(max-width:700px){.board-card-actions>button{width:100%}.v2-detail-content{padding:16px}.v2-result-hero h1{font-size:30px}.v2-answer-card{padding:16px}.v2-answer-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-detail-heading{padding:12px}.v2-audience-tabs>button{flex:1}.v2-overview{padding:16px}}@media(max-width:540px){.v2-capacity{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-capacity>div{padding:14px}}

#board-answer-surface{scroll-margin-top:85px}

.payment-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.payment-timeline>div{background:#0b1014;border:1px solid #283033;padding:14px}.payment-timeline b{font-size:12px;color:#00dce9}.payment-timeline p{font-size:11px;color:#94a3b8;margin-top:10px}@media(max-width:700px){.payment-timeline{grid-template-columns:1fr}}

/* R5: Offer checkout only; R4 TaskBoard styles retained. */
.checkout-steps{list-style:none;padding:0;margin:26px 0 30px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.checkout-steps li{border:1px solid var(--line);border-radius:6px;padding:15px;background:var(--panel);color:var(--muted)}.checkout-steps li.current{border-color:var(--accent);background:var(--tint);color:var(--ink)}.checkout-steps li.done{border-color:#148b74}.checkout-steps span{font:12px Consolas,monospace;display:block;margin-bottom:7px;color:var(--accent)}.checkout-steps b{font-size:14px}.checkout-steps small{display:block;font-size:11px;margin-top:5px}.checkout-grid{align-items:start}.checkout-summary h3{line-height:1.7}.checkout-summary .stat b{max-width:60%;text-align:right}.checkout-total{margin:22px 0 16px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.checkout-total>span{font-size:12px;color:var(--muted)}.checkout-total>strong{display:block;font:700 36px Consolas,monospace;margin-top:10px;color:var(--accent)}.checkout-total strong small{font-size:17px}.checkout-total p{font-size:12px;color:var(--muted);margin-top:12px}.checkout-copy{white-space:pre-wrap;line-height:1.9}.checkout-details{margin:20px 0;padding:14px;border:1px solid var(--line);border-radius:6px}.checkout-details summary{font-size:13px;color:var(--accent);cursor:pointer}.checkout-details ol{padding-left:22px;font-size:12px;line-height:1.9}.checkout-check{display:flex;align-items:start;gap:12px;border:1px solid var(--line);border-radius:6px;padding:16px;margin:24px 0}.checkout-check input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--accent);flex-shrink:0}.checkout-check small{display:block}.checkout-wallet p{font-size:14px;line-height:1.8;margin:15px 0}.checkout-wallet-options{display:grid;gap:12px;margin:22px 0}.checkout-wallet-options button{text-align:left;padding:18px}.checkout-wallet-options small{display:block;margin-top:10px;color:var(--muted)}.checkout-feedback{padding:14px;border:1px solid #eab30866;color:#fde68a;font-size:13px;line-height:1.8}.checkout-outcome{text-align:center;padding:12px 0 24px}.checkout-status-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid var(--accent);border-radius:50%;color:var(--accent);font-size:26px;margin-bottom:16px}.checkout-state-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.checkout-state-grid>div{border:1px solid var(--line);padding:18px;border-radius:6px}.checkout-state-grid small{display:block;color:var(--muted);font-size:11px;margin-bottom:10px}.checkout-state-grid b{font-size:13px;color:var(--accent)}.checkout-simulation{margin-top:30px;background:var(--soft)}
@media(max-width:700px){.checkout-steps{gap:6px;margin:20px 0}.checkout-steps li{padding:10px 8px}.checkout-steps b{font-size:12px}.checkout-steps small{display:none}.checkout-grid .actions>button{width:100%}.checkout-state-grid{grid-template-columns:1fr}.checkout-total>strong{font-size:32px}.checkout-grid .stat{align-items:start;gap:12px}.checkout-grid .stat b{max-width:65%;text-align:right;overflow-wrap:anywhere}.checkout-details{padding:12px}.checkout-details .phase{padding:10px}}

/* R6: Offer selection and v2 branch; TaskBoard retained. */
body.offer-style{--bg:#050505;--panel:#101010;--soft:#0b0b0b;--ink:#e2e8f0;--muted:#94a3b8;--line:#ffffff1a;--accent:#00dce9;--tint:#00292d;background-color:#050505}.offer-style main{max-width:1600px}.offer-style .page-head .eyebrow{color:#ff479f}.offer-style .page-head h1{font-family:Georgia,"Yu Mincho",serif}.offer-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0}.offer-template{background:#111;border:1px solid #ffffff1a;border-radius:12px;padding:24px;display:flex;flex-direction:column;min-width:0}.offer-template.proposal{border-color:#00dce980;box-shadow:0 0 0 1px #00dce911}.offer-symbol{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;font:24px Consolas,monospace;border:1px solid #00dce933;border-radius:7px;color:var(--accent);background:#00dce911}.offer-template .tag{font-size:9px}.offer-template h2{font-size:19px;line-height:1.5;margin:24px 0 14px}.offer-template>p{font-size:13px;line-height:1.9;color:#b8c7ce;min-height:76px}.offer-template dl{font-size:11px;margin:16px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.offer-template dl>div{margin:12px 0}.offer-template dt{color:#64748b;margin-bottom:5px}.offer-template dd{margin:0;line-height:1.7;color:#d6e1e7}.offer-template-actions{margin-top:auto}.offer-template-actions button{width:100%;font-size:12px;border-radius:0}.offer-route{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:26px}.offer-route small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.offer-route button{font-size:12px}.offer-style .checkout-check input[type=radio]{accent-color:var(--accent)}
@media(max-width:1200px){.offer-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.offer-catalog{grid-template-columns:1fr;gap:14px}.offer-template{padding:20px}.offer-template>p{min-height:0}.offer-route{align-items:start;flex-direction:column}.offer-route>button{width:100%}.offer-style main{max-width:none}}

/* R7: v3 registration plans; scoped to new Offer section. */
.v3-plan-selector{min-width:0;border:0;padding:0;margin:26px 0 20px}.v3-plan-selector legend{font-size:16px;font-weight:700;margin-bottom:15px}.v3-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v3-plan{display:flex;align-items:flex-start;gap:10px;padding:14px 12px;border:1px solid #ffffff33;border-radius:4px;background:#0006;margin:0;cursor:pointer}.v3-plan:has(input:checked){background:#00dce90d;border-color:var(--accent)}.v3-plan:has(input:checked) strong{color:var(--accent)}.v3-plan>input{width:16px;height:16px;margin:4px 0 0;flex-shrink:0;accent-color:var(--accent)}.v3-plan-copy{min-width:0}.v3-plan-copy strong{display:block;font:700 23px/1.3 Consolas,monospace;white-space:nowrap;margin:0 0 7px}.v3-plan-copy strong small{display:inline;font-size:11px;color:inherit}.v3-plan-copy>small{font-size:12px;line-height:1.6;color:var(--muted)}.v3-plan-selector>p{margin:12px 0 0}@media(max-width:540px){.v3-plans{grid-template-columns:1fr}.v3-plan{padding:14px}}

/* R8: APS-only research purchase UI; fixed boards retained. */
.aps-plan-selector{min-width:0;border:0;padding:0;margin:24px 0}.aps-plan-selector legend{font-size:16px;font-weight:700;margin-bottom:15px}.aps-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.aps-plan{display:flex;align-items:start;gap:10px;padding:18px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);margin:0;cursor:pointer}.aps-plan:has(input:checked){border-color:var(--accent);background:var(--tint);box-shadow:inset 0 0 0 1px var(--accent)}.aps-plan input{width:16px;height:16px;flex-shrink:0;margin:4px 0 0;accent-color:var(--accent)}.aps-plan>span{min-width:0}.aps-plan b{display:block;font-size:12px;margin-bottom:12px}.aps-plan strong{display:block;font:700 24px/1.3 Consolas,monospace;margin-bottom:8px}.aps-plan strong small{font-size:11px;display:inline}.aps-plan span>small{font-size:12px;color:var(--muted)}.aps-plan-selector>p{margin:12px 0 0}.aps-purchase-grid{align-items:start}.aps-order-summary .stat{gap:14px;align-items:start}.aps-order-summary .stat b{max-width:65%;text-align:right;overflow-wrap:anywhere}.aps-order-total{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0;padding:20px 0}.aps-order-total>span{font-size:12px;color:var(--muted)}.aps-order-total strong{display:block;font:700 38px/1.3 Consolas,monospace;color:var(--accent);margin-top:12px}.aps-order-total strong small{font-size:18px}.aps-purchase-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:24px 0}.aps-purchase-steps li{padding:16px;border:1px solid var(--line);background:var(--panel);border-radius:7px;font-size:13px}.aps-purchase-steps li.current{background:var(--tint);border-color:var(--accent)}.aps-purchase-steps span{display:block;color:var(--accent);font:12px Consolas,monospace;margin-bottom:8px}.aps-purchase-check{display:flex;gap:12px;align-items:start;padding:18px;border:1px solid var(--line);border-radius:7px;margin:22px 0}.aps-purchase-check>input{width:20px;height:20px;margin:2px 0 0;flex-shrink:0;accent-color:var(--accent)}.aps-purchase-check small{display:block;margin-top:7px}.aps-purchase-details{border:1px solid var(--line);padding:16px;border-radius:7px;margin:20px 0}.aps-purchase-details summary{cursor:pointer;color:var(--accent);font-size:13px}.aps-purchase-details p{font-size:12px;line-height:1.8;margin-top:12px}.aps-purpose{white-space:pre-wrap;line-height:1.9;margin:18px 0}.aps-wallet-options{display:grid;gap:12px;margin:22px 0}.aps-purchase-grid .stat b{overflow-wrap:anywhere}
@media(max-width:700px){.aps-plan-grid{grid-template-columns:1fr}.aps-plan{padding:16px}.aps-plan>span{flex:1}.aps-plan strong{font-size:25px}.aps-purchase-grid .actions>button{width:100%}.aps-purchase-steps{gap:7px}.aps-purchase-steps li{padding:12px 8px;font-size:12px}.aps-purchase-grid .stat{align-items:start;gap:12px}.aps-purchase-grid .stat b{max-width:65%;text-align:right}.aps-order-total strong{font-size:32px}}

/* R9: APS-only per-agent result drilldown. */
.aps-detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.aps-detail-metrics>div{padding:16px;background:var(--soft);border:1px solid var(--line);border-radius:6px}.aps-detail-metrics small{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.aps-detail-metrics strong{font-size:20px}.aps-agent-answer-table{min-width:720px;table-layout:fixed;width:100%}.aps-agent-answer-table th:first-child{width:140px}.aps-agent-answer-table th:nth-child(2){width:auto}.aps-agent-answer-table th:nth-child(3){width:125px}.aps-agent-answer-table th:nth-child(4){width:140px}.aps-agent-answer-table td{vertical-align:top;overflow-wrap:anywhere}.aps-agent-answer-table td p{font-size:12px;line-height:1.8;margin:8px 0 0}.aps-agent-answer-table td small,.aps-agent-overview td small{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin-top:6px}.aps-agent-answer-table button{font-size:11px;white-space:nowrap;padding:8px}.aps-agent-scroll{margin:18px 0}.aps-score-back{margin-bottom:18px}.aps-score-back button{font-size:12px}.aps-detail-identity{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:20px 0}.aps-score-section{padding-top:20px;margin-top:22px;border-top:1px solid var(--line)}.aps-score-section h3{font-size:16px}.aps-score-section>p{font-size:13px;line-height:1.9}.aps-score-section blockquote{margin:18px 0;border-left:3px solid var(--accent);padding:12px 16px;background:var(--soft);font-size:14px;line-height:1.9}.aps-score-section details{margin:16px 0}.aps-score-section .propositions small{display:block;margin-top:6px;font-size:10px;color:var(--muted)}.aps-score-section pre{white-space:pre-wrap;overflow-wrap:anywhere}.aps-agent-overview{min-width:1120px;font-size:11px}.aps-agent-overview th{white-space:normal}.aps-agent-overview td{vertical-align:top}.aps-agent-overview button{font-size:11px;white-space:nowrap}.aps-score-section .stat{gap:15px}.aps-score-section .stat b{text-align:right;overflow-wrap:anywhere}
@media(max-width:700px){.aps-detail-metrics{grid-template-columns:1fr;gap:8px}.aps-detail-metrics>div{padding:12px}.aps-detail-metrics strong{font-size:18px}.aps-score-back button{width:100%}.aps-score-section .stat{align-items:start}.aps-score-section .stat b{max-width:60%}.aps-agent-answer-table{display:block;min-width:0;table-layout:auto}.aps-agent-answer-table thead{display:none}.aps-agent-answer-table tbody,.aps-agent-answer-table tbody tr,.aps-agent-answer-table tbody td{display:block;width:100%}.aps-agent-answer-table tbody tr{border:1px solid var(--line);border-radius:7px;padding:14px;margin-bottom:14px}.aps-agent-answer-table tbody td{border:0;padding:0;margin:10px 0}.aps-agent-answer-table td:nth-child(3){color:var(--accent);font-size:17px}.aps-agent-answer-table td:nth-child(3)::before{content:"この項目の点数";display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.aps-agent-answer-table td:last-child button{width:100%}}


/* R10 APS target cards, scoped away from fixed boards. */
.aps-catalog-section{margin-bottom:28px}.aps-catalog-toolbar{display:grid;grid-template-columns:1fr 210px;gap:18px;margin:22px 0 0}.aps-catalog-toolbar label{margin-bottom:12px}.aps-catalog-filters{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 14px}.aps-catalog-filters button{padding:7px 16px;font-size:12px}.aps-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.aps-catalog-card{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);padding:22px;min-width:0}.aps-catalog-card h3{font-size:24px;margin:17px 0 3px}.aps-catalog-card .tag{font-size:10px}.aps-target-url{margin:0;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.aps-target-purpose{font-size:13px;margin:16px 0;min-height:44px}.aps-catalog-score{display:flex;align-items:center;gap:12px;padding:18px 0;border-top:1px solid var(--line)}.aps-catalog-score>strong{font-size:38px;line-height:1.1;font-weight:650;letter-spacing:-2px}.aps-catalog-score>span{font-size:15px;color:var(--muted)}.aps-catalog-score small{display:block;font-size:10px;margin-top:4px}.aps-catalog-score>.aps-score-pending{font-size:19px;line-height:1.1;min-height:2.2em;max-width:9ch;display:flex;align-items:center;color:var(--muted);letter-spacing:0}.aps-catalog-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.aps-catalog-facts b{display:block;font-size:21px}.aps-catalog-facts span{font-size:11px;color:var(--muted)}.aps-catalog-status{padding:14px;background:var(--soft);border-radius:6px;font-size:11px;flex:1}.aps-catalog-status b{font-size:11px}.aps-catalog-status p{margin:4px 0;overflow-wrap:anywhere}.aps-catalog-card-actions{display:flex;flex-direction:column;gap:8px;margin-top:6px}.aps-catalog-card-actions button{font-size:12px;width:100%}.aps-catalog-create{display:flex;gap:20px;align-items:center;justify-content:space-between}.aps-catalog-create p{margin-bottom:0}.aps-catalog-breadcrumb{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin-bottom:20px;color:var(--muted);font-size:12px}.aps-catalog-empty{grid-column:1/-1}.aps-catalog-card .row{justify-content:flex-start;gap:6px}
@media(max-width:1200px){.aps-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.aps-catalog-grid{grid-template-columns:1fr}.aps-catalog-toolbar{grid-template-columns:1fr}.aps-catalog-card{padding:20px}.aps-catalog-create{display:block}.aps-catalog-create>button{margin-top:16px}.aps-target-purpose{min-height:0}.aps-catalog-card-actions{flex-direction:row;flex-wrap:wrap}.aps-catalog-breadcrumb span{overflow-wrap:anywhere}}

/* R11: Initial options and purchase composition, APS only. */
.aps-initial-extra{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.aps-initial-extra h3{margin:6px 0 16px}.aps-initial-extra-fields{padding:18px 0 0}.aps-extra-review,.aps-initial-composition{border:1px solid var(--line);border-radius:8px;padding:18px;margin:18px 0;background:var(--soft)}.aps-initial-composition ol{padding-left:20px;margin:12px 0}.aps-initial-composition li{margin:7px 0}.aps-order-fees{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.aps-order-fees h4{margin:0 0 7px}.aps-extra-task{border-top:1px solid var(--line);padding:16px 0}.aps-extra-task h4{margin:0 0 8px}.aps-extra-review p{font-size:12px}.aps-order-fees .stat b{white-space:nowrap}

/* R12 APS result folds, competitor actions and additional-option answers. */
.aps-competitor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.aps-competitor-card{border:1px solid var(--line);border-radius:8px;padding:20px;background:var(--soft)}.aps-competitor-card h3{margin:0 0 8px}.aps-competitor-card .fine{overflow-wrap:anywhere}.aps-option-agent{border-top:1px solid var(--line);padding:22px 0}.aps-option-agent>.row>h4{margin:0;font-size:13px}.aps-option-answer{padding:12px 0}.aps-option-answer h4{margin:0 0 4px;font-size:12px;color:var(--accent)}.aps-option-answer p{margin:4px 0;font-size:13px}.aps-option-answer .fine{font-size:11px}.aps-option-agent>button{margin-top:10px}
@media(max-width:700px){.aps-competitor-grid{grid-template-columns:1fr}.aps-competitor-card>button{width:100%}}

/* R13: fold five axes; show four items as an uncollapsed list. */
.aps-axis-fold{margin:12px 0 0;padding:0;border:1px solid var(--line);border-radius:7px;overflow:hidden}.aps-axis-fold>summary{display:flex;align-items:center;gap:12px;padding:15px 16px;background:var(--soft);list-style:none;font-size:14px}.aps-axis-fold>summary:before{content:"▸";color:var(--accent)}.aps-axis-fold[open]>summary:before{content:"▾"}.aps-axis-fold-name{flex:1;font-weight:650}.aps-axis-fold-score{font-weight:600;color:var(--accent);white-space:nowrap}.aps-axis-fold-content{padding:0 12px 12px}.aps-axis-item-table td:first-child{width:38%}.aps-axis-item-table td:nth-child(3),.aps-axis-item-table td:nth-child(4){white-space:nowrap}.aps-axis-item-table td:last-child{width:21%}.aps-axis-item-table button{font-size:11px;min-height:36px;padding:6px 8px;color:var(--accent)}.aps-item-question{font-size:11px;color:var(--muted);margin:6px 0 0}.aps-axis-item-table tbody tr:last-child td{border-bottom:0}
@media(max-width:700px){.aps-axis-fold>summary{font-size:12px;padding:13px 12px;gap:8px}.aps-axis-fold-content{padding:0 12px 12px}.aps-axis-item-table thead{display:none}.aps-axis-item-table tbody,.aps-axis-item-table tr{display:block}.aps-axis-item-table tr{padding:14px 0;border-bottom:1px solid var(--line)}.aps-axis-item-table tbody tr:last-child{border-bottom:0}.aps-axis-item-table td{display:block;width:100%!important;border:0;padding:4px 0;white-space:normal!important}.aps-axis-item-table td:not(:first-child):not(:last-child):before{content:attr(data-label) "：";color:var(--muted);margin-right:4px}.aps-axis-item-table td:last-child{padding-top:9px}}

/* R14 extends the retained OfferBoard and TaskBoard layouts. */
.r14-overview{grid-template-columns:1.5fr 1fr;margin-top:20px}
.r14-radar{display:block;width:100%;max-height:330px;margin:12px auto;color:var(--ink)}
.r14-radar text{fill:var(--ink);font:11px "Segoe UI","Yu Gothic UI",Meiryo,sans-serif;font-weight:600}
.r14-radar-grid{stroke:var(--line);stroke-width:1;fill:none}
.r14-radar-value{fill:#176a5333;stroke:var(--accent);stroke-width:2.5}
.r14-mid-score{font-size:48px;line-height:1.2;color:var(--accent)}
.r14-choice{border-top:4px solid var(--accent)}
.r14-ability{border-top:4px solid var(--blue)}
.r14-ability .r14-mid-score{color:var(--blue)}
.r14-cost-benefit{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.r14-cost-benefit>div{background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:14px}
.r14-cost-benefit small,.r14-cost-benefit b{display:block}
.r14-cost-benefit b{font-size:24px;margin-top:5px}
.r14-profile,.r14-context,.r14-template{background:var(--soft);border-radius:7px;border:1px solid var(--line);padding:18px;margin:16px 0}
.r14-profile h3{font-size:16px}
.r14-comparison{border:1px solid var(--line);border-radius:7px;padding:18px;margin:20px 0}
.r14-comparison .stat span{flex:0 0 30%}
.r14-comparison .stat b{font-weight:500;max-width:66%;overflow-wrap:anywhere}
.r14-candidate{display:grid;grid-template-columns:1fr auto;gap:3px 14px;padding:13px 0;border-bottom:1px solid var(--line)}
.r14-candidate span{font-size:12px}
.r14-candidate small{grid-column:1/-1;color:var(--muted);overflow-wrap:anywhere}
.r14-purpose-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
.r14-purpose-tabs button{font-size:12px}
.r14-competitor-check{display:flex;gap:10px;align-items:start;padding:10px;margin:0;border-bottom:1px solid var(--line)}
.r14-competitor-check input{flex-shrink:0;margin-top:4px}
.r14-competitor-check small{font-size:11px;font-weight:400;overflow-wrap:anywhere}
.r14-relation-root{border-left:3px solid var(--accent);background:var(--tint);padding:16px;margin:20px 0}
.r14-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.r14-related-card{border:1px solid var(--line);border-radius:7px;padding:18px;background:var(--soft)}
.r14-related-card button{display:block;width:100%;margin-top:10px;font-size:11px}
.r14-related-card h3{font-size:15px;min-height:44px}
.r14-individual{border-left:3px solid var(--blue);background:var(--tint);padding:18px;margin:20px 0}
.r14-board-participation{padding:16px 20px;border-top:1px solid var(--line)}
.r14-board-participation .stat{font-size:11px}
.r14-board-participation .stat b{overflow-wrap:anywhere}
.r14-board-participation .fine{margin-top:10px}
.board-style .r14-context{background:var(--soft)}
.v2-summary-table td small,.v2-summary-table td{overflow-wrap:anywhere}
.aps-axis-item-table td{overflow-wrap:anywhere}
@media(max-width:1050px){.r14-related-grid{grid-template-columns:1fr}.r14-related-card h3{min-height:0}}
@media(max-width:700px){.r14-overview{grid-template-columns:1fr}.r14-radar{max-height:none}.r14-cost-benefit{gap:8px}.r14-profile{margin:0}.r14-comparison{padding:12px}.r14-comparison .stat{display:block}.r14-comparison .stat span,.r14-comparison .stat b{display:block;max-width:100%;text-align:left}.r14-comparison .stat b{margin-top:5px}.r14-purpose-tabs{gap:6px}.r14-purpose-tabs button{flex:1 1 45%}.r14-board-participation{padding:14px}.aps-axis-item-table td{white-space:normal!important}}

/* R15: neutral compact summary; no selected items or selected Agent examples. */
.r15-chart-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.r15-score-panel h2{font-size:18px;margin:0 0 16px}
.r15-score-panel .r14-radar{max-width:420px;margin:0 auto;max-height:300px}
.r15-score-panel .r14-radar text{font-size:14px;font-weight:600}
.r15-axis-bars{display:grid;gap:20px;margin:25px 0 18px}
.r15-bar-heading{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;line-height:1.5}
.r15-bar-heading b{font-size:14px;white-space:nowrap}
.r15-bar-track{height:14px;background:var(--soft);border-radius:3px;overflow:hidden;margin:10px 0}
.r15-bar-track span{height:100%;display:block;background:var(--accent)}
.r15-axis-bar:nth-child(2) .r15-bar-track span{background:var(--blue)}
.r15-axis-bar .fine{margin:0}
.r15-bars-column details{margin:16px 0 0}
.r15-total-row{border-top:1px solid var(--line);padding-top:16px;margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px}
.r15-total-row b{font-size:16px}
@media(max-width:800px){.r15-chart-grid{grid-template-columns:1fr;gap:20px}.r15-score-panel .r14-radar{max-width:420px}.r15-axis-bars{margin-top:15px}}

.r16-result-nav{position:sticky;top:-24px;z-index:4;display:flex;gap:10px;flex-wrap:wrap;background:var(--panel);padding:12px 0;margin-bottom:16px;border-bottom:1px solid var(--line)}
.r16-result-nav button{font-size:12px}
.r16-agent-overview{min-width:0;table-layout:fixed}
.r16-agent-overview th,.r16-agent-overview td{padding:12px 8px;overflow-wrap:anywhere}
.r16-agent-overview th{width:12%}
.r16-agent-overview th:first-child,.r16-agent-overview th:nth-child(2){width:10%}
.r16-agent-overview th:last-child{width:20%}
.r16-agent-overview button{font-size:11px;padding:8px;min-width:0}
dialog:has(.r16-agent-overview){width:min(1180px,96vw);max-width:96vw}
.r16-agent-overview th small{display:block;font-size:10px;font-weight:400}

/* R17 adds validity and canonical scoring within the R16 layout. */
.r17-scenario{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0}
.r17-scenario label{margin:0;min-width:280px;font-size:12px}
.r17-scenario .fine{max-width:280px;margin:0}
.r17-yes-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 10px;padding-top:16px;border-top:1px solid var(--line)}
.r17-yes-rates div{font-size:12px;background:var(--soft);padding:12px;border-radius:5px}
.r17-yes-rates b,.r17-yes-rates span{display:block}
.r17-yes-rates b{font-size:16px;margin-top:5px}
.r17-answer-table td:nth-child(2){width:44%;font-size:12px;line-height:1.8}
.r17-answer-table td:nth-child(2) p{margin-top:7px;color:var(--muted);font-size:11px}
.r17-answer-table td:nth-child(1){width:16%}
.r17-answer-table td:nth-child(3){width:13%}
.r17-answer-table td:nth-child(4){width:11%}
.r17-answer-table button{font-size:11px;padding:8px}
.r17-answer-table .tag{white-space:normal;overflow-wrap:anywhere}
.r17-validity-section{border-left:3px solid var(--blue);padding-left:18px}
.r17-scoring-section{border-left:3px solid var(--accent);padding-left:18px}
.r17-unmeasured{padding:12px;background:var(--soft);font-size:12px;margin:12px 0}
.r17-report-preview{font-size:12px;padding:16px;background:var(--soft);border-radius:6px}
.r17-report-preview p{line-height:2}
.r17-condition-table td:nth-child(1){min-width:66px}
.r17-condition-table td:nth-child(3){min-width:70px}
.r17-mobile-table td{overflow-wrap:anywhere}
@media(max-width:700px){
 .r17-scenario{display:block}.r17-scenario label{min-width:0;margin-bottom:10px}.r17-scenario button{margin-top:10px;width:100%}
 .r17-yes-rates{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .r17-mobile-table{display:block;table-layout:auto!important;min-width:0!important}
 .r17-mobile-table thead{display:none}
 .r17-mobile-table tbody{display:block}
 .r17-mobile-table tr{display:block;border:1px solid var(--line);border-radius:6px;margin:0 0 14px;padding:8px;background:var(--panel)}
 .r17-mobile-table td{display:block;width:100%!important;min-width:0!important;white-space:normal!important;padding:9px 4px;border:0}
 .r17-mobile-table td:before{content:attr(data-label);display:block;font-size:10px;font-weight:700;color:var(--muted);margin-bottom:5px}
 .r17-mobile-table td small{font-size:10px}
 .r17-answer-table td:nth-child(2){font-size:12px}
 .r17-condition-table{font-size:11px}
 .r17-condition-table td,.r17-condition-table th{padding:10px 7px}
 dialog:has(.r17-mobile-table){width:96vw;max-width:96vw;padding:18px}
 .r16-result-nav{top:-18px;gap:8px}.r16-result-nav button{font-size:11px;padding:8px}
 .r17-validity-section,.r17-scoring-section{padding-left:12px}
}

/* R17 layout retained; white theme and English type treatment for all three boards. */
.r22-profile-option{padding:20px;border:1px solid var(--line);border-radius:8px;margin:22px 0;background:var(--panel)}.r22-profile-option>.checks{margin:0}.r22-profile-option .stat small,.r22-profile-fee small{display:block}.r22-profile-option details{margin-top:15px}.r22-profile-option table{font-size:12px}.r22-profile-option .table-wrap{margin:14px 0}
.r19-heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:16px;align-self:flex-start;flex-shrink:0}.r19-language{display:inline-flex;padding:3px;border:1px solid #b9cec3;border-radius:999px;background:#f1f5f2;gap:3px}.r19-language button{border:0!important;border-radius:999px!important;padding:6px 15px!important;margin:0!important;font-size:12px!important;font-weight:700;line-height:1.4;background:transparent!important;color:#49665c!important;min-height:32px}.r19-language button[aria-pressed=true]{background:#176a53!important;color:white!important}.r19-language button:focus-visible{outline:2px solid #28778c;outline-offset:2px}.r19-task-language{display:flex;justify-content:flex-end;margin-bottom:12px}
@media(max-width:700px){.r19-heading-actions{margin-top:16px;gap:12px}.r19-language button{min-height:40px!important}.r19-heading-actions>.primary{align-self:flex-end}}
@media(max-width:700px){header .header-right>[data-action="boundary"]{display:none}}
.r20-axis-term{font:inherit!important;color:inherit!important;cursor:help;background:transparent!important;border:0!important;min-height:0!important;padding:0!important;text-align:left}.r20-info{font-size:12px;color:#61776e}.r20-axis-term:hover,.r20-axis-term:focus-visible{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}.r20-svg-term{cursor:help}.r20-svg-term:hover text,.r20-svg-term:focus text{text-decoration:underline;text-decoration-style:dotted}.r20-svg-term:focus-visible{outline:2px solid #28778c;outline-offset:3px}.r20-tooltip{position:fixed;z-index:90;background:#193630;color:white;border-radius:8px;padding:14px 16px;box-shadow:0 5px 18px #19363024;font:13px/1.7 "Segoe UI","Yu Gothic UI",Meiryo,sans-serif;pointer-events:auto}.r20-tooltip[hidden]{display:none}.r20-tooltip strong{font-size:14px}.r20-tooltip p{margin:7px 0 0;color:#f2f7f4}.r20-answer-time{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin-top:18px;color:var(--muted);font-size:12px}.r20-pagination{display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.r20-pagination label{display:flex;gap:10px;align-items:center;margin:0}.r20-pagination select{width:76px}.r20-pagination nav{display:flex;gap:5px;align-items:center}.r20-pagination button{min-height:38px;padding:7px 12px}.r20-page-indicator{border:1px solid var(--line);background:var(--soft);border-radius:6px;padding:7px 12px;font-size:12px;white-space:nowrap}#r20-additional-answers h2{scroll-margin-top:95px}.r20-range{white-space:nowrap}
@media(max-width:700px){.r20-pagination{gap:12px}.r20-pagination nav{width:100%;justify-content:flex-end;flex-wrap:wrap}.r20-pagination button{padding:7px 10px}.r20-page-indicator{padding:7px 10px}.r20-answer-time{font-size:11px}.r20-tooltip{font-size:12px}}
body,body.dark,body.board-style,body.offer-style{--bg:#fbfcfb;--panel:#fff;--soft:#f1f5f2;--ink:#193630;--muted:#61776e;--line:#d9e3dc;--accent:#176a53;--tint:#e6f0e9;--blue:#28778c;background:#fbfcfb!important;color:#193630!important;font-family:"Segoe UI",Arial,sans-serif!important}
body header,body .sidebar,body.board-style header,body.board-style .sidebar,body.offer-style header,body.offer-style .sidebar{background:#fff!important;color:#193630!important;border-color:#d9e3dc!important}
body .brand strong{font-size:21px!important}body .brand span{font-family:"Segoe UI",Arial,sans-serif!important}
body.board-style main,body.offer-style main{background:#fbfcfb!important;background-image:none!important}
body .board-card,body .v2-detail-shell,body .board-definition,body .board-reward,body .v2-answer-card,body .v2-summary-table,body .offer-type-card,body .board-guidance,body .v2-conditions,body .board-state,body .board-types,body .board-search,body dialog{background:#fff!important;color:#193630!important;border-color:#d9e3dc!important;box-shadow:none!important}
body button,body input,body select,body textarea{font-family:"Segoe UI",Arial,sans-serif!important}body .board-card button,body .board-types button,body .board-state button,body.offer-style button,body.board-style button{color:#176a53!important;border-color:#cadbd2!important;background:#fff!important}
body button.primary,body .board-state button.active,body .board-types button[aria-pressed=true]{background:#176a53!important;color:#fff!important}body .board-card-actions,body .v2-detail-heading,body .board-card-head,body .board-card-body,body .v2-detail-content{background:#fff!important;color:#193630!important;border-color:#d9e3dc!important}
body .board-card code,body .board-card h3,body .board-card h4,body .board-label,body .board-metrics span,body .board-metrics strong,body .board-reward strong,body .v2-capacity b,body .v2-capacity span{color:#193630!important}body .tag{color:#176a53!important;background:#e6f0e9!important;border-color:#d9e3dc!important}body a{color:#176a53}
.r18-mock{font-size:12px;margin:18px 0}.r18-original{font-family:"Segoe UI","Yu Gothic UI",Meiryo,sans-serif}.r18-original pre{white-space:pre-wrap;overflow-wrap:anywhere}
.r18-radar{position:relative}.r18-radar svg{display:block;width:100%;max-width:440px}.r18-radar text{font-size:12px;fill:#193630}.r18-radar-cta{position:absolute;left:18%;right:18%;top:34%;padding:12px;background:#ffffffed;border:1px solid #d9e3dc;border-radius:7px;text-align:center}.r18-radar-cta button{font-size:12px;padding:10px}.r18-radar-cta .fine{font-size:10px;line-height:1.5;margin:8px 0 0}
.r17-yes-rates small{display:block;font-size:10px;margin-top:6px;line-height:1.6}.r15-total-row small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.r18-rubric td:first-child{min-width:64px}.r18-rubric td:last-child{min-width:72px}.aps-target-card{padding:24px;border:1px solid var(--line);border-radius:8px}.aps-target-stats{display:flex;gap:28px;padding:15px 0}.aps-target-stats strong,.aps-target-stats span{display:block}.aps-target-stats strong{font-size:22px}.aps-target-stats span{font-size:11px;color:var(--muted)}
@media(max-width:700px){.r18-radar-cta{left:12%;right:12%;top:28%;padding:9px}.r18-radar-cta button{font-size:11px}.board-definition-grid{grid-template-columns:1fr!important}.board-card-head{display:block!important}.board-metrics{grid-template-columns:1fr 1fr!important}.board-card-actions{display:flex;justify-content:space-between;gap:10px}.r18-rubric td{overflow-wrap:anywhere}}

.r21-field{margin:18px 0}.r21-label-row{display:flex;align-items:center;gap:8px;margin-bottom:7px}.r21-label-row label{margin:0;font-weight:650}.r21-field-help{border:0!important;background:transparent!important;color:#61776e!important;padding:2px 5px!important;min-height:28px;cursor:help;flex-shrink:0}.r21-field-help:hover{color:#176a53!important}.r21-field small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.r21-field input,.r21-field textarea{display:block;width:100%}@media(max-width:700px){.r21-field-help{min-width:34px;min-height:34px}}

/* Human-requested existing-board appearance. Every rule is scoped away from APS. */
body:is(.offer-style,.board-style){--bg:#050505;--panel:#111;--soft:#0b0b0b;--ink:#fff;--muted:#94a3b8;--line:#ffffff1a;--accent:#00f2ff;--tint:#00f2ff1a;--blue:#b026ff;--warning:#f2c94c;--warnbg:#f2c94c12;--error:#ff5c9f;--errbg:#ff007f12;color-scheme:dark;background:#050505!important;color:#fff!important;font:14px/1.6 "JetBrains Mono",Consolas,"Yu Gothic UI",Meiryo,monospace!important;background-image:linear-gradient(#00f2ff08 1px,transparent 1px),linear-gradient(90deg,#00f2ff08 1px,transparent 1px)!important;background-size:40px 40px!important;background-attachment:fixed!important}
body:is(.offer-style,.board-style) main{background:transparent!important;background-image:none!important}
body:is(.offer-style,.board-style) :is(button,input,select,textarea,code,pre,.r18-original){font-family:"JetBrains Mono",Consolas,"Yu Gothic UI",Meiryo,monospace!important}
body:is(.offer-style,.board-style) :is(header,.sidebar){background:#050505f2!important;color:#fff!important;border-color:var(--line)!important}
body:is(.offer-style,.board-style) header{height:64px;left:256px;padding:0 28px}
body:is(.offer-style,.board-style) .brand strong{display:none}
body:is(.offer-style,.board-style) .brand span{font:700 12px/1.5 "JetBrains Mono",Consolas,monospace!important;color:var(--accent);letter-spacing:.04em}
body:is(.offer-style,.board-style) .sidebar{width:256px;padding-top:64px;overflow-y:auto}
body:is(.offer-style,.board-style) .board-sidebar-brand{display:block;position:absolute;top:0;left:0;right:0;height:64px;padding:14px 24px;border-bottom:1px solid var(--line);font:22px/1.5 "Noto Serif JP",Georgia,"Yu Mincho",serif;color:#fff;letter-spacing:.05em}
body:is(.offer-style,.board-style) .board-sidebar-brand::first-letter{color:var(--accent);text-shadow:0 0 8px var(--accent)}
body:is(.offer-style,.board-style) .sidebar>a,body:is(.offer-style,.board-style) .sidebar>button{font-size:12px;min-height:42px;padding:11px 24px;color:#94a3b8!important;border:0!important;border-left:3px solid transparent!important;background:transparent!important;border-radius:0!important}
body:is(.offer-style,.board-style) .sidebar>a.active{color:var(--accent)!important;background:var(--tint)!important;border-left-color:var(--accent)!important}
body:is(.offer-style,.board-style) .side-title{font-size:10px;color:#64748b;letter-spacing:.1em;margin:26px 24px 10px}
body:is(.offer-style,.board-style) .board-extra-nav{display:block}
body:is(.offer-style,.board-style) .board-extra-nav button{border:0!important;background:transparent!important;color:var(--muted)!important;text-align:left;font-size:12px;padding:11px 24px}
body:is(.offer-style,.board-style) main{margin-left:256px;padding:100px 24px 60px;max-width:none}
body.offer-style .page-head,body.offer-style main>.panel,body.offer-style .offer-catalog,body.offer-style .offer-route,body.offer-style main>.tabs,body.offer-style main>.grid{max-width:1180px;margin-left:auto;margin-right:auto}
body:is(.offer-style,.board-style) :is(.panel,.offer-template,.board-card,.v2-detail-shell,.board-definition,.board-reward,.v2-answer-card,.v2-summary-table,.offer-type-card,.board-guidance,.v2-conditions,.board-state,.board-types,.board-search,dialog){background:#111!important;color:#fff!important;border-color:var(--line)!important;box-shadow:none!important}
body:is(.offer-style,.board-style) :is(.board-card-head,.board-card-body,.board-card-actions,.v2-detail-content){background:#0a0a0a!important;color:#fff!important;border-color:var(--line)!important}
body:is(.offer-style,.board-style) :is(.phase,.soft,.note,.checks,.aps-plan,.payment-timeline>div){background:#ffffff05;color:#e2e8f0;border-color:var(--line)}
body:is(.offer-style,.board-style) :is(.fine,.muted,small,dt){color:var(--muted)}
body:is(.offer-style,.board-style) :is(h1,.board-hero h1,.v2-result-hero h1){font-family:"Noto Serif JP",Georgia,"Yu Mincho",serif;font-weight:400;color:#fff;font-size:36px;line-height:1.25;letter-spacing:0}
body:is(.offer-style,.board-style) :is(h2,h3,h4){color:#fff}
body:is(.offer-style,.board-style) .eyebrow{display:inline-block;color:#ff007f;background:#ff007f1a;border:1px solid #ff007f4d;border-radius:3px;font-size:10px;letter-spacing:.1em;padding:2px 8px}
body:is(.offer-style,.board-style) a{color:var(--accent)}
body:is(.offer-style,.board-style) :is(button,.board-card button,.board-types button,.board-state button){color:var(--accent)!important;border:1px solid #00f2ff66!important;background:#00f2ff1a!important;border-radius:0;min-height:40px;font-size:12px;letter-spacing:.02em}
body:is(.offer-style,.board-style) button:hover:not(:disabled){background:#00f2ff29!important;border-color:var(--accent)!important}
body:is(.offer-style,.board-style) :is(button.primary,button.active,button[aria-pressed=true]){background:var(--accent)!important;border-color:var(--accent)!important;color:#050505!important}
body:is(.offer-style,.board-style) button.primary:hover:not(:disabled){background:#81faff!important;color:#050505!important}
body:is(.offer-style,.board-style) :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body:is(.offer-style,.board-style) .r19-language{background:#0a0a0a;border-color:#00f2ff66}
body:is(.offer-style,.board-style) .r19-language button{border:0!important;background:transparent!important;color:var(--muted)!important}
body:is(.offer-style,.board-style) .r19-language button[aria-pressed=true]{background:var(--accent)!important;color:#050505!important}
body:is(.offer-style,.board-style) :is(input,textarea,select){background:#080a0c;color:#fff;border:1px solid #48505a;border-radius:4px;padding:12px 14px;accent-color:var(--accent)}
body:is(.offer-style,.board-style) :is(input[type=checkbox],input[type=radio]){padding:0}
body:is(.offer-style,.board-style) .tag{color:var(--accent)!important;background:#00f2ff12!important;border-color:#00f2ff4d!important;border-radius:3px;font-size:10px}
body:is(.offer-style,.board-style) .tag.warn{color:#f2c94c!important;background:#f2c94c12!important;border-color:#f2c94c4d!important}
body:is(.offer-style,.board-style) .mock-tag{color:var(--accent);background:#00f2ff12;border-color:#00f2ff33}
body.offer-style .offer-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.offer-style .offer-template{padding:23px;border-radius:12px;display:flex;flex-direction:column}
body.offer-style .offer-template h2{font-size:20px;line-height:1.35;min-height:54px;margin:22px 0 14px}
body.offer-style .offer-template>p{font-size:14px;line-height:1.6;color:#b8c7ce;min-height:68px}
body.offer-style .offer-template dl{padding:14px 0;font-size:12px;margin:14px 0 21px}
body.offer-style .offer-template dl>div{display:flex;justify-content:space-between;gap:12px;margin:8px 0}
body.offer-style .offer-template dt{margin:0;flex:0 0 38%}
body.offer-style .offer-template dd{color:#e2e8f0;text-align:right}
body.offer-style .offer-template:nth-child(2) .offer-symbol{color:#b026ff;border-color:#b026ff4d;background:#b026ff1a}
body.offer-style .offer-template.proposal{border-color:#00f2ff80!important}
body:is(.offer-style,.board-style) :is(.board-card h4,.board-definition code,.board-card-head h2){color:var(--accent)!important}
body:is(.offer-style,.board-style) .board-card h3{color:#fff!important}
body:is(.offer-style,.board-style) :is(.board-label,.board-metrics span,.v2-capacity span){color:#94a3b8!important}
body:is(.offer-style,.board-style) :is(.board-metrics strong,.v2-capacity b){color:#fff!important}
body:is(.offer-style,.board-style) .board-metrics>div{background:#111}
body:is(.offer-style,.board-style) .board-reward strong{color:#0aff00!important}
body:is(.offer-style,.board-style) .board-metrics>div:nth-child(4) strong{color:var(--accent)!important}
body:is(.offer-style,.board-style) .board-metrics>div:nth-child(6) strong{color:#0aff00!important}
body:is(.offer-style,.board-style) .board-identity code{color:#94a3b8!important}
body.board-style .board-types>button:is(:nth-child(3),:nth-child(5),:nth-child(6)):not([aria-pressed=true]){color:#c179f1!important;border-color:#b026ff4d!important;background:#b026ff1a!important}
body:is(.offer-style,.board-style) :is(.v2-detail-heading,dialog){border-color:#ff007f66!important}
body:is(.offer-style,.board-style) .v2-detail-heading{background:#ff007f12!important;color:#ff479f!important}
body:is(.offer-style,.board-style) .v2-detail-heading h2{color:#ff479f}
body:is(.offer-style,.board-style) :is(th,td){border-color:var(--line);color:#e2e8f0}
body:is(.offer-style,.board-style) th{background:#ffffff05;color:var(--accent)}
body:is(.offer-style,.board-style) details{border-color:var(--line)}
body:is(.offer-style,.board-style) summary{color:var(--accent)}
body:is(.offer-style,.board-style) .aps-plan:has(input:checked){border-color:var(--accent);background:#00f2ff12}
body:is(.offer-style,.board-style) .aps-purchase-steps li.current{background:#00f2ff12;border-color:var(--accent)}
body:is(.offer-style,.board-style) :is(.board-types,.board-search){background:transparent!important}
body:is(.offer-style,.board-style) .sidebar>button,body:is(.offer-style,.board-style) .sidebar .board-extra-nav>button{border:0!important;background:transparent!important;color:var(--muted)!important;letter-spacing:normal;border-radius:0!important;min-height:42px}
body:is(.offer-style,.board-style) .sidebar>button:hover,body:is(.offer-style,.board-style) .sidebar .board-extra-nav>button:hover{background:#ffffff0d!important;color:#e2e8f0!important}
body:is(.offer-style,.board-style) .board-sidebar-brand::first-letter{font-size:14px}
@media(max-width:700px){body:is(.offer-style,.board-style) :is(h1,.board-hero h1,.v2-result-hero h1){font-size:29px}}
@media(max-width:1100px){body.offer-style .offer-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body:is(.offer-style,.board-style) header{left:0;padding:0 16px}body:is(.offer-style,.board-style) .sidebar{width:250px;top:64px;padding-top:0}body:is(.offer-style,.board-style) .board-sidebar-brand{display:none}body:is(.offer-style,.board-style) main{margin:0;padding:90px 16px 40px}body:is(.offer-style,.board-style) h1{font-size:29px}body.offer-style .offer-catalog{grid-template-columns:1fr}body.offer-style .offer-template h2,body.offer-style .offer-template>p{min-height:0}body:is(.offer-style,.board-style) .board-card-actions{flex-direction:column;align-items:stretch}body:is(.offer-style,.board-style) .board-card-actions button{width:100%}body:is(.offer-style,.board-style) .brand span{font-size:10px!important}body:is(.offer-style,.board-style) .header-right .mock-tag{font-size:8px}}

/* R25: Paid Trial configuration frame, existing v2 Task card layout; no APS selectors. */
body.offer-style .r25-offer-workspace{max-width:1180px;margin:0 auto;scroll-margin-top:88px}
body.offer-style .r25-offer-title{padding:16px 24px;border-bottom:1px solid var(--accent);background:#00f2ff0d;font-size:24px;color:var(--accent)}
body.offer-style .r25-registration-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:0 0 36px;border-bottom:1px solid var(--line)}
body.offer-style .r25-registration-steps li{display:flex;align-items:center;gap:12px;padding:24px 9px;color:var(--muted);border-bottom:3px solid transparent;font-size:14px}
body.offer-style .r25-registration-steps li[aria-current=step]{color:var(--accent);border-color:var(--accent)}
body.offer-style .r25-registration-steps li>span{display:grid;place-items:center;border:1px solid #48505a;border-radius:50%;width:32px;height:32px;flex-shrink:0;font-size:12px}
body.offer-style .r25-registration-steps li[aria-current=step]>span{border-color:var(--accent);background:#00f2ff12}
body.offer-style .r25-config-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}
body.offer-style .r25-config-panel{padding:26px;min-width:0}
body.offer-style .r25-config-panel>h2{font-size:18px;color:#b8c7ce;margin-bottom:20px}
body.offer-style .r25-config-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line);margin-bottom:24px}
body.offer-style .r25-config-tabs>button{border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:var(--muted)!important;text-align:left;font-size:13px;padding:14px 10px;display:flex;gap:10px;align-items:center;letter-spacing:0}
body.offer-style .r25-config-tabs>button[aria-current=step]{color:#c179f1!important;background:#b026ff0a!important;border-bottom-color:#b026ff!important}
body.offer-style .r25-config-tabs>button>span{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border:1px solid var(--line)}
body.offer-style .r25-config-content>h2{font-size:20px;margin:26px 0 18px}
body.offer-style .r25-config-content>.phase{padding:20px;margin:22px 0;border:1px solid var(--line);border-radius:6px}
body.offer-style .r25-config-content .actions{justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin-top:26px}
body.offer-style .r25-config-content textarea{font-weight:400;min-height:130px}
body.offer-style .r25-config-content input,body.offer-style .r25-config-content select{font-weight:400}
body.offer-style .r25-previous{padding-top:18px;margin-top:24px;border-top:1px solid var(--line)}
body.offer-style .r25-at-glance .stat{font-size:12px;align-items:start;gap:16px}
body.offer-style .r25-at-glance .stat b{text-align:right;max-width:60%;font-weight:400;overflow-wrap:anywhere}
body.offer-style .r25-at-glance{position:sticky;top:88px;min-width:0}
body.offer-style .r25-csv{padding:16px;margin:20px 0 28px;border:1px solid #29353f;border-radius:4px;background:#080a0c}
body.offer-style .r25-csv>summary{font-size:13px;line-height:1.7;cursor:pointer;color:#e2e8f0}
body.offer-style .r25-csv label{display:block;font-size:12px;margin:16px 0}
body.offer-style .r25-csv textarea{font-weight:400;min-height:100px;white-space:pre}
body.offer-style .r25-csv input[type=file]{width:100%;max-width:100%;border:1px dashed #48505a;padding:12px;font-size:12px}
body.offer-style .r25-csv fieldset{border:0;padding:0;margin:18px 0;min-width:0}
body.offer-style .r25-csv legend{color:var(--muted);font-size:11px}
body.offer-style .r25-csv .r25-radio{display:flex;align-items:center;gap:9px;font-weight:400;margin:10px 0}
body.offer-style .r25-csv .r25-radio input{margin:0;width:16px;height:16px}
body.offer-style .r25-text-link{display:inline-block;margin:12px 0;text-decoration:underline;text-underline-offset:4px;font-size:12px}
body.offer-style .r25-csv-error{color:#ff8fc0;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}
body.offer-style .r25-csv-error:empty{display:none}
body.offer-style .r25-csv-preview{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
body.offer-style .r25-csv-preview .table-wrap{max-width:100%;overflow:auto}
body.offer-style .r25-csv-preview table{font-size:11px;min-width:420px}
body.board-style .board-card-head{padding:28px 30px}
body.board-style .board-card-head h2{font:400 30px/1.3 "Noto Serif JP",Georgia,"Yu Mincho",serif;color:#fff!important;margin:14px 0 10px}
body.board-style .board-card-head p{font-size:14px}
body.board-style .board-identity{gap:14px}
body.board-style .board-identity code{background:#ffffff08;padding:4px 8px;font-size:12px}
body.board-style .board-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0;background:transparent}
body.board-style .board-metrics>div{padding:30px 18px 24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:125px}
body.board-style .board-metrics>div:nth-child(3n){border-right:0}
body.board-style .board-metrics>div:nth-child(n+4){border-bottom:0;min-height:170px}
body.board-style .board-metrics span{font-size:11px;letter-spacing:.07em;line-height:1.6}
body.board-style .board-metrics strong{font-size:17px;line-height:1.5;margin-top:22px}
body.board-style .board-metrics>div:nth-child(1) strong,body.board-style .board-metrics>div:nth-child(5) strong{color:#fb923c!important}
body.board-style .board-metrics>div:nth-child(4) strong{color:#fff!important}
body.board-style .board-metrics>div>p{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 0 0}
body.board-style .board-card-body{padding:30px}
body.board-style .board-definition{background:#050505!important;padding:24px;border:1px solid #1e293b!important;border-radius:4px}
body.board-style .board-definition>h3{font-size:17px;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid #334155}
body.board-style .board-definition-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:30px}
body.board-style .board-definition h4{font-size:12px;letter-spacing:.07em;margin:0 0 22px}
body.board-style .board-label{font-size:11px;margin:16px 0 10px}
body.board-style .board-definition code{padding:10px;font-size:13px;border-radius:4px}
body.board-style .r25-immutable-label{margin-top:26px}
body.board-style .r25-skill-link{display:inline-block;color:var(--accent);font-size:13px;margin:8px 0 18px}
body.board-style .r25-skill-link small{display:block;font-size:10px;margin-top:6px}
body.board-style .board-definition details{padding:16px;margin:16px 0;background:#050505;border:1px solid #29353f}
body.board-style .board-definition details summary{font-size:12px;color:#e2e8f0}
body.board-style .board-reward{padding:24px;border-color:#ffffff26!important;border-radius:5px;background:#111!important}
body.board-style .board-reward>small{font-size:11px;letter-spacing:.05em}
body.board-style .board-reward>strong{font-size:28px;margin:14px 0 28px}
body.board-style .board-reward>div{font-size:12px;padding:13px 0;align-items:start}
body.board-style .board-reward>div b{text-align:right;max-width:58%;font-weight:400;overflow-wrap:anywhere}
body.board-style .board-reward>p{font-size:12px;line-height:1.8;margin-top:22px}
body.board-style .board-card-actions{padding:26px 30px}
body.board-style .r14-board-participation{padding:0 30px 24px}
@media(max-width:1000px){body.offer-style .r25-config-grid{grid-template-columns:minmax(0,1fr) 250px;gap:18px}body.offer-style .r25-config-panel{padding:20px}}
@media(max-width:850px){body.offer-style .r25-config-grid{grid-template-columns:1fr}body.offer-style .r25-at-glance{position:static}body.board-style .board-definition-grid{grid-template-columns:1fr!important}}
@media(max-width:700px){body.offer-style .r25-offer-title{font-size:18px;padding:14px 16px}body.offer-style .r25-registration-steps{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:24px}body.offer-style .r25-registration-steps li{padding:16px 6px;font-size:11px;gap:8px}body.offer-style .r25-registration-steps li>span{width:26px;height:26px}body.offer-style .r25-config-panel{padding:16px}body.offer-style .r25-config-tabs>button{font-size:11px;padding:12px 5px;gap:6px;align-items:start}body.offer-style .r25-config-tabs>button>span{width:19px;height:22px}body.offer-style .r25-csv{padding:12px}body.board-style .board-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.board-style .board-metrics>div{padding:22px 12px;min-height:130px!important;border-bottom:1px solid var(--line)!important;border-right:1px solid var(--line)!important}body.board-style .board-metrics>div:nth-child(2n){border-right:0!important}body.board-style .board-metrics>div:nth-child(n+5){border-bottom:0!important}body.board-style .board-metrics span{font-size:9px}body.board-style .board-metrics strong{font-size:14px}body.board-style .board-card-head{padding:20px}body.board-style .board-card-head h2{font-size:24px}body.board-style .board-card-body{padding:16px}body.board-style .board-definition{padding:16px}body.board-style .board-reward{padding:18px}body.board-style .r14-board-participation{padding:0 16px 16px}body.board-style .board-card-actions{padding:18px}}

/* Existing navigation structure, using the current light/dark palette. */
body .sidebar.r27-sidebar{padding-top:0;overflow:hidden;display:flex;flex-direction:column;backdrop-filter:blur(12px)}
body .sidebar.r27-sidebar .board-sidebar-brand{position:static;display:flex;align-items:center;gap:10px;flex-shrink:0;height:68px;padding:0 20px;border-bottom:1px solid var(--line);font:400 22px/1.5 "Noto Serif JP",Georgia,"Yu Mincho",serif;letter-spacing:.04em;color:var(--ink)}
body .sidebar.r27-sidebar .board-sidebar-brand::first-letter{color:inherit;font-size:inherit;text-shadow:none}
body .r27-brand-dot{width:10px;height:10px;border-radius:50%;background:var(--accent);flex-shrink:0}
body:not(.board-style):not(.offer-style) .sidebar.r27-sidebar{background:#f7faf6!important}
body .r27-sidebar-scroll{flex:1;min-height:0;overflow-y:auto;padding:12px 0 20px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
body .r27-nav-group>.side-title{font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.1em;margin:20px 18px 10px;color:var(--muted)}
body .r27-nav-group{margin:0;padding:0}
body .sidebar.r27-sidebar .r27-nav-link{display:flex;align-items:center;gap:12px;min-height:44px;padding:11px 18px;border-left:3px solid transparent;color:var(--ink)!important;background:transparent!important;font-size:13px;line-height:1.6;text-decoration:none;font-weight:400}
body .sidebar.r27-sidebar .r27-nav-link:hover{background:#00000005!important;color:var(--accent)!important}
body .sidebar.r27-sidebar .r27-nav-link.active{border-left-color:var(--accent);color:var(--accent)!important;background:var(--tint)!important;font-weight:650}
body .r27-nav-icon{width:17px;height:17px;flex-shrink:0;opacity:.85;display:block}
body .sidebar.r27-sidebar .r27-sidebar-status{margin:0;padding:12px 16px;flex-shrink:0;border-top:1px solid var(--line);font:10px/1.6 Consolas,monospace;display:flex;align-items:center;gap:8px;color:var(--muted)}
body .r27-status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}
body:is(.board-style,.offer-style) .sidebar.r27-sidebar .board-sidebar-brand{height:64px;color:#fff;padding:0 24px}
body:is(.board-style,.offer-style) .r27-brand-dot{width:12px;height:12px;box-shadow:0 0 8px var(--accent)}
body:is(.board-style,.offer-style) .r27-nav-group>.side-title{color:#64748b;margin:20px 24px 10px}
body:is(.board-style,.offer-style) .sidebar.r27-sidebar .r27-nav-link{font:12px/1.6 "JetBrains Mono",Consolas,monospace;padding:11px 20px;color:#94a3b8!important}
body:is(.board-style,.offer-style) .sidebar.r27-sidebar .r27-nav-link:hover{color:#e2e8f0!important;background:#ffffff0d!important}
body:is(.board-style,.offer-style) .sidebar.r27-sidebar .r27-nav-link.active{color:var(--accent)!important;background:var(--tint)!important;font-weight:650}
body .header-right .r27-review-tools{position:relative;margin:0;padding:0;border:0;font-size:12px}
body .r27-review-tools>summary{cursor:pointer;padding:8px 10px;list-style:none;border:1px solid var(--line);border-radius:4px;color:var(--accent)}
body .r27-review-tools>summary:after{content:' ▾'}
body .r27-review-tools>div{position:absolute;right:0;top:100%;margin-top:8px;background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:8px;display:grid;gap:5px;min-width:200px;box-shadow:0 4px 18px #0002;z-index:50}
body .r27-review-tools>div>button,body .r27-review-tools>div>a{text-align:left;font-size:12px;padding:10px}
body:is(.board-style,.offer-style) .r27-review-tools>summary{border-color:#00f2ff4d;background:#00f2ff0d}
@media(max-width:700px){body .sidebar.r27-sidebar{display:none;top:64px;width:250px}body .sidebar.r27-sidebar.open{display:flex}body .sidebar.r27-sidebar .board-sidebar-brand{display:none}body .header-right .r27-review-tools>summary{font-size:9px;padding:7px 5px}body .header-right{gap:5px}body .r27-sidebar-scroll{padding-top:0}}
@media(max-width:700px){body .header-right .r27-review-tools>summary{font-size:0;padding:5px 9px}body .header-right .r27-review-tools>summary:after{content:'⋯';font-size:18px;line-height:1}}

/* R28: values measured from the existing URL Choice & Reason card, 2026-10-13. */
body.board-style .board-card{font:16px/1.5 ui-monospace,Consolas,monospace}
body.board-style .board-card :is(button,code,pre){font-family:ui-monospace,Consolas,monospace!important}
body.board-style .board-card-head{padding:20px}
body.board-style .board-card-head h2{font-size:22px;line-height:1.4;margin:0 0 5px}
body.board-style .board-card-head p{font-size:14px;line-height:1.5}
body.board-style .board-identity{gap:9px;margin:0 0 10px}
body.board-style .board-identity code{font-size:11px;line-height:normal;padding:1.6px 4.8px}
body.board-style .board-identity .tag{font-size:9px;line-height:1.5;padding:3px 9px}
body.board-style .board-card-head>.tag{font-size:10px;line-height:1.5;padding:3px 9px}
body.board-style .board-metrics>div{padding:22px 15px;min-height:0!important}
body.board-style .board-metrics span{display:flex;align-items:flex-start;justify-content:center;gap:4px;font-size:9px;line-height:1.5;min-height:27px}
body.board-style .board-metrics strong{font-size:13px;line-height:normal;margin-top:12px}
body.board-style .board-metrics>div>p{font-size:10px;line-height:1.5;margin:8px 0 0}
body.board-style .board-card-body{padding:24px}
body.board-style .board-definition{padding:20px}
body.board-style .board-definition>h3{font-size:14px;line-height:normal;margin:0 0 20px;padding-bottom:12px}
body.board-style .board-definition-grid{gap:24px}
body.board-style .board-definition h4{font-size:10px;line-height:1.5;margin:0 0 10px}
body.board-style .board-label{font-size:10px;line-height:1.5;margin:0 0 6px}
body.board-style .board-definition code{font-size:11px;line-height:1.5;padding:6px}
body.board-style .r25-immutable-label{margin-top:20px}
body.board-style .r25-skill-link{display:block;font-size:12px;line-height:1.5;margin:12px 0}
body.board-style .board-definition details{font-size:12px;line-height:1.5;padding:12px;margin:12px 0 0}
body.board-style .board-definition details summary{font-size:12px;line-height:1.5}
body.board-style .board-reward{padding:16px}
body.board-style .board-reward>small{font-size:9px;line-height:1.5}
body.board-style .board-reward>strong{font-size:22px;line-height:1.5;margin:5px 0 16px}
body.board-style .board-reward>div{font-size:11px;line-height:1.5;padding:8px 0}
body.board-style .board-reward>p{font-size:11px;line-height:1.5;margin:14px 0 0}
body.board-style .board-card-actions{padding:20px}
body.board-style .board-card-actions button{font-size:12px;line-height:1.5;padding:8px 16px;min-height:0}
body.board-style .r14-board-participation{padding:0 24px 20px;font-size:11px;line-height:1.5}
@media(max-width:700px){body.board-style .board-card-body{padding:16px}body.board-style .board-definition{padding:16px}body.board-style .board-card-head{padding:16px}body.board-style .board-card-actions{padding:16px}body.board-style .r14-board-participation{padding:0 16px 16px}}

.r30-context-summary{border:1px solid var(--line);border-radius:7px;padding:18px;margin:20px 0;background:var(--soft)}
.r30-context-summary h3{margin:0 0 12px;font-size:18px}
.r30-context-summary table{font-size:12px;table-layout:fixed;width:100%}
.r30-context-summary td{overflow-wrap:anywhere}
.r30-context-summary .note{margin-top:14px}
.r30-context-result>label,.r30-profile-field label{display:block;margin:16px 0}
.r30-profile-field{border:1px solid var(--line);border-radius:8px;padding:18px;margin:18px 0;min-width:0}
.r30-profile-field legend{font-weight:700;padding:0 8px}
.r30-profile-field textarea{min-height:72px;width:100%}
.r30-profile-error{color:var(--error)}
.r30-examples,.r30-profile-order{margin-top:18px}
body.board-style .r30-context-summary{font-size:12px;line-height:1.5}
@media(max-width:700px){.r30-context-summary{padding:12px}.r30-context-summary h3{font-size:16px}.r30-context-summary .table-wrap{overflow-x:auto}.r30-profile-field{padding:12px}.r30-examples .actions{flex-direction:column}}

/* All native dialogs share one close control, above their sticky content nav. */
#dialog > .close{
 position:sticky;top:0;right:auto;z-index:20;display:block;
 margin:-20px -20px -24px auto;width:44px;height:44px;min-height:44px;
 padding:0;border:1px solid var(--line);background:var(--panel);line-height:1;
}
#dialog .r16-result-nav{padding-right:56px}
.r31-answer-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0}
.r31-answer-filters>span{font-size:12px;color:var(--muted);margin-right:4px}
.r31-answer-filters button{font-size:12px;padding:8px 12px}
.r31-answer-filters button[aria-pressed="true"]{background:var(--tint);border-color:var(--accent);color:var(--accent);font-weight:650}
.r31-answer-result-count{margin-bottom:12px}
@media(max-width:700px){
 #dialog > .close{margin-top:-8px;margin-right:-6px}
 .r31-answer-filters>span{flex-basis:100%}
 .r31-answer-filters button{font-size:11px;padding:8px 10px}
}

/* Scoped live adapters retain R31 component geometry. */
#aps-status{white-space:pre-wrap}.aps-live [data-raw]{white-space:pre-wrap;overflow-wrap:anywhere}.aps-live .aps-error{color:var(--error)}.aps-live .aps-selection{display:block;padding:12px;margin:10px 0;border:1px solid var(--line);border-radius:6px}.aps-live .aps-selection input{width:auto}.aps-live .aps-help{border:0;padding:0 4px;min-height:24px;background:transparent;font-size:12px}.aps-live .aps-original{white-space:pre-wrap;overflow-wrap:anywhere}.aps-live .r31-answer-result-count{min-height:1em}.aps-live .schema-input{font-family:Consolas,monospace}.aps-live .aps-guide{margin-top:24px}.aps-live .aps-study-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}

.aps-live #main>.tabs button[aria-pressed=true]{color:var(--accent);border-bottom-color:var(--accent)}


/* W1: adopted R3 warning presentation, without mock controls. */
.aps-preview-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start;margin:24px 0}
.aps-preview-context>.panel{margin:0}
.aps-original-context .stat{align-items:flex-start;gap:20px}
.aps-original-context .stat>b{white-space:pre-wrap;overflow-wrap:anywhere;max-width:65%;font-weight:500;text-align:left}
.aps-input-warnings{border:1px solid #d9cdb4;background:#fffdf7;border-radius:10px;padding:24px;min-width:0}
.aps-input-warnings h3{margin-top:0;font-size:18px}
.aps-input-check{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-top:1px solid #e7ddc8}
.aps-input-check p{margin:0;line-height:1.7;overflow-wrap:anywhere}
.aps-check-icon{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-weight:700;color:#926200;margin-top:3px}
.aps-input-check.failed .aps-check-icon{color:#687575}
.aps-input-check.pending .aps-check-icon{color:#217568}
.aps-input-check-action{margin:15px 0 0;color:#526b63}

.aps-input-warnings[hidden]{display:none}
@media(max-width:800px){.aps-preview-context{grid-template-columns:1fr}}
