/* Version 3.42.3 — dense, consistent menus and search across portal workspaces. */
body.workspace-mode{--f2-navy:#172b45;--f2-line:#e2e7ed;--f2-line-strong:#cbd4df;--f2-gold:#6c88a8;--f2-gold-soft:#eef3f8;--f2-shadow:0 2px 8px rgb(16 33 62 / 5%)}
body.workspace-mode :is(#dashboard-view:not(.embed-workspace),#records-view,#accounts-view,#admin-tools-view,#student-portal-view,#external-portal-view,#issuer-view){max-width:1200px}
body.workspace-mode .dash-head{padding:0 0 12px;border-color:#dfe5ec}
body.workspace-mode .dash-head h2,body.workspace-mode .view-head h2{font-size:19px;letter-spacing:-.02em}
body.workspace-mode .dash-head p:not(.eyebrow),body.workspace-mode .view-head p:last-child{font-size:12px}
body.workspace-mode .dash-account-actions{gap:6px}
body.workspace-mode .status-banner{min-height:42px;border-radius:7px;box-shadow:none}
body.workspace-mode .home-notices{margin:10px 0;border-radius:7px;box-shadow:none}
body.workspace-mode .module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.workspace-mode .module-grid button{min-height:68px;padding:10px 12px;border-color:#e1e6ed;border-radius:7px;box-shadow:none}
body.workspace-mode .module-grid button:hover{transform:translateY(-1px);border-color:#bac7d6;background:#fbfcfd;box-shadow:0 4px 12px rgb(16 33 62 / 7%)}
body.workspace-mode .module-grid button>span{font-size:10px;font-weight:700;letter-spacing:.04em}
body.workspace-mode .module-grid button>b{font-size:13px}
body.workspace-mode .module-grid button>small{margin-top:3px;font-size:11px;line-height:1.4}
body.workspace-mode .role-page-nav-wrap{margin:10px 0 12px}
body.workspace-mode .role-page-nav{gap:3px;padding:3px;border-radius:7px}
body.workspace-mode .role-page-nav button{min-height:34px;padding:0 10px;border-radius:5px;font-size:12px}
body.workspace-mode #records-view{padding-top:10px}
body.workspace-mode .view-head{gap:9px;margin-bottom:11px}
body.workspace-mode .view-head .back-button{flex-basis:34px;min-height:34px;height:34px;width:34px;border-radius:6px;font-size:18px}
body.workspace-mode .search-form{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:11px 0 9px;padding:8px;border:1px solid #e0e6ed;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgb(16 33 62 / 4%)}
body.workspace-mode .search-form:has(input[type=search])::before{position:absolute;top:50%;left:20px;width:15px;height:15px;transform:translateY(-50%);background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23748395' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");content:"";pointer-events:none}
body.workspace-mode .search-form input[type=search]{height:36px;padding:0 11px 0 35px;border-color:#e4e8ee;border-radius:6px;background:#f8fafc;font-size:13px}
body.workspace-mode .search-form input[type=search]:focus{border-color:#9aadc2;background:#fff;box-shadow:0 0 0 3px rgb(37 76 132 / 9%)}
body.workspace-mode .search-form button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:82px;height:36px;padding:0 14px;border:1px solid #233c5d;border-radius:6px;background:#233c5d;color:#fff;font-size:13px;font-weight:650;box-shadow:none}
body.workspace-mode .search-form button::before{width:13px;height:13px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");content:""}
body.workspace-mode .search-form button:hover{border-color:#314f74;background:#314f74}
body.workspace-mode .search-form button:focus-visible,body.workspace-mode .module-grid button:focus-visible{outline:2px solid #819ab6;outline-offset:2px}
body.workspace-mode .view-filters{gap:8px 10px;margin:8px 0 10px;padding:11px;border-radius:7px;box-shadow:none}
body.workspace-mode .records-toolbar{margin:8px 0 10px}
body.workspace-mode .records-list,body.workspace-mode .student-list{gap:6px}
body.workspace-mode .record-card,body.workspace-mode .student-card,body.workspace-mode .account-card,body.workspace-mode .roster-card,body.workspace-mode .qualification-group,body.workspace-mode .management-panel,body.workspace-mode .qnet-form,body.workspace-mode .weekly-card,body.workspace-mode .schedule-record,body.workspace-mode .student-section,body.workspace-mode .confirm-list{border-radius:7px;box-shadow:none}
body.workspace-mode .record-card{padding:10px 12px}
body.workspace-mode .student-section{margin:8px 0;padding:12px}
body.workspace-mode .student-section>h3,body.workspace-mode .management-panel>h3{margin-bottom:8px;font-size:13px}
body.workspace-mode :is(.tab-list,.tabs,.report-tabs,.fs-mode){border-radius:6px}
body.workspace-mode .record-actions{gap:5px}
body.workspace-mode .record-actions :is(button,.detail-button,.edit-button,.delete-button,.roster-shortcut){min-height:28px!important;height:28px!important;padding:0 8px;border-radius:4px;font-size:12px}
body.workspace-mode :is(.primary-button,.add-button,.add-button.compact,.records-toolbar button:not(.text-button),.student-toolbar button:not(.text-button),.modal-actions button){height:36px;padding:0 14px;border-radius:6px;font-size:13px}
body.workspace-mode :is(.secondary-button,.mini-button,.detail-button,.edit-button,.export-button){height:36px;padding:0 12px;border-radius:6px;font-size:13px}
body.workspace-mode .record-title span{font-size:13px}
body.workspace-mode .compact-fields{gap:7px 10px}
body.workspace-mode :is(.table-wrap,.table-container,.table-scroll,.data-table-wrap){border-radius:7px}
body.workspace-mode :is(th,td){padding:7px 9px}
body.workspace-mode .modal-card{border-radius:8px}
@media(min-width:768px) and (max-width:1023px){body.workspace-mode .module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body.workspace-mode .module-grid{grid-template-columns:minmax(0,1fr)}body.workspace-mode .search-form{top:58px;gap:5px;padding:6px}body.workspace-mode .search-form button{min-width:74px;padding:0 11px}body.workspace-mode .search-form:has(input[type=search])::before{left:18px}body.workspace-mode .dash-account-actions{flex-wrap:wrap}body.workspace-mode .record-card{padding:10px}body.workspace-mode .record-actions :is(button,.detail-button,.edit-button,.delete-button,.roster-shortcut){min-height:36px!important;height:36px!important}}
@media(max-width:360px){body.workspace-mode .search-form button{min-width:40px;width:40px;padding:0;font-size:0}body.workspace-mode .search-form button::before{width:15px;height:15px}body.workspace-mode .module-grid button{padding:10px}}
