
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f0f2f5;color:#1a1a1a}
.topbar{background:#1e40af;color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:50}
.topbar .brand{font-weight:700;font-size:16px;cursor:pointer}
.topbar .user{font-size:13px;opacity:.92}
.topbar .logout{background:none;border:1px solid rgba(255,255,255,.5);color:#fff;padding:6px 12px;border-radius:6px;font-size:12px;cursor:pointer}
.topbar .right{display:flex;align-items:center;gap:10px}
.topbar nav a{color:#fff;text-decoration:none;font-size:13px;margin-left:14px;opacity:.9}
.topbar nav a:hover{opacity:1}
.hero{background:linear-gradient(135deg,#1e40af 0%,#1e3a8a 100%);color:#fff;text-align:center;padding:48px 20px 40px}
.hero h1{font-size:26px;line-height:1.25}
.hero p{font-size:14px;margin-top:12px;opacity:.92;max-width:480px;margin-left:auto;margin-right:auto;line-height:1.6}
.hero .badge{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.35);padding:6px 14px;border-radius:999px;font-size:12px;margin-bottom:16px}
.container{max-width:640px;margin:0 auto;padding:16px}
.card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px rgba(0,0,0,.08);margin-top:-28px;position:relative}
.features{display:grid;gap:12px;margin:20px 0}
.feature{display:flex;gap:12px;align-items:flex-start}
.feature .ic{background:#eff6ff;color:#1e40af;width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.feature b{font-size:14px;display:block}
.feature span{font-size:13px;color:#555;line-height:1.5}
.price{text-align:center;border-top:1px solid #e5e7eb;padding-top:20px;margin-top:8px}
.price .amount{font-size:32px;font-weight:800;color:#1e40af}
.price .amount small{font-size:14px;font-weight:400;color:#666}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#1e40af;color:#fff;border:none;padding:14px 28px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;width:100%;margin-top:16px}
.btn:hover{background:#1e3a8a}
.btn.green{background:#16a34a}
.btn.green:hover{background:#15803d}
.btn.ghost{background:#f3f4f6;color:#333;border:1px solid #e5e7eb}
.btn.sm{width:auto;padding:8px 16px;font-size:13px;margin-top:8px}
.note{font-size:12px;color:#888;text-align:center;margin-top:10px}
.error{color:#dc2626;font-size:13px;text-align:center;margin-top:10px;min-height:18px}
.ok{color:#16a34a;font-size:14px;text-align:center;margin-top:12px}
.sec{margin-top:28px}
.sec h2{font-size:17px;text-align:center;margin-bottom:14px}
.sec-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.07)}
.sec-card ul{list-style:none}
.sec-card li{display:flex;gap:10px;padding:8px 0;font-size:13.5px;color:#333;border-bottom:1px dashed #e5e7eb}
.sec-card li:last-child{border-bottom:none}
.sec-card li .tag{background:#eff6ff;color:#1e40af;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:700;white-space:nowrap;align-self:center}
.steps{display:grid;gap:10px;margin-top:4px}
.step{display:flex;gap:12px;align-items:flex-start;background:#fff;border-radius:10px;padding:14px 16px;box-shadow:0 1px 4px rgba(0,0,0,.07)}
.step .no{background:#1e40af;color:#fff;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0}
.step b{font-size:14px;display:block}
.step span{font-size:13px;color:#555;line-height:1.5}
.src{font-size:12px;color:#777;line-height:1.7}
.src b{color:#444}
.articles{display:grid;gap:10px;margin-top:4px}
.art{background:#fff;border-radius:10px;padding:14px 16px;box-shadow:0 1px 4px rgba(0,0,0,.07);text-decoration:none;color:inherit;display:block;cursor:pointer}
.art b{color:#1e40af;font-size:14px;display:block}
.art span{font-size:12.5px;color:#666;line-height:1.5;display:block;margin-top:4px}
.faq{margin-top:24px}
.faq h2{font-size:17px;margin-bottom:12px;text-align:center}
.faq details{background:#fff;border-radius:10px;padding:14px 16px;margin-bottom:8px;box-shadow:0 1px 4px rgba(0,0,0,.07)}
.faq summary{font-size:14px;font-weight:600;cursor:pointer}
.faq details p{font-size:13px;color:#555;line-height:1.6;margin-top:8px}
footer{text-align:center;font-size:12px;color:#999;padding:24px 16px;line-height:1.8}
/* search + province */
.search{width:100%;padding:12px 14px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;margin-bottom:12px;outline:none;background:#fff}
.search:focus{border-color:#1e40af}
.prov-block{margin-bottom:18px}
.prov-title{font-size:13px;font-weight:700;color:#1e40af;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}
.prov-title .count{font-size:11px;color:#888;font-weight:400}
.kab-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
.kab-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;font-size:12.5px;cursor:pointer;transition:box-shadow .15s}
.kab-item:hover{border-color:#1e40af;box-shadow:0 2px 6px rgba(30,64,175,.15)}
.kab-item b{display:block;color:#333}
.kab-item span{font-size:11px;color:#888}
.back{display:inline-block;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:8px 14px;font-size:13px;cursor:pointer;margin-bottom:14px;color:#333;text-decoration:none}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.chip{background:#eff6ff;color:#1e40af;border:1px solid #dbeafe;border-radius:999px;padding:5px 12px;font-size:12px}
#page{min-height:60vh}
