/* ArmyStudy portal: navy sidebar, clear blue actions, compact responsive workspace. */
:root {
  --as-primary:#2864e8;
  --as-primary-hover:#1f53c9;
  --as-primary-light:#eaf1ff;
  --as-text-main:#15223b;
  --as-text-muted:#71809a;
  --as-border:#e2e8f2;
  --as-border-subtle:#eff3f8;
  --as-card-bg:#fff;
  --as-radius-lg:18px;
  --as-radius-md:12px;
  --as-shadow-sm:0 2px 8px #12244a0b;
  --as-shadow-md:0 10px 30px #12244a12;
  --ws-ink:#15223b;
  --ws-muted:#71809a;
  --ws-line:#e2e8f2;
}
html { scroll-behavior:smooth; }
body,.as-body-wrapper { background:#f4f7fb; color:var(--as-text-main); }
.as-app-layout { min-height:100vh; min-height:100dvh; background:#f4f7fb; }
.as-sidebar {
  position:sticky; top:0; height:100vh; height:100dvh; width:260px; min-width:260px;
  background:#101a30; color:#dbe5f7; border:0; box-shadow:8px 0 28px #0b17300a;
}
.as-sidebar-brand { min-height:92px; padding:20px; border-bottom:1px solid #ffffff12; gap:12px; }
.as-brand-logo { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; color:#fff; background:linear-gradient(145deg,#3478ff,#2054d4); box-shadow:0 6px 16px #2366ed44; font-size:16px; font-weight:800; transform:none; }
.as-brand-text h1 { color:#fff; font-size:16px; letter-spacing:-.3px; }
.as-brand-text p { color:#92a3c1; font-size:9px; letter-spacing:1.5px; }
.as-sidebar-nav { flex:1; min-height:0; overflow-y:auto; padding:12px 12px 18px; scrollbar-width:thin; scrollbar-color:#ffffff24 transparent; }
.ws-nav-label { padding:19px 12px 8px; color:#8090ae; font-size:9px; font-weight:750; letter-spacing:1.2px; text-transform:uppercase; }
.as-nav-item {
  display:flex; min-height:46px; margin:3px 0; padding:7px 10px; gap:11px; border:1px solid transparent;
  border-radius:13px; color:#b8c5dc; font-size:12px; font-weight:550; text-align:left;
  transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.as-nav-item:hover { color:#fff; background:#ffffff10; transform:translateX(2px); }
.as-nav-item.as-active { color:#fff; font-weight:700; background:linear-gradient(105deg,#2868ed,#326ef0); box-shadow:0 7px 18px #2465e645; }
.as-nav-icon { width:32px; height:32px; display:grid; place-items:center; flex:none; border-radius:11px; color:var(--nav-icon-color,#9bc0ff); background:var(--nav-icon-bg,#ffffff12); }
.as-nav-item.as-active .as-nav-icon { color:#fff; background:#ffffff20; }
.as-nav-icon svg { width:18px; height:18px; stroke:currentColor; }
.as-nav-item[data-view="dashboard"] { --nav-icon-color:#a9b2ff; --nav-icon-bg:#5d63d229; }
.as-nav-item[data-view="staff"] { --nav-icon-color:#63cbff; --nav-icon-bg:#3298cc2b; }
.as-nav-item[data-view="attendance"] { --nav-icon-color:#56d4a3; --nav-icon-bg:#2cbb8424; }
.as-nav-item[data-view="leaves"] { --nav-icon-color:#ffc06e; --nav-icon-bg:#e28c3526; }
.as-nav-item[data-view="payroll"] { --nav-icon-color:#ffd768; --nav-icon-bg:#d7a82426; }
.as-nav-item[data-view="tenure"] { --nav-icon-color:#ce9cff; --nav-icon-bg:#985ad626; }
.as-nav-item[data-view="holidays"] { --nav-icon-color:#ff91ad; --nav-icon-bg:#dd537d26; }
.as-nav-item[data-view="departments"] { --nav-icon-color:#7ac4ff; --nav-icon-bg:#408dd426; }
.as-nav-item[data-view="email"] { --nav-icon-color:#56decf; --nav-icon-bg:#20ad9b26; }
.as-nav-item[data-view="settings"],.as-nav-item[data-view="panel"],.as-nav-item[data-view="options"] { --nav-icon-color:#c0adff; --nav-icon-bg:#7958dd26; }
.as-nav-item[data-view="analytics"] { --nav-icon-color:#8eb6ff; --nav-icon-bg:#447ce026; }
.as-nav-item[data-view="tasks"] { --nav-icon-color:#ffb783; --nav-icon-bg:#e78b4a26; }
.as-nav-item[data-view="content"] { --nav-icon-color:#7de0b0; --nav-icon-bg:#38ae7626; }
.as-nav-item[data-view="profile"] { --nav-icon-color:#e0a6ff; --nav-icon-bg:#a655d126; }
.as-nav-item[data-view="calendar"] { --nav-icon-color:#ff9aa2; --nav-icon-bg:#de5e7026; }
.as-nav-item[data-view="documents"] { --nav-icon-color:#77dbef; --nav-icon-bg:#36a8bc26; }
.as-sidebar-footer { flex-shrink:0; padding:15px 14px; background:#0b1427; border-top:1px solid #ffffff12; }
.as-user-mini { min-width:0; }
.as-user-name { color:#f5f8ff; max-width:164px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.as-user-role-badge { color:#8ea6cd; font-size:9px; }
.as-avatar { color:#fff; background:#3478ee; border-radius:50%; }
.as-sidebar-footer>button { color:#98a9c5 !important; border-radius:10px !important; width:36px; height:36px; }
.as-sidebar-footer>button:hover { color:#fff !important; background:#ffffff12 !important; }
.as-main-container { min-width:0; background:#f4f7fb; }
.as-topbar { position:sticky; top:0; z-index:80; height:72px; padding:0 28px; background:#fff; border-bottom:1px solid #e8edf5; box-shadow:0 3px 12px #13244b06; }
.as-page-title { color:#14223c; font-size:20px; font-weight:700; letter-spacing:-.45px; }
.as-page-title:before { content:none; }
.as-topbar-left { gap:12px; }
.as-topbar-right { gap:9px; }
.as-mobile-toggle { display:none; }
.as-topbar .as-btn { min-height:40px; border-radius:11px; font-size:11px; }
.as-topbar .as-btn-outline { color:#273752; border-color:#dce4f0; background:#fff; }
.as-topbar .as-btn-danger { color:#fff; border-color:#f0444e; background:#f0444e; }
.as-content-area { width:100%; max-width:1600px; min-width:0; margin:0 auto; padding:27px 28px 42px; box-sizing:border-box; }
.ws-intro { align-items:center; gap:16px; margin:0 0 20px; }
.ws-intro h1 { margin:5px 0; color:#14223c; font-size:27px; font-weight:720; letter-spacing:-.8px; }
.ws-intro p { color:#75839b; font-size:12px; line-height:1.65; }
.ws-eyebrow { color:#6984b5; font-size:9px; font-weight:750; letter-spacing:1.4px; }
.as-card { min-width:0; padding:20px; border:1px solid #e2e8f2; border-radius:16px; background:#fff; box-shadow:0 3px 12px #1c315208; }
.as-card:hover { box-shadow:0 5px 16px #1c31520d; }
.as-card-header { gap:12px; }
.as-card-title { color:#1a2943; font-size:14px; font-weight:700; }
.as-btn { border-radius:11px; font-weight:650; }
.as-btn-primary { color:#fff; border-color:#2864e8; background:linear-gradient(135deg,#3478f6,#245de0); box-shadow:0 5px 13px #2864e82a; }
.as-btn-primary:hover { color:#fff; background:linear-gradient(135deg,#286be9,#1f53c9); box-shadow:0 8px 18px #2864e83c; }
.as-btn-outline { color:#43536d; border-color:#dce4f0; background:#fff; }
.as-btn-outline:hover { color:#245bd0; border-color:#bfd0f4; background:#f7faff; }
.as-btn-danger { color:#fff; border-color:#ed5360; background:#ed5360; }
.as-btn:has(.as-action-icon) { gap:8px; }
.as-action-icon { width:17px; height:17px; flex:none; }
.as-btn-outline .as-icon-edit { color:#855bd6; }
.as-btn-outline .as-icon-export { color:#159a7a; }
.as-input,.as-select,.as-textarea { border-color:#dfe6f0; border-radius:11px; background:#fbfcfe; color:#202f49; }
.as-input:focus,.as-select:focus,.as-textarea:focus { border-color:#70a0f5; box-shadow:0 0 0 4px #3478f51b; }
.as-table-responsive { max-width:100%; border-color:#e3e9f2; border-radius:13px; }
.as-table th { color:#64738c; background:#f4f7fb; font-size:10px; font-weight:700; }
.as-table td { color:#34435c; }
.as-table tbody tr:hover { background:#f7faff; }
.as-badge { border-radius:999px; font-weight:650; }
.ws-overview:not(.ws-attendance-summary) { color:#fff; background:linear-gradient(120deg,#2143a5 0%,#2859cf 62%,#3678eb 100%); border:0; border-radius:20px; box-shadow:0 12px 26px #2148a329; }
.ws-overview:not(.ws-attendance-summary) h2,.ws-overview:not(.ws-attendance-summary) strong { color:#fff; }
.ws-overview:not(.ws-attendance-summary) p,.ws-overview:not(.ws-attendance-summary) .ws-eyebrow { color:#cfddff; }
.ws-overview:not(.ws-attendance-summary) .ws-pill { color:#e8efff; border-color:#ffffff2c; background:#ffffff18; }
.ws-overview:not(.ws-attendance-summary) .ws-text-link { color:#fff; }
.ws-overview:not(.ws-attendance-summary) .ws-orbit,.ws-overview:not(.ws-attendance-summary) .ws-orbit:after { border-color:#ffffff35; }
.ws-overview:not(.ws-attendance-summary) .ws-art-card { color:#71809b; box-shadow:0 15px 30px #0b28622d; }
.ws-metrics { gap:14px; margin-bottom:18px; }
.ws-metric { min-width:0; padding:17px; border:1px solid #e2e8f2; border-radius:15px; background:#fff; box-shadow:0 3px 12px #1c315208; }
.ws-metric:nth-child(4n+1) { --tile-ink:#5168de; --tile-soft:#eef0ff; background:#fff; border-color:#e2e8f2; }
.ws-metric:nth-child(4n+2) { --tile-ink:#2c98c2; --tile-soft:#e8f7fd; background:#fff; border-color:#e2e8f2; }
.ws-metric:nth-child(4n+3) { --tile-ink:#db8b32; --tile-soft:#fff4e6; background:#fff; border-color:#e2e8f2; }
.ws-metric:nth-child(4n+4) { --tile-ink:#2f9e70; --tile-soft:#e8f8f0; background:#fff; border-color:#e2e8f2; }
.ws-metric>div { color:#66758f; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.ws-metric>div svg { width:37px; height:37px; padding:8px; border-radius:12px; color:var(--tile-ink); background:var(--tile-soft); }
.ws-metric strong { color:#15223b; font-size:29px; font-weight:720; }
.ws-metric small { color:#8491a7; font-size:10px; }
.ws-columns { gap:16px; }
.ws-columns>.as-card:first-child,.ws-columns>.as-card:nth-child(2) { border-color:#e2e8f2; background:#fff; }
.ws-attendance-summary.ws-overview { display:block; min-height:0; margin-bottom:18px; overflow:hidden; color:#fff; border:0; border-radius:18px; background:linear-gradient(115deg,#203f9e 0%,#244cb6 56%,#2d64d0 100%); box-shadow:0 12px 27px #2148a32c; }
.ws-summary-header { padding:20px 22px 17px; border-color:#ffffff24; background:transparent; }
.ws-summary-header .ws-eyebrow { color:#a9ccff; }
.ws-summary-header h2 { color:#fff; font-size:20px; }
.ws-summary-header p { color:#d2e0ff; }
.ws-summary-header .as-btn-outline { color:#fff; border-color:#ffffff5c; background:#ffffff10; }
.ws-summary-header .as-btn-outline:hover { background:#ffffff20; }
.ws-attendance-body { padding:21px 24px; gap:20px; }
.ws-attendance-ring { width:132px; height:132px; }
.ws-attendance-ring>div { z-index:1; }
.ws-attendance-ring strong { color:#14213d; }
.ws-summary-total>strong,.ws-status-item strong,.ws-week-day>strong { color:#fff; }
.ws-summary-total>strong>span { color:#c2d2f2; }
.ws-summary-total p,.ws-status-item,.ws-week-heading>span,.ws-week-day,.ws-personal-records>div { color:#d1def9; }
.ws-week-heading h3,.ws-personal-records strong { color:#fff; }
.ws-attendance-summary .ws-summary-note { color:#c5d5f5; }
.ws-attendance-week { border-color:#ffffff30; }
.ws-week-track { background:#ffffff26; }
.ws-week-track i,.ws-week-day:last-child .ws-week-track i { background:linear-gradient(180deg,#9de5ff,#69d4b0); }
.ws-week-day:last-child>span { color:#fff; }
.ws-personal-records>div { border-color:#ffffff20; }
.ws-empty { color:#8390a7; }
.ws-empty h3 { color:#44536d; }
.ws-empty svg { color:#4d83ec; }
.as-stats-grid>.as-stat-card { border:1px solid #e2e8f2; border-radius:15px; box-shadow:0 3px 12px #1c315208; }
.as-bottom-nav { background:#fff; border-color:#e2e8f2; box-shadow:0 -5px 20px #12244a0c; }
.as-bottom-item { color:#77859c; }
.as-bottom-item.as-active { color:#2864e8; }
.as-bottom-icon { color:currentColor; }
.as-bottom-item[data-view="dashboard"] .as-bottom-icon { color:#6268df; }
.as-bottom-item[data-view="staff"] .as-bottom-icon { color:#2392bd; }
.as-bottom-item[data-view="attendance"] .as-bottom-icon { color:#279b6f; }
.as-bottom-item[data-view="leaves"] .as-bottom-icon { color:#db8c37; }
.as-bottom-item[data-view="payroll"] .as-bottom-icon { color:#c59428; }
.ws-sidebar-backdrop[hidden],.ws-drawer-close { display:none; }
@keyframes portal-reveal { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
#asContentArea > * { animation:portal-reveal .38s cubic-bezier(.2,.7,.2,1) both; }
#asContentArea > :nth-child(2) { animation-delay:.035s; }
#asContentArea > :nth-child(3) { animation-delay:.07s; }
#asContentArea > :nth-child(4) { animation-delay:.105s; }
.ws-metric,.as-stats-grid>.as-stat-card { animation:portal-reveal .38s cubic-bezier(.2,.7,.2,1) both; }
.ws-metric:nth-child(2),.as-stats-grid>.as-stat-card:nth-child(4n+2) { animation-delay:.04s; }
.ws-metric:nth-child(3),.as-stats-grid>.as-stat-card:nth-child(4n+3) { animation-delay:.08s; }
.ws-metric:nth-child(4),.as-stats-grid>.as-stat-card:nth-child(4n+4) { animation-delay:.12s; }
@media (min-width:901px) {
  .ws-sidebar-collapsed .as-sidebar { width:78px; min-width:78px; }
  .ws-sidebar-collapsed .as-sidebar-brand { padding:20px 18px; }
  .ws-sidebar-collapsed .as-brand-text,.ws-sidebar-collapsed .ws-nav-label,.ws-sidebar-collapsed .as-user-info-text,.ws-sidebar-collapsed .as-sidebar-footer>button { display:none; }
  .ws-sidebar-collapsed .as-sidebar-nav { padding:10px; }
  .ws-sidebar-collapsed .as-nav-item { justify-content:center; padding:6px; }
  .ws-sidebar-collapsed .as-nav-item>span:not(.as-nav-icon) { display:none; }
  .ws-sidebar-collapsed .as-sidebar-footer { justify-content:center; padding:14px; }
}
@media (max-width:900px) {
  .as-sidebar { position:fixed; top:0; bottom:0; left:0; width:min(84vw,300px); min-width:0; height:100dvh; transform:translateX(-105%); transition:transform .24s cubic-bezier(.2,.7,.2,1); z-index:1200; }
  .as-sidebar.as-mobile-open { left:0; transform:translateX(0); box-shadow:16px 0 44px #07112755; }
  .ws-sidebar-backdrop:not([hidden]) { display:block; position:fixed; inset:0; z-index:1190; border:0; background:#0b17308a; backdrop-filter:blur(3px); }
  .ws-drawer-close { display:grid; width:38px; height:38px; flex:none; place-items:center; margin-left:auto; border:1px solid #ffffff1a; border-radius:12px; color:#dbe5f7; background:#ffffff10; }
  body.ws-drawer-open { overflow:hidden; }
  .as-mobile-toggle { display:inline-grid; width:42px; height:42px; flex:none; place-items:center; border:1px solid #e0e7f1; border-radius:12px; color:#344767; background:#fff; }
  .as-topbar { height:64px; padding:0 18px; }
  .as-content-area { padding:21px 18px 94px; }
  .ws-attendance-body { grid-template-columns:126px minmax(0,1fr); }
  .ws-attendance-ring { width:126px; height:126px; }
  .ws-attendance-week { grid-column:1/-1; padding:16px 0 0; border-left:0; border-top:1px solid #ffffff30; }
  .ws-week-heading { flex-direction:row; justify-content:space-between; }
  .as-table-responsive { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .as-table { min-width:590px; }
}
@media (max-width:600px) {
  .as-topbar { height:58px; padding:0 11px; }
  .as-topbar-left { flex:1; min-width:0; gap:9px; }
  .as-page-title { max-width:42vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }
  .as-topbar-right { flex:none; gap:6px; }
  .as-topbar-right .as-btn { min-width:40px; min-height:40px; padding:7px 10px; }
  .as-topbar-action-label { display:none; }
  .as-content-area { padding:15px 12px 88px; }
  .ws-intro { align-items:flex-start; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
  .ws-intro h1 { font-size:22px; line-height:1.22; }
  .ws-intro p { font-size:11px; line-height:1.55; }
  .ws-intro>.as-btn { display:none; }
  .ws-attendance-summary.ws-overview { border-radius:16px; margin-bottom:13px; }
  .ws-summary-header { align-items:flex-start; padding:15px 14px 13px; gap:8px; }
  .ws-summary-header h2 { font-size:17px; }
  .ws-summary-header p { font-size:10px; }
  .ws-summary-header .as-btn { max-width:48%; min-height:40px; padding:7px 9px; gap:5px; white-space:normal; font-size:10px; }
  .ws-summary-header .as-btn svg { display:none; }
  .ws-attendance-body { grid-template-columns:82px minmax(0,1fr); gap:13px 12px; padding:15px 13px; }
  .ws-attendance-ring { width:82px; height:82px; }
  .ws-attendance-ring:before { inset:8px; }
  .ws-attendance-ring strong { font-size:23px; }
  .ws-attendance-ring strong small { font-size:13px; }
  .ws-attendance-ring span { font-size:9px; }
  .ws-summary-total { gap:7px; margin-bottom:9px; }
  .ws-summary-total>strong { font-size:19px; }
  .ws-summary-total>strong>span { font-size:14px; }
  .ws-summary-total p { font-size:9px; }
  .ws-status-grid { grid-template-columns:1fr 1fr; gap:7px 9px; }
  .ws-status-item { gap:5px; font-size:9px; }
  .ws-status-item strong { font-size:10px; }
  .ws-attendance-summary .ws-summary-note { margin-top:9px; font-size:9px; }
  .ws-week-heading { gap:6px; margin-bottom:11px; }
  .ws-week-heading h3 { font-size:12px; }
  .ws-week-heading>span { font-size:9px; }
  .ws-week-chart { gap:7px; }
  .ws-week-track { width:100%; max-width:23px; height:49px; }
  .ws-week-day { gap:5px; font-size:8px; }
  .ws-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:13px; }
  .ws-metric { padding:12px; border-radius:13px; }
  .ws-metric>div { gap:5px; align-items:flex-start; font-size:9px; line-height:1.35; letter-spacing:.2px; }
  .ws-metric>div svg { width:31px; height:31px; padding:6px; border-radius:10px; }
  .ws-metric strong { margin:5px 0 3px; font-size:24px; }
  .ws-metric small { font-size:9px; line-height:1.35; }
  .ws-columns,.ws-board,.ws-content-grid,.ep-profile-columns,.ep-calendar-layout { grid-template-columns:minmax(0,1fr); gap:11px; }
  .ws-toolbar { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin-bottom:13px; }
  .ws-toolbar>.as-input,.ws-toolbar>.as-select,.ws-toolbar .ws-field { width:100%; max-width:none; }
  .as-card { padding:14px; border-radius:14px; }
  .as-card-header { flex-direction:row; align-items:center; flex-wrap:wrap; gap:8px; }
  .as-card-title { font-size:13px; }
  .as-bottom-nav { min-height:62px; padding:0 5px max(4px,env(safe-area-inset-bottom)); }
  .as-bottom-nav-inner { min-height:55px; padding:3px 0; gap:1px; }
  .as-bottom-item { flex:1; min-width:0; min-height:48px; padding:4px 2px; gap:2px; font-size:9px; }
  .as-bottom-icon { display:grid; width:27px; height:26px; place-items:center; border-radius:9px; background:#f0f4fc; }
  .as-bottom-icon svg { width:17px; height:17px; }
  .as-bottom-item.as-active .as-bottom-icon { color:#2864e8; background:#eaf1ff; box-shadow:none; }
  .as-modal-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 22px); overflow-y:auto; border-radius:17px; }
  .as-modal-close { min-width:40px; min-height:40px; }
  .as-att-quick { margin:10px 0; padding:12px; }
  .as-att-quick-grid { grid-template-columns:minmax(0,1fr); gap:9px; }
  .as-att-quick-grid button { grid-column:auto; }
  .ep-calendar-toolbar { align-items:stretch; gap:11px; }
  .ep-calendar-filters { display:grid; grid-template-columns:1fr; }
  .ep-calendar-filters .as-input,.ep-calendar-filters .as-select { width:100%; }
  .ep-calendar-grid { gap:3px; }
  .ep-day { min-height:58px; padding:7px 5px; border-radius:9px; }
  .ep-profile-summary { align-items:flex-start; flex-wrap:wrap; gap:12px; }
  .ep-work-details { width:100%; margin:0; flex-wrap:wrap; gap:13px; }
}
@media (max-width:380px) {
  .as-page-title { max-width:34vw; font-size:14px; }
  .ws-metric { padding:10px; }
  .ws-metric strong { font-size:22px; }
  .ws-status-grid { grid-template-columns:1fr; }
  .as-bottom-item { font-size:8px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  #asContentArea > *, .ws-metric,.as-stats-grid>.as-stat-card { animation:none !important; }
  .as-sidebar,.as-nav-item,.as-btn,.as-input,.as-select,.as-textarea { transition:none !important; }
  .as-nav-item:hover,.ws-metric:hover { transform:none; }
}

/* Clear role selection on the branded sign-in screen. */
.as-login-mode{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin:0 0 22px;border:1px solid var(--as-border);border-radius:14px;background:#f6f8f5}
.as-login-mode-btn{min-height:42px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--as-text-muted);font-weight:700;font-size:13px;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.as-login-mode-btn:hover{color:var(--as-primary)}
.as-login-mode-btn.is-selected{background:#fff;color:var(--as-primary);border-color:#e4eae3;box-shadow:0 2px 8px #17251b0d}
.as-login-mode-btn:focus-visible{outline:3px solid #8bbda2;outline-offset:2px}
@media (max-width:380px){.as-login-mode{margin-bottom:18px}.as-login-mode-btn{font-size:12px}}

/* Storage manager and branded welcome-message editor. */
.ws-storage-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 18px}
.ws-storage-stats article{display:grid;grid-template-columns:44px 1fr;align-items:center;column-gap:12px;padding:17px;border:1px solid var(--as-border);border-radius:17px;background:linear-gradient(145deg,#fff,#f8fbf8);box-shadow:0 5px 18px #183c2810}
.ws-storage-stats article>span{grid-row:1/4;display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:#edf5ef;color:#438664}
.ws-storage-stats small,.ws-storage-stats em{color:var(--as-text-muted);font-size:11px;font-style:normal}.ws-storage-stats strong{font-size:20px;color:var(--as-text-main)}
.ws-storage-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.8fr);gap:16px;align-items:start}.ws-storage-mail{padding:22px}.ws-storage-mail h2{margin:5px 0 0}.ws-storage-mail>p{line-height:1.65}
.ws-storage-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-top:18px}.ws-storage-form-grid .ws-field{min-width:0}.ws-storage-form-grid .as-input,.ws-storage-form-grid .as-select{width:100%}
.ws-storage-side{display:grid;gap:12px}.ws-storage-side .as-card{padding:17px}.ws-storage-side .ws-content-card h3{margin:12px 0 6px}.ws-storage-side .ws-content-card p{font-size:12px;line-height:1.55}
.ws-retention-note,.ep-retention-banner{display:flex;align-items:flex-start;gap:13px;margin-top:15px;padding:16px 18px;border:1px solid #d8eadc;border-radius:15px;background:#f1f8f2;color:#345f43}.ws-retention-note>span{flex:none}.ws-retention-note p,.ep-retention-banner span{display:block;margin:4px 0 0;color:#64776a;font-size:12px;line-height:1.6}
.ws-mail-events{display:grid;gap:4px;margin-top:17px;padding:13px 15px;border-radius:13px;background:#f5f8f6;font-size:12px}.ws-mail-events span{color:var(--as-text-muted);line-height:1.5}.ws-tag-ready{background:#e8f6ed;color:#26744b}
.ws-welcome-editor{margin-bottom:16px;padding:22px}.ws-welcome-editor>p{line-height:1.55}.ws-welcome-editor .ws-field{margin:12px 0}.ws-welcome-options{display:grid;gap:10px;margin:13px 0;color:var(--as-text-main);font-size:13px}.ws-welcome-options label{display:flex;align-items:flex-start;gap:9px}.ws-welcome-options input{accent-color:#3d8e61;margin-top:2px}
@media(max-width:850px){.ws-storage-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-storage-layout{grid-template-columns:1fr}.ws-storage-side{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-storage-side>:last-child{grid-column:1/-1}}
@media(max-width:560px){.ws-storage-stats{gap:8px}.ws-storage-stats article{grid-template-columns:35px 1fr;padding:11px;column-gap:8px;border-radius:13px}.ws-storage-stats article>span{width:34px;height:34px}.ws-storage-stats small,.ws-storage-stats em{font-size:9px}.ws-storage-stats strong{font-size:17px}.ws-storage-form-grid,.ws-storage-side{grid-template-columns:1fr}.ws-storage-side>:last-child{grid-column:auto}.ws-storage-mail,.ws-welcome-editor{padding:15px}.ws-storage-mail .ws-form-actions{align-items:stretch}.ws-storage-mail .ws-form-actions .as-btn{width:100%}.ws-retention-note,.ep-retention-banner{padding:13px;border-radius:12px}}
