/* ================================================================ Mobihome Services Design */
body.sd-mode { overflow: hidden; }
body.sd-mode .topbar, body.sd-mode .foot { display: none !important; }
.sd-app { position: fixed; inset: 0; display: flex; flex-direction: column; background: #efe9dc; z-index: 20; font-family: var(--sans); color: var(--ink); }

/* ---------------- thanh công cụ */
.sd-bar { flex: none; height: 62px; display: flex; align-items: center; gap: 14px; padding: 0 14px; color: #fff; background: linear-gradient(90deg, #07130f, #12302a 60%, #1b4238); box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .5); position: relative; z-index: 30; }
.sd-back { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #e7efe9; border: 1px solid rgba(255, 255, 255, .2); text-decoration: none; flex: none; }
.sd-back:hover { background: rgba(255, 255, 255, .08); }
.sd-brand { display: flex; flex-direction: column; line-height: 1.05; flex: none; white-space: nowrap; min-width: 118px; }
.sd-brand .bmk { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .06em; background: linear-gradient(180deg, #fff 30%, var(--gold-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sd-brand .sub { font-size: 9.5px; letter-spacing: .32em; color: var(--gold-soft); text-transform: uppercase; }
.sd-title { min-width: 0; flex: 1; border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 14px; }
.sd-title .nm { font-weight: 600; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; outline: none; }
.sd-title .nm[contenteditable] { border-bottom: 1px dashed var(--gold); max-width: 50vw; }
.sd-title .meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #c7d4ce; margin-top: 2px; white-space: nowrap; }
.sd-title .meta .muted { color: #8fa39a; overflow: hidden; text-overflow: ellipsis; }
.sd-title .dirty { color: var(--gold-soft); font-weight: 600; }
.sd-st { border: 0; border-radius: 99px; padding: 2px 10px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.sd-st-draft { background: #e3ecd9; color: #2f5a1f; } .sd-st-review { background: #d8e8f2; color: #1f4a66; } .sd-st-approved { background: #f1d9a0; color: #5a4410; } .sd-st-archived { background: #ddd; color: #555; }
.sd-lnk { background: none; border: 0; color: #e6ecd9; font-size: 12px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; padding: 0; }
.sd-lnk:hover { color: var(--gold-soft); }
.sd-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.sd-tb { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid rgba(255, 255, 255, .16); color: #e8efe9; border-radius: 10px; padding: 7px 10px; font-size: 12.5px; cursor: pointer; position: relative; white-space: nowrap; }
.sd-tb:hover { background: rgba(255, 255, 255, .08); }
.sd-tb.on { background: rgba(216, 169, 72, .18); border-color: rgba(216, 169, 72, .7); color: #fff; }
.sd-tb.edit { background: var(--gold); color: #1a1406; border-color: var(--gold); font-weight: 700; }
.sd-tb.ic { padding: 7px 8px; }
.sd-tb:disabled { opacity: .35; cursor: default; }
.sd-tb .cnt { position: absolute; top: -6px; right: -6px; background: #c8922f; color: #1a1406; border-radius: 99px; font-size: 10px; padding: 0 5px; line-height: 16px; font-weight: 700; }
.sd-sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .16); margin: 0 4px; }
.sd-lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; overflow: hidden; }
.sd-lang button { background: none; border: 0; color: #c7d4ce; font-size: 11.5px; padding: 7px 8px; cursor: pointer; }
.sd-lang button.on { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; }
.sd-save { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 12.5px; background: rgba(255, 255, 255, .1); color: #8fa39a; cursor: default; }
.sd-save.on { background: linear-gradient(135deg, #e3b85a, #c8922f); color: #1a1406; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(216, 169, 72, .9); animation: sdpulse 2.4s infinite; }
@keyframes sdpulse { 50% { box-shadow: 0 8px 26px -4px rgba(216, 169, 72, 1); } }
@media (max-width: 1380px) { .sd-tb span, .sd-brand .sub { display: none; } .sd-tb.edit span { display: inline; } }
@media (max-width: 900px) { .sd-brand, .sd-lang, #sdFull { display: none; } .sd-title .nm { max-width: 38vw; } }
.sd-prev, .sd-cmode { flex: none; display: flex; gap: 12px; align-items: center; justify-content: center; padding: 7px 14px; font-size: 13px; z-index: 25; }
.sd-prev { background: #3f6f8f; color: #fff; }
.sd-cmode { background: #fbecc9; color: #5a4410; }
.sd-cmode button { border: 1px solid #c8922f; background: #fff; border-radius: 8px; padding: 2px 10px; cursor: pointer; font-size: 12px; }

/* ---------------- canvas */
.sd-body { flex: 1; display: flex; min-height: 0; position: relative; }
.sd-vp { flex: 1; position: relative; overflow: hidden; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  background-color: #efe9dc; background-image: radial-gradient(rgba(18, 48, 42, .13) 1px, transparent 1.2px); background-size: 22px 22px; }
.sd-vp.grabbing { cursor: grabbing; }
.sd-vp.editing { cursor: default; user-select: text; -webkit-user-select: text; }
.sd-vp.cmode { cursor: copy; }
.sd-world { position: absolute; top: 0; left: 0; display: grid; grid-auto-rows: auto; transform-origin: 0 0; --rx: 0px; --ry: 0px; --s: 1; box-shadow: 0 30px 80px -40px rgba(12, 31, 25, .45); background: #fff; }
.sd-world > * { min-width: 0; }
.rc { transform: translateX(var(--rx)); z-index: 5; }
.hc { transform: translateY(var(--ry)); z-index: 6; }
.cc { transform: translateX(var(--rx)); z-index: 7; }
.cc.hc { transform: translate(var(--rx), var(--ry)); z-index: 8; }
/* hàng con đường */
.road { height: 132px; overflow: hidden; border-bottom: 1px solid #e3ded2; position: relative; }
.road-svg { display: block; }
.road-svg .ph-t { font: 700 12px var(--sans); fill: #fff; letter-spacing: .02em; }
.road-svg .pin-t { font: 700 11px var(--sans); fill: #12302a; }
.road-c { background: linear-gradient(160deg, #0c1f19, #1b4238); color: #fff; padding: 14px 16px; border-right: 1px solid #0c1f19; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.rc-brand { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: .08em; color: var(--gold-soft); line-height: 1; }
.rc-nm { font-size: 12.5px; color: #dfe8e3; line-height: 1.35; }
.rc-crit { font-size: 12px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rc-crit i { color: #8fa39a; font-style: normal; }
/* hàng giai đoạn & bước */
.stg-c, .stp-c { background: #0c1f19; color: #c7d4ce; padding: 10px 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-right: 1px solid #0c1f19; }
.stg-c .lg { display: flex; gap: 6px; align-items: center; letter-spacing: 0; font-size: 11px; }
.stg-c .lg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.stp-c { background: #12302a; }
.stg { background: #fff; border-top: 5px solid var(--pc); border-left: 1px solid #e3ded2; border-bottom: 1px solid #e3ded2; padding: 10px 16px 12px; position: relative; box-shadow: inset 3px 0 0 var(--pc); }
.stg-in { max-width: 560px; will-change: transform; }
.stg-top { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-3); }
.stg-id { background: var(--pc); color: #fff; font-weight: 700; border-radius: 7px; padding: 1px 8px; font-size: 12px; letter-spacing: .04em; }
.stg-ph { font-weight: 700; color: var(--pc); }
.stg-when { margin-left: 2px; }
.stg-nm { font-size: clamp(19px, calc(11px / var(--s)), 40px); line-height: 1.2; font-weight: 700; color: #12302a; margin: 6px 0 4px; font-family: var(--sans); }
.stg-goal { font-size: 12.5px; color: var(--ink-2); }
.stg-goal span { color: var(--ink-3); }
.stg-goal em { font-style: normal; }
.stg-ft { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 11.5px; color: var(--ink-3); gap: 10px; }
.stg-ft .own { display: inline-flex; gap: 4px; align-items: center; }
.stg-ft .own em { font-style: normal; }
.stg-xp { display: inline-flex; gap: 4px; }
.stg-xp i { width: 38px; height: 6px; border-radius: 99px; background: #eee9dc; position: relative; overflow: hidden; }
.stg-xp i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); border-radius: 99px; }
.stp { background: #fbfaf6; border-left: 1px solid #ece7dc; border-bottom: 2px solid #d9d2c1; padding: 8px 14px 9px; position: relative; }
.stp.s0 { box-shadow: inset 3px 0 0 var(--pc); }
.stp-top { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-3); }
.stp-id { font-family: ui-monospace, Menlo, monospace; font-weight: 700; color: var(--pc); }
.stp-when { background: #eef1ec; border-radius: 99px; padding: 0 8px; color: var(--ink-2); }
.stp-nm { font-size: clamp(14px, calc(9px / var(--s)), 26px); font-weight: 700; line-height: 1.3; margin-top: 4px; color: var(--ink); }
.stp.hl, .stg.hl { background: #fff8e6; }
/* rail lane */
.rc { background: #fcfbf7; border-left: 5px solid var(--zc); border-bottom: 1px solid #e8e2d4; border-right: 1px solid #e3ded2; padding: 11px 12px 11px 13px; position: relative; }
.rc-n { font-size: clamp(13px, calc(9px / var(--s)), 24px); font-weight: 700; color: #1d2b27; line-height: 1.3; }
.rc-d { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.35; }
.rc.z-customer { background: #fdf8ef; } .rc.z-front { background: #f3f9f5; } .rc.z-back { background: #f2f6f9; } .rc.z-support { background: #f5f5f2; } .rc.z-meta { background: #faf7ee; }
.rc-line { background: #fffdf6; border-left-color: var(--gold); padding: 6px 12px; display: flex; flex-direction: column; justify-content: center; }
.rc-line .rc-n { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9a7a24; }
.rc-line .rc-d { display: none; }
.rc-add { background: #fff; border-left-color: #ccc; }
.rc-add button { border: 1px dashed #b9b2a3; background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; font-weight: 600; color: var(--ink-2); width: 100%; }
.lane-pad { background: #fff; }
/* đường ranh giới */
.lnc { position: relative; display: flex; align-items: center; height: 30px; background: #fffdf6; border-bottom: 1px solid #efe7cf; }
.lnc > span { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid #c9a24c; }
.lnc.k-lov > span { border-top-style: dashed; border-color: #8a6d2f; }
.lnc.k-lii > span { border-top-style: dotted; border-top-width: 3px; border-color: #6b6f76; }
.lnc em { position: relative; font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #8a6d2f; padding-left: 16px; flex: none; }
.lnc em { text-shadow: 0 0 6px #fffdf6, 0 0 6px #fffdf6, 0 0 3px #fffdf6; }
/* ô nội dung */
.cell { padding: 10px 12px 12px; border-bottom: 1px solid #ebe5d7; border-right: 1px dashed #ebe4d3; font-size: 12.8px; line-height: 1.5; color: #1f2d29; position: relative; min-height: 58px; }
.cell.s0, .emo-c.s0 { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--pc) 55%, transparent); }
.cell.z-customer { background: #fffaf1; } .cell.z-front { background: #f6fbf8; } .cell.z-back { background: #f4f8fb; } .cell.z-support { background: #f8f8f5; } .cell.z-meta { background: #fcfaf3; }
.cell.hl, .emo-c.hl { background-image: linear-gradient(rgba(216, 169, 72, .12), rgba(216, 169, 72, .12)); }
.cell .tx ul { margin: 0; padding-left: 16px; }
.cell .tx li { margin: 2px 0; }
.cell .tx b { color: #12302a; }
.cell .code, .emo-q .code { font-family: ui-monospace, Menlo, monospace; font-size: 11px; background: #eef1ec; border-radius: 4px; padding: 0 4px; }
.cell .empty, .emo-q .empty { color: #b9b2a3; padding: 0; text-align: left; }
.st-tag { position: absolute; bottom: 3px; right: 6px; font-size: 9px; font-weight: 700; color: #8a7a55; background: #f1e9d2; border-radius: 4px; padding: 0 4px; }
.cmb { position: absolute; top: 5px; right: 5px; display: inline-flex; gap: 3px; align-items: center; background: #3f6f8f; color: #fff; border-radius: 99px; font-size: 10.5px; font-weight: 700; padding: 1px 7px 1px 5px; cursor: pointer; z-index: 2; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.cmb.f { background: #c8922f; } .cmb.ch { background: #b5483b; }
.stg .cmb, .stp .cmb { position: static; margin-left: auto; }
/* chế độ sửa */
.editing [data-ed] { cursor: text; border-radius: 6px; transition: background .15s; }
.editing [data-ed]:hover { background: rgba(216, 169, 72, .14); outline: 1px dashed rgba(200, 146, 47, .7); }
[data-ed][contenteditable="true"], [data-ed][contenteditable="plaintext-only"] { outline: 2px solid var(--gold) !important; background: #fff !important; white-space: pre-wrap; padding: 2px 4px; user-select: text; -webkit-user-select: text; cursor: text; }
.ed-bar { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.ed-bar button, .ed-bar select { border: 1px solid #d8d1bf; background: #fff; border-radius: 7px; height: 24px; min-width: 24px; padding: 0 6px; font-size: 11px; cursor: pointer; display: inline-grid; place-items: center; color: var(--ink-2); }
.ed-bar button:hover { border-color: var(--gold); color: #12302a; }
/* cảm xúc */
.emo-row { position: relative; height: 214px; background: linear-gradient(180deg, #fffdf8, #fdf7ea); border-bottom: 1px solid #ebe5d7; z-index: 1; }
.emo-svg { position: absolute; top: 0; left: 0; }
.emo-svg .emo-grid { stroke: #efe6cf; stroke-width: 1; } .emo-svg .emo-grid.z { stroke: #d9c9a0; stroke-dasharray: 4 5; }
.emo-cells { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: var(--col, 300px); }
.emo-c { position: relative; border-right: 1px dashed #efe6cf; }
.emo-q { position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 12.5px; font-style: italic; color: #5c4a22; line-height: 1.4; }
.emo-hit { position: absolute; left: 0; right: 0; top: 6px; height: 118px; cursor: ns-resize; border-radius: 8px; }
.emo-hit:hover { background: rgba(216, 169, 72, .1); outline: 1px dashed rgba(200, 146, 47, .6); }
/* 3 tiêu chí */
.xp { display: grid; gap: 6px; }
.xp-r { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.xn { font-size: 11.5px; font-weight: 700; color: var(--c); }
.xd { display: inline-flex; gap: 5px; }
.xp-dot { width: 13px; height: 13px; border-radius: 50%; border: 1.6px solid var(--c); display: inline-block; background: #fff; }
.xp-dot.on { background: var(--c); }
.xp-dot[data-xp] { cursor: pointer; }
.xp-dot[data-xp]:hover { transform: scale(1.25); }
/* màn hình */
.cell.z-customer[data-l="screen"] { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 336px; background: radial-gradient(ellipse at 50% 40%, #fff, #f6efe0); }
.thumb { width: 146px; height: 304px; border-radius: 24px; background: #0b0f0e; padding: 5px; border: 0; position: relative; overflow: hidden; cursor: pointer; box-shadow: 0 16px 30px -14px rgba(12, 31, 25, .55); transition: transform .2s; }
.thumb:hover { transform: translateY(-3px) scale(1.02); }
.thumb-in { width: 390px; height: 844px; transform: scale(.3487); transform-origin: 0 0; border-radius: 52px; overflow: hidden; pointer-events: none; }
.thumb .play { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: var(--gold); color: #1a1406; font-weight: 700; font-size: 11px; border-radius: 99px; padding: 4px 10px; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); opacity: .92; }
.scr-sel { margin-top: 8px; max-width: 240px; font-size: 11px; border-radius: 7px; border: 1px solid #d8d1bf; padding: 3px; }
/* kênh */
.chs { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.chn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; background: #fff; border: 1px solid #e3ded2; border-radius: 99px; font-size: 11.2px; color: #45554f; }
.chn svg { color: #b5793a; }
.chn i { font-style: normal; }
.chs-ed { border: 1px dashed #c9c1ad; background: #fff; border-radius: 99px; padding: 3px 7px; cursor: pointer; }
/* nhà cung cấp */
.sups { display: flex; flex-wrap: wrap; gap: 5px; }
.sup { display: inline-flex; align-items: center; gap: 3px; font-size: 11.2px; line-height: 1.3; padding: 3px 8px 3px 6px; border-radius: 8px; border: 1px solid #d2cbbb; background: #fff; color: #45554f; cursor: pointer; text-align: left; max-width: 100%; }
.sup .sy, .sy { font-size: 12px; }
.sup-selected { background: #fbf1d9; border-color: #d8a948; color: #5a4410; } .sy.sup-selected, .sup-selected .sy { color: #c8922f; }
.sup-shortlist { background: #eef6ee; border-color: #9cc27a; color: #245b3d; } .sy.sup-shortlist, .sup-shortlist .sy { color: #2f7a5b; }
.sup-proposed .sy, .sy.sup-proposed { color: #8a8f8c; }
.sup-add { border: 1px dashed #c9c1ad; background: #fff; border-radius: 8px; padding: 3px 8px; font-size: 11px; cursor: pointer; color: var(--ink-2); }
/* độ chi tiết thấp khi thu nhỏ */
.sd-world.lod .cell .tx, .sd-world.lod .rc-d, .sd-world.lod .emo-q, .sd-world.lod .chn i, .sd-world.lod .stg-goal, .sd-world.lod .stg-ft, .sd-world.lod .cmb, .sd-world.lod .st-tag { visibility: hidden; }
.sd-world.lod .sup { font-size: 0; padding: 6px; } .sd-world.lod .sup .sy { font-size: 16px; }

/* ---------------- chân: bản đồ nhỏ + zoom */
.sd-foot { flex: none; height: 60px; background: #0c1f19; display: flex; align-items: center; gap: 12px; padding: 0 12px; z-index: 30; }
.sd-mini { flex: 1; min-width: 0; }
.mm-track { position: relative; height: 42px; display: flex; border-radius: 9px; overflow: hidden; cursor: pointer; background: #12302a; touch-action: none; }
.mm-seg { position: relative; min-width: 0; padding: 4px 6px; border-right: 1px solid rgba(0, 0, 0, .35); background: color-mix(in srgb, var(--c) 45%, #0c1f19); color: #fff; overflow: hidden; }
.mm-seg b { font-size: 10.5px; display: block; line-height: 1.1; }
.mm-seg span { font-size: 9.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mm-emo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.mm-vp { position: absolute; top: 0; bottom: 0; border: 2px solid var(--gold-soft); border-radius: 7px; background: rgba(241, 217, 160, .16); pointer-events: none; box-shadow: 0 0 0 999px rgba(0, 0, 0, .18); }
.sd-zoom { display: flex; align-items: center; gap: 4px; flex: none; }
.sd-zoom button { height: 32px; min-width: 32px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #e8efe9; cursor: pointer; font-size: 15px; display: grid; place-items: center; padding: 0 6px; }
.sd-zoom button:hover { background: rgba(255, 255, 255, .08); }
#sdZoomPct { color: #fff; font-size: 12.5px; min-width: 48px; text-align: center; font-weight: 600; }

/* ---------------- ngăn kéo bên phải */
.sd-drawer { width: 0; flex: none; background: #fff; border-left: 1px solid #e3ded2; overflow-y: auto; transition: width .25s var(--ease); z-index: 25; box-shadow: -18px 0 40px -30px rgba(0, 0, 0, .4); }
.sd-drawer.open { width: min(420px, 92vw); }
.dr-h { position: sticky; top: 0; background: #fff; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #efe9dc; z-index: 2; font-size: 15px; }
.dr-x { border: 0; background: #f3f0e7; border-radius: 8px; width: 30px; height: 30px; cursor: pointer; display: grid; place-items: center; }
.dr-b { padding: 14px 16px 30px; font-size: 13px; }
.dr-b h4 { margin: 18px 0 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.info .sd-promise { font-family: var(--serif); font-size: 20px; line-height: 1.35; color: #12302a; font-style: italic; margin-bottom: 6px; }
.kv2 { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; margin: 12px 0; font-size: 12.5px; }
.kv2 span { color: var(--ink-3); } .kv2 b { font-weight: 500; }
.crit-i { border-left: 4px solid var(--c); background: #fbfaf5; border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.crit-i .cn { font-weight: 700; color: var(--c); display: flex; gap: 6px; align-items: center; font-size: 15px; }
.crit-i .cn i { font-style: normal; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.crit-i p { margin: 6px 0; }
.ln-i { display: grid; grid-template-columns: 10px 1fr; gap: 2px 8px; margin: 6px 0; align-items: start; }
.ln-i i { width: 10px; height: 10px; border-radius: 3px; margin-top: 4px; }
.ln-i span { grid-column: 2; color: var(--ink-3); font-size: 12px; }
.sp-cat { margin: 12px 0; }
.sp-cat > b { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #8a6d2f; margin-bottom: 6px; }
.sp-row { display: grid; grid-template-columns: 16px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #eee6d6; }
.sp-row em { font-style: normal; font-size: 11px; background: #f3efe3; border-radius: 5px; padding: 0 5px; margin-left: 4px; }
.cm-new { background: #fbf8ef; border: 1px solid #efe4c6; border-radius: 12px; padding: 12px; margin-bottom: 12px; display: grid; gap: 8px; }
.cm-tg { font-size: 12px; color: var(--ink-2); }
.cm-tg button { border: 0; background: none; color: var(--blue); cursor: pointer; font-size: 11.5px; text-decoration: underline; }
.cm-kinds { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.cm-kinds label { display: inline-flex; gap: 4px; align-items: center; background: #fff; border: 1px solid #e3ded2; border-radius: 99px; padding: 3px 9px; cursor: pointer; }
.cm-new .btn { justify-self: end; }
.cm-f { display: flex; gap: 6px; margin: 4px 0 10px; }
.cm-f button { border: 1px solid #e3ded2; background: #fff; border-radius: 99px; padding: 4px 11px; font-size: 12px; cursor: pointer; }
.cm-f button.on { background: #12302a; color: #fff; border-color: #12302a; }
.cm-it { border: 1px solid #ece6d8; border-radius: 12px; padding: 10px 12px; margin: 8px 0; background: #fff; }
.cm-it.f { border-left: 4px solid #c8922f; background: #fffaf0; }
.cm-it.res { opacity: .62; }
.cm-who { font-weight: 700; display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.cm-who i { font-style: normal; font-weight: 500; font-size: 11px; color: var(--ink-3); }
.cm-who.f i { color: #a4781c; font-weight: 700; }
.cm-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11px; margin: 3px 0 6px; }
.cm-meta a { color: var(--blue); cursor: pointer; text-decoration: underline; }
.cm-k { border-radius: 5px; padding: 0 6px; background: #eef1ec; font-weight: 700; }
.k-change .cm-k { background: #f6dfdb; color: #8f3326; } .k-decision .cm-k { background: #f1d9a0; color: #5a4410; } .k-question .cm-k { background: #d8e8f2; color: #1f4a66; }
.cm-b { white-space: pre-wrap; }
.cm-rep { margin: 8px 0 0 12px; padding-left: 10px; border-left: 2px solid #eee6d6; }
.cm-a { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.cm-a button { border: 0; background: #f3f0e7; border-radius: 7px; padding: 3px 9px; font-size: 11.5px; cursor: pointer; }
.ver-it { border-bottom: 1px dashed #eee6d6; padding: 9px 0; display: grid; gap: 4px; }
.ver-it.cur { background: #fffaf0; margin: 0 -8px; padding: 9px 8px; border-radius: 8px; }
.ver-a { display: flex; gap: 6px; }

/* ---------------- popover */
.sd-pop { position: fixed; z-index: 1200; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px -18px rgba(12, 31, 25, .45), 0 2px 8px rgba(0, 0, 0, .08); padding: 14px; width: max-content; max-width: 360px; max-height: 70vh; overflow: auto; font-size: 13px; }
.pop-h { font-weight: 700; font-size: 14px; margin: 0 26px 8px 0; display: flex; gap: 6px; align-items: center; }
.pop-x { position: absolute; top: 8px; right: 8px; border: 0; background: #f3f0e7; border-radius: 7px; width: 26px; height: 26px; cursor: pointer; display: grid; place-items: center; }
.pop-ck { display: flex; gap: 8px; align-items: center; padding: 4px 0; cursor: pointer; }
.pop-ck i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.pop-pre { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.pop-pre button { border: 1px solid #e3ded2; background: #fbf8ef; border-radius: 99px; padding: 3px 10px; font-size: 11.5px; cursor: pointer; }
.pop-lanes { columns: 2; column-gap: 16px; }
.pop-it { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; text-align: left; border: 0; background: none; padding: 7px 8px; border-radius: 8px; cursor: pointer; color: var(--ink); text-decoration: none; font-size: 13px; }
.pop-it:hover { background: #f5f2e9; } .pop-it.on { background: #fff4db; }
.pop-it i { font-style: normal; font-size: 11px; color: var(--ink-3); }
.pop-it:disabled { opacity: .45; cursor: default; }
.pop-used { display: grid; gap: 3px; margin-top: 8px; font-size: 12px; }
.pop-used a { color: var(--blue); cursor: pointer; }
.pop-row { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.sp-list { max-height: 50vh; overflow: auto; }
.sp-it { display: grid; grid-template-columns: 18px 16px 1fr; gap: 6px; align-items: start; padding: 5px 0; cursor: pointer; font-size: 13px; }
.sp-it i { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-3); }

/* ---------------- trang danh sách */
.sd-crit-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sd-crit { background: #fff; border-radius: 18px; padding: 18px; display: flex; gap: 14px; box-shadow: var(--shadow); border-top: 4px solid var(--c); }
.sd-crit .ci { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); display: grid; place-items: center; flex: none; }
.sd-crit .cn { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--c); line-height: 1; }
.sd-crit .cs { font-weight: 600; margin: 4px 0 6px; }
.sd-crit-plus { grid-column: 1 / -1; text-align: center; font-family: var(--serif); font-size: 30px; font-weight: 700; display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 6px; }
.sd-crit-plus i { color: var(--ink-3); font-style: normal; }
.sd-card .tt { font-size: 18px; font-weight: 700; margin: 8px 0 4px; }
.sd-card .sm { font-size: 13px; color: var(--ink-2); }
.sd-card-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sd-cm { background: #d8e8f2; color: #1f4a66; display: inline-flex; gap: 3px; align-items: center; }
.sd-spark { width: 100%; height: 56px; margin: 10px 0 6px; display: block; }
.sd-card-ft { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.sd-new { display: grid; gap: 6px; align-content: start; border: 2px dashed #d2cbbb; background: #fcfaf5; }
.sd-new .tt { font-size: 18px; font-weight: 700; }
@media (max-width: 900px) { .sd-crit-band { grid-template-columns: 1fr; } }

/* ---------------- trình chạy mô phỏng */
.sdm-bg { position: fixed; inset: 0; z-index: 1100; background: radial-gradient(ellipse at 50% 30%, rgba(27, 66, 56, .96), rgba(5, 14, 11, .97)); backdrop-filter: blur(6px); }
.sdm { display: grid; grid-template-columns: 270px 1fr 380px; height: 100%; color: #e7eee9; }
.sdm-steps { overflow-y: auto; padding: 16px 12px 30px; border-right: 1px solid rgba(255, 255, 255, .08); }
.sg { margin-bottom: 10px; }
.sg-h { font-size: 12px; font-weight: 600; color: #fff; border-left: 3px solid var(--pc); padding: 2px 8px; margin: 8px 0 4px; }
.sg-h b { color: var(--gold-soft); margin-right: 4px; }
.sg-s { display: block; width: 100%; text-align: left; border: 0; background: none; color: #b9c9c1; font-size: 12.5px; padding: 5px 10px 5px 14px; border-radius: 8px; cursor: pointer; line-height: 1.35; }
.sg-s:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sg-s.on { background: var(--gold); color: #1a1406; font-weight: 700; }
.sg-s.no { opacity: .5; }
.sdm-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-width: 0; padding: 10px; }
.sdm-top { display: flex; gap: 10px; align-items: center; font-size: 14px; max-width: 100%; }
.sdm-top b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdm-top .stg-id { color: #fff; }
.sdm-top .muted { color: #9fb3aa; }
.pf-wrap { position: relative; flex: none; }
.pf { position: absolute; top: 0; left: 0; width: 418px; height: 872px; transform-origin: 0 0; border-radius: 60px; background: linear-gradient(145deg, #2a302e, #0b0f0e); padding: 14px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px #3a403e, inset 0 0 0 6px #111; }
.pf-notch { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 118px; height: 32px; background: #000; border-radius: 20px; z-index: 5; }
.pf-host { width: 390px; height: 844px; border-radius: 46px; overflow: hidden; background: #f6f3ec; position: relative; }
.sdm-nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.sdm-nav button { display: inline-flex; gap: 6px; align-items: center; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: 13px; }
.sdm-nav button:hover { background: rgba(255, 255, 255, .12); }
.sdm-nav button.on { background: var(--gold); color: #1a1406; }
.sdm-nav span { color: #9fb3aa; font-size: 13px; min-width: 60px; text-align: center; }
.sdm-ctx { overflow-y: auto; padding: 18px 18px 40px; border-left: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); font-size: 13px; }
.cx-emo { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 12px; }
.cx-emo i { color: #f1d9a0; }
.cx-emo .em { width: 34px; height: 34px; border-radius: 50%; flex: none; background: #c7a13a; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5); }
.cx-emo .em2 { background: #3f8a5a; } .cx-emo .em1 { background: #7aa35a; } .cx-emo .em0 { background: #c7a13a; } .cx-emo .em-1 { background: #d07a3a; } .cx-emo .em-2 { background: #c0493a; }
.cx-xp { display: grid; gap: 4px; margin-bottom: 14px; }
.cx-xp div { display: flex; justify-content: space-between; color: var(--c); font-weight: 700; }
.cx-xp em { color: rgba(255, 255, 255, .15); font-style: normal; }
.cx-l { border-left: 3px solid #666; padding: 4px 0 4px 10px; margin: 10px 0; }
.cx-l > span { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #9fb3aa; font-weight: 700; margin-bottom: 3px; }
.cx-l ul { margin: 0; padding-left: 16px; }
.cx-l.z-customer { border-color: #e0a45e; } .cx-l.z-front { border-color: #5fb58b; } .cx-l.z-back { border-color: #6fa3c6; } .cx-l.z-support { border-color: #9aa0a6; } .cx-l.z-meta { border-color: #c9a24c; }
.sdm-ctx .sup { cursor: default; }
.sdm-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 5; }
@media (max-width: 1200px) { .sdm { grid-template-columns: 220px 1fr 300px; } }
@media (max-width: 900px) { .sdm { grid-template-columns: 1fr; } .sdm-steps, .sdm-ctx { display: none; } }

/* ================================================================ MÀN HÌNH APP (390 × 844) */
.ph-screen { width: 390px; height: 844px; display: flex; flex-direction: column; background: #f6f3ec; font-family: var(--sans); font-size: 14px; line-height: 1.45; color: #16231f; overflow: hidden; position: relative; text-align: left; }
.ph-screen * { box-sizing: border-box; }
.ph-screen .pi { flex: none; vertical-align: middle; }
.ph-status { height: 50px; flex: none; padding: 16px 30px 0; display: flex; justify-content: space-between; font-size: 14px; }
.ph-status span { display: inline-flex; gap: 4px; align-items: center; font-size: 11.5px; font-weight: 600; }
.ph-status.dk { color: #fff; }
.ph-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 16px 10px; }
.ph-head .t { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; min-width: 0; }
.ph-head .sp { flex: 1; }
.ph-ic { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); cursor: pointer; }
.ph-logo { display: inline-flex; gap: 6px; align-items: center; font-family: var(--serif); font-weight: 700; font-size: 22px; color: #12302a; letter-spacing: .03em; }
.ph-logo .pi { color: #c8922f; }
.ph-body { flex: 1; overflow-y: auto; padding: 0 16px 18px; scrollbar-width: none; }
.ph-body::-webkit-scrollbar { display: none; }
.ph-screen:has(.ph-cart) .ph-body { padding-bottom: 110px; }
.ph-cta { flex: none; padding: 10px 16px 26px; background: linear-gradient(180deg, rgba(246, 243, 236, 0), #f6f3ec 26%); }
.ph-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-btn { height: 52px; width: 100%; border: 0; border-radius: 16px; background: #12302a; color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-family: inherit; margin: 6px 0; }
.ph-btn.gold { background: linear-gradient(135deg, #e3b85a, #c8922f); color: #1a1406; box-shadow: 0 10px 22px -12px rgba(200, 146, 47, .9); }
.ph-btn.ghost { background: #fff; color: #12302a; border: 1.5px solid #d2cbbb; }
.ph-btn.sm { height: 40px; font-size: 13px; border-radius: 12px; margin: 0; }
.ph-btn.stop { background: #b5483b; margin-top: 12px; }
.ph-btn.sos { background: #b5483b; height: 58px; font-size: 18px; letter-spacing: .12em; margin-top: 14px; }
.ph-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; background: #eaeee8; font-size: 11.5px; font-weight: 600; color: #34453f; white-space: nowrap; }
.ph-chip.gold { background: #f6e7c3; color: #6b4f12; } .ph-chip.mint { background: #e2efe4; color: #245b3d; } .ph-chip.amber { background: #fbe7cf; color: #8a4e12; }
.ph-chip.no { background: #f6dfdb; color: #8f3326; } .ph-chip.ok { background: #dff0e2; color: #1f6a3a; } .ph-chip.ink { background: #1b4238; color: #fff; } .ph-chip.on { background: #12302a; color: #fff; }
.ph-chip.glass { background: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); box-shadow: none; border: 0; border-radius: 99px; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.ph-card { background: #fff; border-radius: 18px; padding: 14px; margin: 10px 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 26px -18px rgba(12, 31, 25, .4); }
.ph-card.row { display: flex; gap: 12px; align-items: center; }
.ph-card.row > .pi { color: #12302a; }
.ph-card.row .ph-btn { width: auto; flex: none; padding: 0 16px; }
.ph-card.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-card ul, .ph-card ol { margin: 4px 0; padding-left: 18px; font-size: 13px; }
.ph-card li { margin: 3px 0; }
.ph-card.aiS { display: flex; gap: 10px; background: linear-gradient(135deg, #f1f6ef, #fdf6e6); border: 1px solid #e8dfc6; font-size: 13px; }
.ph-card.aiS > .pi { color: #c8922f; }
.ph-card.warnC { display: flex; gap: 10px; background: #fff5e6; border: 1px solid #f0cf9e; font-size: 13px; }
.ph-card.warnC > .pi { color: #c7892a; }
.ph-card.ok { background: #eef7ef; }
.ph-card.honest { display: flex; gap: 10px; border: 1px dashed #d2cbbb; box-shadow: none; }
.ph-card.rec { border: 2px solid #d8a948; }
.ph-card.hostC { display: flex; gap: 12px; align-items: center; }
.ph-card.pass { display: flex; gap: 12px; align-items: center; background: #f2f7ef; }
.ph-card.pass .st { width: 50px; height: 50px; border-radius: 50%; background: #2f7a5b; color: #fff; display: grid; place-items: center; flex: none; }
.ph-card.sos { background: #fff1ee; }
.ph-card.lines .ph-kv:last-child { border-bottom: 0; }
.ph-cap { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #7a8a84; font-weight: 700; margin: 12px 0 6px; display: flex; align-items: center; gap: 6px; }
.ph-card .ph-cap:first-child { margin-top: 0; }
.ph-cap.ok { color: #1f6a3a; } .ph-cap.no { color: #8f3326; } .ph-cap.gold { color: #a4781c; }
.mut { color: #6d7c76; font-size: 12.5px; } .mut.sm, .ph-screen .sm { font-size: 11.5px; }
.ph-img { border-radius: 18px; background-size: cover; background-position: center; position: relative; margin: 8px 0; overflow: hidden; }
.ph-hero { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.ph-hero b { font-size: 23px; line-height: 1.15; } .ph-hero span { font-size: 13px; opacity: .92; }
.ph-hero.sm b { font-size: 17px; }
.ph-hero .ph-chip { align-self: flex-start; }
.ph-hello { font-size: 22px; font-weight: 700; margin: 2px 0 10px; line-height: 1.25; }
.ph-search { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 14px; padding: 13px 14px; color: #7a8a84; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); font-size: 13.5px; }
.ph-search.sm { padding: 10px 12px; margin: 8px 0; }
.ph-sec { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 15px; margin: 16px 0 6px; }
.ph-sec a { color: #a4781c; font-size: 12px; font-weight: 600; }
.ph-hs { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.ph-trip { flex: 0 0 226px; background: #fff; border-radius: 18px; padding: 8px 8px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.ph-trip .ph-img { margin: 0 0 4px; }
.ph-trip b { font-size: 14px; padding: 0 4px; } .ph-trip > span { padding: 0 4px; display: flex; gap: 4px; flex-wrap: wrap; }
.ph-trip em { font-style: normal; font-weight: 700; color: #12302a; padding: 0 4px; }
.ph-360 { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #e3b85a, #c8922f); color: #1a1406; display: grid; place-items: center; font-weight: 800; flex: none; }
.ph-day { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0ece2; font-size: 13.5px; }
.ph-day:last-child { border-bottom: 0; }
.ph-day .n { width: 28px; height: 28px; border-radius: 50%; background: #12302a; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.ph-day .ph-bar { width: 60px; }
.ph-layout { width: 100%; height: auto; margin: 4px 0 6px; }
.chat .bub { max-width: 84%; padding: 10px 13px; border-radius: 18px; margin: 8px 0; font-size: 14px; width: fit-content; }
.bub.ai { background: #fff; border-top-left-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.bub.me { margin-left: auto; background: #12302a; color: #fff; border-top-right-radius: 6px; }
.bub.hu { background: #fdf4df; border-top-left-radius: 6px; }
.bub .who { display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 700; color: #a4781c; margin-bottom: 4px; }
.ph-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.ph-quick button { background: #fff; border: 1.5px solid #12302a; border-radius: 99px; padding: 8px 14px; font: 600 13px var(--sans); color: #12302a; cursor: pointer; }
.ph-quick button:hover { background: #12302a; color: #fff; }
.ph-input { flex: none; margin: 8px 16px 26px; background: #fff; border-radius: 99px; padding: 13px 18px; display: flex; justify-content: space-between; align-items: center; color: #7a8a84; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.ph-hint { font-size: 11.5px; color: #6d7c76; text-align: center; margin: 2px 0 6px; display: flex; gap: 4px; justify-content: center; align-items: center; }
.ph-aiT { display: inline-flex; gap: 6px; align-items: center; color: #12302a; }
.ph-aiT .pi { color: #c8922f; }
.ph-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #eee6d6; font-size: 13px; }
.ph-kv span { color: #45554f; } .ph-kv b { text-align: right; font-weight: 600; }
.ph-kv.big span { color: #12302a; font-weight: 700; } .ph-kv.big b { font-size: 17px; color: #12302a; }
.ph-sig { display: grid; grid-template-columns: 128px 1fr 40px; gap: 8px; align-items: center; font-size: 12.5px; margin: 6px 0; }
.ph-sig em { font-style: normal; text-align: right; font-weight: 700; color: #12302a; }
.ph-bar { display: inline-block; height: 7px; background: #eef1ec; border-radius: 99px; overflow: hidden; width: 100%; vertical-align: middle; }
.ph-bar i { display: block; height: 100%; background: linear-gradient(90deg, #9cc27a, #2f7a5b); border-radius: 99px; }
.ph-ring { width: 74px; height: 74px; border-radius: 50%; flex: none; background: conic-gradient(#d8a948 calc(var(--p) * 1%), #eee8da 0); display: grid; place-content: center; text-align: center; position: relative; }
.ph-ring::before { content: ''; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.ph-ring b, .ph-ring i { position: relative; line-height: 1.05; }
.ph-ring b { font-size: 17px; } .ph-ring i { font-style: normal; font-size: 10px; color: #7a8a84; }
.rec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rec-h b { font-size: 17px; display: block; }
ul.why { list-style: none; padding: 0; margin: 4px 0 6px; }
ul.why li { display: flex; gap: 8px; margin: 7px 0; font-size: 13px; }
ul.why .pi { color: #2f7a5b; margin-top: 2px; }
.ph-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ph-tier { background: #fff; border: 1.5px solid #e3ded2; border-radius: 16px; padding: 14px 8px 10px; text-align: left; position: relative; display: flex; flex-direction: column; gap: 3px; cursor: pointer; font-family: inherit; color: #16231f; }
.ph-tier.star { border-color: #d8a948; }
.ph-tier.on { border-color: #12302a; box-shadow: inset 0 0 0 1.5px #12302a; background: #fbfaf5; }
.ph-tier i { font-style: normal; font-weight: 800; color: #a4781c; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.ph-tier b { font-size: 16.5px; letter-spacing: -.01em; }
.ph-tier span { font-size: 11px; font-weight: 700; color: #12302a; }
.ph-tier em { font-style: normal; color: #6d7c76; font-size: 10.5px; line-height: 1.3; }
.ph-tier small { font-size: 10px; color: #7a8a84; margin-top: 2px; }
.ph-tier .rib, .ph-combo .rib { position: absolute; top: -10px; left: 8px; background: linear-gradient(135deg, #e3b85a, #c8922f); color: #1a1406; font-weight: 800; font-size: 10px; padding: 2px 8px; border-radius: 99px; }
.ph-alt { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 1.5px solid #e3ded2; border-radius: 14px; padding: 12px; margin: 8px 0; cursor: pointer; font-family: inherit; color: #16231f; }
.ph-alt.on { border-color: #12302a; }
.ph-alt b { font-size: 13.5px; }
.ph-alt em { font-style: normal; font-weight: 700; white-space: nowrap; }
.ph-alt .warn { color: #8a4e12; font-size: 11.5px; margin-top: 3px; display: flex; gap: 4px; align-items: center; }
.ph-think { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 110px; text-align: center; }
.ph-think .orb { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff5d8, #d8a948 60%, #a4781c); color: #fff; display: grid; place-items: center; animation: orb 1.4s ease-in-out infinite; box-shadow: 0 0 0 12px rgba(216, 169, 72, .15), 0 0 0 26px rgba(216, 169, 72, .07); }
@keyframes orb { 50% { transform: scale(1.08); } }
.ph-think b { font-size: 16px; margin-bottom: 8px; }
.ph-tk { opacity: 0; animation: tkIn .4s forwards; font-size: 13.5px; display: flex; gap: 6px; align-items: center; color: #245b3d; }
@keyframes tkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ph-row2 { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.ph-row2 > .ph-seg { flex: 1; }
.ph-seg { display: flex; background: #e6eae3; border-radius: 12px; padding: 3px; gap: 2px; }
.ph-seg button { flex: 1; border: 0; background: transparent; padding: 8px 4px; border-radius: 10px; font: 600 12.5px var(--sans); color: #45554f; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
.ph-seg button.on { background: #fff; color: #12302a; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.ph-seg button.na { opacity: .3; cursor: not-allowed; }
.ph-seg button i { font-style: normal; font-size: 10.5px; }
.ph-seg.full { margin: 4px 0 10px; } .ph-seg.sm button { padding: 6px 4px; }
.ph-sum { background: #fff; border-radius: 16px; padding: 8px 14px; margin: 10px 0; }
.ph-sum .ph-kv:last-child { border-bottom: 0; }
.ph-veh { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; background: #fff; border: 1.5px solid #e3ded2; border-radius: 18px; padding: 14px; margin: 8px 0; cursor: pointer; font-family: inherit; color: #16231f; }
.ph-veh.on { border-color: #12302a; box-shadow: inset 0 0 0 1px #12302a; }
.ph-veh .vi { width: 56px; height: 56px; border-radius: 14px; background: #eef1ec; display: grid; place-items: center; flex: none; color: #12302a; }
.ph-veh > div { flex: 1; min-width: 0; }
.ph-veh .ln { font-weight: 800; font-size: 10.5px; color: #a4781c; text-transform: uppercase; letter-spacing: .05em; }
.ph-veh b { display: block; font-size: 15px; }
.ph-veh em { font-style: normal; font-weight: 700; white-space: nowrap; text-align: right; }
.ph-veh em small { display: block; font-weight: 500; color: #7a8a84; font-size: 11px; }
.ph-veh .fit { font-size: 12px; margin-top: 6px; display: flex; gap: 4px; align-items: center; }
.fit.ok { color: #1f6a3a; } .fit.warn { color: #8a4e12; } .fit.alt { color: #3f6f8f; }
.ph-models { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-models button { border: 1.5px solid #e3ded2; background: #fff; border-radius: 99px; padding: 6px 12px; font: 600 12.5px var(--sans); cursor: pointer; }
.ph-models button.on { background: #12302a; color: #fff; border-color: #12302a; }
.ph-up { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ph-up span { aspect-ratio: 1; border: 1.5px dashed #c9c1ad; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; color: #7a8a84; }
.ph-up span i { font-style: normal; }
.ph-up span.ok { border-style: solid; border-color: #9cc27a; background: #eef7ef; color: #1f6a3a; }
.ph-card.res { border-left: 4px solid #c7892a; font-size: 13px; }
.ph-card.res.no { border-left-color: #b5483b; }
.res-h { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; font-size: 14px; }
.ph-card.res.no .res-h { color: #8f3326; } .ph-card.res.check .res-h { color: #8a4e12; }
.ph-lim { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.ph-lim span { font-size: 11.5px; padding: 4px 8px; border-radius: 8px; background: #f2f1ec; display: inline-flex; gap: 4px; align-items: center; }
.ph-lim span.ok { background: #e2f0e4; color: #1f6a3a; } .ph-lim span.no { background: #f6dfdb; color: #8f3326; } .ph-lim span.check { background: #fbeccb; color: #8a4e12; }
.ph-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11.5px; color: #45554f; margin: 2px 0 6px; }
.ph-legend span { display: inline-flex; gap: 4px; align-items: center; }
.ph-legend em { font-style: normal; color: #a4781c; font-weight: 700; }
.ph-night { background: #fff; border-radius: 16px; padding: 10px 12px; margin: 8px 0; }
.ph-night .nh { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.ph-night .nh span { color: #7a8a84; }
.ph-night .ppl { font-size: 11.5px; color: #6d7c76; margin-top: 6px; }
.ph-tiersV { display: grid; gap: 14px; margin-top: 14px; }
.ph-combo { background: #fff; border: 1.5px solid #e3ded2; border-radius: 18px; padding: 16px 14px 12px; position: relative; }
.ph-combo.on { border-color: #12302a; box-shadow: inset 0 0 0 1px #12302a; }
.ph-combo .ch { display: flex; justify-content: space-between; gap: 10px; }
.ph-combo .ch b { font-size: 16px; }
.ph-combo .ch em { font-style: normal; font-weight: 800; font-size: 17px; white-space: nowrap; }
.ph-combo .rows { margin: 10px 0 8px; }
.ph-combo .rows div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; font-size: 12px; padding: 5px 0; border-bottom: 1px dashed #eee6d6; }
.ph-combo .rows span { color: #7a8a84; } .ph-combo .rows b { font-weight: 500; }
.ph-combo .gear { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 10px; }
.ph-combo .gear span { width: 30px; height: 30px; border-radius: 9px; background: #f2f1ec; display: grid; place-items: center; color: #12302a; }
.ph-combo .gear i { font-style: normal; font-size: 11px; color: #7a8a84; }
details.ph-card.base summary { cursor: pointer; font-weight: 700; display: flex; gap: 6px; align-items: center; font-size: 13px; list-style: none; }
details.ph-card.base summary .pi { color: #2f7a5b; }
.ph-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-cats button { background: #fff; border: 0; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; cursor: pointer; font-family: inherit; color: #16231f; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.ph-cats b { font-size: 13px; } .ph-cats i { font-style: normal; color: #7a8a84; font-size: 11px; }
.c-shelter { --cc: #2f7a5b; } .c-sleep { --cc: #6d5a91; } .c-furniture { --cc: #a4781c; } .c-kitchen { --cc: #c46a4a; } .c-cool { --cc: #3f7a8c; }
.c-power { --cc: #c7892a; } .c-water { --cc: #3f6f8f; } .c-kids { --cc: #d4568b; } .c-bike { --cc: #5f8a4e; } .c-safety { --cc: #b5483b; }
.ph-cats button .pi, .ph-prod .pth { color: var(--cc); }
.ph-prod { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 10px; margin: 8px 0; cursor: pointer; }
.ph-prod .pth { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--cc) 13%, #fff); }
.ph-prod .pi { flex: 1; min-width: 0; }
.ph-prod .pi .ph-chips { margin: 4px 0 0; } .ph-prod .pi .ph-chip { font-size: 10px; padding: 2px 7px; }
.ph-prod .pbr { font-weight: 800; font-size: 10px; text-transform: uppercase; color: #7a8a84; letter-spacing: .05em; }
.ph-prod b { display: block; font-size: 13.5px; line-height: 1.3; }
.ph-prod .pr, .ph-svc .pr { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.ph-prod .pr em, .ph-svc .pr em { font-style: normal; font-weight: 700; font-size: 13px; }
.ph-step { display: inline-flex; align-items: center; gap: 6px; background: #f2f1ec; border-radius: 99px; padding: 3px; }
.ph-step button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; color: #12302a; }
.ph-step b { min-width: 14px; text-align: center; font-size: 13px; }
.ph-crumb { font-size: 12px; color: #a4781c; cursor: pointer; display: flex; gap: 4px; align-items: center; margin: 8px 0 2px; font-weight: 600; }
.ph-h3 { font-size: 18px; margin: 6px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ph-h3 small { font-size: 11px; color: #7a8a84; font-weight: 500; font-style: italic; }
.ph-prod-big { height: 180px; border-radius: 22px; background: linear-gradient(145deg, #eef1ec, #dfe7dc); display: grid; place-items: center; color: #12302a; margin: 6px 0 10px; }
.ph-svc { display: flex; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; margin: 6px 0; }
.ph-svc > div:first-child { flex: 1; min-width: 0; }
.ph-svc .code { font: 800 10px ui-monospace, Menlo, monospace; background: #12302a; color: #fff; border-radius: 5px; padding: 1px 5px; margin-right: 6px; }
.ph-svc b { font-size: 13px; }
.ph-svc .cut { font-size: 11px; color: #8a4e12; margin-top: 3px; display: flex; gap: 4px; align-items: center; }
.ph-cart { position: absolute; left: 12px; right: 12px; bottom: 20px; background: #12302a; color: #fff; border-radius: 22px; padding: 10px 10px 10px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55); z-index: 3; }
.ph-cart .cb { flex: 1; display: flex; align-items: center; gap: 8px; cursor: pointer; min-width: 0; }
.ph-cart .cb em { font-style: normal; font-weight: 800; color: #f1d9a0; }
.ph-cart .cb span { font-size: 11px; opacity: .75; margin-left: auto; }
.ph-cart .ph-btn { width: auto; padding: 0 16px; flex: none; }
.ph-cart .cl { width: 100%; font-size: 12.5px; max-height: 330px; overflow: auto; padding-right: 6px; }
.ph-cart .cl div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ph-cart .cl em { font-style: normal; color: #f1d9a0; }
.ph-cart .aiT { font-size: 11.5px; color: #f1d9a0; margin: 8px 0 2px; display: flex; gap: 6px; border: 0 !important; justify-content: flex-start !important; }
.ph-three { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; margin: 6px 0; }
.ph-three > div { background: #fff; border-radius: 16px; padding: 10px; }
.ph-three i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #12302a; color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 700; }
.ph-three span { display: block; font-size: 10.5px; color: #7a8a84; margin: 5px 0 3px; line-height: 1.25; }
.ph-three b { font-size: 14px; }
.ph-three .a { background: #12302a; color: #fff; } .ph-three .a span { color: #cfe0d8; } .ph-three .a i { background: #d8a948; color: #1a1406; } .ph-three .a b { font-size: 18px; }
.ph-tl { position: relative; padding-left: 20px; }
.ph-tl::before { content: ''; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: #e3ded2; }
.ph-tl > div { position: relative; padding: 7px 0 7px 4px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.ph-tl > div > i { position: absolute; left: -19px; top: 12px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c9c1ad; background: #fff; }
.ph-tl > div.ok > i, .ph-tl.done > div > i { background: #2f7a5b; border-color: #2f7a5b; }
.ph-tl b { white-space: nowrap; }
.ph-tl.day > div { justify-content: flex-start; }
.ph-check { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: #fff; border-radius: 12px; margin: 6px 0; font-size: 13px; cursor: pointer; }
.ph-check .pi { width: 22px; height: 22px; padding: 3px; border-radius: 50%; border: 1.5px solid #c9c1ad; color: #b9b2a3; }
.ph-check.on .pi { background: #2f7a5b; border-color: #2f7a5b; color: #fff; }
.ph-check.dim { opacity: .6; }
.ph-check.redo { border: 1px dashed #c7892a; }
.ph-check.redo .pi { border-color: #c7892a; color: #c7892a; }
.ph-check em { font-style: normal; margin-left: auto; color: #8a4e12; font-size: 11px; font-weight: 700; }
.ph-state { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 99px; background: #fbeccb; color: #8a4e12; font-size: 12.5px; font-weight: 600; margin: 4px 0; }
.ph-state.ok { background: #e2f0e4; color: #1f6a3a; }
.ph-amt { text-align: center; margin: 18px 0; }
.ph-amt span { color: #7a8a84; font-size: 13px; }
.ph-amt b { display: block; font-size: 36px; letter-spacing: -.02em; margin: 2px 0; }
.ph-amt i { display: block; font-style: normal; font-size: 11.5px; color: #7a8a84; }
.ph-pm { display: flex; align-items: center; gap: 12px; width: 100%; background: #fff; border: 1.5px solid #e3ded2; border-radius: 14px; padding: 12px 14px; margin: 6px 0; text-align: left; font: 14px var(--sans); cursor: pointer; color: #16231f; }
.ph-pm.on { border-color: #12302a; }
.ph-pm span { flex: 1; }
.ph-pm .pi:last-child { color: #2f7a5b; }
.ph-qrbox { text-align: center; margin: 10px 0; }
.ph-qrbox .qr, .ph-qrbig .qr { border-radius: 10px; }
.ph-sim { text-align: center; font-size: 10px; color: #a0957c; margin: 14px 0 2px; letter-spacing: .08em; text-transform: uppercase; }
.ph-conf { flex: none; text-align: center; padding: 6px 20px 12px; }
.ph-conf > .pi { width: 60px; height: 60px; padding: 13px; border-radius: 50%; background: #2f7a5b; color: #fff; box-shadow: 0 0 0 10px rgba(47, 122, 91, .14); }
.ph-conf b { display: block; font-size: 20px; margin-top: 12px; }
.ph-conf span { color: #7a8a84; font-size: 12.5px; }
.ph-tb { background: #fff; border-radius: 20px; overflow: hidden; padding-bottom: 10px; box-shadow: 0 10px 26px -18px rgba(12, 31, 25, .4); }
.ph-tb .ph-img { margin: 0; border-radius: 0; }
.ph-tb .tbg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; }
.ph-tb .tbg span { background: #f5f3ec; border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; text-align: center; }
.ph-tb .tbg i { font-style: normal; }
.ph-ack { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 0; border-bottom: 1px dashed #eee6d6; }
.ph-ack em { margin-left: auto; font-style: normal; font-size: 11px; color: #8a4e12; white-space: nowrap; }
.ph-ack.ok em { color: #1f6a3a; } .ph-ack.ok > .pi { color: #2f7a5b; } .ph-ack > .pi { color: #c7892a; }
.ph-idcard { height: 200px; border-radius: 20px; background: #1b2a26; position: relative; display: grid; place-items: center; overflow: hidden; margin: 6px 0 12px; }
.ph-idcard .f { width: 80%; height: 62%; border: 2px dashed #f1d9a0; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #f1d9a0; font-size: 12px; }
.ph-idcard .scan { position: absolute; left: 10%; right: 10%; height: 2px; background: #9cc27a; box-shadow: 0 0 14px #9cc27a; animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 25%; } 50% { top: 72%; } }
.ph-prog { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.ph-prog b { font-size: 20px; } .ph-prog span { font-size: 12px; color: #7a8a84; white-space: nowrap; }
.ph-prog .ph-bar { flex: 1; }
.ph-prog.big { background: #fff; border-radius: 18px; padding: 12px; }
.ph-vid { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; margin: 6px 0; }
.ph-vid .th { width: 62px; height: 42px; border-radius: 10px; background: #12302a; color: #fff; display: grid; place-items: center; flex: none; }
.ph-vid.ok .th { background: #2f7a5b; }
.ph-vid b { font-size: 13px; }
.ph-card.quiz button { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; background: #f5f3ec; border: 1.5px solid transparent; border-radius: 12px; padding: 10px 12px; margin: 6px 0; font: 13px var(--sans); cursor: pointer; }
.ph-card.quiz button.ok { border-color: #2f7a5b; background: #e2f0e4; } .ph-card.quiz button.no { border-color: #b5483b; background: #f6dfdb; }
.ph-card.quiz > b { display: block; margin-bottom: 4px; }
.ph-qrbig { text-align: center; background: #fff; border-radius: 22px; padding: 18px; margin: 10px 0; }
.ph-qrbig b { display: block; font-size: 22px; letter-spacing: .12em; margin-top: 8px; }
.ph-qrbig span { color: #7a8a84; font-size: 12.5px; }
.ph-top { width: 100%; height: auto; margin: 4px 0; }
.ph-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; }
.ph-photos span { aspect-ratio: 1; border-radius: 10px; background: #eef1ec; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 9.5px; text-align: center; padding: 2px; color: #7a8a84; }
.ph-photos span.ok { background: #e2f0e4; color: #1f6a3a; }
.ph-photos i { font-style: normal; }
.ph-sign { height: 110px; border: 1.5px dashed #c9c1ad; border-radius: 14px; display: grid; place-items: center; color: #7a8a84; cursor: pointer; }
.ph-sign.on { border-style: solid; border-color: #2f7a5b; background: #fbfdfb; }
.ph-sign svg { width: 80%; }
.ph-screen.drive { background: #0e1714; color: #fff; }
.ph-drive { position: relative; margin: 0 12px; flex: none; }
.ph-drive .ph-map { height: 290px; }
.ph-drive .dv-top { position: absolute; top: 10px; left: 10px; }
.ph-drive .off { background: rgba(0, 0, 0, .65); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 99px; display: inline-flex; gap: 4px; align-items: center; }
.drv .ph-next { background: #1b2a26; border-radius: 18px; padding: 14px; margin: 10px 0; }
.ph-next span { font-size: 11px; color: #9fb3aa; text-transform: uppercase; letter-spacing: .06em; }
.ph-next b { display: block; font-size: 17px; margin: 2px 0; }
.ph-next em { font-style: normal; color: #f1d9a0; font-weight: 700; }
.ph-eta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-eta > div { background: #1b2a26; border-radius: 16px; padding: 12px; }
.ph-eta span, .ph-eta i { font-size: 11px; color: #9fb3aa; font-style: normal; }
.ph-eta b { display: block; font-size: 24px; margin: 2px 0; }
.drv .ph-card.aiS { background: #1b2a26; border-color: #2c3f39; color: #cfe0d8; }
.ph-map { width: 100%; height: auto; display: block; border-radius: 16px; margin: 6px 0; }
.ph-sleep { background: #fff; border-radius: 16px; padding: 12px; margin: 10px 0; font-size: 13px; }
.ph-sleep div { display: flex; gap: 6px; margin: 6px 0; }
.ph-sleep i { color: #d2cbbb; } .ph-sleep i.on { color: #6d5a91; }
.ph-sleep em { font-style: normal; font-size: 11px; color: #7a8a84; }
.ph-pin { background: #12302a; color: #fff; border-radius: 22px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin: 6px 0; }
.ph-pin span { font-size: 11px; color: #9fb3aa; grid-column: 1; }
.ph-pin b { font-size: 32px; letter-spacing: .18em; grid-column: 1; }
.ph-pin .qr { grid-row: 1 / 3; grid-column: 2; border-radius: 8px; }
.ph-ritual { display: flex; gap: 4px; overflow-x: auto; margin: 10px -16px; padding: 0 16px; scrollbar-width: none; }
.ph-ritual span { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px; border-radius: 12px; background: #fff; font-size: 10px; min-width: 56px; color: #7a8a84; }
.ph-ritual span.ok { background: #e2f0e4; color: #1f6a3a; }
.ph-ritual i { font-style: normal; }
.ph-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-choice button { background: #fff; border: 1.5px solid #e3ded2; border-radius: 16px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font: 12.5px var(--sans); cursor: pointer; color: #16231f; }
.ph-choice span { font-size: 32px; }
.ph-choice button.on { border-color: #d8a948; background: #fff8e6; box-shadow: inset 0 0 0 1px #d8a948; }
.stamps { display: flex; justify-content: space-between; width: 100%; }
.stamps span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; color: #b9b2a3; }
.stamps .pi { width: 38px; height: 38px; padding: 8px; border-radius: 50%; border: 2px dashed #d2cbbb; }
.stamps span.on { color: #2f7a5b; } .stamps span.on .pi { border-style: solid; border-color: #2f7a5b; background: #e2f0e4; }
.stamps i { font-style: normal; }
.ph-alert { flex: none; background: linear-gradient(135deg, #8f3326, #b5483b); color: #fff; margin: 0 12px 8px; border-radius: 18px; padding: 14px; display: flex; gap: 10px; }
.ph-alert b { display: block; } .ph-alert span { font-size: 12px; opacity: .88; }
.ph-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-ba > div { background: #fff; border-radius: 14px; padding: 8px; }
.ph-ba i { font-style: normal; font-size: 11px; color: #7a8a84; }
.ph-ba .ph { height: 92px; background: #f2f1ec; border-radius: 10px; display: grid; place-items: center; position: relative; color: #12302a; margin-top: 4px; }
.ph-ba .pmk { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #c7892a; color: #fff; font-size: 10px; display: grid; place-items: center; top: 18px; left: 22px; font-weight: 700; }
.ph-ba .pmk.b { top: 58px; left: auto; right: 24px; background: #b5483b; }
.ph-find { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #eee6d6; font-size: 13px; }
.ph-find:last-child { border-bottom: 0; }
.ph-find > .pi { color: #c7892a; margin-top: 2px; } .ph-find.ok > .pi { color: #2f7a5b; }
.ph-rate { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 10px 12px; margin: 6px 0; font-size: 13px; }
.ph-rate span { flex: 1; }
.ph-rate > .pi { color: #12302a; }
.ph-rate div { display: flex; gap: 5px; }
.ph-rate b { width: 18px; height: 18px; border-radius: 50%; background: #eee8da; cursor: pointer; }
.ph-rate b.on { background: #d8a948; }
.ph-ta { background: #f5f3ec; border-radius: 12px; padding: 10px; min-height: 60px; font-size: 13px; color: #45554f; font-style: italic; }
.ph-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0; }
.ph-album span { aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.ph-album i { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; font-size: 9.5px; color: #fff; font-style: normal; background: rgba(18, 48, 42, .5); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); padding: 6px; }
.ph-mem { display: flex; justify-content: space-around; margin: 12px 0; }
.ph-mem span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; position: relative; }
.ph-mem span > .pi { position: absolute; top: 26px; right: -2px; width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #2f7a5b; color: #fff; }
.ph-mem i { font-style: normal; }
.ph-av { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1b4238; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.ph-av.sm { width: 24px; height: 24px; font-size: 9.5px; } .ph-av.ok { background: #2f7a5b; }
.ph-vote { display: grid; grid-template-columns: 30px 1fr 72px 18px; gap: 8px; align-items: center; padding: 6px 0; }
.ph-vote .em { font-size: 20px; } .ph-vote b { font-size: 13px; font-weight: 500; } .ph-vote em { font-style: normal; font-weight: 700; text-align: right; }
.ph-z { width: 42px; height: 42px; border-radius: 12px; background: #0068ff; color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; flex: none; }
.ph-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-slot { background: #fff; border: 1.5px solid #e3ded2; border-radius: 12px; padding: 10px 0; font: 600 13px var(--sans); cursor: pointer; color: #16231f; }
.ph-slot.on { background: #12302a; color: #fff; border-color: #12302a; }
.ph-slot.off { opacity: .45; cursor: not-allowed; }
.ph-slot i { display: block; font-size: 9.5px; font-style: normal; font-weight: 500; }
.ph-tabs { flex: none; height: 80px; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 10px; background: #fff; border-top: 1px solid #ece7dc; }
.ph-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; color: #9aa6a1; }
.ph-tabs span.on { color: #12302a; font-weight: 700; }
.ph-tabs i { font-style: normal; }
.ph-empty { text-align: center; padding-top: 220px; color: #7a8a84; display: grid; gap: 10px; justify-items: center; }
.ph-h { font-weight: 700; }
