/* v5.4.3 ARCHITECT - request ownership migrated from app.css */
.request-head{align-items:center}
.request-class-group{display:grid;gap:9px;margin-top:13px}
.request-class-group:first-child{margin-top:0}
.request-class-heading{display:flex;align-items:center;justify-content:space-between;padding:0 2px}
.request-class-heading strong{font-size:13px}
.request-class-heading span{color:var(--muted);font-size:9px}
.request-class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.request-reset-tile span{display:inline;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:0}
.request-reset-tile small{display:none}
.request-reset-tile strong{display:inline;margin:0;color:inherit;font-size:9px;line-height:1}
.request-reset-tile{
  min-width:0;
  min-height:26px;
  height:26px;
  box-sizing:border-box;
  padding:0 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface-strong);
  color:var(--muted);
  box-shadow:var(--shadow-soft);
  text-align:center;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}
@media(max-width:759px){
  .request-head{align-items:flex-start;flex-direction:column}
}
@media(max-width:420px){
  .request-reset-tile{min-width:0;padding:0 9px}.request-reset-tile strong{font-size:9px}
}

/* v5.4.1 communication - canonical */

/* v5.4.3 ARCHITECT - base communication migrated from app.css */
.communication-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:17px;
  margin-top:17px;
}

.communication-grid > .request-composer{
  grid-column:1 / 3;
  grid-row:1;
}

.communication-grid > .request-list-card{
  grid-column:3 / 5;
  grid-row:1;
}

.communication-grid > .assessment-card{
  grid-column:5 / 7;
  grid-row:1;
}

.communication-grid > .chat-card{
  grid-column:1 / 4;
  grid-row:2;
}

.communication-grid > .post-card{
  grid-column:4 / 7;
  grid-row:2;
}

.communication-grid > .echo-card{
  grid-column:1 / -1;
  grid-row:3;
}
.quick-request-grid{position:relative;z-index:1;display:grid;
  align-content:start;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.quick-request-grid button{min-height:96px;padding:14px 10px;border:1px solid var(--line);border-radius:17px;background:var(--surface-strong);box-shadow:var(--shadow-soft);cursor:pointer;transition:.18s ease}

.quick-request-grid button span{display:grid;place-items:center;width:30px;height:30px;margin:0 auto 9px;border-radius:10px;background:rgba(114,87,246,.1);color:var(--purple);font-size:16px;font-weight:900}
.quick-request-grid strong,.quick-request-grid small{display:block;font-weight:600;}.quick-request-grid strong{font-size:12px}.quick-request-grid small{margin-top:3px;color:var(--muted);font-size:9px;font-weight:600;}

.request-list{position:relative;z-index:1;display:grid;gap:8px;max-height:470px;overflow:auto;padding-right:3px;overscroll-behavior:contain}
.request-item{padding:14px;border:1px solid var(--line);border-radius:17px;background:var(--surface-strong);box-shadow:var(--shadow-soft)}
.request-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.request-title{font-size:13px;font-weight:850}.request-detail{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5;font-weight:600;}.request-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;color:var(--muted);font-size:10px;font-weight:600;}.vote-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:26px;height:26px;padding:0 8px;border:1px solid var(--line);border-radius:999px;cursor:pointer;font-size:8.5px;font-weight:850;line-height:1;white-space:nowrap}.vote-button.is-voted{color:var(--purple);border-color:rgba(114,87,246,.25);background:rgba(114,87,246,.09)}

