/* CLOUDY: sky blue, cloud white and the mascot's sunny yellow. */
:root { --sun: #ffe56b; --sky: #dff2fd; --shadow: 0 5px 24px rgba(34, 88, 123, .045); }
html { background: var(--bg); color-scheme: light; }
body { background: radial-gradient(ellipse at 100% 0, #e2f3fc 0, transparent 48%), var(--bg); }
::selection { background: #c3e8ff; color: #16324a; }
:focus-visible { outline: 3px solid #2c8cc9; outline-offset: 3px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: white; padding: 12px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.shell { grid-template-columns: var(--side) minmax(0, 1fr); }
.side { padding: 26px 18px 18px; gap: 22px; overflow-y: auto; scrollbar-width: thin; }
.brand-row { display: flex; align-items: center; justify-content: space-between; }
.brand { flex-direction: row; align-items: center; gap: 10px; padding: 0 5px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-avatar { border-radius: 50%; object-fit: cover; }
.brand-mark { display: block; font-size: 22px; font-weight: 850; letter-spacing: -.7px; color: #123d5c; line-height: 1.1; }
.brand-sub { display: block; font-size: 10px; font-weight: 750; color: #397596; letter-spacing: .28em; margin-top: 5px; }
.search-side { position: relative; align-items: center; }
.search-side .icon { position: absolute; left: 12px; width: 16px; color: var(--muted); pointer-events: none; }
.search-side input { padding: 12px 10px 12px 37px; background: #f5f9fc; font: 12px var(--font); min-width: 0; border-radius: 12px; }
.side nav { gap: 5px; }
.nav-label { color: #6b8294; font-size: 10px; letter-spacing: .075em; font-weight: 650; text-transform: uppercase; padding: 0 12px 8px; }
.nav-label:not(:first-child) { margin-top: 21px; }
.nav-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.side nav a { padding: 12px; color: #4c677e; font-size: 13px; border-radius: 12px; font-weight: 550; }
.side nav a:hover { background: #f0f7fc; color: #075c92; }
.side nav a.active { color: #086aa5; background: #e4f3fe; box-shadow: inset 3px 0 #1488c8; font-weight: 700; }
.badge { padding: 2px 6px; border-radius: 6px; font: 11px var(--font); background: #f0f5f8; color: #5b7488; }
.side nav a.active .badge { background: #fff; color: #086aa5; opacity: 1; }
.nav-note { color: var(--bad); font-size: 11px; padding: 4px 12px; }
.product-link { margin-top: auto; background: linear-gradient(125deg, #eaf7ff, #f6fbff); border: 1px solid #cce6f7; border-radius: 14px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #216d99; }
.product-link:hover { text-decoration: none; border-color: #77b8df; }
.product-link strong { display: block; font-size: 12px; letter-spacing: .04em; }
.product-link small { display: block; margin-top: 3px; font-size: 11px; color: #5e7c92; }
.product-link .icon { width: 16px; height: 16px; }
.side-foot { flex-direction: row; align-items: center; gap: 10px; margin-top: 0; padding: 18px 4px 0; border-top: 1px solid var(--line); }
.admin-avatar { width: 34px; height: 34px; border-radius: 11px; background: #fff5cd; display: grid; place-items: center; color: #8d6c11; flex-shrink: 0; }
.admin-avatar .icon { width: 17px; height: 17px; }
.admin-name { min-width: 0; flex: 1; }
.admin-name strong { display: block; font-size: 12px; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
.admin-name small { display: block; font-size: 10px; margin-top: 3px; }
.logout-button, .menu-close { display: inline-flex; align-items: center; justify-content: center; border: 0; color: var(--muted); background: transparent; padding: 8px; cursor: pointer; border-radius: 8px; }
.logout-button:hover, .menu-close:hover { background: var(--sky); color: #086aa5; }
.menu-close { display: none; }
.main { width: 100%; max-width: 1600px; min-width: 0; padding: 0 36px 28px; }
.workspace-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; margin-bottom: 20px; border-bottom: 1px solid var(--line); color: #647e92; font-size: 11px; }
.workspace-bar > span:first-child { font-weight: 600; }
.workspace-divider { padding: 0 12px; color: #a5becf; }
.workspace-private { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.workspace-private .icon { width: 14px; height: 14px; flex-basis: 14px; }
.cloudy-hero { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 34px; border-radius: 24px; background: linear-gradient(115deg, #d9f0ff, #e6f7ff 60%, #c5eafd); border: 1px solid #c9e6f7; margin-bottom: 30px; overflow: hidden; }
.cloudy-hero::after { content: ''; position: absolute; z-index: -1; width: 310px; height: 150px; border-radius: 50%; background: #ffffff80; right: -40px; bottom: -85px; box-shadow: -90px 10px 0 10px #ffffff60, 40px -75px 0 -10px #ffffff40; }
.eyebrow { display: block; font-size: 10px; font-weight: 750; letter-spacing: .14em; color: #407c9e; margin-bottom: 9px; text-transform: uppercase; }
.cloudy-hero h1 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.055em; font-weight: 850; color: #113f5d; }
.cloudy-hero p { color: #4d758e; font-size: 13px; max-width: 360px; margin: 12px 0 20px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 16px; border-radius: 11px; background: var(--sun); color: #4e4207; font-size: 12px; font-weight: 750; box-shadow: 0 3px 0 #e0c45c; }
.hero-button:hover { background: #ffdb3d; text-decoration: none; }
.hero-link { font-size: 12px; font-weight: 600; }
.hero-art { width: 166px; height: 166px; flex-shrink: 0; border: 8px solid #ffffff9e; border-radius: 50%; box-shadow: 0 10px 30px #5aabcf20; transform: rotate(5deg); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.top { margin-bottom: 20px; gap: 12px; }
h1 { font-size: 27px; color: #173d58; font-weight: 750; letter-spacing: -.045em; }
.top .hint { font-size: 12px; margin-top: 7px; }
.section-heading { font-size: 21px; font-weight: 750; letter-spacing: -.035em; margin: 0; }
.pills { gap: 3px; padding: 4px; border: 1px solid var(--line); background: #fff; border-radius: 12px; }
.pills a { border: 0; border-radius: 8px; background: transparent; padding: 7px 10px; font-size: 11px; color: #557186; }
.pills a.active { background: #e6f3fd; color: #086aa5; font-weight: 700; }
.pills a:hover { background: #f1f7fc; }
.kpis, .meta { gap: 14px; margin-bottom: 16px; }
.kpi { padding: 20px; border-radius: 17px; box-shadow: var(--shadow); min-width: 0; }
.kpi::before { display: none; }
.kpi .label { text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 550; line-height: 1.55; }
.kpi .value { font-size: 28px; font-weight: 750; margin-top: 9px; color: #173d58; overflow-wrap: anywhere; }
.kpi .value-sm { font-size: 18px; }
.kpi .sub { font-size: 11px; }
.kpis-primary .kpi:first-child { background: #e5f4ff; border-color: #c5e3f7; }
.kpis-primary .kpi:nth-child(2) { background: #fff9e3; border-color: #eee3b4; }
.kpis-secondary { margin-bottom: 28px; }
.kpis-secondary .kpi { background: #ffffff8c; padding: 16px 20px; }
.kpis-secondary .value { font-size: 21px; }
.metric-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #eaf5fc; color: #3283b5; margin-bottom: 12px; }
.kpis-primary .kpi:nth-child(2) .metric-icon { color: #967212; background: #ffefb0; }
.metric-icon .icon { width: 17px; height: 17px; }
.card, .review, .desk, .limit-card { border-radius: 17px; box-shadow: var(--shadow); }
.card h2, .card-head { padding: 17px 20px; font-size: 13px; font-weight: 650; letter-spacing: -.01em; text-transform: none; color: #34556f; gap: 10px; flex-wrap: wrap; }
.card h2 a { color: #34556f; }
.card-head-note { font-size: 11px; }
th { background: #f7fafc; font-size: 10px; text-transform: none; letter-spacing: .01em; font-weight: 650; }
td { font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
.st { padding: 4px 9px; font-size: 11px; font-weight: 550; }
.empty { padding: 34px 22px; font-size: 13px; text-align: center; color: #71899a; }
.empty .icon { display: block; margin: 0 auto 10px; width: 28px; height: 28px; color: #a4c3d8; }
.empty strong { display: block; color: #4e6c83; font-weight: 600; margin-bottom: 5px; }
.empty small { display: block; font-size: 11px; }
.search input, .filters input { min-width: 0; }
.btn-solid, .search button { font-weight: 650; transition: background .15s; }
.btn-solid:hover, .search button:hover { filter: brightness(.95); text-decoration: none; }
.btn-ghost { border: 1px solid var(--line); background: white; color: var(--link); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.flag, .flag-ban { font-weight: 600; letter-spacing: .02em; }
.facts dd { overflow-wrap: anywhere; }
.proof-media { background: #102d41; }
.workspace-footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #7c94a7; font-size: 10px; padding-top: 20px; margin-top: 22px; border-top: 1px solid var(--line); }
.workspace-footer span:first-child { font-weight: 750; letter-spacing: .08em; }
/* Sign in: the same brand, with a quiet, dedicated form. */
.login-body { background: radial-gradient(ellipse at 20% 0%, #d9f1ff, transparent 60%), #f2f8fc; padding: 32px; }
.login-layout { display: grid; grid-template-columns: 1.05fr 1fr; width: min(100%, 920px); background: #fff; border: 1px solid #daeaf5; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 90px #2759790c; }
.login-story { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px; background: linear-gradient(155deg, #d5efff, #edf9ff); position: relative; overflow: hidden; }
.login-story .brand { padding: 0; }
.login-mascot { display: block; width: 150px; height: 150px; border-radius: 50%; border: 7px solid #ffffffb0; margin: 0 0 26px; box-shadow: 0 16px 40px #448fbc12; }
.login-story h2 { font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.05em; margin: 0 0 14px; color: #123f5d; }
.login-story p { font-size: 13px; color: #4e7791; line-height: 1.7; margin: 0; max-width: 285px; }
.login-story > a { font-size: 12px; display: flex; gap: 9px; align-items: center; }
.login-card { max-width: none; border: 0; padding: 50px 42px; border-radius: 0; justify-content: center; gap: 18px; }
.login-lock { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fff5cc; color: #8b711b; margin-bottom: 3px; }
.login-card h1 { font-size: 26px; }
.login-card .hint { font-size: 12px; line-height: 1.7; margin: 8px 0 6px; }
.login-card label { color: #3d607b; font-weight: 600; font-size: 12px; gap: 8px; }
.login-card input { background: #f7fafc; padding: 13px 14px; font-size: 15px; border-radius: 11px; }
.login-card .btn-solid { justify-content: center; padding: 14px; display: flex; gap: 12px; align-items: center; margin-top: 2px; }
.login-footnote { text-align: center; font-size: 11px; color: #7a91a3; margin: 0; }
@media (min-width: 1101px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1150px) { .main { padding-left: 24px; padding-right: 24px; } .hero-art { width: 140px; height: 140px; } .cloudy-hero { padding: 26px; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .main { padding: 0 18px 28px; }
  .mobile-bar { background: #fffffff2; backdrop-filter: blur(12px); padding: 10px 16px; }
  .mobile-brand { display: flex; align-items: center; gap: 9px; color: #123d5c; font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
  .mobile-brand img { border-radius: 50%; }
  .mobile-brand b { font-size: 10px; color: #6091ad; font-weight: 650; letter-spacing: .08em; margin-left: 2px; }
  .menu-toggle { border: 0; background: #edf6fc; width: 36px; height: 36px; }
  .side { gap: 18px; padding-top: 20px; width: min(90vw, 294px); }
  .menu-close { display: inline-flex; }
  body.nav-open { overflow: hidden; }
  .side-backdrop { background: #173e5a55; backdrop-filter: blur(3px); }
  .workspace-bar { min-height: 52px; margin-bottom: 18px; font-size: 10px; }
  .workspace-private { display: none; }
  .workspace-divider { padding: 0 6px; }
  .kpis, .meta { gap: 10px; }
  .kpi { padding: 16px; }
  .kpi .value { font-size: 24px; }
  .kpis-secondary .value { font-size: 19px; }
  .pills a { min-height: 36px; }
  .grid-2 { gap: 0; }
  .login-layout { max-width: 700px; }
  .login-story { padding: 28px; }
  .login-card { padding: 32px 28px; }
  .login-story h2 { font-size: 26px; }
}
@media (max-width: 600px) {
  .cloudy-hero { gap: 8px; padding: 24px; border-radius: 20px; margin-bottom: 24px; }
  .hero-art { position: absolute; width: 74px; height: 74px; right: 18px; top: 18px; border-width: 4px; opacity: .95; }
  .cloudy-hero h1 { max-width: 180px; font-size: 30px; }
  .cloudy-hero .eyebrow { max-width: 160px; font-size: 8px; }
  .cloudy-hero p { max-width: 260px; font-size: 12px; margin-top: 22px; }
  .kpis, .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 14px; }
  .kpi .value { font-size: 23px; }
  .kpi .label { font-size: 10px; }
  .kpis-secondary .kpi { padding: 14px; }
  .kpis-secondary .value { font-size: 18px; }
  .section-heading { font-size: 20px; }
  .top .pills { width: 100%; }
  .top .pills a { flex: 1; justify-content: center; padding-left: 6px; padding-right: 6px; }
  .login-body { padding: 18px; }
  .login-layout { display: block; border-radius: 22px; max-width: 420px; }
  .login-story { padding: 24px; gap: 20px; }
  .login-story .login-mascot, .login-story h2, .login-story p { display: none; }
  .login-story > div:empty { display: none; }
  .login-story > a { font-size: 11px; }
  .login-card { padding: 28px 24px; }
  .login-card input { font-size: 16px; }
}
@media (max-width: 360px) {
  .main { padding-left: 12px; padding-right: 12px; }
  .cloudy-hero { padding: 20px; }
  .hero-art { width: 58px; height: 58px; right: 12px; }
  .cloudy-hero h1 { font-size: 25px; max-width: 150px; }
  .kpi .value { font-size: 20px; }
  .kpis-secondary .value { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
