/* VTMN Lumi — shared visual language for CTV and administration. */
:root{color-scheme:light;--bg:#f6f8fc;--surface:#fff;--surface-2:#f2f5fb;--card:#fff;--line:#e2e8f2;--line-strong:#7695ed;--ink:#1a2845;--muted:#62718a;--muted-2:#6c7b92;--money:#146853;--blue:#315ada;--lime:#147457;--amber:#946014;--red:#b53d50;--shadow:0 8px 32px #20345b08;font-family:'Be Vietnam Pro',sans-serif}
html,body,.app-scroller{background:#f6f8fc;color:var(--ink);font-family:'Be Vietnam Pro',sans-serif}body{font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased}.app-scroller{background:radial-gradient(ellipse at 90% 0,#e5edff 0,transparent 45%),radial-gradient(ellipse at 0 70%,#e9f7f3 0,transparent 45%),#f6f8fc;scroll-padding-top:90px}.shell{max-width:1200px;padding:24px 28px 36px}*{scrollbar-color:#c3cde0 transparent}h1,h2,h3,h4,p{overflow-wrap:anywhere}h1,h2,h3,h4{color:#1a2845;letter-spacing:-.035em}button,input,select,textarea{font-family:inherit!important;font-size:14px!important;letter-spacing:0}input,select,textarea{background:#f9fbff!important;color:#1a2845!important;border:1px solid #dce4f0!important;border-radius:12px!important;box-shadow:none!important;min-height:48px;padding:12px 14px!important;max-width:100%}textarea{line-height:1.7}input::placeholder,textarea::placeholder{color:#7a879d;opacity:1}input:focus,select:focus,textarea:focus{border-color:#6685e7!important;box-shadow:0 0 0 4px #315ada0c!important}input[type=checkbox],input[type=radio]{min-height:18px;width:18px;height:18px;padding:0!important;accent-color:#315ada}label,.field-label,.form-grid label{color:#45536d;font-size:12px;font-weight:500;line-height:1.7;gap:8px}button,.small-btn,.copy-btn,.basic-btn,.icon-btn{background:#fff;color:#334763;border:1px solid #dce4ef;border-radius:11px;box-shadow:none;min-height:44px;padding:10px 15px;font-weight:500;transition:background .18s,border-color .18s,transform .18s}button::before{display:none!important}button:hover:not(:disabled){background:#f0f4fc;border-color:#aabbdd}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.5;cursor:not-allowed}button.primary,button[type=submit],.primary,.guide-primary-btn,.welcome-cta{background:#315ada!important;color:#fff!important;border:1px solid #315ada!important;box-shadow:0 4px 12px #315ada14!important;font-weight:600;min-height:48px}button.primary:hover:not(:disabled),button[type=submit]:hover:not(:disabled){background:#254bc4!important}button.secondary,.secondary,.small-btn,.copy-btn,.icon-btn,.quiet-button{background:#fff;color:#40516e;border:1px solid #dce4ef;box-shadow:none}.danger,.danger-btn{color:#b0344a!important;background:#fff2f4!important;border-color:#f2d2da!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #315ada;outline-offset:3px}svg{width:20px;height:20px;stroke-width:1.7;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a{color:#315ada}.workspace-topbar{margin-bottom:24px;padding:0 2px}.wordmark,.welcome-brand{color:#1a2845;font-size:19px;letter-spacing:.04em;gap:11px}.ui-logo{width:40px;height:40px;border-radius:12px;background:#315ada;color:white;box-shadow:0 6px 16px #315ada15;font-size:25px;letter-spacing:-.08em}.wordmark-sub{color:#73829a;font-size:8px;letter-spacing:.18em}.topbar-actions{gap:8px}.quiet-button{width:40px;height:40px;min-height:40px;padding:8px}.app-hero{border:1px solid #e0e8f4;border-radius:24px;background:linear-gradient(115deg,#fff 20%,#eef3ff 70%,#e8f7f1);padding:26px;box-shadow:0 10px 36px #243f6d05;margin-bottom:22px}.app-hero::before,.app-hero::after{display:none}.hero-topline{margin-bottom:10px}.workspace-label{color:#64738f;font-size:9px;letter-spacing:.12em}.status-dot{background:#28a989;box-shadow:0 0 0 4px #28a98910}.hero-role{color:#315ada;background:#ffffffa8;border:1px solid #dce5fa;border-radius:20px;padding:4px 12px;font-size:10px}.hero-intro{min-height:120px;grid-template-columns:1fr 180px}.brand-copy .hero-greeting{color:#64738f;font-size:13px}.brand-copy h1{color:#1a2845;font-size:32px;font-weight:600;letter-spacing:-.045em}.brand-copy #heroUserName{color:#62718a;font-size:12px;max-width:450px}.depth-scene{width:170px;height:120px;transform:none!important;pointer-events:none;margin:0}.depth-scene>*{display:none}.depth-scene::before{content:'';position:absolute;width:85px;height:85px;top:10px;left:40px;border:19px solid #fff;border-radius:26px;transform:rotate(-25deg);box-shadow:12px 14px 0 #315ada14,-16px -8px 0 #9cd9cd30,inset 0 0 0 1px #dce6f6}.depth-scene::after{content:'↗';position:absolute;top:18px;left:65px;color:#315ada;font-size:40px;transform:rotate(-8deg)}.hero-stats-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;background:transparent;border:0;border-radius:0;gap:12px;padding:0;margin-top:24px;box-shadow:none}.hero-stats-grid>div,.hero-stats-grid>div:not(.hero-money),.hero-stats-grid>.hero-money{border:1px solid #e3eaf5!important;border-radius:15px;padding:17px;background:#ffffffb8;box-shadow:none}.hero-stats-grid span{color:#63718a;font-size:11px}.hero-stats-grid b,.hero-stats-grid .hero-money b{color:#20365b;font-size:25px;font-weight:600;line-height:1.3;margin-top:7px}.hero-stats-grid .hero-money b{color:#315ada}.hero-money svg{color:#315ada}.hero-money small{color:#7c889c;font-size:9px}.tabs,body.is-admin .tabs{position:sticky;top:0;display:flex;gap:4px;background:#ffffffed;border:1px solid #e3e9f4;border-radius:15px;padding:6px;backdrop-filter:blur(16px);box-shadow:0 5px 18px #24436b05;margin-bottom:24px;overflow:auto;z-index:20}.tabs .tab,body.is-admin .tabs .tab{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:0;box-shadow:none;min-height:44px;padding:10px 14px;border-radius:10px;color:#64718a;white-space:nowrap;font-size:12px!important;font-weight:500;flex:1}.tabs .tab.active,body.is-admin .tabs .tab.active{background:#edf2ff;color:#315ada;font-weight:600;box-shadow:none}.tabs .tab svg{width:18px;height:18px}.panel,.modal-card{background:#fff;border:1px solid #e3e9f2;border-radius:20px;box-shadow:0 8px 26px #20345b04;padding:28px;color:#1a2845}.panel.active{animation:lumi-in .25s ease both}.panel .panel{box-shadow:none}.section-head,.admin-titlebar{margin-bottom:16px;gap:16px}.section-head h2,.admin-titlebar h2,.modal-card h2{color:#1a2845;font-size:24px;font-weight:600;letter-spacing:-.045em}.eyebrow,.ui-kicker,.section-head .eyebrow{font-size:9px;color:#73839e;letter-spacing:.14em;font-weight:500}.section-description{color:#6c7a91;font-size:13px;line-height:1.85;margin:8px 0 24px}.form-grid{gap:20px}.form-grid>label{min-width:0}.issuer-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.issuer-options .issuer-option{display:flex;gap:10px;align-items:center;background:#fff;color:#243954;border:1px solid #e0e7f1;border-radius:13px;min-height:72px;padding:12px;text-align:left;min-width:0}.issuer-option img{width:32px;height:32px;background:#f6f8fc;padding:4px;border-radius:8px}.issuer-option>span:not(.issuer-check){color:#243954;font-size:13px;font-weight:600}.issuer-option small{font-size:9px;color:#77859a;font-weight:400}.issuer-options .issuer-option.selected{background:#f0f4ff;border-color:#7896eb;box-shadow:0 0 0 1px #315ada08}.issuer-check{width:14px;height:14px;border:1px solid #c5cede;border-radius:50%;margin-left:auto;flex-shrink:0}.selected .issuer-check{border:4px solid #315ada;background:white}.issuer-field.enhanced .issuer-native{display:none}.create-va-submit{display:flex;justify-content:space-between;align-items:center;margin-top:2px}.form-footnote{color:#76839a;font-size:11px;display:flex;gap:6px;align-items:center;justify-content:center;line-height:1.7}.form-footnote svg{color:#7e90af;width:16px}.card,.settings-box,.accordion-card,.va-line,.qr-box,.empty,.log-card,.done-card,.admin-va-card,.plain-card-head,.stat-card,.va-history-row,.guide-contact-card,.guide-rule-card,.guide-table-wrap{background:#fff;border:1px solid #e2e9f3;border-radius:14px;box-shadow:none;color:#263852}.card{padding:18px}.card-title{color:#243751;font-size:14px;font-weight:600}.card-sub,.card-meta,.split-title span{color:#6a7890;font-size:12px;line-height:1.75}.amount,.stat-number{color:#243954;font-variant-numeric:tabular-nums}.amount.good,.good{color:#14775b}.pill{background:#eef3fc;color:#4f658a;border:0;border-radius:6px;font-size:10px;padding:5px 8px}.pill.paid,.pill.approved{color:#16745b;background:#e9f6f0}.pill.pending{color:#94631f;background:#fff5e3}.pill.rejected{color:#b13d55;background:#fcecf0}.empty{background:#fafcff;border:1px dashed #d7e0ef;color:#738199;padding:30px 18px;font-size:13px}.empty-symbol{color:#5877be;background:#edf2fc;border-radius:10px}.recipient-empty strong{color:#475c7a}.recipient-empty p{color:#74829a}.list{gap:12px}.stat-card{padding:20px}.stat-number{font-weight:600;font-size:27px}.mono{font-family:'Be Vietnam Pro',sans-serif;letter-spacing:.015em;font-variant-numeric:tabular-nums}.modal{background:#182b4b55;backdrop-filter:blur(8px);padding:18px}.modal-card{max-height:calc(100dvh - 36px);overflow:auto;width:min(720px,100%)}.modal-card .section-head h2{font-size:22px}.icon-btn{font-size:22px!important;width:42px;height:42px;min-height:42px;padding:7px}.toast{background:#1d3357;color:#fff;border:1px solid #324b70;border-radius:12px;box-shadow:0 12px 30px #1a284525;font-size:13px;bottom:24px}.notice{background:#edf4ff;color:#37547d;border:1px solid #cfdef3;border-radius:14px;padding:20px}.notice.error{background:#fff0f3;color:#9e3549;border-color:#eed0d7}.workspace-footer{color:#8390a5;display:flex;justify-content:space-between;font-size:10px;margin:24px 2px}.guide-bubble{display:none!important}.guide-modal-card{background:#fff}.guide-hero{background:linear-gradient(110deg,#f4f7ff,#eef9f4);color:#253d62}.guide-logo-core{background:#315ada;color:#fff}.guide-section h3,.split-title h3{color:#293e5f;font-weight:600}.guide-section p,.guide-contact-card p{color:#65758d}.guide-table-wrap th{background:#f3f6fc;color:#536987}.guide-table-wrap td{color:#344968;border-color:#e4eaf3}.bank-picker-enhanced select[name=bankSelect]{display:none}#bankPickerToggle{width:100%;display:flex;gap:10px;align-items:center;min-height:48px;background:#f9fbff;color:#314765;border:1px solid #dce4f0;border-radius:12px;text-align:left}#bankPickerToggle img,.bank-choice img{width:28px;height:28px;object-fit:contain;background:white;border-radius:7px}#bankPickerToggle .bank-picker-arrow{margin-left:auto}.bank-picker{background:#fff;border:1px solid #dce5f3;padding:14px;border-radius:14px;box-shadow:0 12px 30px #20345812}.bank-picker-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:260px;overflow:auto;margin-top:12px}.bank-choice{display:flex;align-items:center;gap:8px;text-align:left;font-size:12px!important}.bank-choice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#lookupStatus{color:#456f9b}.accordion-head{background:#f8faff;color:#334d74;border-radius:13px}.accordion-body{background:white}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;color:#334a69}th{background:#f5f8fd;color:#647691;font-size:11px;font-weight:500}td,th{padding:13px;border-bottom:1px solid #e6ecf5;text-align:left}details{background:#f8faff;border:1px solid #e2e9f3;border-radius:12px;padding:12px;margin:12px 0}summary{cursor:pointer;color:#365482}#bidvBulkForm{padding:20px;border:1px solid #e2e9f3;background:#f8faff;border-radius:16px}#createVaForm>[data-daily-hint],#bidvBulkForm>[data-daily-hint]{padding:12px 14px;border-radius:10px;background:#edf5ff;color:#4f668a;font-size:11px}#bidvInventoryDialog>div,#dailyLimitDialog>div,#ctvReviewDialog>div{font-family:inherit;border:1px solid #dfe7f3;border-radius:20px!important;box-shadow:0 24px 80px #192d5025}#bidvInventoryDialog,#dailyLimitDialog,#ctvReviewDialog{background:#182b4b55!important;backdrop-filter:blur(8px)}[data-bidv-inventory-field]{padding:16px;background:linear-gradient(110deg,#f5f8ff,#f1faf6);border:1px solid #e2eaf6;border-radius:13px;display:grid;gap:8px}[data-stock-message]{font-size:11px;color:#627791;margin:0}[data-stock-refresh]{justify-self:start;font-size:11px!important;min-height:34px;padding:6px 10px}[data-daily-hint]{font-size:11px;color:#5e7594}#dailyLimitDialog form,#ctvReviewDialog article{padding:16px!important;background:#f9fbff;border:1px solid #e3eaf4!important;border-radius:13px!important}#dailyLimitDialog h3{font-size:16px}.busy-state,.loading-state{background:#f5f8fe!important;border:1px solid #e1e9f6!important;color:#647995!important;border-radius:14px}.loading-state{position:relative;overflow:hidden}.loading-state::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent 10%,#ffffffc9 45%,transparent 75%);animation:lumi-shimmer 1.7s infinite}.spinner{border:2px solid #dbe5fa;border-top-color:#315ada}.launch-state{min-height:80dvh;display:flex;align-items:center;justify-content:center;gap:18px;background:none;color:#73849d}.launch-state p{font-size:12px}.launch-wordmark{font-size:24px;letter-spacing:.14em;font-weight:600;color:#243d68;text-align:center}.launch-wordmark span{display:block;font-size:8px;letter-spacing:.2em;color:#8090a8;margin-top:8px}.lumi-loader{width:108px;height:108px;position:relative;display:grid;place-items:center;margin-bottom:12px}.lumi-loader b{display:grid;place-items:center;background:#315ada;color:white;width:46px;height:46px;border-radius:14px;font-size:29px;font-weight:600;box-shadow:0 10px 25px #315ada25}.lumi-loader span{position:absolute;inset:0;border:1px solid #b7cafa;border-radius:32px;animation:lumi-orbit 6s linear infinite}.lumi-loader span:nth-child(2){inset:10px;border-color:#a5dfd2;border-radius:28px;animation-direction:reverse;animation-duration:9s}.lumi-loader span:nth-child(3){inset:-12px;border-color:#dce5f8;border-style:dashed;animation-duration:16s}.lumi-scan{width:130px;height:3px;background:#e1e9f8;border-radius:9px;overflow:hidden}.lumi-scan::after{content:'';display:block;width:45%;height:100%;background:linear-gradient(90deg,#315ada,#8ed9c8);animation:lumi-shimmer 1.5s ease-in-out infinite}.welcome-screen{max-width:560px;padding:25px 18px;text-align:center}.welcome-screen h1{color:#203559;font-size:42px;line-height:1.3;font-weight:600;letter-spacing:-.05em}.welcome-screen h1 em{color:#315ada}.welcome-description{color:#6c7f99;font-size:14px;line-height:1.9;max-width:400px}.welcome-footnote,.welcome-features{color:#8391a8}.welcome-features b{color:#4b6282}.welcome-art{height:230px;max-width:100%;margin:28px auto}.welcome-orb{background:radial-gradient(circle at 30% 25%,#fff,#dae9ff 45%,#9cbee8);box-shadow:0 25px 40px #a6bddf35}.welcome-orbit{border-color:#c7d8ee}.welcome-glass{background:linear-gradient(125deg,#fff,#edf4ff);border:1px solid #d6e4f6;box-shadow:0 18px 40px #607da226;color:#315ada}.welcome-glass>span:first-child,.welcome-glass strong{color:#315ada}.welcome-glass small{color:#7b8da9}.ui-chip{background:linear-gradient(130deg,#c4d4ef,#f5f8fe);border-color:#b7cbe9}.welcome-cta{border-radius:12px;text-decoration:none}.welcome-features{display:flex;justify-content:space-between;gap:16px}.welcome-features>span{display:flex;flex-direction:column;gap:5px}.welcome-features b{font-size:11px}.lumi-icon{width:18px;height:18px;vertical-align:middle}button[aria-busy=true]{position:relative}button[aria-busy=true]::after{content:'';display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-left:9px;animation:lumi-orbit .8s linear infinite}.lumi-page-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;color:#73839d;font-size:11px}.lumi-page-heading b{color:#30496d;font-weight:500}#uiMotionToggle[aria-pressed=true]{background:#eaf0ff;color:#315ada;border-color:#a8bcef}
@keyframes lumi-orbit{to{transform:rotate(360deg)}}@keyframes lumi-shimmer{from{transform:translateX(-120%)}to{transform:translateX(240%)}}@keyframes lumi-in{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1000px){body.is-admin .shell{max-width:1440px;padding-left:242px}body.is-admin .tabs{position:fixed;left:max(20px,calc((100vw - 1440px)/2 + 20px));top:28px;bottom:28px;width:194px;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:14px 10px;gap:5px;border-radius:20px;overflow:auto;margin:0;background:#fff}body.is-admin .tabs::before{content:'VTMN / QUẢN TRỊ';font-size:10px;letter-spacing:.1em;color:#8090a8;padding:12px 12px 22px}body.is-admin .tabs .tab{flex:none;justify-content:flex-start;text-align:left;white-space:normal;padding:12px;gap:10px;font-size:11px!important;min-height:46px}body.is-admin .app-hero{padding:24px}.hero-intro{min-height:90px}#createVaForm{grid-template-columns:1fr 1fr}#createVaForm>.issuer-field{grid-column:1/-1;grid-row:auto}#createVaForm>[data-bidv-inventory-field]{grid-column:1/-1}#createVaForm>label,#createVaForm>button,#createVaForm>p{grid-column:1/-1}.bank-picker-enhanced{grid-template-columns:1fr 1fr}.bank-picker-enhanced .recipient-name-field{grid-column:1/-1}}
@media(max-width:759px){.shell{padding:18px 16px max(28px,env(safe-area-inset-bottom))}.workspace-topbar{margin-bottom:18px}.app-hero{padding:19px;border-radius:20px;margin-bottom:18px}.hero-intro{grid-template-columns:1fr 75px;min-height:105px}.brand-copy h1{font-size:26px;max-width:240px}.brand-copy .hero-greeting{font-size:12px}.brand-copy #heroUserName{font-size:11px;max-width:240px}.depth-scene{width:75px;height:100px;transform:scale(.65)!important;transform-origin:right center;margin-left:-25px}.hero-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:17px}.hero-stats-grid>.hero-money{grid-column:1/-1;padding:16px!important;background:linear-gradient(110deg,#fff,#f6f9ff)}.hero-stats-grid>div:not(.hero-money){padding:12px 8px!important}.hero-stats-grid span{font-size:9px}.hero-stats-grid b{font-size:20px}.hero-stats-grid .hero-money b{font-size:29px}.hero-money small{display:none}.tabs,body.is-admin .tabs{top:0;border-radius:13px;padding:5px;margin-bottom:18px;gap:3px}.tabs .tab,body.is-admin .tabs .tab{font-size:10px!important;min-height:53px;flex-direction:column;gap:5px;padding:8px 12px;flex:1 0 auto}.tabs .tab svg{width:18px;height:18px}.panel,.modal-card{padding:21px 17px;border-radius:18px}.section-head h2,.admin-titlebar h2,.modal-card h2{font-size:21px}.section-description{font-size:12px;margin-bottom:21px}.issuer-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.issuer-options .issuer-option{flex-direction:column;text-align:center;justify-content:center;gap:7px;padding:11px 5px;min-height:103px;position:relative}.issuer-option>span:not(.issuer-check){font-size:12px}.issuer-option small{font-size:8px;line-height:1.4}.issuer-check{position:absolute;top:8px;right:6px;width:10px;height:10px}.selected .issuer-check{border-width:3px}.form-grid{gap:17px}.card{padding:15px}.card-sub,.card-meta{font-size:11px}.modal{padding:10px}.modal-card{max-height:calc(100dvh - 20px)}.welcome-screen h1{font-size:34px}.welcome-description{font-size:13px}.workspace-footer{font-size:8px;gap:10px}.form-footnote{font-size:10px}.stat-card{padding:14px}.stat-number{font-size:23px}.welcome-art{transform:scale(.9);margin:18px auto}.lumi-page-heading{font-size:10px}#bidvBulkForm{padding:15px}#bidvInventoryDialog>div,#dailyLimitDialog>div,#ctvReviewDialog>div{padding:18px!important}#ctvReviewDialog h2,#dailyLimitDialog h2,#bidvInventoryDialog h2{font-size:20px}input,select,textarea{font-size:16px!important}.bank-picker-list{grid-template-columns:1fr 1fr}}
@media(max-width:359px){.shell{padding-left:10px;padding-right:10px}.panel{padding:18px 13px}.hero-intro{grid-template-columns:1fr 55px}.brand-copy h1{font-size:23px}.hero-stats-grid span{font-size:8px}.tabs .tab{padding:8px 9px}.issuer-option small{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.motion-paused .lumi-loader span,.motion-paused .lumi-scan::after{animation:none}
.depth-scene>*,.depth-scene .scene-card.card-front{display:none!important}
#adminSettingsRoot>.panel.card{display:block;margin-top:16px}#adminSettingsRoot>.card{margin-bottom:16px}.limit{background:#eef3fc;color:#526c90;border:1px solid #dce6f5;border-radius:7px}.user-actions{gap:12px}.user-actions>label{display:flex;flex-direction:column;gap:8px}.user-actions>label:has(input[type=checkbox]){flex-direction:row;align-items:center}.subtab{background:#fff;color:#62718a;border-color:#dce4ef}.subtab.active{background:#edf2ff;color:#315ada;border-color:#cbd8fa}
