/*!*************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../opt/scooly-dev/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!../opt/scooly-dev/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }
  .resize {
    resize: both;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
}
:root {
  --color-primary: #2563EB;
  --color-primary-hover: #1D4ED8;
  --color-secondary: #0F766E;
  --color-accent: #FACC15;
  --color-background: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-border: #CBD5E1;
  --color-text: #0F172A;
  --color-text-secondary: #475569;
  --color-text-inverse: #FFFFFF;
  --color-message-own: #DBEAFE;
  --color-message-own-text: #172554;
  --color-message-other: #FFFFFF;
  --color-message-other-text: #0F172A;
  --color-success: #15803D;
  --color-info: #2563EB;
  --color-warning: #B45309;
  --color-error: #B91C1C;
  --color-success-bg: #DCFCE7;
  --color-info-bg: #DBEAFE;
  --color-warning-bg: #FEF3C7;
  --color-error-bg: #FEE2E2;
  --color-disabled: #94A3B8;
  --color-focus: #2563EB;
  --color-moderation-text: #92400E;
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: var(--color-background);
  color: var(--color-text);
}
body {
  margin: 0;
}
main {
  max-width: 42rem;
  margin: 12vh auto;
  padding: 2rem;
}
.access-shell {
  overflow-wrap: anywhere;
}
.access-shell :is(form,fieldset,input,button,output) {
  min-width: 0;
  max-width: 100%;
}
@media (max-width:480px) {
  .access-shell {
    margin: 2rem auto;
    padding: 1rem;
  }
}
h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.15;
  font-weight: 750;
}
p {
  margin-block: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}
.scooly-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border-radius: .5rem;
  vertical-align: middle;
  text-decoration: none;
}
.scooly-brand picture,.scooly-brand img {
  display: block;
}
.scooly-brand img {
  width: 8.5rem;
  height: auto;
  object-fit: contain;
}
.scooly-brand--logo img {
  width: 2rem;
}
.scooly-brand--wordmark img {
  width: 7rem;
}
.brand-entry {
  margin: 0 0 1.25rem -8px;
}
.brand-entry img {
  width: 11rem;
  max-width: calc(100vw - 4rem);
}
.home-entry {
  max-width: 28rem;
}
.home-wordmark {
  display: flex;
  justify-content: center;
  margin: 0 0 1.5rem;
}
.home-wordmark .scooly-brand {
  max-width: 100%;
  box-sizing: border-box;
}
.home-wordmark img {
  width: 20rem;
  max-width: 100%;
}
.workspace-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.workspace-heading h1 {
  overflow-wrap: anywhere;
}
.moderation-shell .chat-header {
  flex-wrap: wrap;
}
@media (max-width:600px) {
  .scooly-brand--compact img {
    width: 2rem;
    height: 2rem;
  }
}
output {
  display: block;
  padding: 1rem;
  background: var(--color-info-bg);
  border-radius: .75rem;
}
form {
  max-width: 28rem;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}
input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: .75rem;
  border: 1px solid var(--color-text-secondary);
  border-radius: .5rem;
  background: var(--color-surface);
  color: inherit;
  font: inherit;
}
button {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border: 0;
  border-radius: .5rem;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button:not(:disabled):hover {
  background: var(--color-primary-hover);
}
button.secondary:not(:disabled):hover {
  background: var(--color-info-bg);
  color: var(--color-primary-hover);
}
button:disabled {
  background: var(--color-disabled);
  color: var(--color-text);
  cursor: not-allowed;
}
button.secondary {
  display: block;
  background: transparent;
  color: var(--color-primary);
  text-align: left;
  padding-left: 0;
}
a {
  color: var(--color-primary);
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--color-info-bg);
  padding: 1rem;
  border-radius: .5rem;
}
output:empty {
  display: none;
}
textarea,select {
  box-sizing: border-box;
  width: 100%;
  padding: .75rem;
  border: 1px solid var(--color-text-secondary);
  border-radius: .5rem;
  background: var(--color-surface);
  color: inherit;
  font: inherit;
}
textarea {
  resize: vertical;
  min-height: 6rem;
}
.chat-shell {
  max-width: 52rem;
  margin: 2rem auto;
  padding: 1.25rem;
}
.chat-shell h1 {
  font-size: 2rem;
  margin: .5rem 0;
}
.chat-shell h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 .75rem;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.chat-header button {
  margin: 0;
}
.chat-info {
  padding: 1rem;
  background: var(--color-info-bg);
  border-radius: .75rem;
  line-height: 1.6;
}
.chat-card {
  background: var(--color-surface);
  padding: 1rem;
  border-radius: .75rem;
  margin: .75rem 0;
  border: 1px solid var(--color-border);
  overflow-wrap: anywhere;
}
.chat-card p {
  margin: .5rem 0;
}
.chat-card time {
  margin-left: .75rem;
  font-size: .85rem;
  color: var(--color-text-secondary);
}
.chat-card .secondary {
  display: inline-block;
  margin: .5rem 1.25rem 0 0;
}
.message-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-meta {
  font-size: .875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.own-card {
  border-left: 4px solid var(--color-primary);
  background: var(--color-message-own);
  color: var(--color-message-own-text);
}
:is(.own-card,.chat-info,output,pre) :is(a,button.secondary) {
  color: var(--color-primary-hover);
}
.composer {
  max-width: none;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: .75rem;
  margin-top: 1.5rem;
  background: var(--color-surface);
}
.chat-help {
  margin-top: 2rem;
  line-height: 1.6;
}
.chat-help summary {
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 600;
}
.connection:empty {
  display: none;
}
@media (max-width:480px) {
  .chat-shell {
    margin: .5rem auto;
    padding: 1rem;
  }
  .chat-card {
    padding: .75rem;
  }
}
.moderation-shell {
  max-width: 76rem;
  margin: 2rem auto;
  padding: 1.25rem;
}
.moderation-shell h1 {
  font-size: 2rem;
}
.moderation-shell h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
}
.moderation-shell h3 {
  font-size: 1.15rem;
  font-weight: 650;
  margin: 1.25rem 0 .5rem;
}
.moderation-columns {
  display: grid;
  grid-template-columns: minmax(13rem,1fr) minmax(0,3fr);
  gap: 2rem;
}
.moderation-columns > * {
  min-width: 0;
}
.moderation-filters {
  display: flex;
  gap: 1rem;
}
.moderation-filters label {
  flex: 1;
}
.case-list button {
  display: block;
  width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}
.case-list .selected-case {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.case-form,.reason-action form {
  max-width: none;
}
.case-form {
  padding: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: .75rem;
}
.case-issues {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: .75rem;
}
.case-issues legend {
  padding: 0 .5rem;
  font-weight: 650;
}
.checkbox-label {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.checkbox-label input {
  display: inline-block;
  width: auto;
}
.review-warning {
  padding: 1rem;
  border-left: 4px solid var(--color-warning);
  background: var(--color-warning-bg);
  color: var(--color-moderation-text);
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.own-decision {
  margin-top: 1rem;
  padding-top: .5rem;
  border-top: 1px solid var(--color-border);
}
.reason-action {
  margin: .5rem 0;
}
.reason-action:has(form) {
  padding: .75rem;
  border: 1px solid var(--color-border);
  border-radius: .5rem;
}
.moderation-shell output {
  margin: 1rem 0;
}
.moderation-shell article {
  overflow-wrap: anywhere;
}
@media (max-width:760px) {
  .moderation-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .moderation-shell {
    margin: .5rem auto;
    padding: 1rem;
  }
  .moderation-filters {
    flex-direction: column;
    gap: 0;
  }
}
.private-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 32rem;
  object-fit: contain;
  border-radius: .75rem;
  margin: .75rem 0;
}
.image-picker {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: .75rem;
  min-width: 0;
}
.image-picker input[type=file] {
  max-width: 100%;
  font: inherit;
}
.chat-shell textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.composer select,.composer textarea {
  width: 100%;
  padding: .7rem;
  border: 1px solid var(--color-text-secondary);
  border-radius: .5rem;
  margin: .4rem 0 1rem;
  background: var(--color-surface);
  color: var(--color-text);
}
.composer textarea {
  min-height: 7rem;
}
.chat-card output {
  display: block;
  margin: .75rem 0;
  font-weight: 600;
}
.pilot-chat {
  position: fixed;
  inset-inline: 0;
  top: var(--chat-viewport-top,0px);
  height: var(--chat-viewport-height,100dvh);
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border-inline: 1px solid var(--color-border);
}
.pilot-chat * {
  box-sizing: border-box;
  min-width: 0;
}
.pilot-chat p {
  font-size: 1rem;
  line-height: 1.5;
  margin: .45rem 0;
}
.pilot-chat button,.pilot-chat summary {
  min-height: 44px;
  min-width: 44px;
}
.pilot-chat button {
  margin: 0;
  font-size: .9rem;
  line-height: 1.4;
  padding: .55rem .75rem;
}
.pilot-chat .secondary {
  padding: .5rem .65rem;
  border-radius: .65rem;
}
.pilot-chat .secondary:not(:disabled):hover {
  background: var(--color-info-bg);
  color: var(--color-primary-hover);
}
.pilot-chat .chat-header {
  padding: .7rem 1rem;
  flex: none;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.chat-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .85rem;
  align-items: center;
}
.chat-heading .scooly-brand {
  grid-row: span 2;
}
.pilot-chat .chat-heading h1 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere;
}
.pilot-chat .chat-meta {
  font-size: .78rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.chat-header-actions {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.chat-header-actions details {
  position: relative;
}
.pilot-chat summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: .4rem .6rem;
  color: var(--color-primary);
  font-size: .85rem;
  font-weight: 650;
}
.class-menu {
  position: absolute;
  inset-inline-end: 0;
  top: 100%;
  min-width: min(13rem,calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  z-index: 40;
  padding: .6rem;
  display: grid;
  gap: .3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: .75rem;
  overflow-wrap: anywhere;
}
.chat-header-actions details:not([open])>.class-menu {
  display: none;
}
.class-menu a {
  display: block;
  padding: .65rem;
}
.room-switch {
  display: flex;
  gap: .5rem;
  padding: .25rem .75rem;
  border-bottom: 1px solid var(--color-border);
}
.room-selector {
  flex: 1;
}
.room-switch label {
  margin: 0;
  font-size: .8rem;
}
.room-switch select {
  padding: .35rem;
}
.pilot-chat .connection,.pilot-chat .chat-notice {
  flex: none;
  border-radius: 0;
  padding: .4rem .85rem;
  font-size: .85rem;
  line-height: 1.4;
}
.chat-topline {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  position: relative;
  flex: none;
  padding: 0 .5rem;
  border-bottom: 1px solid var(--color-border);
}
.review-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .6rem;
  margin: .35rem 0;
  padding: .3rem .5rem;
  font-size: .8rem;
  color: var(--color-text-secondary);
}
.review-status strong {
  color: var(--color-primary-hover);
}
.review-control {
  border-top: 1px solid var(--color-border);
  padding: .5rem 0;
  overflow-wrap: anywhere;
}
.review-control h2 {
  font-size: 1rem;
  margin: .25rem 0;
}
.review-control p {
  font-size: .85rem;
  line-height: 1.5;
  margin: .4rem 0;
}
.review-control textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .5rem 0;
}
.class-details {
  flex: 1;
}
.class-details[open] {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 25;
  max-height: 60dvh;
  overflow: auto;
  padding: 0 1rem 1rem;
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
}
.class-details .chat-help,.class-details .chat-info {
  margin: .5rem 0;
}
.class-details p {
  font-size: .9rem;
}
.pin-bar {
  flex: 1;
  max-width: 60%;
}
.pin-bar[open] {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  z-index: 24;
  max-height: 40dvh;
  overflow: auto;
  padding: .2rem .5rem;
  min-width: 60%;
  background: var(--color-warning-bg);
  color: var(--color-moderation-text);
  border: 1px solid var(--color-border);
  border-radius: 0 0 .75rem .75rem;
}
.pin-bar button {
  overflow-wrap: anywhere;
}
.pin-bar[open] summary {
  color: var(--color-moderation-text);
}
.timeline-toolbar {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  padding-inline: .5rem;
  flex: none;
}
.timeline-toolbar:empty {
  display: none;
}
.chat-viewport {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
  padding: .75rem 1.2rem 1rem;
  background-color: var(--color-background);
  background-image: radial-gradient(var(--color-border) .7px,transparent .7px);
  background-size: 20px 20px;
}
.message-row {
  display: flex;
  justify-content: flex-start;
  margin: .65rem 0;
  scroll-margin: 1rem;
}
.message-row.message-own {
  justify-content: flex-end;
}
.message-grouped {
  margin-top: .15rem;
}
.message-bubble {
  position: relative;
  max-width: 78%;
  min-width: 9rem;
  padding: .6rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem 1rem 1rem .25rem;
  background: var(--color-message-other);
  color: var(--color-message-other-text);
  overflow-wrap: anywhere;
}
.message-own .message-bubble {
  background: var(--color-message-own);
  color: var(--color-message-own-text);
  border-radius: 1rem 1rem .25rem 1rem;
}
.message-own a,.message-own button.secondary,.private-message-status a {
  color: var(--color-primary-hover);
}
.message-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 28px;
  font-size: .78rem;
  color: var(--color-text-secondary);
}
.message-meta strong {
  color: var(--color-message-other-text);
}
.message-meta time {
  margin-left: auto;
  font-size: .72rem;
  white-space: nowrap;
}
.pilot-chat .message-more {
  min-height: 44px;
  min-width: 44px;
  padding: .1rem .35rem;
}
.message-actions {
  position: relative;
  margin: -.4rem -.4rem -.3rem 0;
}
.message-action-panel {
  position: fixed;
  inset-inline-end: auto;
  bottom: auto;
  z-index: 100;
  min-width: 13rem;
  max-width: min(25rem,85vw);
  max-height: calc(var(--chat-viewport-height,100dvh) - 16px);
  overflow: auto;
  padding: .5rem;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: .75rem;
  box-shadow: 0 .5rem 1.5rem var(--color-border);
}
.message-action-panel .secondary {
  display: block;
  width: 100%;
  text-align: left;
}
.message-action-panel .reason-action {
  margin: 0;
}
.message-action-panel label {
  font-size: .85rem;
}
.message-bubble .message-text {
  margin: .35rem 0;
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-highlight .message-bubble {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}
.day-divider {
  display: flex;
  justify-content: center;
  margin: .85rem 0;
}
.day-divider span {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  color: var(--color-text-secondary);
  font-size: .75rem;
  padding: .25rem .7rem;
}
.private-message-status {
  border-top: 1px solid var(--color-border);
  margin-top: .5rem;
  padding-top: .25rem;
}
.private-message-status .own-decision {
  margin: .5rem 0;
}
.private-revision {
  margin-top: .7rem;
  padding: .5rem;
  border-left: 3px solid var(--color-warning);
  background: var(--color-warning-bg);
  color: var(--color-moderation-text);
  font-size: .8rem;
}
.pilot-chat .reply-preview {
  display: grid;
  gap: .15rem;
  width: 100%;
  text-align: left;
  padding: .45rem .65rem;
  border-left: 3px solid var(--color-secondary);
  background: var(--color-surface);
  font-size: .85rem;
}
.reply-preview span {
  color: var(--color-text-secondary);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.reactions {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .45rem;
}
.pilot-chat .reaction {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  padding: .3rem .55rem;
}
.pilot-chat .reaction[aria-pressed=true] {
  border: 2px solid var(--color-primary);
  background: var(--color-info-bg);
}
.reaction span {
  font-size: .75rem;
}
.chat-empty {
  max-width: 24rem;
  margin: 10vh auto;
  text-align: center;
  color: var(--color-text-secondary);
}
.chat-empty>span {
  font-size: 2rem;
}
.pilot-chat .chat-empty h2 {
  font-size: 1.25rem;
  color: var(--color-text);
}
.pilot-chat .history-load {
  margin: 0 auto .4rem;
  background: var(--color-surface);
}
.pilot-chat .new-messages {
  align-self: center;
  flex: none;
  margin: .2rem;
  border-radius: 2rem;
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.pilot-chat .composer {
  position: relative;
  flex: none;
  max-height: 60%;
  overflow-y: auto;
  margin: 0;
  padding: .6rem .75rem max(.45rem,env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-surface);
}
.composer-line {
  display: flex;
  align-items: flex-end;
  gap: .3rem;
}
.message-label {
  flex: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.message-label>label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.pilot-chat .composer textarea {
  min-height: 44px;
  max-height: 9rem;
  height: auto;
  field-sizing: content;
  margin: 0;
  resize: none;
  padding: .55rem .7rem;
  border-radius: .8rem;
  font-size: 1rem;
  line-height: 1.5;
}
.pilot-chat .composer-tool {
  font-size: 1.4rem;
  min-width: 44px;
  padding: .35rem;
}
.pilot-chat .send-button {
  min-height: 44px;
  padding: .55rem .8rem;
  border-radius: .8rem;
  max-width: 12rem;
}
.pilot-chat .composer-hint {
  font-size: .68rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
  margin: .3rem 0 0;
}
.composer-reference {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  align-items: center;
  margin-bottom: .5rem;
  padding: .35rem .65rem;
  border-left: 3px solid var(--color-secondary);
  background: var(--color-info-bg);
  font-size: .85rem;
}
.composer-reference span {
  flex: 1;
  overflow-wrap: anywhere;
}
.compose-picker,.emoji-picker {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
  padding: .5rem 0;
}
.emoji-picker {
  max-width: 25rem;
}
.pilot-chat .emoji-picker button {
  font-size: 1.4rem;
}
.pilot-chat .image-picker {
  margin: .5rem 0 0;
  padding: .5rem;
}
.image-picker label {
  margin: 0;
}
.image-picker .private-image {
  max-height: 8rem;
  margin: .25rem 0;
}
.pilot-chat .image-open {
  display: block;
  padding: 0;
  margin: .35rem 0;
  background: transparent;
  border-radius: .75rem;
  overflow: hidden;
  max-width: 100%;
}
.image-open:hover {
  background: transparent;
}
.image-open .private-image {
  margin: 0;
  max-height: 22rem;
  max-width: 100%;
}
.poll-card {
  margin-top: .5rem;
}
.poll-card legend {
  font-size: .75rem;
  font-weight: 650;
  color: var(--color-text-secondary);
}
.pilot-chat .poll-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-text-secondary);
  border-radius: .6rem;
  width: 100%;
  margin: .4rem 0;
}
.pilot-chat .poll-option[aria-pressed=true] {
  background: var(--color-info-bg);
  border: 2px solid var(--color-primary);
}
.poll-option[aria-pressed=true] span::before {
  content: '✓ ';
  font-weight: 750;
}
.poll-composer {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.poll-composer legend {
  font-size: .85rem;
  font-weight: 650;
}
.poll-composer label {
  flex: 1 1 10rem;
  margin: 0;
  font-size: .8rem;
}
.poll-composer input {
  padding: .5rem;
}
.chat-search {
  flex: none;
  max-height: 45%;
  overflow: auto;
  padding: .5rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.chat-search label {
  margin: 0;
  font-size: .85rem;
}
.pilot-chat .search-hit {
  display: grid;
  gap: .2rem;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.search-hit span {
  font-weight: 400;
  color: var(--color-text);
  overflow-wrap: anywhere;
}
.image-dialog {
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-surface);
  color: var(--color-text);
  max-width: 96vw;
  width: 70rem;
  max-height: 95dvh;
  overflow: auto;
}
.image-dialog::backdrop {
  background: var(--color-text);
  opacity: .8;
}
.image-dialog-toolbar {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  padding: .6rem;
}
.image-dialog-toolbar h2 {
  font-size: 1rem;
  margin: 0 auto 0 0;
}
.image-dialog-toolbar button {
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  padding: .5rem;
}
.image-dialog-toolbar output {
  font-size: .8rem;
  padding: .3rem;
}
.image-dialog-stage {
  height: 70dvh;
  max-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.image-dialog-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}
@media (max-width:600px) {
  .pilot-chat {
    border: 0;
  }
  .pilot-chat .chat-header {
    padding: .45rem .6rem;
  }
  .chat-heading {
    column-gap: .5rem;
  }
  .pilot-chat .chat-heading h1 {
    font-size: .95rem;
  }
  .chat-viewport {
    padding: .5rem .6rem;
  }
  .message-bubble {
    max-width: 88%;
    padding: .45rem .65rem;
  }
  .pilot-chat .composer {
    padding: .4rem .45rem max(.35rem,env(safe-area-inset-bottom));
  }
  .composer-line {
    gap: .15rem;
  }
  .pilot-chat .send-button {
    padding: .5rem;
    font-size: .8rem;
    max-width: 8rem;
  }
  .pilot-chat .composer-tool {
    padding: .2rem;
  }
  .chat-header-actions {
    gap: 0;
  }
  .pilot-chat .chat-meta {
    font-size: .75rem;
  }
  .pilot-chat .chat-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: .1rem .2rem;
    align-items: center;
  }
  .chat-heading {
    display: contents;
  }
  .chat-heading .scooly-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .chat-header-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .pilot-chat .chat-header-actions .secondary,.pilot-chat .chat-header-actions summary {
    padding: .25rem;
  }
  .pilot-chat .chat-heading h1 {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .chat-heading>.chat-meta {
    grid-column: 1/-1;
    grid-row: 3;
  }
}
@media (max-width:360px) {
  .composer-line {
    display: grid;
    grid-template-columns: 44px 44px minmax(0,1fr);
    gap: .25rem;
  }
  .message-label {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .pilot-chat .send-button {
    justify-self: end;
    max-width: 100%;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.pilot-chat .chat-header {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  padding: 0 .45rem;
  min-height: 44px;
}
.pilot-chat .chat-header-actions {
  margin-left: auto;
}
.pilot-chat .class-menu {
  max-height: 75dvh;
  overflow: auto;
  width: min(24rem,85vw);
}
.class-menu .class-details[open] {
  position: static;
  max-height: none;
  padding: 0;
  border: 0;
}
.pilot-chat .message-bubble {
  padding: .4rem .65rem;
}
.pilot-chat .message-meta {
  min-height: 20px;
  padding-right: 2rem;
  gap: .3rem;
}
.pilot-chat .message-meta strong {
  font-size: .72rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.pilot-chat .message-actions {
  position: absolute;
  top: -.2rem;
  right: -.2rem;
  margin: 0;
}
.pilot-chat .message-more {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: -.05em;
}
.pilot-chat .composer {
  padding-top: .35rem;
}
.login-entry {
  max-width: 28rem;
  margin-block: 6vh;
}
.login-entry .brand-entry {
  margin-bottom: .5rem;
}
.login-entry .brand-entry img {
  width: 8.5rem;
}
.login-wordmark img {
  width: 10rem;
}
.login-entry .device-choice {
  align-items: center;
  flex-wrap: nowrap;
  min-height: 44px;
  font-size: .9rem;
}
.login-entry .device-choice input {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.login-entry p {
  font-size: 1rem;
  margin-block: .85rem;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
    }
  }
}

