/*
Theme Name: Lương Hưu
Version: 1.0.0
Text Domain: luonghuu
*/
:root{--ink:#173f35;--green:#226348;--muted:#53675c;--paper:#f7f5ec;--line:#c8d6ca;--gold:#ecc573;font-size:20px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,'Segoe UI',sans-serif;line-height:1.65}a{color:var(--green);text-underline-offset:5px}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button,.button{min-height:52px;padding:12px 22px;border-radius:9px;border:1px solid var(--green);background:var(--green);color:white;cursor:pointer;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{background:#174a35}button:disabled{opacity:.6;cursor:wait}button.secondary,.button.secondary{background:white;color:var(--ink);border-color:var(--line)}button.secondary:hover{background:#edf2e9}:focus-visible{outline:3px solid #ad6710;outline-offset:4px}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.skip{position:absolute;top:-90px;left:20px;z-index:9}.skip:focus{top:8px}header{background:#fffdf6;border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:19px 0}.brand{font-weight:800;font-size:27px;letter-spacing:-1px;text-decoration:none;display:flex;gap:10px;align-items:center}.brand svg{width:38px;height:42px}.brand span{font-weight:400}.navlinks{display:flex;align-items:center;gap:26px;font-size:.9rem}.navlinks a{text-decoration:none}.sizebutton{padding:7px 12px;min-height:44px;font-size:18px}.hero{position:relative;overflow:hidden;padding:44px 0 30px;background:linear-gradient(110deg,#f4f3e5 0%,#edf2e4 66%,#e4eddf 100%)}.hero .wrap{position:relative;display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:30px}.eyebrow{font-size:.78rem;letter-spacing:2px;text-transform:uppercase;font-weight:bold;color:#4b6a4c;margin:0 0 12px}.hero h1{font-size:clamp(35px,4.2vw,55px);letter-spacing:-1.6px;line-height:1.15;margin:0 0 16px;max-width:750px}.hero h1 em{font-style:normal;color:#437253}.hero p{max-width:720px;margin:0}.hero-art{width:100%;max-height:230px}.hero-art text{font-family:Arial,sans-serif}.trust{display:flex;gap:25px;flex-wrap:wrap;margin-top:20px!important;font-size:.85rem;font-weight:600}.tool{margin:28px auto 70px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 36px #193f3510;overflow:hidden}.tool-top{padding:27px 32px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;align-items:center}.tool-top h2{font-size:29px;margin:0}.tool-top p{margin:3px 0 0;color:var(--muted);font-size:.9rem}.badge{font-size:.78rem;background:#e8efe1;padding:6px 12px;border-radius:30px;white-space:nowrap}.progress{display:flex;list-style:none;padding:18px 32px;margin:0;background:#fafbf6;gap:28px;border-bottom:1px solid var(--line);font-size:.9rem}.progress li{display:flex;align-items:center;gap:9px;color:var(--muted)}.progress b{border:1px solid #9eafa1;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}.progress .active{color:var(--green);font-weight:bold}.progress .active b{background:var(--green);color:white;border-color:var(--green)}.formbody{padding:32px}.step h3{font-size:25px;margin:0 0 8px}.step>p{margin:0 0 22px;color:var(--muted)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:22px}.fields label,.period label{display:block;font-weight:600}.fields label small,.period label small{display:block;font-weight:400;color:var(--muted);font-size:.8rem}input,select{border:1px solid #93a89a;border-radius:7px;padding:12px 13px;min-height:53px;background:white;color:#203c30;width:100%;margin-top:6px;max-width:100%}input[type=checkbox]{width:24px;min-height:24px;height:24px;margin:0;flex-shrink:0;accent-color:var(--green)}input[type=file]{font-size:.9rem}input::file-selector-button{font:inherit;border:0;background:#e7eddf;padding:10px;border-radius:6px;color:var(--ink);margin-right:10px}.note{padding:17px 20px;background:#f4f6ee;border-left:4px solid #6f8a57;border-radius:0 8px 8px 0;margin:22px 0;font-size:.9rem}.check{display:flex;align-items:flex-start;gap:12px;padding:15px 0;cursor:pointer;font-weight:400}.actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:28px;flex-wrap:wrap}.actions .right{margin-left:auto}.upload{border:2px dashed #aec2ac;border-radius:12px;padding:24px;background:#fafcf6;margin:20px 0}.upload h4{margin:0 0 7px;font-size:22px}.upload p{margin:0 0 12px;font-size:.85rem}.upload button{margin-top:12px}.period{padding:20px;background:#f8faf5;border:1px solid var(--line);border-radius:10px;margin:15px 0}.period-head{display:flex;justify-content:space-between;align-items:center}.period-head h4{margin:0;font-size:21px}.period-head button{font-size:.8rem;min-height:44px;padding:6px 14px}.period-fields{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:15px;margin-top:12px}.period .scheme{margin-top:14px;max-width:100%}.error{color:#8d2c19;background:#fff4ed;border-radius:8px;padding:12px 15px;margin-top:18px}.error:empty{display:none}.status{color:var(--green);font-weight:600}.status:empty{display:none}.result{padding:30px;background:#f6f8ef;border-top:1px solid var(--line)}.result h3{font-size:28px;margin:0}.result-number{font-size:clamp(32px,5vw,53px);font-weight:800;line-height:1.3;margin:16px 0 5px;letter-spacing:-1px}.result-sub{color:var(--muted);margin:0 0 24px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.stat{padding:18px;background:white;border:1px solid var(--line);border-radius:8px}.stat span{font-size:.85rem;display:block}.stat strong{font-size:24px}.result details{background:white;border:1px solid var(--line);padding:18px;margin:15px 0;border-radius:9px}.result summary{font-weight:700;cursor:pointer}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.9rem;margin:18px 0}th,td{padding:13px;text-align:left;border-bottom:1px solid var(--line)}th{background:#edf2e6}caption{text-align:left;font-weight:600}.section{padding:0 0 74px}.section h2{font-size:clamp(29px,3.4vw,40px);line-height:1.25;margin:10px 0 18px;letter-spacing:-.7px}.section-intro{color:var(--muted);max-width:780px;margin:0 0 32px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.guide{background:#fffdf8;border:1px solid var(--line);border-radius:14px;overflow:hidden}.guide-picture{height:220px;background:#e8ede0;display:flex;align-items:center;justify-content:center;padding:18px}.guide-picture svg{width:100%;height:100%}.guide-text{padding:24px}.guide-text h3{font-size:24px;line-height:1.3;margin:0 0 12px}.guide-text p{font-size:.95rem;margin:0}.stepno{font-size:.8rem;text-transform:uppercase;letter-spacing:1px;display:block;color:#586e4e;margin-bottom:9px}.privacy-band{background:#e6edde;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:45px 0;margin-bottom:65px}.privacy-inner{display:grid;grid-template-columns:1fr 1.6fr;gap:55px}.privacy-band h2{font-size:32px;line-height:1.25;margin:0 0 12px}.privacy-band p{margin:0 0 12px}.faq{max-width:920px}.faq details{border-top:1px solid #bccbbb;padding:20px 0}.faq details:last-child{border-bottom:1px solid #bccbbb}.faq summary{font-size:1.05rem;font-weight:700;cursor:pointer;padding-right:20px}.faq details p{margin:15px 0 0;color:var(--muted)}footer{background:#173f35;color:#f3f3e8;padding:36px 0;font-size:.85rem}footer a{color:#f3f3e8}footer .wrap{display:flex;justify-content:space-between;gap:35px}footer p{margin:6px 0}.footer-brand{font-size:26px;font-weight:bold}.footer-note{max-width:650px}.large-text{font-size:23px}[hidden]{display:none!important}.article{padding:35px 0}.article img{max-width:100%;height:auto}.article h1{font-size:35px}.article .blog-pager{margin:20px 0}@media(max-width:800px){.hero .wrap{grid-template-columns:1fr 220px;gap:10px}.hero-art{max-height:200px}.navlinks{gap:15px}.navlinks a:nth-child(2){display:none}.tool-top{align-items:flex-start}.guide-grid{grid-template-columns:1fr}.guide{display:grid;grid-template-columns:220px 1fr}.guide-picture{height:100%;min-height:220px}.privacy-inner{grid-template-columns:1fr;gap:15px}.period-fields{grid-template-columns:1fr 1fr}.period-fields label:last-child{grid-column:1/-1}.stats{grid-template-columns:1fr}.tool-top .badge{display:none}}@media(max-width:580px){:root{font-size:19px}.wrap{width:calc(100% - 28px)}.nav{padding:14px 0;gap:12px}.brand{font-size:23px}.navlinks>a{display:none}.hero{padding:26px 0 23px}.hero .wrap{display:block}.hero h1{font-size:36px;letter-spacing:-1px}.hero-art{display:none}.trust{gap:8px 18px;font-size:.8rem}.tool{margin-top:20px;border-radius:12px;margin-bottom:46px}.tool-top,.formbody,.result{padding:22px 18px}.tool-top h2{font-size:25px}.progress{padding:16px 12px;gap:13px;justify-content:space-between;font-size:.78rem}.progress li{gap:5px}.progress b{width:27px;height:27px}.fields{grid-template-columns:1fr;gap:18px}.period{padding:15px}.period-fields{gap:12px}.period-fields label{font-size:.85rem}.actions button{flex:1}.guide{display:block}.guide-picture{height:210px;min-height:0}.guide-text{padding:22px}.section{padding-bottom:45px}.privacy-band{margin-bottom:45px;padding:30px 0}footer .wrap{display:block}.footer-note{margin-top:20px}.result-number{font-size:35px}.large-text{font-size:22px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{header,.hero,.progress,.formbody,.section,.privacy-band,footer,.tool-top,.result button{display:none!important}.wrap{width:100%}.tool{border:0;box-shadow:none;margin:0}.result{display:block!important;padding:0}.result details{break-inside:avoid}}
.brand{white-space:nowrap}.brand svg{flex-shrink:0}.navlinks{flex-shrink:0}@media(max-width:580px){.brand{font-size:20px;gap:6px}.brand svg{width:26px;height:32px}.sizebutton{font-size:16px;padding:6px 8px;white-space:nowrap}.nav{gap:8px}}
.goal-top{padding:28px 32px;background:#edf3e6;border-bottom:1px solid var(--line)}.goal-top label{font-size:25px;font-weight:700;display:block;line-height:1.4}.goal-input{display:flex;align-items:center;gap:16px;max-width:680px;margin:12px 0}.goal-input input{font-size:28px;font-weight:700;max-width:420px}.goal-input span{white-space:nowrap}.goal-top p,.quick-help{font-size:.85rem;color:var(--muted);margin:10px 0}.goal-top p{max-width:850px}#quick-intake h3{font-size:27px;line-height:1.35;margin:0 0 12px}#quick-intake>p{margin-top:0}#quick-scan{margin-top:16px}#quick-review{border-top:1px solid var(--line);margin-top:28px;padding-top:25px}#quick-review details{margin:20px 0;padding:18px;background:#f5f7ef;border:1px solid var(--line);border-radius:9px}#quick-review summary{cursor:pointer;font-weight:bold}#quick-review .fields{margin-top:16px}#quick-mode{margin-bottom:22px}@media(max-width:580px){.goal-top{padding:22px 18px}.goal-top label{font-size:23px}.goal-input{display:block}.goal-input input{font-size:27px}.goal-input span{display:block;font-size:17px;margin-top:4px}#quick-intake h3{font-size:25px}}@media print{.goal-top,#quick-intake{display:none!important}}

.gender-choice{margin:22px 0;padding:18px;border:2px solid var(--line);border-radius:10px}.gender-choice legend{font-weight:700;padding:0 8px}.gender-choice p{font-size:.9rem;margin:0 0 12px}.gender-choice>div{display:flex;gap:18px;flex-wrap:wrap}.gender-choice label{display:flex;align-items:center;gap:10px;padding:10px 20px;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:#f5f8ef}.gender-choice input{width:24px;height:24px;min-height:24px;margin:0;accent-color:var(--green)}

.period{padding:0;margin:8px 0}.period>details,#quick-review .period>details{border:0;border-radius:10px;padding:0;margin:0;background:transparent}.period summary,#quick-review .period summary{display:grid;grid-template-columns:1.3fr 1fr auto;gap:14px;align-items:center;padding:15px 18px;cursor:pointer;font-weight:600;font-size:.95rem}.period summary span:last-child{font-size:.8rem;color:var(--green);text-decoration:underline}.period>details[open]>summary{border-bottom:1px solid var(--line)}.period-editor{padding:18px}.model-action{display:flex;flex-direction:column;justify-content:end;align-items:flex-start;gap:8px}.model-action small{font-size:.8rem;color:var(--muted)}@media(max-width:700px){.period summary,#quick-review .period summary{grid-template-columns:1fr;gap:3px;padding:12px 14px}.period summary span:last-child{font-size:.85rem}.period-editor{padding:12px}.period-fields{grid-template-columns:1fr}.model-action button{width:100%}}

.period summary,#quick-review .period summary{grid-template-columns:auto 1.2fr 1fr auto}.period-number{color:var(--muted);font-size:.8rem}.period-range{font-variant-numeric:tabular-nums}.period-amount{font-variant-numeric:tabular-nums}.period summary span.period-toggle{white-space:nowrap;text-decoration:none}.period-editor input,.period-editor select{min-width:0;width:100%}
@media(max-width:700px){#quick-period-host{margin-left:-4px;margin-right:-4px}.period{margin:12px 0;border:1px solid #b8cbbc;background:#fff;border-radius:12px;overflow:hidden}.period summary,#quick-review .period summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 6px;padding:14px;line-height:1.4}.period-number{grid-column:1;grid-row:1;font-size:16px;font-weight:600}.period summary span.period-toggle{grid-column:2;grid-row:1;font-size:15px;color:var(--green);padding:8px 10px;border-radius:6px;background:#eaf2e5;min-height:40px;display:flex;align-items:center}.period-range{grid-column:1/-1;grid-row:2;font-size:19px;white-space:nowrap}.period-amount{grid-column:1/-1;grid-row:3;font-size:21px;color:#173f35}.period-amount:before{content:'Mức lương căn cứ';display:block;font-size:15px;font-weight:400;color:var(--muted);margin-bottom:3px}.period-editor{padding:14px;background:#f8faf5}.period-head{gap:10px;flex-wrap:wrap}.period-head h4{font-size:19px}.period-editor .period-fields{display:flex;flex-direction:column;gap:14px}.period-editor label,.period-editor .period-fields label{font-size:18px;min-width:0}.period-editor input,.period-editor select{font-size:18px;min-height:52px;max-width:100%}.period-editor .scheme select{white-space:normal}.large-text .period-range{font-size:20px}.large-text .period-amount{font-size:23px}}

.brand svg{width:44px;height:44px}@media(max-width:580px){.brand svg{width:34px;height:34px}}
@media(max-width:360px){.brand{font-size:18px;gap:4px}.brand svg{width:30px;height:30px}.sizebutton{font-size:15px;padding:6px}.nav{gap:6px}}

.tool-embed{background:#fff}.tool-embed header,.tool-embed .hero,.tool-embed .section,.tool-embed .privacy-band,.tool-embed footer,.tool-embed .skip{display:none!important}.tool-embed .tool{width:100%;margin:0;border:0;border-radius:0;box-shadow:none}.tool-embed .formbody,.tool-embed .tool-top,.tool-embed .result{padding:18px 14px}

.draft-bar{padding:16px 24px;background:#f6f8f0;border-bottom:1px solid #c8d6ca;display:flex;gap:18px;align-items:center;flex-wrap:wrap}.draft-bar p{flex:1;min-width:210px;margin:0;font-size:18px;line-height:1.6}.draft-bar button{font-size:18px}
.missing-summary{font-weight:700;font-size:1.05rem;border-left:5px solid #226348;background:#eef4e8;padding:18px 20px;line-height:1.6}
.supplement-box{padding:20px;margin:12px;border:2px solid #c6a26e;border-radius:12px;background:#fffaf0;color:#173f35}
.supplement-box h4{font-size:22px;line-height:1.45;margin:0 0 14px}
.missing-item{border-bottom:1px solid #ded5bd;padding:12px 0}.missing-item strong{font-size:20px;display:block}.missing-item p{margin:7px 0 4px;line-height:1.65;font-size:19px}
.supplement-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.supplement-actions button{font-size:19px;min-height:54px}.supplement-actions button:nth-child(2){background:white;color:#173f35;border-color:#a9bca6}
.supplement-panel{border-top:1px solid #d9caaa;margin-top:20px;padding-top:20px}.supplement-panel>label{font-weight:700;display:block}.supplement-panel input[type=file]{background:white;white-space:normal;max-width:100%}.supplement-panel .small-help{font-size:17px;line-height:1.6}.supplement-panel>button{margin-top:10px}
.supplement-status{font-size:19px;font-weight:600;line-height:1.65}.supplement-review{background:white;border:1px solid #b7c8b6;border-radius:10px;padding:18px;margin-top:18px}.supplement-review h5{font-size:21px;margin:0 0 12px}.supplement-review li{margin:10px 0;overflow-wrap:anywhere}.supplement-review .check{font-size:19px}.supplement-review button{margin:8px 8px 0 0}.period-editor>.secondary{margin-top:16px}
@media(max-width:700px){#cong-cu .actions{flex-direction:column;align-items:stretch}#cong-cu .actions button,#quick-calculate,#model-calculate{width:100%;line-height:1.5}#cong-cu .actions .right{margin-left:0}.supplement-box{margin:8px;padding:15px}.supplement-actions{flex-direction:column}.supplement-actions button,.supplement-panel>button,.supplement-review button{width:100%;white-space:normal;line-height:1.5;text-align:center}.supplement-review{padding:14px}.supplement-review ul{padding-left:22px}.missing-summary{padding:16px}.supplement-panel input[type=file]{font-size:17px}}

.article{max-width:900px;padding:40px 24px}.article img{max-width:100%;height:auto}.article h1{font-size:2em}.lh-posts{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.lh-posts article{padding:20px;border:1px solid #c5d6c4;border-radius:12px}body.admin-bar header{top:32px}
.lh-question-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}.lh-question-buttons>*{text-align:left;margin:0;white-space:normal}#lh-question-panel{margin-top:24px;padding:24px;border:1px solid #c5d6c4;border-radius:16px;background:#f6f8ef}#lh-question-panel .fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}#lh-question-panel label{min-width:0}#lh-question-panel select,#lh-question-panel input{width:100%;max-width:100%}#lh-question-result:empty{display:none}@media(max-width:600px){#lh-question-panel{padding:16px}body.admin-bar header{top:46px}}
.step-illustration{display:block;width:100%;height:auto}#lh-question-panel{scroll-margin-top:100px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.hero-actions .button{min-height:58px;max-width:100%;white-space:normal;text-align:center;line-height:1.4;padding:14px 20px}@media(max-width:600px){.hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.hero-actions .button{width:100%;min-width:0;padding:14px 16px}}
#lh-question-family{font-size:1rem;font-weight:600;min-height:60px}#lh-question-panel>h3{margin:0 0 14px;line-height:1.35}#lh-question-panel details{margin:16px 0;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:white}#lh-question-panel summary{cursor:pointer;font-weight:700;min-height:44px;line-height:1.5;padding:7px 0}#lh-question-panel details[open]>summary{margin-bottom:16px}#lh-question-panel .button{white-space:normal;text-align:center;line-height:1.4}#lh-question-result h4{margin:16px 0 8px}#lh-question-result .result-number{margin:8px 0;line-height:1.3}@media(max-width:600px){#lh-question-family{font-size:18px}#lh-question-panel details{padding:12px}#lh-question-panel .button{width:100%}}
#lh-question-panel .note,#lh-question-panel .quick-help,#lh-question-panel label small{font-size:max(18px,.9rem)}
.article #tra-cuu-nhanh{width:100%;margin:32px 0;padding-bottom:0}.article .tablewrap{overflow-x:auto}@media(max-width:600px){.article{padding:28px 18px}.article h1{font-size:1.8em;line-height:1.3}}