.chat-window{position:relative;z-index:1;height:370px;overflow:auto;padding:13px;border:1px solid var(--line);border-radius:18px;background:var(--surface-soft);scroll-behavior:smooth;overscroll-behavior:contain}
.chat-message{margin-bottom:10px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-strong);box-shadow:var(--shadow-soft)}
.chat-meta{display:flex;align-items:center;gap:8px;margin-bottom:5px;color:var(--muted);font-size:9px;font-weight:600;}.chat-name{font-weight:900}.chat-body{font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-form{position:relative;z-index:1;display:flex;gap:8px;margin-top:10px}.chat-form input{flex:1;min-width:0;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-strong);color:var(--text);outline:none}.chat-form input:focus{border-color:rgba(114,87,246,.45);box-shadow:0 0 0 4px rgba(114,87,246,.08)}.chat-form button{display:grid;place-items:center;width:44px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--purple),var(--blue));cursor:pointer}.chat-form svg{width:17px;height:17px}.form-note{position:relative;z-index:1;min-height:15px;margin-top:6px;color:var(--red);font-size:9px;font-weight:600;}

/* v5.4.3 ARCHITECT - responsive communication migrated from app.css */

@media(hover:hover) and (pointer:fine){
  .quick-request-grid button:hover{
    transform:translateY(-3px);
    border-color:rgba(114,87,246,.28);
  }
}

@media(max-width:899px){
  .communication-grid{
    grid-template-columns:1fr;
  }

  .communication-grid > .request-composer,
  .communication-grid > .request-list-card,
  .communication-grid > .assessment-card,
  .communication-grid > .chat-card,
  .communication-grid > .post-card,
  .communication-grid > .echo-card{
    grid-column:1 / -1;
    grid-row:auto;
  }

  .quick-request-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:680px){
  .quick-request-grid{
    grid-template-columns:repeat(3,1fr);
    gap:8px;
  }

  .quick-request-grid button{
    min-height:91px;
  }

  .chat-window{
    height:auto;
    min-height:0;
    max-height:330px;
  }
}

@media(max-width:430px){
  .quick-request-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(min-width:760px){
  .quick-request-grid-four{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

.view[data-view="communication"] .page-heading{
  margin-bottom:18px;
}

.view[data-view="communication"] .communication-subtitle{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

/* assessment board */
.assessment-card{
  grid-column:auto;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:15px 18px;
  background:var(--surface);
}

.assessment-card .assessment-head{
  margin-bottom:10px;
}

.assessment-class-chip{
  flex:0 0 auto;
  width:auto;
  min-height:28px;
  height:28px;
  padding:0 10px;
  white-space:nowrap;
  cursor:pointer;
}

.assessment-list{
  display:grid;
  flex:1 1 0;
  gap:8px;
  width:100%;
  min-height:0;
  max-height:none;
  padding:4px 7px 25px;
  box-sizing:border-box;
  overflow-y:auto;
  overflow-x:hidden;
  align-content:start;
  -webkit-mask-image:linear-gradient(
    to bottom,
    #000 0%,
    #000 calc(100% - 26px),
    transparent 100%
  );
  mask-image:linear-gradient(
    to bottom,
    #000 0%,
    #000 calc(100% - 26px),
    transparent 100%
  );
}

.assessment-date-group{
  display:grid;
  gap:3px;
  width:100%;
  min-width:0;
}

.assessment-date-heading{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  padding:0 2px;
}

.assessment-date-heading strong{
  order:1;
  flex:0 0 auto;
}

.assessment-date-heading::after{
  content:"";
  order:2;
  flex:1 1 auto;
  height:1px;
  background:var(--line);
}

.assessment-date-heading span{
  order:3;
  flex:0 0 auto;
}

.assessment-date-heading strong{
  font-size:13px;
  font-weight:850;
}

.assessment-date-heading span{
  color:var(--muted);
  font-size:9px;
  font-weight:800;
}

.assessment-date-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:7px;
}

.assessment-item{
  width:100%;
  min-width:0;
  min-height:42px;
  box-sizing:border-box;
  padding:6px 8px 6px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface-strong);
  box-shadow:0 4px 14px rgba(43,48,67,.055);
}

.assessment-item-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  width:100%;
  min-width:0;
}

.assessment-item-copy{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  overflow:hidden;
}

.assessment-subject{
  flex:0 1 auto;
  max-width:42%;
  min-width:0;
  color:var(--text);
  font-size:11.5px;
  font-weight:900;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.assessment-detail{
  flex:1 1 auto;
  min-width:0;
  margin:0;
  color:var(--muted);
  font-size:9.5px;
  font-weight:650;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.assessment-item-tools{
  display:flex;
  align-items:center;
  gap:5px;
  flex:0 0 auto;
}

.assessment-period,
.assessment-delete{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  height:28px;
  min-height:28px;
  padding:0 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--text);
  font-size:8.5px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
}

.assessment-delete{
  color:var(--muted);
  cursor:pointer;
}

.assessment-card .empty-state{
  display:grid;
  place-items:center;
  min-height:96px;
  padding:18px;
  border:0;
  border-radius:14px;
  background:var(--surface-soft);
  color:var(--muted);
  font-size:11px;
  font-weight:750;
  line-height:1.55;
  text-align:center;
}

.assessment-composer-pill{
  display:flex;
  align-items:center;
  gap:6px;
  width:100%;
  box-sizing:border-box;
  margin-top:11px;
  padding:7px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface-strong);
  box-shadow:var(--shadow-soft);
}

.assessment-compose-field,
.assessment-add{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  min-width:0;
  height:36px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--text);
  padding:1px 12px 0;
  font:inherit;
  font-size:10px;
  font-weight:850;
  line-height:1;
  text-align:center;
  vertical-align:middle;
  cursor:pointer;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.assessment-compose-field{
  flex:0 0 auto;
  width:auto;
}

#assessment-date-field,
#assessment-period-subject-field{
  border-color:transparent;
  background:rgba(114,87,246,.10);
  color:var(--purple);
}

