/* Home-only shortcuts and opt-in growth dialog. Detail pages are unaffected. */
.dk-home .dk-home-launcher{margin:14px 0 22px}
.dk-home .dk-home-launcher-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;min-height:36px}
.dk-home .dk-home-launcher-head>span{font-size:12px;font-weight:800;color:#62675f}
.dk-home .dk-growth-trigger{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border:1px solid #cec9be;border-radius:8px;background:#faf9f5;color:#66543f;font-size:12px;font-weight:750;white-space:nowrap}
.dk-home .dk-growth-trigger>svg{width:17px;height:17px}
.dk-home .dk-growth-trigger:hover{border-color:#99856b;background:#f0eee6}
.dk-home .dk-growth-trigger:disabled{opacity:.55;cursor:default}
.dk-home .dk-home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dk-home .dk-home-shortcut{display:flex;align-items:center;gap:11px;padding:14px 15px;border:1px solid #dedbd1;border-radius:10px;background:#fff;min-width:0;min-height:70px}
.dk-home .dk-home-shortcut:hover{border-color:#b1a18b;background:#fbfaf7}
.dk-home .dk-home-shortcut>span{display:grid;gap:2px;min-width:0;flex:1}
.dk-home .dk-home-shortcut strong{font-size:13px;font-weight:800;line-height:1.4}
.dk-home .dk-home-shortcut small{font-size:11px;color:#777a70;line-height:1.4}
.dk-home .dk-home-shortcut .dk-shortcut-icon{width:24px;height:24px;color:#937653;flex:none}
.dk-home .dk-home-shortcut .dk-shortcut-arrow{width:13px;height:13px;color:#a4a398}
.dk-home .dk-home-heading-icon{width:19px;height:19px;color:#92734f;margin-right:8px;vertical-align:-3px}
.dk-home .dk-tool-panel-head>span .dk-home-heading-icon{width:16px;height:16px;margin-right:5px}
.dk-home .dk-directory-item{grid-template-columns:24px minmax(0,1fr) 14px;column-gap:10px;padding:12px 14px}
.dk-home .dk-directory-item strong{grid-column:2;grid-row:1}
.dk-home .dk-directory-item small{grid-column:2;grid-row:2}
.dk-home .dk-directory-item .dk-directory-icon{grid-column:1;grid-row:1/3;width:19px;height:19px;color:#998366}
.dk-home .dk-directory-item .dk-directory-arrow{grid-column:3;grid-row:1/3;width:13px;height:13px}
/* Keep the working purpose switcher and existing images, without tall duplicate guides. */
.dk-home .dk-home-build{margin-top:24px;padding:18px;border:1px solid #dedbd1;background:#fbfaf7;border-radius:11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px}
.dk-home .dk-home-build h2{font-size:16px;line-height:1.4;margin:0;align-self:center}
.dk-home .dk-home-build .dk-mode-tabs{display:flex;gap:5px;margin:0;flex-wrap:wrap}
.dk-home .dk-home-build .dk-mode-tabs button{min-height:34px;padding:6px 10px;border:1px solid #d8d4c7;border-radius:6px;background:#fff;color:#686e60;font-size:11px;font-weight:700}
.dk-home .dk-home-build .dk-mode-tabs button[aria-pressed="true"]{background:#505d4b;border-color:#505d4b;color:#fff}
.dk-home .dk-home-build .dk-mode-content{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;min-height:0;margin:0;padding:12px 0 0;background:none;border:0;border-top:1px solid #e0dcd2;border-radius:0}
.dk-home .dk-home-build .dk-mode-content strong{font-size:15px;margin:0;color:#4e5547}
.dk-home .dk-home-build .dk-mode-content p{grid-column:1;grid-row:2;font-size:12px;line-height:1.6;margin:0;color:#75786e}
.dk-home .dk-home-build .dk-mode-content a{grid-column:2;grid-row:1/3;align-self:center;white-space:nowrap;font-size:11px;font-weight:700}
.dk-home .dk-home-build .dk-build-notes{grid-column:1/-1;display:flex;align-items:center;gap:12px;min-height:0;margin:0;padding:0;background:none;border:0;border-radius:0;font-size:11px;color:#787b71}
.dk-home .dk-home-build .dk-build-notes strong{font-size:11px;margin:0;color:#787b71}
.dk-home .dk-home-build .dk-build-notes a{margin-left:auto;font-size:11px;font-weight:700;color:#786044}
.dk-home .dk-home-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.dk-home .dk-home-media .dk-media-card{display:flex;align-items:center;gap:12px;padding:10px;min-width:0;min-height:0;background:#fff;border:1px solid #dfdacf;border-radius:10px;overflow:hidden}
.dk-home .dk-home-media .dk-media-card:hover{background:#fbfaf7;border-color:#b1a18b}
.dk-home .dk-home-media .dk-media-thumb{display:block;position:static;width:64px;height:52px;min-height:0;max-width:none;aspect-ratio:auto;object-fit:cover;border-radius:6px;flex:none}
.dk-home .dk-home-media .dk-media-card>span{display:grid;gap:2px;min-width:0;flex:1}
.dk-home .dk-home-media strong{font-size:12px;line-height:1.5}
.dk-home .dk-home-media small{font-size:10px;color:#7c7f74}
.dk-home .dk-home-media svg{width:13px;height:13px;color:#a3937c}
@media(max-width:720px){.dk-home .dk-home-build{grid-template-columns:1fr;gap:10px;padding:15px}.dk-home .dk-home-build .dk-mode-tabs{gap:4px}.dk-home .dk-home-build .dk-mode-content{grid-template-columns:1fr}.dk-home .dk-home-build .dk-mode-content a{grid-column:1;grid-row:3;margin-top:5px}.dk-home .dk-home-build .dk-build-notes{flex-wrap:wrap;gap:4px 9px}.dk-home .dk-home-build .dk-build-notes a{margin-left:0;flex-basis:100%}.dk-home .dk-home-media{grid-template-columns:1fr;gap:8px}.dk-home .dk-home-media .dk-media-thumb{width:52px;height:42px}.dk-home .dk-home-media .dk-media-card{padding:8px 12px}}
/* Native dialog stays out of layout even before JavaScript or on unsupported browsers. */
.dk-home .dk-growth-dialog:not([open]){display:none!important}
.dk-home .dk-growth-dialog{box-sizing:border-box;width:min(760px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #d6d0c4;border-radius:16px;background:#faf9f6;color:#2c302e;box-shadow:0 24px 80px #25271f33;overflow-y:auto;overscroll-behavior:contain;text-align:left}
.dk-home .dk-growth-dialog::backdrop{background:#20251f80}
html.dk-growth-is-open,body.dk-growth-is-open{overflow:hidden;overscroll-behavior:none}
.dk-home .dk-growth-dialog .dk-growth{margin:0;padding:22px;border:0;border-radius:0;background:transparent}
.dk-home .dk-growth-dialog [hidden]{display:none!important}
.dk-home .dk-growth-dialog-head{position:sticky;top:0;z-index:2;background:#faf9f6;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.dk-home .dk-growth-dialog-head h2{display:flex;align-items:center;gap:9px;margin:0;font-size:20px;font-weight:850;line-height:1.4}
.dk-home .dk-growth-dialog-head h2 svg{color:#92734f;width:21px;height:21px}
.dk-home .dk-growth-dialog-head button{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #ddd8cf;border-radius:9px;background:#fff;color:#696d64}
.dk-home .dk-growth-dialog-head button:hover{background:#eeeae2}
.dk-home .dk-growth-power{padding:14px 16px;margin:0 0 16px;background:#efeee7;border:1px solid #ddd9cd;border-radius:10px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 16px}
.dk-home .dk-growth-power label{font-size:12px;font-weight:800}
.dk-home .dk-growth-power>div{display:flex;align-items:center;gap:7px;min-width:0}
.dk-home .dk-growth-power input{width:100%;min-width:0;height:40px;padding:7px 10px;border:1px solid #c9c4b7;border-radius:7px;background:#fff;color:#30342d;font-size:16px}
.dk-home .dk-growth-power button{flex:none;height:40px;padding:7px 16px;border:0;border-radius:7px;background:#4c5949;color:#fff;font-size:12px;font-weight:750}
.dk-home .dk-growth-power>p{grid-column:1/-1;font-size:12px;color:#6e7368;line-height:1.6;margin:1px 0 0}
.dk-home .dk-growth-dialog .dk-growth-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px}
.dk-home .dk-growth-dialog .dk-growth-grid:empty{display:none}
.dk-home .dk-growth-dialog .dk-growth-panel-head{align-items:flex-start;gap:8px}
.dk-home .dk-growth-dialog .dk-growth-panel-head h3,.dk-home .dk-growth-dialog .dk-growth-equipment-head h3{display:flex;align-items:center;gap:6px;font-size:14px}
.dk-home .dk-growth-dialog h3 svg{width:16px;height:16px;color:#998266}
.dk-home .dk-growth-dialog .dk-growth-panel-head small{flex:none;font-size:10px;line-height:2}
.dk-home .dk-growth-dialog .dk-growth-item{grid-template-columns:minmax(0,1fr);padding:10px 0;gap:3px}
.dk-home .dk-growth-dialog .dk-growth-item-metric{grid-column:1;grid-row:auto;text-align:left;max-width:none;white-space:normal;font-size:11px;color:#7b674c}
.dk-home .dk-growth-dialog .dk-growth-equipment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}
.dk-home .dk-growth-start{display:grid;gap:0;margin-top:8px}
.dk-home .dk-growth-start a{display:flex;align-items:center;gap:9px;padding:12px 3px;min-height:46px;font-size:12px;font-weight:700;border-bottom:1px solid #e5e0d6;color:#686454}
.dk-home .dk-growth-start a:hover{color:#916b45}
.dk-home .dk-growth-start a svg{width:18px;height:18px;color:#a38b6d}
.dk-home .dk-growth-start a span{margin-left:auto}
.dk-home .dk-growth-error{font-size:12px;padding:10px 12px;background:#f4ebdb;border-radius:8px;color:#745435}
@media(max-width:900px){.dk-home .dk-home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){
 .dk-home .dk-home-launcher{margin-top:12px;margin-bottom:18px}
 .dk-home .dk-home-shortcuts{gap:8px}
 .dk-home .dk-home-shortcut{padding:12px 10px;gap:8px;min-height:68px}
 .dk-home .dk-home-shortcut strong{font-size:12px}
 .dk-home .dk-home-shortcut small{font-size:10px}
 .dk-home .dk-home-shortcut .dk-shortcut-icon{width:21px;height:21px}
 .dk-home .dk-home-shortcut .dk-shortcut-arrow{display:none}
 .dk-home .dk-directory-item{padding:11px 10px;column-gap:7px;grid-template-columns:19px minmax(0,1fr) 11px}
 .dk-home .dk-directory-item .dk-directory-icon{width:17px;height:17px}
 .dk-home .dk-growth-dialog{width:calc(100% - 20px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:13px}
 .dk-home .dk-growth-dialog .dk-growth{padding:15px}
 .dk-home .dk-growth-dialog-head{margin-bottom:12px}
 .dk-home .dk-growth-dialog-head h2{font-size:18px}
 .dk-home .dk-growth-power{grid-template-columns:1fr;padding:12px;gap:7px}
 .dk-home .dk-growth-dialog .dk-growth-panel{padding:12px}
 .dk-home .dk-growth-dialog .dk-growth-equipment{padding:12px}
}
@media(prefers-reduced-motion:reduce){.dk-home .dk-growth-dialog{scroll-behavior:auto}}
