/* Dokkaebi auto-hunt workstation. Standalone layout; no shared article/hero cards. */
:root{color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:98px}
body.dkh-body{margin:0;background:#eae8e2;color:#292f2c;font-family:system-ui,-apple-system,"Segoe UI","Malgun Gothic",sans-serif;line-height:1.55;overflow-x:hidden}
.dkh-body button,.dkh-body input{font:inherit}
.dkh-body button{cursor:pointer}
.dkh-body a{color:inherit}
.dkh-body [hidden]{display:none!important}
.dkh-body :is(a,button,input,summary):focus-visible{outline:3px solid #718477;outline-offset:3px}
.dkh-skip{position:absolute;left:10px;top:-70px;z-index:200;background:#fff;padding:12px 18px;border-radius:8px}
.dkh-skip:focus{top:10px}
.dkh-container{width:min(1260px,calc(100% - 56px));margin:0 auto;padding:23px 0 62px}
.dkh-breadcrumb{display:flex;gap:11px;align-items:center;font-size:12px;color:#696f69;margin:0 0 24px}
.dkh-breadcrumb a{text-decoration:none}
.dkh-breadcrumb a:hover{text-decoration:underline}
.dkh-header{margin:0 0 22px;padding:0;max-width:900px}
.dkh-overline{display:inline-block;font-size:11px;letter-spacing:.08em;font-weight:800;color:#836c55}
.dkh-header h1{margin:5px 0 10px;font-size:clamp(27px,3vw,39px);letter-spacing:-.062em;line-height:1.23;font-weight:840;color:#262c28}
.dkh-header p{margin:0;color:#545e56;font-size:14px;line-height:1.7}
.dkh-jump{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#292f2c;border-radius:10px;overflow:hidden;margin-bottom:12px}
.dkh-jump a{padding:16px 14px;min-height:54px;color:#f4f1ea;text-align:center;text-decoration:none;font-weight:740;font-size:14px;border-right:1px solid #515953}
.dkh-jump a:last-child{border-right:0}
.dkh-jump a:hover,.dkh-jump a:focus-visible{background:#495a4f;color:#fff}
.dkh-mode-strip{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:0;padding:11px 4px 12px;border-bottom:1px solid #c9c6bf;color:#656e66;font-size:12px}
.dkh-mode-strip span{padding:3px 14px;border-right:1px solid #c9c6bf}
.dkh-mode-strip span:first-child{padding-left:2px}
.dkh-mode-strip span:last-child{border-right:0}
.dkh-mode-strip strong{color:#313b34;margin-right:8px}
.dkh-section{padding:40px 0 43px;border-bottom:1px solid #cbc8c0;scroll-margin-top:90px}
.dkh-heading{display:flex;flex-direction:column;gap:4px;margin:0 0 21px}
.dkh-heading h2{margin:0;font-size:clamp(23px,2.2vw,29px);line-height:1.3;font-weight:840;letter-spacing:-.045em}
.dkh-heading p{margin:3px 0 0;color:#656c66;font-size:13px;line-height:1.75;max-width:880px}
.dkh-diagnose-layout{display:grid;grid-template-columns:minmax(250px,.34fr) minmax(0,.66fr);border:1px solid #c7c8c0;border-radius:12px;overflow:hidden;background:#f8f7f3;min-height:480px;box-shadow:0 8px 30px #2c2b2409}
.dkh-symptoms{display:flex;flex-direction:column;background:#e0e1d9;border-right:1px solid #c7c8c0;padding:9px;gap:5px}
.dkh-symptom{display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;gap:8px;width:100%;border:1px solid transparent;border-radius:7px;background:transparent;color:#354039;padding:16px 14px;line-height:1.45}
.dkh-symptom strong{font-size:14px;letter-spacing:-.018em}
.dkh-symptom span{font-size:11px;color:#6a736b}
.dkh-symptom.is-active{background:#fafbf8;border-color:#b3c0b2;box-shadow:inset 4px 0 #687f6b}
.dkh-symptom:hover:not(.is-active){background:#f2f2ec}
.dkh-answers{min-width:0;padding:26px 34px 24px}
.dkh-diagnosis h3{margin:5px 0 9px;font-size:24px;letter-spacing:-.044em}
.dkh-diagnosis-lead{margin:0 0 19px;color:#4d6252;font-size:14px;font-weight:640}
.dkh-diagnosis-steps{counter-reset:none;list-style:none;margin:0;padding:0}
.dkh-diagnosis-steps li{display:grid;grid-template-columns:minmax(120px,.36fr) minmax(0,.64fr);gap:18px;border-top:1px solid #ddded7;padding:12px 0;font-size:13px;line-height:1.8}
.dkh-diagnosis-steps strong{color:#354238}
.dkh-diagnosis-steps span{color:#606960;overflow-wrap:anywhere}
.dkh-diagnosis-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:17px}
.dkh-diagnosis-actions a,.dkh-text-link{color:#3f684d;font-size:13px;font-weight:780;text-decoration:underline;text-decoration-color:#a7baa7;text-underline-offset:4px}
.dkh-settings-toolbar{display:grid;grid-template-columns:auto minmax(160px,1fr) auto;align-items:center;gap:12px;padding:12px 17px;background:#f7f6f2;border:1px solid #c9cbc2;border-radius:10px 10px 0 0}
.dkh-settings-toolbar label{font-size:12px;font-weight:780;white-space:nowrap}
.dkh-settings-toolbar input{height:42px;min-width:0;width:100%;border:1px solid #bbbfb5;border-radius:6px;background:#fff;color:#2b302c;padding:0 12px;font-size:14px}
.dkh-settings-toolbar span{color:#687368;font-size:12px;white-space:nowrap}
.dkh-setting-list{background:#f7f6f2;border:1px solid #c9cbc2;border-top:0;border-radius:0 0 10px 10px;overflow:hidden}
.dkh-setting{border-bottom:1px solid #e1dfd8}
.dkh-setting:last-child{border-bottom:0}
.dkh-setting summary{list-style:none;display:grid;grid-template-columns:46px 1fr auto;gap:9px;align-items:center;padding:14px 20px;cursor:pointer}
.dkh-setting summary::-webkit-details-marker{display:none}
.dkh-setting summary:hover,.dkh-setting[open] summary{background:#efeee8}
.dkh-setting-index{font-variant-numeric:tabular-nums;color:#a4a199;font-size:13px}
.dkh-setting summary strong{font-size:14px}
.dkh-setting-open{font-size:11px;color:#607163}
.dkh-setting-open:after{content:"  ▾"}
.dkh-setting[open] .dkh-setting-open:after{content:"  ▴"}
.dkh-setting-detail{padding:2px 21px 20px 75px;font-size:13px;line-height:1.8;color:#535e56;background:#efeee8}
.dkh-before-start,.dkh-method{margin-top:13px;padding:15px 20px;border-radius:8px;background:#dedfd8}
.dkh-before-start summary,.dkh-method summary{cursor:pointer;font-size:13px;font-weight:800}
.dkh-before-start ol{padding:8px 0 0 23px;color:#4e5851;font-size:13px;line-height:1.8}
.dkh-before-start li+li{margin-top:8px}
.dkh-search-empty{font-size:13px;color:#765c44;margin:12px 2px}
.dkh-offline-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:21px}
.dkh-offline-steps,.dkh-known-issues{min-width:0;border:1px solid #ccc9c1;border-radius:10px;padding:22px 25px;background:#f8f7f3}
.dkh-offline-steps ol,.dkh-known-issues ul{margin:0;padding:0;list-style:none}
.dkh-offline-steps li{display:grid;grid-template-columns:34px 1fr;gap:13px;padding:0 0 21px}
.dkh-offline-steps li:last-child{padding-bottom:0}
.dkh-step-index{font-weight:800;font-size:12px;color:#8c775b;padding-top:3px}
.dkh-offline-steps strong{font-size:14px}
.dkh-offline-steps p{margin:6px 0 0;font-size:13px;color:#687068;line-height:1.8}
.dkh-offline-steps>a{display:inline-block;margin:16px 0 0 46px}
.dkh-known-issues{background:#e2e1da}
.dkh-known-issues h3{margin:0;font-size:17px;letter-spacing:-.04em}
.dkh-known-issues>p{font-size:12px;color:#6e7169;margin:5px 0 12px}
.dkh-known-issues li{border-top:1px solid #c8c6bd;padding:11px 0;display:grid;gap:4px}
.dkh-known-issues li strong{font-size:13px;color:#3c453d}
.dkh-known-issues li span{font-size:12px;line-height:1.7;color:#626a62}
.dkh-calculator-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dkh-calculator{display:flex;flex-direction:column;gap:0;border:1px solid #c4c8bf;border-radius:10px;padding:22px;background:#fafaf7;min-width:0}
.dkh-calculator h3{font-size:18px;margin:0;letter-spacing:-.04em}
.dkh-calc-intro{font-size:12px;color:#687169;margin:4px 0 15px}
.dkh-calc-fields{display:grid;grid-template-columns:1fr;gap:10px}
.dkh-calc-fields label{display:grid;gap:5px}
.dkh-calc-fields label span{color:#4b544d;font-size:12px;font-weight:650}
.dkh-calc-fields input{width:100%;min-height:43px;padding:9px 11px;color:#303a34;border-radius:6px;border:1px solid #bec5bb;background:#fff;font-size:15px;font-variant-numeric:tabular-nums}
.dkh-calc-result{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px;margin-top:20px;padding:16px 17px;border:1px solid #c4cfc1;border-radius:7px;background:#e9eee6}
.dkh-calc-result>span{display:block;width:100%;font-size:12px;color:#536958}
.dkh-calc-result strong{font-size:29px;line-height:1.3;color:#304d39;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.dkh-calc-result small{font-size:12px;color:#617364}
.dkh-calc-note{margin:12px 0 0;font-size:11px;line-height:1.75;color:#6f756d}
.dkh-method dl{margin:10px 0 0;display:grid;gap:11px}
.dkh-method dl>div{padding-top:9px;border-top:1px solid #c7c9c1;font-size:12px}
.dkh-method dt{font-weight:780;margin-bottom:2px}
.dkh-method dd{margin:0;color:#687168;line-height:1.7}
.dkh-end-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:34px}
.dkh-end-grid>section{min-width:0}
.dkh-end-grid h2{font-size:18px;margin:0 0 9px;letter-spacing:-.03em}
.dkh-end-grid ul{margin:0;padding:0;list-style:none}
.dkh-end-grid li{border-bottom:1px solid #cbc9c1;padding:9px 0}
.dkh-related li a{display:flex;flex-direction:column;gap:2px;font-size:13px;text-decoration:none;font-weight:770}
.dkh-related li a span{font-size:11px;color:#70786e;font-weight:450}
.dkh-sources li a{font-size:12px;font-weight:660;text-decoration:none;color:#516e58}
.dkh-end-grid li a:hover{text-decoration:underline}
.dkh-sources>p{color:#74786e;font-size:11px;line-height:1.7}
.dkh-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#272d29;color:#eeece4;padding:25px max(calc((100% - 1260px)/2),28px);font-size:12px}
.dkh-footer a{color:#eeece4}
@media(max-width:960px){
 .dkh-container{width:min(100% - 36px,780px)}
 .dkh-diagnose-layout{grid-template-columns:minmax(205px,.37fr) minmax(0,.63fr)}
 .dkh-symptom{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
 .dkh-answers{padding:23px}
 .dkh-diagnosis-steps li{grid-template-columns:1fr;gap:3px}
 .dkh-offline-layout{grid-template-columns:1fr}
}
@media(max-width:650px){
 html{scroll-padding-top:77px}
 .dkh-container{width:calc(100% - 28px);padding:15px 0 43px}
 .dkh-breadcrumb{margin-bottom:16px}
 .dkh-header h1{font-size:28px}
 .dkh-header p{font-size:13px}
 .dkh-jump{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dkh-jump a{min-height:48px;padding:12px 7px;font-size:13px}
 .dkh-jump a:nth-child(2){border-right:0}
 .dkh-jump a:nth-child(-n+2){border-bottom:1px solid #515953}
 .dkh-mode-strip{grid-template-columns:1fr;gap:8px;padding:10px 0}
 .dkh-mode-strip span,.dkh-mode-strip span:first-child{border:0;padding:0 2px}
 .dkh-section{padding:30px 0 33px}
 .dkh-heading h2{font-size:23px}
 .dkh-diagnose-layout{display:block;min-height:0}
 .dkh-symptoms{border-right:0;border-bottom:1px solid #c7c8c0;display:flex;flex-direction:row;gap:6px;overflow-x:auto;padding:9px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
 .dkh-symptom{min-width:148px;flex:0 0 148px;scroll-snap-align:start;padding:10px;min-height:74px}
 .dkh-symptom strong{font-size:12px}
 .dkh-symptom span{font-size:10px}
 .dkh-answers{padding:17px 17px 21px}
 .dkh-diagnosis h3{font-size:21px}
 .dkh-diagnosis-lead{font-size:13px}
 .dkh-settings-toolbar{grid-template-columns:1fr auto;gap:7px;padding:12px}
 .dkh-settings-toolbar label{grid-column:1/-1}
 .dkh-settings-toolbar input{grid-column:1/2}
 .dkh-settings-toolbar span{grid-column:2/3}
 .dkh-setting summary{grid-template-columns:28px 1fr auto;padding:14px 11px;gap:7px}
 .dkh-setting summary strong{font-size:13px}
 .dkh-setting-open{font-size:10px}
 .dkh-setting-detail{padding:3px 13px 16px 47px}
 .dkh-offline-steps,.dkh-known-issues{padding:18px 16px}
 .dkh-calculator-layout,.dkh-end-grid{grid-template-columns:1fr}
 .dkh-footer{padding:23px 15px;gap:15px}
}
@media(max-width:365px){
 .dkh-container{width:calc(100% - 22px)}
 .dkh-symptom{min-width:138px;flex-basis:138px}
 .dkh-setting-open{font-size:0}
 .dkh-setting-open:after{font-size:14px}
 .dkh-calc-result strong{font-size:26px}
 .dkh-footer{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* Dedicated stage-3 offline guidance and explicit-input measurement, not the generic article layout. */
.dkh-offline-policy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
.dkh-offline-policy>div{display:flex;flex-direction:column;gap:3px;padding:17px 20px;background:#dee3db;border:1px solid #c0cdc0;border-radius:9px}
.dkh-offline-policy span{font-size:11px;font-weight:780;color:#59685c}
.dkh-offline-policy strong{font-size:21px;line-height:1.35;letter-spacing:-.04em;color:#35493b;font-variant-numeric:tabular-nums}
.dkh-offline-policy small{font-size:11px;color:#68776b}
.dkh-offline-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#d9dbd3;border:1px solid #bfc2b8;border-radius:10px 10px 0 0;overflow:hidden}
.dkh-offline-tab{appearance:none;border:0;border-right:1px solid #bfc2b8;border-bottom:3px solid transparent;background:transparent;display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:15px 21px;color:#59655d}
.dkh-offline-tab:last-child{border-right:0}
.dkh-offline-tab strong{font-size:14px}
.dkh-offline-tab small{font-size:11px}
.dkh-offline-tab:hover{background:#f2f2eb}
.dkh-offline-tab.is-active{background:#f9f9f4;border-bottom-color:#687f6b;color:#263e2e}
.dkh-offline-panel-box{background:#faf9f6;border:1px solid #c4c8bf;border-top:0;border-radius:0 0 10px 10px;padding:22px 26px}
.dkh-offline-panel h3{margin:0 0 5px;font-size:21px;letter-spacing:-.04em}
.dkh-offline-panel>p{color:#647065;font-size:12px;line-height:1.8;margin:0 0 16px}
.dkh-offline-checklist{display:grid;gap:8px;list-style:none;margin:0;padding:0}
.dkh-offline-checklist li{margin:0}
.dkh-offline-checklist label{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid #d4d7cd;border-radius:7px;background:#fff;cursor:pointer;font-size:13px;line-height:1.7;color:#3f4d42}
.dkh-offline-checklist label:has(input:checked){background:#ebf1e9;border-color:#b4c9b1}
.dkh-offline-checklist input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:#4c6d54}
.dkh-offline-progress{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 2px 0;font-size:12px;font-weight:720;color:#4a6250}
.dkh-offline-progress button{border:1px solid #ccd2ca;background:#f5f5f1;border-radius:5px;padding:7px 10px;color:#435b4a;font-size:12px;font-weight:680}
.dkh-offline-entry{margin:0;padding:0;list-style:none}
.dkh-offline-entry li{display:grid;grid-template-columns:32px 1fr;gap:12px;padding:14px 0;border-top:1px solid #dcded6}
.dkh-offline-entry li:first-child{border-top:0}
.dkh-offline-entry li>span{font-size:12px;font-weight:780;color:#90765e}
.dkh-offline-entry strong{font-size:14px}
.dkh-offline-entry p{font-size:12px;line-height:1.75;color:#627167;margin:3px 0 0}
.dkh-offline-note{margin:14px 0 0!important;padding:12px 14px;background:#ecefe9;border-left:3px solid #96a798;color:#475b4b!important}
.dkh-offline-support{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:11px 0 21px;font-size:11px;color:#667368}
.dkh-offline-support a{color:#486a53;font-weight:730}
.dkh-known-issues{padding:22px 24px}
.dkh-issue-heading{display:flex;gap:10px;align-items:center;justify-content:space-between}
.dkh-issue-status{flex:none;font-size:10px;font-weight:700;padding:3px 8px;border:1px solid #c8c7bb;color:#6d655c;border-radius:5px;background:#ede9e0}
.dkh-issue-status.is-resolved{border-color:#b6c7b7;background:#e3eae2;color:#42604c}
.dkh-issue-links{display:flex;flex-wrap:wrap;gap:15px;margin-top:13px}
.dkh-issue-links a{font-size:12px;font-weight:720;color:#48654f}
.dkh-calc-submit{margin:14px 0 0;min-height:45px;width:100%;border:0;border-radius:6px;background:#354d3b;color:#fff;font-size:14px;font-weight:800}
.dkh-calc-submit:hover{background:#466653}
.dkh-calc-status{margin:7px 0 0;font-size:11px;color:#657468;line-height:1.65;min-height:18px}
.dkh-calc-status.is-error{color:#a34834}
.dkh-calculator[data-calculator-explicit] .dkh-calc-result{margin-top:10px}
@media(max-width:650px){
 .dkh-offline-policy{grid-template-columns:1fr 1fr;gap:7px}
 .dkh-offline-policy>div{padding:13px 11px}
 .dkh-offline-policy strong{font-size:17px}
 .dkh-offline-policy small{font-size:10px}
 .dkh-offline-tab{padding:11px 8px}
 .dkh-offline-tab strong{font-size:12px}
 .dkh-offline-tab small{font-size:10px}
 .dkh-offline-panel-box{padding:17px 12px}
 .dkh-offline-panel h3{font-size:19px}
 .dkh-offline-checklist label{padding:12px 10px}
 .dkh-known-issues{padding:18px 13px}
 .dkh-issue-heading{align-items:flex-start;gap:8px}
 .dkh-issue-heading strong{min-width:0}
}
@media(max-width:365px){
 .dkh-offline-policy{grid-template-columns:1fr}
 .dkh-offline-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dkh-offline-tab small{font-size:9px}
}


/* Stage 4: actual measured hunt A/B comparison, separate from the article template. */
.dkh-ab-workbench{border:1px solid #c8cdc4;border-radius:12px;background:#f8f8f4;overflow:hidden;margin:5px 0 20px;box-shadow:0 9px 28px #262b2410}
.dkh-ab-head{display:flex;justify-content:space-between;gap:22px;align-items:start;padding:25px 26px 19px;border-bottom:1px solid #dddcd4;background:#f0f0e9}
.dkh-ab-head h3{font-size:23px;margin:3px 0 7px;line-height:1.32;letter-spacing:-.048em}
.dkh-ab-head p{font-size:13px;line-height:1.72;color:#596459;margin:0;max-width:740px}
.dkh-ab-privacy{white-space:nowrap;border:1px solid #bdcec0;border-radius:30px;padding:7px 11px;font-size:11px;color:#46624e;background:#e4ede3;font-weight:700}
.dkh-ab-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:21px 26px 10px}
.dkh-ab-options label,.dkh-ab-name{display:grid;gap:7px;font-size:12px;font-weight:750;color:#3e4e42}
.dkh-ab-options select,.dkh-ab-name input{width:100%;height:43px;padding:0 12px;border:1px solid #bfc7bd;border-radius:7px;background:#fff;color:#29352c;font-size:13px;font-weight:550}
.dkh-ab-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px 26px 6px}
.dkh-ab-side{min-width:0;border:1px solid #c9cec5;border-radius:9px;margin:0;padding:14px 16px 16px;background:#fff}
.dkh-ab-side legend{padding:0 7px;font-size:14px;font-weight:800;letter-spacing:-.025em}
.dkh-ab-label{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;margin-right:8px;background:#405847;border-radius:5px;color:#fff;font-size:12px}
.dkh-ab-side[data-dkh-sample="B"] .dkh-ab-label{background:#7f705d}
.dkh-ab-name span{font-size:12px}
.dkh-ab-name input{height:39px}
.dkh-ab-timing{display:grid;grid-template-columns:auto auto 1fr;gap:10px;align-items:center;margin:15px 0 16px;padding:11px;background:#e9ede7;border-radius:7px}
.dkh-ab-timing button{border:1px solid #627668;border-radius:5px;background:#fff;color:#365441;padding:8px 11px;font-size:12px;font-weight:760;white-space:nowrap}
.dkh-ab-timing button[aria-pressed="true"]{background:#3b5944;color:#fff}
.dkh-ab-timing output{font-size:19px;font-weight:820;letter-spacing:.02em;color:#334d38;font-variant-numeric:tabular-nums}
.dkh-ab-timing small{font-size:10px;color:#5c7161;line-height:1.5}
.dkh-ab-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px}
.dkh-ab-field{display:grid;gap:5px;align-content:start;min-width:0}
.dkh-ab-field>span{font-size:12px;font-weight:740;color:#354638}
.dkh-ab-field>span small{font-size:10px;font-weight:550;color:#7c8378}
.dkh-ab-field input{width:100%;height:41px;border:1px solid #b9c5b9;border-radius:6px;padding:7px 10px;font-size:15px;background:#fff;color:#243628;font-variant-numeric:tabular-nums}
.dkh-ab-field em{font-size:10px;font-style:normal;color:#768076;line-height:1.47}
.dkh-ab-buttons{display:flex;gap:10px;padding:16px 26px 5px;align-items:center}
.dkh-ab-buttons button{min-height:46px;padding:12px 21px;border:1px solid #b8c3b8;border-radius:7px;font-size:13px;font-weight:780;background:#f9faf6;color:#455649}
.dkh-ab-buttons .dkh-ab-compare-button{background:#334e3a;border-color:#334e3a;color:#fff;flex:1}
.dkh-ab-compare-button:hover{background:#425f48}
.dkh-ab-status{min-height:25px;margin:7px 26px 22px;font-size:12px;line-height:1.7;color:#627669}
.dkh-ab-status[data-state="error"]{color:#aa4437}
.dkh-ab-status[data-state="success"]{color:#345c3b}
.dkh-ab-results{margin:0 26px 23px;border:1px solid #c7d0c5;border-radius:8px;background:#f0f4ed;overflow:hidden;scroll-margin-top:100px}
.dkh-ab-result-head{display:flex;gap:15px;justify-content:space-between;align-items:start;padding:20px 20px 18px}
.dkh-ab-result-head h4{font-size:21px;letter-spacing:-.04em;margin:5px 0 7px;color:#2e4b36}
.dkh-ab-result-head p{font-size:12px;line-height:1.7;color:#526858;margin:0}
.dkh-ab-result-head button{border:1px solid #98b19b;border-radius:6px;background:#fff;padding:9px 11px;color:#3b6043;font-size:11px;font-weight:780;white-space:nowrap}
.dkh-ab-table-scroll{max-width:100%;overflow-x:auto}
.dkh-ab-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed;font-variant-numeric:tabular-nums}
.dkh-ab-table th,.dkh-ab-table td{padding:12px 15px;border-top:1px solid #dce3da;text-align:right;overflow-wrap:anywhere}
.dkh-ab-table th:first-child{text-align:left;width:38%}
.dkh-ab-table thead{background:#e3ebe1}
.dkh-ab-table thead th{font-weight:800;color:#445a49}
.dkh-ab-table tbody th{font-weight:720;color:#44564a}
.dkh-ab-table tbody td{font-weight:720;color:#334338}
.dkh-ab-caution{border-top:1px solid #d7dfd3;padding:17px 21px;background:#e8eee6;font-size:11px;color:#5d7161}
.dkh-ab-caution strong{font-size:12px}
.dkh-ab-caution ul{margin:7px 0 0;padding-left:17px;line-height:1.85}
.dkh-ab-guidelines{display:grid;gap:6px;padding:14px 25px 20px;border-top:1px solid #dfded6}
.dkh-ab-guidelines p{font-size:11px;color:#677067;line-height:1.75;margin:0}
.dkh-ab-guidelines a{color:#3e6a46;font-weight:750}
.dkh-legacy-calculators{margin-top:15px;border:1px solid #c7c9c1;border-radius:8px;background:#e3e4dc}
.dkh-legacy-calculators>summary{cursor:pointer;padding:14px 19px;font-size:13px;font-weight:800;list-style-position:inside}
.dkh-legacy-calculators>.dkh-calculator-layout{padding:0 13px 14px}
@media(max-width:850px){
 .dkh-ab-timing{grid-template-columns:auto 1fr}
 .dkh-ab-timing small{grid-column:1/-1}
 .dkh-ab-grid{gap:9px;padding-inline:16px}
 .dkh-ab-options,.dkh-ab-head,.dkh-ab-buttons{padding-left:16px;padding-right:16px}
 .dkh-ab-status{margin-left:16px;margin-right:16px}
 .dkh-ab-results{margin-left:16px;margin-right:16px}
}
@media(max-width:650px){
 .dkh-ab-head{padding:18px 14px;display:block}
 .dkh-ab-head h3{font-size:20px}
 .dkh-ab-privacy{display:inline-block;margin-top:12px}
 .dkh-ab-options{grid-template-columns:1fr;gap:12px;padding:16px 12px 6px}
 .dkh-ab-grid{grid-template-columns:1fr;padding:12px;gap:14px}
 .dkh-ab-side{padding:12px}
 .dkh-ab-inputs{gap:11px}
 .dkh-ab-buttons{padding:12px;gap:7px}
 .dkh-ab-buttons button{padding:12px 10px}
 .dkh-ab-status{margin:3px 12px 15px}
 .dkh-ab-results{margin:0 12px 16px}
 .dkh-ab-result-head{padding:14px;gap:8px}
 .dkh-ab-result-head h4{font-size:18px}
 .dkh-ab-result-head button{padding:9px 7px}
 .dkh-ab-table th,.dkh-ab-table td{padding:10px 7px}
 .dkh-ab-table th:first-child{width:41%}
 .dkh-ab-guidelines{padding:13px 12px 17px}
 .dkh-legacy-calculators>.dkh-calculator-layout{grid-template-columns:1fr}
}
@media(max-width:365px){
 .dkh-ab-inputs{grid-template-columns:1fr}
 .dkh-ab-timing{grid-template-columns:1fr auto}
 .dkh-ab-timing small{grid-column:1/-1}
 .dkh-ab-table{font-size:11px}
 .dkh-ab-table th,.dkh-ab-table td{padding:10px 5px}
}


/* Stage 5: skill-composition builder linked to the canonical Dokkaebi skill page. */
.dkh-ab-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.dkh-build{border:1px solid #cbd4c7;border-radius:8px;background:#eef2eb;margin:15px 0;overflow:hidden}
.dkh-build>summary{cursor:pointer;list-style:none;padding:11px 13px;display:grid;grid-template-columns:1fr auto;gap:3px 10px;align-items:center}
.dkh-build>summary::-webkit-details-marker{display:none}
.dkh-build>summary::after{content:"▾";position:absolute;right:11px;top:14px;color:#53705b}
.dkh-build>summary{position:relative;padding-right:30px}
.dkh-build[open]>summary{border-bottom:1px solid #cdd7cc}
.dkh-build[open]>summary::after{content:"▴"}
.dkh-build-label{font-size:12px;color:#4a624f;font-weight:850}
.dkh-build>summary strong{grid-column:1/-1;font-size:12px;color:#576b5c;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.dkh-build>summary [data-dkh-build-count]{grid-column:2;grid-row:1;font-size:11px;color:#5e725f;font-weight:780;font-variant-numeric:tabular-nums}
.dkh-build-inside{padding:14px;background:#f8faf6}
.dkh-build-inside>p{margin:0 0 11px;font-size:11px;color:#566a5d;line-height:1.75}
.dkh-build-inside select,.dkh-build-inside input{width:100%;height:39px;border:1px solid #becabb;border-radius:6px;background:#fff;color:#2e4133;padding:7px 10px;font-size:12px;min-width:0}
.dkh-build-inside label{display:grid;gap:5px;font-size:11px;font-weight:740;color:#475e4c;min-width:0}
.dkh-build-limit{max-width:195px;margin-bottom:12px}
.dkh-build-finder{display:grid;grid-template-columns:minmax(105px,.9fr) minmax(130px,1.2fr);gap:10px;margin-bottom:12px}
.dkh-build-finder label:nth-child(3){grid-column:1/-1}
.dkh-build-finder button{grid-column:1/-1}
.dkh-build-finder button,.dkh-build-manual button,.dkh-build-copy{border:1px solid #66856c;border-radius:6px;background:#e6f0e3;color:#36583f;font-size:12px;font-weight:780;padding:9px 11px;min-height:38px}
.dkh-build-finder button:hover:not(:disabled),.dkh-build-manual button:hover,.dkh-build-copy:hover{background:#d7e8d4}
.dkh-build-finder button:disabled{opacity:.55;cursor:not-allowed}
.dkh-build-selected{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.dkh-build-selected>li{display:flex;gap:9px;align-items:center;padding:7px 10px;border:1px solid #d5ddd3;border-radius:6px;background:#fff}
.dkh-build-selected img{width:34px;height:34px;object-fit:cover;border-radius:5px;flex:none}
.dkh-build-skill-meta{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.dkh-build-skill-meta strong{font-size:12px}
.dkh-build-skill-meta small{font-size:10px;color:#758174}
.dkh-build-remove{border:1px solid #dae0d6;background:#f8faf6;border-radius:5px;color:#646e64;padding:5px 7px;font-size:10px;flex:none}
.dkh-build-manual{margin:13px 0;padding:12px;border:1px dashed #bcc7b8;border-radius:7px;background:#f1f4ec}
.dkh-build-manual>strong{display:block;font-size:12px;margin-bottom:9px;color:#475c49}
.dkh-build-manual>div{display:grid;grid-template-columns:1fr 1.2fr;gap:7px}
.dkh-build-manual button{grid-column:1/-1}
.dkh-build-manual small{display:block;margin-top:8px;color:#758072;font-size:10px;line-height:1.6}
.dkh-build-ultimate{margin:11px 0 0}
.dkh-build-synergy{margin:13px 0;padding:12px;background:#e7eee4;border:1px solid #cfdbcd;border-radius:7px}
.dkh-build-synergy>strong{font-size:12px;color:#3d5b44}
.dkh-build-synergy ul{list-style:none;margin:7px 0;padding:0}
.dkh-build-synergy li{font-size:11px;padding:4px 0;line-height:1.65;color:#56695b}
.dkh-build-synergy li.is-manual{color:#90744b}
.dkh-build-synergy p{font-size:10px;color:#657965;margin:6px 0 0}
.dkh-build-copy{display:block;width:100%;margin:10px 0}
.dkh-build-message{font-size:11px;min-height:18px;color:#526e57;line-height:1.65;margin:8px 0}
.dkh-build-source{font-size:11px;color:#3d714b;font-weight:800;text-decoration:underline}
.dkh-ab-build-results{border-top:1px solid #d5ded2;padding:17px 20px;background:#eef3eb}
.dkh-ab-build-results h5{font-size:14px;margin:0 0 11px;color:#405747}
.dkh-ab-build-results>div{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.dkh-build-report-side{border:1px solid #cbd7c7;background:#f9fbf7;border-radius:7px;padding:11px 12px;min-width:0}
.dkh-build-report-side strong{display:block;font-size:12px;margin-bottom:6px}
.dkh-build-report-side p{font-size:11px;line-height:1.7;color:#485d4d;margin:0;overflow-wrap:anywhere}
.dkh-build-report-side small{display:block;font-size:10px;line-height:1.7;color:#64766a;margin-top:6px}
.dkh-ab-build-results>p{margin:11px 0 0;font-size:11px;line-height:1.7;color:#526655}
@media(max-width:900px){
 .dkh-ab-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dkh-build-manual>div{grid-template-columns:1fr}
}
@media(max-width:650px){
 .dkh-ab-options{grid-template-columns:1fr}
 .dkh-build-finder{grid-template-columns:1fr 1fr}
 .dkh-build-inside{padding:12px}
 .dkh-ab-build-results{padding:15px 10px}
 .dkh-ab-build-results>div{grid-template-columns:1fr}
 .dkh-build-manual>div{grid-template-columns:1fr 1fr}
}
@media(max-width:380px){
 .dkh-build-finder,.dkh-build-manual>div{grid-template-columns:1fr}
}


/* Stage 6: useful local A/B comparison history, backup and draft recovery. */
.dkh-history{border-top:1px solid #d1d8ce;background:#edf0e9;padding:23px 26px 24px}
.dkh-history-header{display:flex;gap:20px;justify-content:space-between;align-items:flex-start}
.dkh-history-header h4{font-size:19px;margin:2px 0 6px;letter-spacing:-.035em}
.dkh-history-header p{font-size:12px;line-height:1.75;color:#647164;margin:0;max-width:740px}
.dkh-history-header>span{white-space:nowrap;color:#57705b;font-weight:780;font-size:12px;font-variant-numeric:tabular-nums;padding:6px 10px;background:#e2eae0;border:1px solid #cedccc;border-radius:6px}
.dkh-history-save{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:19px 0 0;align-items:end}
.dkh-history-save label{display:grid;gap:5px;color:#435948;font-size:12px;font-weight:750}
.dkh-history-save input{width:100%;height:42px;border:1px solid #b8c9b7;border-radius:6px;background:#fff;color:#293b2f;padding:7px 11px;font-size:13px}
.dkh-history-save button{min-height:42px;background:#3b6446;color:#fff;border:1px solid #3b6446;border-radius:6px;padding:9px 15px;font-weight:790;font-size:12px}
.dkh-history-save button:disabled{opacity:.48;cursor:not-allowed}
.dkh-history-status{margin:9px 0 13px;font-size:11px;line-height:1.7;color:#4d7555;min-height:18px}
.dkh-history-status[data-state="error"]{color:#a44637}
.dkh-history-actions{display:flex;flex-wrap:wrap;gap:8px;padding:11px 0 14px;border-top:1px solid #cbd4c9}
.dkh-history-actions button{padding:8px 12px;background:#fafcf7;border:1px solid #c4cec1;border-radius:6px;color:#4a6551;font-size:11px;font-weight:750}
.dkh-history-actions button[data-dkh-history-clear]{margin-left:auto;color:#8b655d}
.dkh-history-list{display:grid;gap:8px}
.dkh-history-empty{border:1px dashed #cad5c7;border-radius:7px;text-align:center;padding:17px;color:#677866;background:#f7f9f4;font-size:12px;margin:0}
.dkh-history-card{background:#fafbf7;border:1px solid #cbd4c8;border-radius:8px;overflow:hidden}
.dkh-history-card>summary{list-style:none;cursor:pointer;padding:12px 15px;display:flex;justify-content:space-between;gap:10px;align-items:center}
.dkh-history-card>summary::-webkit-details-marker{display:none}
.dkh-history-card>summary::after{content:"▾";font-size:12px;color:#6d826d}
.dkh-history-card[open]>summary::after{content:"▴"}
.dkh-history-card>summary strong{font-size:13px;color:#324938;min-width:0;overflow-wrap:anywhere;flex:1}
.dkh-history-card>summary small{font-size:10px;color:#778574;white-space:nowrap}
.dkh-history-card-detail{border-top:1px solid #d7ded4;padding:12px}
.dkh-history-samples{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.dkh-history-sample{border:1px solid #d7dfd4;border-radius:5px;padding:10px;background:#f0f3ed;display:grid;gap:4px;min-width:0}
.dkh-history-sample strong{color:#405b45;font-size:11px;overflow-wrap:anywhere}
.dkh-history-sample span{color:#687869;font-size:10px;line-height:1.6;overflow-wrap:anywhere}
.dkh-history-card-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;padding-top:12px}
.dkh-history-card-actions button,.dkh-history-card-actions select{border:1px solid #bbcbbb;border-radius:5px;background:#fff;padding:8px 9px;color:#425c49;font-size:11px;font-weight:720;min-height:36px}
.dkh-history-card-actions button:hover{background:#e5f0e4}
.dkh-history-card-actions select{max-width:170px}
.dkh-history-card-actions .dkh-history-delete{margin-left:auto;color:#915d55}
.dkh-history-footnote{font-size:10px;line-height:1.8;color:#728075;margin:12px 0 0}
@media(max-width:900px){
 .dkh-history{padding:18px 17px}
 .dkh-history-header>span{padding:5px 7px}
 .dkh-history-card>summary{flex-wrap:wrap}
 .dkh-history-card>summary small{white-space:normal}
}
@media(max-width:650px){
 .dkh-history{padding:17px 12px}
 .dkh-history-header{gap:9px}
 .dkh-history-header h4{font-size:18px}
 .dkh-history-header p{font-size:11px}
 .dkh-history-save{grid-template-columns:1fr}
 .dkh-history-save button{width:100%}
 .dkh-history-actions{display:grid;grid-template-columns:1fr 1fr}
 .dkh-history-actions button[data-dkh-history-clear]{margin-left:0;grid-column:1/-1}
 .dkh-history-samples{grid-template-columns:1fr}
 .dkh-history-card-actions{display:grid;grid-template-columns:1fr 1fr}
 .dkh-history-card-actions select{max-width:100%}
 .dkh-history-card-actions .dkh-history-delete{margin-left:0}
}
@media(max-width:365px){
 .dkh-history-header{display:block}
 .dkh-history-header>span{display:inline-block;margin-top:7px}
 .dkh-history-card-actions{grid-template-columns:1fr}
}


/* Final UX: first show only the values needed for a meaningful A/B comparison. */
.dkh-ab-inputs[data-dkh-basic-fields]{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:2px}
.dkh-ab-inputs[data-dkh-basic-fields]>[data-dkh-field-wrap="minutes"]{grid-column:1/-1}
.dkh-ab-extra{margin:12px 0 0;border:1px solid #d1dacf;background:#f2f5f0;border-radius:7px;overflow:hidden}
.dkh-ab-extra>summary{list-style:none;cursor:pointer;padding:12px 13px;color:#4a6951;font-size:12px;font-weight:780;display:flex;align-items:center;justify-content:space-between;gap:8px}
.dkh-ab-extra>summary::-webkit-details-marker{display:none}
.dkh-ab-extra>summary:after{content:"▾";margin-left:auto;color:#63826c}
.dkh-ab-extra[open]>summary:after{content:"▴"}
.dkh-ab-extra>summary small{font-size:10px;color:#819384;font-weight:570}
.dkh-ab-extra[open]>summary{border-bottom:1px solid #d2ded2}
.dkh-ab-extra>.dkh-ab-inputs{padding:13px 11px 15px}
.dkh-ab-field.is-objective>span{color:#2b6c3c}
.dkh-ab-field.is-objective>input{border-color:#739e7a;box-shadow:0 0 0 1px #739e7a33}
.dkh-ab-help{border-top:1px solid #dfded6;color:#526756}
.dkh-ab-help>summary{cursor:pointer;padding:14px 25px;font-size:12px;font-weight:750;list-style-position:inside}
.dkh-ab-help>.dkh-ab-guidelines{border-top:1px solid #e2e4dc;background:#f2f5ef}
.dkh-ab-workbench [data-dkh-comparison-results]:focus{outline:2px solid #8caa92;outline-offset:3px}
@media(max-width:650px){
 .dkh-ab-help>summary{padding:12px 14px}
 .dkh-ab-extra>.dkh-ab-inputs{padding:12px}
 .dkh-ab-inputs[data-dkh-basic-fields]{gap:11px}
}
@media(max-width:365px){
 .dkh-ab-inputs[data-dkh-basic-fields]{grid-template-columns:1fr}
 .dkh-ab-inputs[data-dkh-basic-fields]>[data-dkh-field-wrap="minutes"]{grid-column:1}
}


/* Primary workbench first; stored-history management is progressive disclosure. */
.dkh-history-library{border:1px solid #cbd5c9;border-radius:8px;background:#f8faf5;margin-top:12px;overflow:hidden}
.dkh-history-library>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;color:#415d47;font-size:12px;font-weight:790;list-style:none}
.dkh-history-library>summary::-webkit-details-marker{display:none}
.dkh-history-library>summary:after{content:"▾";color:#78947c}
.dkh-history-library[open]>summary:after{content:"▴"}
.dkh-history-library[open]>summary{border-bottom:1px solid #d7e1d4}
.dkh-history-library-body{padding:0 13px 11px}
.dkh-history-library .dkh-history-actions{border-top:0;padding-top:14px}
.dkh-section#dkh-efficiency{padding-top:24px}
.dkh-workbench#dkh-diagnose{margin-top:0}
@media(max-width:650px){
 .dkh-section#dkh-efficiency{padding-top:19px}
 .dkh-history-library-body{padding:0 9px 10px}
 .dkh-history-library>summary{padding:12px 10px}
}
