@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Patrick+Hand&display=swap');

:root {
  --paper:      #f7f3e9;
  --paper-alt:  #f0ebe0;
  --ink:        #1c140e;
  --ink-red:    #c0392b;
  --ink-blue:   #1e4d7a;
  --ink-light:  #6b5a4e;
  --dot:        #c8bfb2;
  --margin:     #e8948a;
  --font:       'Caveat', 'Patrick Hand', cursive;
  --shadow:     3px 4px 12px rgba(0,0,0,0.18);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: var(--font);
  background-color: #d9d0c4;
  background-image: radial-gradient(circle, var(--dot) 1.3px, transparent 1.3px);
  background-size: 22px 22px;
  min-height: 100vh;
  padding: 12px;
  color: var(--ink);
}

/* ── NOTEBOOK ── */
.notebook { max-width: 920px; margin: 0 auto; }

/* ── NAVIGATION ── */
.nav-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 0;
  padding-bottom: 1px;
}
.nav-row::-webkit-scrollbar { display: none; }
.nav-row + .nav-row { margin-top: 3px; }
.nav-row.cadernos .nav-tab { font-size: 14px; padding: 4px 10px; }

.nav-tab {
  display: inline-block;
  padding: 7px 14px;
  background: #cec6b8;
  border: 1px solid #b4ab9e;
  border-bottom: none;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink-light);
  border-radius: 6px 6px 0 0;
  position: relative;
  bottom: -1px;
  white-space: nowrap;
  transition: all .15s;
  flex-shrink: 0;
}
.nav-tab:hover  { background: var(--paper-alt); color: var(--ink); }
.nav-tab.active { background: var(--paper); color: var(--ink); border-color: #a4998e; z-index: 2; }

/* ── PAGE ── */
.page {
  background: var(--paper);
  border: 1px solid #a4998e;
  border-radius: 0 6px 6px 6px;
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.4);
}

/* Margem vermelha — oculta em mobile */
.page::before {
  content: '';
  position: absolute;
  left: 58px; top: 0; bottom: 0; width: 1.5px;
  background: var(--margin); opacity: .7; z-index: 1;
}

