.sh-app-root {
  width: 100%;
  max-width: 100%;
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f7fb;
  -webkit-text-size-adjust: 100%;
}

.sh-app-root *,
.sh-app-root *::before,
.sh-app-root *::after {
  box-sizing: border-box;
}

.sh-app-shell {
  width: 100%;
  max-width: 720px;
  margin: 16px auto;
  padding: 0 12px 18px;
}

.sh-mobile-footer-nav {
  display: none;
}

.sh-app-shell-wide {
  max-width: 1120px;
}

.sh-app-shell-time {
  max-width: 980px;
}

.sh-app-shell-missions {
  max-width: 980px;
}

.sh-app-shell-calendar {
  max-width: 1080px;
}

.sh-app-shell-calendar-wide {
  max-width: 1400px;
}

.sh-topline,
.sh-appbar,
.sh-tabbar,
.sh-button-row,
.sh-entry-top,
.sh-entry-meta,
.sh-entry-actions,
.sh-form-inline,
.sh-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sh-topline {
  justify-content: space-between;
  margin-bottom: 10px;
}

.sh-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sh-langbar {
  display: flex;
  gap: 6px;
}

.sh-lang {
  min-width: 42px;
  height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.sh-lang.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sh-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 12px;
}

.sh-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.sh-card-head-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sh-card-head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sh-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.sh-card-center {
  text-align: center;
}

