/* Shared guest and reception controls, using the Conciera theme. */
input { font: inherit; min-width: 0; }
input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.guest-workspace { min-width: 0; }
.view-switch { display: flex; gap: 6px; margin: 0 0 16px; flex-wrap: wrap; }
.view-switch button { color: var(--color-muted); background: transparent; border: 1px solid transparent; border-radius: 9px; padding: 10px 14px; min-height: 44px; font-size: 14px; }
.view-switch button[aria-pressed="true"] { color: var(--color-link); background: var(--color-answer); border-color: var(--color-border); font-weight: 600; }
.operations-panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: 26px; }
.operation-controls { border: 0; margin: 0; padding: 0; min-width: 0; width: 100%; }
.operation-controls h2 { margin: 10px 0 18px; }
.operation-controls h3 { font-size: 18px; letter-spacing: -.02em; margin: 24px 0 10px; font-weight: 600; }
.operation-controls p, .login-panel p { line-height: 1.65; font-size: 14px; }
.muted { color: var(--color-muted); }
.operation-form { display: grid; gap: 14px; margin: 20px 0; max-width: 620px; }
.field { display: grid; gap: 7px; font-size: 13px; font-weight: 500; min-width: 0; }
.field input, .field textarea, .field select { width: 100%; color: var(--color-foreground); background: var(--color-surface); border: 1px solid var(--color-input-border); padding: 11px 12px; border-radius: 9px; min-height: 44px; font-size: 16px; line-height: 1.5; }
.field textarea { max-height: 350px; }
.field textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.primary, .secondary { border: 1px solid var(--color-input-border); border-radius: 9px; padding: 10px 15px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--color-link); background: var(--color-surface); width: fit-content; max-width: 100%; }
.primary { color: var(--color-on-action); background: var(--color-action); border-color: var(--color-action); }
.primary:hover:not(:disabled) { background: var(--color-action-hover); }
.secondary:hover:not(:disabled) { background: var(--color-answer); }
.operation-controls > .primary, .operation-controls > .secondary { margin: 8px 8px 8px 0; }
.feedback { padding: 12px 16px; border: 1px solid var(--color-border); background: var(--color-answer); color: var(--color-foreground); border-radius: 9px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.feedback.operation-error { color: var(--color-error); background: var(--color-error-background); }
.empty-state { padding: 20px; border: 1px dashed var(--color-input-border); border-radius: 12px; color: var(--color-muted); line-height: 1.7; }
.service-card { margin: 10px 0; }
.service-card .operation-form { padding: 0 2px; }
.terms { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 3fr); gap: 12px 20px; font-size: 14px; margin: 20px 0; line-height: 1.7; }
.terms dt { color: var(--color-muted); }
.terms dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.badge { display: inline-block; font-size: 12px !important; padding: 5px 9px; background: var(--color-answer); color: var(--color-link); border-radius: 7px; margin: 6px 0; }
.events { list-style: none; padding: 0 0 0 16px; border-left: 2px solid var(--color-border); margin: 20px 0; }
.events li { padding: 5px 0 14px 10px; }
.events small { color: var(--color-muted); font-size: 12px; }
.events p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.request-row { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.request-row p { margin: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.request-row h3 { margin: 0 0 8px; }
.row-heading, .toolbar, .team-heading, .button-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toolbar { justify-content: flex-start; align-items: end; margin: 20px 0; }
.row-heading .secondary { text-align: left; }
.team-heading { margin-bottom: 16px; align-items: start; }
.team-heading .field { min-width: 230px; }
.team-main { min-height: 65vh; padding-bottom: 28px; }
.team-main #workspace { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; }
.login-panel { max-width: 670px; margin: 20px auto; }
.login-panel h1 { font-size: 32px; }
.action-panel { border-top: 1px solid var(--color-border); padding-top: 4px; }
.action-panel .operation-form { padding-top: 18px; border-top: 1px solid var(--color-border); }
.button-row { justify-content: flex-start; }
.code-receipt { margin: 18px 0; padding: 18px; background: var(--color-answer); border-radius: 12px; }
.code-receipt strong { font-size: clamp(21px, 4vw, 30px); letter-spacing: .08em; overflow-wrap: anywhere; }
.end-stay { border: 1px solid var(--color-border); border-radius: 12px; padding: 16px; }
@media (max-width: 600px) {
  .operations-panel, .team-main #workspace { padding: 20px 18px; }
  .terms { grid-template-columns: 1fr; gap: 3px; }
  .terms dd { margin-bottom: 12px; }
  .toolbar { align-items: stretch; }
  .toolbar .field { width: 100%; }
  .team-heading .field { width: 100%; min-width: 0; }
  .login-panel h1 { font-size: 28px; }
}
.deadline.overdue { color: var(--color-error); font-weight: 600; }
.check-field { display:flex; align-items:center; gap:9px; font-size:13px; line-height:1.6; }
.check-field input { width:18px; height:18px; accent-color:var(--color-action); flex-shrink:0; }
.sync-bar { display:flex; align-items:center; gap:12px 20px; flex-wrap:wrap; margin:12px 0 20px; }
.sync-bar p { margin:0; font-size:12px; }
.management-section { margin:8px 0; padding:0 2px; }
.management-section > summary { font-size:17px; }
.management-section .management-section { margin-left:8px; }
.room-edit { grid-template-columns:minmax(0,1fr) auto auto; align-items:end; max-width:750px; padding-bottom:15px; border-bottom:1px solid var(--color-border); }
.room-edit .check-field { padding-bottom:12px; }
.share-card { display:grid; gap:15px; padding:15px 0; }
.share-card a { overflow-wrap:anywhere; font-size:14px; }
.share-card img { width:220px; height:220px; background:white; padding:12px; border-radius:12px; }
@media(max-width:600px) { .room-edit { grid-template-columns:1fr; } .room-edit .check-field {padding:0;} .sync-bar {align-items:start; flex-direction:column;} }
.voice-controls { display:flex; align-items:center; gap:8px 14px; flex-wrap:wrap; margin:16px 26px 4px; }
.voice-controls > p { font-size:12px; line-height:1.6; margin:0; color:var(--color-muted); flex:1 1 190px; }
.voice-controls audio {width:100%; height:38px;}
.assistant-card {margin-top:14px; padding-top:12px; border-top:1px solid var(--color-chat-border);}
.assistant-card h3 {font-size:17px; margin:0 0 12px;}
.assistant-card .terms {grid-template-columns:1fr; gap:3px;}
.assistant-card .terms dd {margin:0 0 8px;}
.assistant-card .primary, .assistant-card .secondary {margin:5px 7px 5px 0;}
.assistant-card .muted {font-size:12px;}
@media(max-width:420px){.voice-controls {margin:14px 18px 4px;}}
.messages:has(.assistant-card) {height:min(65dvh,640px);min-height:300px;}