/* ── PAPEL PONTILHADO ── */
.page-body {
  padding: 24px 28px 70px 76px;
  line-height: 34px;
  background-image: radial-gradient(circle, #c8bfb2 1.1px, transparent 1.1px);
  background-size: 28px 28px;
  background-position: 14px 14px;
  min-height: 80vh;
}

/* ── PAGE HEADER ── */
.page-header { margin-bottom: 22px; }
.page-title {
  font-size: 32px; font-weight: 700; color: var(--ink-red);
  display: flex; align-items: center; gap: 10px; line-height: 1.1;
}
.page-title .icon { font-size: 26px; }
.page-subtitle { font-size: 17px; color: var(--ink-light); margin-top: 2px; }
.page-date { font-size: 15px; color: var(--ink-light); font-style: italic; }
.page-num {
  position: absolute; bottom: 16px; right: 22px;
  font-size: 14px; color: var(--ink-light); font-style: italic;
}

/* ── LEGEND ── */
.legend {
  background: rgba(255,255,255,.55); border: 1px dashed #c4bbb0;
  border-radius: 5px; padding: 10px 14px; margin-bottom: 20px;
  font-size: 16px; color: var(--ink-light); line-height: 1.5;
}
.legend strong { color: var(--ink-blue); display: block; margin-bottom: 4px; font-size: 17px; }
.legend-row { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.leg { display: flex; align-items: center; gap: 5px; }
.leg-sym { font-weight: 700; color: var(--ink); min-width: 18px; font-size: 18px; line-height: 1; }

/* ── SECTION TITLE ── */
.sec-title {
  font-size: 21px; font-weight: 700; color: var(--ink-blue);
  border-bottom: 1.5px solid var(--ink-blue);
  margin: 20px 0 8px; padding-bottom: 2px;
  display: flex; align-items: center; gap: 8px;
}
.sec-title.red { color: var(--ink-red); border-color: var(--ink-red); }

/* ── BUJO ITEMS ── */
.bujo-list { list-style: none; margin-bottom: 10px; }
.bujo-item { display: flex; align-items: flex-start; gap: 7px; min-height: 34px; }
.bujo-sym {
  font-size: 21px; font-weight: 700; min-width: 24px;
  line-height: 34px; cursor: pointer; user-select: none;
  transition: color .2s; flex-shrink: 0;
}
.bujo-sym:hover { color: var(--ink-red); }
.bujo-text {
  flex: 1; font-family: var(--font); font-size: 20px;
  line-height: 34px; color: var(--ink); outline: none;
  background: transparent; border: none; padding: 0;
  min-width: 0; width: 100%;
}
.bujo-text:focus { background: rgba(255,255,255,.3); border-radius: 3px; }
.bujo-text.done       { opacity: .42; color: var(--ink-light); }
.bujo-text.migrated   { color: var(--ink-blue); font-style: italic; }
.bujo-text.cancelled  { text-decoration: line-through; color: #aaa; opacity: .6; }
.bujo-text.annual     { color: #6b3fa0; font-style: italic; }

.bujo-add {
  background: transparent; border: 1px dashed #c4bbb0; border-radius: 4px;
  padding: 3px 12px; font-family: var(--font); font-size: 17px;
  color: var(--ink-light); cursor: pointer; margin-top: 6px; transition: all .15s;
}
.bujo-add:hover { background: rgba(255,255,255,.5); color: var(--ink); }

/* ── IN-PAGE TABS ── */
.tab-bar {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--ink-blue);
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 5px 16px; font-family: var(--font); font-size: 17px; font-weight: 600;
  background: transparent; border: none; cursor: pointer;
  color: var(--ink-light); border-radius: 5px 5px 0 0;
  transition: all .15s; white-space: nowrap; flex-shrink: 0;
}
.tab-btn:hover  { background: var(--paper-alt); color: var(--ink); }
.tab-btn.active { background: var(--ink-blue); color: #fff; }
.tab-panel         { display: none; }
.tab-panel.active  { display: block; }

/* ── INDICATOR CARDS ── */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px; margin-bottom: 20px;
}
.ind-card {
  background: rgba(255,255,255,.52); border: 1px solid #c4bbb0;
  border-radius: 6px; padding: 12px 14px;
  border-left: 4px solid var(--ink-blue);
  position: relative;
}
.ind-card.red    { border-left-color: var(--ink-red); }
.ind-card.green  { border-left-color: #2a7a4f; }
.ind-card.amber  { border-left-color: #c17f24; }
.ind-card.purple { border-left-color: #6b3fa0; }

.ind-section { font-size: 12px; font-weight: 700; color: var(--ink-light); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.ind-label   { font-size: 15px; color: var(--ink-light); line-height: 1.2; margin-bottom: 4px; }
.ind-value   { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; display: flex; align-items: baseline; gap: 4px; }
.ind-unit    { font-size: 14px; color: var(--ink-light); font-weight: 400; }
.ind-meta    { font-size: 13px; color: var(--ink-light); margin-top: 4px; }
.ind-bar     { height: 5px; background: #e0d8c8; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ind-fill    { height: 100%; border-radius: 3px; background: var(--ink-blue); transition: width .4s; }
.ind-fill.red    { background: var(--ink-red); }
.ind-fill.green  { background: #2a7a4f; }
.ind-fill.amber  { background: #c17f24; }
.ind-fill.purple { background: #6b3fa0; }

/* Valor editável do indicador */
.ind-num {
  font-family: var(--font); font-size: 28px; font-weight: 700;
  color: var(--ink); background: transparent; border: none;
  outline: none; min-width: 30px; cursor: text;
  border-bottom: 1.5px dashed transparent; transition: border-color .15s;
}
.ind-num:focus { border-bottom-color: var(--ink-blue); }

/* Status dot */
.sdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; }
.sdot-g { background: #2a7a4f; }
.sdot-a { background: #c17f24; }
.sdot-r { background: var(--ink-red); }

/* ── CALENDAR ── */
.cal-year  { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.cal-month { min-width: 140px; }
.cal-mname { font-size: 17px; font-weight: 700; color: var(--ink-red); text-align: center; margin-bottom: 4px; }
.cal-grid  { display: grid; grid-template-columns: repeat(7, 20px); gap: 2px; font-size: 13px; }
.cal-dh    { text-align: center; font-size: 10px; color: var(--ink-light); font-weight: 700; }
.cal-day   { text-align: center; width: 20px; height: 20px; line-height: 20px; cursor: pointer; border-radius: 50%; transition: all .15s; font-size: 12px; }
.cal-day:hover:not(.empty) { background: var(--paper-alt); }
.cal-day.has-item { font-weight: 700; color: var(--ink-blue); }
.cal-day.today    { background: var(--ink-red); color: #fff; }
.cal-day.empty    { cursor: default; }

/* ── HABIT TRACKER ── */
.habit-tracker { margin: 10px 0 18px; }
.habit-row     { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.habit-name    { font-size: 16px; min-width: 130px; flex-shrink: 0; }
.habit-dots    { display: flex; gap: 3px; flex-wrap: nowrap; }
.habit-dot     { width: 17px; height: 17px; border: 1.5px solid #b4aba0; border-radius: 50%; cursor: pointer; transition: background .15s; }
.habit-dot.on  { background: var(--ink-blue); border-color: var(--ink-blue); }

/* ── SYM PICKER ── */
.sym-picker {
  position: fixed; background: var(--paper); border: 1px solid #b4aba0;
  border-radius: 7px; box-shadow: 2px 4px 14px rgba(0,0,0,.22);
  padding: 8px; display: none; z-index: 200; font-family: var(--font);
  grid-template-columns: repeat(4, 1fr); gap: 3px;
}
.sym-picker.open { display: grid; }
.sym-opt { padding: 7px 8px; cursor: pointer; border-radius: 4px; text-align: center; font-weight: 700; font-size: 19px; transition: background .15s; }
.sym-opt:hover { background: var(--paper-alt); }
.sym-opt small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-light); }

/* ── MANUAL ── */
.manual-section { margin-bottom: 26px; }
.manual-section h2 { font-size: 22px; font-weight: 700; color: var(--ink-blue); border-bottom: 1.5px solid var(--ink-blue); padding-bottom: 3px; margin-bottom: 10px; }
.manual-section h3 { font-size: 19px; font-weight: 700; color: var(--ink-red); margin: 12px 0 4px; }
.manual-section p  { font-size: 17px; color: var(--ink); line-height: 1.5; margin-bottom: 6px; }
.sym-table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.sym-table td { padding: 4px 10px; font-size: 17px; vertical-align: top; }
.sym-table tr:nth-child(even) td { background: rgba(255,255,255,.35); }
.sym-table td:first-child { font-weight: 700; font-size: 21px; min-width: 34px; }

/* ── UTILS ── */
.mt { margin-top: 14px; }
.divider { border: none; border-top: 1px dashed #c4bbb0; margin: 14px 0; }
.note-box {
  background: rgba(255,255,255,.45); border: 1px dashed #c4bbb0;
  border-radius: 5px; padding: 10px 14px; margin: 10px 0;
  font-size: 17px; color: var(--ink-light); font-style: italic;
}
.highlight { background: rgba(255,220,80,.3); border-radius: 2px; padding: 0 3px; }
.btn-reset {
  font-family: var(--font); font-size: 14px; background: transparent;
  border: 1px dashed #c4bbb0; border-radius: 4px; padding: 4px 10px;
  color: var(--ink-light); cursor: pointer;
}
.btn-reset:hover { color: var(--ink); border-color: var(--ink-light); }


/* Editable indicator labels hint */
.ind-section[contenteditable="true"]:hover,
.ind-label[contenteditable="true"]:hover {
  background: rgba(255,255,255,.35);
  border-radius: 3px;
  cursor: text;
}
.ind-section[contenteditable="true"]:focus,
.ind-label[contenteditable="true"]:focus {
  background: rgba(255,255,255,.5);
  border-radius: 3px;
  outline: 1px dashed #c4bbb0;
}

/* ── MOBILE ── */
@media (max-width: 640px) {
  body { padding: 6px; }

  .page::before { display: none; }        /* oculta linha de margem */

  .page-body {
    padding: 16px 12px 60px 14px;
    background-size: 24px 24px;
    background-position: 12px 12px;
  }

  .page-title   { font-size: 24px; }
  .page-title .icon { font-size: 20px; }
  .page-date    { font-size: 13px; }
  .sec-title    { font-size: 18px; }

  .nav-tab      { font-size: 14px; padding: 5px 10px; }
  .nav-row.cadernos .nav-tab { font-size: 13px; padding: 3px 8px; }

  .bujo-sym  { font-size: 19px; min-width: 22px; }
  .bujo-text { font-size: 18px; }
  .bujo-add  { font-size: 16px; }

  .tab-btn { font-size: 15px; padding: 4px 12px; }

  .ind-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ind-value, .ind-num { font-size: 24px; }

  .cal-grid { grid-template-columns: repeat(7, 18px); }
  .cal-day  { width: 18px; height: 18px; line-height: 18px; font-size: 11px; }

  .habit-name { min-width: 100px; font-size: 14px; }
  .habit-dot  { width: 15px; height: 15px; }

  .legend { font-size: 14px; }
  .note-box { font-size: 15px; }
}

@media (max-width: 360px) {
  .ind-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   MODAIS
   ════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 500; font-family: var(--font);
}
.modal-box {
  background: var(--paper); border: 1px solid #a4998e;
  border-radius: 10px; padding: 24px; max-width: 340px; width: 90%;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.modal-title   { font-size: 22px; font-weight: 700; color: var(--ink-red); margin-bottom: 14px; }
.modal-preview {
  font-size: 15px; color: var(--ink); background: rgba(255,255,255,.55);
  border: 1px dashed #c4bbb0; border-radius: 4px; padding: 8px 12px;
  margin-bottom: 14px; font-style: italic; line-height: 1.4;
}
.modal-field       { margin-bottom: 12px; }
.modal-field label { font-size: 15px; color: var(--ink-light); display: block; margin-bottom: 4px; }
.modal-actions     { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.modal-btn {
  flex: 1; font-family: var(--font); font-size: 16px;
  padding: 8px 12px; border-radius: 5px; cursor: pointer;
  border: 1px solid #c4bbb0; white-space: nowrap;
  transition: opacity .15s;
}
.modal-btn:hover         { opacity: .82; }
.modal-btn-primary       { background: var(--ink-blue); color: #fff; border-color: var(--ink-blue); font-weight: 700; }
.modal-btn-secondary     { background: transparent; color: var(--ink-light); }

/* ════════════════════════════════════════
   COMMANDER MODE
   ════════════════════════════════════════ */
#cmd-toggle {
  position: fixed; bottom: 18px; right: 18px;
  font-size: 20px; background: var(--paper);
  border: 1px solid #b4aba0; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer;
  box-shadow: 2px 3px 10px rgba(0,0,0,.2);
  z-index: 300; transition: all .2s; line-height: 1;
}
#cmd-toggle:hover   { transform: scale(1.1); }
#cmd-toggle.active  { background: var(--ink-blue); border-color: var(--ink-blue); }

#cmd-badge {
  position: fixed; top: 6px; right: 6px;
  background: var(--ink-blue); color: #fff;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; z-index: 300;
  box-shadow: 1px 2px 6px rgba(0,0,0,.2);
}

/* Commander-owned task */
.bujo-item.cmd-owned .bujo-text { color: var(--ink-blue); }
.bujo-item.cmd-owned::before {
  content: '👑'; font-size: 10px;
  position: absolute; top: 2px; left: -14px; opacity: .7;
}
.bujo-item.cmd-owned { position: relative; padding-left: 2px; }

/* Member mode: commander text non-editable visually */
.member-mode .bujo-item.cmd-owned .bujo-text { cursor: default; }

/* ════════════════════════════════════════
   HABIT TRACKER — editable
   ════════════════════════════════════════ */
.habit-row     { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; flex-wrap: wrap; }
.habit-name {
  font-size: 16px; min-width: 130px; max-width: 160px;
  cursor: text; outline: none;
  border-bottom: 1px dashed transparent; transition: border-color .15s;
}
.habit-name:focus { border-bottom-color: var(--ink-blue); background: rgba(255,255,255,.3); border-radius: 2px; }
.habit-dots    { display: flex; gap: 3px; flex-wrap: nowrap; }
.habit-dot     { width: 17px; height: 17px; border: 1.5px solid #b4aba0; border-radius: 50%; cursor: pointer; transition: background .15s; flex-shrink: 0; }
.habit-dot.on  { background: var(--ink-blue); border-color: var(--ink-blue); }
.habit-rm {
  background: transparent; border: none; cursor: pointer;
  font-size: 18px; color: #c4bbb0; line-height: 1; padding: 0 4px;
  transition: color .15s;
}
.habit-rm:hover { color: var(--ink-red); }

/* ════════════════════════════════════════
   MIGRATIONS LIST
   ════════════════════════════════════════ */
.mig-entry {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; padding: 4px 0; border-bottom: 1px dashed #e0d8c8;
}
.mig-sym  { font-weight: 700; color: var(--ink-blue); min-width: 18px; }
.mig-text { flex: 1; color: var(--ink); }
.mig-src  { font-size: 13px; color: var(--ink-light); background: rgba(255,255,255,.5); border: 1px solid #e0d8c8; border-radius: 3px; padding: 1px 6px; }
.mig-rm   { background: transparent; border: none; cursor: pointer; color: #c4bbb0; font-size: 18px; transition: color .15s; }
.mig-rm:hover { color: var(--ink-red); }

/* ════════════════════════════════════════
   EDITABLE LABELS (indicators, sec-title)
   ════════════════════════════════════════ */
[contenteditable="true"].ind-section,
[contenteditable="true"].ind-label,
[contenteditable="true"].ind-meta-text,
[contenteditable="true"].sec-title-text {
  outline: none; cursor: text;
  border-bottom: 1px dashed transparent; transition: border-color .15s;
}
[contenteditable="true"].ind-section:focus,
[contenteditable="true"].ind-label:focus,
[contenteditable="true"].ind-meta-text:focus,
[contenteditable="true"].sec-title-text:focus {
  border-bottom-color: var(--ink-blue);
  background: rgba(255,255,255,.25); border-radius: 2px;
}

@media (max-width: 640px) {
  #cmd-toggle { bottom: 12px; right: 12px; width: 40px; height: 40px; font-size: 18px; }
  .modal-box  { padding: 18px; }
  .habit-name { min-width: 100px; font-size: 14px; }
}

/* ── SEARCH ── */
.search-box {
  display: flex; gap: 8px; margin-bottom: 18px; align-items: center;
}
.search-input {
  flex: 1; font-family: var(--font); font-size: 20px;
  padding: 8px 14px; border: 1.5px solid #c4bbb0; border-radius: 6px;
  background: rgba(255,255,255,.55); color: var(--ink); outline: none;
}
.search-input:focus { border-color: var(--ink-blue); }
.search-results { margin-top: 10px; }
.search-group { margin-bottom: 14px; }
.search-group-title { font-size: 16px; font-weight: 700; color: var(--ink-blue); margin-bottom: 4px; }
.search-item { font-size: 17px; padding: 3px 0; display: flex; gap: 8px; align-items: baseline; }
.search-sym { font-weight: 700; min-width: 20px; }
.search-empty { font-size: 17px; color: var(--ink-light); font-style: italic; }

/* ── DAY NAVIGATION ── */
.day-nav {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.day-btn {
  font-family: var(--font); font-size: 20px; font-weight: 700;
  background: rgba(255,255,255,.5); border: 1px solid #c4bbb0;
  border-radius: 5px; padding: 2px 12px; cursor: pointer; color: var(--ink);
  transition: background .15s;
}
.day-btn:hover { background: var(--paper-alt); }
.day-label {
  font-size: 20px; font-weight: 700; color: var(--ink);
  flex: 1; text-align: center;
}
.day-today-btn {
  font-family: var(--font); font-size: 15px;
  background: var(--ink-blue); color: #fff;
  border: none; border-radius: 4px; padding: 3px 10px; cursor: pointer;
}

/* ── SWOT GRID ── */
.swot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px;
}
.swot-card { border-radius: 6px; padding: 12px 14px; background: rgba(255,255,255,.45); border: 1px solid #c4bbb0; }
.swot-card.s { border-left: 4px solid #2a7a4f; }
.swot-card.w { border-left: 4px solid var(--ink-red); }
.swot-card.o { border-left: 4px solid var(--ink-blue); }
.swot-card.t { border-left: 4px solid #c17f24; }
.swot-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.swot-card.s .swot-label { color: #2a7a4f; }
.swot-card.w .swot-label { color: var(--ink-red); }
.swot-card.o .swot-label { color: var(--ink-blue); }
.swot-card.t .swot-label { color: #c17f24; }

/* ── AVISOS ── */
.avisos-item { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; border-bottom: 1px dashed #d8d0c4; font-size: 18px; }
.avisos-sym { font-weight: 700; font-size: 20px; min-width: 22px; flex-shrink: 0; }
.avisos-text { flex: 1; }
.avisos-empty { font-size: 16px; color: var(--ink-light); font-style: italic; }

/* ── CMD INBOX ── */
.cmd-form { background: rgba(255,255,255,.45); border: 1px dashed #c4bbb0; border-radius: 6px; padding: 14px; margin-bottom: 18px; }
.cmd-form select, .cmd-form textarea {
  font-family: var(--font); font-size: 18px; width: 100%;
  border: 1px solid #c4bbb0; border-radius: 5px; background: rgba(255,255,255,.6);
  color: var(--ink); padding: 6px 10px; margin-top: 6px; outline: none;
}
.cmd-form textarea { resize: vertical; min-height: 70px; }
.cmd-form-row { display: flex; gap: 10px; margin-bottom: 8px; }
.cmd-form-row select { flex: 1; }
.cmd-submit {
  font-family: var(--font); font-size: 18px; font-weight: 700;
  background: var(--ink-blue); color: #fff; border: none;
  border-radius: 5px; padding: 7px 20px; cursor: pointer; margin-top: 8px;
}
.cmd-submit:hover { opacity: .88; }
.cmd-entry { border: 1px solid #d8d0c4; border-radius: 6px; padding: 10px 14px; margin-bottom: 10px; background: rgba(255,255,255,.4); }
.cmd-entry-header { font-size: 15px; color: var(--ink-light); margin-bottom: 4px; }
.cmd-entry-text { font-size: 19px; color: var(--ink); }
.cmd-entry.urgente { border-left: 4px solid var(--ink-red); }
.cmd-entry.solicitacao { border-left: 4px solid var(--ink-blue); }
.cmd-entry.lembrete { border-left: 4px solid #c17f24; }
.cmd-entry.feedback { border-left: 4px solid #2a7a4f; }

@media (max-width: 640px) {
  .swot-grid { grid-template-columns: 1fr; }
  .day-nav { gap: 6px; }
  .day-btn { font-size: 17px; padding: 2px 9px; }
  .day-label { font-size: 17px; }
}

/* day-list same visual as bujo-list */
.day-list { list-style: none; margin-bottom: 10px; }