.sh-login-card,
.sh-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sh-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.sh-subtitle,
.sh-section-copy,
.sh-placeholder-block p,
.sh-empty,
.sh-empty-block p,
.sh-loading,
.sh-noscript {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.sh-appbar {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sh-user-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  flex: 1 1 280px;
}

.sh-meta-label {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sh-user-meta strong {
  display: block;
  font-size: 15px;
}

.sh-tabbar {
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sh-tab {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.sh-tab.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sh-tab.disabled {
  opacity: 0.5;
}

.sh-grid-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.sh-time-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-missions-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-section-head {
  justify-content: space-between;
  flex-wrap: wrap;
}

.sh-section-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}

.sh-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.sh-input,
.sh-select,
.sh-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
}

.sh-input:focus,
.sh-select:focus,
.sh-textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.sh-textarea {
  min-height: 108px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: none;
  overflow-y: hidden;
}

.sh-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sh-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sh-form-grid-mission .sh-input,
.sh-form-grid-mission .sh-select,
.sh-form-grid-mission .sh-select-wrap {
  min-height: 44px;
}

.sh-form-grid-mission .sh-select-wrap .sh-select {
  height: 44px;
  line-height: 1.2;
}

.sh-form-grid-action {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-form-grid-action .sh-button {
  width: 100%;
}

.sh-label-spacer {
  visibility: hidden;
}

.sh-form-inline {
  align-items: flex-end;
}

.sh-field-grow {
  flex: 1 1 auto;
}

.sh-button-row {
  flex-wrap: wrap;
}

.sh-button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
}

.sh-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.sh-button-primary {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sh-button-primary:hover,
.sh-button-primary:focus-visible {
  background: #2c2a26;
  border-color: #2c2a26;
  color: #ffffff;
}

.sh-button-secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.sh-button-secondary:hover,
.sh-button-secondary:focus-visible {
  background: #f3f1ed;
  border-color: #b9b3aa;
  color: #1f1d19;
}

.sh-modal-head > .sh-button-secondary.sh-button-small,
.sh-modal-head .sh-card-head-tools .sh-button-secondary.sh-button-small {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sh-modal-head > .sh-button-secondary.sh-button-small:hover,
.sh-modal-head > .sh-button-secondary.sh-button-small:focus-visible,
.sh-modal-head .sh-card-head-tools .sh-button-secondary.sh-button-small:hover,
.sh-modal-head .sh-card-head-tools .sh-button-secondary.sh-button-small:focus-visible {
  background: #2c2a26;
  border-color: #2c2a26;
  color: #ffffff;
}

.sh-button-danger {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.sh-button-danger:hover,
.sh-button-danger:focus-visible {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.sh-tab.active:hover,
.sh-tab.active:focus-visible,
.sh-legacy-toplink.active:hover,
.sh-legacy-toplink.active:focus-visible,
.sh-mission-filter-chip.active:hover,
.sh-mission-filter-chip.active:focus-visible,
.sh-calendar-filter.is-active:hover,
.sh-calendar-filter.is-active:focus-visible,
.sh-mobile-footer-link.active:hover,
.sh-mobile-footer-link.active:focus-visible,
.sh-point-row-mobile .sh-point-edges-mobile.is-active:hover,
.sh-point-row-mobile .sh-point-edges-mobile.is-active:focus-visible {
  background: #2c2a26;
  border-color: #2c2a26;
  color: #ffffff;
}

.sh-button-small {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
}

.sh-summary-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.sh-pill strong {
  color: #0f172a;
}

.sh-alert {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.sh-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.sh-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.sh-collab-toast-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 8500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, calc(100vw - 24px));
}

.sh-collab-toast {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe3f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sh-collab-toast-mission {
  border-color: #c7d2fe;
}

.sh-collab-toast-point {
  border-color: #bae6fd;
}

.sh-collab-toast-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sh-collab-toast-text {
  font-size: 14px;
  line-height: 1.35;
}

.sh-collab-toast-actor {
  color: #64748b;
  font-size: 12px;
  line-height: 1.25;
}

.sh-collab-toast-static {
  width: 100%;
  cursor: default;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sh-collab-updates-modal-card {
  max-width: 520px;
}

.sh-collab-updates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sh-collab-updates-actions {
  margin-top: 14px;
  justify-content: flex-end;
}

.sh-collab-highlight-target {
  animation: sh-collab-pulse 1.4s ease-in-out 3;
}

.sh-collab-highlight-mission {
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.28), 0 8px 20px rgba(245, 158, 11, 0.12);
}

.sh-collab-highlight-point {
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.24), 0 8px 20px rgba(14, 165, 233, 0.1);
}

@keyframes sh-collab-pulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
  100% {
    transform: translateY(0);
  }
}

.sh-legacy-nav-card {
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.sh-legacy-nav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.sh-legacy-nav-event-row {
  gap: 0;
  width: 100%;
}

.sh-legacy-nav-event-row .sh-compact-event-block {
  gap: 0;
  width: 100%;
}

.sh-legacy-nav-event-row .sh-compact-event-row {
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
}

.sh-legacy-nav-event-row .sh-time-select-actions {
  margin-left: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.sh-legacy-topnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-legacy-toplink {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d6dfeb;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--sh-neutral-surface, #ffffff) 0%, var(--sh-neutral-surface-alt, #f7f5f1) 100%);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 18px rgba(15, 23, 42, 0.07);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.sh-legacy-toplink:hover,
.sh-legacy-toplink:focus-visible {
  border-color: #cfc7bc;
  background: linear-gradient(180deg, var(--sh-neutral-surface, #ffffff) 0%, var(--sh-neutral-accent-soft, #ebe7e0) 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 12px 22px rgba(21, 20, 18, 0.1);
}

.sh-legacy-toplink-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.sh-legacy-toplink.active {
  border-color: var(--sh-neutral-border-strong, #b9b3aa);
  background: linear-gradient(180deg, #fbf9f4 0%, #ece6dc 100%);
  color: var(--sh-neutral-text, #1f1d19);
  box-shadow: inset 0 0 0 1px rgba(185, 179, 170, 0.32), 0 12px 24px rgba(21, 20, 18, 0.12);
}

.sh-legacy-toplink.active:hover,
.sh-legacy-toplink.active:focus-visible {
  border-color: var(--sh-neutral-border-strong, #b9b3aa);
  background: linear-gradient(180deg, #fdfaf4 0%, #e8e1d5 100%);
  color: var(--sh-neutral-text, #1f1d19);
}

.sh-collab-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.96);
}

.sh-legacy-toplink.active .sh-collab-count-badge {
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.96);
}

.sh-legacy-langbar {
  display: flex;
  gap: 6px;
}

.sh-legacy-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sh-legacy-langbar .sh-lang {
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
}

.sh-daily-brief-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sh-daily-brief-open-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sh-daily-brief-open-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.sh-daily-brief-open-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.sh-legacy-logout {
  margin-left: 0;
}

.sh-select-wrap {
  position: relative;
  width: 100%;
}

.sh-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.sh-select-wrap .sh-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
}

.sh-compact-event-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-compact-event-row-main {
  width: 100%;
}

.sh-compact-event-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.sh-compact-event-field {
  flex: 1 1 240px;
}

.sh-compact-event-row-create {
  align-items: flex-end;
}

.sh-compact-event-create-btn {
  flex: 0 0 auto;
}

.sh-compact-event-pill {
  background: #f8fafc;
  border-color: #e5e7eb;
  color: #334155;
}

.sh-empty-block,
.sh-placeholder-block,
.sh-empty {
  padding: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
}

.sh-empty-block strong,
.sh-placeholder-block strong {
  display: block;
  margin-bottom: 4px;
}

.sh-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sh-stat {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.sh-stat strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.sh-spacer {
  flex: 1 1 auto;
}

.sh-time-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.sh-filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sh-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-history-head h3 {
  margin: 0;
  font-size: 16px;
}

.sh-entry-list {
  display: grid;
  gap: 10px;
}

.sh-entry-card {
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.sh-entry-top {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.sh-entry-meta {
  flex-wrap: wrap;
  color: #475569;
  font-size: 13px;
  margin-bottom: 8px;
}

.sh-entry-notes {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.sh-entry-actions {
  flex-wrap: wrap;
}

.sh-company-section-nav {
  margin: 10px 0 4px;
  padding: 6px;
  border: 1px solid #d8d3ca;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4efe7 0%, #ece6dc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  gap: 8px;
}

.sh-company-section-nav .sh-tab {
  display: inline-flex;
  align-items: center;
  flex: 1 1 180px;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #c9c0b4;
  background: rgba(255, 255, 255, 0.78);
  color: #544c43;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(52, 46, 38, 0.05);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sh-company-section-nav .sh-tab:hover {
  border-color: #a69c90;
  background: #ffffff;
  color: #2a251f;
  box-shadow: 0 6px 14px rgba(52, 46, 38, 0.08);
  transform: translateY(-1px);
}

.sh-company-section-nav .sh-tab.active {
  border-color: #2c2a26;
  background: linear-gradient(180deg, #2f2c27 0%, #1f1d19 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(31, 29, 25, 0.18);
}

.sh-company-section-nav .sh-tab.active:hover {
  border-color: #2c2a26;
  background: linear-gradient(180deg, #37332d 0%, #1f1d19 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

.sh-company-top-tools {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-company-search-wrap,
.sh-company-search-inline {
  flex: 1 1 320px;
  min-width: 220px;
}

.sh-company-search-inline .sh-input {
  width: 100%;
}

.sh-company-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 12px;
  align-items: start;
}

.sh-company-admin-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  width: 100%;
  align-self: start;
}

.sh-company-admin-grid > .sh-company-admin-panel:last-child {
  grid-column: 2;
}

.sh-company-mission-list,
.sh-company-mission-list .sh-mission-card,
.sh-company-points-panel,
.sh-company-point-list {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.sh-company-mission-list .sh-mission-card {
  overflow: visible;
}

.sh-company-chip-list {
  align-items: flex-start;
}

.sh-company-create-row .sh-button {
  width: 100%;
}

.sh-company-activity-form {
  gap: 12px;
}

.sh-company-activity-actions {
  justify-content: flex-start;
}

.sh-company-activity-actions .sh-button {
  width: auto;
  min-width: 180px;
}

.sh-company-activity-list-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.sh-company-chip-active {
  border-color: #111827;
  background: #f8fafc;
}

.sh-company-assignee-picker {
  margin-top: 2px;
}

.sh-company-assignee-summary,
.sh-company-mission-meta,
.sh-company-point-meta {
  gap: 6px;
}

.sh-company-mission-meta {
  margin: 0 12px 10px;
}

.sh-company-point-meta {
  margin-top: 8px;
}

.sh-company-assignee-dropdown {
  display: inline-block;
  position: relative;
}

.sh-company-assignee-toggle {
  display: inline-flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
}

.sh-company-assignee-toggle::-webkit-details-marker {
  display: none;
}

.sh-company-assignee-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
  transition: transform 0.14s ease;
}

.sh-company-assignee-dropdown[open] .sh-company-assignee-toggle::after {
  transform: rotate(-135deg) translateY(-1px);
}

.sh-company-assignee-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 48px));
  padding: 8px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffdf4;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.sh-company-mission-meta .sh-badge strong,
.sh-company-assignee-summary .sh-badge strong,
.sh-company-point-meta .sh-badge strong {
  color: #0f172a;
}

.sh-company-members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sh-company-member-card {
  padding: 12px;
}

.sh-company-member-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sh-company-member-summary .sh-button-icon {
  width: 36px;
  min-width: 36px;
  height: 36px;
}

.sh-company-member-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-company-member-mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
}

.sh-company-member-mini-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
}

.sh-company-member-copy strong {
  display: block;
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sh-company-member-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.sh-company-member-copy-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.sh-company-member-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.sh-company-points-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.sh-company-point-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-company-point-flags {
  gap: 8px;
}

.sh-company-point-flags .sh-checkline {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d8d3ca;
  border-radius: 999px;
  background: #f7f5f1;
  font-size: 13px;
  font-weight: 700;
}

.sh-company-point-flags .sh-checkline:hover {
  background: #efede8;
}

.sh-company-point-flags .sh-checkline input[type="checkbox"] {
  accent-color: #2c2a26;
}

.sh-company-point-flags-inline {
  margin-top: 10px;
}

.sh-company-point-flags-inline .sh-company-point-flag {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  gap: 6px;
  border-color: #d8d3ca;
  background: #f7f5f1;
  color: #1f1d19;
  font-size: 13px;
  font-weight: 700;
}

.sh-company-point-flags-inline .sh-company-point-flag:hover,
.sh-company-point-flags-inline .sh-company-point-flag:focus-visible {
  background: #efede8;
  border-color: #b9b3aa;
  color: #1f1d19;
}

.sh-company-point-flags-inline .sh-company-point-flag svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.sh-company-point-flags-inline .sh-company-point-flag.is-active {
  border-color: #2c2a26;
  background: #ebe7e0;
  color: #1f1d19;
}

.sh-company-point-flags-inline .sh-company-point-flag-done.is-active {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.sh-company-point-flags-inline .sh-company-point-flag-important.is-active {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}

.sh-company-mission-list {
  gap: 8px;
}

.sh-company-point-item {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.sh-company-point-item.is-done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.sh-company-point-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sh-time-card {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.sh-time-form-card {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.sh-time-form-card .sh-card-head {
  background: rgba(255, 255, 255, 0.94);
}

.sh-time-grid {
  grid-template-columns: 1fr;
}

.sh-time-field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-time-select-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.sh-time-select-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.sh-time-event-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sh-time-header-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.sh-time-header-meta {
  display: contents;
}

.sh-time-header-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.sh-time-header-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.sh-time-header-card-space .sh-time-header-card-actions,
.sh-time-header-card-user .sh-time-header-card-actions,
.sh-time-header-card-event .sh-time-header-card-actions {
  justify-content: flex-start;
}

.sh-time-header-card-user .sh-time-header-card-actions {
  width: 100%;
  justify-content: flex-start;
}

.sh-time-header-user-actions {
  width: 100%;
}

.sh-time-header-logout {
  margin-left: auto;
}

.sh-time-header-card .sh-select-wrap,
.sh-time-header-card .sh-time-account-pill {
  width: 100%;
}

.sh-time-workspace-select-wrap {
  width: 100%;
}

.sh-time-workspace-select {
  min-width: 0;
  min-height: 40px;
  padding-right: 42px;
  border-color: #e5e7eb;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

.sh-time-workspace-select:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.sh-time-workspace-select:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.sh-event-manage-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.sh-event-manage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sh-event-manage-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
}

.sh-event-manage-item.active {
  border-color: #111827;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.sh-event-manage-main {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.sh-event-manage-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.sh-event-manage-actions {
  flex-wrap: nowrap;
  margin-left: auto;
}

.sh-time-workspace-select-wrap::after {
  border-right-color: #64748b;
  border-bottom-color: #64748b;
}

.sh-time-input {
  border-width: 2px;
  border-color: #94a3b8;
  background: #f8fbff;
}

.sh-time-input:hover {
  border-color: #60a5fa;
}

.sh-time-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}


.sh-time-account-pill {
  max-width: 100%;
  min-height: 40px;
  background: #f8fafc;
  border-color: #e5e7eb;
  color: #475569;
}

.sh-legacy-nav-event-row .sh-time-account-pill {
  min-height: 40px;
  white-space: nowrap;
}

.sh-legacy-nav-event-row .sh-legacy-logout {
  white-space: nowrap;
}

.sh-time-account-pill strong {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a;
}

.sh-time-header-user-pill {
  justify-content: flex-start;
  width: 100%;
}

.sh-space-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sh-workspace-modal-card {
  width: min(760px, 100%);
}

.sh-workspace-modal-layout {
  gap: 18px;
}

.sh-workspace-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
}

.sh-workspace-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(203, 213, 225, 0), rgba(203, 213, 225, 1), rgba(203, 213, 225, 0));
}

.sh-workspace-section:first-child {
  padding-top: 0;
}

.sh-workspace-section:first-child::before {
  display: none;
}

.sh-workspace-section-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sh-workspace-section-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.sh-workspace-section-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-workspace-action-row {
  justify-content: flex-start;
}

.sh-workspace-space-stack {
  padding: 14px;
  border: 1px solid #dbe3f0;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.sh-workspace-section-danger .sh-workspace-section-title {
  color: #7f1d1d;
}

.sh-calendar-sync-shell {
  margin-top: 16px;
}

@media (min-width: 820px) {
  .sh-calendar-sync-modal-card {
    width: min(1480px, calc(100vw - 24px));
  }

  .sh-calendar-sync-modal-card .sh-account-sync-columns {
    grid-template-columns: 1fr;
  }

  .sh-calendar-sync-modal-card .sh-account-sync-connect-grid,
  .sh-calendar-sync-modal-card .sh-account-sync-export-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .sh-calendar-sync-modal-card .sh-account-sync-import-list,
  .sh-calendar-sync-modal-card .sh-account-sync-option-list-compact {
    grid-template-columns: 1fr;
  }
}

#shAccountModal .sh-workspace-section,
#shWorkspaceModal .sh-workspace-section,
#shEventManageModal .sh-workspace-section,
#shCalendarSyncModal .sh-workspace-section,
.sh-calendar-sync-shell .sh-workspace-section {
  padding: 18px;
  border: 1px solid #e7dece;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(226, 211, 188, 0.26), transparent 34%),
    linear-gradient(180deg, #fffdfa 0%, #f7f2e8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 28px rgba(15, 23, 42, 0.05);
}

#shAccountModal .sh-workspace-section::before,
#shWorkspaceModal .sh-workspace-section::before,
#shEventManageModal .sh-workspace-section::before,
#shCalendarSyncModal .sh-workspace-section::before,
.sh-calendar-sync-shell .sh-workspace-section::before {
  display: none;
}

#shAccountModal .sh-workspace-section:first-child,
#shWorkspaceModal .sh-workspace-section:first-child,
#shEventManageModal .sh-workspace-section:first-child,
#shCalendarSyncModal .sh-workspace-section:first-child,
.sh-calendar-sync-shell .sh-workspace-section:first-child {
  padding-top: 18px;
}

#shAccountModal .sh-workspace-section-head,
#shWorkspaceModal .sh-workspace-section-head,
#shEventManageModal .sh-workspace-section-head,
#shCalendarSyncModal .sh-workspace-section-head,
.sh-calendar-sync-shell .sh-workspace-section-head {
  margin-bottom: 2px;
}

#shAccountModal .sh-workspace-section-title,
#shWorkspaceModal .sh-workspace-section-title,
#shEventManageModal .sh-workspace-section-title,
#shCalendarSyncModal .sh-workspace-section-title,
.sh-calendar-sync-shell .sh-workspace-section-title {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1f1d19;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#shAccountModal .sh-workspace-section .sh-subtitle,
#shWorkspaceModal .sh-workspace-section .sh-subtitle,
#shEventManageModal .sh-workspace-section .sh-subtitle,
#shCalendarSyncModal .sh-workspace-section .sh-subtitle,
.sh-calendar-sync-shell .sh-workspace-section .sh-subtitle {
  color: #4b5563;
}

#shAccountModal .sh-workspace-section-danger,
#shWorkspaceModal .sh-workspace-section-danger,
#shEventManageModal .sh-workspace-section-danger,
#shCalendarSyncModal .sh-workspace-section-danger,
.sh-calendar-sync-shell .sh-workspace-section-danger {
  border-color: #efc8c8;
  background:
    radial-gradient(circle at top right, rgba(248, 113, 113, 0.14), transparent 36%),
    linear-gradient(180deg, #fff8f8 0%, #fff0f0 100%);
}

#shAccountModal .sh-workspace-section-danger .sh-workspace-section-title,
#shWorkspaceModal .sh-workspace-section-danger .sh-workspace-section-title,
#shEventManageModal .sh-workspace-section-danger .sh-workspace-section-title,
#shCalendarSyncModal .sh-workspace-section-danger .sh-workspace-section-title,
.sh-calendar-sync-shell .sh-workspace-section-danger .sh-workspace-section-title {
  background: #7f1d1d;
  color: #ffffff;
}

.sh-time-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.sh-time-picker-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #64748b;
}

.sh-time-picker-trigger-icon svg {
  width: 18px;
  height: 18px;
}

.sh-time-picker-modal-card {
  width: min(460px, 100%);
}

.sh-time-picker-preview {
  margin-bottom: 14px;
  text-align: center;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.sh-time-wheel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sh-time-wheel-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-time-wheel-list {
  max-height: 290px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #dbe3f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  scroll-snap-type: y proximity;
}

.sh-time-wheel-item {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #334155;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  scroll-snap-align: center;
}

.sh-time-wheel-item.is-active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.sh-time-picker-actions {
  justify-content: flex-end;
  margin-top: 14px;
}

.sh-space-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.sh-space-item.current {
  border-color: #cbd5e1;
}

.sh-space-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-space-item-title {
  display: block;
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.25;
}

.sh-space-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.sh-space-item-actions:empty {
  display: none;
}

.sh-time-live-pill {
  background: #f8fafc;
  border-color: #e5e7eb;
  color: #0f172a;
}

.sh-time-actions {
  align-items: center;
}

.sh-time-inline-total {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.sh-time-mini-copy {
  margin: 0;
}

.sh-time-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sh-time-toggle {
  min-width: 40px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.sh-time-toggle:hover {
  filter: brightness(0.96);
}

.sh-time-entry-list {
  grid-template-columns: 1fr;
}

.sh-time-entry-card {
  border-radius: 12px;
  padding: 12px;
}

.sh-time-entry-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.sh-time-entry-mainline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sh-time-entry-meta-inline {
  margin: 0;
  gap: 10px;
  align-items: center;
}

.sh-time-entry-meta-inline span {
  white-space: nowrap;
}

.sh-time-date-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  background: #111827;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sh-time-duration-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
}

.sh-time-duration-chip strong {
  color: #0f172a;
}

.sh-time-entry-meta {
  color: #475569;
  font-size: 12px;
}

.sh-time-entry-actions {
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
}

.sh-time-entry-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sh-time-entry-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sh-time-entry-duration strong {
  color: #0f172a;
}

.sh-time-entry-activity {
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
}

.sh-time-entry-activity strong {
  color: #0f172a;
}

.sh-time-entry-notes {
  margin-bottom: 0;
}

.sh-time-filter-grid {
  margin: 12px 0;
}

.sh-time-modal-actions {
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sh-time-summary-export-row {
  margin: 12px 0;
  justify-content: flex-end;
}

.sh-table-wrap {
  overflow-x: auto;
}

.sh-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.sh-table th,
.sh-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.sh-table thead th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sh-table tfoot th {
  background: #f8fafc;
}

.sh-missions-control-card,
.sh-missions-board-card {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.sh-missions-control-card {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.sh-missions-control-card .sh-card-head {
  background: rgba(255, 255, 255, 0.94);
}

.sh-missions-control-body {
  gap: 0;
  padding: 0;
}

.sh-missions-section {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
}

.sh-missions-section.is-collapsed {
  padding: 10px 14px;
}

.sh-missions-section:first-child {
  border-top: 0;
}

.sh-missions-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sh-missions-section.is-collapsed .sh-missions-section-head {
  margin-bottom: 0;
  min-height: 34px;
}

.sh-missions-section-head h3 {
  margin: 0;
  font-size: 16px;
}

.sh-missions-section.is-collapsed .sh-missions-section-head h3 {
  font-size: 15px;
  line-height: 1.15;
}

.sh-section-toggle {
  width: 40px;
  min-width: 40px;
}

.sh-missions-section.is-collapsed .sh-section-toggle {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
}

.sh-event-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sh-event-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-event-icon-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-missions-section-events {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border-top-color: #dbeafe;
  border-bottom: 1px solid #dbeafe;
}

.sh-missions-section-events .sh-label {
  color: #1e3a8a;
}

.sh-missions-section-categories {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-top-color: #ddd6fe;
}

.sh-missions-section-categories .sh-label {
  color: #0f172a;
}

.sh-missions-section-new {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-top-color: #ddd6fe;
}

.sh-missions-section-new .sh-label {
  color: #0f172a;
}

.sh-missions-section-events .sh-input,
.sh-missions-section-events .sh-select {
  border-color: #cfe3ff;
}

.sh-missions-section-categories .sh-input,
.sh-missions-section-categories .sh-select {
  border-color: #94a3b8;
  background: #f8fbff;
}

.sh-missions-section-new .sh-input,
.sh-missions-section-new .sh-select,
.sh-missions-section-new .sh-textarea {
  border-color: #94a3b8;
  background: #f8fbff;
}

.sh-missions-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sh-missions-head-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sh-missions-head-search {
  margin-left: auto;
  flex: 0 1 320px;
  width: min(100%, 320px);
}

.sh-missions-counter {
  color: #64748b;
  font-size: 13px;
}

.sh-mission-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  -webkit-overflow-scrolling: touch;
}

.sh-mission-filter-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 2px solid var(--mission-filter-color, #d1d5db);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.sh-mission-filter-chip.active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.sh-completed-head {
  margin-top: 6px;
  margin-bottom: 2px;
}

.sh-completed-toggle-count {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.sh-missions-board-card .sh-mission-list {
  grid-template-columns: 1fr;
}

.sh-mission-card {
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  border-color: #e5e7eb;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.sh-mission-card.completed {
  border-color: #22c55e;
  background: #e6f9ec;
}

.sh-mission-head {
  margin: 0;
  padding: 12px;
}

.sh-mission-head-copy strong {
  font-size: 16px;
  line-height: 1.25;
}

.sh-point-manager {
  margin: 0;
  padding: 12px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.sh-point-card {
  border-radius: 12px;
}

.sh-section-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-subsection-head h3 {
  margin: 0;
  font-size: 16px;
}

.sh-form-grid-category,
.sh-form-grid-mission,
.sh-form-grid-points {
  grid-template-columns: 1fr;
}

.sh-input-color {
  padding: 8px;
  min-height: 48px;
}

.sh-checkline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #0f172a;
  min-width: 0;
}

.sh-checkline input[type="checkbox"] {
  margin: 0;
  flex: 0 0 auto;
}

.sh-checkline span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sh-account-notification-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sh-account-sync-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.sh-account-sync-provider {
  border: 1px solid #e1d7c7;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f4ec 100%);
  padding: 14px;
}

.sh-account-sync-provider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-account-sync-provider-title {
  font-size: 15px;
  color: #0f172a;
}

.sh-account-sync-provider-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
  min-width: 0;
}

.sh-account-sync-overview {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.sh-account-sync-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-width: 0;
}

.sh-account-sync-pane {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid #eadfce;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.sh-account-sync-pane-head {
  display: grid;
  gap: 4px;
}

.sh-account-sync-pane-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1f1d19;
}

.sh-account-sync-pane-copy {
  margin: 0;
}

.sh-account-sync-connect-grid,
.sh-account-sync-export-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
}

.sh-account-sync-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.sh-account-sync-field-meta .sh-account-sync-meta {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #e1d7c7;
  border-radius: 12px;
  background: #ffffff;
}

.sh-account-sync-toggle {
  font-size: 13px;
}

.sh-account-sync-status {
  font-weight: 600;
  color: #3f3a30;
}

.sh-account-sync-help {
  margin: -2px 0 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sh-account-sync-actions {
  justify-content: flex-start;
}

.sh-account-sync-option-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-width: 0;
}

.sh-account-sync-meta {
  font-size: 13px;
  color: #4b5563;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sh-account-sync-meta-error {
  color: #991b1b;
}

.sh-calendar-sync-modal-card {
  width: min(1240px, calc(100vw - 24px));
  max-width: none;
  max-height: 82vh;
}

.sh-calendar-sync-modal-card .sh-modal-head,
.sh-calendar-sync-modal-card .sh-modal-body,
.sh-calendar-sync-modal-card .sh-form,
.sh-calendar-sync-modal-card .sh-workspace-section,
.sh-calendar-sync-modal-card .sh-workspace-section-body,
.sh-calendar-sync-modal-card .sh-account-sync-list,
.sh-calendar-sync-modal-card .sh-account-sync-provider,
.sh-calendar-sync-modal-card .sh-account-sync-provider-body,
.sh-calendar-sync-modal-card .sh-account-sync-overview,
.sh-calendar-sync-modal-card .sh-account-sync-columns,
.sh-calendar-sync-modal-card .sh-account-sync-pane,
.sh-calendar-sync-modal-card .sh-account-sync-connect-grid,
.sh-calendar-sync-modal-card .sh-account-sync-export-grid,
.sh-calendar-sync-modal-card .sh-account-sync-field,
.sh-calendar-sync-modal-card .sh-account-sync-option-list,
.sh-calendar-sync-modal-card .sh-account-notification-option,
.sh-calendar-sync-modal-card .sh-checkline {
  min-width: 0;
  max-width: 100%;
}

.sh-calendar-sync-modal-card .sh-modal-body {
  padding: 18px 20px;
  overflow-x: hidden;
}

.sh-calendar-sync-modal-layout {
  gap: 16px;
}

.sh-calendar-sync-modal-card .sh-account-sync-list {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 14px;
}

.sh-calendar-sync-modal-card .sh-account-sync-provider {
  width: 100%;
  padding: 16px 18px;
}

.sh-calendar-sync-modal-card .sh-account-sync-provider-body {
  gap: 16px;
}

.sh-calendar-sync-modal-card .sh-account-sync-columns,
.sh-calendar-sync-modal-card .sh-account-sync-connect-grid,
.sh-calendar-sync-modal-card .sh-account-sync-export-grid,
.sh-calendar-sync-modal-card .sh-account-sync-import-list,
.sh-calendar-sync-modal-card .sh-account-sync-option-list-compact,
.sh-calendar-sync-modal-card .sh-account-sync-option-list {
  grid-template-columns: 1fr !important;
}

.sh-calendar-sync-modal-card .sh-account-sync-actions {
  flex-wrap: wrap;
}

.sh-account-notification-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #e1d7c7;
  border-radius: 12px;
  background: #f8f4ec;
  box-sizing: border-box;
}

.sh-account-notification-option:hover {
  background: #f3ede2;
}

.sh-account-notification-option input[type="checkbox"] {
  flex: 0 0 auto;
}

.sh-account-notification-option span {
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sh-account-debug-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-account-debug-toolbar .sh-subtitle {
  margin: 0;
  flex: 1 1 280px;
}

.sh-account-debug-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sh-account-debug-stat {
  padding: 10px 12px;
  border: 1px solid #e1d7c7;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f4ec 100%);
}

.sh-account-debug-stat strong {
  display: block;
  margin: 0;
  color: #7c6544;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sh-account-debug-stat span {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.sh-account-debug-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e1d7c7;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f4ec 100%);
}

.sh-account-debug-title {
  color: #3f3324;
  font-size: 14px;
  font-weight: 800;
}

.sh-account-debug-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-account-debug-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #eadfce;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
}

.sh-account-debug-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.35;
}

.sh-account-debug-row-head strong {
  font-weight: 800;
}

.sh-account-debug-row-head span {
  color: #64748b;
  font-size: 12px;
  text-align: right;
  word-break: break-word;
}

.sh-account-debug-row-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.4;
}

.sh-account-debug-row-meta {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.sh-account-debug-row-error {
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.sh-account-debug-pre {
  margin: 0;
  max-height: 280px;
  overflow: auto;
  padding: 12px;
  border: 1px solid #eadfce;
  border-radius: 12px;
  background: #fffaf1;
  color: #3f3324;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.sh-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.sh-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 10px;
}

.sh-chip-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sh-chip-action-danger {
  color: #b91c1c;
}

.sh-inline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.sh-badge-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.sh-badge-amber {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.sh-chip-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.sh-chip-action-icon,
.sh-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
}

.sh-chip-action-icon {
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

.sh-chip-action-icon-danger {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.sh-chip-action-icon svg,
.sh-button-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sh-chip-action-icon svg {
  width: 15px;
  height: 15px;
}

.sh-roundflag svg {
  width: 14px;
  height: 14px;
  display: block;
}

.sh-button-icon.is-active.is-warn {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
}

.sh-mission-list,
.sh-point-list {
  display: flex;
  flex-direction: column;
}

.sh-mission-list {
  gap: 8px;
}

.sh-point-list {
  gap: 10px;
}

.sh-mission-card {
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #fdf9f1 100%);
  border: 1px solid #d6dfeb;
  border-left: 4px solid var(--mission-accent, #94a3b8);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.sh-mission-card.completed {
  border-color: #b9e6c4;
  border-left-color: #4ca96a;
  background: linear-gradient(180deg, #eefbf3 0%, #e1f5e8 100%);
}

.sh-mission-card.is-important .sh-mission-title {
  color: #b91c1c;
}

.sh-mission-card.is-expired {
  border-color: #f3c9c9;
  border-left-color: #ff4d4d;
  background: linear-gradient(180deg, #fff7f7 0%, #fdeaea 100%);
}

.sh-mission-card.is-running {
  border-color: #c7e4f8;
  border-left-color: #5cbcf4;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf4ff 100%);
}

.sh-mission-card.is-running .sh-mission-title {
  color: #0369a1;
}

.sh-mission-card.is-open {
  border-color: color-mix(in srgb, var(--mission-accent, #94a3b8) 42%, #d6dfeb 58%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.sh-mission-card.is-open .sh-mission-title-row {
  border-color: color-mix(in srgb, var(--mission-accent, #94a3b8) 42%, #e2d4bf 58%);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--mission-accent, #94a3b8) 10%, #fffdf7 90%) 0%,
      color-mix(in srgb, var(--mission-accent, #94a3b8) 16%, #fbf3e5 84%) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 0 0 3px color-mix(in srgb, var(--mission-accent, #94a3b8) 12%, transparent);
}

.sh-mission-card.is-open .sh-mission-title {
  color: color-mix(in srgb, var(--mission-accent, #94a3b8) 38%, #2f2417 62%);
}

.sh-mission-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px;
}

.sh-mission-card-main .sh-mission-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

.sh-mission-title-row {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2d4bf;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf7 0%, #fbf3e5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.sh-mission-title-row:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

.sh-mission-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.25;
  color: #3f3324;
}

.sh-collab-unread-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #eab308;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(1px);
}

.sh-collab-unread-mark-point {
  font-size: 18px;
  line-height: 1;
  transform: none;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sh-point-flag-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.sh-roundflag.sh-roundflag-note {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #111827;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.96);
}

.sh-roundflag.sh-roundflag-note svg {
  width: 14px;
  height: 14px;
  display: block;
  opacity: 1;
}

.sh-roundflag.sh-roundflag-note.is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
  box-shadow: none;
}

.sh-mission-trail {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.sh-mission-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e4d7c5;
  background: linear-gradient(180deg, #fffdf7 0%, #fbf3e5 100%);
  color: #6a543a;
  font-size: 12px;
  font-weight: 800;
}

.sh-mission-days-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .sh-mission-list {
    gap: 6px;
  }

  .sh-mission-head {
    gap: 8px;
    padding: 8px 9px;
  }

  .sh-mission-title-row {
    padding: 8px 11px;
  }

  .sh-mission-count-badge,
  .sh-mission-days-badge {
    min-width: 50px;
    min-height: 28px;
    padding: 0 8px;
  }
}

.sh-mission-days-badge.is-urgent {
  background: #fff7ed;
  border-color: #fdba74;
  color: #c2410c;
}

.sh-mission-days-badge.is-active-range {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1;
}

.sh-mission-days-badge.is-expired {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.sh-mission-days-badge.is-completed {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.sh-mission-card.completed .sh-mission-count-badge {
  border-color: #b8dfc4;
  background: #d8f3df;
  color: #166534;
}

.sh-mission-card.is-running .sh-mission-title-row {
  border-color: #cfe1f3;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf4ff 100%);
}

.sh-mission-card.is-expired .sh-mission-title-row {
  border-color: #f3caca;
  background: linear-gradient(180deg, #fff9f9 0%, #feeeee 100%);
}

.sh-mission-card.completed .sh-mission-title-row {
  border-color: #c8e5d0;
  background: linear-gradient(180deg, #f5fdf7 0%, #ebf8ee 100%);
}

.sh-mission-card.is-running .sh-mission-count-badge {
  border-color: #cfe1f3;
  background: #eaf4ff;
  color: #33506f;
}

.sh-mission-card.is-expired .sh-mission-count-badge {
  border-color: #f2d1d1;
  background: #feeeee;
  color: #9f3b3b;
}

.sh-mission-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sh-mission-card > .sh-entry-notes {
  margin: 0 12px 10px;
  color: #5a5145;
}

.sh-point-manager {
  margin: 0;
  padding: 12px;
  border-top: 1px solid #e2eaf4;
  background: linear-gradient(180deg, #fffdf9 0%, #f8fbff 100%);
}

.sh-point-manager-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.sh-point-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 8px;
  border: 1px solid #d6dfeb;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #fdf9f1 100%);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.sh-point-row.is-expired {
  border-color: #f3c9c9;
  background: linear-gradient(180deg, #fff7f7 0%, #fdeaea 100%);
}

.sh-point-row.is-running {
  border-color: #c7e4f8;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf4ff 100%);
}

.sh-point-row.is-done {
  border-color: #86efac;
  background: #e6f9ec;
}

.sh-point-row.is-done .sh-point-title-input {
  color: #5f6b64;
  font-weight: 500;
  text-decoration: none;
}

.sh-point-row.is-done .sh-point-date-label,
.sh-point-row.is-done .sh-point-edges-inline {
  color: #6b7280;
}

.sh-point-row.is-done .sh-point-date-input,
.sh-point-row.is-done .sh-point-mobile-head > .sh-point-title-input {
  background: #f8fbf8;
  border-color: #d7e2da;
}

.sh-point-row.is-done .sh-point-date-input {
  color: #6b7280;
}

.sh-point-row.is-done.sh-point-row-mobile {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.sh-point-row.is-important .sh-point-title,
.sh-point-row.is-important .sh-point-title-input {
  color: #b91c1c;
}

.sh-company-point-title-display,
.sh-company-point-date-display {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.sh-company-point-title-display {
  white-space: normal;
}

.sh-company-point-date-display {
  white-space: nowrap;
}

.sh-company-point-title-display:hover,
.sh-company-point-title-display:focus-visible,
.sh-company-point-date-display:hover,
.sh-company-point-date-display:focus-visible {
  border-color: #b9b3aa;
  background: #f8fbff;
  color: inherit;
}

.sh-roundflag {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin-top: 2px;
  padding: 0;
  border: 2px solid #94a3b8;
  border-radius: 999px;
  background: #ffffff;
  color: transparent;
  cursor: pointer;
}

.sh-roundflag.checked {
  border-color: #16a34a;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #ffffff;
}

.sh-roundflag-range {
  border-color: #111827;
}

.sh-roundflag-range.checked {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.sh-point-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.sh-point-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sh-point-title-input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.sh-point-row:not(.sh-point-row-mobile) .sh-point-title-input {
  border-color: #e2d4bf;
  background: linear-gradient(180deg, #fffdf7 0%, #fbf3e5 100%);
}

.sh-point-row:not(.sh-point-row-mobile) .sh-point-dates-row > .sh-point-date:first-child .sh-point-date-input {
  border-color: #cfe1f3;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf4ff 100%);
  color: #33506f;
}

.sh-point-row:not(.sh-point-row-mobile) .sh-point-dates-row > .sh-point-date:nth-child(2) .sh-point-date-input {
  border-color: #d8e4f2;
  background: linear-gradient(180deg, #f8fbfe 0%, #eef4fb 100%);
  color: #526779;
}

.sh-point-title-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.sh-point-inline-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.sh-point-dates-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.sh-point-date {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sh-point-date-field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.sh-point-date-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.sh-point-date-input {
  width: 100%;
  min-height: 40px;
  padding: 0 32px 0 10px;
}

.sh-point-date-input.sh-point-date-input-empty {
  color: transparent;
}

.sh-point-date-input.sh-point-date-input-empty::-webkit-date-and-time-value,
.sh-point-date-input.sh-point-date-input-empty::-webkit-datetime-edit {
  color: transparent;
}

.sh-point-date-input.sh-point-date-input-empty:focus,
.sh-point-date-input.sh-point-date-input-empty:active {
  color: #64748b;
}

.sh-point-date-input.sh-point-date-input-empty:focus::-webkit-date-and-time-value,
.sh-point-date-input.sh-point-date-input-empty:focus::-webkit-datetime-edit,
.sh-point-date-input.sh-point-date-input-empty:active::-webkit-date-and-time-value,
.sh-point-date-input.sh-point-date-input-empty:active::-webkit-datetime-edit {
  color: #64748b;
}

.sh-point-date-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.sh-point-date-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sh-point-date-clear:disabled {
  opacity: 0.35;
  cursor: default;
}

.sh-mobile-date-modal-card {
  max-width: 420px;
}

.sh-mobile-date-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sh-mobile-date-sheet-month {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  text-transform: capitalize;
}

.sh-mobile-date-nav span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.sh-mobile-date-weekdays,
.sh-mobile-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.sh-mobile-date-weekdays {
  margin-bottom: 8px;
}

.sh-mobile-date-weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}

.sh-mobile-date-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sh-mobile-date-day.is-today {
  border-color: #94a3b8;
}

.sh-mobile-date-day.is-selected {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.sh-mobile-date-day-empty {
  min-height: 42px;
}

.sh-mobile-date-actions {
  margin-top: 14px;
  flex-wrap: wrap;
}

.sh-point-edges-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sh-point-edges-inline .sh-roundflag {
  margin-top: 0;
}

.sh-point-note-button.has-note {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
}

.sh-button-small.is-active.is-warn {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
}

.sh-point-note-modal-card {
  max-width: 560px;
}

.sh-mission-points-modal-card {
  max-width: 960px;
}

.sh-mission-points-modal-card .sh-modal-body {
  overflow-x: hidden;
}

.sh-mission-points-modal-head {
  position: relative;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--mission-accent, #94a3b8) 16%, #d9e2ec 84%);
  box-shadow: inset 0 4px 0 var(--mission-accent, #94a3b8);
}

.sh-mission-points-modal-summary {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.sh-mission-points-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  width: fit-content;
  max-width: min(100%, 240px);
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--mission-accent, #94a3b8) 38%, #d9e2ec 62%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--mission-accent, #94a3b8) 10%, #ffffff 90%);
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sh-mission-points-modal-kicker span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sh-mission-points-modal-title {
  margin: 0;
  flex: 1 1 240px;
  min-width: 0;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-mission-points-modal-meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
  min-height: 30px;
}

.sh-mission-points-modal-head .sh-card-head-tools {
  flex: 0 0 auto;
  margin-left: auto;
}

.sh-point-manager-head {
  margin-bottom: 8px;
}

.sh-point-manager-add-row {
  margin-bottom: 10px;
}

.sh-point-general-notes {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.sh-mission-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.sh-mission-files-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-mission-file-upload {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.sh-mission-file-upload svg {
  width: 16px;
  height: 16px;
}

.sh-mission-file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.sh-mission-file-upload.is-busy {
  opacity: 0.72;
}

.sh-mission-file-upload.is-busy input[type="file"] {
  pointer-events: none;
}

.sh-mission-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-mission-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.sh-mission-file-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none;
}

.sh-mission-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  flex: 0 0 38px;
}

.sh-mission-file-icon svg {
  width: 18px;
  height: 18px;
}

.sh-mission-file-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sh-mission-file-name {
  display: block;
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-mission-file-meta {
  display: block;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.sh-image-preview-modal-card {
  width: min(960px, 100%);
  max-height: 92vh;
  background: #ffffff;
  border-color: #d9e2ec;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.sh-image-preview-modal-card .sh-modal-head {
  border-bottom-color: #e2e8f0;
}

.sh-image-preview-modal-card .sh-modal-head h3 {
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-image-preview-modal-body {
  padding: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sh-image-preview-modal-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(68vh, 720px);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.sh-image-preview-modal-image {
  display: block;
  max-width: 100%;
  max-height: min(74vh, 820px);
  object-fit: contain;
  margin: 0 auto;
}

.sh-point-row-composer {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 10px;
  border-style: dashed;
}

.sh-point-composer-actions {
  margin-top: 2px;
}

.sh-calendar-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-calendar-card {
  overflow: hidden;
}

.sh-calendar-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sh-calendar-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.sh-calendar-month-row {
  display: flex;
  align-items: center;
}

.sh-calendar-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sh-calendar-filters-label {
  color: #475569;
}

.sh-calendar-filter {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.sh-calendar-filter.is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.sh-calendar-filter.is-inactive {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #94a3b8;
}

.sh-calendar-event-range {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.sh-calendar-event-range-label {
  font-size: 13px;
  font-weight: 800;
  color: #1e3a8a;
}

.sh-calendar-range-input {
  width: auto;
  min-width: 162px;
}

.sh-calendar-range-sep {
  color: #64748b;
  font-weight: 700;
}

.sh-calendar-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sh-calendar-month {
  margin-left: 0;
  font-size: 16px;
  font-weight: 800;
}

.sh-calendar-filters-toggle {
  white-space: nowrap;
}

.sh-calendar-filters-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #fcf8f1 0%, #ffffff 100%);
}

.sh-calendar-scroll {
  position: relative;
  max-height: min(980px, calc(100vh - 260px));
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
}

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

.sh-calendar-dows {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: 6px;
  background: #ffffff;
}

.sh-calendar-month-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sh-calendar-month-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-calendar-month-section + .sh-calendar-month-section {
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}

.sh-calendar-month-section-head {
  padding: 2px 2px 0;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  text-transform: capitalize;
}

.sh-calendar-month-section.is-current .sh-calendar-month-section-head {
  color: #0f172a;
}

.sh-calendar-scroll.details-on .sh-calendar-dows,
.sh-calendar-scroll.details-on .sh-calendar-cells {
  min-width: 1240px;
}

.sh-calendar-scroll.details-on .sh-calendar-month-section {
  min-width: 1240px;
}

.sh-calendar-dow {
  text-align: center;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.sh-calendar-cell {
  min-height: 126px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-calendar-cell.event-range {
  border-color: #f59e0b;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25);
  background-image: linear-gradient(180deg, rgba(255, 247, 237, 0.95) 0%, rgba(255, 255, 255, 1) 48%);
}

.sh-calendar-cell.event-start,
.sh-calendar-cell.event-end,
.sh-calendar-cell.event-single {
  box-shadow: inset 0 0 0 2px rgba(245, 158, 11, 0.65);
}

.sh-calendar-cell.other-month {
  background: #f8fafc;
  color: #64748b;
}

.sh-calendar-cell-placeholder {
  min-height: 126px;
  border: 1px dashed rgba(203, 213, 225, 0.55);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  cursor: default;
  pointer-events: none;
}

.sh-calendar-cell.weekend {
  background: #fff7ed;
}

.sh-calendar-cell.selected {
  border-color: #0ea5e9;
  box-shadow: inset 0 0 0 1px #0ea5e9;
}

.sh-calendar-cell.today {
  border-color: #ef4444;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.55);
}

.sh-calendar-date-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sh-calendar-date {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
}

.sh-calendar-date-day {
  font-size: 14px;
}

.sh-calendar-date-month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.sh-calendar-date.today {
  padding: 2px 8px;
  border: 1px solid #ef4444;
  border-radius: 999px;
  color: #ef4444;
}

.sh-calendar-date.today .sh-calendar-date-month {
  color: #ef4444;
}

.sh-calendar-note-preview {
  margin-top: 2px;
  font-size: 12px;
  color: #334155;
}

.sh-calendar-note-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: break-word;
}

.sh-calendar-event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.sh-calendar-event-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.sh-calendar-event-badge-more {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.sh-calendar-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sh-calendar-item {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  padding: 6px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
}

.sh-calendar-item.completed {
  border-color: #22c55e;
  background: #f0fdf4;
}

.sh-calendar-item.is-expired,
.sh-day-item.is-expired {
  border-color: #ef4444;
  background: #fff1f2;
}

.sh-calendar-item.is-important .sh-calendar-item-title,
.sh-day-item.is-important .sh-calendar-modal-title strong {
  color: #b91c1c;
}

.sh-calendar-item-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  flex: 0 0 10px;
  background: #94a3b8;
}

.sh-calendar-item-dot-time {
  background: #0ea5e9;
}

.sh-calendar-item-dot-event {
  background: #f59e0b;
}

.sh-calendar-item-copy {
  min-width: 0;
}

.sh-calendar-item-title {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.sh-calendar-item-sub {
  margin-top: 2px;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.sh-calendar-compact {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: auto;
}

.sh-calendar-mini-dots {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: flex-start;
}

.sh-calendar-mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8;
}

.sh-calendar-mini-flags {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sh-day-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-day-group h3 {
  margin: 0;
  font-size: 15px;
}

.sh-day-item {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
}

.sh-day-item.completed {
  border-color: #22c55e;
  background: #f0fdf4;
}

.sh-day-item-copy {
  margin-top: 4px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.sh-calendar-day-event-item {
  border-color: #fdba74;
  background: #fff7ed;
}

.sh-calendar-day-event-item .sh-button-row {
  margin-top: 8px;
}

.sh-calendar-modal-card {
  width: min(920px, 100%);
}

.sh-calendar-events-modal-card {
  width: min(640px, 100%);
}

.sh-calendar-modal-head-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-calendar-modal-pill {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.sh-calendar-modal-group {
  margin-bottom: 12px;
}

.sh-calendar-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-calendar-modal-form {
  margin-top: 12px;
}

.sh-calendar-events-form {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
}

.sh-calendar-events-grid {
  margin-top: 8px;
}

.sh-calendar-events-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sh-calendar-events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-calendar-event-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
}

.sh-calendar-event-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.sh-calendar-event-copy strong {
  font-size: 14px;
}

.sh-calendar-event-copy span {
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.sh-calendar-event-tools {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sh-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 16px;
  background: rgba(15, 23, 42, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
}

html.sh-scroll-lock-mission-modal,
body.sh-scroll-lock-mission-modal {
  overflow: hidden;
  overscroll-behavior: none;
}

body.sh-scroll-lock-mission-modal {
  position: fixed;
}

.sh-modal-card {
  width: min(980px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3f0;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.sh-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.sh-modal-head h3 {
  margin: 0;
  font-size: 18px;
}

.sh-modal-body {
  padding: 16px;
  overflow: auto;
}

.sh-mission-points-modal-card .sh-modal-body {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.sh-calendar-events-modal-card .sh-modal-head {
  padding: 14px 16px;
}

.sh-calendar-events-modal-card .sh-modal-body {
  padding: 14px;
}

.sh-daily-brief-modal-card {
  width: min(1040px, 100%);
}

.sh-daily-brief-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sh-daily-brief-subtitle {
  margin: 0;
}

.sh-daily-brief-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sh-daily-brief-refresh-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.sh-daily-brief-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sh-daily-brief-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sh-daily-brief-stat strong {
  font-size: 20px;
  line-height: 1;
  color: #0f172a;
}

.sh-daily-brief-stat span {
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sh-daily-brief-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sh-daily-brief-filter {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d6dfeb;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.sh-daily-brief-filter strong {
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  line-height: 1;
}

.sh-daily-brief-filter.active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.sh-daily-brief-filter.active strong {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.sh-daily-brief-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-daily-brief-workspace {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--daily-brief-workspace-border, #dbe3f0);
  border-radius: 20px;
  box-shadow: inset 0 4px 0 var(--daily-brief-accent, #64748b);
  background: linear-gradient(180deg, #ffffff 0%, var(--daily-brief-workspace-surface, #f8fbff) 100%);
}

.sh-daily-brief-workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sh-daily-brief-workspace-copy {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.sh-daily-brief-workspace-copy h4 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
}

.sh-daily-brief-workspace-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--daily-brief-workspace-count-bg, #eff6ff);
  border: 1px solid var(--daily-brief-workspace-count-border, #bfdbfe);
  color: var(--daily-brief-workspace-count-text, #1d4ed8);
  font-weight: 800;
}

.sh-daily-brief-event-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-daily-brief-event-head {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 2px;
}

.sh-daily-brief-event-head strong {
  font-size: 15px;
  color: #0f172a;
}

.sh-daily-brief-mission-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-daily-brief-mission {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--daily-brief-mission-border, #d6dfeb);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--daily-brief-mission-surface, #fbfdff) 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.sh-daily-brief-mission::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: var(--daily-brief-mission-accent, var(--daily-brief-accent, #64748b));
}

.sh-daily-brief-mission.is-running {
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.26), 0 8px 18px rgba(15, 23, 42, 0.05);
}

.sh-daily-brief-mission.is-urgent {
  box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.26), 0 8px 18px rgba(15, 23, 42, 0.05);
}

.sh-daily-brief-mission.is-expired {
  box-shadow: 0 0 0 1px rgba(252, 165, 165, 0.28), 0 8px 18px rgba(15, 23, 42, 0.05);
}

.sh-daily-brief-mission.completed {
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.28), 0 8px 18px rgba(15, 23, 42, 0.05);
}

.sh-daily-brief-mission-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sh-daily-brief-mission-top {
  min-width: 0;
}

.sh-daily-brief-mission-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.sh-daily-brief-mission-title-row .sh-chip-dot {
  margin-top: 5px;
  flex: 0 0 auto;
}

.sh-daily-brief-mission-title {
  display: block;
  min-width: 0;
  font-size: 16px;
  line-height: 1.25;
  color: #0f172a;
}

.sh-daily-brief-mission-description {
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.sh-daily-brief-mission-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sh-daily-brief-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.sh-daily-brief-status-pill.is-running {
  border-color: #7dd3fc;
  background: #e0f2fe;
  color: #0369a1;
}

.sh-daily-brief-status-pill.is-urgent {
  border-color: #fcd34d;
  background: #fef3c7;
  color: #92400e;
}

.sh-daily-brief-status-pill.is-expired {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

.sh-daily-brief-status-pill.completed {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.sh-daily-brief-mission-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 13px;
}

.sh-daily-brief-mission-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sh-daily-brief-mission-meta span + span::before {
  content: '\2022';
  color: #94a3b8;
}

.sh-daily-brief-point-wrap {
  display: block;
}

.sh-daily-brief-point-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sh-daily-brief-point-chip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  min-height: 0;
  padding: 7px 10px 7px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, var(--daily-brief-point-surface, #ffffff) 100%);
  border: 1px solid var(--daily-brief-point-border, #dbe3f0);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.sh-daily-brief-point-chip::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--daily-brief-mission-accent, var(--daily-brief-accent, #64748b));
}

.sh-daily-brief-point-chip.is-done {
  background: #f8fafc;
  color: #64748b;
}

.sh-daily-brief-point-chip-text {
  min-width: 0;
  padding-left: 6px;
}

.sh-daily-brief-point-chip.is-done .sh-daily-brief-point-chip-text {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.sh-daily-brief-point-chip-edge {
  justify-self: start;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.sh-daily-brief-mission-actions {
  display: flex;
  align-items: flex-start;
}

.sh-daily-brief-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.sh-loading,
.sh-noscript {
  padding: 20px 6px;
  text-align: center;
}

@media (min-width: 720px) {
  .sh-account-notification-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-account-sync-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-account-debug-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-app-shell {
    padding: 0 18px 24px;
  }

  .sh-card {
    padding: 22px;
  }

  .sh-legacy-nav-card {
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
  }

  .sh-grid-main {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  }

  .sh-grid-main > .sh-card:last-child {
    grid-column: 1 / -1;
  }

  .sh-user-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sh-time-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sh-form-grid-category {
    grid-template-columns: minmax(0, 1fr) 140px auto;
    align-items: end;
  }

  .sh-form-grid-mission {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) auto;
    align-items: end;
  }

  .sh-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sh-form-grid-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-missions-control-body.is-all-collapsed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-missions-control-body.is-all-collapsed .sh-missions-section {
    border-top: 0;
  }

  .sh-missions-control-body.is-all-collapsed .sh-missions-section + .sh-missions-section {
    border-left: 1px solid #e5e7eb;
  }

  .sh-missions-section.is-collapsed {
    padding: 8px 14px;
  }

  .sh-missions-section.is-collapsed .sh-missions-section-head {
    gap: 8px;
    min-height: 30px;
  }

  .sh-missions-section.is-collapsed .sh-section-toggle {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }

  .sh-entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-time-entry-list {
    grid-template-columns: 1fr;
  }

  .sh-calendar-scroll {
    height: clamp(820px, calc(100vh - 180px), 980px);
    max-height: none;
  }

  .sh-daily-brief-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 720px) and (max-height: 920px) {
  .sh-calendar-cell,
  .sh-calendar-cell-placeholder {
    min-height: 108px;
  }
}

@media (max-width: 719px), (hover: none) and (pointer: coarse) and (max-width: 1024px) {
  .sh-app-shell {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .sh-modal-backdrop {
    padding: 10px;
  }

  .sh-modal-card {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
  }

  .sh-image-preview-modal-card {
    width: min(100%, calc(100vw - 12px));
    max-height: calc(100vh - 12px);
    border-radius: 20px;
  }

  .sh-image-preview-modal-body {
    padding: 10px;
  }

  .sh-image-preview-modal-frame {
    min-height: calc(100vh - 124px);
  }

  .sh-image-preview-modal-image {
    max-height: calc(100vh - 144px);
  }

  .sh-modal-head,
  .sh-modal-body,
  .sh-time-grid,
  .sh-time-grid > div,
  .sh-filter-grid,
  .sh-filter-grid > div,
  .sh-time-field-row,
  .sh-compact-event-field,
  .sh-time-entry-mainline,
  .sh-time-entry-tools {
    min-width: 0;
  }

  .sh-time-grid .sh-input,
  .sh-time-grid .sh-select,
  .sh-filter-grid .sh-input,
  .sh-filter-grid .sh-select {
    min-width: 0;
    max-width: 100%;
  }

  .sh-time-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sh-time-grid-item {
    min-width: 0;
    width: 100%;
    grid-column: 1 / -1;
  }

  .sh-time-grid-item-date,
  .sh-time-grid-item-start,
  .sh-time-grid-item-end,
  .sh-time-grid-item-break,
  .sh-time-filter-grid > div {
    overflow: hidden;
  }

  .sh-time-grid input[type="date"],
  .sh-time-grid input[type="time"],
  .sh-time-grid input[type="number"],
  .sh-time-filter-grid input[type="date"],
  .sh-time-filter-grid select {
    display: block;
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: 100% !important;
    max-inline-size: 100% !important;
    height: 44px;
    min-height: 44px;
    font-size: 15px;
    line-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: auto;
    vertical-align: middle;
  }

  .sh-time-grid-item-date input[type="date"],
  .sh-time-grid-item-start input[type="time"],
  .sh-time-grid-item-end input[type="time"],
  .sh-time-grid-item-break input[type="number"],
  .sh-time-filter-grid input[type="date"],
  .sh-time-filter-grid select {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: calc(100% - 18px) !important;
    inline-size: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
    max-inline-size: calc(100% - 18px) !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    padding-right: 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    background-image: none !important;
  }

  .sh-time-grid-item-date input[type="date"]::-webkit-clear-button,
  .sh-time-grid-item-date input[type="date"]::-webkit-inner-spin-button,
  .sh-time-grid-item-start input[type="time"]::-webkit-clear-button,
  .sh-time-grid-item-start input[type="time"]::-webkit-inner-spin-button,
  .sh-time-grid-item-end input[type="time"]::-webkit-clear-button,
  .sh-time-grid-item-end input[type="time"]::-webkit-inner-spin-button {
    display: none;
  }

  .sh-time-grid input[type="date"]::-webkit-date-and-time-value,
  .sh-time-grid input[type="time"]::-webkit-date-and-time-value,
  .sh-time-filter-grid input[type="date"]::-webkit-date-and-time-value {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 1.2em;
    text-align: left;
    overflow: hidden;
  }

  .sh-time-grid input[type="date"]::-webkit-datetime-edit,
  .sh-time-grid input[type="time"]::-webkit-datetime-edit,
  .sh-time-filter-grid input[type="date"]::-webkit-datetime-edit {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 0;
    min-width: 0;
    overflow: hidden;
  }

  .sh-time-grid input[type="date"]::-webkit-datetime-edit-fields-wrapper,
  .sh-time-grid input[type="time"]::-webkit-datetime-edit-fields-wrapper,
  .sh-time-filter-grid input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 0;
    min-width: 0;
    overflow: hidden;
  }

  .sh-time-grid input[type="date"]::-webkit-calendar-picker-indicator,
  .sh-time-grid input[type="time"]::-webkit-calendar-picker-indicator,
  .sh-time-filter-grid input[type="date"]::-webkit-calendar-picker-indicator {
    margin-left: 4px;
  }
  .sh-time-actions {
    align-items: stretch;
  }

  .sh-mobile-footer-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    width: auto;
    max-width: calc(100vw - 24px);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .sh-mobile-footer-link {
    min-height: 58px;
    padding: 8px 6px;
    border: 1px solid #d6dfeb;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--sh-neutral-surface, #ffffff) 0%, var(--sh-neutral-surface-alt, #f7f5f1) 100%);
    color: var(--sh-neutral-muted, #6b665d);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 16px rgba(21, 20, 18, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
  }

  .sh-mobile-footer-link.active {
    border-color: var(--sh-neutral-border-strong, #b9b3aa);
    background: linear-gradient(180deg, #fbf9f4 0%, #ece6dc 100%);
    color: var(--sh-neutral-text, #1f1d19);
    box-shadow: inset 0 0 0 1px rgba(185, 179, 170, 0.32), 0 10px 20px rgba(21, 20, 18, 0.12);
  }

  .sh-mobile-footer-link.active:hover,
  .sh-mobile-footer-link.active:focus-visible {
    border-color: var(--sh-neutral-border-strong, #b9b3aa);
    background: linear-gradient(180deg, #fdfaf4 0%, #e8e1d5 100%);
    color: var(--sh-neutral-text, #1f1d19);
  }

  .sh-mobile-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
  }

  .sh-mobile-footer-icon svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .sh-mobile-footer-label {
    font-size: 10px;
    line-height: 0.95;
    letter-spacing: 0.01em;
  }

  .sh-mobile-footer-label-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
  }

  .sh-mobile-footer-link.active .sh-collab-count-badge {
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.96);
  }

  .sh-collab-highlight-target {
    animation: none;
  }

  .sh-card-head-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .sh-time-inline-total {
    justify-content: center;
  }

  .sh-card-head {
    align-items: flex-start;
  }

  .sh-missions-head-search {
    margin-left: 0;
    flex: 1 1 100%;
    width: 100%;
  }

  .sh-company-admin-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .sh-mission-list {
    gap: 6px;
  }

  .sh-company-mission-list {
    gap: 6px;
  }

  .sh-company-admin-grid > .sh-company-admin-panel:last-child {
    grid-column: auto;
  }

  .sh-mission-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
  }

  .sh-mission-toggle {
    display: none;
  }

  .sh-mission-title-row {
    gap: 6px;
  }

  .sh-mission-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 15px;
    line-height: 1.2;
  }

  .sh-mission-trail {
    gap: 4px;
  }

  .sh-mission-count-badge,
  .sh-mission-days-badge {
    min-width: 40px;
    min-height: 24px;
    padding: 0 6px;
    font-size: 11px;
  }

  .sh-mission-actions {
    gap: 4px;
  }

  .sh-mission-actions .sh-button-icon {
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .sh-mission-actions .sh-button-icon svg {
    width: 15px;
    height: 15px;
  }

  .sh-point-manager {
    padding: 10px;
  }

  .sh-point-composer-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .sh-mission-points-modal-card {
    width: min(100%, calc(100vw - 12px));
    border-radius: 20px;
  }

  .sh-mission-points-modal-card .sh-modal-head {
    padding: 14px 14px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  }

  .sh-mission-points-modal-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    align-items: start;
  }

  .sh-mission-points-modal-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 6px 8px;
    min-width: 0;
    align-items: center;
  }

  .sh-mission-points-modal-kicker {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    width: 14px;
    min-width: 14px;
    height: 14px;
    min-height: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .sh-mission-points-modal-kicker span:last-child {
    display: none;
  }

  .sh-mission-points-modal-kicker .sh-chip-dot {
    width: 10px;
    height: 10px;
  }

  .sh-mission-points-modal-title {
    grid-column: 2;
    grid-row: 1;
    flex: none;
    min-width: 0;
    font-size: 16px;
    line-height: 1.18;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sh-mission-points-modal-meta {
    grid-column: 1 / span 2;
    grid-row: 2;
    gap: 6px;
    margin-left: 0;
    min-height: 0;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .sh-mission-points-modal-card .sh-card-head-tools {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: auto;
    margin-left: 0;
    justify-content: flex-end;
  }

  .sh-mission-points-modal-card .sh-modal-head h3 {
    font-size: 16px;
  }

  .sh-mission-points-modal-card .sh-modal-body {
    padding: 12px;
    background: #f3f6fb;
  }

  .sh-mission-points-modal-card .sh-point-manager {
    padding: 0;
    border-top: 0;
    background: transparent;
  }

  .sh-mission-points-modal-card .sh-point-manager-add-row {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
  }

  .sh-mission-points-modal-card .sh-point-manager-add-row .sh-button {
    width: 100%;
  }

  .sh-mission-points-modal-card .sh-point-list {
    gap: 12px;
  }

  .sh-mobile-swipe-item {
    --swipe-offset: 0px;
    --swipe-open-width: 176px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
  }

  .sh-mobile-swipe-item.is-open {
    z-index: 3;
  }

  .sh-mobile-swipe-item-mission {
    margin-bottom: 0;
  }

  .sh-mobile-swipe-item-mission .sh-mobile-swipe-surface::after {
    content: none;
    display: none;
  }

  .sh-mobile-swipe-item-point {
    border-radius: 18px;
  }

  .sh-mobile-swipe-actions {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--swipe-open-width);
    display: grid;
    gap: 8px;
    padding: 8px;
    align-content: stretch;
    background: linear-gradient(180deg, #eef3fb 0%, #e2eaf6 100%);
  }

  .sh-mobile-swipe-item-mission .sh-mobile-swipe-actions {
    --swipe-open-width: 156px;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }

  .sh-mobile-swipe-item-point .sh-mobile-swipe-actions {
    --swipe-open-width: 96px;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(0, 1fr);
    gap: 6px;
    padding: 8px 8px 8px 9px;
    background: linear-gradient(180deg, #dfe9f7 0%, #ccdaee 100%);
  }

  .sh-mobile-swipe-item-point .sh-mobile-swipe-surface::after {
    content: '‹';
    top: calc(12px + 2px + 30px + 6px + 15px);
    right: 10px;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #64748b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
  }

  .sh-mobile-swipe-surface {
    position: relative;
    z-index: 1;
    transform: translate3d(calc(var(--swipe-offset) * -1), 0, 0);
    transition: transform 0.22s ease;
    will-change: transform;
    touch-action: pan-y;
  }

  .sh-mobile-swipe-surface::after {
    content: '›';
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    opacity: 0.9;
  }

  .sh-mobile-swipe-item.is-open .sh-mobile-swipe-surface::after,
  .sh-mobile-swipe-item.is-dragging .sh-mobile-swipe-surface::after {
    opacity: 0;
  }

  .sh-mobile-swipe-item.is-dragging .sh-mobile-swipe-surface {
    transition: none;
  }

  .sh-mobile-swipe-surface > .sh-mission-card,
  .sh-mobile-swipe-surface > .sh-point-row-mobile {
    margin: 0;
  }

  .sh-mobile-swipe-action {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 8px 6px;
    border: 1px solid #cfd9e8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  }

  .sh-mobile-swipe-action svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .sh-mobile-swipe-action.sh-mobile-swipe-action-icononly {
    padding: 0;
    min-height: 100%;
    gap: 0;
  }

  .sh-mobile-swipe-action.sh-mobile-swipe-action-icononly svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .sh-mobile-swipe-item-point .sh-mobile-swipe-action {
    min-height: 0;
    padding: 7px 6px;
    border-radius: 12px;
    gap: 3px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.09);
  }

  .sh-mobile-swipe-item-point .sh-mobile-swipe-action svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .sh-mobile-swipe-action span {
    display: block;
    width: 100%;
  }

  .sh-mobile-swipe-item-point .sh-mobile-swipe-action span {
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
  }

  .sh-mobile-swipe-action.sh-point-note-button.has-note,
  .sh-mobile-swipe-action.is-active {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
  }

  .sh-mobile-swipe-action.is-warn {
    border-color: #f59e0b;
    background: #f59e0b;
    color: #111827;
  }

  .sh-mobile-swipe-action.is-dark {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
  }

  .sh-mobile-swipe-action.sh-mobile-swipe-action-danger {
    border-color: #ef4444;
    background: #ef4444;
    color: #ffffff;
  }

  .sh-point-row-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    border-color: #d6dfeb;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #fdf9f1 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .sh-point-row-mobile.sh-point-row-composer {
    margin-bottom: 0;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) .sh-point-mobile-head {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-width: 0;
  }

  .sh-point-mobile-head.sh-point-mobile-head-item {
    grid-template-columns: 34px minmax(0, 1fr) 30px;
  }

  .sh-point-mobile-head-composer {
    grid-template-columns: minmax(0, 1fr) 30px;
  }

  .sh-point-mobile-head > .sh-roundflag {
    align-self: start;
    margin-top: 4px;
    width: 30px;
    min-width: 30px;
    height: 30px;
  }

  .sh-point-mobile-head > .sh-point-title-input {
    min-height: 54px;
    min-width: 0;
    height: auto;
    padding: 12px 13px;
    font-size: 16px;
    line-height: 1.35;
    border-width: 2px;
    border-color: #cbd5e1;
    background: #ffffff;
    resize: none;
    overflow-y: hidden;
    white-space: pre-wrap;
  }

  .sh-point-mobile-head > .sh-company-point-title-display {
    display: flex;
    align-items: center;
  }

  .sh-point-row-mobile .sh-point-trash-mobile {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    padding: 0;
  }

  .sh-point-row-mobile .sh-point-trash-mobile svg {
    width: 13px;
    height: 13px;
  }

  .sh-point-mobile-head > .sh-point-trash-mobile {
    align-self: start;
    justify-self: end;
  }

  .sh-point-row-mobile .sh-point-flag-stack {
    width: 36px;
    gap: 6px;
    padding-top: 2px;
    align-items: center;
  }

  .sh-point-row-mobile .sh-point-flag-stack .sh-roundflag,
  .sh-point-row-mobile .sh-point-flag-stack .sh-roundflag-note {
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin-top: 0;
  }

  .sh-point-row-mobile .sh-point-flag-stack .sh-roundflag svg,
  .sh-point-row-mobile .sh-point-flag-stack .sh-roundflag-note svg {
    width: 15px;
    height: 15px;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) .sh-point-copy {
    gap: 8px;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) .sh-point-topline {
    align-items: flex-start;
    gap: 8px;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) .sh-point-title-input {
    width: 100%;
    min-height: 48px;
    min-width: 0;
    height: auto;
    padding: 11px 12px;
    font-size: 16px;
    line-height: 1.35;
    border-width: 2px;
    border-color: #e2d4bf;
    background: linear-gradient(180deg, #fffdf7 0%, #fbf3e5 100%);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    resize: none;
    overflow-y: hidden;
    white-space: pre-wrap;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) .sh-point-inline-actions-mobile {
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) .sh-point-inline-actions-mobile .sh-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 12px;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) .sh-point-inline-actions-mobile .sh-button svg {
    width: 16px;
    height: 16px;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) > .sh-point-mobile-dates,
  .sh-point-row-mobile:not(.sh-point-row-composer) > .sh-point-dates-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 4px;
    min-width: 0;
    padding-left: 48px;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) > .sh-company-point-meta {
    padding-left: 48px;
    margin-top: -2px;
  }

  .sh-point-row-mobile:not(.sh-point-row-composer) .sh-point-dates-row-mobile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 8px;
  }

  .sh-point-row-mobile > .sh-point-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .sh-point-row-mobile .sh-point-date {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .sh-point-row-mobile .sh-point-date-label {
    display: none;
  }

  .sh-point-row-mobile .sh-point-date-field {
    position: relative;
    min-width: 0;
  }

  .sh-point-row-mobile .sh-point-date-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 34px;
    padding: 0 38px 0 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-width: 1px;
    border-color: #d0dae7;
    background: #ffffff;
    border-radius: 11px;
    appearance: none;
    -webkit-appearance: none;
  }

  .sh-point-row-mobile .sh-point-mobile-date:first-child .sh-point-date-input {
    border-color: #cfe1f3;
    background: linear-gradient(180deg, #f7fbff 0%, #eaf4ff 100%);
    color: #33506f;
  }

  .sh-point-row-mobile .sh-point-mobile-date:last-child .sh-point-date-input {
    border-color: #d8e4f2;
    background: linear-gradient(180deg, #f8fbfe 0%, #eef4fb 100%);
    color: #526779;
  }

  .sh-point-row-mobile .sh-point-date-button {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sh-point-row-mobile .sh-point-date-input::-webkit-clear-button,
  .sh-point-row-mobile .sh-point-date-input::-webkit-inner-spin-button {
    display: none;
  }

  .sh-point-row-mobile .sh-point-date-input::-webkit-date-and-time-value {
    display: flex;
    align-items: center;
    min-height: 100%;
    text-align: left;
  }

  .sh-point-row-mobile .sh-point-date-input::-webkit-datetime-edit,
  .sh-point-row-mobile .sh-point-date-input::-webkit-datetime-edit-fields-wrapper {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 0;
    min-width: 0;
  }

  .sh-point-row-mobile .sh-point-date-input::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 22px;
    margin: 0;
    opacity: 0.72;
  }

  .sh-point-row-mobile .sh-point-date-clear {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 16px;
    min-width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #64748b;
    font-size: 11px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .sh-point-row-mobile .sh-point-mobile-date:first-child .sh-point-date-clear {
    border-color: #cfe1f3;
    background: #eef6ff;
    color: #4f6d8a;
  }

  .sh-point-row-mobile .sh-point-mobile-date:last-child .sh-point-date-clear {
    border-color: #dbe6f2;
    background: #f1f6fb;
    color: #607386;
  }

  .sh-point-row-mobile .sh-point-date-clear:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .sh-point-composer-actions-mobile {
    margin-top: 0;
  }

  .sh-point-composer-actions-mobile .sh-button {
    width: 100%;
  }

  .sh-point-row-mobile .sh-point-mobile-action {
    min-height: 38px;
    width: 100%;
    padding: 0 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    white-space: normal;
    line-height: 1.05;
    text-align: center;
  }

  .sh-point-row-mobile .sh-point-mobile-action svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
  }

  .sh-point-row-mobile .sh-point-mobile-action span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .sh-point-row-mobile .sh-point-edges-mobile.is-active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
  }

  .sh-point-row-mobile.is-running .sh-point-date {
    border-color: #b7e5fb;
    background: rgba(240, 249, 255, 0.94);
  }

  .sh-point-row-mobile.is-expired .sh-point-date {
    border-color: #fecdd3;
    background: rgba(255, 245, 246, 0.94);
  }

  .sh-point-row-mobile.is-done .sh-point-date {
    border-color: #cdebd5;
    background: rgba(246, 252, 247, 0.94);
  }

  .sh-point-row-mobile .sh-point-mobile-action-wide {
    grid-column: auto;
  }

  .sh-mission-points-modal-card .sh-point-general-notes {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
  }

  .sh-mission-points-modal-card .sh-point-general-notes .sh-textarea {
    min-height: 82px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #f8fbff;
  }

  .sh-mission-points-modal-card .sh-mission-file-item {
    border-radius: 14px;
    background: #f8fafc;
  }

  .sh-time-modal-actions .sh-pill {
    width: 100%;
    justify-content: center;
  }

  .sh-time-summary-export-row .sh-button {
    flex: 1 1 140px;
  }

  .sh-legacy-nav-row {
    align-items: stretch;
  }

  .sh-legacy-nav-card .sh-card-head {
    padding: 8px 12px;
  }

  .sh-legacy-nav-card .sh-card-body {
    gap: 8px;
    padding: 10px 12px 8px;
  }

  .sh-legacy-nav-event-row {
    padding-top: 8px;
  }

  .sh-legacy-nav-event-row .sh-compact-event-row {
    flex-wrap: wrap;
  }

  .sh-legacy-nav-event-row .sh-time-select-actions {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .sh-legacy-topnav {
    display: none !important;
  }

  .sh-legacy-nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .sh-legacy-langbar {
    margin-left: 0;
  }

  .sh-daily-brief-modal-card .sh-modal-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 14px 12px;
  }

  .sh-daily-brief-modal-card .sh-calendar-modal-head-copy {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .sh-daily-brief-modal-card .sh-calendar-modal-head-copy h3 {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    font-size: 18px;
    line-height: 1.2;
  }

  .sh-daily-brief-modal-card .sh-calendar-modal-pill {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .sh-daily-brief-modal-card .sh-card-head-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .sh-daily-brief-modal-card .sh-card-head-tools .sh-button {
    width: 100%;
    justify-content: center;
  }

  .sh-daily-brief-modal-card .sh-daily-brief-modal-body {
    gap: 12px;
  }

  .sh-daily-brief-modal-card .sh-daily-brief-summary,
  .sh-daily-brief-modal-card .sh-daily-brief-filters {
    display: none;
  }

  .sh-daily-brief-modal-card .sh-daily-brief-subtitle {
    font-size: 13px;
    line-height: 1.4;
  }

  .sh-daily-brief-summary {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
  }

  .sh-daily-brief-stat {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 7px 6px;
    border-radius: 12px;
    text-align: center;
  }

  .sh-daily-brief-stat strong {
    font-size: 16px;
  }

  .sh-daily-brief-stat span {
    width: 100%;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sh-daily-brief-mission {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px 10px;
  }

  .sh-daily-brief-point-row {
    gap: 8px;
  }

  .sh-daily-brief-point-chip {
    padding: 8px 10px 8px 15px;
    border-radius: 14px;
    border-width: 1px;
    background: linear-gradient(180deg, #ffffff 0%, var(--daily-brief-point-surface-strong, var(--daily-brief-point-surface, #ffffff)) 100%);
    border-color: var(--daily-brief-point-border-strong, var(--daily-brief-point-border, #dbe3f0));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 6px 14px rgba(15, 23, 42, 0.06);
  }

  .sh-daily-brief-point-chip::before {
    left: 7px;
    top: 12px;
    bottom: auto;
    width: 6px;
    height: 6px;
    border-radius: 999px;
  }

  .sh-daily-brief-point-chip-text {
    padding-left: 6px;
  }

  .sh-daily-brief-mission-top,
  .sh-daily-brief-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .sh-daily-brief-mission-badges {
    justify-content: flex-start;
  }

  .sh-compact-event-row {
    align-items: stretch;
  }

  .sh-compact-event-row-main {
    align-items: flex-end;
  }

  .sh-compact-event-row-main .sh-compact-event-field {
    flex: 1 1 auto;
  }

  .sh-time-header-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sh-time-header-card {
    gap: 4px;
    width: 100%;
  }

  .sh-time-header-card-actions {
    gap: 4px;
    justify-content: flex-start;
  }

  .sh-event-manage-item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sh-event-manage-main {
    align-items: flex-start;
  }

  .sh-event-manage-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .sh-time-header-card-actions .sh-button {
    flex: 0 0 auto;
  }

  .sh-space-item {
    flex-direction: column;
  }

  .sh-space-item-actions {
    width: 100%;
    justify-content: stretch;
  }

  .sh-space-item-actions .sh-button {
    flex: 1 1 160px;
  }

  .sh-compact-event-create-btn {
    width: 100%;
  }

  .sh-event-row {
    align-items: stretch;
  }

  .sh-event-icon-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .sh-compact-event-pill {
    width: 100%;
    justify-content: center;
  }

  .sh-time-entry-top {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sh-time-entry-tools {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .sh-time-entry-meta-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
  }

  .sh-time-entry-meta-inline span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    white-space: normal;
    text-align: center;
    font-size: 12px;
  }

  .sh-time-entry-mainline {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .sh-time-date-chip {
    width: fit-content;
    max-width: 100%;
  }

  .sh-time-entry-duration {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    background: #f0f9ff;
  }

  .sh-time-entry-actions {
    flex-wrap: nowrap;
  }

  .sh-company-members-grid {
    grid-template-columns: 1fr;
  }

  .sh-company-top-tools {
    width: 100%;
    align-items: stretch;
  }

  .sh-company-search-inline {
    min-width: 0;
    flex: 1 1 100%;
  }

  .sh-company-member-summary {
    align-items: flex-start;
  }

  .sh-company-member-copy strong {
    white-space: normal;
  }

  .sh-company-member-mini-meta {
    gap: 4px;
  }

  .sh-company-member-mini-meta span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
  }

  .sh-company-member-copy-grid {
    grid-template-columns: 1fr;
  }

  .sh-company-member-copy-grid .sh-button {
    width: 100%;
  }

  .sh-company-point-head {
    flex-direction: column;
  }

  .sh-time-filter-grid > div {
    width: 100%;
  }

  .sh-calendar-card {
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdfa 0%, #f6f1e8 100%);
    box-shadow: 0 14px 32px rgba(58, 50, 39, 0.1);
  }

  .sh-calendar-card .sh-card-head {
    padding: 14px 16px 12px;
    border-bottom: 0;
    background: transparent;
  }

  .sh-calendar-card .sh-card-body {
    gap: 12px;
    padding: 0 12px 14px;
  }

  .sh-calendar-card .sh-section-title {
    font-size: 23px;
    letter-spacing: -0.04em;
    color: #1f1d19;
  }

  .sh-calendar-head-actions {
    width: 100%;
    gap: 6px;
  }

  .sh-calendar-head-actions .sh-button {
    flex: 1 1 140px;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 12px;
    border-color: rgba(210, 202, 190, 0.9);
    background: rgba(255, 255, 255, 0.9);
    color: #4d483f;
    box-shadow: 0 4px 12px rgba(70, 61, 48, 0.08);
  }

  .sh-calendar-toolbar {
    align-items: stretch;
    gap: 10px;
  }

  .sh-calendar-month-row {
    margin-bottom: 2px;
  }

  .sh-calendar-filters-panel {
    padding: 10px;
    border-radius: 14px;
  }

  .sh-calendar-filters {
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .sh-calendar-filters::-webkit-scrollbar {
    display: none;
  }

  .sh-calendar-filters-label {
    width: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 4px 0 2px;
    color: #8b8478;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .sh-calendar-event-range {
    align-items: stretch;
    padding: 12px;
    border-color: rgba(223, 204, 170, 0.95);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf1 0%, #f6eee1 100%);
  }

  .sh-calendar-event-range-label {
    color: #7b5f2d;
  }

  .sh-calendar-range-input {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }

  .sh-calendar-range-sep {
    display: none;
  }

  .sh-calendar-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border: 1px solid rgba(213, 205, 193, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }

  .sh-calendar-nav .sh-button {
    flex: 1 1 0;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 14px;
    border-color: transparent;
    background: transparent;
    color: #5b554d;
    box-shadow: none;
  }

  .sh-calendar-nav .sh-button:hover,
  .sh-calendar-nav .sh-button:focus-visible {
    border-color: rgba(205, 197, 186, 0.95);
    background: rgba(255, 255, 255, 0.94);
    color: #201d19;
  }

  .sh-calendar-month {
    width: 100%;
    margin-left: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #1f1d19;
  }

  .sh-calendar-filter {
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    border-color: rgba(214, 204, 191, 0.95);
    background: rgba(255, 255, 255, 0.9);
    color: #5c564e;
    font-size: 11px;
    font-weight: 800;
    flex: 0 0 auto;
    box-shadow: 0 2px 8px rgba(70, 61, 48, 0.05);
  }

  .sh-calendar-filter.is-active {
    border-color: #1f1d19;
    background: #1f1d19;
    color: #ffffff;
  }

  .sh-calendar-filter.is-inactive {
    border-color: rgba(228, 221, 211, 0.95);
    background: #efe9df;
    color: #9a9185;
  }

  .sh-calendar-scroll {
    max-height: min(820px, calc(100vh - 250px));
    padding: 10px 6px 12px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 244, 236, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(221, 214, 203, 0.9);
  }

  .sh-calendar-scroll.details-on .sh-calendar-dows,
  .sh-calendar-scroll.details-on .sh-calendar-cells {
    min-width: 100%;
  }

  .sh-calendar-scroll.details-on .sh-calendar-month-section {
    min-width: 100%;
  }

  .sh-calendar-dows,
  .sh-calendar-cells {
    gap: 2px;
  }

  .sh-calendar-dows {
    padding: 0 4px 8px;
    margin-bottom: 2px;
    background: linear-gradient(180deg, rgba(248, 244, 236, 0.98) 0%, rgba(248, 244, 236, 0.9) 100%);
  }

  .sh-calendar-dow {
    color: #989082;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .sh-calendar-month-stack {
    gap: 16px;
  }

  .sh-calendar-month-section {
    gap: 10px;
  }

  .sh-calendar-month-section + .sh-calendar-month-section {
    padding-top: 12px;
    border-top-color: rgba(223, 214, 203, 0.95);
  }

  .sh-calendar-month-section-head {
    padding: 0 8px;
    color: #211d19;
    font-size: 18px;
    letter-spacing: -0.02em;
  }

  .sh-calendar-cell {
    min-height: 74px;
    padding: 6px 3px 8px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    gap: 5px;
    align-items: center;
    overflow: hidden;
  }

  .sh-calendar-cell-placeholder {
    min-height: 74px;
    border: 0;
    border-radius: 18px;
    background: transparent;
  }

  .sh-calendar-cell.weekend {
    background: rgba(255, 247, 237, 0.34);
  }

  .sh-calendar-cell.other-month {
    background: transparent;
    opacity: 0.45;
  }

  .sh-calendar-cell.selected {
    border-color: transparent;
    background: rgba(31, 29, 25, 0.05);
    box-shadow: none;
  }

  .sh-calendar-cell.event-range {
    border-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.16);
    background: linear-gradient(180deg, rgba(255, 248, 236, 0.92) 0%, rgba(255, 255, 255, 0) 72%);
  }

  .sh-calendar-cell.event-start,
  .sh-calendar-cell.event-end,
  .sh-calendar-cell.event-single {
    box-shadow: inset 0 0 0 1.5px rgba(245, 158, 11, 0.42);
  }

  .sh-calendar-date-row {
    width: 100%;
    justify-content: center;
    gap: 0;
  }

  .sh-calendar-date {
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: 999px;
    color: #1f1d19;
    font-size: 15px;
    line-height: 1;
  }

  .sh-calendar-date-day {
    font-size: 15px;
    line-height: 1;
  }

  .sh-calendar-date-month {
    display: none;
  }

  .sh-calendar-date.today {
    border-color: #d04635;
    background: #ffe9e4;
    color: #d04635;
  }

  .sh-calendar-cell.today {
    border-color: #d04635;
    box-shadow: inset 0 0 0 1px rgba(208, 70, 53, 0.6);
  }

  .sh-calendar-cell.selected .sh-calendar-date {
    background: #1f1d19;
    color: #ffffff;
  }

  .sh-calendar-cell.selected .sh-calendar-date.today {
    background: #1f1d19;
    border-color: #ffffff;
    color: #ffffff;
  }

  .sh-calendar-cell.selected.today {
    border-color: #d04635;
    box-shadow: inset 0 0 0 1px rgba(208, 70, 53, 0.95);
  }

  .sh-calendar-note-preview {
    display: none;
  }

  .sh-calendar-items {
    margin-top: auto;
  }

  .sh-calendar-event-badges {
    gap: 4px;
  }

  .sh-calendar-event-badge {
    min-height: 20px;
    padding: 0 7px;
    border: 0;
    border-radius: 999px;
    background: #fff1df;
    color: #a0521a;
    box-shadow: inset 0 0 0 1px rgba(241, 180, 116, 0.55);
  }

  .sh-calendar-event-badge-more {
    background: #ece6dc;
    color: #5d574e;
    box-shadow: inset 0 0 0 1px rgba(207, 198, 186, 0.75);
  }

  .sh-calendar-item {
    gap: 7px;
    padding: 6px 7px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(220, 211, 199, 0.72);
    overflow: hidden;
  }

  .sh-calendar-item-title {
    font-size: 12px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: break-word;
  }

  .sh-calendar-item-sub {
    color: #6f685f;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sh-calendar-compact {
    width: 100%;
    min-height: 14px;
    max-width: 100%;
    padding: 0 2px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .sh-calendar-mini-dots {
    flex: 0 1 auto;
    flex-direction: row;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    overflow: hidden;
  }

  .sh-calendar-mini-dot {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.92);
  }

  .sh-calendar-mini-dot-event {
    background: #f59e0b;
  }

  .sh-calendar-mini-dot-time {
    background: #3b82f6;
  }

  .sh-calendar-mini-dot-note {
    background: #6b7280;
  }

  .sh-calendar-mini-count {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 999px;
    background: #ece6dc;
    color: #5d574e;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .sh-calendar-mini-flags {
    display: none;
  }

  .sh-calendar-modal-card {
    width: min(100%, calc(100vw - 14px));
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdfa 0%, #f6f1e8 100%);
    box-shadow: 0 18px 36px rgba(58, 50, 39, 0.14);
  }

  .sh-calendar-modal-card .sh-modal-head {
    padding: 15px 16px 12px;
    border-bottom: 0;
    background: transparent;
  }

  .sh-calendar-modal-card .sh-modal-body {
    padding: 0 14px 14px;
    gap: 12px;
  }

  .sh-calendar-modal-head-copy {
    align-items: flex-start;
    gap: 8px;
  }

  .sh-calendar-modal-head-copy h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: #1f1d19;
  }

  .sh-calendar-modal-pill {
    background: #f1ebe1;
    border-color: #ddd3c5;
    color: #5a544c;
  }

  .sh-calendar-modal-group {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(220, 211, 199, 0.72);
  }

  .sh-day-group h3 {
    color: #51483e;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .sh-day-item {
    border-color: rgba(223, 214, 203, 0.95);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
  }

  .sh-day-item-copy {
    color: #6c645b;
  }

  .sh-calendar-event-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .sh-calendar-event-tools {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }

  .sh-calendar-events-dates {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359px) {
  .sh-daily-brief-summary {
    display: none;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .sh-time-grid,
  .sh-time-filter-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sh-time-grid-item,
  .sh-time-grid-item-date,
  .sh-time-grid-item-start,
  .sh-time-grid-item-end,
  .sh-time-grid-item-break,
  .sh-time-filter-grid > div {
    min-width: 0;
    width: 100%;
    grid-column: 1 / -1;
    overflow: hidden;
  }

  .sh-time-grid input[type="date"],
  .sh-time-grid input[type="time"],
  .sh-time-grid input[type="number"],
  .sh-time-filter-grid input[type="date"],
  .sh-time-filter-grid select {
    display: block;
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: 100% !important;
    max-inline-size: 100% !important;
    height: 44px;
    min-height: 44px;
    line-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: auto;
    vertical-align: middle;
  }

  .sh-time-grid-item-date input[type="date"],
  .sh-time-grid-item-start input[type="time"],
  .sh-time-grid-item-end input[type="time"],
  .sh-time-grid-item-break input[type="number"],
  .sh-time-filter-grid input[type="date"],
  .sh-time-filter-grid select {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: calc(100% - 18px) !important;
    inline-size: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
    max-inline-size: calc(100% - 18px) !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    padding-right: 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    background-image: none !important;
  }

  .sh-time-grid-item-date input[type="date"]::-webkit-clear-button,
  .sh-time-grid-item-date input[type="date"]::-webkit-inner-spin-button,
  .sh-time-grid-item-start input[type="time"]::-webkit-clear-button,
  .sh-time-grid-item-start input[type="time"]::-webkit-inner-spin-button,
  .sh-time-grid-item-end input[type="time"]::-webkit-clear-button,
  .sh-time-grid-item-end input[type="time"]::-webkit-inner-spin-button {
    display: none;
  }

  .sh-time-grid input[type="date"]::-webkit-date-and-time-value,
  .sh-time-grid input[type="time"]::-webkit-date-and-time-value,
  .sh-time-filter-grid input[type="date"]::-webkit-date-and-time-value {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 1.2em;
    text-align: left;
    overflow: hidden;
  }

  .sh-time-grid input[type="date"]::-webkit-datetime-edit,
  .sh-time-grid input[type="time"]::-webkit-datetime-edit,
  .sh-time-filter-grid input[type="date"]::-webkit-datetime-edit {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 0;
    min-width: 0;
    overflow: hidden;
  }

  .sh-time-grid input[type="date"]::-webkit-datetime-edit-fields-wrapper,
  .sh-time-grid input[type="time"]::-webkit-datetime-edit-fields-wrapper,
  .sh-time-filter-grid input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 0;
    min-width: 0;
    overflow: hidden;
  }

  .sh-time-grid input[type="date"]::-webkit-calendar-picker-indicator,
  .sh-time-grid input[type="time"]::-webkit-calendar-picker-indicator,
  .sh-time-filter-grid input[type="date"]::-webkit-calendar-picker-indicator {
    margin-left: 4px;
  }
}

/* Neutral Theme */
.sh-app-root {
  --sh-neutral-bg: #f3f1ed;
  --sh-neutral-surface: #ffffff;
  --sh-neutral-surface-alt: #f7f5f1;
  --sh-neutral-surface-soft: #efede8;
  --sh-neutral-border: #d8d3ca;
  --sh-neutral-border-strong: #b9b3aa;
  --sh-neutral-text: #1f1d19;
  --sh-neutral-muted: #6b665d;
  --sh-neutral-accent: #2c2a26;
  --sh-neutral-accent-soft: #ebe7e0;
  --sh-neutral-shadow: 0 8px 24px rgba(21, 20, 18, 0.07);
  --sh-neutral-focus: rgba(63, 59, 52, 0.16);
  background: var(--sh-neutral-bg);
  color: var(--sh-neutral-text);
}

.sh-brand {
  background: var(--sh-neutral-surface-soft);
  color: var(--sh-neutral-text);
  border: 1px solid var(--sh-neutral-border);
}

.sh-card,
.sh-time-card,
.sh-missions-control-card,
.sh-missions-board-card,
.sh-modal-card,
.sh-calendar-scroll,
.sh-entry-card,
.sh-time-tools,
.sh-stat,
.sh-empty-block,
.sh-placeholder-block,
.sh-empty {
  background: linear-gradient(180deg, var(--sh-neutral-surface) 0%, var(--sh-neutral-surface-alt) 100%);
  border-color: var(--sh-neutral-border);
  box-shadow: var(--sh-neutral-shadow);
}

.sh-card-head,
.sh-time-form-card .sh-card-head,
.sh-missions-control-card .sh-card-head,
.sh-modal-head,
.sh-mission-points-modal-card .sh-modal-head {
  background: var(--sh-neutral-surface);
  border-bottom-color: var(--sh-neutral-border);
}

.sh-time-form-card,
.sh-missions-control-card,
.sh-missions-section-events,
.sh-missions-section-categories,
.sh-missions-section-new,
.sh-calendar-event-range,
.sh-mission-points-modal-card .sh-modal-body {
  background: linear-gradient(180deg, var(--sh-neutral-surface) 0%, var(--sh-neutral-surface-alt) 100%);
  border-color: var(--sh-neutral-border);
}

.sh-missions-section-events .sh-label,
.sh-calendar-event-range-label,
.sh-missions-section-categories .sh-label,
.sh-missions-section-new .sh-label {
  color: var(--sh-neutral-text);
}

.sh-time-input,
.sh-missions-section-events .sh-input,
.sh-missions-section-events .sh-select,
.sh-missions-section-categories .sh-input,
.sh-missions-section-categories .sh-select,
.sh-missions-section-new .sh-input,
.sh-missions-section-new .sh-select,
.sh-missions-section-new .sh-textarea {
  background: var(--sh-neutral-surface-alt);
  border-color: var(--sh-neutral-border-strong);
}

.sh-input:focus,
.sh-select:focus,
.sh-textarea:focus,
.sh-point-title-input:focus,
.sh-time-input:focus {
  border-color: #6d675d;
  box-shadow: 0 0 0 4px var(--sh-neutral-focus);
}

.sh-time-input:hover {
  border-color: #8a8377;
}

.sh-time-workspace-select {
  background: var(--sh-neutral-accent-soft);
  border-color: var(--sh-neutral-border);
  color: var(--sh-neutral-text);
}

.sh-time-workspace-select:hover {
  background: var(--sh-neutral-surface);
  border-color: var(--sh-neutral-border-strong);
}

.sh-time-workspace-select:focus {
  border-color: #6d675d;
  box-shadow: 0 0 0 4px var(--sh-neutral-focus);
}

.sh-space-item {
  background: linear-gradient(180deg, var(--sh-neutral-surface) 0%, var(--sh-neutral-surface-alt) 100%);
  border-color: var(--sh-neutral-border);
}

.sh-pill,
.sh-time-account-pill,
.sh-time-live-pill,
.sh-time-inline-total,
.sh-time-duration-chip,
.sh-mission-count-badge,
.sh-mission-days-badge,
.sh-badge,
.sh-badge-success,
.sh-badge-amber,
.sh-calendar-event-badge,
.sh-calendar-event-badge-more,
.sh-calendar-modal-pill,
.sh-calendar-filter.is-inactive {
  background: var(--sh-neutral-accent-soft);
  border-color: var(--sh-neutral-border);
  color: var(--sh-neutral-text);
}

.sh-pill strong,
.sh-time-duration-chip strong,
.sh-time-entry-duration strong {
  color: var(--sh-neutral-text);
}

.sh-mission-days-badge.is-urgent,
.sh-point-note-button.has-note,
.sh-button-small.is-active.is-warn,
.sh-button-icon.is-active.is-warn,
.sh-point-row-mobile .sh-point-important-mobile.is-active.is-warn {
  background: var(--sh-neutral-accent);
  border-color: var(--sh-neutral-accent);
  color: #ffffff;
}

.sh-mission-days-badge.is-active-range {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1;
}

.sh-mission-days-badge.is-expired {
  background: #f8e5e5;
  border-color: #d8a8a8;
  color: #9f3b3b;
}

.sh-mission-days-badge.is-completed {
  background: #e7f3e8;
  border-color: #b8d3bb;
  color: #35603d;
}

.sh-time-entry-duration,
.sh-time-duration-chip,
.sh-time-entry-meta-inline span,
.sh-time-entry-activity strong {
  color: var(--sh-neutral-text);
}

.sh-mission-card.completed,
.sh-point-row.is-done,
.sh-calendar-item.completed,
.sh-day-item.completed,
.sh-calendar-day-event-item {
  background: var(--sh-neutral-surface-alt);
  border-color: var(--sh-neutral-border);
}

.sh-mission-card.completed {
  background: linear-gradient(180deg, #eefbf3 0%, #e1f5e8 100%);
  border-color: #b9e6c4;
}

.sh-point-row.is-done {
  background: linear-gradient(180deg, #eefbf3 0%, #e1f5e8 100%);
  border-color: #b9e6c4;
}

.sh-point-row.is-done .sh-point-title-input {
  color: var(--sh-neutral-muted);
  font-weight: 500;
  text-decoration: none;
}

.sh-point-row.is-done .sh-point-date-label,
.sh-point-row.is-done .sh-point-edges-inline,
.sh-point-row.is-done .sh-point-date-input {
  color: var(--sh-neutral-muted);
}

.sh-point-row.is-done .sh-point-date-input,
.sh-point-row.is-done .sh-point-mobile-head > .sh-point-title-input {
  background: linear-gradient(180deg, #f6fcf8 0%, #edf8f1 100%);
  border-color: #cfe3d4;
}

.sh-mission-card.completed .sh-mission-count-badge {
  border-color: #b8dfc4;
  background: #d8f3df;
  color: #166534;
}

.sh-mission-file-icon {
  background: var(--sh-neutral-accent-soft);
  border-color: var(--sh-neutral-border);
  color: var(--sh-neutral-text);
}

.sh-calendar-cell.event-range {
  border-color: #a8a093;
  box-shadow: inset 0 0 0 1px rgba(90, 85, 77, 0.18);
  background-image: linear-gradient(180deg, rgba(241, 238, 232, 0.95) 0%, rgba(255, 255, 255, 1) 48%);
}

.sh-calendar-cell.event-start,
.sh-calendar-cell.event-end,
.sh-calendar-cell.event-single {
  box-shadow: inset 0 0 0 2px rgba(90, 85, 77, 0.45);
}

.sh-calendar-cell.weekend,
.sh-calendar-cell.other-month,
.sh-calendar-cell-placeholder {
  background: var(--sh-neutral-surface-alt);
}

.sh-calendar-cell.selected {
  border-color: #6d675d;
  box-shadow: inset 0 0 0 1px #6d675d;
}

.sh-calendar-item-dot-time,
.sh-calendar-item-dot-event {
  background: #7d776d;
}

.sh-app-root.sh-touch-select-assist .sh-select-wrap::after,
.sh-app-root.sh-touch-select-assist .sh-time-workspace-select-wrap::after {
  display: none;
}

.sh-app-root.sh-touch-select-assist .sh-select-wrap .sh-select,
.sh-app-root.sh-touch-select-assist .sh-time-workspace-select {
  appearance: menulist !important;
  -webkit-appearance: menulist !important;
  -moz-appearance: menulist !important;
  padding-right: 12px !important;
  background-image: none !important;
  background-color: #ffffff !important;
  border-radius: 12px !important;
  cursor: pointer;
}

.sh-company-mission-meta .sh-badge-amber,
.sh-company-assignee-summary .sh-badge-amber,
.sh-company-assignee-dropdown .sh-badge-amber,
.sh-company-assignee-menu .sh-badge-amber {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.sh-company-mission-meta .sh-badge-success,
.sh-company-point-meta .sh-badge-success,
.sh-company-assignee-summary .sh-badge-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.sh-pwa-push-dock {
  position: fixed;
  right: 18px;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  z-index: 10020;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.sh-pwa-push-dock.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sh-pwa-push-card {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid rgba(126, 102, 67, .18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(251, 248, 242, .96), rgba(244, 235, 221, .98));
  box-shadow: 0 14px 30px rgba(83, 62, 35, .16);
  backdrop-filter: blur(10px);
}

.sh-pwa-push-dock.is-success .sh-pwa-push-card {
  border-color: rgba(64, 128, 90, .24);
}

.sh-pwa-push-dock.is-warning .sh-pwa-push-card {
  border-color: rgba(184, 134, 11, .28);
}

.sh-pwa-push-dock.is-danger .sh-pwa-push-card {
  border-color: rgba(181, 69, 69, .26);
}

.sh-pwa-push-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sh-pwa-push-copy strong {
  font-size: 14px;
  line-height: 1.2;
  color: #4f3c23;
}

.sh-pwa-push-copy span {
  font-size: 12px;
  line-height: 1.4;
  color: #6f5a3c;
}

.sh-pwa-push-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.sh-pwa-push-flash {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 11px;
  line-height: 1.35;
  color: #6f5a3c;
}

.sh-pwa-push-flash.is-success {
  color: #2d6a4f;
}

.sh-pwa-push-flash.is-danger {
  color: #a33f3f;
}

.sh-pwa-push-flash.is-warn {
  color: #946c12;
}

@media (max-width: 719px) {
  .sh-pwa-push-dock {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .sh-pwa-push-card {
    flex-direction: column;
    gap: 10px;
    border-radius: 16px;
    padding: 13px 14px;
  }

  .sh-pwa-push-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
