#workspace-shell,
.ws-dialog {
  --ws-bg: #102332;
  --ws-sidebar: #102332;
  --ws-card: #1c3545;
  --ws-card-hover: #234153;
  --ws-top: #142a39;
  --ws-gold: #d7bb78;
  --ws-text: #fff;
  --ws-dim: #b4c6cf;
  --ws-green: #148276;
  --ws-line: #36505e;
  --ws-icon-bg: #d7bb7812;
  --ws-shadow: #09182454;
  color-scheme: dark;
  color: var(--ws-text);
}
#workspace-shell[data-theme="light"],
.ws-dialog[data-theme="light"] {
  --ws-bg: #edf3f6;
  --ws-sidebar: #f6f9fa;
  --ws-card: #fff;
  --ws-card-hover: #f3f7f8;
  --ws-top: #fff;
  --ws-gold: #755818;
  --ws-text: #102332;
  --ws-dim: #48606d;
  --ws-line: #c9d8df;
  --ws-icon-bg: #82652a12;
  --ws-shadow: #1c3b4716;
  color-scheme: light;
}
#workspace-shell {
  --ws-sidebar-width: 233px;
  display: grid;
  grid-template-columns: var(--ws-sidebar-width) minmax(0, 1fr);
  flex: 1 1 0;
  min-height: 0;
  background: var(--ws-bg);
  font: 16px/1.45 Inter, "Segoe UI", system-ui, sans-serif;
}
#workspace-shell.ws-collapsed { --ws-sidebar-width: 72px; }
#ws-sidebar {
  display: flex;
  flex-direction: column;
  padding: 19px 13px 16px;
  border-right: 1px solid var(--ws-line);
  background: var(--ws-sidebar);
  min-height: 0;
  z-index: 5;
}
.ws-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 4px 4px 24px;
  color: var(--ws-text);
  text-decoration: none;
}
.ws-mark {
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  align-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border: 1px solid var(--ws-gold);
  border-radius: 10px;
  background: #d7bb7812;
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -.07em;
  color: var(--ws-gold);
}
.ws-mark > span { font-weight: 610; }
.ws-brand-text { font-weight: 780; letter-spacing: .07em; line-height: 1.03; font-size: 1.13rem; }
.ws-brand-text > span { display: block; color: var(--ws-gold); margin-top: 5px; font-size: .69rem; letter-spacing: .157em; }
.ws-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#ws-links { display: grid; gap: 4px; align-content: start; overflow: auto; scrollbar-width: thin; padding: 4px 1px 8px; }
.ws-side-link {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 41px;
  gap: 11px;
  padding: 8px 10px;
  color: var(--ws-dim);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 590;
  border: 1px solid transparent;
  border-radius: 7px;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.ws-side-link .ws-icon { width: 18px; height: 18px; color: var(--ws-gold); }
.ws-side-link:hover { background: var(--ws-card); color: var(--ws-text); }
.ws-side-link[aria-current="page"] {
  background: var(--ws-card);
  border-color: var(--ws-line);
  color: var(--ws-text);
  box-shadow: inset 2px 0 var(--ws-gold);
}
.ws-side-link.ws-space-before { margin-top: 8px; }
.ws-side-footer { margin: auto 4px 0; padding: 16px 3px 0; display: flex; gap: 9px; align-items: center; font-size: .76rem; border-top: 1px solid var(--ws-line); color: var(--ws-dim); }
.ws-side-footer .ws-icon { color: var(--ws-gold); width: 17px; height: 17px; }
.ws-collapsed :is(.ws-side-label,.ws-brand-text,.ws-side-footer > span) { display: none; }
.ws-collapsed .ws-side-link { justify-content: center; padding-inline: 0; }
.ws-collapsed .ws-side-footer { justify-content: center; }
.ws-collapsed .ws-brand { margin-inline: 0; justify-content: center; }
.ws-workarea { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.ws-topbar {
  position: relative;
  display: flex;
  min-height: 65px;
  gap: 12px;
  align-items: center;
  padding: 8px clamp(14px, 2.5vw, 36px);
  background: var(--ws-top);
  border-bottom: 1px solid var(--ws-line);
  z-index: 3;
}
.ws-current { font-weight: 690; font-size: .98rem; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#workspace-shell #navigation { margin-left: auto; width: auto; gap: 9px; align-items: center; flex-wrap: nowrap; flex: 0 0 auto; }
.ws-icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  padding: 0;
  border: 1px solid var(--ws-line);
  border-radius: 8px;
  color: var(--ws-dim);
  background: transparent;
  text-decoration: none;
  transition: color .18s, border-color .18s, background .18s;
}
.ws-icon-button:hover { background: var(--ws-card); color: var(--ws-gold); }
.ws-search-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  min-width: clamp(172px, 17vw, 243px);
  border: 1px solid var(--ws-line);
  border-radius: 8px;
  color: var(--ws-dim);
  background: var(--ws-bg);
  font: inherit;
  font-size: .85rem;
}
.ws-search-button .ws-icon { width: 17px; height: 17px; color: var(--ws-gold); }
.ws-search-button kbd { margin-left: auto; font: inherit; font-size: .67rem; padding: 1px 4px; border: 1px solid var(--ws-line); border-radius: 4px; white-space: nowrap; }
.ws-return { white-space: nowrap; border: 1px solid var(--ws-line); border-radius: 8px; color: var(--ws-gold); background: transparent; font-size: .82rem; }
.ws-return:hover { background: var(--ws-card); }
.ws-count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 21px;
  min-height: 20px;
  padding: 0 5px;
  border-radius: 8px;
  font-size: .71rem;
  font-weight: 760;
  background: var(--ws-green);
  color: #fff;
}
.ws-notify .ws-count { position: absolute; top: -6px; right: -6px; box-shadow: 0 0 0 2px var(--ws-top); }
#ws-profile { position: relative; }
#ws-profile summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 3px 2px 3px 5px;
  color: var(--ws-text);
  cursor: pointer;
  list-style: none;
  font-size: .82rem;
  font-weight: 680;
}
#ws-profile summary::-webkit-details-marker { display: none; }
#ws-profile summary .ws-icon { width: 15px; height: 15px; color: var(--ws-dim); }
.ws-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 100%;
  color: var(--ws-gold);
  background: var(--ws-icon-bg);
  border: 1px solid var(--ws-line);
  font-size: .73rem;
  font-weight: 780;
  letter-spacing: .02em;
}
#ws-profile-avatar { background: #d7bb78; color: #172b38; border: 0; }
#ws-profile-name { max-width: 137px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-profile-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  width: min(290px, calc(100vw - 20px));
  display: grid;
  padding: 16px;
  gap: 7px;
  background: var(--ws-card);
  border: 1px solid var(--ws-line);
  border-radius: 11px;
  box-shadow: 0 12px 30px var(--ws-shadow);
}
.ws-profile-pop #identity { font-size: .9rem; }
.ws-profile-pop #sync { color: var(--ws-dim); font-size: .76rem; margin-bottom: 6px; }
.ws-profile-pop button { text-align: left; color: var(--ws-text); background: var(--ws-top); border: 1px solid var(--ws-line); }
#ws-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: 1; overflow: hidden; }
#ws-home,#ws-module { flex: 1; min-width: 0; overflow: auto; overscroll-behavior: contain; padding: 28px clamp(17px, 3vw, 42px) 24px; scrollbar-width: thin; }
.ws-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(175px, 18vw, 224px);
  isolation: isolate;
  color: #fff;
  border-radius: 13px;
  border: 1px solid #466374;
  overflow: hidden;
  background: #193344;
}
.ws-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #172e3f 18%, #172e3fee 42%, #172e3f70 75%, #10233244),
    url("images/mobilite-cameroun.webp") right 61% / 70% auto no-repeat;
}
.ws-hero-inner { padding: 22px clamp(20px, 4vw, 52px); }
.ws-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 9px 0 3px;
  line-height: .99;
  font-weight: 790;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.ws-hero h1 span { color: #d7bb78; }
.ws-hero p { margin: 12px 0 0; font-size: clamp(.9rem, 1.4vw, 1.05rem); color: #d1dee4; }
.ws-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  color: #d1f5eb;
  border-radius: 999px;
  border: 1px solid #42766d;
  background: #123432cc;
  padding: 4px 10px;
  font-weight: 650;
  font-size: .77rem;
}
.ws-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #8097a0; }
.ws-dot.is-online { background: #2cb3a1; box-shadow: 0 0 0 3px #14827633; }
.ws-home-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(224px, 285px); gap: 23px; margin-top: 29px; }
.ws-section-heading { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin-bottom: 10px; }
.ws-section-heading h2,.ws-widget h2 { font-size: 1.14rem; line-height: 1.15; letter-spacing: -.018em; }
.ws-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ws-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 85px;
  padding: 14px;
  color: var(--ws-text);
  text-decoration: none;
  background: var(--ws-card);
  border: 1px solid var(--ws-line);
  border-radius: 10px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.ws-card:hover { transform: translateY(-2px); border-color: var(--ws-gold); background: var(--ws-card-hover); }
.ws-card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ws-gold);
  border: 1px solid #d7bb783b;
  background: var(--ws-icon-bg);
  border-radius: 9px;
}
.ws-card-icon .ws-icon { width: 23px; height: 23px; }
.ws-card h3 { margin: 0 0 3px; color: var(--ws-gold); font-size: 1rem; line-height: 1.18; }
.ws-card p { margin: 0; color: var(--ws-dim); font-size: .8rem; line-height: 1.25; }
.ws-card-end { display: inline-flex; align-items: center; gap: 5px; }
.ws-card-end .ws-icon { width: 15px; height: 15px; color: var(--ws-dim); }
.ws-home-rail { display: flex; flex-direction: column; gap: 15px; padding-top: 42px; }
.ws-widget { border: 1px solid var(--ws-line); border-radius: 10px; background: var(--ws-card); padding: 15px; min-width: 0; }
.ws-widget-head { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding-bottom: 10px; }
.ws-widget-head .ws-icon-button { width: 32px; height: 32px; flex: 0 0 32px; }
.ws-widget-head .ws-icon-button .ws-icon { width: 17px; height: 17px; }
.ws-widget-head p { margin: 4px 0 0; font-size: .76rem; color: var(--ws-dim); }
.ws-widget ul,.ws-dialog-list,.ws-team-list,.ws-data-list,.ws-order { list-style: none; padding: 0; margin: 0; }
.ws-person {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 0;
  border-top: 1px solid var(--ws-line);
}
.ws-person .ws-avatar { width: 33px; height: 33px; flex-basis: 33px; }
.ws-person-copy { flex: 1 1 auto; min-width: 0; }
.ws-person strong { display: block; font-size: .83rem; }
.ws-person small { display: block; font-size: .74rem; color: var(--ws-dim); line-height: 1.27; overflow-wrap: anywhere; }
.ws-data-list .ws-person { flex-wrap: wrap; }
.ws-data-list .ws-person .ws-person-copy { min-width: 155px; }
.ws-person .ws-dot { margin-right: 3px; }
.ws-activity-link { display: block; text-decoration: none; color: var(--ws-text); border-top: 1px solid var(--ws-line); padding: 9px 0; overflow-wrap: anywhere; font-size: .84rem; }
.ws-activity-link:hover,.ws-module-link:hover { color: var(--ws-gold); }
.ws-activity-link small,.ws-empty { display: block; color: var(--ws-dim); font-size: .8rem; }
.ws-credit { margin-top: 25px; padding: 14px 0 1px; border-top: 1px solid var(--ws-line); }
.ws-credit p { margin: 1px 0; color: var(--ws-dim); font-size: .8rem; }
.ws-credit strong { display: block; font-size: .92rem; color: var(--ws-gold); }
.ws-module-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 15px; flex-wrap: wrap; margin-bottom: 25px; }
.ws-module-head h1 { font-size: clamp(1.8rem,4vw,2.65rem); line-height: 1.08; letter-spacing: -.045em; color: var(--ws-gold); }
.ws-module-head p { margin: 7px 0 0; color: var(--ws-dim); }
.ws-actions { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.ws-action,.ws-dialog button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid var(--ws-line);
  border-radius: 7px;
  padding: 7px 12px;
  color: var(--ws-text);
  background: var(--ws-top);
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  text-decoration: none;
}
.ws-action:hover,.ws-dialog button:hover { border-color: var(--ws-gold); color: var(--ws-gold); }
.ws-action.primary,.ws-dialog [type="submit"] { background: var(--ws-gold); color: var(--ws-bg); border-color: var(--ws-gold); }
.ws-action .ws-icon { width: 17px; height: 17px; }
.ws-module-panel { padding: 16px; margin-bottom: 15px; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: 10px; }
.ws-module-panel h2 { margin: 0 0 9px; font-size: 1.15rem; color: var(--ws-gold); }
.ws-module-panel p { margin: 5px 0 9px; }
.ws-module-panel .ws-empty { margin: 8px 0 4px; }
.ws-tabular { display: grid; gap: 9px; }
.ws-data-li { padding: 9px 0; border-bottom: 1px solid var(--ws-line); overflow-wrap: anywhere; }
.ws-data-li:first-child { padding-top: 3px; }
.ws-data-li:last-child { border-bottom: 0; }
.ws-data-li strong { color: var(--ws-text); }
.ws-data-li p,.ws-data-li small { color: var(--ws-dim); font-size: .84rem; }
.ws-data-li p { margin: 2px 0 5px; white-space: pre-wrap; }
.ws-module-link { color: var(--ws-gold); text-underline-offset: 4px; }
.ws-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,150px),1fr)); gap: 11px; margin-bottom: 16px; }
.ws-metric { display: grid; gap: 4px; padding: 14px; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: 9px; }
.ws-metric strong { color: var(--ws-gold); font-size: 1.3rem; }
.ws-metric span { color: var(--ws-dim); font-size: .82rem; }
.ws-order li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 7px; padding-block: 5px; border-bottom: 1px solid var(--ws-line); }
.ws-order button { min-height: 32px; min-width: 36px; padding: 2px 8px; }
.ws-order button:disabled { cursor: default; }
.ws-dialog { border-color: var(--ws-line); background: var(--ws-card); box-shadow: 0 18px 42px var(--ws-shadow); padding: clamp(16px, 4vw, 23px); }
.ws-dialog h2 { font-size: 1.18rem; color: var(--ws-gold); }
.ws-dialog :is(input,textarea,select) { background: var(--ws-top); border-color: var(--ws-line); color: var(--ws-text); }
.ws-dialog-list { margin-top: 12px; max-height: 46dvh; overflow: auto; }
.ws-dialog-list li { padding: 4px 0; }
.ws-sidebar-scrim { display: none; }
#workspace-shell #meetings { flex: 1; min-height: 0; overflow: auto; }
#workspace-shell[data-theme="dark"] #meetings {
  --meet-light: #102332; --meet-ink: #fff; --meet-line: #36505e; --meet-accent: #d7bb78;
  color-scheme: dark;
}
#workspace-shell[data-theme="dark"] :is(.meet-sidebar,.meet-card,#meet-list button) { background: #1c3545; }
#workspace-shell[data-theme="dark"] :is(#meet-list small,#meet-date) { color: #b4c6cf; }
#workspace-shell[data-theme="dark"] #meet-list button[aria-current="true"] { background: #244c56; border-color: #688c93; }
@media (min-width: 901px) and (max-width: 1150px) {
  .ws-home-columns { grid-template-columns: minmax(0,1fr); }
  .ws-home-rail { padding-top: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  #workspace-shell #group-chat { grid-template-columns: minmax(210px,30%) minmax(0,1fr); }
  #workspace-shell #group-chat.chat-search-open { grid-template-columns: minmax(195px,25%) minmax(0,1fr) minmax(195px,25%); }
}
@media (max-width: 900px) {
  #workspace-shell,#workspace-shell.ws-collapsed { grid-template-columns: minmax(0,1fr); }
  #ws-sidebar { display: none; position: fixed; inset: 0 auto 0 0; width: min(280px,calc(100% - 50px)); }
  #workspace-shell.ws-mobile-open #ws-sidebar { display: flex; }
  #workspace-shell.ws-mobile-open .ws-sidebar-scrim { display: block; position: fixed; inset: 0; background: #071a28a6; border: 0; border-radius: 0; z-index: 4; }
  .ws-collapsed :is(.ws-side-label,.ws-brand-text,.ws-side-footer > span) { display: initial; }
  .ws-collapsed .ws-side-link,.ws-collapsed .ws-side-footer { justify-content: start; padding-inline: 10px; }
  .ws-collapsed .ws-brand { justify-content: start; margin-inline: 4px; }
  .ws-home-columns { margin-top: 20px; gap: 16px; }
}
@media (max-width: 700px) {
  .ws-home-columns { grid-template-columns: 1fr; }
  .ws-home-rail { padding-top: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .ws-search-button { min-width: 39px; width: 39px; padding: 0; justify-content: center; }
  .ws-search-button span,.ws-search-button kbd,#ws-profile-name { display: none; }
  .ws-topbar { padding: 8px 12px; min-height: 57px; gap: 8px; }
  #workspace-shell #navigation { gap: 7px; }
  #ws-home,#ws-module { padding-top: 16px; }
  #ws-profile summary { gap: 4px; }
  .ws-hero::before { background: linear-gradient(90deg,#172e3ff9,#172e3fbb 61%,#10233255),url("images/mobilite-cameroun.webp") right 59% / cover no-repeat; }
}
@media (max-width: 425px) {
  .ws-grid { gap: 8px; }
  .ws-card { min-height: 100px; padding: 10px; grid-template-columns: minmax(0,1fr) auto; gap: 7px; align-content: start; }
  .ws-card-icon { width: 32px; height: 32px; grid-row: 1; grid-column: 1; }
  .ws-card-icon .ws-icon { width: 19px; height: 19px; }
  .ws-card-copy { grid-row: 2; grid-column: span 2; }
  .ws-card-end { grid-row: 1; grid-column: 2; }
  .ws-card h3 { font-size: .94rem; }
  .ws-card p { font-size: .76rem; }
  .ws-home-rail { grid-template-columns: 1fr; }
  .ws-topbar .ws-current:has(+ .ws-return:not([hidden])) { display: none; }
}
@media (max-width: 359px) {
  .ws-topbar .ws-current { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #workspace-shell *, .ws-dialog * { transition: none !important; }
}
