:root {
  color-scheme:light;
  --ink:#191a18;
  --sub:#61625c;
  --paper:#fdfdfb;
  --line:#deded8;
  --soft:#f1f1ed;
  --serif:Georgia,"Times New Roman",serif;
  --sans:Arial,"Helvetica Neue",sans-serif;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--paper);
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,textarea,select {
  font:inherit;
  color:inherit;
}
button,a,input,select,textarea,summary {
  -webkit-tap-highlight-color:transparent;
}
a {
  color:inherit;
}
button {
  cursor:pointer;
  background:transparent;
  border:0;
  padding:0;
  text-align:left;
}
button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:2px solid #444;
  outline-offset:3px;
}
input:focus,select:focus,textarea:focus {
  outline:2px solid #555;
  outline-offset:1px;
}
button:disabled {
  opacity:.5;
  cursor:default;
}
.icon {
  width:24px;
  height:24px;
  flex-shrink:0;
}
button .icon {
  pointer-events:none;
}
.skip {
  position:absolute;
  left:-9999px;
}
.skip:focus {
  left:10px;
  z-index:5;
  background:white;
}
.bar {
  height:81px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 max(calc((100vw - 1060px)/2),5vw);
}
.brand {
  font-family:var(--serif);
  font-size:2.55rem;
  font-weight:bold;
  letter-spacing:-.08em;
  line-height:1;
}
.icons,.inline {
  display:flex;
  align-items:center;
  gap:12px;
}
.ib {
  height:44px;
  width:44px;
  display:inline-grid;
  place-items:center;
  position:relative;
}
.badge {
  position:absolute;
  top:3px;
  right:2px;
  min-width:16px;
  height:16px;
  padding:0 3px;
  border-radius:20px;
  background:#bc2c36;
  color:white;
  font:700 11px/16px var(--sans);
  text-align:center;
  outline:2px solid var(--paper);
}
.bar .context {
  color:var(--sub);
  font-size:.875rem;
  border-left:1px solid var(--line);
  padding-left:22px;
  margin-left:10px;
}
.bar .brandwrap {
  display:flex;
  align-items:center;
  gap:14px;
}
main {
  max-width:1120px;
  margin:0 auto;
  padding:52px 30px 132px;
  min-height:60vh;
}
main:focus {
  outline:0;
}
.pagehead {
  margin:0 0 34px;
}
.eyebrow,.muted,.small {
  color:var(--sub);
}
.small,.note {
  font-size:.875rem;
  line-height:1.55;
}
.note {
  color:var(--sub);
  margin:.55rem 0;
}
.pagehead h1,h1,h2,h3,p {
  margin:0;
}
h1,h2,.doc h3 {
  font-family:var(--serif);
  font-weight:500;
  letter-spacing:-.045em;
}
h1 {
  font-size:clamp(2.8rem,6.8vw,5.25rem);
  line-height:1.04;
  overflow-wrap:anywhere;
}
h2 {
  font-size:clamp(1.7rem,3.8vw,2.7rem);
  line-height:1.14;
}
h3 {
  font-size:1.05rem;
}
h1+.muted,.pagehead>p {
  margin-top:10px;
}
.back {
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-bottom:19px;
  color:var(--sub);
  min-height:30px;
}
.back .icon {
  width:17px;
}
.grid {
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(0,.88fr);
  gap:clamp(26px,5vw,68px);
  align-items:start;
}
.block {
  margin-bottom:32px;
}
.sectionhead,.lineup {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.sectionhead {
  margin-bottom:17px;
}
.link {
  font-size:.9rem;
  text-decoration:underline;
  text-underline-offset:4px;
  line-height:1.6;
}
.card {
  background:var(--soft);
  border-radius:16px;
  padding:25px;
}
.card h2 {
  font-size:1.9rem;
  margin-bottom:15px;
}
.card .row {
  border:0;
}
.row,.eventrow {
  width:100%;
  display:flex;
  gap:16px;
  align-items:center;
  text-align:left;
  padding:19px 2px;
  border-bottom:1px solid var(--line);
  min-height:66px;
}
.row:hover,.eventrow:hover {
  background:#00000004;
}
.row .ico {
  width:34px;
  display:grid;
  place-items:center;
}
.grow {
  min-width:0;
  flex:1;
}
.title {
  font-weight:600;
  line-height:1.35;
  overflow-wrap:anywhere;
  display:block;
}
.desc {
  display:block;
  color:var(--sub);
  line-height:1.45;
  margin-top:3px;
  overflow-wrap:anywhere;
}
.end {
  width:16px;
  height:16px;
  flex-shrink:0;
}
.time {
  font-size:1.15rem;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  min-width:54px;
}
.eventrow .grow {
  border-left:1px solid #c9cac4;
  padding-left:17px;
}
.status,.pill {
  display:inline-block;
  background:var(--soft);
  color:#4d4e49;
  border-radius:5px;
  font-size:.81rem;
  padding:4px 8px;
  line-height:1.3;
}
.status {
  max-width:112px;
}
.primary,.secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 20px;
  min-height:48px;
  border-radius:8px;
  font-weight:600;
  text-align:center;
}
.primary {
  background:var(--ink);
  color:#fff;
}
.primary:hover {
  background:#363732;
}
.secondary {
  border:1px solid #c6c7c0;
  background:var(--paper);
}
.wide {
  width:100%;
}
.search {
  display:flex;
  border:1px solid #bcbdb7;
  align-items:center;
  padding:0 13px;
  border-radius:8px;
  gap:11px;
  background:white;
}
.search input {
  border:0;
  background:transparent;
  min-width:0;
  width:100%;
  height:48px;
}
.search input:focus {
  outline:0;
}
.search:focus-within {
  outline:2px solid #777;
}
.toolbar {
  display:flex;
  gap:14px;
  margin:0 0 20px;
}
.toolbar .search {
  flex:1;
}
.tabs {
  display:flex;
  gap:26px;
  overflow:auto;
  scrollbar-width:none;
  border-bottom:1px solid var(--line);
  margin:18px 0 5px;
}
.tabs button {
  padding:10px 0 12px;
  color:var(--sub);
  white-space:nowrap;
  position:relative;
}
.tabs .active {
  font-weight:700;
  color:var(--ink);
}
.tabs .active:after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:var(--ink);
}
.dock {
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  border-top:1px solid var(--line);
  background:rgba(253,253,251,.98);
  z-index:3;
  display:flex;
  justify-content:center;
  padding-bottom:env(safe-area-inset-bottom);
}
.dockinner {
  display:flex;
  overflow-x:auto;
  max-width:100%;
  scrollbar-width:none;
}
.dock button {
  flex:0 0 auto;
  min-width:100px;
  height:69px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#565751;
  font-size:.84rem;
  position:relative;
}
.dock button.active {
  color:var(--ink);
  font-weight:bold;
}
.dock .active:after {
  content:"";
  position:absolute;
  height:3px;
  width:30px;
  bottom:3px;
  border-radius:2px;
  background:var(--ink);
}
.form,.narrow {
  max-width:680px;
}
.formhead {
  margin-bottom:22px;
}
.seg {
  display:flex;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  margin:16px 0 20px;
}
.seg button {
  width:50%;
  text-align:center;
  padding:12px;
}
.seg .active {
  background:#e8e8e3;
  font-weight:700;
}
.progress {
  display:flex;
  gap:6px;
  margin:15px 0;
}
.progress i {
  height:3px;
  flex:1;
  background:var(--line);
  border-radius:3px;
}
.progress .on {
  background:var(--ink);
}
.fields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:14px 0 22px;
}
.field {
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:.89rem;
  font-weight:600;
  min-width:0;
}
.full {
  grid-column:1/-1;
}
.field input,.field select,.field textarea {
  font-weight:400;
  width:100%;
  padding:11px 12px;
  min-height:45px;
  border:1px solid #bfbfba;
  background:white;
  border-radius:6px;
  font-size:1rem;
}
.field textarea {
  resize:vertical;
  min-height:86px;
}
.form details,.details {
  padding:13px 0;
  border-top:1px solid var(--line);
}
summary {
  cursor:pointer;
  font-weight:600;
  line-height:1.5;
}
.actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:22px 0 8px;
}
.empty {
  color:var(--sub);
  padding:21px 0;
  line-height:1.55;
}
.plain {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  line-height:1.65;
}
.doc {
  background:white;
  border:1px solid var(--line);
  border-radius:8px;
  padding:clamp(14px,3vw,34px);
  margin:15px 0;
  line-height:1.65;
}
.doc img {
  max-width:220px;
  max-height:100px;
}
.info {
  background:var(--soft);
  padding:12px 15px;
  line-height:1.55;
  border-radius:7px;
  margin:10px 0;
}
.error {
  color:#8f2831;
  line-height:1.45;
}
.keyvals {
  display:grid;
  grid-template-columns:minmax(105px,.7fr) 1.5fr;
  gap:12px 15px;
  line-height:1.5;
}
.keyvals dt {
  color:var(--sub);
}
.keyvals dd {
  margin:0;
  overflow-wrap:anywhere;
}
.sheet {
  padding:24px;
  min-width:0;
}
.sheet h2 {
  margin-bottom:18px;
}
.sheethead {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.sheet .row {
  gap:9px;
}
.sheet .field {
  margin:10px 0;
}
dialog {
  border:1px solid var(--line);
  border-radius:15px;
  padding:0;
  background:var(--paper);
  color:var(--ink);
  width:min(94vw,480px);
  max-height:85dvh;
}
dialog::backdrop {
  background:#10101055;
}
#toast {
  position:fixed;
  z-index:10;
  bottom:94px;
  left:50%;
  transform:translateX(-50%);
  max-width:90vw;
  background:var(--ink);
  color:#fff;
  border-radius:8px;
  text-align:center;
  padding:12px 18px;
  font-size:.95rem;
  display:none;
}
#toast.on {
  display:block;
}
.canvas {
  width:100%;
  height:155px;
  border:1px dashed #aaa;
  border-radius:8px;
  background:#fff;
  touch-action:none;
}
.signwrap {
  max-width:750px;
  margin:auto;
}
.dayselector {
  max-width:190px;
}
.gutter {
  margin-top:25px;
}
.sigline {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin:14px 0;
}
.offhint {
  color:var(--sub);
  font-size:.85rem;
  margin-top:24px;
}
.notice {
  font-size:.9rem;
}
.notice button {
  display:inline;
}
.stack {
  display:grid;
  gap:10px;
}
.formfoot {
  padding-bottom:env(safe-area-inset-bottom);
}
.date-label {
  text-transform:capitalize;
}
.dashboard .pagehead {
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
}
@media(max-width:750px) {
  .bar {
    padding:0 19px;
    height:64px;
  }
  .brand {
    font-size:2rem;
  }
  .bar .context {
    display:none;
  }
  .icons {
    gap:3px;
  }
  main {
    padding:27px 18px 108px;
  }
  .grid {
    grid-template-columns:1fr;
    gap:8px;
  }
  .dashboard .pagehead {
    border:0;
    padding-bottom:0;
  }
  .pagehead {
    margin-bottom:24px;
  }
  .card {
    padding:19px;
    border-radius:12px;
  }
  .card h2 {
    font-size:1.5rem;
  }
  .sectionhead {
    margin-bottom:6px;
  }
  .dock {
    justify-content:flex-start;
  }
  .dockinner {
    width:100%;
  }
  .dock button {
    min-width:max(23vw,80px);
    height:64px;
  }
  .toolbar {
    flex-direction:column;
  }
  .toolbar .primary {
    order:-1;
  }
  .row {
    gap:10px;
  }
  .card .row {
    padding:8px 0;
  }
  .row .ico {
    width:27px;
  }
  .formfoot {
    position:sticky;
    bottom:0;
    background:var(--paper);
    padding:12px 0 max(12px,env(safe-area-inset-bottom));
    border-top:1px solid var(--line);
  }
  .formfoot .primary {
    width:100%;
  }
  .no-dock main {
    padding-bottom:10px;
  }
  .inline .secondary {
    padding:9px 12px;
  }
  .status {
    font-size:.76rem;
  }
  .tabs {
    gap:22px;
  }
  .form .fields {
    gap:12px;
  }
  .sectionhead .link {
    font-size:.84rem;
  }
  .card .status {
    background:#dedfd8;
  }
  .pagehead h1 {
    font-size:clamp(2.55rem,10vw,3.6rem);
  }
}
@media(max-width:385px) {
  main {
    padding-left:14px;
    padding-right:14px;
  }
  .title {
    font-size:.96rem;
  }
  .row {
    gap:7px;
  }
  .time {
    min-width:48px;
  }
  .toolbar .primary {
    width:100%;
  }
  .row .status {
    max-width:85px;
  }
  .fields {
    column-gap:8px;
  }
}
@media print {
  body {
    background:white;
  }
  .bar,#dock,#dialog,#toast,.skip,.actions,.back,.offhint,.no-print,.pagehead {
    display:none!important;
  }
  main {
    padding:0!important;
    max-width:none;
  }
  .doc {
    border:0;
    margin:0;
    padding:0;
  }
  .doc img {
    max-height:70px;
  }
  button {
    display:none!important;
  }
}
.month {
  padding:20px 24px 23px;
  border:1px solid var(--line);
  border-radius:12px;
  max-width:480px;
}
.month h2 {
  font-size:1.55rem;
}
.month .ib {
  height:32px;
  width:32px;
}
.month .ib .icon {
  width:15px;
  height:15px;
}
.cells {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  justify-items:center;
  gap:4px;
}
.cells small {
  color:var(--sub);
  padding:4px;
}
.cells button {
  height:35px;
  width:35px;
  text-align:center;
  border-radius:50%;
  position:relative;
  font-size:.94rem;
}
.cells button:hover {
  background:var(--soft);
}
.cells .today,.cells .today:hover {
  color:white;
  background:var(--ink);
}
@media(max-width:750px) {
  .dashboard .month { padding:14px; }
  .dashboard .month .cells { grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px 0; }
  .dashboard .month .cells button { width:100%; max-width:35px; }
}
.offhint {
  margin-top:24px;
}
.case-file .pagehead h1,.petition-sheet h1 {
  overflow-wrap:anywhere;
  text-wrap:balance;
}
.case-section,.hearing-panel {
  margin:28px 0;
}
.hearing-panel {
  background:var(--soft);
  border-radius:12px;
  padding:clamp(16px,3vw,26px);
}
.case-sectionhead,.case-deadline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.case-sectionhead {
  flex-wrap:wrap;
  margin-bottom:8px;
}
.case-sectionhead .link,.case-deadline .link {
  min-height:44px;
}
.hearing-panel .row {
  border-bottom:0;
}
.case-history {
  margin-top:12px;
  border-top:1px solid var(--line);
}
.case-history summary {
  cursor:pointer;
  padding:14px 0 0;
  font-size:.94rem;
}
.case-deadline {
  border-bottom:1px solid var(--line);
  padding:12px 0;
}
.case-deadline .grow,.hearing-panel .grow {
  min-width:0;
  overflow-wrap:anywhere;
}
.case-deadline .link {
  flex-shrink:0;
}
.petition-mark {
  font-size:.9rem;
  color:var(--sub);
}
.petition-addressee {
  max-width:32rem;
  margin:16px 0 26px auto;
}
.petition-sheet h1 {
  font-size:clamp(1.7rem,4vw,2.4rem);
}
.petition-body {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:24px 0;
}
.calendar-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:30px;
}
.calendar-head .pagehead { margin:0; }
.calendar-page > .field { max-width:370px; margin-bottom:22px; }
.calendar-layout {
  display:grid;
  grid-template-columns:minmax(290px,.85fr) minmax(0,1.3fr);
  gap:clamp(24px,5vw,68px);
  align-items:start;
}
.calendar-month { display:block; min-width:0; max-width:none; }
.calendar-month .sectionhead { gap:8px; }
.calendar-month .ib { width:38px; height:40px; }
.calendar-month .cells {
  grid-template-columns:repeat(7,minmax(0,1fr));
  row-gap:4px;
  column-gap:0;
}
.calendar-month .cells button { width:100%; max-width:42px; height:41px; }
.load-bar {
  display:inline-block;
  flex:none;
  width:18px;
  height:3px;
  border-radius:2px;
  background:var(--load-color);
  pointer-events:none;
}
.load-1 { --load-color:#327b50; }
.load-2 { --load-color:#b88a06; }
.load-3 { --load-color:#b33d49; }
.cells .load-bar { position:absolute; left:50%; transform:translateX(-50%); bottom:3px; }
.calendar-month .cells .load-bar { bottom:5px; }
.cells .calendar-load-day { padding-bottom:5px; }
.cells .today .load-1 { --load-color:#86d19a; }
.cells .today .load-2 { --load-color:#f5ca55; }
.cells .today .load-3 { --load-color:#f68d95; }
.load-legend { display:flex; flex-wrap:wrap; gap:7px 13px; margin-top:12px; color:var(--sub); font-size:.76rem; }
.load-legend span { display:inline-flex; align-items:center; gap:5px; }
.work-actions { grid-column:1/-1; margin:1rem 0; border:1px solid var(--line); padding:12px; min-width:0; }
.work-actions label { margin:8px 0; }
.calendar-today { box-shadow:inset 0 0 0 1px var(--ink); }
.month-foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  border-top:1px solid var(--line);
  margin-top:14px;
  padding-top:14px;
}
.month-foot label {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.875rem;
  color:var(--sub);
}
.month-foot input { border:1px solid var(--line); border-radius:6px; padding:6px; min-width:0; background:var(--paper); }
.agenda { min-width:0; }
.agenda h2 { font-size:clamp(1.7rem,3vw,2.4rem); }
.agenda-weekday { color:var(--sub); margin-bottom:4px; }
.agenda-weekday::first-letter { text-transform:uppercase; }
.agenda h3 { font:600 1rem var(--sans); margin:18px 0 4px; }
.calendar-filters {
  display:flex;
  gap:4px;
  flex-wrap:wrap;
  border-bottom:1px solid var(--line);
  margin:12px 0 2px;
  padding-bottom:12px;
}
.calendar-filters button { min-height:38px; padding:6px 12px; border-radius:20px; font-size:.94rem; }
.calendar-filters .active { background:var(--ink); color:var(--paper); }
.calendar-filters button:hover:not(.active) { background:var(--soft); }
@media(max-width:750px) {
  .calendar-layout { grid-template-columns:minmax(0,1fr); gap:26px; }
  .calendar-head { margin-bottom:20px; }
  .calendar-head .primary { padding:10px 12px; }
  .calendar-month { padding:14px; }
}
.registry { max-width:860px; }
.registry > .search { max-width:600px; }
.registry-count {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:4px 12px;
  min-height:46px;
  font-size:.9rem;
  color:var(--sub);
}
.registry-count .link { color:var(--ink); }
.registry-row {
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:4px 15px;
  width:100%;
  min-height:78px;
  padding:15px 3px;
  border-bottom:1px solid var(--line);
}
.registry-row:hover { background:var(--soft); }
.registry-icon { justify-self:center; display:flex; }
.registry-meta {
  display:flex;
  align-items:flex-end;
  flex-direction:column;
  gap:5px;
  color:var(--sub);
  font-size:.875rem;
}
.registry-navigation,.registry-navigation > div {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
}
.registry-navigation { justify-content:space-between; margin-bottom:18px; }
.registry-navigation .back { margin:0; }
.manager-home .sectionhead { flex-wrap:wrap; gap:4px 12px; }
.management-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin-bottom:28px; }
.management-head .pagehead { margin:0; }
.management-head .link { min-height:44px; }
.manager-home .card .row { padding:14px 0; gap:10px; }
.approval-price { white-space:nowrap; font-size:.94rem; font-variant-numeric:tabular-nums; }
.member-client { display:flex; align-items:center; gap:14px; border-bottom:1px solid var(--line); }
.member-client .row { flex:1; min-width:0; border:0; }
.member-client > .link { min-height:44px; flex-shrink:0; }
@media(max-width:600px) {
  .registry-row { grid-template-columns:25px minmax(0,1fr); column-gap:10px; }
  .registry-icon { align-self:start; }
  .registry-meta { grid-column:2; flex-direction:row; align-items:center; flex-wrap:wrap; gap:5px 10px; }
  .registry .tabs { gap:18px; }
}

.act-sheet h1 { font-size:clamp(1.7rem,5vw,2.4rem); line-height:1.15; margin:0 0 .45rem; }
.act-total > span { font-weight:600; }
.act-sheet h2 { font-family:inherit; font-size:1rem; margin:1.5rem 0 .4rem; }
.act-date { color:var(--sub); margin:0 0 1.4rem; line-height:1.5; }
.act-total { border-top:1px solid var(--line); display:flex; flex-wrap:wrap; justify-content:space-between; gap:.3rem 1rem; margin:1.4rem 0; padding-top:.8rem; }
.act-signatures { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1.4rem 2rem; margin:1.4rem 0 .5rem; break-inside:avoid; }
.act-signatures > div { display:flex; flex-direction:column; gap:1.5rem; }
.signature-line { display:block; border-bottom:1px solid #888; }
.pdf-download { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }
@media print {
  .act-sheet { font-size:11pt; }
  .act-sheet h1,.act-sheet h2 { break-after:avoid; }
  .act-sheet .plain { white-space:pre-wrap; }
  .act-total { break-inside:avoid; }
}

.hearing-outcome { margin:1.5rem 0 1rem; padding:1.1rem 1.25rem; border:1px solid var(--line); border-radius:12px; }
.hearing-outcome h2,.hearing-outcome p { margin:0; }
.hearing-outcome .plain { margin-top:.55rem; }
.follow-fields { margin:1.2rem 0 0; padding:1rem; min-width:0; border:1px solid var(--line); border-radius:8px; }
.follow-fields legend { padding:0 .4rem; }

.due-board h2 { margin:0 0 .75rem; }
.due-group + .due-group { margin-top:1.15rem; }
.due-group h3 { font-family:inherit; font-size:1rem; margin:.15rem 0; }
.due-group h3 span { color:var(--sub); font-weight:400; }
.due-group .case-deadline .title { text-align:left; }
.due-group .case-deadline .desc { margin-bottom:0; }
.due-more summary { padding:.7rem 0; cursor:pointer; font-size:.92rem; }
.due-choice { display:flex; align-items:center; gap:.65rem; min-height:44px; margin:.7rem 0; cursor:pointer; }
.due-choice input { width:20px; height:20px; flex:none; accent-color:var(--ink); }

/* v20: calendar load dot */
.load-bar { width:7px; height:7px; border-radius:50%; background:var(--load-color); box-shadow:none; }
.cells .load-bar { transform:translateX(-50%); }
.load-legend .load-bar { transform:none; margin-right:0; }
.load-1 { --load-color:#2e9d57; }
.load-2 { --load-color:#e3b11a; }
.load-3 { --load-color:#d63a4a; }
.cells .today .load-1 { --load-color:#86d19a; }
.cells .today .load-2 { --load-color:#f5ca55; }
.cells .today .load-3 { --load-color:#f68d95; }

/* v21: fullscreen signature pad */
.sigpad { position:fixed; inset:0; z-index:60; background:#fff; display:flex; flex-direction:column; padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
.sigpad[hidden] { display:none; }
.sigpad-hint { margin:0 0 8px; color:var(--sub); font-size:.9rem; text-align:center; }
.sigarea { flex:1; position:relative; min-height:0; }
.sigarea .canvas { position:absolute; inset:0; width:100%; height:100%; border-radius:12px; }
.sigpad-bar { display:flex; gap:8px; padding-top:10px; }
.sigpad-bar > * { flex:1; }
body.signing { overflow:hidden; }
body.signing #toast { z-index:70; }
.doc img[alt="Роспись клиента"] { max-width:220px; height:auto; }

/* v22: fullscreen signature viewer */
.sigthumb { display:inline-block; border:0; padding:0; margin:0; background:none; cursor:zoom-in; }
.sigview { position:fixed; inset:0; z-index:80; background:#fff; display:flex; flex-direction:column; padding:max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom)); }
.sigview-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; border-bottom:1px solid var(--line); padding-bottom:10px; }
.sigview-head h2 { margin:0 0 4px; }
.sigview-head p { margin:0; }
.sigview-img { flex:1; min-height:0; display:flex; align-items:center; justify-content:center; padding-top:10px; }
.sigview-img img { max-width:100%; max-height:100%; object-fit:contain; }
@media print { .sigview { display:none; } .sigthumb { cursor:default; } }

/* v23: team feed */
.feed-item { display:flex; align-items:flex-start; gap:12px; width:100%; text-align:left; padding:12px 2px; border:0; border-bottom:1px solid var(--line); background:none; font:inherit; color:inherit; cursor:pointer; }
.feed-item:hover { background:var(--soft); }
.feed-item .grow { min-width:0; }
.feed-item .title { display:block; font-weight:600; line-height:1.35; }
.feed-item .desc { display:block; color:var(--sub); font-size:.86rem; margin-top:3px; line-height:1.35; }
.feed-dot { flex:none; width:8px; height:8px; margin-top:6px; border-radius:50%; background:#c9c9c2; }
.feed-dot.alert { background:#d63a4a; box-shadow:0 0 0 4px rgba(214,58,74,.14); }
.feed-sub { margin:10px 0 0; font-size:.74rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#b33d49; }
.feed-sub.muted-sub { color:var(--sub); }
.team-feed .feed-item:last-child { border-bottom:0; }
