/* Shared, restrained interface for the internal portal. */
:root{--navy:#263d55;--navy2:#36516d;--ink:#20262e;--muted:#68747f;--line:#dce1e6;--bg:#f5f6f8;--soft:#f1f4f7;--ivory:#fff;--cream:#fff;--sand:#fff;--message:#fff;--shadow:none}
html,body{background:var(--bg);color:var(--ink)}.auth-page{background:#f5f6f8}.auth-card{border-radius:6px;box-shadow:none}.workspace{background:#f5f6f8;padding:24px 28px 40px}.sidebar{background:#202d3b}.sidebar .brand{padding-bottom:18px}.brand-sub{display:none}.brand-mark::after{content:none}.brand-mark{letter-spacing:-.04em;font-weight:750}.nav-item{min-height:42px;border-radius:4px;font-weight:550}.nav-icon{background:none;border-radius:0;width:18px}.profile-mini,.logout,.admin-account-link{border-radius:4px}.sidebar .admin-account-link{font-weight:550}.work-status{font-weight:400}.topbar{margin-bottom:20px}.topbar h1{font-size:25px;letter-spacing:-.035em;font-weight:700}.eyebrow{display:none}
.card,.payroll-panel,.expense-group,.staff-salary-card,.staff-leave-card{background:#fff;border-color:#dce1e6;border-radius:6px;box-shadow:none}.card-head{padding:15px 18px;border-bottom:1px solid #e4e8ec}.card-head h2,.card-head h3{font-size:18px;font-weight:650}.card-body{padding:16px 18px}.home-grid{gap:20px;margin-bottom:24px}.tone-ivory,.tone-cream,.tone-sand,.tone-message,.tone-inbox,.tone-board{background:#fff}.primary,.secondary,.danger-button{min-height:34px;font-size:12px;font-weight:600;border-radius:4px}.secondary{background:#fff;border-color:#ccd3da}.auth-form input,.dialog-field input,.dialog-field textarea,.message-form textarea,.board-form textarea{border-radius:4px;border-color:#ccd3da;background:#fff}.post-list,.inbox-list,.board-list{gap:0}.post-item,.inbox-item,.board-post{border:0;border-bottom:1px solid #e4e8ec;border-radius:0;background:#fff;padding:13px 0;box-shadow:none}.post-item:last-child,.inbox-item:last-child,.board-post:last-child{border-bottom:0}.post-edit,.post-toggle,.board-edit,.board-delete{border-radius:4px}.post-title-row strong,.post-toggle strong{font-weight:600}.empty-copy{color:#6c7781}.post-item p,.inbox-item p{font-size:13px;color:#34414d;font-weight:400}.info-box{background:#fff;border-radius:4px;border-color:#e1e6eb}.top-work-info{background:#fff;border:1px solid #dce1e6;border-radius:4px;box-shadow:none}.top-work-title{font-weight:600}.top-work-items b{font-weight:550}
dialog{border-radius:6px;box-shadow:0 12px 36px #14233224}dialog::backdrop{backdrop-filter:none}.dialog-card{background:#fff}.dialog-close{border-radius:4px;background:#f0f2f5}.dialog-head h2{font-size:20px}.staff-hub-grid{display:grid;grid-template-columns:1fr;gap:0;border:1px solid #dce1e6;border-radius:6px;overflow:hidden;max-width:780px}.staff-hub-card{display:flex;align-items:center;gap:16px;min-height:68px;padding:16px 20px;border:0;border-bottom:1px solid #e4e8ec;border-radius:0;background:#fff;box-shadow:none;color:#20262e}.staff-hub-card:last-child{border-bottom:0}.staff-hub-card>span{display:none}.staff-hub-card>strong{font-size:17px;font-weight:600}.staff-hub-card>b{margin-left:auto;position:static;font-size:22px;color:#6c7781}.staff-hub-card:hover{background:#f3f6f8;transform:none;box-shadow:none}.account-item,.staff-salary-row,.staff-leave-card,.payroll-employee-row{border-radius:4px;background:#fff;border-color:#dce1e6;box-shadow:none}.account-list,.staff-salary-list{gap:6px}.account-state,.password-state{border-radius:4px;font-weight:550}.salary-step-row,.salary-history,.staff-salary-detail{background:#f7f8fa}.expense-summary-six>div{border-radius:4px;box-shadow:none;background:#fff;border-color:#dce1e6}.expense-group-head,.payroll-panel-head{background:#f7f8fa;border-color:#e1e6eb}.expense-group-title{font-weight:650}.expense-category-button,.expense-month-control,.payroll-month-control{border-radius:4px;box-shadow:none}.expense-row,.labor-row{box-shadow:none}.expense-toolbar button,.payroll-toolbar button{border-radius:4px}.payroll-guide,.account-guide{display:none}
body.todo-manager-open{background:#6476bb}#todoBoardPage{background:#6476bb}#todoRootPage{background:#f5f6f8}#todoDetailPanel{background:#f7f8fa}#todoDetailPanel .todo-editor-shell{border-radius:4px}#todoWorkbench .todo-card{border-radius:3px}#todoWorkbench .todo-card.is-selected{box-shadow:inset 3px 0 #31477e}#todoRootPage .todo-sidebar-heading{font-size:20px;font-weight:650}#todoRootPage .todo-folder-name{font-weight:550}#todoBoardTitleInput{font-weight:650}.todo-format-toolbar button{font-weight:550}
button:focus-visible,a:focus-visible{outline:2px solid #457197;outline-offset:2px}
@media(max-width:760px){.workspace{padding:18px 14px 30px}.topbar h1{font-size:23px}.card-head,.card-body{padding:14px}.staff-hub-card{min-height:60px;padding:14px 16px}.home-grid{gap:16px;margin-bottom:18px}.mobile-sidebar-toggle{box-shadow:none;border-radius:0 4px 4px 0}}
#homeContent .card{background:#fff;box-shadow:none;border-color:#dce1e6;border-radius:6px}.staff-hub-card.tone-account,.staff-hub-card.tone-salary,.staff-hub-card.tone-leave{background:#fff}.staff-hub-card>strong{margin-top:0}.staff-hub-card:hover{background:#f3f6f8}.profile-avatar-preview{box-shadow:0 0 0 1px #dce1e6}.profile-password-form input{border-radius:4px;border-color:#ccd3da}.board-post{background:#fff}.post-toggle{background:transparent}
.portal-module-stage{border-radius:6px;box-shadow:none}.portal-header-button,.portal-date-control input,.portal-leave-status{border-radius:4px}.portal-header-button,.portal-leave-status{font-weight:600}
