/* P303 House 2.1 — measured MobiFone layout/palette, expense-first */
:root{--house-paper:#f8fbfc;--house-white:#fff;--house-ink:#041f4a;--house-green:#237bd3;--house-line:#d1d5db;--house-muted:#6b7280;--house-lime:#e5f1ff;--house-orange:#eb2a28;--p303-blue:#237bd3;--p303-navy:#0a4874;--p303-red:#eb2a28}
html{scroll-behavior:smooth;scroll-padding-top:145px}body.p303-house{margin:0;background:#f8fbfc;font-family:Roboto,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#344a6c;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}body.p303-house *,body.p303-house *:before,body.p303-house *:after{box-sizing:border-box}button,input,textarea,select{font-family:inherit}button{cursor:pointer;touch-action:manipulation}.hidden,[hidden]{display:none!important}:focus-visible{outline:3px solid #82bbef;outline-offset:3px}::selection{background:#d5e9ff;color:#041f4a}body.p303-house .font-mono{font-family:inherit;font-variant-numeric:tabular-nums}body.p303-house .soft-card{background:#fff;border:1px solid #d1d5db;border-radius:12px;box-shadow:none}body.p303-house [class*="bg-gradient"]{background-image:none!important}body.p303-house [class*="shadow"]{box-shadow:none}body.p303-house .primary,.p303-l-primary,.p303-n-primary,.house-button{background:#237bd3;color:#fff;border:1px solid #237bd3;border-radius:8px;min-height:42px;font-size:14px;font-weight:600;padding:10px 20px;box-shadow:none;display:inline-flex;justify-content:center;align-items:center;gap:8px}.primary:hover,.p303-l-primary:hover,.p303-n-primary:hover,.house-button:hover{background:#1468ba}.p303-btn,.p303-input{border-radius:6px;border-color:#d1d5db}.p303-input{min-height:44px}.p303-input:focus{border-color:#237bd3;outline:2px solid #dcecff}.p303-overlay{background:#041f4a80;backdrop-filter:none}.p303-modal{border-radius:12px}.house-link{color:#237bd3;font-weight:600;display:inline-flex;align-items:center;gap:7px}.house-link svg,.house-button svg{width:17px;height:17px}
/* Logo/header/nav: white two-band desktop header, mobile drawer. */
#appScreen>header{position:sticky;top:0;background:#fff;border:0;box-shadow:0 1px 4px #00000012;z-index:30}#appScreen>header>div:not(.p303-utility){max-width:1300px;height:68px;margin:auto;padding:10px 65px;border:0;gap:14px;flex-wrap:nowrap}#appScreen>header .p303-utility{position:absolute;top:4px;right:max(65px,calc((100vw - 1170px)/2));height:18px;font-size:11px;line-height:18px;color:#0060a6;display:flex;align-items:center;z-index:2}#appScreen>header .p303-utility>span{display:none}.p303-utility>div{display:flex;gap:20px}.p303-utility button{background:none;border:0;color:inherit;padding:0}.p303-brand{gap:14px;flex:1;min-width:0}.p303-brand-mark,.house-mark{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:none!important;border:0;border-radius:0;box-shadow:none;transform:none;line-height:1;width:120px;flex:0 0 120px;height:48px;gap:3px;color:#237bd3;position:relative}.p303-brand-mark:after,.house-mark:after{display:none}.p303-brand-number,.house-mark b{font-size:34px;font-weight:750;letter-spacing:-1.5px;line-height:1}.p303-brand-house,.house-mark small{font-size:10px;font-weight:700;color:#eb2a28;letter-spacing:3.5px;margin-left:3px;line-height:1}.p303-brand-copy{padding-left:16px;border-left:1px solid #d1d5db}.p303-brand-name{font-size:19px;font-weight:600;color:#0a4874;letter-spacing:0}.p303-brand-sub{font-size:12px;color:#6b7280;letter-spacing:0;margin-top:2px}#appScreen>header>div:not(.p303-utility)>div:last-child{padding-top:13px;gap:10px}#appScreen>header>nav{background:#fff;border-top:1px solid #f4f5f7;border-bottom:1px solid #e7ebef}#appScreen>header>nav>div{max-width:1300px;padding:0 65px;margin:auto}#p303NavList{display:flex;gap:27px;align-items:center;overflow:visible;padding:0 140px 0 0;min-height:54px}#p303NavList>button{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:500;white-space:nowrap;text-transform:uppercase;letter-spacing:0;color:#484e54;background:none;padding:15px 0 12px;border:0;border-bottom:5px solid white;min-height:54px;position:relative}#p303NavList>button>svg{display:none}#p303NavList>button[data-p303-current="true"],#p303NavList>button:hover{border-bottom-color:#237bd3;color:#212529}#p303NavList>button:after{display:none}#userAvatar{background:#237bd3;color:white;border-radius:50%}#appScreen button[onclick="openProfileModal()"]{background:transparent;border-color:#e4e9ee;border-radius:6px}#currentUserName{font-size:12px}#p303Bell{border:0;background:transparent;border-radius:6px}#p303Bell svg{display:inline-block;width:18px;height:18px;color:#237bd3}#p303NotificationPanel{border-radius:8px}.p303-mobile-menu{display:none}.p303-header-search{position:absolute;right:max(65px,calc((100vw - 1170px)/2));bottom:12px;border:1px solid #ddd;border-radius:6px;background:#f9fbfc;color:#6b7280;min-width:118px;height:32px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px}.p303-header-search svg{height:18px;width:18px}.p303-header-search:after{content:'Tìm kiếm'}#expenseMain,#p303ModuleContent,#p303ModuleContent.p303-learning-view{max-width:1300px;width:100%;padding:30px 65px 45px;margin:0 auto}#expenseMain{padding-top:0}.house-admin-subnav{max-width:1170px;margin:20px auto 0;display:none;gap:20px;border-bottom:1px solid #d1d5db}.house-admin-subnav button{padding:9px 5px;background:none;border:0;border-bottom:2px solid transparent;font-size:13px;color:#53595f}.house-admin-subnav button[aria-current=page]{border-bottom-color:#237bd3;color:#237bd3}body[data-p303-module=admin] .house-admin-subnav,body[data-p303-module=audit] .house-admin-subnav,body[data-p303-module=visuals] .house-admin-subnav{display:flex}#appScreen>footer{background:#fff;border-top:1px solid #e3e8ee;margin:25px 0 0;padding:25px max(30px,calc((100vw - 1170px)/2));color:#6b7280;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:20px}#appScreen>footer strong{font-size:16px;color:#0a4874}
/* Finance landing: broad campaign-format banner, action row, blue/red numeric cards. */
.p303-finance-banner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:40px;width:100vw;margin-left:calc(50% - 50vw);min-height:255px;padding:28px max(65px,calc((100vw - 1170px)/2));background:#e7f3fe;overflow:hidden}.p303-finance-banner>div:first-child{position:relative;z-index:1}.p303-finance-banner>div:first-child>span{color:#237bd3;font-size:15px;font-weight:700;letter-spacing:1px}.p303-finance-banner h1{font-size:42px;line-height:1.2;color:#0a4874;font-weight:750;margin:11px 0 13px;letter-spacing:-.5px}.p303-finance-banner p{font-size:16px;color:#344a6c;margin:0 0 20px}.p303-finance-banner button{display:inline-flex;align-items:center;gap:17px;border:0;border-radius:7px;background:#237bd3;color:white;padding:12px 20px;font-size:14px;font-weight:600;min-height:44px}.p303-finance-banner button:hover{background:#1068bd}.p303-finance-banner button svg{width:18px;height:18px}.p303-finance-art{position:relative;flex:0 0 310px;width:310px;height:210px;display:flex;align-items:center;justify-content:center}.p303-receipt{width:235px;min-height:190px;background:#fff;border:1px solid #b9d5ef;border-radius:12px;padding:18px 21px;position:relative;z-index:1;transform:rotate(-5deg);box-shadow:12px 12px 0 #bbdbf6}.p303-receipt>svg{color:#237bd3;width:26px;height:26px;display:inline;vertical-align:middle;margin-right:8px}.p303-receipt b{font-size:15px;font-weight:700;color:#0a4874}.p303-receipt span{font-size:11px;display:block;margin:9px 0;color:#6b7280}.p303-receipt hr{margin:11px 0;border:0;border-top:1px dashed #b3c7d9}.p303-receipt span svg{width:13px;height:13px;float:right;color:#237bd3}.p303-receipt strong{font-size:10px;letter-spacing:2px;color:#237bd3;display:block;text-align:right;margin-top:13px}.p303-banner-symbol{position:absolute;right:4px;bottom:0;z-index:2;border-radius:50%;display:grid;place-items:center;width:69px;height:69px;background:#237bd3;border:5px solid #e7f3fe;color:white;font-size:40px;line-height:1;font-weight:600}.p303-finance-shortcuts{display:flex;align-items:center;justify-content:center;gap:0;margin:0 -1px 28px;padding:15px 10px;background:#fff;border:1px solid #e5ebf0;border-top:0;border-radius:0 0 12px 12px}.p303-finance-shortcuts button{display:flex;align-items:center;justify-content:center;gap:10px;color:#0a4874;background:none;border:0;border-right:1px solid #e3e7eb;min-height:38px;flex:1;font-size:14px;font-weight:500;padding:0 18px}.p303-finance-shortcuts button:last-child{border-right:0}.p303-finance-shortcuts button:hover{color:#237bd3}.p303-finance-shortcuts svg{width:23px;height:23px;color:#237bd3}.p303-finance-section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0}.p303-finance-section-title h2{font-size:28px;color:#0a4874;font-weight:600;line-height:1.3;margin:0}.p303-finance-section-title>span{font-size:13px;color:#6b7280}.p303-finance-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 4px}.p303-finance-tools>label{display:flex;align-items:center;gap:10px;max-width:350px;width:100%;padding:10px 13px;background:#fff;border:1px solid #d1d5db;border-radius:6px}.p303-finance-tools>label svg{width:18px;height:18px;color:#6b7280}.p303-finance-tools input{width:100%;border:0;background:none;outline:none;font-size:14px;color:#041f4a;min-width:0}#p303PeriodControl{background:#fff;border:1px solid #d1d5db;border-radius:6px;font-size:13px;padding:10px 13px;position:static;box-shadow:none;flex-shrink:0}#periodSelect{color:#0a4874;font-size:13px}.p303-search-status{min-height:17px;font-size:11px;color:#6b7280;margin:4px 0 8px}.house-settlement{border:0!important;background:none!important;padding:0!important;border-radius:0!important;box-shadow:none!important}.house-settlement>div:first-child{background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:12px 15px;margin-bottom:18px}#currentPeriodLabel{font-size:16px;color:#0a4874}.house-settlement>.grid{gap:18px}.house-settlement>.grid>div{background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:18px;box-shadow:none;min-height:150px}.house-settlement>.grid>div>div:first-child{align-items:flex-start;gap:8px;flex-wrap:wrap;min-height:36px}.house-settlement>.grid>div>div:first-child>span:first-child{color:#041f4a;font-size:12px;text-transform:uppercase;letter-spacing:0;line-height:1.5;font-weight:700}.house-settlement>.grid>div>div:last-child{background:#f4f9ff;border:1px solid #237bd3;border-radius:8px;padding:11px 9px;margin-top:10px;font-size:30px;line-height:1.2;font-weight:800;color:#237bd3;text-align:center;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.house-settlement>.grid>div:nth-child(4)>div:last-child{color:#eb2a28;border-color:#f0c3c3;background:#fff8f8}.house-settlement>.grid>div:nth-child(4) #settlementHeadline{color:#041f4a}#locCountBadge,#tungCountBadge,#avgPerPerson{font-size:10px;color:#6b7280;background:none;padding:0}#expenseFormSection{padding:22px;background:#fff;border:1px solid #d1d5db;border-radius:12px;margin-top:25px}#formSectionTitle{font-size:20px;color:#0a4874;font-weight:600}#expenseFormSection input,#expenseFormSection select{border-color:#d1d5db;border-radius:6px;box-shadow:none}#submitExpenseBtn{background:#237bd3;box-shadow:none;border-radius:8px;min-height:44px}#payerSelectorContainer{background:#f4f9ff;border-color:#d1d5db;border-radius:8px}#expenseFormSection form>div:last-child>button{border-radius:6px;box-shadow:none;font-size:11px;min-height:30px}#expenseMain table{font-variant-numeric:tabular-nums}#expenseMain thead th{background:#f8f9fa;color:#6b7280;font-size:11px;text-transform:uppercase;font-weight:600}#expenseMain tbody td{font-size:13px}#expenseMain tbody tr:hover{background:#f4f9ff}.loc-header,.tung-header{background:#f4f9ff;border-color:#d1d5db;color:#0a4874}#locTableTotalHeader,#locTableFooterTotal{color:#1e40af}#tungTableTotalHeader,#tungTableFooterTotal{color:#065f46}.km-sparkle-row{background:#fff7df;animation:none}.km-sparkle-text{color:#926500;background:none;animation:none;-webkit-text-fill-color:currentColor}.km-badge-pill{background:#fff0bf;color:#805d12;border-color:#e8d087;animation:none;box-shadow:none}
/* Auth: plain branded service login, no lifestyle slogan or study photo. */
#introSplashScreen{background:#fff!important;color:#0a4874}#introSplashScreen .house-mark{width:150px;flex-basis:auto;align-items:center}#introSplashScreen .house-mark b{font-size:44px}#loginScreen{background:#f4f9ff!important;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;padding:0;min-height:100dvh}#loginScreen:before,#loginScreen:after{display:none!important}.house-login-story{background:#237bd3;padding:50px max(32px,calc((100vw - 1170px)/2));padding-right:50px;color:#fff;display:flex;flex-direction:column;justify-content:center}.house-signature{display:flex;align-items:center;gap:16px}.house-login-story .house-mark{color:white}.house-login-story .house-mark small{color:#fff}.house-signature strong{font-size:24px;color:inherit}.house-signature p{font-size:13px;margin-top:5px}.house-login-copy{margin:45px 0}.house-login-copy>span{font-size:13px;letter-spacing:1px}.house-login-copy h2{font-size:42px;font-weight:700;line-height:1.3;margin:15px 0 20px;color:inherit}.house-login-copy em{font-style:normal}.house-login-copy p{font-size:16px;line-height:1.8;max-width:400px}.house-login-photo{display:none}.house-login-bottom{font-size:12px;display:flex;gap:20px;flex-wrap:wrap;border-top:1px solid #ffffff4d;padding-top:22px}.house-login-panel{display:flex;align-items:center;justify-content:center;padding:45px 35px}.house-login-box{width:100%;max-width:410px;background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:30px}.house-login-welcome{margin-bottom:25px}.house-login-welcome>span{font-size:11px;color:#6b7280;letter-spacing:1px}.house-login-welcome h1{font-size:30px;color:#0a4874;font-weight:600;margin:7px 0}.house-login-welcome p{font-size:13px;color:#6b7280}.house-login-footnote{border-top:1px solid #e7ecf0;color:#6b7280;font-size:11px;margin-top:25px;padding-top:16px}#quickUserContainer{display:grid;grid-template-columns:1fr 1fr;gap:9px}.house-quick-account{display:flex;align-items:center;gap:10px;border:1px solid #d1d5db;border-radius:6px;background:#f9fbfc;padding:11px;text-align:left;font-size:13px;color:#0a4874}.house-quick-account>span:first-child{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e2effd}.house-quick-account small{display:block;color:#6b7280;font-size:10px}#loginUsername,#loginPassword{height:45px;background:white;border:1px solid #d1d5db;border-radius:6px;font-size:13px;box-shadow:none}#loginPassword{padding-right:43px}.house-login-eye{position:absolute;right:7px;top:7px;width:31px;height:31px;display:grid;place-items:center;color:#6b7280}.house-login-eye svg{width:18px;height:18px}#loginBtn{background:#237bd3;border-radius:8px;min-height:46px;box-shadow:none}.p303-login-links{border-color:#e4e9ef;font-size:11px}.p303-login-links button{color:#237bd3}.p303-remember{font-size:11px;color:#6b7280}.p303-remember input{accent-color:#237bd3}.p303-auth-sheet,.p303-auth-input{border-color:#d1d5db}.p303-auth-submit{background:#237bd3}.p303-auth-aside{background:#f4f9ff}.p303-auth-heading h2{color:#0a4874}
/* Secondary areas share the reference's blue/white cards; no large learning cover. */
.p303-l-page{background:none}.p303-l-hero{background:transparent;padding:0;margin:0 0 24px;min-height:0;display:block;overflow:visible;color:#0a4874}.p303-l-banner,.p303-l-hero-mark,.p303-l-hero-overlay{display:none!important}.p303-l-hero-copy{padding:0;max-width:none}.p303-l-eyebrow{display:none}.p303-l-hero-copy h2{font-size:30px;font-weight:600;line-height:1.3;color:#0a4874;margin:0 0 10px;letter-spacing:0}.p303-l-hero-copy p{font-size:14px;color:#6b7280;margin:0}.p303-l-hero-copy>.house-button{display:none}.p303-l-inner{padding:0;max-width:none}.p303-l-stats{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}.p303-l-stat{border:1px solid #d1d5db;border-radius:12px;background:white;box-shadow:none}.p303-l-stat strong{color:#237bd3}.p303-l-stat-icon,.p303-l-foldercard-icon,.p303-l-paper-icon,.p303-l-folder{background:#f4f9ff;color:#237bd3}.p303-l-foldercard{border:1px solid #d1d5db;border-radius:12px;box-shadow:none;transform:none;min-height:120px;background:white}.p303-l-foldercard:hover{transform:none;border-color:#237bd3;box-shadow:none}.p303-l-foldercard-info strong{color:#041f4a;font-size:18px}.p303-l-foldercard-info small{color:#6b7280;font-size:12px}.p303-l-label{color:#6b7280}.p303-l-adminbar{background:#f4f9ff;border-color:#d1d5db;border-radius:8px}.p303-l-primary,.p303-l-start{background:#237bd3;border-color:#237bd3;border-radius:8px}.p303-l-sectionheading h2,.p303-l-detail-heading h2{color:#0a4874}.house-library-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:18px 0}.house-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:10px 12px;max-width:350px;width:100%}.house-search input{border:0;outline:none;min-width:0;width:100%;font-size:13px}.house-search svg{width:17px;height:17px}.house-library-tools>span{font-size:12px;color:#6b7280}.house-search-empty{padding:24px;text-align:center;color:#6b7280}.house-resume{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f4f9ff;border:1px solid #c7def4;border-radius:8px;padding:18px 20px;margin:20px 0}.house-resume strong{display:block;font-size:14px;color:#041f4a;margin:5px 0}.house-resume p{font-size:12px;color:#6b7280}.house-kicker{font-size:11px;color:#6b7280;font-weight:600}.p303-n-head h2,.p303-adm-head h2{color:#0a4874;font-size:30px;font-weight:600;letter-spacing:0}.p303-n-head p,.p303-adm-sub{color:#6b7280}.p303-n-mark,.p303-adm-kpi-icon{background:#f4f9ff;color:#237bd3;border-radius:8px}.p303-n-workspace,.p303-adm-roster,.p303-adm-detail,.p303-adm-kpi{border-color:#d1d5db;border-radius:12px;box-shadow:none;background:white}.p303-n-sidebar{background:#f8f9fa;border-color:#d1d5db}.p303-n-category.active,.p303-n-filter.active{background:#237bd3;color:white}.p303-n-listitem.active{background:#f4f9ff;box-shadow:inset 3px 0 #237bd3}.p303-n-detail-title h2,.p303-n-itemtitle{color:#041f4a}.p303-n-detail-section h3,.p303-n-detail-links a{color:#237bd3}.p303-n-detail-links a{background:#f4f9ff;border-color:#d1d5db}.p303-n-primary{background:#237bd3}.p303-adm-action.primary-action{background:#237bd3;border-color:#237bd3}.p303-adm-detail-top{background:#f4f9ff}.p303-adm-avatar,.p303-adm-avatar.admin{background:#e4f0fd;color:#237bd3;border-radius:50%}.p303-adm-person.active{background:#f4f9ff;border-color:#237bd3;box-shadow:none}.p303-adm-user-name,.p303-adm-h3{color:#0a4874}.p303-grant-panel>summary{background:#f4f9ff}.p303-adm-switch:checked{background:#237bd3;border-color:#237bd3}.p303-access-page{background:white;border-color:#d1d5db;box-shadow:none}.p303-access-primary{background:#237bd3;border-color:#237bd3}.p303-access-icon{background:#f4f9ff;color:#237bd3}.p303-access-copy h2{color:#0a4874}.house-home-top,.house-home-hero,.house-destinations,.house-home-bottom,.house-home-closing{max-width:100%}.house-home-photo{display:none}.house-home-hero-copy h1{font-size:28px;color:#0a4874}.house-home-hero-copy p{color:#6b7280}.house-home{background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:25px}.house-home h2{font-size:22px;color:#0a4874;margin:20px 0}.house-destinations{display:flex;gap:20px;margin:15px 0}.house-destination{flex:1;background:#f4f9ff;padding:18px;border-radius:8px}.house-destination h3{font-size:17px;font-weight:600;color:#0a4874}.house-destination p{font-size:12px;margin:10px 0}.house-destination-icon svg{height:24px;width:24px;color:#237bd3}.house-destination-number{display:none}.house-home-bottom{display:flex;gap:20px;margin-top:20px}.house-today-summary{flex:1;padding:15px;background:#f8f9fa;border-radius:8px}.house-today-summary strong{display:block;font-size:24px;color:#237bd3}.house-today-summary p{font-size:12px}.house-round-arrow{color:#237bd3;width:25px}.house-round-arrow svg{width:20px;height:20px}
@media(min-width:1024px){.house-settlement>.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:770px) and (max-width:1199px){#appScreen>header>div:not(.p303-utility),#appScreen>header>nav>div,#expenseMain,#p303ModuleContent,#p303ModuleContent.p303-learning-view{padding-left:30px;padding-right:30px}#p303NavList{gap:19px;padding-right:120px}#p303NavList>button{font-size:12px}.p303-header-search{right:30px;min-width:100px}.p303-finance-banner{padding-left:30px;padding-right:30px}.p303-finance-banner h1{font-size:35px}.p303-finance-art{flex-basis:260px}.house-settlement>.grid{gap:12px}.house-settlement>.grid>div{padding:14px}.house-settlement>.grid>div>div:last-child{font-size:26px}}
@media(max-width:769px){html{scroll-padding-top:80px}body.p303-house{font-size:13px}#appScreen{padding-bottom:0}#appScreen>header>div:not(.p303-utility){padding:10px 16px;height:65px;min-height:65px;gap:10px;justify-content:space-between}#appScreen>header .p303-utility{display:none}.p303-mobile-menu{display:grid;place-items:center;width:30px;height:35px;flex:0 0 30px;background:none;border:0;color:#237bd3}.p303-mobile-menu svg{width:25px;height:25px}.p303-brand{position:absolute;left:50%;transform:translateX(-50%);width:127px;flex:none;gap:0;justify-content:center}.p303-brand-mark{width:127px;flex-basis:127px;height:44px;align-items:center;gap:2px}.p303-brand-number{font-size:29px}.p303-brand-house{font-size:8px;margin-left:0}.p303-brand-copy{display:none}#appScreen>header>div:not(.p303-utility)>div:last-child{padding:0;gap:7px}.p303-header-search{position:static;min-width:28px;width:28px;height:32px;border:0;background:none}.p303-header-search:after{display:none}.p303-header-search svg{width:22px;height:22px}#currentUserName,#appScreen button[onclick="handleLogout()"]{display:none!important}#appScreen button[onclick="openProfileModal()"]{padding:0;border:0;background:none}#appScreen button[onclick="openProfileModal()"]>svg{display:none}#userAvatar{width:26px;height:26px;font-size:10px}#appScreen>header>nav{display:none;position:fixed;left:0;top:65px;bottom:0;right:auto;width:min(320px,85vw);background:white;z-index:80;border-right:1px solid #d1d5db;box-shadow:150px 0 0 150px #041f4a66}body[data-nav-open=true] #appScreen>header>nav{display:block}#appScreen>header>nav>div{padding:10px 18px}#p303NavList{flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:auto;max-height:calc(100dvh - 85px)}#p303NavList>button{min-height:54px;justify-content:flex-start;gap:12px;font-size:14px;font-weight:500;padding:16px 5px;border-bottom:1px solid #e8edf2}#p303NavList>button>svg{display:block;width:19px;height:19px;color:#237bd3}#p303NavList>button[data-p303-current=true]{border-bottom-color:#d1d5db;color:#237bd3;background:#f4f9ff}#expenseMain,#p303ModuleContent,#p303ModuleContent.p303-learning-view{padding:20px 16px 30px}#expenseMain{padding-top:0}.p303-finance-banner{min-height:175px;gap:10px;padding:22px 18px;width:100vw}.p303-finance-banner>div:first-child>span{font-size:11px}.p303-finance-banner h1{font-size:27px;line-height:1.3;margin:8px 0 10px;letter-spacing:-.4px}.p303-finance-banner p{font-size:12px;line-height:1.6;max-width:290px;margin-bottom:13px}.p303-finance-banner button{font-size:11px;padding:9px 13px;min-height:36px;gap:9px}.p303-finance-art{display:none}.p303-finance-shortcuts{margin-bottom:20px;padding:10px 0;border-radius:0 0 8px 8px}.p303-finance-shortcuts button{font-size:10px;padding:0 6px;gap:7px;min-height:40px;flex-direction:column}.p303-finance-shortcuts svg{height:21px;width:21px}.p303-finance-section-title{margin:15px 0}.p303-finance-section-title h2{font-size:20px;line-height:24px}.p303-finance-section-title>span{display:none}.p303-finance-tools{flex-direction:column;align-items:stretch;gap:10px}.p303-finance-tools>label{max-width:none;padding:9px 12px}.p303-finance-tools input{font-size:13px}#p303PeriodControl{justify-content:space-between;padding:9px 12px;font-size:12px}#p303PeriodControl>span{display:inline}#periodSelect{font-size:12px}.p303-search-status{margin-top:2px;min-height:12px}.house-settlement>.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.house-settlement>.grid>div{min-height:130px;padding:13px 11px;border-radius:12px}.house-settlement>.grid>div>div:first-child{min-height:30px;gap:5px}.house-settlement>.grid>div>div:first-child>span:first-child{font-size:10px}.house-settlement>.grid>div>div:last-child{font-size:25px;padding:11px 5px;margin-top:8px}.house-settlement>.grid>div:nth-child(3){order:-2}.house-settlement>.grid>div:nth-child(4){order:-1}#locCountBadge,#tungCountBadge,#avgPerPerson{font-size:9px}#currentPeriodLabel{font-size:13px}.house-settlement>div:first-child{gap:10px;padding:11px}.house-settlement>div:first-child>div:first-child>div:first-child{display:none}#paymentStatusWrapper>*{font-size:9px;padding:5px 8px}#expenseFormSection{padding:17px;margin-top:20px}#formSectionTitle{font-size:17px}#expenseMain tbody td{font-size:12px;padding:10px 8px}#expenseMain table{min-width:330px}#expenseMain thead th{font-size:10px}#expenseMain>.grid{gap:16px}.house-admin-subnav{margin:18px 16px 0;gap:12px;overflow-x:auto}.house-admin-subnav button{font-size:11px;white-space:nowrap}#appScreen>footer{padding:22px 16px;flex-wrap:wrap;font-size:11px;gap:10px}#appScreen>footer>span:last-child{width:100%;font-size:10px}.house-login-story{display:none}#loginScreen{display:flex;padding:30px 16px;justify-content:center;align-items:center;background:#f4f9ff!important}.house-login-panel{padding:0;width:100%}.house-login-box{max-width:430px;padding:25px 22px}.house-login-welcome h1{font-size:26px}.p303-login-links{flex-wrap:wrap}.p303-l-hero-copy h2{font-size:24px}.p303-l-hero-copy p{font-size:12px}.p303-l-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.p303-l-stat{padding:13px 10px;gap:6px}.p303-l-stat-icon{display:none}.p303-l-stat strong{font-size:23px}.p303-l-stat span{font-size:10px}.p303-l-foldergrid{grid-template-columns:1fr}.p303-l-foldercard{padding:18px;gap:12px}.p303-l-foldercard-info strong{font-size:17px}.p303-l-adminbar{padding:15px}.house-library-tools{flex-wrap:wrap}.house-search{max-width:none}.house-resume{padding:15px;align-items:flex-start;flex-direction:column;gap:12px}.p303-n-head h2,.p303-adm-head h2{font-size:24px}.p303-n-head p{font-size:11px;max-width:230px}.p303-n-primary{font-size:11px;padding:8px 10px;min-height:38px}.p303-n-mark{display:none}.p303-adm-action{font-size:10px;padding:8px 9px}.p303-adm-info-val{overflow-wrap:anywhere}.p303-adm-kpi{padding:13px 10px}.p303-adm-kpi-icon{width:28px;height:28px}.p303-adm-kpi-label{font-size:9px}.house-destinations,.house-home-bottom{flex-direction:column}.house-home{padding:18px}}
@media(max-width:374px){.p303-finance-banner h1{font-size:24px}.house-settlement>.grid{gap:8px}.house-settlement>.grid>div{padding:12px 9px}.house-settlement>.grid>div>div:last-child{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.p303-nav-backdrop{display:none}@media(max-width:769px){body[data-nav-open=true] .p303-nav-backdrop{display:block;position:fixed;inset:65px 0 0;background:#041f4a66;border:0;z-index:70}#appScreen>header>nav{box-shadow:none}}
/* Retain administrator-uploaded images inside secondary views. */
.house-login-story{background-image:var(--p303-login-photo,none);background-size:cover;background-position:center;background-blend-mode:multiply}
.p303-l-banner:has(img[src^="https://"]){display:block!important;position:relative;inset:auto;z-index:auto;height:180px;margin:0 0 20px;border-radius:8px;overflow:hidden}
.p303-l-banner:has(img[src^="https://"]) img{width:100%;height:100%;object-fit:cover;opacity:1}

/* 2.2: preserve palette/type, remove duplicate controls, restore notifications/banner. */
#p303NavList{padding-right:0}.house-admin-subnav{display:none!important}
#p303Bell:not(.hidden){display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:34px;min-height:34px}
#p303BellCount{font-size:10px;line-height:1;position:absolute;top:2px;right:1px;background:#eb2a28;color:#fff;border-radius:10px;min-width:14px;padding:2px 3px}
#p303BellCount:empty{display:none}
#p303NotificationPanel{background:#fff;border:1px solid #d1d5db;box-shadow:0 8px 30px #041f4a26;border-radius:8px}
#p303NotificationList button{width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #e7edf3;padding:14px;color:#344a6c;font-size:13px}
#p303NotificationList button:hover{background:#f4f9ff}#p303NotificationList button small{display:block;color:#6b7280;font-size:10px;margin-top:6px}
.p303-l-banner,.p303-l-banner:has(img[src^="https://"]){display:block!important;position:relative;inset:auto;z-index:auto;width:100%;height:auto;aspect-ratio:4/1;margin:0 0 24px;border-radius:12px;background:#e7f3fe;overflow:hidden}
.p303-l-banner img,.p303-l-banner:has(img[src^="https://"]) img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:1}
.p303-l-hero-copy{margin:0 0 20px}.p303-l-hero{display:flex;flex-direction:column}.p303-l-hero-copy{order:-1}.house-learning-photo-tag{display:none}
.p303-banner-caption{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px 5%;pointer-events:none;color:#0a4874}
.p303-banner-caption>span{font-size:13px;font-weight:600;letter-spacing:1px}.p303-banner-caption h3{font-size:32px;font-weight:700;line-height:1.3;margin:10px 0}.p303-banner-caption p{font-size:14px;color:#344a6c}
@media(max-width:769px){#p303NavList{padding:0}#p303Bell:not(.hidden){min-width:30px;min-height:32px;padding:4px}#p303Bell svg{height:19px;width:19px}#p303NotificationPanel{position:fixed;top:70px;left:12px;right:12px;width:auto;max-width:none;max-height:65dvh;z-index:100}
 .p303-brand{width:210px;flex-direction:column;gap:0}.p303-brand-mark{height:35px;width:auto;flex-basis:auto;align-items:center;gap:1px}.p303-brand-number{font-size:23px}.p303-brand-house{font-size:6px;letter-spacing:3px}.p303-brand-copy{display:block;border:0;padding:0;margin-top:4px;text-align:center;width:210px}.p303-brand-name{display:none}.p303-brand-sub{font-size:8px;line-height:11px;margin:0;white-space:nowrap;color:#6b7280}
 .p303-l-banner,.p303-l-banner:has(img[src^="https://"]){aspect-ratio:3/1;min-height:110px;margin-bottom:18px}.p303-banner-caption{padding:14px 5%}.p303-banner-caption>span{font-size:9px}.p303-banner-caption h3{font-size:18px;max-width:75%;margin:7px 0}.p303-banner-caption p{font-size:10px;max-width:72%}.p303-l-hero-copy h2{font-size:23px}}

/* 2.3: consistent payer colors, legible badges, original period control, persistent current tab. */
:root{--p303-loc:#1e40af;--p303-tung:#065f46}
.loc-header{background:#edf4ff;color:var(--p303-loc);border-color:#bfdbfe}.tung-header{background:#e9f7ef;color:var(--p303-tung);border-color:#a7d8bf}
.loc-header h3,.loc-header p,.loc-header span{color:var(--p303-loc)}.tung-header h3,.tung-header p,.tung-header span{color:var(--p303-tung)}
.loc-header .p303-person-avatar,.tung-header .p303-person-avatar{color:#fff!important;font-weight:800;line-height:1;background:#1e40af;border-radius:9px}
.tung-header .p303-person-avatar{background:#065f46}
.p303-loc-footer{background:#edf4ff;border-color:#bfdbfe}.p303-tung-footer{background:#e9f7ef;border-color:#a7d8bf}
.p303-loc-footer span{color:var(--p303-loc)}.p303-tung-footer span{color:var(--p303-tung)}
.house-settlement>.grid>div:nth-child(1){border-color:#bed1f5;background:#f8fbff}.house-settlement>.grid>div:nth-child(2){border-color:#abd6bf;background:#f7fcf9}
.house-settlement>.grid>div:nth-child(1)>div:first-child>span:first-child{color:var(--p303-loc)}.house-settlement>.grid>div:nth-child(2)>div:first-child>span:first-child{color:var(--p303-tung)}
.house-settlement>.grid>div:nth-child(1)>div:last-child{color:var(--p303-loc);background:#edf4ff;border-color:#93baf1}.house-settlement>.grid>div:nth-child(2)>div:last-child{color:var(--p303-tung);background:#e9f7ef;border-color:#81c49d}
.house-settlement>.grid>div:nth-child(3)>div:last-child{color:#334155;background:#f1f5f9;border-color:#cbd5e1}
#userAvatar[data-person=vanloc97]{background:var(--p303-loc)}#userAvatar[data-person=tungnui]{background:var(--p303-tung)}
#payerSelectorContainer button[data-person=vanloc97]{color:var(--p303-loc)}#payerSelectorContainer button[data-person=tungnui]{color:var(--p303-tung)}
#payerSelectorContainer button[data-person=vanloc97][data-person-selected=true]{background:var(--p303-loc);color:white}#payerSelectorContainer button[data-person=tungnui][data-person-selected=true]{background:var(--p303-tung);color:white}
#confirmPayerText[data-person=vanloc97]{background:#edf4ff;color:var(--p303-loc)}#confirmPayerText[data-person=tungnui]{background:#e9f7ef;color:var(--p303-tung)}
body.p303-house #p303NavList>button[data-p303-tab][aria-current=page]{border-bottom:4px solid #237bd3!important;font-weight:700!important;color:#0a4874!important}
body.p303-house #p303NavList>button[data-p303-tab]:not([aria-current=page]){border-bottom:4px solid transparent!important;font-weight:500}
#p303PeriodControl{display:flex;align-items:center;gap:8px;background:#f1f5f9;border:1px solid #dde5ef;border-radius:24px;padding:8px 12px;white-space:nowrap;font-size:12px}
#p303PeriodControl label{color:#64748b;font-weight:500}#periodSelect{min-width:138px;color:#1e293b;font-size:13px;cursor:pointer;appearance:auto}
#p303ExpenseTools{justify-content:flex-start}#p303ExpenseTools>label{max-width:430px}
.p303-duplicate-modal{position:fixed;inset:0;background:#041f4a88;z-index:160;align-items:center;justify-content:center;padding:18px}
.p303-duplicate-dialog{width:min(100%,530px);max-height:88dvh;overflow:auto;background:white;border:1px solid #d1d5db;border-radius:12px;padding:24px;box-shadow:0 15px 45px #041f4a30}
.p303-duplicate-dialog h2{font-size:21px;color:#0a4874;font-weight:600;line-height:1.4;margin:0 0 10px}.p303-duplicate-dialog>p{font-size:13px;line-height:1.7;color:#535f6d}
#p303DuplicateExpenseList{padding:0;list-style:none;margin:17px 0;max-height:220px;overflow:auto}
#p303DuplicateExpenseList li,#p303DuplicateExpenseList>div{padding:12px;border:1px solid #dfe7ed;border-radius:7px;margin-bottom:8px;background:#f8fbfc;font-size:12px;overflow-wrap:anywhere}
.p303-duplicate-actions{display:flex;gap:12px;margin-top:20px}.p303-duplicate-actions button{flex:1;min-height:44px;border-radius:7px;padding:10px 12px;font-weight:600;font-size:13px;border:1px solid #c5d7e8;background:white;color:#344a6c}
.p303-duplicate-actions #p303DuplicateContinueBtn{background:#237bd3;border-color:#237bd3;color:#fff}.p303-duplicate-actions button:disabled{opacity:.6;cursor:wait}
@media(max-width:1199px) and (min-width:770px){#p303PeriodControl{font-size:11px;padding:7px 10px;gap:5px}#periodSelect{min-width:119px;font-size:12px}.p303-brand-copy{padding-left:12px}.p303-brand-sub{max-width:290px}}
@media(max-width:769px){body[data-expense-access=true] #appScreen>header{padding-bottom:49px}
 #p303PeriodControl:not(.hidden){position:absolute;top:71px;left:16px;right:16px;width:calc(100% - 32px);height:36px;justify-content:center;padding:5px 12px;font-size:12px;border-radius:24px;margin:0}
 #periodSelect{font-size:13px;min-width:145px}#p303PeriodControl label{display:inline}#p303ExpenseTools>label{max-width:none}
 body[data-expense-access=true] #p303NotificationPanel{top:119px}.p303-duplicate-dialog{padding:20px}.p303-duplicate-dialog h2{font-size:19px}}
.p303-duplicate-row>div{display:flex;justify-content:space-between;gap:15px;color:#0a4874}.p303-duplicate-row>div>span{color:#6b7280;font-size:11px}.p303-duplicate-row>p{margin:6px 0;color:#344a6c;line-height:1.6}.p303-duplicate-row>b{color:#eb2a28;font-variant-numeric:tabular-nums}

/* 2.3.1: compact brand, usable mobile logout and persistent banner caption. */
.p303-login-mobile-mark{display:none}.house-login-copy h2{font-size:clamp(28px,3vw,42px);overflow-wrap:normal}.house-login-story .house-signature{margin-bottom:0}
#p303MobileLogout{display:none}
#p303Banners[data-custom-banner=true] img{object-fit:cover}
#p303Banners[data-custom-banner=true]:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,23,44,.8),rgba(3,23,44,.35) 65%,rgba(3,23,44,.08));pointer-events:none}
#p303Banners[data-custom-banner=true] .p303-banner-caption{z-index:1;color:#fff}
#p303Banners[data-custom-banner=true] .p303-banner-caption h3,#p303Banners[data-custom-banner=true] .p303-banner-caption p,#p303Banners[data-custom-banner=true] .p303-banner-caption>span{color:#fff}
@media(max-width:769px){#appScreen>header>nav>div{display:flex;flex-direction:column;height:100%}#p303NavList{flex:1;min-height:0;max-height:none;overflow-y:auto}#p303MobileLogout{flex-shrink:0}#p303MobileLogout{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:14px 5px;background:#fff;border:0;border-top:1px solid #e8edf2;color:#c62828;font-size:14px;text-align:left}#p303MobileLogout svg{width:19px;height:19px}.p303-login-mobile-mark{display:flex;flex-direction:column;align-items:center;margin-bottom:24px;color:#237bd3}.p303-login-mobile-mark b{font-size:32px;line-height:1.1;letter-spacing:-1px}.p303-login-mobile-mark small{font-size:9px;letter-spacing:4px;color:#eb2a28}.p303-login-mobile-mark p{font-size:14px;line-height:1.5;text-align:center;color:#0a4874;margin:14px 0 0}.house-login-footnote{display:none}}

.p303-lifecycle-box{margin-top:20px;padding:16px;background:#f7fafc;border:1px solid #d9e4ee;border-radius:8px;color:#344a6c;font-size:12px;line-height:1.65}.p303-lifecycle-box h3{font-size:14px;font-weight:600;margin:0 0 8px;color:#0a4874}.p303-lifecycle-box p{margin:6px 0}.p303-lifecycle-box dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.p303-lifecycle-box dt{color:#687787;font-size:11px}.p303-lifecycle-box dd{margin:3px 0 0;font-weight:600;overflow-wrap:anywhere}.p303-lifecycle-warning{color:#a34c12}.p303-lifecycle-help{color:#6b7280;font-size:11px}.p303-lifecycle-roster{display:block;font-size:11px;color:#687787;margin-top:5px}.p303-lifecycle-state{color:#0a4874}@media(max-width:600px){.p303-lifecycle-box dl{grid-template-columns:1fr}}
