/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #efede7;
  --paper: rgba(255, 255, 255, 0.8);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(28, 28, 28, 0.08);
  --text: #161616;
  --muted: #6a6a6a;
  --accent: #1d6f57;
  --accent-soft: #daf1e8;
  --danger: #b54d3d;
  --danger-soft: #f8e1dc;
  --empty: #ece7df;
  --shadow: 0 18px 48px rgba(22, 22, 22, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, #f5f3ee 0%, #eeece6 100%);
  color: var(--text);
}

body {
  padding: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
}

.app-shell {
  position: relative;
}

.app-stage.is-blurred {
  filter: blur(18px);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.panel,
.modal-card,
.hero-card,
.identity-modal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.hero-card,
.panel,
.modal-card {
  padding: 18px;
}

.hero-top,
.utility-row,
.panel-header,
.button-row,
.summary-grid,
.status-line,
.toolbar,
.segment,
.hero-actions,
.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-top,
.utility-row,
.panel-header {
  justify-content: space-between;
  align-items: center;
}

.kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow,
.chip,
.badge,
.month-pill,
.notes-status,
.summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.eyebrow,
.chip,
.badge,
.ghost-button,
.button,
.danger-button,
.month-pill,
.notes-status {
  padding: 9px 14px;
  border: 0;
}

.eyebrow {
  background: rgba(29, 111, 87, 0.08);
  color: var(--accent);
  font-weight: 700;
  gap: 8px;
}

.headline {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.subtle,
.small-note,
.notes-meta,
.idea-item-date {
  color: var(--muted);
  line-height: 1.5;
}

.button {
  background: var(--text);
  color: white;
}

.ghost-button {
  background: rgba(0, 0, 0, 0.045);
  color: var(--text);
}

.danger-button {
  background: var(--danger);
  color: white;
}

.chip,
.month-pill,
.summary-pill {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.main-grid.compact {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.utility-row {
  margin-bottom: 14px;
}

.month-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.month-pill {
  min-width: 170px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  font-weight: 700;
}

.calendar-panel {
  padding: 14px;
}

.calendar-grid.compact {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.calendar-header.compact {
  padding: 0 0 4px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.calendar-cell.compact {
  min-height: 82px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-cell.compact.is-outside {
  opacity: 0.4;
}

.calendar-cell.compact.is-all-can {
  background: linear-gradient(180deg, #edf9f4 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(29, 111, 87, 0.25);
}

.calendar-cell.compact.has-some {
  box-shadow: inset 0 0 0 1px rgba(29, 111, 87, 0.12);
}

.calendar-cell.compact.has-busy::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 14px;
  height: 14px;
  background: var(--danger-soft);
  border-top-left-radius: 14px;
}

.date-number.compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.date-markers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compact-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge {
  background: rgba(0, 0, 0, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.badge.accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge.empty {
  background: var(--empty);
}

.badge.compact {
  padding: 5px 8px;
}

.mini-note {
  margin-top: auto;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.all-can-star {
  color: #c28810;
  font-size: 12px;
  line-height: 1;
}

.idea-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c97a15;
}

.notes-panel {
  padding: 8px 14px 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.notes-textarea,
.textarea,
.field,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  padding: 12px 14px;
}

.notes-textarea {
  min-height: 540px;
  margin: 14px 0 10px;
  resize: vertical;
  line-height: 1.6;
  font-family: "SF Mono", Consolas, monospace;
  background:
    linear-gradient(transparent 31px, rgba(0, 0, 0, 0.06) 32px),
    rgba(255, 255, 255, 0.92);
  background-size: 100% 32px;
}

.ideas-editor-list {
  display: grid;
  grid-gap: 0;
  gap: 0;
  margin: 8px 0 0;
}

.notebook-sheet {
  border: 1px solid rgba(109, 131, 166, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(to right, rgba(206, 92, 92, 0.18), rgba(206, 92, 92, 0.18)) 44px 0 / 1px 100% no-repeat,
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.9) 0px,
      rgba(255, 255, 255, 0.9) 41px,
      rgba(109, 131, 166, 0.12) 41px,
      rgba(109, 131, 166, 0.12) 42px
    );
  box-shadow: 0 18px 44px rgba(22, 22, 22, 0.06);
  overflow: hidden;
}

.idea-editor-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
  min-height: 42px;
  padding: 8px 16px 8px 18px;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.idea-editor-row:hover,
.idea-editor-row:focus-within {
  background: rgba(255, 255, 255, 0.26);
}

.idea-bullet {
  width: 7px;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: transparent;
}

.idea-bullet.is-visible {
  background: rgba(22, 22, 22, 0.74);
}

.idea-editor-main {
  min-width: 0;
}

.idea-editor-textarea {
  width: 100%;
  min-height: 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  resize: none;
  overflow: hidden;
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.idea-editor-textarea:focus {
  outline: none;
}

.notes-status {
  background: rgba(0, 0, 0, 0.05);
  color: var(--muted);
  white-space: nowrap;
}

.field,
.textarea,
.select {
  min-height: 46px;
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.form-grid,
.side-stack,
.idea-list,
.status-list,
.admin-list,
.identity-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.status-item,
.admin-item,
.idea-item,
.summary-block,
.editor-block {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.summary-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.summary-pill {
  padding: 10px 12px;
}

.status-available {
  border-left: 4px solid var(--accent);
}

.status-busy {
  border-left: 4px solid var(--danger);
}

.status-empty {
  border-left: 4px solid #cbc4ba;
}

.window-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
}

.two-col,
.admin-grid.columns,
.modal-grid {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid.columns,
.modal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-shell,
.identity-shell {
  max-width: 840px;
  margin: 8vh auto;
}

.identity-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(240, 236, 230, 0.2);
  z-index: 60;
}

.identity-modal {
  width: min(420px, 100%);
  padding: 22px;
}

.identity-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.identity-list-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.28);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow: auto;
  z-index: 70;
}

.modal-card {
  width: min(960px, 100%);
  margin: 12px auto 40px;
}

.error-text {
  color: var(--danger);
}

.success-text {
  color: var(--accent);
}

@media (max-width: 1080px) {
  .main-grid.compact,
  .admin-grid.columns,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .calendar-panel {
    max-width: 780px;
  }
}

@media (max-width: 720px) {
  body {
    padding: 10px;
  }

  .utility-row,
  .notes-header,
  .hero-top,
  .panel-header {
    flex-direction: column;
    align-items: stretch;
  }

  .calendar-grid.compact {
    gap: 6px;
  }

  .calendar-cell.compact {
    min-height: 68px;
    padding: 7px;
    border-radius: 14px;
  }

  .calendar-header.compact {
    font-size: 10px;
  }

  .notes-textarea {
    min-height: 340px;
  }

  .window-row,
  .two-col {
    grid-template-columns: 1fr;
  }
}

