/* SAHP Operations Register — layout layer */
:root{
  --bg:#090c0a;
  --rail:#101510;
  --panel:#141a15;
  --line:#343d34;
  --white:#eef0e8;
  --muted:#a4ada4;
  --blue:#c74f18;
  --gold:#c74f18;
  --on-accent:#fff7f1;
  --green:#78ad73;
  --red:#cb665c;
  --ink:#0a0d0a;
}

html{scroll-behavior:auto}
body{
  background:
    linear-gradient(90deg,transparent 0 49px,#202720 50px,transparent 51px),
    #090c0a;
  color:var(--white);
}
body::before{
  content:"SAHP  /  INTERNAL OPERATIONS REGISTER";
  position:fixed;
  z-index:-1;
  right:-2px;
  bottom:92px;
  color:#ffffff06;
  font:800 72px/1 var(--display);
  letter-spacing:.08em;
  transform:rotate(-90deg) translateX(100%);
  transform-origin:right bottom;
  pointer-events:none;
}
button,input,select,textarea{border-radius:0!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.eyebrow,.module-code{font-family:"Courier New",monospace}

/* shell */
.app{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:88px 14px 56px 1fr;
  background:linear-gradient(180deg,#090c0a 88px,#242b24 88px,#111611 102px);
}
.topbar{
  position:sticky;
  top:0;
  z-index:30;
  grid-column:1;
  display:grid;
  grid-template-columns:minmax(270px,360px) minmax(180px,1fr) 62px 62px auto auto auto;
  align-items:stretch;
  border:0;
  border-bottom:1px solid #3a4339;
  background:#0b0f0cfa;
  backdrop-filter:blur(18px);
}
.app-brand{
  height:88px;
  padding:0 28px 0 50px;
  gap:16px;
  border:0;
  border-right:1px solid var(--line);
  background:var(--gold);
  color:var(--on-accent);
}
.app-brand img{width:46px;height:46px;filter:drop-shadow(0 2px 0 #0003)}
.app-brand b{font-size:23px;letter-spacing:.08em}
.app-brand small{margin-top:2px;color:#ffe0ce;font-family:"Courier New",monospace;font-size:8px;letter-spacing:.08em}
.system-state{padding:0 28px;gap:11px;color:#b7beb5;font-family:"Courier New",monospace;font-size:9px}
.system-state::before{content:"OPS/01";margin-right:14px;color:var(--gold);font-weight:900}
.system-state i{width:6px;height:6px;border-radius:0;box-shadow:none}
.system-state small{color:#626b63}
.topbar-icon,.discord-sync-top,.user-chip,.logout{height:87px;align-self:stretch;border:0;border-left:1px solid var(--line);background:transparent}
.topbar-icon{width:62px;color:var(--gold)}
.topbar-icon svg{width:20px;height:20px}
.topbar-icon:hover,.discord-sync-top:hover,.user-chip:hover,.logout:hover{background:#c74f1817;color:var(--white)}
.notification-bell b{top:18px;right:8px;border-radius:0;background:var(--gold);color:var(--on-accent)}
.discord-sync-top{padding:0 19px;color:#9ca59d;font-family:"Courier New",monospace;font-size:8px}
.user-chip{padding:0 22px}
.user-chip img{width:42px;height:48px;border:1px solid #687268;border-radius:0;filter:grayscale(.25)}
.user-chip b{font-size:13px}
.user-chip small{color:var(--gold);font-family:"Courier New",monospace;font-size:8px}
.logout{padding:0 23px;color:#858d86;font-family:"Courier New",monospace;font-size:8px}

.sidebar{
  position:sticky;
  top:102px;
  z-index:25;
  grid-row:3;
  width:100%;
  height:56px;
  display:grid;
  grid-template-columns:1fr auto;
  border:0;
  border-bottom:1px solid var(--line);
  background:#111611f5;
  backdrop-filter:blur(14px);
}
.sidebar nav{padding:0 0 0 50px;display:flex;gap:0;overflow-x:auto}
.sidebar a{
  min-width:180px;
  min-height:55px;
  padding:0 16px;
  gap:10px;
  border:0;
  border-right:1px solid #2b332b;
  color:#8f978f;
  font-family:"Courier New",monospace;
  font-size:13px;
  line-height:1.35;
  letter-spacing:.025em;
  white-space:nowrap;
}
.sidebar a:first-child{border-left:1px solid #2b332b}
.sidebar a span{color:#8e988e;font:700 13px/1 "Courier New",monospace}
.sidebar a:hover{border-left:0;background:#ffffff05;color:#fff}
.sidebar a.active{border-left:0;background:var(--gold);color:var(--on-accent)}
.sidebar a.active span{color:#ffe0ce}
.sidebar-foot{margin:0;padding:0 24px;display:flex;align-items:center;gap:12px;border:0;border-left:1px solid var(--line)}
.sidebar-foot span{display:none}
.sidebar-foot b{margin:0;color:#7fac78;font-family:"Courier New",monospace;font-size:7px;white-space:nowrap}
.sidebar-foot button{width:auto;margin:0;padding:7px 9px;border:1px solid #424c42;background:transparent;color:#a7b0a7;font-family:"Courier New",monospace;font-size:7px}

.workspace{
  grid-row:4;
  min-width:0;
  padding:52px clamp(24px,4vw,70px) 90px 50px;
  display:grid;
  grid-template-columns:minmax(270px,320px) minmax(0,1400px);
  align-items:start;
  gap:clamp(28px,4vw,66px);
  background:
    linear-gradient(90deg,#c74f180a 1px,transparent 1px) 49px 0/240px 100%,
    radial-gradient(circle at 70% 0,#27312635,transparent 42%);
}
.welcome{
  position:sticky;
  top:176px;
  margin:0;
  padding:7px 34px 28px 24px;
  display:flex;
  align-items:stretch;
  flex-direction:column;
  gap:0;
  border-right:1px solid var(--line);
}
.welcome::before{content:"CURRENT REGISTER";margin-bottom:24px;color:#59635a;font:700 8px "Courier New",monospace;letter-spacing:.15em}
.welcome .eyebrow{color:var(--gold);font-size:8px;line-height:1.6}
.welcome h1{margin:13px 0 18px;font-size:clamp(38px,4vw,58px);line-height:1.08;letter-spacing:-.01em;text-transform:uppercase;overflow:visible}
.welcome>div>p:last-child{max-width:220px;color:#818a82;font-size:10px;line-height:1.7}
.identity-plate{
  min-width:0;
  margin-top:34px;
  padding:14px 0 0;
  border:0;
  border-top:1px solid var(--line);
  background:transparent;
}
.identity-plate span{color:#5b655c;font:700 7px "Courier New",monospace;letter-spacing:.14em}
.identity-plate strong{margin-top:8px;font-size:20px}
.identity-plate small{color:var(--gold);font:700 8px "Courier New",monospace}
.page-content{width:100%;max-width:none;min-width:0}

/* records and modules */
.module,.overview-card,.access-state{
  position:relative;
  border:0;
  border-top:1px solid #667065;
  border-bottom:1px solid #2b332b;
  background:#111611;
  clip-path:none;
  box-shadow:inset 4px 0 #1d241e;
}
.module::before,.overview-card::before{
  content:"";
  position:absolute;
  top:-1px;
  left:0;
  width:72px;
  height:3px;
  background:var(--gold);
}
.module>header{min-height:72px;padding:15px 20px 15px 24px;border-bottom:1px solid #2d352d;background:#0e130f}
.module h2{margin-top:6px;font-size:23px;line-height:1.12;letter-spacing:.015em}
.module-code{color:#6c766d;font-size:7px;letter-spacing:.12em}
.empty{padding:30px 22px;color:#747d75;font:400 10px/1.7 "Courier New",monospace}
.member-warning{border:0;border-left:5px solid var(--gold);background:#24200f}

.overview-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);
  grid-template-rows:auto auto;
  gap:12px;
}
.overview-card{min-height:190px;padding:25px;text-decoration:none;transition:background .16s,color .16s}
.overview-card:hover{border-color:inherit;background:#182019;transform:none}
.overview-card>b{color:var(--gold);font:700 8px "Courier New",monospace}
.overview-card>p{color:#8d958e;font-size:10px}
.duty-summary{grid-row:1/3;min-height:392px;background:#141a15}
.duty-summary .duty-light{margin-top:70px}
.duty-summary>strong{margin-top:22px;font-size:clamp(72px,8vw,118px);font-weight:700;letter-spacing:-.03em}
.identity-summary>div{margin-top:19px}
.identity-summary img{width:54px;height:64px;border:0;border-left:3px solid var(--gold)}
.identity-summary div strong{font-size:21px}
.identity-summary div small{color:var(--gold);font-family:"Courier New",monospace}
.log-summary{min-height:190px}
.log-summary>strong{margin-top:18px;color:var(--white);font-size:64px}

.duty-time{font-size:clamp(64px,8vw,110px);font-weight:700;letter-spacing:-.02em}
.duty-light{font-family:"Courier New",monospace;font-size:8px}
.duty-light i{border-radius:0}
.duty-action,.secondary-action,.primary-action{
  border:1px solid var(--gold);
  background:var(--gold);
  color:var(--on-accent);
  clip-path:none;
  font-family:"Courier New",monospace;
}
.duty-action:hover,.secondary-action:hover,.primary-action:hover{background:#e76827}
.field>span{font-family:"Courier New",monospace;font-size:8px}
.field input,.personnel-toolbar input,.personnel-toolbar select,.module select,.dialog-form select,.dialog-form textarea,.danger-dialog textarea,.editable-row input,.duty-edit-row input{
  border:0;
  border-bottom:1px solid #586258;
  background:#0a0e0b;
  color:var(--white);
}
.field input:focus,.personnel-toolbar input:focus,.personnel-toolbar select:focus{border-color:var(--gold)}
.field input[readonly]{border-bottom-color:#3f483f;background:#151a15;color:#aeb6ae;cursor:not-allowed}
.field input[readonly]:focus{border-bottom-color:#3f483f;outline:0}
.profile-layout{grid-template-columns:132px 1fr;padding:28px}
.profile-photo{border:0;border-left:4px solid var(--gold);clip-path:none;background:#0a0e0b}
.history-row{border-bottom-color:#2b332b}
.history-row strong{font-weight:700}
.permission-list{grid-template-columns:1fr}
.permission-list article{padding:16px 18px;border:0;border-bottom:1px solid #303830;background:transparent}

/* personnel register */
[data-personnel-content]{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:26px}
.personnel-tabs{
  position:sticky;
  top:176px;
  margin:0;
  display:flex;
  flex-direction:column;
  border:0;
  border-top:1px solid #606a60;
  background:#101510;
}
.personnel-tabs button{
  min-height:70px;
  padding:0 18px;
  border:0;
  border-bottom:1px solid #2e362e;
  color:#b2bab1;
  font:700 13px/1.45 "Courier New",monospace;
  letter-spacing:.035em;
  text-align:left;
}
.personnel-tabs button.active{background:var(--gold);color:var(--on-accent);box-shadow:none}
.personnel-tabs button:last-child{border-bottom:1px solid #2e362e}
.personnel-tabs b{min-width:18px;padding:3px 6px;border-radius:0;background:#7e241f;color:#fff;font-size:9px;text-align:center}
.personnel-tab-panel{grid-column:2;grid-row:1;min-width:0;gap:12px}
.personnel-toolbar{padding:12px 0 18px;grid-template-columns:1fr 150px 180px auto;border:0;background:#111611}
.personnel-toolbar button{border:1px solid #626c62;background:transparent;color:#d1d6cf;font-family:"Courier New",monospace}
.member-directory{padding:0;display:grid;grid-template-columns:1fr;gap:0}
.member-directory-card{
  min-height:76px;
  padding:11px 16px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 160px;
  border:0;
  border-bottom:1px solid #2e362e;
  background:#111611;
}
.member-directory-card:hover{border-color:#2e362e;background:#192019}
.member-directory-card img{width:42px;height:48px;border:0;filter:grayscale(.2)}
.member-directory-card strong{font-size:18px}
.member-directory-card>b{align-self:center;color:#a6aea6;font-family:"Courier New",monospace}
.member-directory-card.has-summons{border-color:#2e362e;box-shadow:inset 5px 0 var(--gold)}
.member-summons-badge{left:auto;right:16px;bottom:8px;color:var(--gold);font-family:"Courier New",monospace;text-align:right}
.personnel-dual{gap:12px}
.personnel-duty-row,.personnel-stat-row{min-height:60px;border-bottom-color:#2e362e}
.personnel-duty-row:hover,.personnel-stat-row:hover{background:#1b221b}
.personnel-stat-row b,.monthly-row b,.monthly-member-row em{color:var(--gold)}
.pager{border-top-color:#343d34}
.pager button{border:1px solid #505a50;background:transparent;color:#c0c7bf;font-family:"Courier New",monospace}
.duty-kpis article{background:#111611;border-color:#303830}
.duty-chart-wrap{background:repeating-linear-gradient(to bottom,transparent 0,transparent 62px,#ffffff0b 63px)}
.duty-chart-column i{background:var(--gold);box-shadow:none;clip-path:none}
.duty-chart-column:hover i{background:#eb7737;box-shadow:none}
.duty-period-switch{border-color:#4a544a;background:#0a0e0b}
.duty-period-switch button{border-color:#4a544a;color:#919a91;font-family:"Courier New",monospace}
.duty-period-switch button.active{background:var(--gold);color:var(--on-accent);box-shadow:none}
.monthly-actions input,.monthly-actions button{border:1px solid #4b554b;background:#0a0e0b;color:#c3cac2;font-family:"Courier New",monospace}
.monthly-actions button:hover{border-color:var(--gold);color:var(--gold)}
.monthly-member-section{background:#0e130f}
.monthly-member-table{border-color:#333c33}

/* member dossier opens as a side file */
.modal-layer{place-items:stretch end;padding:0}
.modal-backdrop{background:#040604c9;backdrop-filter:blur(3px)}
.modal-card{
  width:min(820px,calc(100% - 70px));
  max-height:none;
  height:100vh;
  border:0;
  border-left:1px solid #626c62;
  background:#101510;
  box-shadow:-28px 0 80px #000b;
  animation:file-in .18s ease-out;
}
@keyframes file-in{from{transform:translateX(40px);opacity:.4}to{transform:none;opacity:1}}
.modal-card>header{min-height:82px;padding:17px 24px;border-bottom:1px solid var(--line);background:var(--gold);color:var(--on-accent)}
.modal-card>header .module-code{color:#624a0b}
.modal-card h2{font-size:28px}
.modal-card>header>button{border:1px solid #ffe0ce;background:transparent;color:var(--on-accent)}
.modal-body{padding:24px 28px 60px}
.member-detail-identity{padding:0 0 22px;border:0;border-bottom:1px solid var(--line);background:transparent}
.member-detail-identity span{color:var(--gold);font-family:"Courier New",monospace}
.member-detail-identity h3{font-size:34px}
.member-detail-actions button,.danger-action{border:1px solid #4d584d;background:transparent;color:#c4cbc3;font-family:"Courier New",monospace}
.danger-action{border-color:#7b4540!important;background:#261413!important}
.member-card-tabs{position:sticky;top:82px;z-index:1;margin:0 -28px;padding:0 28px;border:0;border-bottom:1px solid var(--line);background:#101510}
.member-card-tabs button{border:0;border-right:1px solid #303830;background:transparent;color:#818a81;font-family:"Courier New",monospace}
.member-card-tabs button.active{background:transparent;color:var(--gold);box-shadow:inset 0 -3px var(--gold)}
.editable-fields,.active-summons-section,.summons-history-section{border-color:#384138;background:#111611}
.callsign-summary{margin-bottom:18px;padding:18px 20px;border-left:5px solid var(--gold);background:#151a15}
.callsign-summary span,.callsign-summary strong,.callsign-summary p{display:block}
.callsign-summary span{color:var(--gold);font:700 12px/1.4 "Courier New",monospace;text-transform:uppercase}
.callsign-summary strong{margin-top:8px;font:800 28px/1.1 var(--display);text-transform:uppercase}
.callsign-summary p{margin:8px 0 0;color:#a9b1a9;font-size:14px}
.callsign-pool{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.callsign-slot{min-height:104px;padding:14px 15px;display:flex;align-items:flex-start;flex-direction:column;border:1px solid #465046;background:#101510;color:#eef0e8;text-align:left}
.callsign-slot strong,.callsign-slot span,.callsign-slot small{display:block}
.callsign-slot strong{font:800 24px/1 var(--display);text-transform:uppercase}
.callsign-slot span{margin-top:10px;font:700 12px/1.3 "Courier New",monospace;text-transform:uppercase}
.callsign-slot small{margin-top:5px;color:#9fa89f;font-size:12px;line-height:1.4}
.callsign-slot.available{border-color:#6b756b;box-shadow:inset 4px 0 var(--gold)}
.callsign-slot.available span{color:var(--gold)}
.callsign-slot.available:hover{background:#202720;border-color:var(--gold)}
.callsign-slot.current{border-color:#5d8b62;background:#172219;box-shadow:inset 4px 0 #6ba471}
.callsign-slot.current span{color:#8bc491}
.callsign-slot.occupied{border-color:#343c34;background:#0c100d;color:#7e877e;opacity:.72;cursor:not-allowed}
.callsign-slot.occupied small{color:#747d74}
.active-summons-section{border-left:4px solid var(--gold)}
.active-summons-section>h3{color:var(--gold)}
.active-summons-row{border-color:#3b453b;background:#0d120e}
.summons-internal-note{background:#201d11!important}
.member-history-entry,.member-note-row,.member-note-form{border-color:#384138;background:#111611}

/* notification drawer and feedback */
.notification-row{border-color:#364036;background:#0d120e}
.notification-row.unread{border-left-color:var(--gold);background:#1d1b10}
.notification-toolbar button,.notification-actions button,.notification-actions a{border-color:#4b554b;background:transparent;color:#bec6bd;font-family:"Courier New",monospace}
.notification-toolbar button.active{background:var(--gold);color:var(--on-accent)}
.toast{right:28px;bottom:28px;border:0;border-left:5px solid var(--gold);background:#171d18;color:#fff;box-shadow:0 16px 50px #000b}

/* readability pass — operational information must remain legible at 100% zoom */
.app-brand small,
.system-state,
.user-chip small,
.sidebar-foot b,
.welcome::before,
.welcome .eyebrow,
.identity-plate span,
.identity-plate small,
.module-code,
.overview-card>b,
.duty-light,
.field>span,
.field>small,
.save-state,
.photo-control small,
.history-row span,
.identity-summary div small,
.access-state dt,
.request-count,
.request-card small,
.request-card>div:first-child>b,
.member-admin-head small,
.member-admin-head>b,
.member-directory-card small,
.member-directory-card em,
.member-directory-card>b,
.pager span,
.personnel-duty-row span,
.personnel-stat-row small,
.personnel-event-row span,
.notification-row small,
.member-detail-identity span,
.editable-row>span,
.duty-edit-row span,
.member-summons-badge,
.active-summons-row span,
.summons-wide-field small,
.summons-history-row b,
.summons-history-row span,
.member-history-entry span,
.member-note-row span,
.notification-actions b,
.monthly-report-module>header p,
.monthly-summary span,
.monthly-row span,
.monthly-row small,
.monthly-member-row small,
.monthly-member-row b,
.duty-overview-module>header p,
.duty-kpis span,
.duty-chart-scale,
.duty-chart-column small{
  font-size:12px;
  font-weight:700;
  line-height:1.5;
  letter-spacing:.04em;
}

.gate-brand small,
.gate-copy footer,
.gate-visual span,
.personnel-tabs b{
  font-size:12px;
  line-height:1.45;
}

.welcome::before,
.identity-plate span,
.module-code,
.field>small,
.photo-control small,
.request-card small,
.member-directory-card small,
.pager span,
.personnel-duty-row span,
.personnel-stat-row small,
.personnel-event-row span,
.notification-row small,
.member-detail-identity p,
.summons-history-row span,
.member-history-entry span,
.member-note-row span,
.monthly-row span,
.monthly-row small,
.monthly-member-row small,
.duty-chart-scale,
.duty-chart-column small{
  color:#9fa89f;
}

.discord-sync-top,
.logout,
.sidebar-foot button,
.photo-control button,
.secondary-action,
.request-actions button,
.summons-banner button,
.personnel-toolbar button,
.pager button,
.member-detail-actions button,
.danger-action,
.editable-row button,
.duty-edit-row button,
.active-summons-row button,
.summons-history-actions button,
.summons-row-actions button,
.member-card-tabs button,
.notification-toolbar button,
.notification-actions button,
.notification-actions a,
.monthly-actions button,
.duty-period-switch button{
  font-size:13px;
  line-height:1.35;
}

.welcome>div>p:last-child,
.overview-card>p,
.duty-module>p,
.module-intro,
.module-notice p,
.permission-list p,
.request-card input,
.personnel-event-row p,
.notification-row p,
.member-detail-identity p,
.active-summons-row p,
.summons-history-row p,
.member-history-entry p,
.member-note-row p,
.monthly-actions input{
  font-size:14px;
  line-height:1.65;
}

.app input,
.app select,
.app textarea,
.gate input,
.gate select,
.gate textarea{
  font-size:14px;
  line-height:1.45;
}

/* login cover */
.gate{grid-template-columns:minmax(390px,540px) 1fr;background:#090c0a}
.gate::after{content:"";grid-column:2;grid-row:1;background:linear-gradient(90deg,#090c0a 0,transparent 65%),linear-gradient(0deg,#090c0a 0,transparent 50%),url('/assets/operations-night.png') center/cover;filter:grayscale(.55) contrast(1.1)}
.gate-copy{z-index:1;grid-column:1;grid-row:1;padding:38px 52px;background:#111611;border-right:1px solid #454f45}
.gate-brand{padding-bottom:24px;border-bottom:1px solid var(--line)}
.gate-brand b{font-size:19px}
.gate-main{padding:50px 0}
.gate-main h1{font-size:clamp(58px,7vw,96px);line-height:1.02}
.gate-main h1 span{-webkit-text-stroke:0;color:var(--gold)}
.gate-visual{z-index:2;grid-column:2;grid-row:1}
.gate-visual>div{border:0;border-left:5px solid var(--gold);background:#0d120ee8}

@media(max-width:1120px){
  .topbar{grid-template-columns:270px 1fr 54px 54px auto auto auto}
  .app-brand{padding-left:24px}
  .workspace{padding-left:24px;grid-template-columns:250px minmax(0,1fr);gap:28px}
  .sidebar nav{padding-left:24px}
  .sidebar a{min-width:180px;padding:0 14px}
  .sidebar-foot{display:none}
  [data-personnel-content]{grid-template-columns:190px minmax(0,1fr)}
  .personnel-toolbar{grid-template-columns:1fr 1fr}
}

@media(max-width:820px){
  .app{display:grid;grid-template-rows:72px 10px 52px 1fr;background:linear-gradient(180deg,#090c0a 72px,#242b24 72px,#111611 82px)}
  .topbar{height:72px;grid-template-columns:82px 1fr 48px 48px auto auto auto}
  .app-brand{height:72px;padding:0;justify-content:center}
  .app-brand img{width:42px;height:42px}
  .app-brand span,.system-state,.discord-sync-top span{display:none}
  .topbar-icon,.discord-sync-top,.user-chip,.logout{height:71px}
  .user-chip{padding:0 12px}
  .user-chip span{display:none}
  .sidebar{top:82px;height:52px;display:block}
  .sidebar nav{height:52px;padding:0;display:flex}
  .sidebar a{min-width:82px;min-height:51px;justify-content:center;padding:0 10px;font-size:0}
  .sidebar a span{font-size:12px}
  .workspace{display:block;padding:30px 18px 70px}
  .welcome{position:static;margin-bottom:28px;padding:0 8px 24px;border-right:0;border-bottom:1px solid var(--line)}
  .welcome::before{margin-bottom:13px}
  .welcome h1{font-size:42px}
  .welcome>div>p:last-child{max-width:none}
  .identity-plate{margin-top:20px}
  [data-personnel-content]{display:block}
  .personnel-tabs{position:static;margin-bottom:14px;display:flex;flex-direction:row;overflow-x:auto}
  .personnel-tabs button{flex:0 0 190px;min-height:56px;padding:0 15px;font-size:12px}
  .personnel-tab-panel{display:grid}
  .overview-grid{grid-template-columns:1fr}
  .duty-summary{grid-row:auto;min-height:310px}
  .duty-summary .duty-light{margin-top:35px}
  .modal-card{width:calc(100% - 18px)}
}

@media(max-width:560px){
  .topbar{grid-template-columns:62px 1fr 42px 42px 54px 48px 48px}
  .discord-sync-top{padding:0 10px}
  .logout{padding:0 9px;font-size:0}
  .logout::before{content:"×";font-size:20px}
  .sidebar a{min-width:58px}
  .workspace{padding-left:12px;padding-right:12px}
  .module>header{align-items:flex-start;flex-direction:column}
  .personnel-toolbar{grid-template-columns:1fr}
  .personnel-dual{grid-template-columns:1fr}
  .member-directory-card{grid-template-columns:42px 1fr}
  .member-directory-card>b{display:none}
  .member-summons-badge{max-width:65%}
  .profile-layout{grid-template-columns:1fr}
  .modal-card{width:100%}
  .modal-body{padding:18px 14px 50px}
  .member-card-tabs{margin:0 -14px;padding:0 14px;display:flex;overflow-x:auto}
  .member-card-tabs button{flex:0 0 105px}
  .member-detail-identity{flex-direction:column}
  .monthly-row,.monthly-member-row{grid-template-columns:1fr auto}
}

/* Light theme corrections for the register layout layer. */
html[data-theme="light"]{
  color-scheme:light;
  --bg:#e8e5dd;
  --rail:#f2efe7;
  --panel:#fffdf8;
  --line:#c9c5ba;
  --white:#182128;
  --muted:#68747b;
  --blue:#b84417;
  --gold:#c74f18;
  --on-accent:#fffaf4;
  --green:#2c8052;
  --red:#a5423b;
  --ink:#182128;
}
html[data-theme="light"] body{background:linear-gradient(90deg,transparent 0 49px,#d5d1c7 50px,transparent 51px),#e8e5dd;color:#182128}
html[data-theme="light"] body::before{color:#18212808}
html[data-theme="light"] .app{background:linear-gradient(180deg,#f7f4ed 88px,#cbc7bc 88px,#e8e5dd 102px)}
html[data-theme="light"] .topbar{border-bottom-color:#bdb8ad;background:#f7f4edfa}
html[data-theme="light"] .system-state{color:#526067}
html[data-theme="light"] .system-state small{color:#7a858a}
html[data-theme="light"] .topbar-icon,html[data-theme="light"] .discord-sync-top,html[data-theme="light"] .user-chip,html[data-theme="light"] .logout{border-left-color:#c9c5ba;color:#647178}
html[data-theme="light"] .topbar-icon{color:#b84417}
html[data-theme="light"] .topbar-icon:hover,html[data-theme="light"] .discord-sync-top:hover,html[data-theme="light"] .user-chip:hover,html[data-theme="light"] .logout:hover{background:#c74f1810;color:#182128}
html[data-theme="light"] .sidebar{border-bottom-color:#c7c2b7;background:#f2efe7f5}
html[data-theme="light"] .sidebar a{border-color:#d2cdc2;color:#4d5b62}
html[data-theme="light"] .sidebar a:hover{background:#ddd8cd;color:#182128}
html[data-theme="light"] .sidebar a.active{background:#c74f18;color:#fffaf4}
html[data-theme="light"] .workspace{background:#e8e5dd;background-image:linear-gradient(90deg,#27313a0b 1px,transparent 1px),linear-gradient(#27313a0b 1px,transparent 1px)}
html[data-theme="light"] .welcome{border-right-color:#c7c2b7}
html[data-theme="light"] .module,html[data-theme="light"] .overview-card,html[data-theme="light"] .access-state{border-top-color:#a8a398;border-bottom-color:#c4bfb4;background:#fffdf8;box-shadow:inset 4px 0 #555f54}
html[data-theme="light"] .module>header{border-bottom-color:#c9c5ba;background:#f2efe7;color:#182128}
html[data-theme="light"] .module h2{color:#182128}
html[data-theme="light"] .module-code{color:#53636a}
html[data-theme="light"] .history-list{background:#fffdf8}
html[data-theme="light"] .history-row{border-bottom-color:#cfcac0;color:#182128}
html[data-theme="light"] .history-row time{color:#5c7280}
html[data-theme="light"] .history-row p{color:#556873}
html[data-theme="light"] .history-row strong{color:#111820}
html[data-theme="light"] .history-row span{border-color:#5c9a73;color:#28744d;background:#edf7ef}
html[data-theme="light"] .empty{color:#657178}
html[data-theme="light"] .identity-plate,html[data-theme="light"] .personnel-tabs,html[data-theme="light"] .member-directory-card,html[data-theme="light"] .member-admin-card,html[data-theme="light"] .request-card{background:#f8f5ee}
html[data-theme="light"] .personnel-tabs button{border-color:#c9c5ba;color:#59676e}
html[data-theme="light"] .personnel-tabs button.active{background:#c74f18;color:#fffaf4}
html[data-theme="light"] .modal-card{border-color:#a9a398;background:#f8f5ee;color:#182128}
html[data-theme="light"] .modal-card>header{border-bottom-color:#ad3f16;background:#c74f18;color:#fffaf4}
html[data-theme="light"] .modal-card>header .module-code{color:#ffe1d2}
html[data-theme="light"] .settings-form>section,html[data-theme="light"] .theme-options>label>span{background:#fffdf8}
html[data-theme="light"] .notification-row,html[data-theme="light"] .member-history-entry,html[data-theme="light"] .member-note-row,html[data-theme="light"] .member-note-form{border-color:#c9c5ba;background:#fffdf8}
html[data-theme="light"] .notification-row.unread{background:#fff2d3}
html[data-theme="light"] .field input,html[data-theme="light"] .personnel-toolbar input,html[data-theme="light"] .personnel-toolbar select,html[data-theme="light"] .module select,html[data-theme="light"] .dialog-form select,html[data-theme="light"] .dialog-form textarea,html[data-theme="light"] .danger-dialog textarea,html[data-theme="light"] .editable-row input,html[data-theme="light"] .duty-edit-row input{border-color:#bcb7ac;background:#fff;color:#182128}
html[data-theme="light"] .dossier-work>header,html[data-theme="light"] .dossier-profile-grid form,html[data-theme="light"] .dossier-profile-grid dl,html[data-theme="light"] .dossier-personal-form,html[data-theme="light"] .duty-editor-list .duty-edit-row{background:#f7f4ed;color:#182128}
html[data-theme="light"] .dossier-tabs{background:#e8e4da}
html[data-theme="light"] .dossier-tabs button{border-color:#c9c5ba;color:#56656c}
html[data-theme="light"] .dossier-tabs button.active{background:#d8d2c6;color:#182128}
html[data-theme="light"] .dossier-identity{background:linear-gradient(180deg,#e7ecee,#d9dfe1)}
html[data-theme="light"] .dossier-record,html[data-theme="light"] .personnel-duty-row,html[data-theme="light"] .personnel-stat-row,html[data-theme="light"] .personnel-event-row,html[data-theme="light"] .monthly-row{border-color:#d0cbc0}

/* Compact directory filters and hide pagination until it is needed. */
.personnel-toolbar{
  padding:14px 16px;
  display:grid;
  grid-template-columns:minmax(280px,520px) 170px 180px max-content;
  justify-content:start;
  align-items:center;
  gap:9px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#151b16;
}
.personnel-toolbar input,
.personnel-toolbar select,
.personnel-toolbar button{
  width:100%;
  min-width:0;
  min-height:42px;
  margin:0;
}
.personnel-toolbar button{
  width:auto;
  min-width:112px;
  padding-inline:18px;
  justify-self:start;
}
.pager:empty{display:none}

html[data-theme="light"] .personnel-toolbar{
  border-color:#c9c5ba;
  background:#f8f5ee;
}
html[data-theme="light"] .personnel-toolbar button{
  border-color:#9f9a8f;
  background:#fffdf8;
  color:#273138;
}
html[data-theme="light"] .personnel-toolbar button:hover{
  border-color:#c74f18;
  background:#c74f18;
  color:#fffaf4;
}
html[data-theme="light"] .monthly-member-section{
  border-bottom-color:#c9c5ba;
  background:#f8f5ee;
}
html[data-theme="light"] .monthly-member-section h3{
  color:#53636a;
}
html[data-theme="light"] .monthly-member-table{
  border-color:#c9c5ba;
  background:#fffdf8;
}
html[data-theme="light"] .monthly-member-row{
  border-bottom-color:#d0cbc0;
}
html[data-theme="light"] .monthly-member-row strong{
  color:#182128;
}
html[data-theme="light"] .monthly-member-row small,
html[data-theme="light"] .monthly-member-row b{
  color:#68747b;
}
html[data-theme="light"] .duty-period-switch{
  border-color:#bcb7ac;
  background:#f8f5ee;
}
html[data-theme="light"] .duty-period-switch button{
  border-right-color:#c9c5ba;
  background:#fffdf8;
  color:#53636a;
}
html[data-theme="light"] .duty-period-switch button:hover{
  background:#eee9df;
  color:#182128;
}
html[data-theme="light"] .duty-period-switch button.active{
  background:#c74f18;
  color:#fffaf4;
  box-shadow:none;
}

@media(max-width:1120px){
  .personnel-toolbar{
    grid-template-columns:minmax(240px,1fr) 160px 170px max-content;
  }
}

@media(max-width:820px){
  .personnel-toolbar{grid-template-columns:1fr 1fr}
  .personnel-toolbar input{grid-column:1/-1}
  .personnel-toolbar button{width:100%}
}

@media(max-width:560px){
  .personnel-toolbar{grid-template-columns:1fr;padding:12px}
  .personnel-toolbar input{grid-column:auto}
}

/* Private pink register palette. Access to this theme is enforced by the API. */
html[data-theme="secret"]{
  color-scheme:dark;
  --bg:#100810;
  --rail:#190d17;
  --panel:#24121f;
  --line:#60334f;
  --white:#fff0f7;
  --muted:#c793ac;
  --blue:#ff78b5;
  --gold:#e84c98;
  --on-accent:#fff7fb;
  --green:#e878ad;
  --red:#ff6b98;
  --ink:#fff0f7;
}
html[data-theme="secret"] body{background:linear-gradient(90deg,transparent 0 49px,#422038 50px,transparent 51px),#100810;color:#fff0f7}
html[data-theme="secret"] body::before{color:#ff9bc808}
html[data-theme="secret"] .app{background:linear-gradient(180deg,#140b13 88px,#4b263d 88px,#1b0e18 102px)}
html[data-theme="secret"] .topbar{border-bottom-color:#60334f;background:#140b13fa;box-shadow:0 5px 22px #ec4f9820}
html[data-theme="secret"] .app-brand{border-color:#ff80ba;background:linear-gradient(135deg,#ad2869,#ed61a2);color:#fff7fb}
html[data-theme="secret"] .system-state{color:#e8b4cd}
html[data-theme="secret"] .system-state small{color:#a97690}
html[data-theme="secret"] .topbar-icon,html[data-theme="secret"] .discord-sync-top,html[data-theme="secret"] .user-chip,html[data-theme="secret"] .logout{border-left-color:#60334f;color:#dba2bd}
html[data-theme="secret"] .topbar-icon{color:#ff78b5}
html[data-theme="secret"] .topbar-icon:hover,html[data-theme="secret"] .discord-sync-top:hover,html[data-theme="secret"] .user-chip:hover,html[data-theme="secret"] .logout:hover{background:#ff78b512;color:#fff0f7}
html[data-theme="secret"] .sidebar{border-bottom-color:#60334f;background:#190d17f5}
html[data-theme="secret"] .sidebar a{border-color:#4c293f;color:#c993ad}
html[data-theme="secret"] .sidebar a:hover{background:#32182a;color:#fff0f7}
html[data-theme="secret"] .sidebar a.active{background:linear-gradient(135deg,#b92d70,#ef63a5);color:#fff7fb}
html[data-theme="secret"] .workspace{background:#100810;background-image:linear-gradient(90deg,#ff8abe0b 1px,transparent 1px),linear-gradient(#ff8abe0b 1px,transparent 1px)}
html[data-theme="secret"] .welcome{border-right-color:#60334f}
html[data-theme="secret"] .module,html[data-theme="secret"] .overview-card,html[data-theme="secret"] .access-state{border-top-color:#75415e;border-bottom-color:#60334f;background:#21121d;box-shadow:inset 4px 0 #e84c98}
html[data-theme="secret"] .module>header{border-bottom-color:#60334f;background:#1c0f19;color:#fff0f7}
html[data-theme="secret"] .module h2{color:#fff0f7}
html[data-theme="secret"] .module-code{color:#d598b5}
html[data-theme="secret"] .history-list,html[data-theme="secret"] .identity-plate,html[data-theme="secret"] .personnel-tabs,html[data-theme="secret"] .member-directory-card,html[data-theme="secret"] .member-admin-card,html[data-theme="secret"] .request-card,html[data-theme="secret"] .anniversary-strip,html[data-theme="secret"] .self-reflection,html[data-theme="secret"] .activity-board,html[data-theme="secret"] .profile-requests>form{background:#21121d}
html[data-theme="secret"] .history-row,html[data-theme="secret"] .dossier-record,html[data-theme="secret"] .personnel-duty-row,html[data-theme="secret"] .personnel-stat-row,html[data-theme="secret"] .personnel-event-row,html[data-theme="secret"] .monthly-row{border-color:#4c293f}
html[data-theme="secret"] .history-row p,html[data-theme="secret"] .history-row time{color:#c793ac}
html[data-theme="secret"] .history-row strong{color:#fff0f7}
html[data-theme="secret"] .personnel-tabs button,html[data-theme="secret"] .dossier-tabs button{border-color:#4c293f;color:#c793ac}
html[data-theme="secret"] .personnel-tabs button.active,html[data-theme="secret"] .dossier-tabs button.active{background:#3b1b30;color:#fff0f7;box-shadow:inset 0 -3px #f260a5}
html[data-theme="secret"] .modal-card{border-color:#75415e;background:#190d17;color:#fff0f7}
html[data-theme="secret"] .modal-card>header{border-bottom-color:#ff80ba;background:linear-gradient(135deg,#ad2869,#ed61a2);color:#fff7fb}
html[data-theme="secret"] .modal-card>header .module-code{color:#ffe0ee}
html[data-theme="secret"] .settings-form>section,html[data-theme="secret"] .theme-options>label>span{border-color:#60334f;background:#21121d}
html[data-theme="secret"] .settings-toggle input:checked+i{border-color:#ff78b5;background:#511b3a}
html[data-theme="secret"] .settings-toggle input:checked+i::after{background:#ff8fc1}
html[data-theme="secret"] .theme-options input:checked+span{border-color:#ff78b5;box-shadow:inset 0 -3px #ff78b5}
html[data-theme="secret"] .settings-form>.secondary-action{border-color:#ff80ba;background:linear-gradient(90deg,#b92d70,#ed61a2);color:#fff7fb}
html[data-theme="secret"] .notification-row,html[data-theme="secret"] .member-detail-identity,html[data-theme="secret"] .member-history-entry,html[data-theme="secret"] .member-note-row,html[data-theme="secret"] .member-note-form,html[data-theme="secret"] .active-summons-row,html[data-theme="secret"] .summons-history-row{border-color:#60334f;background:#21121d}
html[data-theme="secret"] .notification-row.unread{background:#3c1930}
html[data-theme="secret"] .field input,html[data-theme="secret"] .personnel-toolbar input,html[data-theme="secret"] .personnel-toolbar select,html[data-theme="secret"] .personnel-toolbar button,html[data-theme="secret"] .module select,html[data-theme="secret"] .dialog-form select,html[data-theme="secret"] .dialog-form textarea,html[data-theme="secret"] .danger-dialog textarea,html[data-theme="secret"] .editable-row input,html[data-theme="secret"] .duty-edit-row input,html[data-theme="secret"] .monthly-actions input,html[data-theme="secret"] .monthly-actions button,html[data-theme="secret"] .dossier-profile-grid input,html[data-theme="secret"] .dossier-personal-form input,html[data-theme="secret"] .request-decision-inline textarea{border-color:#75415e;background:#100810;color:#fff0f7}
html[data-theme="secret"] .dossier-work>header,html[data-theme="secret"] .dossier-profile-grid form,html[data-theme="secret"] .dossier-profile-grid dl,html[data-theme="secret"] .dossier-personal-form,html[data-theme="secret"] .duty-editor-list .duty-edit-row{background:#1c0f19;color:#fff0f7}
html[data-theme="secret"] .dossier-tabs{background:#140a12}
html[data-theme="secret"] .dossier-identity{background:linear-gradient(180deg,#291326,#140b14)}
html[data-theme="secret"] .dossier-actions button,html[data-theme="secret"] .dossier-page-head button,html[data-theme="secret"] .dossier-profile-grid button,html[data-theme="secret"] .record-controls button,html[data-theme="secret"] .duty-editor-list button,html[data-theme="secret"] .request-decision-inline button,html[data-theme="secret"] .secondary-action,html[data-theme="secret"] .photo-control button,html[data-theme="secret"] .pager button{border-color:#8e4a70;background:#32182a;color:#ffc2dd}
html[data-theme="secret"] .dossier-personal-form button{border-color:#ff80ba;background:#d7468c;color:#fff7fb}
html[data-theme="secret"] .personnel-toolbar{border-color:#60334f;background:#1c0f19}
html[data-theme="secret"] .personnel-toolbar button:hover{border-color:#ff78b5;background:#e45198;color:#fff7fb}
html[data-theme="secret"] .monthly-member-section,html[data-theme="secret"] .monthly-member-table,html[data-theme="secret"] .duty-period-switch{border-color:#60334f;background:#1c0f19}
html[data-theme="secret"] .monthly-member-row{border-color:#4c293f}
html[data-theme="secret"] .duty-period-switch button{border-color:#60334f;background:#21121d;color:#d8a1bb}
html[data-theme="secret"] .duty-period-switch button.active{background:#d7468c;color:#fff7fb;box-shadow:none}
html[data-theme="secret"] .toast{background:#2d1527;color:#fff0f7;box-shadow:0 20px 50px #0008}
html[data-theme="secret"] .summons-banner{background:linear-gradient(90deg,#461832,#25101f)}
html[data-theme="secret"] .summons-banner p{color:#efb0cf}

/* Private light pink variant. */
html[data-theme="secret_light"]{
  color-scheme:light;
  --bg:#f6e8ef;
  --rail:#fff4f8;
  --panel:#fffafb;
  --line:#dab8c8;
  --white:#3a2130;
  --muted:#806272;
  --blue:#c7357b;
  --gold:#db4a8d;
  --on-accent:#fff8fb;
  --green:#a44170;
  --red:#b83e67;
  --ink:#3a2130;
}
html[data-theme="secret_light"] body{background:linear-gradient(90deg,transparent 0 49px,#e6cbd8 50px,transparent 51px),#f6e8ef;color:#3a2130}
html[data-theme="secret_light"] body::before{color:#7a2c5208}
html[data-theme="secret_light"] .app{background:linear-gradient(180deg,#fff8fb 88px,#d9afc3 88px,#f6e8ef 102px)}
html[data-theme="secret_light"] .topbar{border-bottom-color:#d6afc2;background:#fff8fbf2;box-shadow:0 5px 22px #7f2b5614}
html[data-theme="secret_light"] .app-brand{border-color:#f48abb;background:linear-gradient(135deg,#d84487,#f07fb3);color:#fffafb}
html[data-theme="secret_light"] .system-state{color:#765465}
html[data-theme="secret_light"] .system-state small{color:#9a7888}
html[data-theme="secret_light"] .topbar-icon,html[data-theme="secret_light"] .discord-sync-top,html[data-theme="secret_light"] .user-chip,html[data-theme="secret_light"] .logout{border-left-color:#dab8c8;color:#846273}
html[data-theme="secret_light"] .topbar-icon{color:#c7357b}
html[data-theme="secret_light"] .topbar-icon:hover,html[data-theme="secret_light"] .discord-sync-top:hover,html[data-theme="secret_light"] .user-chip:hover,html[data-theme="secret_light"] .logout:hover{background:#d43f8612;color:#3a2130}
html[data-theme="secret_light"] .sidebar{border-bottom-color:#dab8c8;background:#fff4f8f5}
html[data-theme="secret_light"] .sidebar a{border-color:#e3c8d5;color:#755868}
html[data-theme="secret_light"] .sidebar a:hover{background:#f0d9e4;color:#3a2130}
html[data-theme="secret_light"] .sidebar a.active{background:linear-gradient(135deg,#cc397d,#eb72aa);color:#fffafb}
html[data-theme="secret_light"] .workspace{background:#f6e8ef;background-image:linear-gradient(90deg,#6f29490a 1px,transparent 1px),linear-gradient(#6f29490a 1px,transparent 1px)}
html[data-theme="secret_light"] .welcome{border-right-color:#dab8c8}
html[data-theme="secret_light"] .module,html[data-theme="secret_light"] .overview-card,html[data-theme="secret_light"] .access-state{border-top-color:#c896ad;border-bottom-color:#dab8c8;background:#fffafb;box-shadow:inset 4px 0 #cf4b88}
html[data-theme="secret_light"] .module>header{border-bottom-color:#dab8c8;background:#fbeef4;color:#3a2130}
html[data-theme="secret_light"] .module h2{color:#3a2130}
html[data-theme="secret_light"] .module-code{color:#795a69}
html[data-theme="secret_light"] .history-list,html[data-theme="secret_light"] .identity-plate,html[data-theme="secret_light"] .personnel-tabs,html[data-theme="secret_light"] .member-directory-card,html[data-theme="secret_light"] .member-admin-card,html[data-theme="secret_light"] .request-card,html[data-theme="secret_light"] .anniversary-strip,html[data-theme="secret_light"] .self-reflection,html[data-theme="secret_light"] .activity-board,html[data-theme="secret_light"] .profile-requests>form{background:#fffafb}
html[data-theme="secret_light"] .overview-card:hover,html[data-theme="secret_light"] .member-directory-card:hover,html[data-theme="secret_light"] .personnel-duty-row:hover,html[data-theme="secret_light"] .personnel-stat-row:hover{background:#f8e6ef}
html[data-theme="secret_light"] .history-row,html[data-theme="secret_light"] .dossier-record,html[data-theme="secret_light"] .personnel-duty-row,html[data-theme="secret_light"] .personnel-stat-row,html[data-theme="secret_light"] .personnel-event-row,html[data-theme="secret_light"] .monthly-row,html[data-theme="secret_light"] .member-request-row,html[data-theme="secret_light"] .session-row,html[data-theme="secret_light"] .access-matrix article{border-color:#e1c5d2}
html[data-theme="secret_light"] .history-row p,html[data-theme="secret_light"] .history-row time{color:#806272}
html[data-theme="secret_light"] .history-row strong{color:#3a2130}
html[data-theme="secret_light"] .history-row span{border-color:#c27a9d;color:#913960;background:#fff0f6}
html[data-theme="secret_light"] .empty{color:#806272}
html[data-theme="secret_light"] .personnel-tabs button,html[data-theme="secret_light"] .dossier-tabs button{border-color:#dab8c8;color:#755868}
html[data-theme="secret_light"] .personnel-tabs button.active,html[data-theme="secret_light"] .dossier-tabs button.active{background:#eacbd9;color:#3a2130;box-shadow:inset 0 -3px #d43f86}
html[data-theme="secret_light"] .modal-backdrop{background:#4b303d8f}
html[data-theme="secret_light"] .modal-card{border-color:#c89eb2;background:#fff4f8;color:#3a2130}
html[data-theme="secret_light"] .modal-card>header{border-bottom-color:#bd336f;background:linear-gradient(135deg,#cf3d80,#ed76ae);color:#fffafb}
html[data-theme="secret_light"] .modal-card>header .module-code{color:#ffe4f0}
html[data-theme="secret_light"] .settings-form>section,html[data-theme="secret_light"] .theme-options>label>span{border-color:#dab8c8;background:#fffafb}
html[data-theme="secret_light"] .secret-theme-section>p{color:#a42f66}
html[data-theme="secret_light"] .settings-toggle>i{border-color:#cda4b7;background:#f5dce8}
html[data-theme="secret_light"] .settings-toggle input:checked+i{border-color:#d43f86;background:#f2c1d7}
html[data-theme="secret_light"] .settings-toggle input:checked+i::after{background:#d43f86}
html[data-theme="secret_light"] .theme-options input:checked+span{border-color:#d43f86;box-shadow:inset 0 -3px #d43f86}
html[data-theme="secret_light"] .settings-form>.secondary-action{border-color:#d43f86;background:linear-gradient(90deg,#cc397d,#eb72aa);color:#fffafb}
html[data-theme="secret_light"] .notification-row,html[data-theme="secret_light"] .member-detail-identity,html[data-theme="secret_light"] .member-history-entry,html[data-theme="secret_light"] .member-note-row,html[data-theme="secret_light"] .member-note-form,html[data-theme="secret_light"] .active-summons-row,html[data-theme="secret_light"] .summons-history-row{border-color:#dab8c8;background:#fffafb}
html[data-theme="secret_light"] .notification-row.unread{background:#ffe6f1}
html[data-theme="secret_light"] .field input,html[data-theme="secret_light"] .personnel-toolbar input,html[data-theme="secret_light"] .personnel-toolbar select,html[data-theme="secret_light"] .personnel-toolbar button,html[data-theme="secret_light"] .module select,html[data-theme="secret_light"] .dialog-form select,html[data-theme="secret_light"] .dialog-form textarea,html[data-theme="secret_light"] .danger-dialog textarea,html[data-theme="secret_light"] .request-card>input,html[data-theme="secret_light"] .request-card>textarea,html[data-theme="secret_light"] .editable-row input,html[data-theme="secret_light"] .duty-edit-row input,html[data-theme="secret_light"] .monthly-actions input,html[data-theme="secret_light"] .monthly-actions button,html[data-theme="secret_light"] .dossier-profile-grid input,html[data-theme="secret_light"] .dossier-personal-form input,html[data-theme="secret_light"] .request-decision-inline textarea{border-color:#cfa9bb;background:#fff;color:#3a2130}
html[data-theme="secret_light"] .dossier-work>header,html[data-theme="secret_light"] .dossier-profile-grid form,html[data-theme="secret_light"] .dossier-profile-grid dl,html[data-theme="secret_light"] .dossier-personal-form,html[data-theme="secret_light"] .duty-editor-list .duty-edit-row{background:#fff7fa;color:#3a2130}
html[data-theme="secret_light"] .dossier-tabs{background:#f3dde7}
html[data-theme="secret_light"] .dossier-identity{background:linear-gradient(180deg,#f7e4ed,#ead1dd)}
html[data-theme="secret_light"] .dossier-actions button,html[data-theme="secret_light"] .dossier-page-head button,html[data-theme="secret_light"] .dossier-profile-grid button,html[data-theme="secret_light"] .record-controls button,html[data-theme="secret_light"] .duty-editor-list button,html[data-theme="secret_light"] .request-decision-inline button,html[data-theme="secret_light"] .secondary-action,html[data-theme="secret_light"] .photo-control button,html[data-theme="secret_light"] .pager button{border-color:#bd8fa6;background:#f3dce7;color:#793553}
html[data-theme="secret_light"] .dossier-personal-form button{border-color:#d43f86;background:#d94b8c;color:#fffafb}
html[data-theme="secret_light"] .personnel-toolbar{border-color:#dab8c8;background:#fff4f8}
html[data-theme="secret_light"] .personnel-toolbar button:hover{border-color:#d43f86;background:#d94b8c;color:#fffafb}
html[data-theme="secret_light"] .monthly-member-section,html[data-theme="secret_light"] .monthly-member-table,html[data-theme="secret_light"] .duty-period-switch{border-color:#dab8c8;background:#fff4f8}
html[data-theme="secret_light"] .monthly-member-row{border-color:#e1c5d2}
html[data-theme="secret_light"] .monthly-member-row strong{color:#3a2130}
html[data-theme="secret_light"] .monthly-member-row small,html[data-theme="secret_light"] .monthly-member-row b{color:#806272}
html[data-theme="secret_light"] .duty-period-switch button{border-color:#dab8c8;background:#fffafb;color:#755868}
html[data-theme="secret_light"] .duty-period-switch button:hover{background:#f4dce7;color:#3a2130}
html[data-theme="secret_light"] .duty-period-switch button.active{background:#d94b8c;color:#fffafb;box-shadow:none}
html[data-theme="secret_light"] .duty-kpis article{background:#fff4f8}
html[data-theme="secret_light"] .duty-chart-wrap{background-color:#fffafb;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 62px,#6f29490d 63px)}
html[data-theme="secret_light"] .toast{background:#fffafb;color:#3a2130;box-shadow:0 20px 50px #63304930}
html[data-theme="secret_light"] .summons-banner{background:linear-gradient(90deg,#ffdcea,#fff6fa)}
html[data-theme="secret_light"] .summons-banner p{color:#884866}
html[data-theme="secret_light"] .service-start-help{color:#806272}
