/* IRWANTEAM Access Workspace · Flutter UI parity V2
   Palette, font and navigation derived from Flutter lib/app/app_colors.dart
   and lib/screens/staff_home_screen.dart. Scoped to /workspace only. */
:root{--blue:#2563eb;--blue-dark:#1e40af;--soft-blue:#eff6ff;--bg:#f5f7fb;--white:#fff;--ink:#0f172a;--muted:#64748b;--line:#e7ebf2;--green:#16a34a;--orange:#f59e0b;--red:#ef4444;--purple:#7c3aed;--shadow:0 5px 20px rgba(15,23,42,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:14px/1.5 Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.svg-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
[hidden]{display:none!important}
/* Shell matches Flutter desktop NavigationRail 248px */
.workspace-shell{display:flex;min-height:100vh}.sidebar{width:248px;min-width:248px;height:100vh;position:sticky;top:0;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;z-index:30}.brand{height:105px;display:flex;align-items:center;justify-content:flex-start;padding:21px 22px 17px}.brand img{height:auto;width:204px;max-height:54px;object-fit:contain;object-position:left center}.sidebar-divider{border-top:1px solid var(--line)}.workspace-nav{display:grid;align-content:start;gap:6px;padding:20px 13px}.workspace-nav a{display:flex;align-items:center;gap:13px;min-height:51px;border-radius:15px;padding:13px 15px;font-size:14px;font-weight:700;color:var(--muted);transition:background .14s,color .14s}.workspace-nav a:hover{background:#f7f9fd;color:var(--blue)}.workspace-nav a.active{background:var(--soft-blue);color:var(--blue);font-weight:900}.workspace-nav .svg-icon{width:23px;height:23px}.sidebar-bottom{margin-top:auto;padding:14px 14px 20px;border-top:1px solid var(--line);display:grid;gap:9px}.side-person{display:flex;gap:11px;align-items:center;padding:8px 6px 14px;min-width:0}.side-person-name{display:flex;flex-direction:column;min-width:0}.side-person-name b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-person-name small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.back-website{padding:8px 9px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;font-size:12px}.back-website .svg-icon{width:15px;height:15px}.logout{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left;color:#c43f48;font-weight:700;font-size:12px}.logout:hover{background:#fff5f5}.logout .svg-icon{width:17px;height:17px}
.workspace-main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:74px;min-height:74px;background:var(--white);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:12px 30px;gap:16px}.topbar-title{display:flex;flex-direction:column;gap:1px}.topbar-kicker{letter-spacing:1px;font-size:10px;font-weight:800;color:var(--muted)}.topbar-current{font-size:17px;font-weight:900}.topbar-actions{display:flex;align-items:center;gap:16px;margin-left:auto}.topbar-bell,.icon-square{height:40px;width:40px;border:1px solid var(--line);border-radius:13px;background:#fff;display:grid;place-items:center;color:var(--ink)}.topbar-bell:hover,.topbar-bell.on,.icon-square:hover{background:var(--soft-blue);color:var(--blue)}.topbar-user{display:flex;align-items:center;gap:12px}.topbar-name{font-size:12px;font-weight:800;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{height:37px;width:37px;border-radius:50%;display:grid;place-items:center;color:var(--purple);background:#f0eaff;font-weight:900;font-size:14px}.avatar.small{height:39px;width:39px;flex-shrink:0}.avatar.large{height:65px;width:65px;font-size:22px}.menu-trigger,.bottom-nav,.sidebar-overlay{display:none}
.page-content{width:100%;max-width:1440px;margin:0 auto;flex:1;padding:27px 30px 48px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 20px}.page-heading h1{font-size:24px;letter-spacing:-.45px;font-weight:900;margin:0 0 4px}.page-heading p{font-size:13px;color:var(--muted);margin:0}.home-heading{margin-bottom:14px}.home-heading h1{font-size:21px;letter-spacing:.1px}.home-heading p{font-size:12px}.desktop-notification{display:none}.eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--red)}
/* Home greeting + search */
.welcome-card{display:flex;align-items:center;gap:16px;background:var(--white);border:1px solid var(--line);border-radius:22px;padding:19px 22px;min-height:104px}.welcome-avatar{height:58px;width:58px;border-radius:50%;background:rgba(124,58,237,.1);color:var(--purple);display:grid;place-items:center;flex-shrink:0}.welcome-avatar .svg-icon{width:30px;height:30px}.welcome-copy{min-width:0;flex:1}.welcome-copy>span{font-size:12px;color:var(--muted);font-weight:700}.welcome-copy h2{font-size:19px;line-height:1.3;font-weight:900;margin:3px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.welcome-copy p{font-size:12px;color:var(--muted);font-weight:700;margin:0}.welcome-side-label{font-size:11px;background:var(--bg);padding:8px 12px;color:var(--muted);border-radius:99px}.search-shortcut{display:flex;align-items:center;gap:13px;width:100%;padding:15px 18px;margin:16px 0 24px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;color:#8b98a9;font-size:13px;min-height:56px}.search-shortcut>.svg-icon:first-child{color:var(--muted)}.search-shortcut .arrow-icon{margin-left:auto;width:18px;height:18px}.search-shortcut:hover{border-color:#bed1fd;color:var(--blue)}
/* Flutter section headers / metric cards */
.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.section-header h2{font-size:17px;font-weight:900;margin:0;letter-spacing:-.2px}.section-header a{display:flex;align-items:center;color:var(--blue);font-size:12px;font-weight:800;white-space:nowrap}.section-header a .svg-icon{height:17px;width:17px}.flutter-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:27px}.flutter-metric{background:#fff;border:1px solid var(--line);border-radius:19px;padding:16px 14px;min-height:138px;display:flex;flex-direction:column;gap:6px;box-shadow:var(--shadow)}.flutter-metric[href]:hover{border-color:#c0d4fd;transform:translateY(-1px)}.flutter-metric strong{font-size:25px;font-weight:900;letter-spacing:-.7px;line-height:1.2}.flutter-metric>span:last-child{font-size:12px;font-weight:700;color:var(--muted);line-height:1.3}.metric-symbol{height:35px;width:35px;border-radius:11px;display:grid;place-items:center}.metric-symbol .svg-icon{width:19px;height:19px}.blue{color:var(--blue)!important;background:var(--soft-blue)!important}.purple,.violet{color:var(--purple)!important;background:#f3eefd!important}.green{color:var(--green)!important;background:#eefaf2!important}.orange{color:#d88900!important;background:#fff6e6!important}
.home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 19px}.home-section{min-width:0}.flat-list{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.list-item{min-height:78px;display:flex;align-items:center;padding:15px 16px;gap:14px;border-bottom:1px solid #f0f2f6}.list-item:last-child{border-bottom:none}.list-item[href]:hover{background:#fafcff}.list-item>div{min-width:0;flex:1}.list-item>div strong{font-size:13px;font-weight:800;display:block;overflow-wrap:anywhere}.list-item>div small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.list-icon{width:41px;height:41px;flex-shrink:0;border-radius:13px;display:grid;place-items:center}.list-icon .svg-icon{width:21px;height:21px}.item-overline{display:block;font-weight:900;letter-spacing:1px;font-size:9px;color:var(--muted);margin-bottom:3px}.list-arrow{margin-left:auto;color:#94a3b8;width:18px;height:18px}.empty-surface{padding:25px 19px;color:var(--muted);font-size:12px;min-height:80px;display:flex;align-items:center}.status-chip{font-size:10px;white-space:nowrap;border-radius:99px;padding:6px 9px;font-weight:700;background:var(--soft-blue);color:var(--blue)}.below-sections{margin-top:26px}.workspace-cta{display:flex;align-items:center;gap:15px;padding:17px 19px;background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow)}.workspace-cta:hover{border-color:#bed1fd}.workspace-cta>span:nth-child(2){flex:1;min-width:0}.workspace-cta b{display:block;font-size:14px;font-weight:800}.workspace-cta small{display:block;margin-top:5px;color:var(--muted);font-size:12px}
/* Workspace search / application cards */
.workspace-searchbox{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:0 16px;min-height:56px;margin-bottom:24px}.workspace-searchbox>.svg-icon{color:var(--muted)}.workspace-searchbox:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.08)}.workspace-searchbox input{flex:1;width:100%;border:0;background:transparent;outline:0;height:54px;font-size:13px;color:var(--ink)}.workspace-searchbox input::placeholder{color:#95a0ae}.quick-menu{margin-bottom:26px}.apps-heading{margin:0 0 15px}.apps-full-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.app-full-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:21px;padding:20px;display:flex;align-items:flex-start;flex-direction:column;box-shadow:var(--shadow);gap:10px}.app-full-card:hover{border-color:#c7d9fd}.app-icon{background:var(--soft-blue);color:var(--blue);height:49px;width:49px;border-radius:16px;display:grid;place-items:center;font-size:18px;font-weight:900}.app-icon .svg-icon{width:25px;height:25px}.tiny-tag{font-size:9px;font-weight:900;color:var(--muted);background:#f3f6fb;border-radius:99px;padding:5px 8px;letter-spacing:.06em}.app-full-card h3{font-size:15px;margin:3px 0 0;font-weight:900}.app-full-card p{color:var(--muted);font-size:12px;line-height:1.55;margin:0 0 4px;flex:1;min-height:40px}.app-full-card form{margin-top:auto}.open-app{padding:0;border:0;background:none;color:var(--blue);font-size:12px;font-weight:900;display:flex;align-items:center;gap:6px;cursor:pointer}.open-app:disabled{color:#94a3b8}.open-app .svg-icon{width:15px;height:15px}.app-full-card .open-app{margin-top:auto}
/* Existing Academy/Meeting/Info/Notification templates */
.panel,.app-card,.stat-card{border:1px solid var(--line);border-radius:21px;background:#fff;box-shadow:var(--shadow)}.panel{padding:23px 24px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.panel-heading h2{font-size:16px;margin:0;font-weight:900}.panel-heading p{font-size:12px;color:var(--muted)}.panel-heading a,.btn-light{font-size:12px;color:var(--blue);font-weight:800}.activity-row{display:flex;align-items:flex-start;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.activity-row:last-child{border-bottom:none}.activity-icon{background:var(--soft-blue);color:var(--blue);min-width:39px;height:39px;border-radius:13px;display:grid;place-items:center;font-size:18px}.activity-row>div{min-width:0}.activity-row strong{font-size:13px}.activity-row p{font-size:12px;color:var(--muted);margin:4px 0 0;white-space:pre-line;line-height:1.55}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.info-grid h2{margin:14px 0;font-size:17px}.paragraph{white-space:pre-line;color:var(--muted);font-size:13px;line-height:1.7}.muted{color:var(--muted)}.alert{padding:14px 16px;border-radius:13px;margin-bottom:20px;font-size:13px}.alert.error{background:#fff1f2;color:#b91c1c}.alert.success{background:#ebfbf1;color:#147d40}.empty-state{padding:22px 0;color:var(--muted);font-size:12px}.profile-container{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.profile-heading{display:flex;gap:16px;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.profile-heading h2{font-size:18px;margin:0 0 5px}.profile-heading p{color:var(--muted);font-size:12px;margin:0}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.profile-grid small{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.profile-grid strong{font-size:13px;font-weight:800;overflow-wrap:anywhere}.panel-subtitle{font-size:12px;color:var(--muted);margin:0 0 18px}.roles{display:flex;flex-wrap:wrap;gap:8px}.role-chip{background:var(--soft-blue);color:var(--blue);font-size:11px;border-radius:10px;padding:8px 11px;font-weight:800}.profile-link{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:800;color:var(--blue);margin-top:25px}.profile-link .svg-icon{width:16px;height:16px}.activity-metrics{margin-bottom:26px}
/* Login follows Flutter login_screen.dart (single column, Arial, 520px max). */
.login-body{background:var(--bg)}.flutter-login{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:32px 24px}.flutter-login-form{max-width:520px;width:100%;padding:24px 17px}.login-brand{display:block;margin-bottom:46px}.login-brand img{width:210px;height:auto;max-height:92px;object-fit:contain;object-position:left}.flutter-login-form h1{font-size:34px;font-weight:900;letter-spacing:-.8px;margin:0 0 10px}.login-description{font-size:16px;color:var(--muted);line-height:1.4;margin:0 0 34px}.flutter-login-form label{display:block;font-weight:800;font-size:14px;margin:0 0 9px}.login-input-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:17px;display:flex;align-items:center;gap:14px;margin-bottom:19px;padding:0 18px;height:62px}.login-input-wrap:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.08)}.login-input-wrap>span{color:#4b5563;font-size:19px}.login-input-wrap input{background:transparent;border:0;outline:0;width:100%;flex:1;height:100%;min-width:0;font-size:14px}.login-input-wrap input::placeholder{color:#94a3b8}.password-toggle{font-size:12px;color:var(--blue);background:transparent;border:0;font-weight:800;padding:6px 0}.btn-blue{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--blue);color:#fff;border-radius:17px;padding:13px 18px;font-size:13px;font-weight:900}.btn-blue:hover{background:var(--blue-dark)}.btn-blue:disabled{background:#bfceee}.login-button{height:66px;width:100%;border-radius:22px;font-size:18px;margin-top:12px}.login-note{margin:22px 0;text-align:center;font-size:13px;color:var(--muted);line-height:1.5}.back-link{display:block;text-align:center;color:var(--muted);font-weight:700;font-size:12px;margin-top:24px}
@media(max-width:1300px){.home-grid{gap:21px 15px}.apps-full-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1080px){.home-grid,.profile-container{grid-template-columns:1fr}.welcome-side-label{display:none}}
@media(max-width:959px){.sidebar{position:fixed;left:0;top:0;bottom:0;transform:translateX(-105%);transition:transform .2s ease;box-shadow:0 4px 30px #0f172a20}.sidebar.opened{transform:translateX(0)}.sidebar-overlay:not([hidden]){display:block;position:fixed;inset:0;border:0;background:#0f172a66;z-index:25}.menu-trigger{display:grid;place-items:center;border:0;background:transparent;color:var(--ink);height:40px;width:40px}.topbar{padding:12px 17px}.page-content{padding:23px 20px 40px}.topbar-name{display:none}}
@media(max-width:650px){.topbar{height:62px;min-height:62px}.topbar-current{font-size:15px}.topbar-kicker{font-size:9px}.topbar-bell{height:36px;width:36px}.topbar-bell .svg-icon{width:19px;height:19px}.topbar-actions{gap:10px}.topbar-user>.avatar{height:34px;width:34px}.page-content{padding:18px 17px 98px}.home-heading h1{font-size:20px}.page-heading h1{font-size:22px}.welcome-card{padding:16px;border-radius:22px}.welcome-avatar{height:56px;width:56px}.flutter-metrics{gap:9px}.flutter-metric{padding:13px 10px;min-height:133px}.flutter-metric strong{font-size:23px}.flutter-metric>span:last-child{font-size:10.5px}.metric-symbol{width:32px;height:32px}.home-grid{gap:23px}.apps-full-grid,.info-grid{grid-template-columns:1fr}.bottom-nav{display:flex;align-items:stretch;justify-content:space-between;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;box-shadow:0 -4px 18px #0f172a17;padding:8px 4px calc(8px + env(safe-area-inset-bottom));min-height:66px}.bottom-nav a{min-width:0;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font-size:10px;font-weight:800;color:var(--muted)}.bottom-nav a.active{color:var(--blue);font-weight:900}.bottom-nav .svg-icon{width:22px;height:22px}.panel{padding:18px}.profile-grid{grid-template-columns:1fr}.flutter-login{padding:15px 16px}.flutter-login-form{padding:22px 10px}.flutter-login-form h1{font-size:31px}}
@media(max-width:370px){.topbar-kicker{font-size:8px}.flutter-metric>span:last-child{font-size:10px}.flutter-metric{padding:11px 8px}.bottom-nav a{font-size:9px}}
