.guide main { max-width: 760px; }
.guide .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.guide .toc a { padding: 6px 12px; border: 1px solid var(--line, #ddd); border-radius: 999px; text-decoration: none; }
.guide .step { margin: 0 0 16px; padding: 18px 20px; scroll-margin-top: 16px; }
.guide .step h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0 0 10px; }
.guide .num { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent, #333); color: #fff; font-size: .85rem; }
.guide pre { overflow-x: auto; padding: 12px 14px; border-radius: 8px; background: rgba(127,127,127,.12); font-size: .88rem; line-height: 1.5; }
.guide code { font-size: .9em; }
.guide .tip { padding: 8px 12px; border-left: 3px solid var(--accent, #333); background: rgba(127,127,127,.08); }
.guide table.grid { width: 100%; }
.guide table.grid td, .guide table.grid th { text-align: left; vertical-align: top; padding: 8px 10px; }
@media (max-width: 600px) { .guide .step { padding: 14px; } }

/* Bản đồ hệ sinh thái: ô vuông nhỏ, không đường nối. Tối + một màu vàng Champagne như SPREAD Design. */
@font-face{font-family:"Cormorant";font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/cormorant-garamond-vietnamese-600-normal.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"Cormorant";font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.guide .hmap{background:#0d0c0b;border:1px solid #2e2925;color:#f1ece4;text-align:center;padding:26px 20px 24px;position:relative;overflow:hidden}
.guide .hmap::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(212,175,134,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(212,175,134,.05) 1px,transparent 1px);background-size:36px 36px;-webkit-mask-image:radial-gradient(ellipse at 50% 45%,#000 20%,transparent 78%);mask-image:radial-gradient(ellipse at 50% 45%,#000 20%,transparent 78%)}
.guide .hmap>*{position:relative}
.guide .hmap .kicker{margin:0 0 8px;font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:#d4af86;display:flex;justify-content:center;align-items:center;gap:12px}
.guide .hmap .kicker::before,.guide .hmap .kicker::after{content:"";width:32px;height:1px;background:linear-gradient(90deg,transparent,#d4af86)}.guide .hmap .kicker::after{transform:scaleX(-1)}
.guide .hmap h2{display:block;font:600 26px/1.15 "Cormorant",Georgia,serif;margin:0 0 6px;color:#f1ece4}
.guide .hmap .sub{margin:0 auto 18px;font-size:13px;color:#9c938a}
.guide .hmap .pick{position:absolute;opacity:0;pointer-events:none}
.guide .hmap .tiles{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.guide .hmap .tile{width:88px;height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #2e2925;border-radius:14px;background:#171513;cursor:pointer;position:relative;transition:opacity .2s,border-color .2s,background .2s,filter .2s}
.guide .hmap .tile:hover{border-color:rgba(212,175,134,.55);opacity:1;filter:none}
.guide .hmap .tile img{width:40px;height:40px;border-radius:10px;display:block;box-shadow:0 6px 16px rgba(0,0,0,.5);animation:sp-focus .9s ease-out both}
.guide .hmap .tile:nth-child(2) img{animation-delay:.06s}.guide .hmap .tile:nth-child(3) img{animation-delay:.12s}.guide .hmap .tile:nth-child(4) img{animation-delay:.18s}.guide .hmap .tile:nth-child(5) img{animation-delay:.24s}.guide .hmap .tile:nth-child(6) img{animation-delay:.3s}.guide .hmap .tile:nth-child(7) img{animation-delay:.36s}
.guide .hmap .tile b{font-size:11.5px;font-weight:600;color:#f1ece4}
@keyframes sp-focus{from{filter:blur(6px);opacity:.3;transform:scale(1.08)}to{filter:none;opacity:1;transform:none}}
#a-chatbot:checked~.tiles .tile:not(.t-chatbot),#a-marketing:checked~.tiles .tile:not(.t-marketing),#a-work:checked~.tiles .tile:not(.t-work),#a-photo-select:checked~.tiles .tile:not(.t-photo-select),#a-design:checked~.tiles .tile:not(.t-design),#a-finance:checked~.tiles .tile:not(.t-finance),#a-ai:checked~.tiles .tile:not(.t-ai){opacity:.42;filter:saturate(.55)}
#a-chatbot:checked~.tiles .t-chatbot,#a-marketing:checked~.tiles .t-marketing,#a-work:checked~.tiles .t-work,#a-photo-select:checked~.tiles .t-photo-select,#a-design:checked~.tiles .t-design,#a-finance:checked~.tiles .t-finance,#a-ai:checked~.tiles .t-ai{border-color:#d4af86;background:radial-gradient(ellipse at 50% 30%,#2b241a,#171513 72%);box-shadow:0 0 0 4px rgba(212,175,134,.08)}
#a-chatbot:focus-visible~.tiles .t-chatbot,#a-marketing:focus-visible~.tiles .t-marketing,#a-work:focus-visible~.tiles .t-work,#a-photo-select:focus-visible~.tiles .t-photo-select,#a-design:focus-visible~.tiles .t-design,#a-finance:focus-visible~.tiles .t-finance,#a-ai:focus-visible~.tiles .t-ai{outline:2px solid #d4af86;outline-offset:3px}
.guide .hmap .panels{margin:18px auto 0;max-width:620px}
.guide .hmap .panel{display:none;align-items:center;gap:18px;text-align:left;border:1px solid #d4af86;border-radius:16px;background:#1b1814;padding:18px 22px;animation:sp-up .3s ease both}
#a-chatbot:checked~.panels .p-chatbot,#a-marketing:checked~.panels .p-marketing,#a-work:checked~.panels .p-work,#a-photo-select:checked~.panels .p-photo-select,#a-design:checked~.panels .p-design,#a-finance:checked~.panels .p-finance,#a-ai:checked~.panels .p-ai{display:flex}
.guide .hmap .panel img{width:60px;height:60px;border-radius:14px;flex:none;box-shadow:0 10px 24px rgba(0,0,0,.55)}
.guide .hmap .panel .txt{flex:1;min-width:0}
.guide .hmap .panel .st{font-size:10.5px;letter-spacing:.22em;text-transform:uppercase;color:#d4af86}
.guide .hmap .panel h3{font:600 22px/1.15 "Cormorant",Georgia,serif;margin:3px 0 5px;color:#f1ece4}
.guide .hmap .panel p{margin:0 0 3px;font-size:13.5px;line-height:1.5;color:#cfc7bb}.guide .hmap .panel p.x{font-size:12px;color:#9c938a}
.guide .hmap .go{flex:none;background:#d4af86;color:#17120c;font-weight:700;font-size:13px;border-radius:999px;padding:9px 18px;text-decoration:none;white-space:nowrap}
.guide .hmap .go.off{background:transparent;border:1px solid #3c3630;color:#9c938a;font-weight:600}
@keyframes sp-up{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.guide .hmap .tile img,.guide .hmap .panel{animation:none}}
@media (max-width:600px){.guide .hmap .tile{width:76px;height:76px}.guide .hmap .tile img{width:34px;height:34px}.guide .hmap .panel{flex-wrap:wrap;padding:16px}.guide .hmap .go{width:100%;text-align:center}}

/* D-692: vùng bấm ≥44px trên điện thoại (mục lục, nút Cài đặt, link cuối trang) */
@media (max-width:767px),(pointer:coarse){.guide .toc a{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px}.guide .hmap .go{display:inline-flex;align-items:center;justify-content:center;min-height:44px}.foot-admin{display:inline-flex;align-items:center;min-height:44px}}
