/* Soft clinic chrome. Graphite menu stays; cards, grid and dialogs get air. */

body {
  font-size: 16px;
  background: #f7f8fa;
  color: #1c2838;
}

.atlas-v49-view,
main.content {
  background: #f7f8fa;
}

.sidebar nav button.active,
.sidebar nav button.atlas-v49-nav-selected {
  background: rgba(255, 255, 255, .16) !important;
  border-radius: 16px;
  box-shadow: none !important;
}

.sidebar nav button:hover {
  background: rgba(255, 255, 255, .08);
  border-radius: 16px;
}

.anesthesia-alarm-launch {
  border: 2px solid #e7b4ae;
  background: #fff7f6;
  color: #9a4e46;
  box-shadow: none;
  animation: atlas-alarm-glow 1.6s ease-in-out infinite;
}

.anesthesia-alarm-icon,
.anesthesia-alarm-launch strong { color: #9a4e46; }

@keyframes atlas-alarm-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, 0); }
  50% { box-shadow: 0 0 0 4px rgba(180, 35, 24, .16); }
}

.panel,
.card,
.atlas-v49-card,
.atlas-v49-subcard,
.schedule-board,
.schedule-scroll {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(36, 52, 71, .06);
}

.schedule-fit-hour {
  border-right-color: #f0f2f5;
  border-bottom-color: #f0f2f5;
  background: #fff;
}