#assessment-date-field.has-value,
#assessment-period-subject-field.has-value{
  border:1px solid transparent;
  background:
    linear-gradient(135deg,var(--purple),var(--blue)) padding-box,
    linear-gradient(135deg,var(--purple),var(--blue)) border-box;
  box-shadow:none;
  color:#fff;
  outline:0;
  filter:none;
  transform:none;
  appearance:none;
  -webkit-appearance:none;
}

.assessment-detail-input{
  flex:1 1 180px;
  min-width:0;
  height:36px;
  box-sizing:border-box;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--text);
  padding:0 13px;
  outline:0;
  font:inherit;
  font-size:10px;
  font-weight:700;
}

.assessment-detail-input::placeholder{
  color:var(--muted);
}

.assessment-detail-input:focus{
  border-color:rgba(82,92,220,.38);
  box-shadow:0 0 0 3px rgba(91,94,230,.09);
}

.assessment-add{
  flex:0 0 36px;
  width:36px;
  padding:1px 0 0;
  border:1px solid transparent;
  background:
    linear-gradient(135deg,var(--purple),var(--blue)) padding-box,
    linear-gradient(135deg,var(--purple),var(--blue)) border-box;
  box-shadow:none;
  color:#fff;
  font-size:20px;
  line-height:1;
  outline:0;
  filter:none;
  transform:none;
  appearance:none;
  -webkit-appearance:none;
}

.assessment-add:disabled{
  opacity:.38;
  cursor:default;
}

/* assessment signal-style picker */
.assessment-picker-panel{
  width:min(560px,calc(100vw - 24px));
  height:auto;
  min-height:0;
  max-height:min(82dvh,760px);
  overflow:hidden;
}

.assessment-picker-body{
  flex:0 0 auto;
  min-height:0;
  padding:14px 18px 8px;
  overflow:auto;
}

.assessment-picker-actions{
  display:block;
  flex:0 0 auto;
  padding:8px 18px 18px;
  border-top:0;
}

.assessment-picker-actions #assessment-picker-apply{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:46px;
  height:46px;
  margin:0;
  padding:0 16px;
  border:0;
  border-radius:15px;
  background:linear-gradient(135deg,var(--purple),var(--blue));
  box-shadow:0 6px 18px rgba(74,82,210,.16);
  color:#fff;
  font-size:14px;
  font-weight:900;
  line-height:1;
}

