/* src/components/Button/Button.css */
.ds-button {
  font-family: var(--font-family-base);
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s;
}
.ds-button:hover:not(:disabled) {
  background-color: var(--color-bg-hover);
}
.ds-button:active:not(:disabled) {
  background-color: var(--color-bg-active);
}
.ds-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ds-button--full {
  width: 100%;
}
.ds-button--primary {
  background-color: var(--color-success-soft-bg);
  border-color: var(--color-success-soft-border);
}
.ds-button--primary:hover:not(:disabled) {
  background-color: var(--color-success-soft-bg-hover);
}
.ds-button--danger {
  background-color: var(--color-error-modal-border);
  border-color: var(--color-black);
}
.ds-button--danger:hover:not(:disabled) {
  filter: brightness(0.95);
}
.ds-button--icon {
  padding: 8px;
  width: 40px;
  height: 40px;
}
.ds-button.is-loading {
  cursor: not-allowed;
  opacity: 0.75;
}
.ds-btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--shadow-color);
  border-top-color: var(--color-black);
  border-radius: var(--radius-circle);
  animation: ds-btn-spinner-spin 0.6s linear infinite;
}
@keyframes ds-btn-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

/* src/components/SegmentedTabs/SegmentedTabs.css */
.ds-segmented-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
}
.ds-segmented-tab {
  flex: 1;
  padding: 8px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-input-inactive);
  font-family: var(--font-family-base);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background-color 0.2s;
}
.ds-segmented-tab:hover {
  background: var(--color-bg-subtle-hover);
}
.ds-segmented-tab.active {
  background: var(--color-success);
  color: var(--color-white);
  border-color: var(--color-success);
}

/* src/components/TextInput/TextInput.css */
.ds-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ds-field-label {
  font-size: 12px;
  font-weight: bold;
  color: var(--color-text-muted);
}
.ds-text-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-family: var(--font-family-base);
  font-size: 13px;
  background-color: var(--color-white);
}
.ds-text-input:focus {
  outline: 2px solid var(--color-info);
  background-color: var(--color-focus-bg);
}
.ds-field-error {
  font-size: 12px;
  color: var(--color-error);
}

/* src/components/Textarea/Textarea.css */
.ds-textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-sm);
  padding: 8px;
  font-family: var(--font-family-base);
  font-size: 13px;
  background-color: var(--color-white);
  resize: vertical;
}
.ds-textarea:focus {
  outline: 2px solid var(--color-info);
  background-color: var(--color-focus-bg);
}

/* src/components/PinInput/PinInput.css */
.ds-pin-group {
  display: flex;
  gap: 8px;
}
.ds-pin-digit {
  width: 42px;
  height: 52px;
  text-align: center;
  font-family: monospace;
  font-size: 22px;
  font-weight: bold;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-black);
  border-radius: var(--radius-sm);
}
.ds-pin-digit:focus {
  outline: none;
  border: 2px solid var(--color-black);
  background: var(--color-white);
}
.ds-pin-error {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-error);
}

/* src/components/ToggleQuestion/ToggleQuestion.css */
.ds-toggle-question {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 8px;
}
.ds-toggle-circle-container {
  width: 60px;
  flex: none;
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-toggle-circle {
  width: 32px;
  height: 32px;
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: var(--radius-circle);
  position: relative;
}
.ds-toggle-circle.is-checked::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--color-success);
  border-radius: var(--radius-circle);
}
.ds-toggle-question-text {
  flex: 1;
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  padding: 8px;
  border-bottom-right-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  font-size: 13px;
  display: flex;
  align-items: center;
}

/* src/components/Card/Card.css */
.ds-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  padding: 12px;
  margin-bottom: 8px;
}
.ds-card--list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.ds-card--list-item:hover {
  background-color: var(--color-bg-hover);
}
.ds-card--list-item.is-completed {
  background-color: var(--color-success-tint-bg);
  opacity: 0.7;
}
.ds-card--list-item-column {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.ds-card--record {
  border-radius: var(--radius-md);
}
.ds-card--row {
}
.ds-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-border-soft);
}
.ds-card-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 4px 0;
}
.ds-card-description {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
}
.ds-card-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-left: 8px;
}
.ds-card-badge {
  display: inline-block;
  background-color: var(--color-error-badge-bg);
  color: var(--color-white);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  font-weight: bold;
}
.ds-card--list-item.is-completed .ds-card-badge {
  background-color: var(--color-success);
}
.ds-card-corner-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
}

/* src/components/CalendarDayGrid/CalendarDayGrid.css */
.ds-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin: 8px 0 12px;
}
.ds-calendar-day {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-sizing: border-box;
  background: var(--color-white);
  cursor: pointer;
  font-family: var(--font-family-base);
}
.ds-calendar-day.missed {
  background: var(--color-bg-panel-muted);
  color: var(--color-text-missed);
}
.ds-calendar-day.filled-self {
  background: var(--color-success-cell-bg);
}
.ds-calendar-day.filled-other {
  background: var(--color-warning-cell-bg);
}

