/* 輸出利益チェッカー（/export/）の画面。色は解説ページと同じ変数を使う */
.ex-intro{margin:0 0 18px;color:var(--ink-2)}
.ex-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;box-shadow:var(--shadow-card);margin:0 0 18px}
.ex-card>h2:first-child,.ex-card>h3:first-child{margin-top:0}
.ex-card h2{font-size:1.08rem;margin:0 0 .8em;padding-bottom:8px;border-bottom:1px solid var(--line)}
.ex-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.ex-grid .full{grid-column:1/-1}
.ex-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.ex-field label{font-size:.88rem;font-weight:600;color:var(--ink-2)}
.ex-field .hint{font-size:.78rem;color:var(--muted);line-height:1.6}
.ex-field input,.ex-field select{font:inherit;font-size:16px;min-height:46px;padding:9px 12px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);width:100%}
.ex-field input:focus,.ex-field select:focus{outline:2px solid var(--accent);outline-offset:1px}
.ex-unit{display:flex;align-items:center;gap:8px}
.ex-unit span{color:var(--muted);font-size:.88rem;white-space:nowrap}
.ex-check{display:flex;align-items:flex-start;gap:8px;font-size:.92rem;min-height:44px}
.ex-check input{width:20px;height:20px;margin-top:3px;flex:none}
details.ex-more{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
details.ex-more summary{cursor:pointer;font-weight:600;color:var(--accent);min-height:44px;display:flex;align-items:center}
.ex-err{color:#b42318;font-size:.9rem;margin:10px 0 0}
.ex-verdict{display:block;font-weight:700;border-radius:var(--radius-sm);padding:10px 14px;margin:0 0 14px}
.ex-verdict.go{background:#dcfce7;color:#14532d}
.ex-verdict.thin{background:#fef9c3;color:#713f12}
.ex-verdict.loss{background:#fee2e2;color:#7f1d1d}
.ex-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}
.ex-kpi{background:var(--paper-subtle);border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 12px}
.ex-kpi b{display:block;font-size:1.3rem;line-height:1.3}
.ex-kpi span{font-size:.78rem;color:var(--muted)}
table.ex-t{width:100%;border-collapse:collapse;font-size:.92rem;margin:0 0 12px}
table.ex-t th,table.ex-t td{border-bottom:1px solid var(--line);padding:8px 6px;text-align:right;vertical-align:top}
table.ex-t th{text-align:left;font-weight:500;color:var(--ink-2)}
table.ex-t thead th{font-size:.78rem;color:var(--muted);font-weight:600}
table.ex-t tr.strong th,table.ex-t tr.strong td{font-weight:700;color:var(--ink)}
table.ex-t tr.best th,table.ex-t tr.best td{background:var(--accent-soft)}
table.ex-t tr.loss td{color:#b42318}
.ex-wrap{overflow-x:auto}
.ex-notes{font-size:.85rem;color:var(--ink-2);padding-left:1.2em;margin:8px 0}
.ex-notes li{margin-bottom:4px}
.ex-src{font-size:.8rem;color:var(--muted)}
.ex-src ul{padding-left:1.2em;margin:4px 0}
.ex-lock{border:1px dashed var(--accent);background:var(--accent-soft);border-radius:var(--radius-sm);padding:14px 16px}
.ex-lock ul{margin:6px 0 10px;padding-left:1.2em}
.bk-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0}
.bk-btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:700;min-height:48px;padding:10px 18px;border-radius:10px;border:1px solid var(--line-strong);background:var(--paper);color:var(--ink);cursor:pointer;text-decoration:none}
.bk-btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .bk-btn.primary{color:#0b1017}:root:not([data-theme="light"]) .ex-verdict.go{background:#112e21;color:#86efac}:root:not([data-theme="light"]) .ex-verdict.thin{background:#2e2410;color:#fde047}:root:not([data-theme="light"]) .ex-verdict.loss{background:#351619;color:#fca5a5}:root:not([data-theme="light"]) .ex-err,:root:not([data-theme="light"]) table.ex-t tr.loss td{color:#f87171}}
.bk-msg{font-size:.9rem;margin:10px 0 0;color:var(--ink-2)}
.bk-msg.err{color:#b42318}
.ex-file{font:inherit;min-height:48px}
.adslot{margin:24px 0 0}
.adslot .adlabel{display:block;font-size:.75rem;color:var(--muted);letter-spacing:.08em;margin-bottom:4px}
.adslot .adbox{min-height:100px;border-radius:8px}
.adslot.preview .adbox{border:1px dashed var(--line);background:var(--soft);display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:.85rem}
@media (max-width:540px){
.ex-card{padding:16px 14px}
.ex-grid{grid-template-columns:minmax(0,1fr)}
.ex-kpis{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ex-kpis .ex-kpi:last-child{grid-column:1/-1}
table.ex-t{font-size:.86rem}
}
@media print{.appbar,.sidenav,footer,.no-print,.adslot{display:none!important}.shell{display:block}}
.nav-paid{display:inline-block;margin-left:8px;font-size:.68rem;font-weight:700;padding:1px 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent);vertical-align:middle}
.ex-card,.ex-field input,.ex-field select,.ex-file{min-width:0;max-width:100%}
.ex-file{width:100%}
table.ex-t th{overflow-wrap:anywhere}
table.ex-t td{overflow-wrap:break-word}
.ex-wrap table.ex-t td{white-space:nowrap}
.ex-wrap table.ex-t tbody th{min-width:8.5em}
