:root{--app-blue:#0869cc;--app-ink:#172b46;--app-soft:#eff6ff;--app-line:#e4ebf3;--app-orange:#ed8b23}
.source-tabs{display:flex;gap:10px;margin:10px 0 20px}.source-tabs label{display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid var(--app-line);border-radius:12px;cursor:pointer;font-weight:600;font-size:13px}.source-tabs label:has(input:checked){background:var(--app-soft);border-color:var(--app-blue);color:var(--app-blue)}.source-tabs input{accent-color:var(--app-blue);width:17px;height:17px}.field-heading{font-weight:600;font-size:14px}.source-summary{padding:17px;border-radius:13px;background:#f3f8fe;border:1px solid #d9e9fc;margin-top:15px}.source-summary>strong{display:block;margin-bottom:14px;color:var(--app-ink)}.source-summary>div{display:flex;flex-wrap:wrap;gap:15px 30px}.source-summary span{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#5a6c82}.source-summary b{font-size:16px;color:var(--app-ink)}.source-summary ul{padding-left:18px;font-size:12px;line-height:1.8;margin:16px 0 0}.invoice-source [hidden]{display:none!important}.filters-disclosure>summary{display:none}.app-welcome,.app-services,.app-balance{display:none}
@media(max-width:768px){
:root{--ink:var(--app-ink);--muted:#61748a;--navy:var(--app-blue)}
html{background:#f4f7fb}body.portal-body{background:#f4f7fb;color:var(--app-ink);font-size:14px}.portal-body .portal-header,.compact-staff .portal-header{position:sticky;top:0;z-index:40;margin:0;border:0;border-radius:0;box-shadow:none;background:var(--app-blue);padding-top:env(safe-area-inset-top)}.portal-topline{min-height:68px;padding:13px 18px;gap:14px}.portal-brand>strong,.portal-brand strong>span{color:#fff}.portal-logo{width:25px;height:25px;gap:3px}.portal-logo span{background:#fff!important}.portal-logo span:nth-child(2){background:#ffbd61!important}.brand-separator,.portal-company,.portal-date{display:none!important}.portal-brand{margin-right:auto;font-size:22px}.portal-header .avatar{width:36px;height:36px;background:#e9f4ff;color:#0758ae;font-size:14px;font-weight:700}.user-menu summary>svg{display:none}.user-dropdown{top:48px;right:0;min-width:215px;box-shadow:0 10px 30px #17395920;border-radius:14px}.user-dropdown button{min-height:48px;font-size:14px}.portal-topline .mobile-menu{display:grid;color:#fff;background:#ffffff17;border:1px solid #ffffff33;border-radius:12px;width:40px;height:40px}.portal-navigation{background:white!important;color:var(--app-ink);top:68px!important;max-height:70dvh;overflow-y:auto;border-radius:0 0 20px 20px}.portal-breadcrumb{display:none}.portal-body main#main-content{padding:21px 16px 122px}.page-heading{align-items:flex-start;margin:0 0 20px;gap:15px;flex-direction:column}.page-heading h1{font-size:24px;font-weight:700;line-height:1.25;letter-spacing:-.5px}.page-heading p{font-size:13px;line-height:1.65;color:#60748d;max-width:100%;margin-top:8px}.eyebrow{font-size:10px;letter-spacing:1px;margin-bottom:6px;color:#667e98}.heading-actions{width:100%;gap:9px;display:flex;flex-wrap:wrap}.heading-actions .button{min-height:45px;font-size:13px;padding:11px 15px;flex:1}.button.primary{background:var(--app-blue);color:white;border-color:var(--app-blue)}.button{min-height:46px;border-radius:12px;font-size:14px;font-weight:600;padding:12px 16px}.button.secondary{color:#1765ad;background:white;border-color:#dce6f1}.button.small{min-height:42px;font-size:12px}.icon-button{min-height:42px;min-width:42px;border-radius:12px}.text-link{color:#0869cc;font-size:13px}.panel{border:1px solid var(--app-line);border-radius:18px;box-shadow:none;margin-bottom:18px;background:#fff;overflow:hidden}.panel-heading{padding:20px 18px;gap:12px}.panel-heading h2{font-size:17px;font-weight:650;line-height:1.35}.panel-heading p{font-size:12px;line-height:1.6;color:#64778d}.form-panel{padding:20px 17px}.form-section-heading{margin-bottom:21px}.form-section-heading h2{font-size:17px}.form-section-heading p{font-size:12px;line-height:1.6}.step-number{width:32px;height:32px;border-radius:10px;background:#edf5ff;color:var(--app-blue)}.form-grid{grid-template-columns:1fr;gap:19px}.form-field>span{font-size:13px;font-weight:600;color:#2a415b}.form-field input,.form-field select,.form-field textarea,.filters input,.filters select{font-size:16px;min-height:49px;border-radius:11px;border-color:#dbe5f0;background:#fcfdff;color:#223a56;padding:12px}.form-field small{font-size:12px;line-height:1.6;color:#63758b}.form-actions{gap:10px;margin-bottom:10px}.form-actions .button{flex:1;min-height:50px}.editor-form .form-actions{position:sticky;bottom:96px;background:#f4f7fb;padding:10px 0;z-index:15}.security-note{font-size:11px}.back-link{font-size:13px;margin-bottom:16px}.info-banner{border:1px solid #d8e9fa;border-radius:14px;background:#f0f7ff;color:#4c6784;padding:14px;font-size:12px;line-height:1.65;margin-bottom:19px}.info-banner svg{color:#0869cc;flex-shrink:0}.summary-heading{margin:22px 1px 12px}.summary-heading strong{font-size:14px;font-weight:650;color:#263e58}.summary-heading span{font-size:11px;line-height:1.6;color:#687d94}.module-totals{gap:0;border-radius:17px;border:1px solid var(--app-line);background:white;overflow:hidden;margin-bottom:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.module-totals>div{padding:17px 14px;border-color:#edf1f6;min-width:0}.module-totals>div>span{font-size:11px;line-height:1.5;color:#657b92}.module-totals strong{font-size:20px;line-height:1.5;letter-spacing:-.5px;overflow-wrap:anywhere;color:#1b3858}.customer-totals>summary{font-size:12px;padding:17px 15px;color:#2163a5}.customer-totals>summary strong{font-size:12px}.customer-totals>summary>span{font-size:10px}.data-panel{background:transparent;border:0;overflow:visible}.data-toolbar{background:white;border:1px solid var(--app-line);border-radius:15px;padding:10px 12px;gap:9px;margin-bottom:12px;min-height:58px}.data-tabs{gap:18px;min-width:0;max-width:100%;overflow:auto}.data-tabs>a{font-size:12px;min-height:35px;color:#607791;white-space:nowrap}.data-tabs>a.selected{color:#0869cc;border-color:#0869cc}.data-tabs>a>span{background:#edf5ff;color:#0869cc}.export-menu summary{font-size:11px;min-width:76px;padding:9px;min-height:37px}.filters-disclosure{display:block;background:white;border:1px solid var(--app-line);border-radius:14px;margin:0 0 17px;overflow:hidden}.filters-disclosure>summary{display:flex;padding:15px 16px;align-items:center;gap:9px;cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:#2b547d}.filters-disclosure>summary::after{content:'+';font-size:20px;margin-left:auto;color:#3984c9}.filters-disclosure[open]>summary::after{content:'−'}.filters-disclosure .filters{border:0;padding:4px 15px 17px;display:grid;grid-template-columns:1fr 1fr;gap:11px}.filters .search-field{grid-column:1/-1;width:100%;min-width:0}.filters .date-filter{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;background:transparent;padding:0;border:0}.filters .date-filter>span{font-size:11px}.filters input,.filters select{width:100%;min-width:0;font-size:14px;height:45px;min-height:45px}.filters .button{width:100%}.filters .text-link{align-self:center;font-size:12px}.data-panel>.table-wrap{overflow:visible;border:0;background:transparent}.records-table,.records-table>tbody{display:block;width:100%;border:0}.records-table>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.records-table>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;background:white;border:1px solid var(--app-line);border-radius:17px;padding:17px;margin-bottom:13px;box-shadow:0 2px 3px #253d5c03}.records-table>tbody>tr>td{display:block;min-width:0;white-space:normal;padding:0!important;border:0;font-size:13px;color:#2d455f;line-height:1.55;overflow-wrap:anywhere}.records-table td[data-label]::before{content:attr(data-label);display:block;color:#7b8ba0;font-size:10px;margin-bottom:3px;line-height:1.3}.records-table>tbody>tr>td:first-child{grid-column:1/-1;border-bottom:1px solid #edf2f7;padding-bottom:11px!important;font-size:14px;font-weight:650}.records-table td:first-child::before{display:none}.records-table td:nth-child(2){grid-column:1/-1}.records-table .record-number{font-size:14px;color:#0869cc;font-weight:650;line-height:1.6;overflow-wrap:anywhere}.records-table .money{font-size:16px;letter-spacing:-.3px;font-weight:700;color:#1e3e60}.records-table .badge{font-size:11px;padding:6px 9px;line-height:1.4;white-space:normal}.records-table>tbody>tr>td:last-child{display:flex;grid-column:1/-1;border-top:1px solid #edf2f7;padding-top:12px!important;align-items:center;justify-content:space-between;gap:10px}.records-table .print-row-link{display:inline-flex;align-items:center;min-height:38px;border-radius:10px;background:#eff6ff;padding:9px 15px;font-size:12px;color:#0869cc;font-weight:600}.records-table td.empty{grid-column:1/-1}.records-table .empty h3{font-size:16px}.pagination-footer{padding:10px 2px 18px;border:0;gap:10px;font-size:11px}.pagination-links{font-size:11px;gap:8px}.pagination-links a{min-height:36px;display:flex;align-items:center}.metrics{gap:12px;margin-bottom:21px}.metric{border:1px solid var(--app-line);border-radius:17px;padding:17px 14px;min-width:0;box-shadow:none}.metric-top{gap:8px}.metric-top>span:first-child{font-size:11px;line-height:1.5}.metric-icon{width:30px;height:30px;border-radius:10px;background:#edf5ff;color:#0869cc}.metric-value{font-size:23px;font-weight:700;letter-spacing:-.7px;line-height:1.45;overflow-wrap:anywhere}.metric-value>small{font-size:12px}.metric-bottom{font-size:10px;line-height:1.5;color:#73869c}.app-welcome{display:flex;justify-content:space-between;align-items:center;margin:0 0 22px;gap:12px}.app-welcome small{display:block;font-size:12px;color:#7b8da2;margin-bottom:4px}.app-welcome h1{font-size:22px;line-height:1.3;letter-spacing:-.5px;margin:0;color:#213e5d}.app-welcome>span{font-size:11px;color:#627c95;background:#e8f1fb;padding:7px 10px;border-radius:10px}.dashboard-heading{display:none}.dashboard-metrics .metric:first-child{grid-column:1/-1;background:var(--app-blue);border:0;color:white;padding:22px}.dashboard-metrics .metric:first-child .metric-top>span:first-child{color:#e4f1ff;font-size:13px}.dashboard-metrics .metric:first-child .metric-value{font-size:31px;color:white;margin-top:10px}.dashboard-metrics .metric:first-child .metric-value small{font-size:16px;color:#c8e2ff}.dashboard-metrics .metric:first-child .metric-bottom{color:#d9eaff;font-size:11px}.dashboard-metrics .metric:first-child .metric-icon{color:#fff;background:#ffffff20}.dashboard-metrics .metric:first-child .tiny-dot{background:#ffb65b}.app-services{display:block;padding:19px 15px;background:white;border:1px solid var(--app-line);border-radius:18px;margin-bottom:22px}.app-services-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}.app-services-heading h2{font-size:16px;margin:0;color:#203d5c}.app-services-heading button{border:0;background:none;color:#0869cc;font-size:12px;font-weight:600;min-height:35px;padding:4px}.app-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 7px}.app-service-grid a{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-height:75px}.app-service-grid a>span{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#eaf4ff;color:#0874d9}.app-service-grid a:nth-child(3n)>span{background:#fff3e5;color:#d18025}.app-service-grid strong{font-size:10px;font-weight:600;color:#526b84;line-height:1.5}.dashboard-main-grid .quick-panel{display:none}.chart-summary strong{font-size:23px}.chart{height:180px;padding-right:13px}.chart-footer{font-size:10px}.linked-record{padding:17px;font-size:12px;gap:10px}.staff-links{background:#fff;border:1px solid var(--app-line);border-radius:13px;padding:4px 12px;margin-bottom:21px;gap:20px}.staff-links a{font-size:12px;min-height:48px;display:flex;align-items:center;white-space:nowrap}.staff-links a.active{color:var(--app-blue);border-color:var(--app-blue)}.attendance-banner{background:#fff;border:1px solid var(--app-line);border-radius:19px;gap:15px;padding:21px 18px;margin-bottom:22px}.attendance-banner .strip-symbol{background:#ecf6ff;color:#0869cc;border-radius:14px;width:48px;height:48px}.attendance-banner strong{font-size:14px;color:#284867}.attendance-banner p{font-size:12px;color:#6f849b;line-height:1.6}.attendance-banner form{width:100%;grid-column:1/-1}.attendance-banner .button{width:100%;min-height:53px;font-size:16px;border-radius:13px}.attendance-banner .button:disabled{background:#e6eef5;border-color:#e6eef5;color:#68829b;opacity:1}.compact-staff .table-wrap>table:not(.records-table){min-width:480px}.compact-staff .table-wrap th{font-size:11px}.compact-staff .table-wrap td{font-size:12px}.detail-grid{grid-template-columns:1fr 1fr;gap:20px 15px}.detail-item span{font-size:11px;color:#74889f}.detail-item strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.detail-item:first-child{grid-column:1/-1}.invoice-totals{padding-top:18px;gap:12px;font-size:13px}.record-actions{gap:11px}.record-actions>.button,.record-actions>form{width:100%}.record-actions form>.button{width:100%}.record-actions input{width:100%;min-height:46px;font-size:16px;margin-bottom:9px}.line-row{background:#f7faff;border:1px solid #e1ebf6;border-radius:15px;padding:15px;grid-template-columns:1fr 1fr}.line-row>.form-field:first-child{grid-column:1/-1}.line-row .form-field>span{font-size:11px}.line-subtotal{font-size:14px;align-self:end;padding-bottom:10px}.remove-line{justify-self:end;align-self:end;background:white}.line-editor-footer{gap:14px;flex-wrap:wrap}.form-total strong{font-size:20px}.source-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px}.source-tabs label{font-size:12px;padding:13px 9px;border-radius:12px;line-height:1.4;min-height:53px}.source-tabs input{flex-shrink:0}.source-summary>div{gap:15px}.source-summary ul{font-size:12px}.page-footer{font-size:10px;color:#8495a7;margin-top:25px;gap:8px;line-height:1.6}.mobile-dock{border-radius:0;border-color:#e4ecf5;box-shadow:0 -4px 16px #1e508509;padding-top:9px}.bottom-nav .mobile-dock-scroll>a{font-size:10px;min-height:64px;min-width:79px;flex-basis:79px;color:#7b8ca1}.mobile-dock .dock-icon{height:34px;width:43px;border-radius:12px}.mobile-dock-scroll>a.active .dock-icon{background:#e7f3ff;color:#0872d4}.mobile-dock-scroll>a.active>span:last-child{color:#096dc6}.bottom-nav .mobile-menu-open{font-size:10px;color:#0869cc;border-color:#e5edf6;min-width:68px}.compact-staff .mobile-dock-scroll>a{font-size:12px}.menu-search-dialog[open]{border-radius:22px 22px 15px 15px;border-color:#e1e9f2;padding:22px 17px;bottom:calc(91px + env(safe-area-inset-bottom));max-height:75dvh}.menu-search-heading h2{font-size:20px;color:#254462}.menu-search-options{gap:10px}.mobile-menu-option{border-color:#e6edf6;border-radius:13px;padding:13px 7px;min-height:105px}.mobile-menu-option>span{background:#edf6ff;color:#0872d0;border-radius:12px;width:43px;height:43px}.mobile-menu-option>strong{font-size:11px;font-weight:600;color:#526b84}.menu-search-input{border-radius:12px;background:#f5f8fc}.menu-search-input input{font-size:16px}.alert{font-size:13px;border-radius:13px;line-height:1.6}.customer-totals .table-wrap{overflow-x:auto}.customer-totals table{min-width:640px}
}
@media(max-width:360px){.portal-body main#main-content{padding-left:12px;padding-right:12px}.app-service-grid{column-gap:4px}.module-totals strong{font-size:17px}.metric-value{font-size:20px}.records-table>tbody>tr{padding:15px;column-gap:10px}.source-tabs label{font-size:11px}.heading-actions .button{font-size:12px}}

@media(max-width:768px){.portal-body .main-shell{background:#f4f7fb}.app-balance{display:block;background:var(--app-blue);padding:22px;border-radius:20px;color:white;margin:0 0 20px}.app-balance>div{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#e9f4ff;margin-bottom:17px}.app-balance>div>svg{background:#ffffff1a;box-sizing:content-box;padding:8px;border-radius:11px}.app-balance>strong{font-size:31px;letter-spacing:-.8px;line-height:1.4;font-weight:700}.app-balance strong small{font-size:16px;color:#d1e8ff;font-weight:400}.app-balance>p{font-size:11px;line-height:1.6;color:#d7eaff;margin:9px 0 0}.dashboard-metrics>.metric:first-child{display:none}.dashboard-metrics .metric:nth-child(2){grid-column:1/-1;display:grid;grid-template-columns:1fr auto;column-gap:10px;padding:17px 19px}.dashboard-metrics .metric:nth-child(2) .metric-value{font-size:23px;margin:0;align-self:center;grid-column:2;grid-row:1/3}.dashboard-metrics .metric:nth-child(2) .metric-top{grid-column:1;grid-row:1}.dashboard-metrics .metric:nth-child(2) .metric-icon{display:none}.dashboard-metrics .metric:nth-child(2) .metric-bottom{grid-column:1;grid-row:2;font-size:11px}.app-service-grid strong{font-size:11px}.metric-top>span:first-child{font-size:12px}.module-totals>div>span{font-size:12px}.records-table td[data-label]::before{font-size:11px}.bottom-nav .mobile-dock-scroll>a{font-size:11px;min-width:84px;flex-basis:84px}}
@media(max-width:768px){.records-table>tbody>tr>td{width:auto!important;max-width:none!important}.records-table .print-row-link{white-space:nowrap;flex-shrink:0}.records-table>tbody>tr>td:last-child>.icon-button{margin-left:auto;flex-shrink:0}.records-table .empty{width:auto!important}.heading-actions{flex-direction:row!important}.heading-actions .button{flex:1 1 120px}}
.info-guide{border:1px solid #e1e9f2;border-radius:12px;background:#f8fbff;margin-bottom:18px;color:#56718b}.info-guide>summary{display:flex;gap:9px;align-items:center;cursor:pointer;font-size:12px;padding:12px 15px;font-weight:600}.info-guide>p{font-size:12px;line-height:1.7;padding:0 15px 14px;margin:0}@media(max-width:768px){.info-guide{border-radius:13px}.info-guide>summary{font-size:12px;padding:13px 14px}}
.personal-attendance-table td:first-child strong{display:block;font-weight:500}.personal-attendance-table td:first-child small{display:block;font-size:11px;color:#7a8da4;margin-top:3px}@media(max-width:768px){.compact-staff .table-wrap>table.personal-attendance-table{min-width:0;table-layout:fixed;width:100%}.personal-attendance-table th:first-child,.personal-attendance-table td:first-child{width:32%}.personal-attendance-table th,.personal-attendance-table td{padding:12px 8px!important;white-space:normal;font-size:11px!important}.personal-attendance-table .badge{font-size:10px;padding:4px 5px}.personal-attendance-table th{font-size:10px!important}.staff-records-table{background:#f4f7fb}.staff-records-table>tbody>tr{margin:0 10px 12px;padding:15px}.dashboard-main-grid .records-table>tbody>tr{margin-left:10px;margin-right:10px}.dashboard-main-grid .records-table>tbody>tr>td:nth-child(2){grid-column:auto}.compact-staff .metrics .metric-top{font-size:12px;line-height:1.5}}
@media(max-width:768px){.auth-body{background:#f4f7fb;color:#203c58}.auth-form-side{padding:30px 24px;max-width:470px}.auth-body .portal-brand>strong{color:#0869cc}.auth-body .portal-brand strong>span{color:#d6852d}.auth-body .portal-logo span{background:#0869cc!important}.auth-body .portal-logo span:nth-child(2){background:#ffa942!important}.auth-form-wrap h2{font-size:27px;color:#203e5f}.auth-form-wrap>p{font-size:14px;line-height:1.7;color:#647d96}.auth-form-wrap .form-field input{min-height:53px;font-size:16px;border-radius:12px;border-color:#dbe6f2;background:white}.auth-form-wrap .form-field>span{font-size:14px;color:#3c5772}.auth-options{font-size:12px}.auth-options a{color:#0869cc}.auth-submit{background:#0869cc;border-color:#0869cc;border-radius:13px;min-height:53px;font-size:15px}.auth-help p{font-size:13px}.auth-help strong{color:#527497}.auth-form-side>footer{font-size:11px;color:#7b8fa5}.auth-form-wrap{padding-top:12px}.auth-back{font-size:13px;color:#0869cc}}
@media(min-width:769px){body.portal-body{background:#f4f7fb;color:#243b55}.portal-body .main-shell{background:#f4f7fb}.portal-header{background:#fff;border-color:#e0e9f4;box-shadow:0 2px 8px #1d578008}.portal-brand>strong{color:#0869cc}.portal-brand strong>span{color:#d6852d}.portal-logo span{background:#0869cc!important}.portal-logo span:nth-child(2){background:#f0a23d!important}.portal-logo span:nth-child(3){background:#f0a23d!important}.portal-company{color:#54718e}.portal-date{color:#6d849b}.portal-search{background:#f2f7fd;border-color:#e2ebf5;color:#5d7f9e}.portal-search input{color:#2d526f}.portal-search input::placeholder{color:#88a0b6}.portal-navigation{border-color:#e7edf6}.portal-navigation .nav-symbol{color:#0869cc;background:#eef6ff}.portal-navigation .portal-home.selected,.portal-navigation .nav-dropdown.selected>summary{color:#0869cc}.portal-navigation .portal-home.selected:after,.portal-navigation .nav-dropdown.selected>summary:after{background:#0869cc}.nav-dropdown-items{border-color:#e0eaf5;box-shadow:0 10px 32px #174d8514}.nav-dropdown-items a{color:#45637d}.nav-dropdown-items a:hover,.nav-dropdown-items a.active{color:#0869cc;background:#edf6ff}.portal-header .avatar{background:#eaf4ff;color:#0869cc}.user-dropdown{border-color:#dfebf5}.user-dropdown a:hover,.user-dropdown button:hover{background:#eef6ff;color:#0869cc}.button.primary{background:#0869cc;border-color:#0869cc;color:#fff}.button.primary:hover{background:#075db5}.button.secondary{background:#fff;color:#326a9d;border-color:#dbe7f2}.button.secondary:hover{background:#f1f7fd}.text-link,.back-link,.record-number{color:#0869cc}.page-heading h1,.panel-heading h2,.form-section-heading h2,.report-row strong{color:#203e5c}.page-heading p,.panel-heading p{color:#6e859b}.panel,.metric,.product-card{border-color:#e0e9f3;box-shadow:0 2px 6px #244d7203}.metric-icon{background:#edf6ff!important;color:#0869cc!important}.metric-icon.tone-1{background:#fff2e1!important;color:#d78725!important}.metric-value{color:#1c4770}.metric-top{color:#5f7b94}.metric-bottom{color:#7d91a5}.tiny-dot{background:#3d92df}.data-tabs>a.selected{color:#0869cc;border-color:#0869cc}.data-tabs>a.selected>span{background:#eaf4ff;color:#0869cc}.data-tabs>a:hover{color:#0869cc}.data-toolbar,.filters{border-color:#e4ecf5}.data-panel table th{color:#65819c;background:#f5f9fd;border-color:#e4edf6}.data-panel table td{border-color:#edf2f8;color:#344f69}.data-panel table tbody tr:hover{background:#f8fbff}.print-row-link{background:#eef6ff;border-color:#dbeafa;color:#0869cc}.page-current{background:#0869cc;color:#fff}.form-field input,.form-field select,.form-field textarea{border-color:#dae5f1;background:#fff;color:#2c4a64}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#4495df;box-shadow:0 0 0 3px #e6f2ff}.step-number{background:#eaf5ff;color:#0869cc}.info-banner{background:#f1f7ff;border-color:#dceafa;color:#527190}.info-banner svg{color:#0869cc}.chart-bar,.chart-bar.current{background:#3886d4}.chart-bar.current{background:#0869cc}.chart-legend i{background:#0869cc}.progress-track>span,.progress-bar>span{background:#328cda}.metric .tiny-dot{background:#3f96dc}.module-totals{border-color:#dde8f3}.module-totals strong{color:#1e4973}.module-totals span{color:#6a839c}.customer-totals>summary{color:#3b709d}.quick-link>span,.quick-icon,.strip-symbol{background:#edf6ff;color:#0869cc}.quick-link:hover{background:#f1f7fd}.period-pill{background:#edf5fc;color:#47779f}.attendance-banner{background:white;border-color:#deebf6}.staff-links a.active{color:#0869cc;border-color:#0869cc}.form-total strong{color:#0869cc}.invoice-totals strong{color:#0869cc}.badge-paid,.badge-present,.badge-approved,.badge-completed{background:#eaf6f3;color:#25816c}.badge-sent,.badge-in_progress,.badge-scheduled{background:#eaf4ff;color:#146fc3}.badge-draft,.badge-non_pkp{background:#f0f4f8;color:#647b92}.badge-pending,.badge-partial,.badge-open{background:#fff4e3;color:#b8791e}.badge-pkp{background:#eaf4ff;color:#0869cc}.customer-totals>summary .icon{color:#4484bb}.portal-breadcrumb{color:#8ba0b4}.portal-breadcrumb a{color:#587b9c}.page-footer{color:#8ca1b4}a:focus-visible,button:focus-visible,summary:focus-visible{outline-color:#61a8e780}}
@media(min-width:769px){.auth-body{background:#f4f7fb;color:#24415c}.auth-form-side{background:#fff;max-width:500px;border-left:1px solid #e1ebf5;border-right:1px solid #e1ebf5}.auth-body .portal-brand>strong{color:#0869cc}.auth-body .portal-brand strong>span{color:#d6852d}.auth-body .portal-logo span{background:#0869cc!important}.auth-body .portal-logo span:nth-child(2){background:#f0a23d!important}.auth-form-wrap h2{color:#234563}.auth-submit{background:#0869cc;border-color:#0869cc}.auth-options a{color:#0869cc}}
@media(min-width:769px){.portal-navigation .portal-home.selected,.portal-navigation .nav-dropdown.selected>summary{border-color:#0869cc}.quick-item:nth-child(n) .quick-icon{background:#edf6ff;color:#0869cc}.quick-item:nth-child(3) .quick-icon{background:#fff2e3;color:#cc7b1d}.quick-item:hover{background:#f2f8ff;border-color:#b7d8f4}.dashboard-metrics>.metric:first-child{background:#0869cc;border-color:#0869cc}.dashboard-metrics>.metric:first-child .metric-value{color:white}.dashboard-metrics>.metric:first-child .metric-top,.dashboard-metrics>.metric:first-child .metric-bottom{color:#dcefff}.dashboard-metrics>.metric:first-child .metric-icon{background:#ffffff20!important;color:white!important}.dashboard-metrics>.metric:first-child .tiny-dot{background:#ffbb66}}
@media(min-width:769px){.dashboard-metrics>.metric:first-child .metric-value small{color:#d4eaff}}@media(max-width:768px){.portal-body a:focus-visible,.portal-body button:focus-visible,.portal-body summary:focus-visible{outline-color:#58a2e8}}
.po-records td{vertical-align:top}.po-customer{display:block;margin-top:9px;font-size:13px;line-height:1.5}.po-dates,.po-status-note{display:block;margin-top:9px;font-size:12px;color:#72869c;line-height:1.65}.po-records td:first-child{min-width:190px}.po-records td:nth-child(2){min-width:470px}.po-quantity-heading,.po-product{display:grid;grid-template-columns:minmax(140px,1.6fr) repeat(4,minmax(64px,1fr));gap:12px;align-items:start}.po-quantity-heading{padding-bottom:12px;border-bottom:1px solid #e4ecf5;color:#71869c;font-size:11px}.po-product{padding:15px 0;border-bottom:1px solid #edf1f6}.po-product:last-child{border-bottom:0}.po-product>strong{font-size:13px;line-height:1.6}.po-quantity>span{display:none}.po-quantity b{display:block;font-size:14px;font-variant-numeric:tabular-nums}.po-quantity small{display:block;font-size:11px;color:#7e90a3;margin-top:4px}.po-document-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:160px}.po-print-link{display:flex;gap:7px;align-items:flex-start;font-size:12px;line-height:1.5;color:#0869cc;overflow-wrap:anywhere}.po-print-link .icon{flex-shrink:0;margin-top:2px}.po-list-note{padding:0 22px 15px}.badge-closed{background:#eaf6f3;color:#25816c}
@media(max-width:768px){.po-records td:first-child,.po-records td:nth-child(2){min-width:0}.po-records td[data-label="Barang & jumlah"]{display:block!important}.po-records td[data-label="Barang & jumlah"]::before{display:block;margin-bottom:10px}.po-quantity-heading{display:none}.po-product{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 6px;padding:12px 0}.po-product>strong{grid-column:1/-1;font-size:14px}.po-quantity>span{display:block;font-size:10px;white-space:normal;margin-bottom:7px;color:#71869c}.po-quantity b{font-size:15px}.po-document-actions{align-items:stretch;width:100%;min-width:0}.po-document-actions .button{width:100%}.po-records td[data-label="Surat jalan & invoice"]{display:block!important}.po-records td[data-label="Surat jalan & invoice"]::before{display:block;margin-bottom:12px}.po-records td[data-label="Status PO"]{flex-wrap:wrap}.po-status-note{flex-basis:100%;text-align:left}.po-list-note{padding:0 16px 16px}}
.po-records td{white-space:normal}.po-product>strong,.po-customer{overflow-wrap:anywhere;min-width:0}.po-print-link span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.po-document-modal{width:min(900px,calc(100vw - 36px));max-height:90dvh;padding:0;border:1px solid #dae5f1;border-radius:16px;color:#24415c;background:#f5f8fc;overflow:auto;box-shadow:0 18px 70px #17304f30}.po-document-modal::backdrop{background:#152c4d70}.po-modal-header{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:#fff;border-bottom:1px solid #e2eaf4}.po-modal-header h2{margin:0;font-size:19px}.po-modal-header .icon-button{flex-shrink:0}.po-modal-context{padding:20px 24px;line-height:1.6;background:white;border-bottom:1px solid #e2eaf4}.po-modal-context>strong{font-size:16px}.po-modal-context p{margin:5px 0;white-space:pre-line}.po-modal-context small{color:#72869c}.po-document-modal .form-panel{margin:16px;border-radius:12px}.po-document-modal .form-actions{position:sticky;bottom:0;z-index:3;background:white;padding:16px 24px;margin:0;border-top:1px solid #e2eaf4}.po-modal-errors{margin:16px;padding:16px 20px;background:#fff1f0;border:1px solid #f1c4be;border-radius:10px;color:#9e332b}.po-modal-errors ul{padding-left:20px;margin-bottom:0}.po-document-modal .line-row{grid-template-columns:minmax(150px,1fr) 85px 130px 100px 35px}.po-document-modal .source-tabs[hidden]{display:none!important}
@media(max-width:768px){.po-document-modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.po-modal-header{padding:16px}.po-modal-header h2{font-size:17px}.po-modal-context{padding:16px}.po-document-modal .form-panel{margin:12px}.po-document-modal .form-actions{width:100%;left:auto;right:auto;bottom:0;display:flex;position:sticky;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.po-document-modal .form-actions .button{flex:1}.po-document-modal .form-grid{grid-template-columns:1fr}.po-document-modal .line-row{grid-template-columns:1fr 1fr}.po-document-modal .line-row>label:first-child{grid-column:1/-1}.po-document-modal .line-subtotal{grid-column:1}.po-document-modal .remove-line{justify-self:end}}
.po-icon-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.po-icon-toolbar form{margin:0}.po-action-icon{display:inline-flex;width:38px;height:38px;padding:0;align-items:center;justify-content:center;border:1px solid #dce7f2;border-radius:9px;background:#fff;color:#0869cc;cursor:pointer;flex-shrink:0}.po-action-icon:hover{background:#edf6ff;border-color:#a3c8ea}.po-action-icon.danger{color:#b4433c}.po-action-icon:disabled{opacity:.35;cursor:not-allowed}.po-documents{width:100%;min-width:200px;max-width:300px}.po-documents>summary,.po-extra-products>summary{cursor:pointer;color:#497392;font-size:12px;padding:10px 0}.po-documents>summary span{padding:2px 6px;border-radius:5px;background:#eaf2fa}.po-document-row{padding:12px 0;border-top:1px solid #e6edf5;display:flex;flex-direction:column;gap:8px}.po-document-row strong{display:block;font-size:12px;overflow-wrap:anywhere;line-height:1.6}.po-document-row small{font-size:11px;color:#71869c}.po-document-row .badge{font-size:10px;padding:3px 6px}.po-document-row .po-action-icon{width:32px;height:32px}.po-extra-products{border-top:1px solid #e6edf5}.po-detail-icon{display:inline-flex;align-items:center;color:#0869cc}.po-document-actions{min-width:170px}.po-product .po-quantity small{white-space:normal}
@media(max-width:768px){.po-action-icon,.po-document-row .po-action-icon{width:44px;height:44px}.po-icon-toolbar{gap:9px}.po-documents{max-width:none;min-width:0}.po-document-row .po-icon-toolbar{flex-wrap:wrap}.po-documents>summary{font-size:14px;padding:14px 0}}
@media(max-width:768px){.po-records td[data-label="Aktivitas PO"]{display:block!important}.po-records td[data-label="Aktivitas PO"]::before{display:block;margin-bottom:12px}.po-document-actions{min-width:0;width:100%}.po-icon-toolbar{width:100%}.po-document-row .po-icon-toolbar{width:auto}.po-records .po-action-icon{width:44px;height:44px;min-height:44px;min-width:44px;flex:0 0 44px}}
