:root{--teal:#087d76;--teal-deep:#06675f;--teal-wash:#e9f6f3;--ink:#14334b;--muted:#637887;--line:#dce5e9;--canvas:#f4f7f8;--white:#fff;--shadow:0 5px 19px rgba(17,55,68,.055);--font:"Be Vietnam Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,a{font:inherit}button,input{touch-action:manipulation}button{cursor:pointer;-webkit-tap-highlight-color:transparent}a{color:#006b66}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e5a85a;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.6}
#app{min-height:100dvh}.shell{max-width:650px;margin:0 auto;min-height:100dvh;background:#fff;box-shadow:0 18px 55px rgba(11,55,72,.055);display:flex;flex-direction:column}.topbar{height:74px;padding:12px 18px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #e5edef;background:#fff;position:sticky;top:0;z-index:20}.logo{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#e5f4f1;color:var(--teal);font-size:23px;flex:none}.brand{min-width:0;flex:1}.brand h1{font-size:17px;line-height:1.3;margin:0;font-weight:700;letter-spacing:-.012em}.brand small{font-size:12px;color:var(--muted)}.homeicon{width:42px;height:42px;border:1px solid var(--line);background:white;border-radius:12px;color:var(--teal);font-size:24px;flex:none}.content{flex:1;padding:25px 21px 44px;min-width:0}.mini-label{text-transform:uppercase;color:var(--teal);font-size:12px;font-weight:700;letter-spacing:.09em;margin:0 0 10px}.hero{font-size:27px;line-height:1.36;letter-spacing:-.02em;margin:3px 0 15px;font-weight:700}.intro{font-size:16px;color:var(--muted);line-height:1.68;margin:0 0 24px}.search-wrap{position:relative;margin:6px 0 20px}.search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:22px;color:#6c8990;pointer-events:none}.search-input{width:100%;min-height:56px;border:1.5px solid #cadbdf;border-radius:15px;padding:13px 15px 13px 45px;background:#fcfefe;font-size:16px;color:var(--ink);outline:0}.search-input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #087d761c}.section-header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:26px 0 12px}.section-header h2{font-size:19px;margin:0;line-height:1.4}.count{color:var(--muted);font-size:14px}.group-title{font-size:14px;font-weight:700;color:var(--teal-deep);margin:20px 0 10px}.card-list{display:grid;gap:10px}.choice-card{display:flex;align-items:center;gap:13px;text-align:left;width:100%;min-height:72px;padding:16px 16px;border:1.4px solid var(--line);background:#fff;border-radius:15px;color:var(--ink);line-height:1.48;box-shadow:var(--shadow);transition:background .15s,border-color .15s,transform .13s,box-shadow .15s;position:relative}.choice-card:hover{border-color:#78bdb6;background:#fbfefe;box-shadow:0 6px 20px #0a6b6110}.choice-card:active{background:var(--teal-wash);border-color:var(--teal);transform:scale(.991)}.choice-text{min-width:0;flex:1;font-size:16px;font-weight:600;overflow-wrap:anywhere}.number-bubble{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#eef3f5;color:#4e6b78;font-size:15px;font-weight:700}.chevron{font-family:Arial,sans-serif;flex:none;font-size:24px;color:#607d85;line-height:1}.procedure-card{min-height:76px}.procedure-card .number-bubble{background:#ecf7f3;color:var(--teal-deep)}.toolbar{display:flex;justify-content:space-between;gap:12px;margin:0 0 18px}.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;gap:7px;border:0;background:#eff5f5;color:#1a555e;border-radius:12px;padding:9px 13px;font-weight:600;font-size:14px;transition:background .15s}.text-button:active{background:#dcedeb}.text-button.flat{background:transparent;color:var(--teal-deep);padding-left:3px;padding-right:3px}.procedure-pill{display:inline-flex;background:var(--teal-wash);color:var(--teal-deep);border-radius:99px;padding:8px 12px;font-size:13px;font-weight:700;max-width:100%;overflow-wrap:anywhere;margin-bottom:18px}.step-label{font-size:13px;color:var(--teal);font-weight:700;letter-spacing:.07em;margin:6px 0 10px;text-transform:uppercase}.question{font-size:23px;line-height:1.44;margin:0 0 19px;letter-spacing:-.015em}.guidance{color:var(--muted);font-size:15px;line-height:1.65;margin:0 0 22px}.pathbox{margin:0 0 19px;border:1px solid #e2ecee;background:#f8fbfb;border-radius:13px;padding:0 13px}.pathbox summary{padding:12px 0;cursor:pointer;color:#47646e;font-size:14px;font-weight:700}.pathbox ol{margin:0;padding:0 0 12px 20px;font-size:14px;color:var(--muted)}.pathbox li{padding:3px 0}.success{display:flex;align-items:center;gap:9px;background:#e9f6f2;color:#0a6c55;border-radius:12px;padding:10px 12px;font-size:15px;font-weight:700;margin-bottom:15px}.success-mark{font-family:Arial,sans-serif;font-size:19px}.leaf-title{font-size:21px;line-height:1.43;overflow-wrap:anywhere;margin:6px 0 15px}.feature-heading{font-size:18px;line-height:1.45;margin:24px 0 12px}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature-button{min-height:68px;padding:12px 9px;display:flex;align-items:center;justify-content:center;gap:8px;background:#f9fbfb;color:#214653;border:1.4px solid var(--line);border-radius:13px;font-size:15px;font-weight:600;text-align:center;line-height:1.48;transition:background .15s,transform .13s,border .15s}.feature-button:active{transform:scale(.977)}.feature-button[aria-pressed="true"]{border-color:var(--teal);background:#e7f4f1;color:var(--teal-deep);box-shadow:inset 0 0 0 1px #087d7640}.detail{margin-top:19px;padding:19px 17px;border:1.5px solid #d8e7e5;border-radius:15px;background:#fff;box-shadow:var(--shadow);animation:enter .22s ease both;overflow-wrap:anywhere}.detail h3{font-size:20px;line-height:1.4;margin:0 0 15px;color:var(--teal-deep)}.detail p{font-size:16px;line-height:1.8;margin:0 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}.detail p:last-of-type{margin-bottom:0}.detail .item-num{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;margin-right:7px;font-family:Arial,sans-serif;font-size:12px;font-weight:700;color:var(--teal);background:#e9f6f2;border-radius:50%;vertical-align:baseline}.sources{border-top:1px solid #e3ebec;margin-top:21px;padding-top:13px}.sources summary{font-size:14px;color:var(--teal-deep);font-weight:700;cursor:pointer}.sources a{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin-top:10px}.actions{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}.actions button{flex:1;min-width:130px}.primary-button{min-height:50px;background:var(--teal);border:1px solid var(--teal);color:white;border-radius:12px;font-size:15px;font-weight:700;padding:11px 15px;transition:background .13s,transform .13s}.primary-button:active{background:#05675f;transform:scale(.985)}.footer{border-top:1px solid #e8eff0;padding:14px 20px 20px;font-size:13px;color:#6c7f88;text-align:center}.empty{border:1px dashed #bfd5d6;border-radius:15px;padding:19px;color:var(--muted);background:#f8fbfb}.loader,.loading-screen{min-height:45vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--muted)}.spinner{width:31px;height:31px;border:3px solid #d2e8e4;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}.error-panel{padding:22px;border:1px solid #e5c9c3;background:#fff7f5;border-radius:14px}.error-panel h2{margin:0 0 10px}.error-panel button{margin-top:12px}.meta-date{margin-top:16px;color:#6b7e86;font-size:13px}.visually-hidden{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;overflow:hidden;white-space:nowrap}.stage{animation:enter .2s ease both}@keyframes enter{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:740px){body{padding:24px}.shell{min-height:calc(100dvh - 48px);border-radius:22px;overflow:hidden}.content{padding:28px 30px 55px}.topbar{padding-left:28px;padding-right:28px}}@media(max-width:359px){.content{padding:19px 14px 36px}.brand h1{font-size:15px}.hero{font-size:25px}.question{font-size:21px}.feature-button{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* V2.2: consistent Vietnamese typography and readable long administrative text. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-synthesis:none}
.hero,.question,.leaf-title{overflow-wrap:break-word}
.choice-text,.detail p{hyphens:none}
@media(min-width:740px){.hero{font-size:30px}.question{font-size:25px}}

/* V2.3: consistent feature presentation across all Meta leaves. */
.detail{padding:21px 17px 18px;border-color:#d4e4e0}
.detail h3{margin-bottom:8px;font-size:20px;letter-spacing:-.012em}
.detail-intro{font-size:13px!important;line-height:1.55!important;color:#617884!important;margin:0 0 16px!important;padding-bottom:12px;border-bottom:1px solid #e6edeb}
.detail-intro.single{border:0;margin-bottom:6px!important;padding-bottom:0}
.feature-entry-list{margin:0;padding:0;list-style:none;display:grid;gap:10px;counter-reset:feature-step}
.feature-entry{display:flex;align-items:flex-start;gap:11px;min-width:0;padding:15px 13px;border:1px solid #dce8e8;background:#fcfdfd;border-radius:13px}
.feature-entry-list:not(.is-numbered) .feature-entry{background:#fff;border:0;padding:4px 0 0}
.entry-index{width:31px;height:31px;border-radius:10px;background:#e8f5f2;color:#096b62;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none;line-height:1.2;margin-top:1px;font-variant-numeric:tabular-nums}
.entry-body{min-width:0;flex:1;overflow-wrap:anywhere}
.detail .entry-text{font-size:16px;line-height:1.72;margin:0!important;white-space:normal;overflow-wrap:anywhere}
.entry-sublist{margin:0;padding:0 0 0 19px;display:grid;gap:10px;list-style:disc}
.entry-subline{font-size:16px;line-height:1.72;padding-left:1px;white-space:normal;overflow-wrap:anywhere}
.entry-subline::marker{color:#087d76}
.entry-text.tone-note,.entry-subline.tone-note{border-left:3px solid #d6a347;padding:5px 0 5px 11px;background:linear-gradient(90deg,#fff9eb 0%,transparent 88%)}
.entry-text.tone-condition,.entry-subline.tone-condition{border-left:3px solid #91c4bb;padding:4px 0 4px 10px}
.detail .sources{margin-top:20px}
@media(max-width:359px){.feature-entry{padding:13px 10px;gap:9px}.entry-index{height:29px;width:29px;font-size:12px}.entry-subline,.detail .entry-text{font-size:15px}}


/* V2.4: icon-first visual refinement, based on approved 9-page UI proposal.
   All icons are local outline SVGs; semantic labels and step numbers remain visible. */
.icon{display:block;flex:none;width:22px;height:22px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}
.logo{font-size:inherit}.logo-svg{width:24px;height:24px}
.homeicon{display:grid;place-items:center}.nav-icon{width:22px;height:22px}
.search-icon-wrap{position:absolute;left:16px;top:50%;transform:translateY(-50%);pointer-events:none;color:#587f86;display:grid;place-items:center}
.search-svg{width:22px;height:22px}
.group-heading{display:flex;gap:9px;align-items:center;margin:22px 0 10px;min-width:0}
.group-heading .group-title{margin:0;line-height:1.4}
.group-symbol{background:#eaf5f2;color:var(--teal-deep);border-radius:10px;width:34px;height:34px;display:grid;place-items:center;flex:none}
.group-icon{width:19px;height:19px}
.procedure-symbol{width:42px;height:42px;flex:none;display:grid;place-items:center;background:#e9f6f3;color:var(--teal-deep);border-radius:12px;transition:background .16s,color .16s,transform .16s}
.procedure-icon{width:23px;height:23px}
.procedure-card{min-height:78px;gap:12px}
.procedure-card:hover .procedure-symbol,.procedure-card:focus-visible .procedure-symbol{background:#d8eee9}
.procedure-card:active .procedure-symbol{transform:scale(.95)}
.choice-chevron{width:19px;height:19px;color:#567983;flex:none;transition:transform .15s}
.choice-card:hover .choice-chevron{transform:translateX(2px)}
.choice-card:active .choice-chevron{transform:translateX(3px)}
.number-bubble{width:37px;height:37px;background:#eef3f5;color:#385b69;font-size:15px}
.toolbar .text-button,.actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.button-icon{width:18px;height:18px}
.procedure-pill{align-items:center;gap:7px;line-height:1.5}
.pill-icon{width:16px;height:16px}
.pathbox summary{display:flex;align-items:center;gap:8px;min-height:44px}
.path-icon{width:18px;height:18px;color:var(--teal)}
.success-icon{width:21px;height:21px;flex:none}
.feature-button{min-height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 8px;line-height:1.35;transition:background .16s,border-color .16s,transform .13s,box-shadow .16s}
.feature-symbol{width:24px;height:24px;color:#087d76;display:grid;place-items:center}
.feature-icon{width:23px;height:23px}
.feature-label{font-size:14px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.feature-button--wide{grid-column:1/-1;min-height:64px;flex-direction:row;gap:10px}
.feature-button--wide .feature-label{font-size:14px}
.feature-button:hover{background:#f0f8f6;border-color:#95cdc4}
.feature-button:active{background:#e2f3ed;transform:scale(.99)}
.feature-button[aria-pressed="true"]{background:#e3f3ee;border:1.5px solid #158e83;color:#105c57;box-shadow:inset 0 0 0 1px #14938633}
.feature-button[aria-pressed="true"] .feature-symbol{color:#0a7770}
.detail-heading-row{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.detail-heading-row h3{margin:0!important;line-height:1.38}
.detail-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#e9f6f3;color:var(--teal-deep);flex:none}
.detail-icon{width:23px;height:23px}
.sources summary{display:flex;align-items:center;gap:8px;min-height:38px}
.source-icon{width:18px;height:18px}
@media(max-width:359px){.procedure-symbol{width:38px;height:38px}.procedure-icon{width:21px;height:21px}.feature-button{min-height:80px}.feature-label{font-size:13px}.feature-button--wide{min-height:60px}.group-heading .group-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){.choice-chevron,.procedure-symbol{transition:none!important;transform:none!important}}
