/* Account screens share the MY WORKSPACE theme tokens. */
.account-admin, .account-public { margin:0; font: 14px/1.55 var(--ws-font,'Plus Jakarta Sans','Segoe UI',sans-serif); }
.account-admin { background:var(--ws-bg,#f5f8fd); color:var(--ws-ink,#20334e); }
.account-admin .ws-return-control { left:calc(var(--workspace-main-sidebar,272px) + 16px); }
.account-admin *, .account-public * { box-sizing:border-box; }
.account-topbar { min-height:88px; padding:14px clamp(20px,4vw,44px); display:flex; align-items:center; border-bottom:1px solid var(--ws-line,#cbd8e8); background:var(--ws-surface,#fff); }
.account-topbar h1 { font-size:clamp(1.12rem,2vw,1.5rem); margin:0; line-height:1.25; font-weight:800; letter-spacing:-.025em; }
.account-topbar p { margin:4px 0 0; font-size:.8rem; color:var(--ws-muted,#5d718e); }
.account-workspace { max-width:1360px; margin:0 auto; padding:24px clamp(16px,4vw,44px) 40px; }
.account-overview { display:grid; grid-template-columns:minmax(0,1.16fr) minmax(0,1fr); align-items:start; gap:20px; }
.account-panel { min-width:0; padding:clamp(16px,2.3vw,26px); border:1px solid var(--ws-line,#cbd8e8); border-radius:22px; background:linear-gradient(145deg,var(--ws-surface,#fff),var(--ws-surface-end,#fafbfd)); color:var(--ws-ink,#20334e); box-shadow:var(--ws-shadow,0 8px 24px #18375a12); }
.account-panel + .account-panel { margin-top:16px; }
.account-overview > .account-panel { margin:0; }
.account-panel-heading { display:flex; align-items:center; gap:12px; padding-bottom:15px; margin-bottom:16px; border-bottom:1px solid var(--ws-line,#cbd8e8); }
.account-panel h2 { margin:0; font-size:1.12rem; font-weight:800; line-height:1.35; }
.account-panel p { color:var(--ws-muted,#5d718e); }
.account-panel-heading p, .account-delivery p { margin:4px 0 0; font-size:.83rem; }
.account-icon { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:13px; color:var(--ws-accent-ink,#174c9f); background:var(--ws-soft,#e5efff); }
.account-form { max-width:42rem; }
.account-form label { display:grid; gap:6px; font-weight:700; margin:0 0 14px; min-width:0; }
.account-grid-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; max-width:none; }
.account-grid-form label { margin:0; }
.account-wide { grid-column:1/-1; min-width:0; }
.account-form input:not([type=checkbox]), .account-form select { width:100%; min-width:0; min-height:44px; padding:10px 12px; border:1px solid var(--ws-line,#aebfd4); border-radius:11px; background:var(--ws-surface-end,#f8fafc); color:var(--ws-ink,#20334e); font:inherit; font-weight:500; }
.account-form input::placeholder { color:var(--ws-muted,#5d718e); }
.account-form input[type=file]::file-selector-button { border:0; background:var(--ws-soft,#e5efff); color:var(--ws-accent-ink,#174c9f); font:inherit; font-weight:750; padding:5px 9px; border-radius:6px; margin-right:8px; cursor:pointer; }
.account-form-actions { margin-top:4px; }
.account-action,.account-secondary { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:42px; padding:8px 13px; border:1px solid transparent; border-radius:10px; text-decoration:none; font:inherit; font-weight:750; cursor:pointer; }
.account-action { color:#fff; background:linear-gradient(135deg,var(--ws-accent,#2563c7),var(--ws-accent-end,#174c9f)); }
.account-secondary { background:var(--ws-surface,#fff); border-color:var(--ws-line,#cbd8e8); color:var(--ws-accent-ink,#174c9f); }
.account-action:hover,.account-secondary:hover { filter:brightness(1.08); }
.account-action:disabled { opacity:.57; cursor:not-allowed; }
.account-action-whatsapp { background:#176449; }
.account-alert,.account-delivery { border-radius:13px; border:1px solid var(--ws-line,#cbd8e8); padding:12px 15px; margin:0 0 16px; background:var(--ws-soft,#e5efff); color:var(--ws-ink,#20334e); }
.account-delivery { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.account-error { background:var(--ws-danger-bg,#fff0f2); color:var(--ws-danger,#9c2441); }
.account-empty { display:grid; justify-items:center; gap:8px; text-align:center; padding:28px 12px; border:1px dashed var(--ws-line,#cbd8e8); border-radius:14px; background:var(--ws-surface-end,#f8fafc); }
.account-empty p { margin:0; font-size:.82rem; }
.account-record { border:1px solid var(--ws-line,#cbd8e8); border-radius:12px; margin:8px 0; padding:0 12px; background:var(--ws-surface-end,#f8fafc); }
.account-record summary { display:flex; align-items:center; flex-wrap:wrap; column-gap:8px; row-gap:4px; min-height:45px; font-weight:750; padding:8px 0; cursor:pointer; list-style:none; }
.account-record summary::-webkit-details-marker { display:none; }
.account-record summary::before { content:''; width:7px; height:7px; border-right:2px solid; border-bottom:2px solid; transform:rotate(-45deg); margin-right:4px; flex:none; color:var(--ws-accent-ink,#174c9f); }
.account-record[open] summary::before { transform:rotate(45deg); }
.account-record summary > span:first-of-type { flex:1 1 9rem; overflow-wrap:anywhere; }
.account-record[open] { padding-bottom:12px; }
.account-badge { display:inline-flex; align-items:center; width:max-content; max-width:100%; padding:3px 8px; border-radius:999px; background:var(--ws-soft,#e5efff); color:var(--ws-accent-ink,#174c9f); font-size:.72rem; font-weight:750; }
.account-badge-success { background:var(--ws-success-bg,#e7f7ef); color:var(--ws-success,#176449); }
.account-badge-warning { background:var(--ws-warning-bg,#fff4d8); color:var(--ws-warning,#795613); }
.account-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 14px; margin:8px 0; }
.account-facts dt { color:var(--ws-muted,#5d718e); font-size:.75rem; font-weight:650; }
.account-facts dd { margin:0; overflow-wrap:anywhere; }
.account-check { display:flex !important; align-items:flex-start; gap:9px; padding:12px; margin:10px 0 !important; border-radius:11px; background:var(--ws-soft,#e5efff); cursor:pointer; }
.account-check input { margin:4px 0 0; accent-color:var(--ws-accent,#2563c7); flex:none; width:16px; height:16px; }
.account-links { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:10px 0; }
.account-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0 0 14px; }
.account-filters a { display:grid; gap:3px; border:1px solid var(--ws-line,#cbd8e8); border-radius:13px; background:var(--ws-surface-end,#f8fafc); color:var(--ws-ink,#20334e); padding:9px 12px; text-decoration:none; }
.account-filters a[aria-current=page],.account-filters a:hover { background:var(--ws-soft,#e5efff); color:var(--ws-accent-ink,#174c9f); }
.account-filters strong { font-size:1.25rem; }
.account-filters span { font-size:.75rem; }
.account-table-wrap { overflow:auto; border:1px solid var(--ws-line,#cbd8e8); border-radius:12px; }
.account-table { width:100%; border-collapse:collapse; text-align:left; }
.account-table th,.account-table td { padding:8px 11px; border-bottom:1px solid var(--ws-line,#cbd8e8); vertical-align:top; overflow-wrap:anywhere; }
.account-table th { color:var(--ws-muted,#5d718e); background:var(--ws-surface-end,#f8fafc); font-size:.76rem; }
.account-table tr:last-child td { border-bottom:0; }
.account-public { color:#f3f7ff; min-height:100dvh; display:grid; place-items:center; padding:clamp(14px,4vw,40px); background:#101b31 linear-gradient(#07112882,#071128ab); background-image:linear-gradient(#07112882,#071128ab),url('login-johor-sunset.png'); background-position:center; background-size:cover; background-attachment:fixed; }
.account-public .account-card { width:min(100%,480px); margin:auto; padding:clamp(20px,5vw,34px); border:1px solid #ffffff4d; border-radius:26px; background:linear-gradient(145deg,#10213bea,#14243cdb); box-shadow:0 25px 68px #02061770; backdrop-filter:blur(16px); }
.account-brand { display:flex; align-items:center; gap:12px; margin-bottom:18px; color:#f3f7ff; }
.account-brand img { width:44px; height:44px; object-fit:contain; }
.account-brand strong,.account-brand small { display:block; }
.account-brand strong { font-size:.94rem; letter-spacing:.045em; }
.account-brand small { color:#c4d4ee; font-size:.71rem; letter-spacing:.12em; font-weight:700; }
.account-public h1 { margin:0 0 8px; font-size:clamp(1.34rem,4vw,1.7rem); line-height:1.28; font-weight:800; }
.account-public p { color:#e3ebfa; }
.account-public .account-form { margin-top:16px; }
.account-public .account-form input,.account-public .account-form select { color:#fff; background:#1a304f; border-color:#6e84a5; color-scheme:dark; }
.account-public .account-action { width:100%; background:linear-gradient(135deg,#2d70d4,#174c9f); }
.account-public .account-alert { background:#1c385d; color:#f2f7ff; border-color:#526d92; }
.account-public .account-error { background:#592c41; border-color:#bd7b90; }
.account-public .account-return { display:inline-flex; min-height:44px; align-items:center; gap:8px; margin-top:10px; color:#d6e7ff; font-weight:700; text-decoration:none; }
.account-public :focus-visible { outline:3px solid #bad7ff; outline-offset:3px; }
.password-checklist { display:flex; gap:5px; flex-wrap:wrap; padding:0; margin:9px 0 14px; list-style:none; }
.password-checklist li { border-radius:999px; padding:3px 7px; background:var(--ws-soft,#e5efff); color:var(--ws-ink,#20334e); font-size:.74rem; }
.password-checklist li[data-passed=true] { background:var(--ws-success-bg,#e7f7ef); color:var(--ws-success,#176449); }
.account-public .password-checklist li { background:#253e5e; color:#e8f0ff; }
.account-public .password-checklist li[data-passed=true] { background:#174c40; color:#e0fff2; }
.password-renewal-notice {
 width:min(480px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:clamp(20px,5vw,30px);
 border:1px solid #d4deeb; border-radius:22px; background:#fff; color:#172b49;
 box-shadow:0 24px 70px #07112866;
}
.password-renewal-notice::backdrop { background:#071128ad; }
.password-notice-shield {
 display:grid; place-items:center; width:46px; height:46px; border-radius:14px;
 background:#fff2d1; color:#965400; margin-bottom:12px;
}
.password-notice-label { color:#874d00; font-size:.73rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.password-renewal-notice h2 { margin:6px 0; font-size:clamp(1.2rem,4vw,1.55rem); line-height:1.3; }
.account-public .password-renewal-notice p { color:#465976; margin:8px 0 20px; }
.account-public .password-renewal-notice :focus-visible { outline-color:#245fb9; }
@media(max-width:1100px){.account-overview{grid-template-columns:1fr}}
@media(max-width:900px){.account-topbar{min-height:72px}.account-admin .ws-return-control{left:16px}}
@media(max-width:600px){
 .account-workspace{padding:16px 12px 22px}
 .account-topbar{padding-right:12px}
 .account-grid-form{grid-template-columns:1fr}
 .account-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-panel{padding:14px;border-radius:16px}
 .account-form input:not([type=checkbox]),.account-form select{font-size:16px}
 .account-action,.account-secondary{min-height:44px}
}
.account-page-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.account-page-heading h2 { margin:0; font-size:1.34rem; font-weight:800; }
.account-page-heading p { margin:4px 0 0; color:var(--ws-muted,#5d718e); }
.account-section { margin-top:16px; padding:0; }
.account-section > summary { display:flex; align-items:center; gap:12px; list-style:none; padding:14px clamp(14px,2.3vw,24px); cursor:pointer; }
.account-section > summary::-webkit-details-marker { display:none; }
.account-section > summary::after { content:''; width:8px; height:8px; margin-left:2px; transform:rotate(45deg); border-right:2px solid; border-bottom:2px solid; color:var(--ws-accent-ink,#174c9f); flex:none; }
.account-section[open] > summary::after { transform:rotate(225deg); }
.account-section-title { flex:1; min-width:0; }
.account-section-title strong,.account-section-title small { display:block; }
.account-section-title strong { font-weight:800; }
.account-section-title small { color:var(--ws-muted,#5d718e); margin-top:3px; }
.account-section-body { padding:16px clamp(14px,2.3vw,24px); border-top:1px solid var(--ws-line,#cbd8e8); }
.account-section-body > .account-panel { margin-top:14px; }
.account-directory-entry { margin:0 0 18px; }
.account-directory-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.account-directory-actions .account-secondary { min-height:34px; padding:5px 8px; font-size:.74rem; }
.account-directory-actions .account-danger { color:var(--ws-danger,#9c2441); }
.account-departments { margin-top:16px; }
.account-departments .account-table-wrap { max-height:400px; }
.account-departments .account-table thead th { position:sticky; top:0; z-index:1; }
.account-departments .account-table td:first-child a { display:inline-block; color:var(--ws-accent-ink,#174c9f); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.account-departments .account-table th:not(:first-child),.account-departments .account-table td:not(:first-child) { text-align:center; }
.account-departments #semakan-jabatan { scroll-margin-top:110px; }
@media(max-width:600px){
 .account-section > summary{padding:12px;gap:8px}
 .account-section > summary .account-icon{width:34px;height:34px}
 .account-directory-actions .account-secondary{min-height:44px}
 .account-departments .account-table th,.account-departments .account-table td{padding:6px;font-size:.72rem}
}
.account-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.account-searchbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; max-width:none; }
.account-searchbar input[type=search] { flex:1 1 13rem; width:auto; }
.account-searchbar select { flex:0 1 21rem; width:auto; max-width:100%; }
.account-directory-person { display:flex; align-items:center; gap:10px; }
.account-directory-avatar { display:grid; place-items:center; flex:none; width:40px; height:40px; border-radius:50%; overflow:hidden; background:var(--ws-soft,#e5efff); color:var(--ws-accent-ink,#174c9f); }
.account-directory-avatar img { width:100%; height:100%; object-fit:cover; }
.account-directory-count { margin:12px 0 6px; font-size:.82rem; font-weight:650; }
.account-directory-list { max-height:min(56vh,660px); overflow:auto; border:1px solid var(--ws-line,#cbd8e8); border-radius:13px; }
.account-directory-list:empty { display:none; }
.account-directory-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:10px 13px; border-bottom:1px solid var(--ws-line,#cbd8e8); }
.account-directory-row:last-child { border-bottom:0; }
.account-directory-row:hover { background:var(--ws-surface-end,#f8fafc); }
.account-directory-row > div:first-child { flex:1 1 12rem; min-width:0; overflow-wrap:anywhere; }
.account-directory-row strong,.account-directory-row small { display:block; }
.account-directory-row small { color:var(--ws-muted,#5d718e); margin-top:3px; }
.account-directory-row .account-secondary { min-height:40px; }
.account-workspace-profile { max-width:1050px; }
.account-profile .account-panel-heading { flex-wrap:wrap; }
.account-profile .account-panel-heading > div { flex:1 1 8rem; }
.account-profile-facts { grid-template-columns:repeat(3,minmax(0,1fr)); padding:13px 15px; border-radius:12px; background:var(--ws-surface-end,#f8fafc); }
.account-profile-section { margin-top:20px; padding-top:15px; border-top:1px solid var(--ws-line,#cbd8e8); }
.account-profile-section h3 { margin:0 0 12px; font-size:1rem; }
.account-profile-status .account-links { margin-bottom:0; }
.account-profile-status .account-danger { color:var(--ws-danger,#9c2441); }
@media(max-width:600px){
    .account-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
    .account-directory-row{padding:9px}
    .account-directory-row > div:first-child{flex-basis:100%}
    .account-directory-row .account-secondary{min-height:44px}
    .account-searchbar input[type=search]{flex-basis:100%;width:100%}
}