.assessment-picker-actions #assessment-picker-apply:disabled{
  opacity:.38;
  cursor:default;
}

.assessment-calendar-controls{
  display:grid;
  grid-template-columns:38px minmax(74px,1fr) 38px;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}

.assessment-calendar-controls strong{
  min-width:74px;
  text-align:center;
  font-size:12px;
  font-weight:850;
  line-height:1;
}

.assessment-calendar-controls button{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface-strong);
  color:var(--text);
  font-size:22px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
}

.assessment-calendar-controls button svg{
  display:block;
  width:18px;
  height:18px;
  margin:0;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.assessment-calendar-weekdays,
.assessment-calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:6px;
}

.assessment-calendar-weekdays{
  margin-bottom:7px;
}

.assessment-calendar-weekdays span{
  display:grid;
  place-items:center;
  min-height:24px;
  color:var(--muted);
  font-size:9px;
  font-weight:850;
}

.assessment-calendar-grid button{
  aspect-ratio:1;
  min-width:0;
  border:1px solid transparent;
  border-radius:13px;
  background:var(--surface-strong);
  color:var(--text);
  font:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}

.assessment-calendar-grid button.is-today{
  border-color:var(--purple);
}

.assessment-calendar-grid button.is-selected{
  color:#fff;
  border:1px solid transparent;
  background:
    linear-gradient(135deg,var(--purple),var(--blue)) padding-box,
    linear-gradient(135deg,var(--purple),var(--blue)) border-box;
  box-shadow:none;
  outline:0;
  filter:none;
  transform:none;
  appearance:none;
  -webkit-appearance:none;
}

.assessment-calendar-grid button:disabled{
  opacity:.3;
  cursor:default;
}

.assessment-selected-dates{
  min-height:38px;
  margin-top:14px;
  padding:10px 12px;
  box-sizing:border-box;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface-strong);
  color:var(--muted);
  font-size:10px;
  font-weight:750;
  line-height:1.5;
}

.assessment-period-subject-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 138px;
  gap:10px;
  align-items:end;
}

.assessment-period-pane,
.assessment-subject-pane{
  display:flex;
  flex-direction:column;
  align-self:end;
  min-width:0;
  gap:0;
  padding-left:0;
  border-left:0;
}

.assessment-period-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.assessment-subject-pane{
    align-self:end;
    min-width:0;
    gap:0;
    padding-left:0;
    border-left:0;
}

.assessment-subject-pane > strong{
  display:none;
}

#assessment-subject-input{
  width:100%;
  min-width:0;
  height:48px;
  min-height:48px;
  box-sizing:border-box;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--surface-strong);
  color:var(--text);
  padding:0 13px;
  outline:0;
  font:inherit;
  font-size:12px;
  font-weight:750;
}

#assessment-subject-input:focus{
  border-color:rgba(82,92,220,.38);
  box-shadow:0 0 0 3px rgba(91,94,230,.09);
}

.assessment-period-grid button{
  min-height:48px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--surface-strong);
  color:var(--text);
  font:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}

.assessment-period-grid button.is-selected{
  color:#fff;
  border:1px solid transparent;
  background:
    linear-gradient(135deg,var(--purple),var(--blue)) padding-box,
    linear-gradient(135deg,var(--purple),var(--blue)) border-box;
  box-shadow:none;
  outline:0;
  filter:none;
  transform:none;
  appearance:none;
  -webkit-appearance:none;
}


