/* master */
.odot-wrapper { font-family: "Inter", sans-serif; max-width: 100%; margin: 0 auto; padding-bottom: 120px; box-sizing: border-box; position: relative; }
.odot-filter-bar { background: #fff; padding: 15px; border-radius: 12px; border: 1px solid #f3f4f6; margin-bottom: 25px; display: flex; flex-direction: column; gap: 15px; }
@media (min-width: 600px) { .odot-filter-bar { flex-direction: row; } }
.view-toggle-group { display: flex; background: #f3f4f6; padding: 3px; border-radius: 8px; width: 100%; }
.view-btn { border: none; background: transparent; padding: 10px; border-radius: 6px; font-size: 0.9rem; font-weight: 600; color: #6b7280; cursor: pointer; flex: 1; transition: transform 0.1s; }
.view-btn:active { transform: scale(0.96); }
.view-btn.active { background: white; color: #111; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.filter-select { flex-grow: 1; padding: 8px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 0.9rem; }
.toggle-wrap { display: flex; align-items: center; gap: 8px; }
.toggle-text { font-size: 0.85rem; font-weight: 600; color: #6b7280; }

/* grid */
details.odot-group { margin-bottom: 10px; }
details.odot-group summary.odot-trigger { list-style: none; font-weight: 800; font-size: 1.1rem; color: #111; padding: 10px 0; cursor: pointer; outline: none; }
details.odot-group summary.odot-trigger::-webkit-details-marker { display: none; }

/* columns */
@media (min-width: 700px) { .year-grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; } .month-group { width: auto; margin-bottom: 0; border: 1px solid #e5e7eb; background: #fff; border-radius: 12px; padding: 15px; margin-left: 0 !important; border-left: 1px solid #e5e7eb !important; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); } }
@media (min-width: 1000px) { .year-grid-container { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .year-grid-container { grid-template-columns: repeat(4, 1fr); } }
.month-group { margin-left: 10px; border-left: 2px solid #f3f4f6; padding-left: 15px; }
.week-group { margin-bottom: 8px; }
.week-trigger span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; font-weight: 700; background: #f3f4f6; padding: 4px 8px; border-radius: 4px; }
.odot-empty-week { padding: 15px 5px; color: #9ca3af; font-size: 0.85rem; font-style: italic; }

/* days/tasks */
.odot-day-block { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 10px; }
.odot-day-header { padding: 10px 12px; background: #f9fafb; border-bottom: 1px solid #f3f4f6; font-size: 0.85rem; font-weight: 700; color: #374151; display: flex; justify-content: space-between; align-items: center; }
.odot-day-block.is-today { border-color: #93c5fd; background: #eff6ff; }
.odot-day-block.is-today .odot-day-header { background: #dbeafe; color: #1e40af; }
.today-badge { background: #2563eb; color: #fff; font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; margin-left: 8px; vertical-align: middle; display: inline-block; }
.odot-user-grid { padding: 8px; display: grid; grid-template-columns: 1fr; gap: 8px; }

/* cards -> completed -new (cursor pointer)*/
.odot-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 10px; display: flex; align-items: flex-start; gap: 10px; transition: transform 0.1s, background 0.1s; cursor: pointer; }
.odot-card:active, .odot-card.trigger-click { transform: scale(0.96); background: #fafafa; }
.task-complete { opacity: 0.7; background: #f9fafb; border-color: #e5e7eb !important; }
.odot-card-top { display: flex; justify-content: space-between; width: 100%; align-items: flex-start; }
.odot-content { width: 100%; }
.odot-title { font-size: 0.95rem; line-height: 1.4; color: #1f2937; display: block; }
.odot-from { font-size: 0.65rem; color: #9ca3af; margin-top: 4px; font-weight: 500; }
.from-strikethrough { text-decoration: line-through; opacity: 0.7; }
.completed-marker { color: #69a882; font-weight: 700; margin-left: 5px; }
.prio-dot-mini { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-left: 6px; flex-shrink: 0; }
.prio-low { background: #69a882; } .prio-med { background: #f59e0b; } .prio-high { background: #ef4444; }
.odot-check-wrap { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.odot-check-wrap input { opacity: 0; position: absolute; }
.checkmark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid #d1d5db; border-radius: 50%; }
.odot-check-wrap input:checked ~ .checkmark { background: #69a882; border-color: #69a882; }
.odot-user-col { margin-bottom: 5px; }
.odot-user-name { font-size: 0.7rem; font-weight: 800; color: #9ca3af; text-transform: uppercase; margin-bottom: 4px; }

/* cal */
.cal-year-block { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .cal-year-block { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; } }
.cal-month-block { break-inside: avoid; background: #fff; padding: 10px; border-radius: 12px; border: 1px solid #f3f4f6; }
.cal-grid-header { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 5px; text-align: center; }
.cal-grid-body { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day { background: #f9fafb; aspect-ratio: 1 / 1; border-radius: 6px; position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform 0.1s; }
.cal-day:active { transform: scale(0.95); background: #e5e7eb; }
.cal-day:hover { background: #eff6ff; }
.cal-day.empty { background: transparent; cursor: default; }
.cal-date-num { position: absolute; top: 3px; left: 3px; font-size: 0.65rem; color: #9ca3af; }
.cal-today { border: 1px solid #2563eb; background: #fff; }
.cal-dots-container { display: flex; flex-wrap: wrap; gap: 2px; justify-content: center; padding-top: 10px; max-width: 90%; }
.cal-user-dot { width: 10px; height: 10px; font-size: 0; border-radius: 50%; display: block; }

/* odot stuff */
body .odot-fab { all: unset !important; position: fixed !important; bottom: 25px !important; right: 25px !important; width: 60px !important; height: 60px !important; border-radius: 50% !important; background: #111 !important; box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important; z-index: 999999 !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; }
body .odot-fab svg { width: 24px !important; height: 24px !important; stroke: #fff !important; fill: none !important; margin: 0 !important; display: block !important; }
body .odot-fab:active { transform: scale(0.9) !important; }
.odot-dev-toggle { position: absolute; bottom: -40px; right: 0; cursor: pointer; padding: 10px; opacity: 0.5; transition: 0.2s; }
.odot-dev-toggle:hover { opacity: 1; }
.odot-add-panel { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 200; display: none; align-items: flex-end; justify-content: center; backdrop-filter: blur(3px); }
.odot-add-panel.active { display: flex; }
.odot-panel-inner { background: #fff; width: 100%; max-width: 500px; border-radius: 20px 20px 0 0; padding: 25px; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2); animation: slideUp 0.3s ease-out; max-height: 85vh; overflow-y: auto; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.panel-header { display: flex; justify-content: space-between; margin-bottom: 20px; color: #111; font-weight: 800; font-size: 1.1rem; }
.panel-close { font-size: 2rem; line-height: 0.5; cursor: pointer; color: #9ca3af; }
.quick-text-input { width: 100%; border: none; font-size: 1.3rem; font-weight: 500; color: #111; padding: 0 0 15px 0; border-bottom: 1px solid #e5e7eb; margin-bottom: 20px; outline: none; background: transparent; border-radius: 0; }
.team-grid-text { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.chip-content { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 10px 0; background: #f3f4f6; border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: #4b5563; border: 2px solid transparent; transition: 0.2s, transform 0.1s; }
.chip-content:active { transform: scale(0.95); }
.team-chip input:checked + .chip-content { background: #eff6ff; color: var(--chip-color); border-color: var(--chip-color); }
.team-chip input { display: none; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chip-color); display: inline-block; }
.team-color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.color-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f3f4f6; padding: 5px 0; }
.color-row input { border: none; background: none; height: 30px; width: 30px; cursor: pointer; }
.quick-send-btn { width: 100%; background: #111; color: #fff; border: none; padding: 15px; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: 1rem; transition: transform 0.1s; }
.quick-send-btn:active { transform: scale(0.98); background: #000; }
.modal-day-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 15px; border-bottom: 1px solid #f3f4f6; padding-bottom: 10px; }
.quick-meta-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.form-label-small { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; color: #9ca3af; margin-bottom: 8px; letter-spacing: 0.05em; }
.date-pill { display: flex; align-items: center; background: #f3f4f6; border-radius: 12px; padding: 0 15px; transition: 0.2s; height: 48px; cursor: pointer; }
.date-pill:hover, .date-pill:focus-within { background: #eff6ff; }
.date-pill input { width: 100%; border: none; background: transparent; font-family: inherit; font-weight: 600; color: #374151; font-size: 0.9rem; outline: none; cursor: pointer; text-transform: uppercase; }
.priority-pills { display: flex; gap: 8px; height: 48px; }
.prio-radio { flex: 1; position: relative; cursor: pointer; margin: 0; -webkit-tap-highlight-color: transparent; }
.prio-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.prio-radio span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: #f3f4f6; border-radius: 8px; font-weight: 600; color: #4b5563; font-size: 0.85rem; transition: 0.2s, transform 0.1s; }
.prio-radio:active span { transform: scale(0.95); }
.prio-radio.low input:checked + span { background: #e8f5e9; color: #3b6e52; }
.prio-radio.med input:checked + span { background: #fef3c7; color: #b45309; }
.prio-radio.high input:checked + span { background: #fee2e2; color: #991b1b; }

/* history -new */
.odot-history-section { margin-top: 15px; padding-top: 15px; border-top: 1px solid #f3f4f6; }
.history-list { list-style: none; padding: 0; margin: 0; max-height: 100px; overflow-y: auto; font-size: 0.75rem; color: #6b7280; }
.history-list li { padding: 4px 0; border-bottom: 1px solid #f9fafb; }
.history-list li:last-child { border: none; }
.h-time { color: #9ca3af; float: right; font-size: 0.65rem; }