.schedule-fit-slot { border-top-color: #f4f6f8; }

.schedule-fit-mark strong,
.schedule-kdc-fit .schedule-fit-mark strong {
  color: #8b95a5;
  font-weight: 500;
}

.schedule-fit-head,
.schedule-fit-time,
.schedule-fit-headrow {
  background: #f7f8fa;
}

.schedule-card,
.schedule-chip,
.schedule-fit-lane .schedule-fit-booking:not(.schedule-or-pair),
.schedule-fit-lane .schedule-fit-booking.schedule-kdc-card:not(.schedule-or-pair) {
  background: color-mix(in srgb, var(--accent, #94a3b8) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, #94a3b8) 22%, #fff);
  border-left: 5px solid var(--accent, #64748b);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(36, 52, 71, .05);
  color: #1c2838;
}

.schedule-card-uzi,
.schedule-chip-uzi,
.schedule-fit-lane .schedule-fit-booking.schedule-chip-uzi {
  background: var(--section-tint, #fff);
  border-left: 5px solid var(--section, var(--accent, #94a3b8));
}

.schedule-or-half {
  border-left-width: 5px;
  background: color-mix(in srgb, var(--accent, #94a3b8) 16%, #fff);
}

.panel-tab,
.schedule-span-btn {
  border-radius: 14px;
  min-height: 44px;
  font-size: 16px;
}

.panel-tab[aria-selected="true"],
.schedule-span-btn[aria-pressed="true"],
.schedule-modes button[aria-pressed="true"],
.schedule-shell > .schedule-section-tabs .panel-tab[aria-selected="true"] {
  background: #e8f0fe;
  color: #1d4ed8;
  border: 1px solid #c7d7fe;
  box-shadow: none;
}

dialog,
dialog.schedule-dialog {
  width: min(720px, calc(100vw - 40px));
  max-width: min(720px, calc(100vw - 40px));
  max-height: min(880px, calc(100dvh - 40px));
  padding: 28px 28px 22px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #1c2838;
  box-shadow: 0 24px 64px rgba(36, 52, 71, .16);
}

dialog::backdrop,
dialog.schedule-dialog::backdrop {
  background: rgba(36, 52, 71, .28);
}

dialog h2,
.schedule-dialog h2 {
  margin: 0 0 4px;
  font: 700 26px/1.2 Inter, system-ui, sans-serif;
  color: #1c2838;
}

.schedule-dialog[open],
.schedule-dialog form {
  display: grid;
  gap: 14px;
}

/* A closed dialog must remain closed despite its layout rules. */
dialog:not([open]) { display: none !important; }
dialog[open] { box-sizing: border-box; overflow: auto; }
/* The journal scrolls inside its frame: its close/cancel controls never scroll away. */
dialog.endoscopy-journal-dialog[open] { display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:min(820px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden;gap:12px; }
.endoscopy-journal-header { display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0; }
.endoscopy-journal-header h2 { min-width:0;font-size:22px;line-height:1.25;margin:0;overflow-wrap:anywhere; }
.endoscopy-journal-content { min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;display:grid;align-content:start;gap:14px;overscroll-behavior:contain; }
.endoscopy-journal-footer { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch;border-top:1px solid #e2e8f0;padding-top:12px; }
.endoscopy-journal-dialog :is(.endoscopy-journal-header,.endoscopy-journal-footer) button { box-sizing:border-box;min-width:0;min-height:48px;height:auto;margin:0;padding:11px 12px;white-space:normal;line-height:1.4;font-family:inherit;font-size:16px;overflow-wrap:anywhere; }
.endoscopy-journal-header button { flex:0 0 auto; }
@media(max-width:600px){dialog.endoscopy-journal-dialog .endoscopy-journal-header h2{font-size:18px;overflow-wrap:normal}dialog.endoscopy-journal-dialog .endoscopy-journal-header button{font-size:14px;padding:10px 8px}}
@media(max-width:480px){.endoscopy-journal-footer{grid-template-columns:minmax(0,1fr);gap:8px}.endoscopy-journal-footer button{width:100%}.endoscopy-journal-dialog .atlas-v49-field>span{font-size:13px}.endoscopy-journal-header{align-items:flex-start}.endoscopy-journal-header button{flex-basis:80px}}
.endoscopy-journal-dialog [hidden],main .panel-actions button[hidden],main .overview-grid .panel[hidden],main .kpi[hidden],main .patient-agenda[hidden] { display:none!important; }
.schedule-dialog :is(h2,h3,p,fieldset,.atlas-v49-field) { margin: 0; }
.schedule-dialog form > *, .atlas-v49-field { min-width: 0; max-width: 100%; }
.schedule-dialog .atlas-v49-field { gap: 8px; }
dialog :is(input,select,textarea) { box-sizing: border-box; min-width: 0; max-width: 100%; }
dialog :is(input[type="checkbox"],input[type="radio"]) {
  padding: 0 !important; margin: 0; min-height: 22px; flex: 0 0 22px;
}
dialog label:has(> input[type="checkbox"]),dialog label:has(> input[type="radio"]) {
  display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 44px;
}
dialog .panel-controls,dialog .friendly-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
dialog .friendly-actions > button { flex: 1 1 150px; min-height: 48px; margin: 0; }
dialog .panel-controls > button { min-height: 48px; margin: 0; }
dialog .panel-controls > input[type="checkbox"] { width: 22px !important; }
dialog :is(.atlas-v49-button,.atlas-v49-close,.atlas-v49-primary) { line-height: 1.3; white-space: normal; }
dialog select:not([multiple]) { height: 48px; }
dialog fieldset { padding: 14px; }
dialog legend { padding: 0 6px; }
dialog p:empty { display: none; }
/* Keep the approved semantic accents, soften only their surface. */
:is(.schedule-chip,.schedule-card,.schedule-fit-booking,.schedule-or-half)[data-hybrid-record="true"] {
  background: color-mix(in srgb, var(--accent,var(--hybrid-fill,#94a3b8)) 14%, white) !important;
  color: #1c2838 !important;
  border-left: 5px solid var(--accent,var(--hybrid-fill,#94a3b8)) !important;
  border-radius: 12px;
}
.schedule-or-pair[data-hybrid-record="true"] { background: transparent !important; border-left: 0 !important; }
/* Early direction hues as an accent; calm fills match the approved friendly UI. */
:is(.schedule-chip,.schedule-card,.schedule-fit-booking,.schedule-or-half,.schedule-load-day,.schedule-load-half)[data-hybrid-operation="true"] {
  background: color-mix(in srgb, var(--hybrid-fill) 18%, white) !important;
  color: #1c2838 !important;
  border-left-color: var(--hybrid-fill) !important;
}
.schedule-colors-dialog .schedule-load-legend { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.schedule-colors-dialog .schedule-load-key { min-width:0;font-size:13px;line-height:1.4;padding:9px;white-space:normal;overflow-wrap:anywhere; }
.schedule-colors-dialog .schedule-load-key-anesthesia { grid-column:1/-1; }
.schedule-colors-dialog .schedule-load-key-anesthesia::before { width:24px;height:5px;flex-shrink:0;border-radius:2px;background:#8324dc; }
.schedule-load-day[data-hybrid-operation="true"] .schedule-hybrid-tabs { height:var(--hybrid-markers-height,6px);min-height:var(--hybrid-markers-height,6px);max-height:var(--hybrid-markers-height,6px);gap:2px; }
.schedule-load-day[data-hybrid-operation="true"]:has(.schedule-hybrid-tabs) .schedule-load-num { top:calc(var(--hybrid-markers-height,6px) + 5px); }
.schedule-load-day[data-hybrid-operation="true"]:has(.schedule-hybrid-tabs) > :is(.schedule-load-halves,.schedule-load-badge) { margin-top:calc(var(--hybrid-markers-height,6px) + 28px); }

/* Content-sized hints: no stretched grid rows/buttons on desktop or iPhone. */
.schedule-load-day.schedule-operation-dots>.schedule-hybrid-tabs { display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px;height:auto;min-height:0;max-height:none;top:40px;left:8px;right:8px;overflow:visible; }
.schedule-operation-dots .schedule-hybrid-tab { flex:0 0 13px;width:13px;height:7px;min-width:13px;border-radius:99px; }
.schedule-load-day.schedule-operation-dots .schedule-load-num { top:12px!important; }
@media(max-width:520px){.schedule-load-day.schedule-operation-dots>.schedule-hybrid-tabs{top:29px;left:4px;right:4px;gap:3px}.schedule-operation-dots .schedule-hybrid-tab{flex-basis:9px;width:9px;min-width:9px;height:6px}}
dialog.schedule-colors-dialog[open] { width:min(520px,calc(100vw - 24px));height:fit-content;min-height:0;max-height:calc(100dvh - 32px);align-content:start;grid-template-rows:auto auto auto;gap:12px;padding:20px; }
.schedule-colors-dialog h2 { font-size:21px;line-height:1.25;margin:0; }
.schedule-colors-dialog .schedule-load-legend { margin:0;align-content:start;gap:8px; }
.schedule-colors-dialog .schedule-load-key { height:auto;min-height:38px;align-content:start;align-items:center;padding:7px 9px; }
.schedule-colors-dialog .schedule-colors-close { height:44px;min-height:44px;max-height:44px;width:auto;min-width:110px;justify-self:end;align-self:start;flex:none;padding:8px 16px; }
.schedule-service-pick,.schedule-service-list,.schedule-service-option { min-width:0;max-width:100%;box-sizing:border-box; }
.schedule-service-pick { grid-auto-rows:max-content;align-content:start;overflow-x:hidden; }
.schedule-service-pick .schedule-service-row { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;max-width:100%;min-width:0;height:auto;max-height:none;min-height:44px;align-items:start;white-space:normal;box-sizing:border-box;font-size:14px;line-height:1.4; }
.schedule-service-pick .schedule-service-name { min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:left;line-height:1.35; }
.schedule-service-pick .schedule-service-time { white-space:nowrap;align-self:start; }
.schedule-kdc-fit .schedule-fit-head { height:auto;min-height:142px;justify-content:flex-start;align-items:stretch;gap:5px;padding:8px 4px; }
.schedule-kdc-fit .schedule-room-assign { margin:0;min-height:28px;height:28px;max-height:28px;width:100%;padding:3px 4px;font-size:11px;line-height:20px;box-sizing:border-box;border:1px solid #c9dad7;border-radius:6px;color:#20584b;background:#f2faf7; }
.schedule-kdc-fit .schedule-fit-head .schedule-room-doctors { display:grid;gap:6px;min-width:0;overflow:visible;-webkit-line-clamp:unset; }
.schedule-kdc-fit .schedule-room-assignment { display:grid;gap:2px;min-width:0;padding-top:4px;border-top:1px solid #e3ebe8; }
.schedule-kdc-fit .schedule-room-doctors :is(small,span,time) { display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;overflow:visible;-webkit-line-clamp:unset;font-size:11px;line-height:1.25; }
.schedule-kdc-fit .schedule-room-name { font-weight:600;color:#243647; }
.schedule-kdc-fit .schedule-room-time { font-variant-numeric:tabular-nums;color:#526174; }
.schedule-dialog[data-uzi] { overflow-x:hidden; }
.schedule-dialog[data-uzi] :is(form,.atlas-v49-field,.schedule-uzi-addons) { min-width:0;max-width:100%;box-sizing:border-box; }
.schedule-dialog[data-uzi] :is(input,select,textarea) { min-width:0;max-width:100%;box-sizing:border-box; }
.schedule-dialog[data-uzi] select { width:100%;text-overflow:ellipsis;overflow:hidden; }
/* WebKit lets a long native option expand the field's scrollable area even
   when the select itself fits. Full names remain in the wrapping picker. */
.schedule-dialog[data-uzi] .schedule-service-select-field { grid-template-columns:minmax(0,1fr);overflow:hidden; }
.schedule-service-select-field select:focus-visible { outline-offset:-2px; }
.schedule-dialog .schedule-uzi-addon { display:grid;grid-template-columns:22px minmax(0,1fr) auto;width:100%;max-width:100%;min-width:0;height:auto;box-sizing:border-box;border-radius:8px;gap:8px;padding:10px;font-size:14px;line-height:1.4;align-items:start; }
.schedule-uzi-addon input[type=checkbox] { width:22px;min-width:22px;height:22px;min-height:22px;margin:0; }
.schedule-dialog .schedule-uzi-addon span { min-width:0;font-size:14px;line-height:1.4;font-weight:400; }
.schedule-dialog .schedule-uzi-addon span:not(.schedule-service-time) { white-space:normal;overflow-wrap:anywhere; }
.schedule-dialog .schedule-uzi-addon .schedule-service-time { white-space:nowrap;font-weight:650; }
.schedule-kdc-fit .schedule-fit-mark :is(strong,span) { font-size:var(--kdc-time-font,12px);line-height:1; }
.schedule-kdc-fit[data-compressed-times="true"] .schedule-fit-mark span { display:none; }
.schedule-room-doctor-times { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.schedule-room-doctor-times > * { min-width:0; }
.schedule-room-doctor-actions { display:flex;gap:12px;flex-wrap:wrap; }
.schedule-room-doctor-actions button { min-height:44px;flex:1 1 150px;margin:0; }
.schedule-room-doctor-actions button[hidden] { display:none!important; }
.schedule-detail-actions { display:flex;gap:12px;flex-wrap:wrap; }
.schedule-detail-actions button { min-height:44px;flex:1 1 150px;margin:0; }
.schedule-remove-action { border-color:#dbb9b5;color:#944f45; }
.schedule-room-doctor-dialog :is(input,select) { width:100%;min-width:0;max-width:100%;box-sizing:border-box; }
.schedule-room-doctor-dialog .schedule-message:empty { display:none; }
@media(max-width:760px){ .schedule-kdc-fit .schedule-room-assign { min-height:44px;height:44px;max-height:44px;font-size:13px; }.schedule-kdc-fit .schedule-fit-head{height:auto;min-height:142px;padding:8px;}.schedule-kdc-fit .schedule-room-doctors :is(small,span,time){font-size:12px;}.schedule-room-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;gap:8px;}.schedule-room-nav .schedule-room-move {min-width:0;width:100%;white-space:normal;overflow-wrap:anywhere;font-size:13px;padding:8px 6px;} }
@media (max-width:760px) {
  .schedule-clinical-fit .schedule-operation-compact .schedule-fit-who { font-size:10px;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  .schedule-fit-lane .schedule-operation-compact:not(.schedule-or-pair) { padding:3px 2px 1px; }
  .schedule-operation-compact.hybrid-anesthesia { box-shadow:inset 0 3px 0 #8324dc !important; }
}
.atlas-kaplya-cloud p[role="button"] { cursor:pointer; }
.schedule-fit-booking.schedule-chip-uzi[data-hybrid-record="true"] { background: var(--section-tint,#fff) !important; }
.panel-controls,.schedule-toolbar,.schedule-modes { gap: 14px; }
.schedule-toolbar-row { gap: 14px; }
/* Keep all navigation controls inside the calendar at narrower desktop widths. */
@media (min-width:761px) {
  .schedule-shell > .schedule-toolbar > .schedule-toolbar-filters { flex-wrap:wrap;gap:10px; }
  .schedule-shell > .schedule-toolbar .schedule-span { gap:10px; }
}
.schedule-span { flex: 0 0 auto; gap: 14px; }
.schedule-span-btn { min-width: 80px !important; flex: 0 0 auto; white-space: nowrap !important; overflow-wrap: normal !important; }
.schedule-toolbar-filters > .schedule-step,.schedule-toolbar-filters > .schedule-today { flex: 0 0 auto; white-space: nowrap; overflow-wrap: normal; }
.atlas-v49-view :is(button,select,input) { box-sizing: border-box; }
.atlas-v49-view :is(.atlas-v49-button,.panel-tab,.atlas-v49-primary) { min-height: 44px; }
.atlas-v49-view select:not([multiple]),.task-form select:not([multiple]) { height: 48px; min-height: 48px; font-size: 16px; }
/* Align form rows only; calendar cells, booking chips and date popovers keep their own geometry. */
.atlas-v49-view :is(.work-graphs-bar,.statistics-controls,.equipment-settings-row,.equipment-filters,.op-toolbar) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,button) {
  box-sizing: border-box;
  min-height: 48px;
  max-height: none;
  border-radius: 10px;
  font-family: Inter, system-ui, sans-serif;
}
.atlas-v49-view :is(.work-graphs-bar,.statistics-controls,.equipment-settings-row,.equipment-filters,.op-toolbar) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select) { height: 48px; }
.atlas-v49-view :is(.work-graphs-bar,.statistics-controls,.equipment-settings-row,.equipment-filters,.op-toolbar) > button { height: auto; white-space: normal; overflow-wrap: anywhere; }
.work-graphs-bar > .atlas-v49-field { flex: 0 1 190px; width: auto; min-width: 0; max-width: 100%; }
.work-graphs-bar > .atlas-v49-field:has([aria-label="Площадка графиков"]) { flex: 1 1 230px; max-width: 320px; }
.schedule-toolbar-filters > .schedule-date-field { flex: 0 1 160px; width: 160px; min-width: 0; max-width: 100%; }
.schedule-toolbar-filters > .schedule-site-field { flex: 1 1 180px; width: auto; min-width: 0; max-width: 260px; }
.schedule-shell .schedule-toolbar .schedule-extra-menu > .schedule-date-field { width: 100%; max-width: none; }
.atlas-v49-hero > .atlas-v49-close { flex: 0 0 auto; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.sidebar .account-switcher > label > select { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis; word-break: normal; overflow-wrap: normal; }
@media (max-width: 760px) {
  .schedule-shell > .schedule-toolbar { position: relative; }
  .schedule-toolbar .schedule-extra { position: static; }
  .schedule-toolbar .schedule-extra-menu { left: 0; right: 0; top: 100%; min-width: 0; max-width: 100%; max-height: min(45dvh, 360px); overflow: auto; }
  .graph-identity-dialog :is(input:not([type="checkbox"]):not([type="radio"]),select),
  .schedule-dialog :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
  .equipment-root :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
  .atlas-v49-view :is(.work-graphs-bar,.statistics-controls,.equipment-settings-row,.equipment-filters,.op-toolbar) :is(input,select) { font-size: 16px; }
  .atlas-v49-view.equipment-root .equipment-filters input[type="search"] { font-size: 16px; }
}
.atlas-statistics,.atlas-statistics .stat-board { font-size: 16px; color: #1c2838; }
.atlas-statistics :is(.statistics-tab,.stat-action) { font-size: 16px; border-radius: 14px; }
.atlas-statistics .statistics-tab[aria-selected="true"] { background: #e8f0fe; color: #1d4ed8; border-color: #c7d7fe; }
.atlas-statistics :is(.stat-filters label,.stat-filters select,.stat-filters input) { font-size: 16px; }
.atlas-statistics :is(.stat-overview-tile,.stat-card,.stat-total,.statistics-metric) { border-radius: 18px; border-color: #eef1f5; }
.atlas-statistics :is(.stat-card p,.stat-card li,.stat-board-note) { font-size: 16px; }
.sidebar nav button :is(span,small) { white-space: normal; overflow-wrap: anywhere; }
.sidebar nav button small { font-size: 12px; line-height: 1.3; }
@media (min-width: 761px) {
  .sidebar nav,body.has-anesthesia-alarm .sidebar nav { overflow-y: auto; flex: 1 1 auto; gap: 6px; }
  .sidebar nav button { flex: 0 0 auto; min-height: 52px; max-height: none; padding: 8px 12px; }
  .sidebar nav button > span { font-size: 16px; line-height: 1.25; }
  .sidebar nav small { display: block; }
}
@media (prefers-reduced-motion: reduce) { .anesthesia-alarm-launch { animation: none; } }
@media (max-width: 760px) {
  dialog .friendly-actions > button { flex-basis: 100%; }
  .atlas-v49-hero { gap: 14px; }
}

.schedule-dialog .atlas-v49-field > span,
dialog label > span {
  font-size: 16px;
  font-weight: 650;
  color: #243447;
}

dialog input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
dialog select,
dialog textarea,
.schedule-dialog input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.schedule-dialog select,
.schedule-dialog textarea {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background: #fff;
  color: #1c2838;
  font: 400 16px/1.35 Inter, system-ui, sans-serif;
}

dialog textarea,
.schedule-dialog textarea { min-height: 96px; }

dialog input[type="checkbox"],
.schedule-dialog input[type="checkbox"],
.schedule-dialog .schedule-uzi-addon input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  accent-color: #2f6fed;
}

dialog .atlas-v49-primary,
.schedule-dialog .atlas-v49-primary {
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 14px;
  background: #2f6fed;
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 111, 237, .22);
  font: 700 16px/1.2 Inter, system-ui, sans-serif;
}

dialog .atlas-v49-button:not(.atlas-v49-primary),
dialog .atlas-v49-secondary,
dialog .atlas-v49-close,
.schedule-dialog .atlas-v49-button:not(.atlas-v49-primary) {
  min-height: 44px;
  border-radius: 14px;
  background: #fff;
  color: #3d4d60;
  border: 1px solid #e3e8ef;
  box-shadow: none;
  font-size: 16px;
}

@media (max-width: 760px) {
  dialog,
  dialog.schedule-dialog {
    width: min(100vw - 16px, 720px);
    padding: 18px 16px 16px;
  }
}