/* mobile request and assessment */
@media(max-width:759px){
  .communication-grid{
    gap:10px;
  }

  .request-composer{
    margin-bottom:0;
    padding-left:19px;
    padding-right:19px;
    padding-bottom:19px;
  }

  .request-list-card{
    height:auto;
    min-height:0;
    margin-bottom:0;
    padding:19px;
    align-self:start;
  }

  .request-list-card .section-head{
    margin-bottom:8px;
  }

  .request-list-card .request-list{
    display:grid;
    flex:none;
    box-sizing:border-box;
    width:100%;
    height:auto;
    min-height:0;
    max-height:none;
    margin:0;
    padding:0;
    overflow:visible;
    align-content:start;
  }

  .request-list-card .empty-state,
  .assessment-card .empty-state{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:42px;
    height:42px;
    margin:0;
    padding:0 14px;
    box-sizing:border-box;
    border-radius:999px;
    color:var(--text);
    font-size:11px;
    font-weight:850;
    line-height:1;
    text-align:center;
  }

  .request-list-card .request-class-group{
    display:grid;
    gap:4px;
    box-sizing:border-box;
    width:100%;
    margin:0;
    padding:0;
    overflow:visible;
  }

  .request-list-card .request-class-grid{
    box-sizing:border-box;
    width:100%;
    margin:0;
    padding:0;
    overflow:visible;
  }

  .request-list-card .request-class-grid{
    grid-template-columns:1fr;
    gap:6px;
  }

  .request-list-card .request-class-heading{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:7px;
    width:100%;
    margin:0 0 2px;
    padding:0;
  }

  .request-list-card .request-class-heading strong{
    order:1;
    flex:0 0 auto;
  }

  .request-list-card .request-class-heading::after{
    content:"";
    order:2;
    flex:1 1 auto;
    min-width:14px;
    height:1px;
    background:var(--line);
  }

  .request-list-card .request-class-heading span{
    order:3;
    flex:0 0 auto;
  }

  .request-list-card .request-item{
    display:block;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    min-height:42px;
    margin:0;
    padding:7px 9px;
    border:1px solid var(--line);
    border-radius:999px;
    background:var(--surface-strong);
    box-shadow:0 4px 14px rgba(43,48,67,.055);
    overflow:hidden;
  }

  .request-list-card .request-main{
    display:flex;
    align-items:center;
    gap:7px;
    width:100%;
    min-width:0;
  }

  .request-list-card .request-title{
    flex:0 1 auto;
    min-width:0;
    margin:0;
    font-size:11px;
    font-weight:850;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .request-list-card .request-time{
    flex:0 0 auto;
    color:var(--muted);
    font-size:8.5px;
    font-weight:750;
    line-height:1;
    white-space:nowrap;
  }

  .request-list-card .request-actions{
    display:flex;
    align-items:center;
    gap:5px;
    flex:0 0 auto;
    margin-left:auto;
  }


  .request-list-card .request-detail{
    min-width:0;
    margin:4px 0 0;
    color:var(--muted);
    font-size:8.5px;
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .request-composer .quick-request-grid-four,
  .request-list-card .request-list{
    margin-bottom:0;
    padding-bottom:0;
  }

  .request-composer .form-note:empty,
  .chat-card .form-note:empty,
  .assessment-card .form-note:empty{
    display:none;
    margin:0;
    min-height:0;
  }

  .assessment-card{
    height:auto;
    min-height:0;
    padding:19px;
  }

  .assessment-card .assessment-head{
    margin-bottom:8px;
  }

  .assessment-list{
    flex:none;
    width:100%;
    height:auto;
    min-height:auto;
    max-height:none;
    padding:0;
    overflow:visible;
    -webkit-mask-image:none;
    mask-image:none;
  }

  .assessment-date-grid{
    grid-template-columns:1fr;
    gap:8px;
  }

  .assessment-item{
    min-height:42px;
    padding:6px 8px 6px 12px;
}

  .assessment-composer-pill{
    display:flex;
    gap:5px;
    margin-top:8px;
    border-radius:999px;
    padding:6px;
  }

  .assessment-compose-field{
    flex:0 0 auto;
    width:auto;
    padding-left:9px;
    padding-right:9px;
  }

  .assessment-detail-input{
    flex:1 1 auto;
    min-width:0;
    padding-left:10px;
    padding-right:10px;
  }

  .assessment-add{
    flex:0 0 36px;
    width:36px;
    height:36px;
    min-height:36px;
  }

  .assessment-picker-panel{
    width:min(calc(100vw - 24px),560px);
    max-width:none;
    height:auto;
    min-height:0;
    max-height:calc(100dvh - 28px);
}

  .assessment-picker-body{
    flex:0 0 auto;
    min-height:0;
    padding:12px 14px 6px;
    overflow:auto;
}

  .assessment-calendar-weekdays,
  .assessment-calendar-grid{
    gap:4px;
  }

  .assessment-calendar-grid button{
    border-radius:11px;
  }

  .assessment-period-subject-layout{
    grid-template-columns:minmax(0,1fr) 125px;
    gap:8px;
    align-items:end;
}

  .assessment-subject-pane{
    padding-left:8px;
  }

  #assessment-subject-input{
    width:100%;
    min-width:0;
    height:48px;
    min-height:48px;
    padding:0 11px;
    border-radius:14px;
    font-size:11px;
}

  .assessment-period-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}



@media(min-width:1024px){
  .communication-grid{
    margin-top:12px;
    display:grid;
    grid-template-columns:
      repeat(6,minmax(0,1fr));
    gap:14px;
    align-items:stretch;
  }

  .communication-grid > .request-composer{
    min-width:0;
    min-height:clamp(390px,34vw,500px);
    height:auto;
    align-self:stretch;
    padding:14px 16px;
    background:var(--surface);
  }

  .communication-grid > .request-list-card,
  .communication-grid > .assessment-card{
    min-width:0;
    min-height:clamp(390px,34vw,500px);
    height:auto;
    padding:14px 16px;
    background:var(--surface);
  }

  .request-list-card,
  .chat-card{
    display:flex;
    flex-direction:column;
  }

  .request-list-card{
    overflow:hidden;
  }

  .request-composer .request-head{
    margin-bottom:6px;
  }

  .request-list-card .section-head,
  .chat-card .section-head{
    margin-bottom:10px;
  }

  .request-composer .quick-request-grid-four{
    grid-template-columns:1fr;
    gap:7px;
  }

  .request-composer .quick-request-grid-four button{
    min-height:57px;
    padding:6px 10px;
    border-radius:14px;
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:11px;
    row-gap:1px;
    align-items:center;
    justify-items:start;
    text-align:left;
  }

  .request-composer .quick-request-grid-four button > span{
    width:36px;
    height:36px;
    margin:0;
    grid-column:1;
    grid-row:1 / 3;
    align-self:center;
    justify-self:start;
  }

  .request-composer .quick-request-grid-four button .request-icon svg{
    width:20px;
    height:20px;
  }

  .request-composer .quick-request-grid-four button > strong{
    grid-column:2;
    font-size:12.5px;
    text-align:left;
    justify-self:start;
  }

  .request-list-card .request-list{
    display:grid;
    flex:1 1 0;
    width:100%;
    min-height:0;
    max-height:none;
    box-sizing:border-box;
    padding:4px 7px 25px;
    overflow-y:auto;
    overflow-x:hidden;
    align-content:start;
    grid-auto-rows:max-content;
    -webkit-mask-image:linear-gradient(
      to bottom,
      #000 0%,
      #000 calc(100% - 26px),
      transparent 100%
    );
    mask-image:linear-gradient(
      to bottom,
      #000 0%,
      #000 calc(100% - 26px),
      transparent 100%
    );
  }

  .request-list-card .request-class-group{
    display:grid;
    grid-template-rows:auto auto;
    align-content:start;
    width:100%;
    height:auto;
    min-height:0;
    margin:0;
    padding:0;
  }

  .request-list-card .request-class-heading{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:7px;
    width:100%;
    margin:0 0 3px;
    padding:0;
  }

  .request-list-card .request-class-heading strong{
    order:1;
    flex:0 0 auto;
  }

  .request-list-card .request-class-heading::after{
    content:"";
    order:2;
    flex:1 1 auto;
    height:1px;
    background:var(--line);
  }

  .request-list-card .request-class-heading span{
    order:3;
    flex:0 0 auto;
  }

  .request-list-card .request-class-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    width:100%;
    margin:0;
    padding:0;
  }

  .request-list-card .request-item{
    display:block;
    min-width:0;
    min-height:44px;
    padding:6px 10px;
    border:1px solid var(--line);
    border-radius:999px;
    background:var(--surface-strong);
    box-shadow:0 4px 14px rgba(43,48,67,.055);
    overflow:hidden;
  }

  .request-list-card .request-main{
    display:flex;
    align-items:center;
    gap:7px;
    width:100%;
    min-width:0;
  }

  .request-list-card .request-title{
    flex:0 1 auto;
    min-width:0;
    font-size:11px;
    font-weight:850;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .request-list-card .request-time{
    flex:0 0 auto;
    color:var(--muted);
    font-size:8.5px;
    font-weight:750;
    line-height:1;
    white-space:nowrap;
  }

  .request-list-card .request-actions{
    display:flex;
    align-items:center;
    gap:5px;
    flex:0 0 auto;
    margin-left:auto;
  }

  .request-list-card .vote-button{
    min-width:94px;
    margin:0;
  }

  .request-list-card .request-detail{
    min-width:0;
    margin:4px 0 0;
    color:var(--muted);
    font-size:8.5px;
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .chat-card .chat-window{
    flex:1 1 auto;
    min-height:270px;
    height:auto;
    max-height:none;
    padding:10px;
  }

  .chat-card .chat-form{
    flex:0 0 auto;
    margin-top:7px;
    gap:7px;
  }

  .chat-card .form-note{
    flex:0 0 auto;
  }

  .request-composer .request-head{
    position:relative;
    align-items:flex-start;
  }

  .request-composer .request-head > div:first-child{
    width:auto;
    flex:1 1 auto;
    min-width:0;
  }

  .request-composer .v411-class-chip,
  .request-composer #v411-role-display{
    flex:0 0 auto;
    margin-left:auto;
  }

  .request-composer .form-note:empty,
  .chat-card .form-note:empty,
  .assessment-card .form-note:empty{
    display:none;
    min-height:0;
    margin:0;
    padding:0;
  }

  .request-list-card .request-reset-tile{
    min-width:0;
    padding:0 9px;
    border-radius:999px;
  }

  .chat-card .chat-form input{
    height:40px;
  }

  .chat-card .chat-form button{
    width:40px;
  }

}

@media(min-width:1100px){
  .communication-grid{
    grid-template-columns:
      repeat(6,minmax(0,1fr));
    gap:14px;
  }

  .communication-grid > .request-composer{
    min-height:clamp(350px,calc(50vw - 230px),410px);
    height:auto;
    align-self:stretch;
    padding:15px 18px;
  }

  .communication-grid > .request-list-card,
  .communication-grid > .assessment-card{
    min-height:clamp(350px,calc(50vw - 230px),410px);
    height:auto;
    padding:15px 18px;
  }

  .request-composer .quick-request-grid-four{
    gap:9px;
  }

  .request-composer .quick-request-grid-four button{
    min-height:68px;
    padding:6px 10px;
    border-radius:15px;
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:12px;
    row-gap:1px;
    align-items:center;
    justify-items:start;
    text-align:left;
  }

  .request-composer .quick-request-grid-four button > span{
    width:38px;
    height:38px;
    margin:0;
    grid-column:1;
    grid-row:1 / 3;
    align-self:center;
    justify-self:start;
  }

  .request-composer .quick-request-grid-four button .request-icon svg{
    width:21px;
    height:21px;
  }

  .request-composer .quick-request-grid-four button > strong{
    grid-column:2;
    font-size:13px;
    text-align:left;
    justify-self:start;
  }

  .request-composer .quick-request-grid-four button > small{
    grid-column:2;
    margin-top:1px;
    font-size:9.5px;
    font-weight:600;
    text-align:left;
    justify-self:start;
  }

  .request-list-card .request-class-grid{
    gap:7px;
  }

  .request-list-card .request-item{
    min-height:44px;
    padding:6px 10px;

  border-radius:999px;
}

  .request-list-card .request-title{
    font-size:11px;
}

  .request-list-card .request-detail{
    margin-top:4px;
    font-size:8.5px;
}

  .request-list-card .request-meta{
    margin-top:5px;
    font-size:8.5px;
  }

  .request-list-card .vote-button{
    min-width:100px;
    margin:0;
  }

  .chat-card .chat-window{
    min-height:290px;
  }
}


@media(min-width:1024px){
  .communication-grid > .chat-card{
    grid-column:1 / 4;
    min-height:clamp(320px,28vw,410px);
    height:auto;
    padding:15px 18px;
    background:var(--surface);
  }
}

/* v5.4.3 ARCHITECT - quick request migrated from v411-fun.css */

/* v5.1 canonical mobile quick request base */
@media(max-width:759px){
  .quick-request-grid,
  .quick-request-grid-four{
    gap:10px;
  }

  .quick-request-grid button{
    min-height:84px;
    padding:12px 8px;
  }

  .quick-request-grid button span{
    margin-bottom:7px;
  }

}

/* v5.1 canonical quick request icons */
.quick-request-grid .request-icon{
  display:grid;
  place-items:center;
  flex:none;
}

.quick-request-grid .request-icon svg{
  display:block;
  width:19px;
  height:19px;
  margin:0;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* v5.1 canonical mobile quick request row */
@media(max-width:759px){
  .quick-request-grid-four{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    row-gap:10px;
    column-gap:10px;
  }

  .quick-request-grid-four button{
    display:grid;
    grid-template-columns:46px minmax(0,1fr);
    grid-template-rows:min-content min-content;
    align-items:center;
    justify-items:start;
    width:100%;
    min-width:0;
    height:auto;
    min-height:auto;
    padding:10px 12px;
    column-gap:10px;
    row-gap:1px;
    border-radius:15px;
    text-align:left;
  }

  .quick-request-grid-four button .request-icon{
    display:grid;
    grid-column:1;
    grid-row:1 / 3;
    place-items:center;
    width:46px;
    height:46px;
    margin:0;
    border-radius:9px;
    background:rgba(114,87,246,.065);
    color:var(--purple);
  }

  .quick-request-grid-four button .request-icon svg{
    width:22px;
    height:22px;
  }

  .quick-request-grid-four [data-request-type="aircon"] .request-icon svg{
    stroke-width:1.55;
  }

  .quick-request-grid-four button > strong{
    display:block;
    grid-column:2;
    grid-row:1;
    align-self:end;
    width:auto;
    height:auto;
    min-height:0;
    margin:0;
    padding:0;
    overflow:visible;
    font-size:13px;
    line-height:1.2;
    text-align:left;
    text-overflow:clip;
    white-space:nowrap;
  }

  .quick-request-grid-four button > small{
    display:block;
    grid-column:2;
    grid-row:2;
    align-self:start;
    width:auto;
    height:auto;
    min-height:0;
    margin:2px 0 0;
    overflow:visible;
    color:var(--muted);
    font-size:10px;
    line-height:1.2;
    text-align:left;
    text-overflow:clip;
    white-space:nowrap;font-weight:600;}
}

/* v5.4.3 ARCHITECT - ECHO UI migrated from v415-echo.css */
.chat-card .chat-form[hidden]{
  display:none;
}
.echo-post{
  position:relative;
}
.echo-post > .chat-meta{
  align-items:center;
  padding-right:42px;
}
.echo-post .echo-close{
  position:absolute;
  top:10px;
  right:10px;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  padding:0;
  border-radius:10px;
}
.echo-post .echo-close svg{
  width:15px;
  height:15px;
}


/* v5.5 PIVOT - meal reaction */