/* src/components/Modal/Modal.css */
.ds-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-scrim);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-modal-box {
  background: var(--color-white);
  border: 1px solid var(--color-black);
  border-top: 4px solid var(--color-black);
  border-radius: var(--radius-md);
  padding: 20px;
  width: 90%;
  max-width: 340px;
  text-align: center;
}
.ds-modal-box.type-success {
  border-top-color: var(--color-success-modal-border);
}
.ds-modal-box.type-error {
  border-top-color: var(--color-error-modal-border);
}
.ds-modal-box.type-info {
  border-top-color: var(--color-info-modal-border);
}
.ds-modal-message {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 16px;
  white-space: pre-line;
}
.ds-modal-actions {
  display: flex;
  justify-content: center;
}
.ds-modal-actions button {
  padding: 8px 28px;
  border: 1px solid var(--color-black);
  background: var(--color-white);
  cursor: pointer;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.ds-modal-actions button:hover {
  background: var(--color-bg-hover);
}

/* src/components/Banner/Banner.css */
.ds-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  border: 1px solid transparent;
}
.ds-banner--warning {
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  border-color: var(--color-warning-border);
}
.ds-banner--error {
  background: var(--color-status-error-bg);
  color: var(--color-status-error-text);
}
.ds-banner--info {
  background: var(--color-warning-note-bg);
  color: var(--color-text-secondary);
  border-left: 4px solid var(--color-warning-note-border);
  border-radius: 0;
}
.ds-banner-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: inherit;
}

/* src/components/StatusBadge/StatusBadge.css */
.ds-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.ds-status-badge--synced {
  background: var(--color-status-synced-bg);
  color: var(--color-status-synced-text);
}
.ds-status-badge--pending {
  background: var(--color-status-pending-bg);
  color: var(--color-status-pending-text);
}
.ds-status-badge--syncing {
  background: var(--color-status-syncing-bg);
  color: var(--color-status-syncing-text);
}
.ds-status-badge--error {
  background: var(--color-status-error-bg);
  color: var(--color-status-error-text);
}

/* src/tokens/tokens.css */
:root {
  --color-white: #fff;
  --color-black: #000;
  --color-bg-phone: #dbdbdb;
  --color-bg-hover: #f0f0f0;
  --color-bg-active: #e0e0e0;
  --color-bg-subtle: #f5f5f5;
  --color-bg-subtle-hover: #e8e8e8;
  --color-bg-panel-muted: #f2f2f2;
  --color-bg-skeleton: #d9d9d9;
  --color-bg-faint: #fafafa;
  --color-border-soft: #ddd;
  --color-border-input-inactive: #ccc;
  --color-text-heading: #111;
  --color-text-secondary: #333;
  --color-text-muted: #555;
  --color-text-faint: #666;
  --color-text-caption: #444;
  --color-text-disabled: #999;
  --color-text-missed: #777;
  --color-success: #4CAF50;
  --color-success-tint-bg: #e8f5e9;
  --color-success-soft-bg: #8ccc9f;
  --color-success-soft-bg-hover: #c3daca;
  --color-success-soft-border: #5a9e6e;
  --color-success-modal-border: rgba(121, 252, 164, 0.822);
  --color-success-cell-bg: #c8f7d0;
  --color-error: #f44336;
  --color-error-soft-bg: #ffe6e6;
  --color-error-soft-bg-hover: #ffbaba;
  --color-error-badge-bg: #ff6b6b;
  --color-error-modal-border: #f7818b;
  --color-warning-note-bg: hsl(46, 100%, 91%);
  --color-warning-note-border: #ffeb3b;
  --color-warning-overlay-bg: rgba(255, 215, 0, 0.4);
  --color-warning-overlay-border: #FFD700;
  --color-warning-cell-bg: #fff1a8;
  --color-warning-bg: #fff3cd;
  --color-warning-text: #856404;
  --color-warning-border: #ffeeba;
  --color-info: #0066cc;
  --color-info-modal-border: #79fca4;
  --color-focus-bg: #fffacd;
  --color-status-synced-bg: #d4edda;
  --color-status-synced-text: #155724;
  --color-status-pending-bg: #fff3cd;
  --color-status-pending-text: #856404;
  --color-status-syncing-bg: #cfe2ff;
  --color-status-syncing-text: #084298;
  --color-status-error-bg: #f8d7da;
  --color-status-error-text: #842029;
  --overlay-scrim: rgba(0, 0, 0, 0.5);
  --overlay-scrim-heavy: rgba(0, 0, 0, 0.6);
  --shadow-color: rgba(0, 0, 0, 0.25);
  --shadow-color-soft: rgba(0, 0, 0, 0.3);
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-tour-card: 6px;
  --radius-circle: 50%;
  --font-family-base: Myriad Pro, sans-serif;
}
/*# sourceMappingURL=index.global.css.map */
