:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#172b4d;background:#f4f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#172b4d;--muted:#6b7a90;--line:#e4eaf2;--blue:#b4232c;--blue-dark:#881d25;--mint:#10b981;--orange:#f59e0b;--violet:#7c3aed;--surface:#fff;--shadow:0 10px 28px rgba(32,65,116,.07)}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f4f7fb;color:var(--ink);font-size:14px;line-height:1.6}a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue-dark)}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:25px 17px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 29px;color:var(--ink)}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#3b82f6,#1d4ed8);box-shadow:0 7px 15px #2563eb3d}.brand-mark svg{width:27px;fill:#fff}.brand-copy{display:grid;line-height:1.3}.brand-copy strong{font-size:16px;letter-spacing:.03em}.brand-copy small{font-size:11px;color:var(--muted);margin-top:3px}.sidebar-caption{font-size:9px;font-weight:800;letter-spacing:.13em;color:#9aa8bc;padding:0 12px 9px}.side-nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;color:#62728a;font-weight:600;transition:.18s}.nav-link:hover{background:#f2f6ff;color:var(--blue)}.nav-link.active{background:#eaf1ff;color:var(--blue-dark)}.nav-icon{width:19px;text-align:center;font-size:18px;line-height:1}.nav-admin-caption{margin-top:27px}.sidebar-spacer{flex:1}.environment-card{display:flex;align-items:center;gap:10px;background:#f0fdf8;border:1px solid #d3f4e7;border-radius:12px;padding:12px;margin-bottom:16px}.environment-dot,.eyebrow-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #d7f7e9}.environment-card span:last-child{display:grid}.environment-card strong{font-size:11px}.environment-card small{font-size:10px;color:#72869a;margin-top:2px}.sidebar-footer{font-size:10px;color:#9aa8bc;padding:0 11px}
.main-column{min-width:0;display:flex;flex-direction:column}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,62px);position:sticky;top:0;z-index:5}.topbar-context{display:grid;line-height:1.35}.topbar-kicker,.eyebrow{font-size:9px;font-weight:800;letter-spacing:.13em;color:#8090a6}.topbar-context strong{font-size:14px;margin-top:4px}.account-menu{display:flex;align-items:center;gap:10px}.avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:50%;background:#e5efff;color:#2457be;font-weight:800}.account-copy{display:grid;line-height:1.35}.account-copy strong{font-size:12px}.account-copy small{font-size:10px;color:var(--muted);margin-top:3px}.account-menu form{margin-left:8px}.logout-button{border:1px solid var(--line);background:#fff;color:#52637b;font-weight:600;border-radius:9px;padding:8px 12px;cursor:pointer}.logout-button:hover{background:#f7f9fc}.page-content{width:min(1240px,100%);margin:0 auto;padding:34px clamp(22px,4vw,62px) 30px;flex:1}.page-footer{display:flex;justify-content:space-between;padding:15px clamp(22px,4vw,62px);color:#9aa8bc;font-size:10px;border-top:1px solid #e9edf3;background:#fff}.flash-message{display:flex;gap:9px;align-items:center;background:#ecfdf5;color:#047857;border:1px solid #c6f2df;border-radius:10px;padding:11px 14px;margin-bottom:18px}.flash-icon{font-weight:800}
.welcome-panel{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:205px;overflow:hidden;border-radius:18px;padding:30px 36px;background:linear-gradient(112deg,#e8f1ff 0%,#f0f5ff 53%,#e7fbf6 100%);border:1px solid #dce8fa}.welcome-copy{position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#52709c}.eyebrow-dot{width:7px;height:7px;flex-basis:7px;box-shadow:none}.welcome-panel h1{font-size:clamp(23px,3vw,32px);letter-spacing:-.04em;line-height:1.25;margin:15px 0 7px;color:#173565}.welcome-panel p{margin:0;color:#637895}.welcome-divider{margin:0 6px;color:#9aabc2}.wave{color:#f5a623;font-size:.76em}.welcome-art{width:220px;height:160px;position:absolute;right:4%;top:21px}.art-circle{position:absolute;border-radius:50%}.circle-one{width:145px;height:145px;right:21px;top:7px;background:#d4e4ff}.circle-two{width:87px;height:87px;right:99px;top:57px;background:#d3f5e9}.art-card{position:absolute;top:54px;right:10px;background:#fff;border:1px solid #e5ecf7;border-radius:13px;padding:13px 17px;display:flex;align-items:center;gap:11px;box-shadow:var(--shadow);transform:rotate(-3deg)}.art-check{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e2f8ed;color:#10a36b;font-weight:800}.art-card span:last-child{display:grid}.art-card b{font-size:12px}.art-card small{font-size:9px;color:#7d8da3}.art-spark{position:absolute;right:0;top:27px;color:#f4aa2d;font-size:20px}
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 34px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;box-shadow:0 4px 16px rgba(32,65,116,.025);position:relative;overflow:hidden}.stat-card:after{content:"";position:absolute;width:84px;height:84px;right:-27px;bottom:-35px;border-radius:50%;background:var(--tint)}.stat-blue{--accent:#3478eb;--tint:#eaf1ff}.stat-orange{--accent:#ed9c13;--tint:#fff3dc}.stat-green{--accent:#10a36b;--tint:#e1f8ed}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#6e7e95;font-size:12px}.stat-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--tint);color:var(--accent);font-size:16px}.stat-card>strong{display:block;font-size:30px;line-height:1.2;margin-top:10px;letter-spacing:-.04em;color:#1a3155}.stat-card>small{display:block;font-size:10px;color:#96a3b5;margin-top:5px}.content-section{margin:0 0 32px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:13px}.section-heading h2{font-size:19px;letter-spacing:-.025em;margin:4px 0 0}.section-count{font-size:10px;font-weight:600;color:#75849a;background:#fff;border:1px solid var(--line);padding:6px 10px;border-radius:20px}.surface-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px rgba(32,65,116,.035)}.table-card{overflow:hidden}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;min-width:600px}.data-table th{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#8997aa;background:#f9fbfd;padding:13px 17px;border-bottom:1px solid var(--line);font-weight:800}.data-table td{padding:14px 17px;border-bottom:1px solid #edf0f5;font-size:11px;color:#53647c}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfdff}.primary-cell{font-size:12px;font-weight:700;color:#243b5e}.secondary-cell{font-size:10px;color:#93a0b1;margin-top:2px}.status-pill{display:inline-flex;padding:5px 9px;border-radius:20px;background:#eef4ff;color:#3363b4;font-size:9px;font-weight:700;white-space:nowrap}.version-chip{color:#7c8798;font-size:10px;background:#f3f5f8;padding:4px 7px;border-radius:6px}.action-cell{text-align:right;white-space:nowrap}.text-action{font-weight:700;font-size:11px}.text-action span{font-size:15px;margin-left:4px}.empty-state{min-height:146px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:23px}.empty-state strong{font-size:12px;margin-top:8px}.empty-state small{font-size:10px;color:#8997aa;margin-top:3px}.empty-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#f0f5ff;color:#6a8cd1;font-size:18px}.setup-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:var(--shadow)}.setup-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:#fff5df;color:#e49a16;font-size:20px}.setup-copy{flex:1}.setup-copy h3{margin:3px 0 4px;font-size:14px}.setup-copy p{margin:0;color:#718198;font-size:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:9px;padding:10px 15px;font-weight:700;font-size:11px;cursor:pointer;transition:.18s}.button-primary,.btn{background:linear-gradient(135deg,#3478eb,#2459cf);color:#fff;box-shadow:0 5px 12px #2563eb2b}.button-primary:hover,.btn:hover{color:#fff;filter:brightness(.97);transform:translateY(-1px)}.privacy-note{display:flex;gap:10px;align-items:flex-start;background:#f0f5ff;border:1px solid #dfe9fa;border-radius:10px;padding:11px 14px;color:#607593;font-size:10px}.privacy-note>span{font-size:15px;color:#4f83d5}.privacy-note p{margin:1px 0}
.queue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.queue-card{padding:17px;overflow:hidden}.queue-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}.queue-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;font-weight:800}.queue-blue{background:#e8f1ff;color:#3975db}.queue-violet{background:#f1ebff;color:#7c52ce}.queue-green{background:#e5f8ef;color:#0b9b65}.queue-heading h3{font-size:12px;margin:0}.queue-heading p{font-size:9px;color:#8997aa;margin:3px 0 0}.queue-number{margin-left:auto;font-weight:800;color:#62728a;background:#f4f6f9;border-radius:8px;padding:4px 8px;font-size:11px}.queue-list{display:grid;border-top:1px solid #edf0f5}.queue-row{display:flex;align-items:center;gap:8px;padding:11px 2px;border-bottom:1px solid #edf0f5;color:var(--ink)}.queue-row:last-child{border-bottom:0}.queue-row-main{display:grid;min-width:0;flex:1}.queue-row-main strong{font-size:10px}.queue-row-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8997aa;font-size:9px}.queue-row-status{font-size:8px;border-radius:20px;background:#fff6e5;color:#a56a00;padding:4px 7px;white-space:nowrap}.queue-row-arrow{font-size:15px;color:#9cacbf}.queue-row:hover .queue-row-arrow{color:var(--blue)}.queue-list-empty{font-size:10px;color:#9aa7b9;padding:13px 2px 3px}.queue-empty{display:flex;align-items:center;gap:13px;padding:19px}.queue-empty strong{font-size:12px}.queue-empty p{font-size:10px;color:#8997aa;margin:2px 0 0}
.form-page-header{margin-bottom:18px}.back-link{display:inline-flex;align-items:center;gap:6px;color:#718198;font-size:11px;font-weight:600;margin-bottom:13px}.form-title-card{padding:22px 25px;background:linear-gradient(115deg,#fff,#f4f8ff);border:1px solid #e1e9f5;border-radius:15px;box-shadow:var(--shadow)}.form-title-card h1{font-size:22px;margin:0 0 5px;letter-spacing:-.03em}.form-title-card p{margin:0;color:#708099;font-size:11px}.form-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:14px;color:#73839a;font-size:10px}.form-status{padding:5px 9px;background:#eaf3ff;color:#3266b9;border-radius:20px;font-weight:700}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:18px;align-items:start}.form-main{min-width:0}.form-sidebar{position:sticky;top:94px}.form-section{padding:21px 23px;margin-bottom:15px}.form-section h2{font-size:15px;margin:0 0 4px}.section-help{font-size:10px;color:#8492a6;margin:0 0 16px}.field{margin:0 0 15px}.field:last-child{margin-bottom:0}.field label{display:block;font-size:11px;font-weight:700;color:#344a6a;margin-bottom:6px}.field input,.field select,.field textarea,.form-section input[type=text],.form-section input[type=number],.form-section textarea,.form-section select,.review-form textarea{display:block;width:100%;border:1px solid #dbe3ee;border-radius:9px;background:#fff;padding:10px 11px;color:#263c5e;outline:none;transition:.18s}.field input:focus,.field select:focus,.field textarea:focus,.form-section input:focus,.form-section textarea:focus,.form-section select:focus{border-color:#76a0f3;box-shadow:0 0 0 3px #e9f1ff}.field textarea,.form-section textarea{min-height:92px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#aab5c4}.field ul.errorlist,.errorlist{margin:5px 0 0;padding:0;list-style:none;color:#c0392b;font-size:10px}.field-error{color:#b42318}.task-list{display:grid;gap:12px}.task-card{border:1px solid #e8edf4;background:#fbfcfe;border-radius:11px;padding:15px}.task-card h3{font-size:12px;margin:0 0 13px;color:#37547e}.task-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.task-fields .field.wide{grid-column:1/-1}.task-card input[type=checkbox]{accent-color:#2563eb}.form-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding:5px 0 17px}.btn{border:0;border-radius:9px;padding:10px 16px;font-weight:700;font-size:11px;cursor:pointer}.btn.secondary{background:#fff;border:1px solid #dce4ef;color:#50627b;box-shadow:none}.btn.secondary:hover{background:#f8faff;color:#315fae}.btn.warn{background:#fff6e8;color:#a86900;border:1px solid #f3dfb7;box-shadow:none}.btn.warn:hover{background:#fff0d5}.save-status{display:flex;gap:7px;align-items:center;color:#6f8098;font-size:10px;margin:0 0 12px}.save-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#10b981}.helper-card{padding:16px}.helper-card h3{font-size:11px;margin:0 0 8px}.helper-card p,.helper-card li{font-size:9px;color:#75859c}.helper-card p{margin:0}.helper-card ul{padding-left:16px;margin:7px 0 0}.review-form{padding:19px 22px}.review-form textarea{min-height:74px}.review-form label{display:block;font-weight:700;font-size:11px;margin-bottom:6px}.response-block{padding:18px 22px}.response-block h2{font-size:14px;margin:0 0 12px}.response-block h3{font-size:11px;margin:17px 0 8px}.answer-list{margin:0}.answer-list dt{font-weight:700;color:#344a6a;font-size:10px;margin-top:12px}.answer-list dd{margin:4px 0 0;color:#6c7d95;font-size:11px;white-space:pre-wrap}.read-task{padding:12px;border:1px solid #e8edf4;border-radius:9px;margin:9px 0}.read-task strong{font-size:11px}.read-task p{font-size:10px;color:#718198;margin:6px 0 0}.history-list{padding-left:18px;color:#718198;font-size:10px}.history-list li{margin:7px 0}
.login-wrap{width:min(100%,440px);margin:42px auto}.login-card{padding:29px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 16px 40px rgba(32,65,116,.09)}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:22px}.login-brand .brand-mark{width:38px;height:38px}.login-card h1{font-size:22px;letter-spacing:-.03em;margin:0 0 7px}.login-card>p{font-size:11px;color:#74839a;margin:0 0 20px}.login-hint{padding:10px 12px;margin:0 0 17px;border-radius:9px;background:#f1f6ff;color:#546b8c;font-size:10px}.login-hint strong{color:#315fae}.login-submit{width:100%;padding:12px;font-size:12px;margin-top:4px}
@media(max-width:1000px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.form-layout{grid-template-columns:minmax(0,1fr) 210px}.welcome-art{right:0;opacity:.75}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:relative;height:auto;padding:11px 16px;border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;align-items:center;gap:13px;overflow-x:auto}.brand{padding:0;flex:0 0 auto}.brand-mark{width:36px;height:36px}.brand-copy strong{font-size:13px}.brand-copy small{font-size:9px}.sidebar-caption,.sidebar-spacer,.environment-card,.sidebar-footer,.nav-admin-caption{display:none}.side-nav{display:flex;gap:3px;margin-left:auto}.nav-link{padding:8px;border-radius:8px}.nav-link span:last-child{display:none}.nav-icon{font-size:17px}.topbar{height:63px;padding:0 17px;position:static}.topbar-kicker{font-size:8px}.account-copy{display:none}.account-menu form{margin-left:0}.logout-button{padding:7px 9px;font-size:10px}.page-content{padding:20px 16px}.page-footer{padding:13px 17px}.welcome-panel{min-height:173px;padding:23px 21px}.welcome-art{right:-48px;opacity:.42}.welcome-panel h1{max-width:80%;font-size:24px}.welcome-panel p{max-width:80%;font-size:11px}.stats-grid{gap:8px;margin:14px 0 26px}.stat-card{padding:12px 11px;border-radius:11px}.stat-top{font-size:9px}.stat-icon{width:25px;height:25px;font-size:13px}.stat-card>strong{font-size:24px;margin-top:7px}.stat-card>small{font-size:8px;line-height:1.35}.section-heading h2{font-size:16px}.section-count{font-size:8px;padding:5px 7px}.setup-card{align-items:flex-start;flex-wrap:wrap;padding:15px}.setup-copy{flex-basis:calc(100% - 61px)}.setup-card .button{margin-left:60px}.queue-grid{grid-template-columns:1fr}.form-layout{grid-template-columns:1fr}.form-sidebar{position:static;order:-1}.form-section{padding:17px 15px}.form-title-card{padding:18px}.form-title-card h1{font-size:19px}.task-fields{grid-template-columns:1fr}.task-fields .field.wide{grid-column:auto}.form-actions{position:sticky;bottom:0;background:#f4f7fb;padding:10px 0 max(10px,env(safe-area-inset-bottom));z-index:3}.form-actions .btn{flex:1}.login-wrap{margin:18px auto}.login-card{padding:23px}}
@media(max-width:390px){.brand-copy small{display:none}.side-nav{gap:0}.nav-link{padding:7px}.stats-grid{gap:6px}.stat-card{padding:10px 8px}.stat-top{font-size:8px}.stat-card>strong{font-size:21px}}

/* Readable Vietnamese typography overrides */
:root{font-family:"Segoe UI Variable","Segoe UI",Tahoma,Arial,sans-serif}
body{font-size:16px;line-height:1.65;letter-spacing:0}
.brand-copy strong{font-size:18px}.brand-copy small{font-size:13px}
.sidebar-caption{font-size:11px;letter-spacing:.08em}.nav-link{font-size:15px}.sidebar-footer{font-size:12px}
.environment-card strong{font-size:13px}.environment-card small{font-size:12px}
.topbar-kicker{font-size:11px;letter-spacing:.08em}.topbar-context strong{font-size:16px}
.account-copy strong{font-size:14px}.account-copy small{font-size:12px}.logout-button{font-size:13px}
.page-footer{font-size:12px}.flash-message{font-size:14px}
.eyebrow{font-size:11px;letter-spacing:.09em}.welcome-panel h1{font-size:clamp(27px,3vw,36px)}.welcome-panel p{font-size:15px}
.art-card b{font-size:14px}.art-card small{font-size:12px}
.stat-top{font-size:14px}.stat-icon{font-size:18px}.stat-card>strong{font-size:34px}.stat-card>small{font-size:13px}
.section-heading h2{font-size:22px}.section-count{font-size:12px}
.data-table th{font-size:11px;letter-spacing:.06em}.data-table td{font-size:14px}.primary-cell{font-size:15px}.secondary-cell{font-size:12px}.status-pill{font-size:12px}.version-chip{font-size:12px}.text-action{font-size:14px}
.empty-state strong{font-size:15px}.empty-state small{font-size:13px}.empty-icon{font-size:20px}
.setup-copy h3{font-size:17px}.setup-copy p{font-size:14px}.button{font-size:14px}
.privacy-note{font-size:13px}.queue-heading h3{font-size:15px}.queue-heading p{font-size:12px}.queue-number{font-size:14px}.queue-row-main strong{font-size:13px}.queue-row-main small{font-size:12px}.queue-row-status{font-size:11px}.queue-list-empty{font-size:13px}.queue-empty strong{font-size:15px}.queue-empty p{font-size:13px}
.form-title-card h1{font-size:26px}.form-title-card p{font-size:14px}.form-meta{font-size:13px}.form-status{font-size:12px}
.form-section h2,.response-block h2,.review-form h2{font-size:19px}.section-help{font-size:14px;line-height:1.55}
.field{margin-bottom:18px}.field label,.review-form label{font-size:14px}.field input,.field select,.field textarea,.form-section input[type=text],.form-section input[type=number],.form-section textarea,.form-section select,.review-form textarea{font-size:16px;padding:12px 13px;border-radius:10px}.field input::placeholder,.field textarea::placeholder{font-size:15px}
.task-card h3{font-size:15px}.btn{font-size:14px;padding:12px 17px}.save-status{font-size:13px}.helper-card h3{font-size:15px}.helper-card p,.helper-card li{font-size:13px;line-height:1.55}
.answer-list dt{font-size:14px}.answer-list dd,.read-task p{font-size:14px;line-height:1.6}.read-task strong{font-size:15px}.history-list{font-size:13px}
.login-card h1{font-size:27px}.login-card>p,.login-hint{font-size:14px}.login-submit{font-size:15px}
@media(max-width:760px){body{font-size:15px}.nav-link{font-size:14px}.welcome-panel p{font-size:14px}.stat-top{font-size:12px}.stat-card>small{font-size:11px}.section-heading h2{font-size:19px}.data-table td{font-size:13px}.form-title-card h1{font-size:23px}.form-title-card p{font-size:13px}.form-section h2,.response-block h2,.review-form h2{font-size:18px}.section-help{font-size:13px}.field label,.review-form label{font-size:14px}.helper-card p,.helper-card li{font-size:12px}.page-footer{font-size:11px}}

/* Màu nhận diện TCNHN theo bộ UI/UX đã duyệt: #B4232C */
:root{--brand:#b4232c;--brand-deep:#881d25;--brand-soft:#fff0f0;--brand-wash:#fff7f7;--blue:#b4232c;--blue-dark:#881d25;--shadow:0 10px 28px rgba(115,26,33,.08)}
body{background:#f4f6f8}
.app-shell,.main-column{background:#f4f6f8}
.sidebar,.topbar,.page-footer,.surface-card,.stat-card,.login-card,.form-title-card{background-color:#fff}
.sidebar{border-right-color:#e1dfe0}
.brand-mark{background:linear-gradient(145deg,#cf4a50,#a91f29);box-shadow:0 7px 15px rgba(180,35,44,.25)}
.nav-link:hover{background:#fff7f7;color:#a61f28}
.nav-link.active{background:#fff0f0;color:#a61f28}
.avatar{background:#fff0f0;color:#a61f28}
.welcome-panel{background:linear-gradient(112deg,#fff0f0 0%,#fff7f7 54%,#effaf5 100%);border-color:#f1d9db}
.welcome-panel h1{color:#70232a}
.circle-one{background:#f8dadd}
.art-check{background:#ecf8f1;color:#178553}
.stat-blue{--accent:#b4232c;--tint:#fff0f0}
.stat-orange{--accent:#bd7200;--tint:#fffaeb}
.stat-green{--accent:#168353;--tint:#ecfdf3}
.status-pill{background:#fff0f0;color:#9b2029}
.version-chip{background:#f5f5f5;color:#667085}
.text-action,.back-link{color:#a51f28}
.empty-icon{background:#fff0f0;color:#b4232c}
.button-primary,.btn{background:linear-gradient(135deg,#c43a43,#a51f28);box-shadow:0 5px 12px rgba(180,35,44,.23)}
.button-primary:hover,.btn:hover{filter:brightness(.95)}
.privacy-note{background:#fff7f7;border-color:#f1d9db;color:#655357}
.privacy-note>span{color:#b4232c}
.queue-blue{background:#fff0f0;color:#b4232c}
.queue-violet{background:#f2edfa;color:#7351a6}
.queue-green{background:#ecfdf3;color:#168353}
.queue-row-status{background:#fffaeb;color:#936000}
.form-title-card{background:linear-gradient(115deg,#fff,#fff7f7);border-color:#f1d9db}
.form-status{background:#fff0f0;color:#9b2029}
.field input:focus,.field select:focus,.field textarea:focus,.form-section input:focus,.form-section textarea:focus,.form-section select:focus{border-color:#dc858a;box-shadow:0 0 0 3px rgba(180,35,44,.12)}
.login-hint{background:#fff7f7;color:#654c50}
.login-hint strong{color:#9b2029}
.save-status:before{background:#168353}
.flash-message{background:#ecfdf3;border-color:#ccebd9;color:#126b43}

/* Giao diện mới TCNHN · sáng, thân thiện, ưu tiên ảnh tập thể */
:root{--brand:#b4232c;--brand-deep:#8f2028;--brand-soft:#fff1f0;--leaf:#17864d;--leaf-soft:#eaf7ef;--ink:#253344;--muted:#6b7885;--line:#e8ece7;--surface:#fff;--shadow:0 12px 34px rgba(34,60,46,.08);font-family:"Segoe UI Variable","Segoe UI",Tahoma,Arial,sans-serif}
body,.app-shell,.main-column{background:#f7f9f6;color:var(--ink)}
.sidebar{background:#fff;border-right-color:#e8ece7}.brand-mark.brand-logo{width:70px;height:49px;flex:0 0 70px;padding:2px 4px;border-radius:11px;background:#fff;border:1px solid #eee6d5;box-shadow:0 3px 10px rgba(52,81,60,.05)}.brand-mark.brand-logo img{display:block;width:100%;height:100%;object-fit:contain}.brand-copy strong{color:var(--brand);font-size:18px;letter-spacing:.025em}.brand-copy small{font-size:13px}.nav-link{color:#566778}.nav-link:hover{background:#f0f7f2;color:var(--leaf)}.nav-link.active{background:#eaf6ee;color:#137344}.nav-icon{font-size:19px}.sidebar-caption{color:#87958b}.environment-card{background:#eff9f2;border-color:#d5eddd}.environment-dot,.eyebrow-dot{background:#1e9a5b;box-shadow:0 0 0 4px #ddf2e4}.topbar,.page-footer{background:#fff;border-color:#e8ece7}.topbar-kicker{color:#829187}.avatar{background:#fff0ef;color:var(--brand)}.logout-button{border-color:#e7eae5;color:#556572}.logout-button:hover{background:#f7faf7}
.page-content{width:min(1360px,100%);padding-top:32px}.page-footer{font-size:12px;color:#87938a}.surface-card,.stat-card,.login-card{border-color:#e8ece7;box-shadow:0 5px 20px rgba(32,58,41,.035)}
.welcome-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr);min-height:420px;margin:2px 0 26px;overflow:hidden;border:1px solid #e7ede6;border-radius:24px;background:linear-gradient(120deg,#fff 0%,#fff 53%,#f1f9f2 100%);box-shadow:0 16px 40px rgba(38,66,45,.07)}
.welcome-copy{position:relative;z-index:1;padding:30px 28px 24px 38px}.welcome-brand,.login-brand{display:flex;align-items:center;gap:13px;margin-bottom:20px}.welcome-brand img,.login-brand img{width:89px;height:56px;object-fit:contain}.welcome-brand div,.login-brand span{display:grid;gap:3px}.welcome-brand span,.login-brand small{font-size:10px;letter-spacing:.13em;font-weight:800;color:#829187}.welcome-brand strong,.login-brand strong{font-size:14px;letter-spacing:.045em;color:#344536}.welcome-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--leaf);font-size:12px;font-weight:800;letter-spacing:.12em}.welcome-kicker:before{content:"";width:20px;height:2px;border-radius:2px;background:#e2a92a}
.welcome-copy h1{margin:13px 0 10px;color:#2a3c2e;font-size:clamp(38px,4.5vw,57px);line-height:1.07;letter-spacing:-.045em;font-weight:750}.welcome-copy h1 em{font-style:normal;color:var(--brand)}.welcome-description{max-width:450px;margin:0;color:#68776c;font-size:16px;line-height:1.65}.welcome-motto{display:flex;align-items:center;gap:10px;margin-top:20px;color:#8b6722;font-size:12px;font-weight:850;letter-spacing:.09em}.welcome-motto i{display:block;width:4px;height:4px;border-radius:50%;background:#dcb143}.welcome-user{display:flex;align-items:center;gap:11px;margin-top:19px;padding-top:15px;border-top:1px solid #eef1ec}.welcome-user-icon{display:grid;place-items:center;flex:0 0 37px;height:37px;border-radius:13px;background:#fff5df;color:#c18b19;font-size:17px}.welcome-user>span:last-child{display:grid;gap:2px}.welcome-user small{font-size:11px;color:#7b887d}.welcome-user small:first-child{font-size:9px;font-weight:800;letter-spacing:.1em;color:#92a097}.welcome-user strong{font-size:15px;color:#334537}
.welcome-photo{position:relative;align-self:stretch;min-height:420px;margin:0;padding:12px 12px 12px 0;z-index:0}.welcome-photo img{display:block;width:100%;height:100%;min-height:396px;object-fit:cover;object-position:center 42%;border-radius:17px}.welcome-photo figcaption{position:absolute;left:24px;right:24px;bottom:27px;display:flex;align-items:center;gap:11px;padding:12px 15px;border:1px solid rgba(255,255,255,.72);border-radius:14px;background:rgba(255,255,255,.91);box-shadow:0 7px 22px rgba(30,50,36,.12);backdrop-filter:blur(10px)}.photo-spark{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#eaf7ef;color:var(--leaf)}.welcome-photo figcaption span:last-child{display:grid}.welcome-photo figcaption strong{font-size:14px;color:#334537}.welcome-photo figcaption small{font-size:12px;color:#78877c;margin-top:1px}.hero-decoration{position:absolute;z-index:-1;pointer-events:none;border-radius:50%}.hero-decoration-one{width:200px;height:200px;right:41%;top:-142px;background:#fff7df}.hero-decoration-two{width:130px;height:130px;left:-88px;bottom:-91px;background:#eff8ec}
.stats-grid{gap:17px;margin:0 0 34px}.stat-card{border-radius:16px;padding:19px 21px}.stat-card>strong{color:#273c2d}.stat-blue{--accent:#16804a;--tint:#eaf7ef}.stat-orange{--accent:#c18413;--tint:#fff7e4}.stat-green{--accent:#1a9360;--tint:#e8f7ee}.stat-top{color:#68786d}.section-heading h2{color:#2c3c31}.eyebrow{color:#74877a}.section-count{border-color:#e6ece6;color:#647669}.data-table th{background:#f8faf7;color:#7e8c80}.data-table td{color:#536357}.primary-cell{color:#304236}.status-pill{background:#fff1ef;color:#a72c34}.text-action,.back-link{color:#a82730}.button-primary,.btn{background:linear-gradient(135deg,#c63b43,#aa252e);box-shadow:0 5px 12px rgba(180,35,44,.2)}.privacy-note{background:#f1f8f2;border-color:#dfede1;color:#596e5c}.privacy-note>span{color:#17864d}.queue-blue{background:#eaf7ef;color:#17864d}.queue-violet{background:#f3effa;color:#7351a6}.queue-green{background:#eaf7ef;color:#168353}.form-title-card{background:linear-gradient(115deg,#fff,#f4f9f4);border-color:#e3ece2}.form-status{background:#eaf7ef;color:#177344}.field input:focus,.field select:focus,.field textarea:focus,.form-section input:focus,.form-section textarea:focus,.form-section select:focus{border-color:#75b48a;box-shadow:0 0 0 3px rgba(23,134,77,.12)}
.login-fresh{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(370px,.78fr);max-width:1100px;min-height:610px;margin:4px auto 30px;overflow:hidden;border:1px solid #e6ece5;border-radius:24px;background:#fff;box-shadow:0 20px 50px rgba(37,66,46,.1)}.login-welcome{display:flex;flex-direction:column;align-items:flex-start;padding:34px 40px 0;background:linear-gradient(150deg,#fff 0%,#f3f9f3 80%,#f9f7ed 100%)}.login-brand{margin-bottom:30px}.login-welcome h1{margin:14px 0 10px;color:#293d2e;font-size:clamp(38px,4.2vw,52px);line-height:1.08;letter-spacing:-.045em}.login-welcome h1 em{font-style:normal;color:var(--brand)}.login-welcome>p{max-width:440px;margin:0;color:#6c7a6f;font-size:15px;line-height:1.65}.login-welcome .welcome-motto{margin-top:17px}.login-team-photo{position:relative;flex:1;width:calc(100% + 40px);min-height:230px;margin:24px -20px 0;overflow:hidden;border-radius:16px 16px 0 0}.login-team-photo img{width:100%;height:100%;min-height:230px;position:absolute;inset:0;object-fit:cover;object-position:center 42%}.login-team-photo figcaption{position:absolute;left:15px;bottom:14px;padding:9px 13px;border:1px solid rgba(255,255,255,.7);border-radius:10px;background:rgba(255,255,255,.88);color:#36513c;font-size:12px;font-weight:700;backdrop-filter:blur(8px)}.login-card{position:relative;display:flex;flex-direction:column;justify-content:center;padding:45px 43px;border:0;border-left:1px solid #edf0eb;border-radius:0;box-shadow:none}.login-card-mark{display:grid;place-items:center;width:42px;height:42px;margin-bottom:20px;border-radius:14px;background:#fff4db;color:#c38e1f;font-size:19px}.login-card .eyebrow{font-size:11px}.login-card h2{margin:9px 0 7px;color:#2d3d31;font-size:32px;letter-spacing:-.035em}.login-card>p{margin:0 0 22px;color:#718075;font-size:14px}.login-hint{display:grid;gap:7px;margin:0 0 20px;padding:13px 15px;border:1px solid #e7efe7;border-radius:12px;background:#f5faf5;color:#536657;font-size:13px;line-height:1.65}.login-hint>strong{color:#354a39}.login-hint b{color:#a82a32}.login-hint small{font-size:11px;color:#87948a}.login-card .field label{font-size:14px;color:#405345}.login-card .field input{min-height:47px;border-color:#e0e8df}.login-card .login-submit{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:50px;margin-top:9px;padding:12px 16px;font-size:15px}.login-footnote{display:flex;align-items:center;gap:8px;margin-top:20px;color:#87948a;font-size:12px}.login-footnote span{font-size:9px;color:#1b9a60}
@media(max-width:1000px){.welcome-hero{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);min-height:380px}.welcome-copy{padding:25px 20px 20px 28px}.welcome-photo{min-height:380px}.welcome-photo img{min-height:356px}.welcome-description{font-size:15px}.login-fresh{grid-template-columns:minmax(0,1fr) minmax(340px,.9fr)}.login-welcome{padding-left:30px;padding-right:30px}.login-card{padding:35px 30px}}
@media(max-width:760px){.page-content{padding:19px 16px}.brand-mark.brand-logo{width:56px;height:40px;flex-basis:56px}.welcome-hero{display:flex;flex-direction:column;min-height:0;border-radius:20px;margin-bottom:18px}.welcome-copy{padding:22px 20px 18px}.welcome-brand{margin-bottom:16px}.welcome-brand img{width:70px;height:46px}.welcome-brand strong{font-size:12px}.welcome-copy h1{font-size:clamp(36px,9vw,47px);margin-top:11px}.welcome-description{font-size:14px}.welcome-motto{gap:7px;font-size:10px}.welcome-photo{min-height:0;padding:0 12px 12px}.welcome-photo img{height:245px;min-height:245px;border-radius:14px}.welcome-photo figcaption{left:22px;right:22px;bottom:24px;padding:10px 12px}.welcome-photo figcaption strong{font-size:13px}.welcome-photo figcaption small{font-size:11px}.welcome-user{margin-top:14px}.welcome-user strong{font-size:14px}.stats-grid{gap:8px;margin:0 0 26px}.stat-card{padding:12px 11px;border-radius:12px}.stat-top{font-size:12px}.stat-icon{width:27px;height:27px;font-size:15px}.stat-card>strong{font-size:25px;margin-top:7px}.stat-card>small{font-size:11px}.section-heading h2{font-size:19px}.data-table td{font-size:13px}.login-fresh{display:flex;flex-direction:column;min-height:0;margin:0 auto 20px;border-radius:20px}.login-welcome{padding:23px 21px 0}.login-brand{margin-bottom:22px}.login-brand img{width:72px;height:48px}.login-brand strong{font-size:12px}.login-welcome h1{font-size:38px}.login-welcome>p{font-size:14px}.login-welcome .welcome-motto{margin:13px 0 0}.login-team-photo{width:calc(100% + 20px);min-height:190px;margin:18px -10px 0}.login-team-photo img{min-height:190px}.login-team-photo figcaption{font-size:11px}.login-card{padding:27px 23px 29px;border-left:0;border-top:1px solid #edf0eb}.login-card-mark{width:36px;height:36px;margin-bottom:14px}.login-card h2{font-size:27px}.login-card>p{margin-bottom:17px}.login-hint{margin-bottom:16px}.login-card .login-submit{min-height:47px}.form-layout{grid-template-columns:1fr}.form-sidebar{position:static;order:-1}.form-section{padding:17px 15px}.form-title-card{padding:18px}.form-title-card h1{font-size:23px}.task-fields{grid-template-columns:1fr}.task-fields .field.wide{grid-column:auto}.form-actions{position:sticky;bottom:0;background:#f7f9f6;padding:10px 0 max(10px,env(safe-area-inset-bottom));z-index:3}.form-actions .btn{flex:1}.page-footer{font-size:11px}}
@media(max-width:420px){.welcome-copy{padding:19px 16px 16px}.welcome-brand{gap:9px}.welcome-brand img{width:61px;height:41px}.welcome-brand strong{font-size:10px}.welcome-copy h1{font-size:35px}.welcome-description{font-size:13px}.welcome-motto{gap:5px;font-size:9px}.welcome-photo img{height:210px;min-height:210px}.stats-grid{gap:6px}.stat-card{padding:10px 8px}.stat-top{font-size:10px}.stat-card>strong{font-size:22px}.stat-card>small{font-size:10px}.login-welcome{padding:20px 17px 0}.login-welcome h1{font-size:35px}.login-brand strong{font-size:10px}.login-team-photo{min-height:160px}.login-team-photo img{min-height:160px}.login-card{padding:24px 18px}}

/* Typography and composition revision 7 */
:root,body{font-family:Arial,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.6;font-synthesis:none}
h1,h2,h3,strong,b{font-weight:600}button,input,textarea,select{font-family:inherit}
.eyebrow,.topbar-kicker,.sidebar-caption,.welcome-kicker,.welcome-brand span,.login-brand small,.welcome-motto{letter-spacing:.035em;font-weight:600}
.auth-page .sidebar,.auth-page .topbar{display:none}.auth-page .app-shell{display:block}.auth-page .page-content{max-width:1220px;padding:48px 32px}.auth-page .main-column{min-height:100vh;justify-content:center}.auth-page .page-footer{background:transparent;border:0;max-width:1160px;width:100%;margin:auto}
.login-fresh{grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);min-height:0;max-width:1120px;border-radius:22px;box-shadow:0 16px 54px #294b3510}
.login-welcome{padding:36px 36px 0}.login-brand{margin-bottom:28px}.login-brand strong{font-size:15px;line-height:1.5;letter-spacing:0}.login-brand small{font-size:12px}.login-brand img{width:88px;height:52px}.login-welcome h1{font-size:38px;line-height:1.22;letter-spacing:-.025em;font-weight:600;margin:14px 0}.login-welcome>p{font-size:16px;line-height:1.65}.login-welcome .welcome-motto{font-size:12px;margin-top:20px}.login-team-photo{flex:none;min-height:0;aspect-ratio:4/3;width:100%;margin:26px 0 0}.login-team-photo img{min-height:0;object-fit:contain}.login-team-photo figcaption{font-size:12px;font-weight:400}
.login-card{padding:44px 40px}.login-card-mark{display:none}.login-card h2{font-size:30px;font-weight:600;line-height:1.3;margin:10px 0 12px;letter-spacing:-.02em}.login-card>p{font-size:16px;line-height:1.6;margin-bottom:24px}.login-card .eyebrow{font-size:12px}.login-hint{font-size:14px;padding:14px 16px;margin-bottom:24px}.login-hint small{font-size:12px}.login-card .field{margin-bottom:20px}.login-card .field label{font-size:15px;font-weight:600;margin-bottom:8px}.login-card .field input{min-height:50px;font-size:16px}.login-card .login-submit{font-size:15px;font-weight:600;min-height:50px;box-shadow:none}.login-footnote{font-size:13px}
.welcome-copy h1{font-size:clamp(32px,3.2vw,44px);font-weight:600;line-height:1.18;letter-spacing:-.025em}.welcome-brand strong{letter-spacing:0;font-size:15px}.section-heading h2{font-weight:600;letter-spacing:-.015em}.data-table th{font-size:12px;font-weight:600;letter-spacing:.02em}.field label{font-size:15px;font-weight:600}.section-help{font-size:14px}.nav-link{font-weight:500}.stat-card>strong{font-weight:600}
@media(max-width:760px){.auth-page .page-content{padding:20px 14px}.login-fresh{display:flex}.login-welcome{padding:24px 24px 0}.login-welcome h1{font-size:32px}.login-brand{margin-bottom:22px}.login-brand strong{font-size:13px}.login-team-photo{aspect-ratio:4/3;min-height:0}.login-team-photo img{min-height:0}.login-card{padding:28px 24px}.login-card h2{font-size:27px}.welcome-copy h1{font-size:32px}.login-welcome .welcome-motto{font-size:11px}.auth-page .page-footer{padding:14px;gap:14px;flex-wrap:wrap}}

/* Slogan được duyệt: cùng màu, hai dòng trên màn hình rộng */
.login-welcome h1.company-slogan{width:100%;font-size:clamp(18px,1.65vw,23px);line-height:1.65;letter-spacing:-.025em;text-align:center;color:#293d2e;font-weight:600;margin:18px 0}
.company-slogan span{display:block;color:inherit}.company-slogan span:first-child{white-space:nowrap}
@media(max-width:760px){.login-welcome h1.company-slogan{font-size:clamp(15px,3.6vw,22px)}}
@media(max-width:360px){.company-slogan span:first-child{white-space:normal}}

/* V9: tên doanh nghiệp và khẩu hiệu tổng quan */
.sidebar .brand{gap:9px;padding-left:0;padding-right:0;align-items:center}
.sidebar .brand-mark.brand-logo{width:53px;height:40px;flex-basis:53px}
.brand-copy.company-name{min-width:0;gap:4px;line-height:1.45}
.brand-copy.company-name>span{font-size:12px;color:#5d6c62;font-weight:400}
.brand-copy.company-name>strong{font-size:12px;letter-spacing:-.025em;white-space:nowrap;color:#a82730;font-weight:600}
.welcome-copy h1.daily-slogan{font-size:clamp(24px,2.25vw,32px);line-height:1.4;letter-spacing:-.025em;color:#293d2e;font-weight:600;margin:17px 0}
@media(min-width:761px) and (max-width:1000px){.sidebar .brand{flex-wrap:wrap}.brand-copy.company-name>strong{font-size:12px}}
@media(max-width:760px){.brand-copy.company-name>span{font-size:11px}.brand-copy.company-name>strong{font-size:11px}.sidebar .brand-mark.brand-logo{width:45px;height:35px;flex-basis:45px}.welcome-copy h1.daily-slogan{font-size:25px;line-height:1.4}}

.community-banner{padding:32px;border-radius:22px;background:linear-gradient(120deg,#e6f8ef,#fff5da);margin-bottom:24px}.community-banner h1{font-size:32px;line-height:1.3;margin:12px 0}.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:26px}.community-tile{padding:25px;border-radius:20px;color:#293d2e;border:1px solid #ffffff;box-shadow:0 8px 25px #203b2510;transition:transform .15s}.community-tile:hover{transform:translateY(-3px)}.community-tile>span{font-size:28px}.community-tile h2{font-size:20px}.community-tile p{font-size:15px}.coral{background:#fff0ed}.mint{background:#e6f8ef}.gold{background:#fff7df}.field input[type=checkbox]{width:22px;min-height:22px}.field select[multiple]{min-height:160px}@media(max-width:760px){.community-grid{grid-template-columns:1fr}.community-banner h1{font-size:26px}}

/* V12: màn quản lý, nhắc hạn, khối lượng, in ấn */
.warn-message{background:#fff6e8;border-color:#f3dfb7;color:#7a4d00}.warn-message .flash-icon{color:#b26b00}
.inline-form{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 0 8px}.inline-form input,.inline-form select{border:1px solid #dbe3ee;border-radius:8px;padding:7px 9px;font-size:13px;max-width:220px}.inline-form .btn{padding:7px 12px;font-size:13px}
.table-card-title{font-size:15px;margin:0;padding:14px 17px;border-bottom:1px solid var(--line)}.table-card-title label{display:flex;gap:8px;align-items:center;cursor:pointer}
.status-danger{background:#fdecec;color:#b42318}
.workload-over{background:#fdecec;color:#b42318}.workload-under{background:#fff6e8;color:#9a5b00}.workload-incomplete{background:#f1f3f6;color:#5d6b7c}.workload-ok{background:#e8f7ee;color:#177344}
.workload-card.workload-over{border-color:#f4c7c3}.workload-card.workload-under{border-color:#f3dfb7}
.review-note{margin:8px 0 0;padding:8px 10px;border-left:3px solid #e0a43a;background:#fffaf0;font-size:13px;color:#6b4a10;border-radius:0 8px 8px 0}
.preview-box{margin:14px 0;padding:14px 16px;border:1px dashed #c9d6c9;border-radius:10px;background:#f8fbf7}
.notice-card{max-width:760px;margin:0 auto}.notice-text{font-size:15px;line-height:1.7;color:#3c4b40}.checkbox-line{display:flex;gap:10px;align-items:flex-start;margin:16px 0;font-weight:600}.checkbox-line input{width:20px;height:20px;margin-top:3px}
.narrow-card{max-width:520px;margin:0 auto}
.save-status-error:before{background:#c0392b}.save-status-error{color:#b42318}
.slip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-slip{border:1px dashed #9aa79c;border-radius:10px;padding:14px 16px;break-inside:avoid;background:#fff}.account-slip h3{margin:0 0 6px;font-size:15px}.account-slip dl{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin:8px 0;font-size:14px}.account-slip dt{color:#6b7a6e}.account-slip dd{margin:0;font-family:Consolas,monospace;font-weight:600}.account-slip small{font-size:12px;color:#6b7a6e}
.diff-add{background:#e8f7ee}.diff-change{background:#fff8e1}.diff-error{background:#fdecec}.diff-left{background:#f1f3f6}
@media(max-width:760px){.slip-grid{grid-template-columns:1fr}.inline-form{margin:6px 0 0}.inline-form input{max-width:100%}}
@media print{.sidebar,.topbar,.page-footer,.form-actions,.flash-message,.back-link,.no-print{display:none!important}.app-shell{display:block}.page-content{padding:0;max-width:none}body{background:#fff}.surface-card{box-shadow:none;border-color:#bbb}.account-slip{border-color:#555}}

/* V12: menu điện thoại có chữ dưới biểu tượng, cuộn ngang */
@media(max-width:760px){
.sidebar{gap:6px;scrollbar-width:thin}.side-nav{margin-left:0;flex:0 0 auto;gap:2px}.side-nav+.side-nav{border-left:1px solid var(--line);padding-left:6px}
.nav-link{flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;padding:6px 7px;min-width:62px}
.nav-link span:last-child{display:block;font-size:10.5px;line-height:1.2;text-align:center;white-space:normal;max-width:70px}
.nav-link .nav-icon{font-size:16px}
.brand-copy.company-name{display:none}
.account-menu .text-action{font-size:12px;white-space:nowrap}.logout-button{white-space:nowrap}
}
