/* Pretendard v1.3.9 — SIL Open Font License, see fonts/OFL.txt. */
@font-face {
  font-family: "Pretendard Variable";
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
  src: url("fonts/PretendardVariable.woff2") format("woff2");
}
:root {
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  color: #202124;
  background: #fff;
  font-synthesis: none;
  --blue: #1a73e8;
  --muted: #70757a;
  --line: #dadce0;
  --hour: 72px;
  --ease: cubic-bezier(.2, 0, 0, 1);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 180ms, box-shadow 200ms; }
button:hover { background: #f1f3f4; }
button:disabled { opacity: .4; cursor: default; }
button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
input, textarea, select { outline-color: var(--blue); }
svg { width: 20px; height: 20px; display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
h2, h3, p { margin: 0; }
.app-header { height: 64px; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; width: 208px; flex-shrink: 0; font-size: 22px; font-weight: 400; color: #5f6368; text-decoration: none; letter-spacing: -.5px; }
.brand-icon { display: grid; place-items: center; color: var(--blue); width: 32px; height: 36px; }
.brand-icon svg { width: 30px; height: 30px; stroke-width: 1.7; }
.header-date { display: flex; align-items: center; gap: 12px; position: relative; flex: 1; }
.outline { padding: 9px 17px; border: 1px solid var(--line); background: #fff; border-radius: 4px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.icon-button { width: 36px; height: 36px; border-radius: 50%; color: #5f6368; flex-shrink: 0; }
.icon-button.small { width: 28px; height: 28px; }
.small svg { width: 16px; height: 16px; }
.date-navigation { display: flex; gap: 0; margin-left: 8px; }
.date-title { font-size: 22px; font-weight: 400; padding: 8px; border-radius: 4px; letter-spacing: -.5px; }
.date-title svg { width: 16px; height: 16px; color: #5f6368; }
#jump-date { position: absolute; width: 1px; height: 1px; opacity: 0; left: 160px; top: 42px; pointer-events: none; }
.app-layout { height: calc(100dvh - 64px); display: grid; grid-template-columns: 256px minmax(0, 1fr); }
.sidebar { padding: 16px 24px; display: flex; flex-direction: column; overflow: auto; scrollbar-width: thin; }
.create-button { align-self: flex-start; margin: 0 0 26px -12px; padding: 17px 24px; border-radius: 28px; background: #fff; box-shadow: 0 1px 3px #3c40434d, 0 1px 2px #3c404326; font-size: 14px; font-weight: 500; }
.create-button:hover { background: #f6fafe; box-shadow: 0 3px 8px #3c404340; }
.create-button svg { width: 26px; height: 26px; color: var(--blue); }
.mini-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.mini-heading > button { padding: 4px 0; font-size: 13px; font-weight: 600; }
.mini-heading > div { display: flex; }
.mini-week, .mini-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 10px; gap: 3px; }
.mini-week { color: #70757a; margin-bottom: 7px; }
.mini-days button { width: 25px; height: 25px; padding: 0; border-radius: 50%; font-size: 11px; justify-self: center; }
.mini-days .outside { color: #9aa0a6; }
.mini-days .today { color: var(--blue); font-weight: 700; }
.mini-days .in-range { background: #e8f0fe; }
.mini-days .selected { background: var(--blue); color: #fff; }
.categories-section { margin-top: 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.section-heading h2, .section-heading h3 { font-size: 13px; font-weight: 600; }
.category-line { width: 100%; padding: 9px 0; justify-content: flex-start; gap: 12px; border-radius: 4px; font-size: 13px; }
.category-dot { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }
.category-line .category-dot { width: 15px; height: 15px; }
.category-line .check { display: none; }
.category-line.inactive .category-dot { background: transparent !important; outline: 1px solid #9aa0a6; outline-offset: -1px; }
.category-line.inactive { color: #9aa0a6; }
.summary-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid #eceff1; }
.muted { font-size: 11px; color: #70757a; font-variant-numeric: tabular-nums; }
.summary-bar { height: 4px; display: flex; gap: 1px; overflow: hidden; background: #f1f3f4; margin: 0 0 16px; }
.summary-bar span { min-width: 2px; transition: width 200ms; }
.summary-line { display: flex; align-items: center; font-size: 12px; gap: 8px; margin: 14px 0; }
.summary-line strong { margin-left: auto; font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.summary-empty { font-size: 12px; color: #70757a; padding: 3px 0; }
.calendar-panel { display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: #fff; border-left: 1px solid var(--line); }
.calendar-toolbar { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; gap: 12px; flex-shrink: 0; }
.calendar-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #5f6368; }
.calendar-label svg { display: none; }
.view-switch { display: flex; align-items: stretch; height: 36px; gap: 4px; }
.view-switch button { position: relative; padding: 0 15px; font-size: 13px; border-radius: 4px; color: #5f6368; }
.view-switch .active { color: var(--blue); background: #e8f0fe; font-weight: 500; }
.day-header-wrap { display: flex; border-bottom: 1px solid var(--line); flex-shrink: 0; padding-right: var(--scrollbar, 0px); }
.timezone { width: 88px; flex-shrink: 0; align-self: flex-end; padding: 0 8px 10px; font-size: 9px; color: #70757a; white-space: nowrap; }
.timezone span { display: block; }
.day-headers { flex: 1; display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); }
.day-heading { height: 89px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 11px; color: #70757a; }
.day-heading .weekday { width: 44px; text-align: center; }
.day-heading .number { display: grid; place-items: center; width: 44px; height: 44px; line-height: 1; padding-top: 1px; border-radius: 50%; font-size: 28px; font-weight: 400; color: #3c4043; text-align: center; font-variant-numeric: proportional-nums lining-nums; }
.day-heading.today { color: var(--blue); }
.day-heading.today .number { color: #fff; background: var(--blue); }
.calendar-scroll { overflow: auto; flex: 1; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #dadce0 transparent; position: relative; overflow-anchor: none; }
.calendar-grid { display: flex; position: relative; min-height: calc(var(--hour) * 24); }
.time-labels { width: 88px; flex-shrink: 0; position: relative; }
.time-label { position: absolute; right: 10px; transform: translateY(-50%); font-size: 10px; color: #70757a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.solar-marker { position: absolute; left: 6px; width: 32px; height: 33px; padding: 1px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; transform: translateY(-50%); background: transparent; border-radius: 2px; z-index: 4; font-size: 9px; line-height: 11px; font-variant-numeric: tabular-nums; }
.solar-marker.sunrise { color: #bd7b12; }
.solar-marker.sunset { color: #b75a32; }
.solar-marker { pointer-events: none; }
.solar-marker svg { width: 22px; height: 22px; }
.solar-location-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.solar-location-row .outline { margin-left: auto; font-size: 12px; }
.multi-day-view .time-labels, .multi-day-view .timezone { width: 64px; }
.day-columns { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); position: relative; }
.day-column { position: relative; height: calc(var(--hour) * 24); border-left: 1px solid var(--line); background: linear-gradient(to bottom, #e5e7eb 1px, transparent 1px) 0 0 / 100% var(--hour); user-select: none; -webkit-user-select: none; touch-action: auto; -webkit-touch-callout: none; }
.event-block { position: absolute; left: 2px; right: 8px; padding: 4px 8px; min-height: 6px; overflow: hidden; border-radius: 4px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: var(--event-bg); color: var(--event-text); font-size: 12px; line-height: 1.5; text-align: left; z-index: 2; user-select: none; -webkit-user-select: none; animation: block-in 220ms var(--ease); }
.event-block:hover { background: var(--event-bg); filter: brightness(.96); box-shadow: 0 2px 5px #3c404326; }
.event-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-detail { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-line { height: 2px; background: #ea4335; position: absolute; left: 0; right: 0; z-index: 3; pointer-events: none; }
.now-line::before { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #ea4335; left: -5px; top: -4px; }
.mobile-create, #mobile-summary { display: none; }
.selection-tools, .selection-footer { display: none; }
.selecting-time .view-switch, .selecting-time .calendar-label, .selecting-time #mobile-summary { display: none; }
.selecting-time .selection-tools { display: flex; gap: 20px; align-items: center; justify-content: flex-end; width: 100%; }
.selecting-time .selection-footer { display: flex; align-items: center; min-height: 43px; padding: 8px 24px; border-top: 1px solid var(--line); font-size: 12px; color: #5f6368; }
body:has(.selecting-time) .mobile-create { display: none; }
.selecting-time .calendar-scroll { scroll-behavior: auto; }
.selection-day-heading { height: 66px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding-left: 16px; font-size: 11px; color: #70757a; }
.selection-day-heading strong { font-size: 15px; color: #202124; font-weight: 400; }
.recording-columns { display: block; border-left: 1px solid var(--line); background: linear-gradient(to bottom, #e5e7eb 1px, transparent 1px) 0 0 / 100% var(--hour); user-select: none; -webkit-user-select: none; }
.recording-existing { position: absolute; left: 2px; right: 8px; background: color-mix(in srgb, var(--event-color) 15%, white); border-left: 3px solid var(--event-color); border-radius: 3px; padding: 5px 8px; color: #5f6368; font-size: 11px; overflow: hidden; display: block; text-align: left; }
.draft-block { position: absolute; left: 3px; right: 9px; border: 2px solid var(--blue); border-radius: 4px; background: #d2e3fc; color: #174ea6; z-index: 5; box-shadow: 0 2px 6px #1a73e830; transition: top 160ms cubic-bezier(.2,.8,.2,1), height 160ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms; }
.draft-block.is-dragging { box-shadow: 0 3px 10px #1a73e844; transition-duration: 70ms, 70ms, 180ms; transition-timing-function: linear, linear, ease; }
.draft-body { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 6px 12px; cursor: grab; touch-action: none; font-size: 12px; white-space: nowrap; overflow: hidden; }
.is-dragging .draft-body { cursor: grabbing; }
.draft-time { overflow: hidden; text-overflow: ellipsis; }
.draft-duration { font-weight: 500; flex-shrink: 0; }
.draft-handle { position: absolute; width: 44px; height: 40px; padding: 0; cursor: ns-resize; touch-action: none; background: transparent !important; z-index: 7; }
.start-handle { top: -21px; right: 2px; }
.end-handle { bottom: -21px; left: 2px; }
.draft-handle::after { content: ''; width: 12px; height: 12px; border: 2px solid var(--blue); background: #fff; border-radius: 50%; box-shadow: 0 1px 2px #1a73e820; }
.draft-handle::after { margin: auto; }
.draft-handle:focus-visible { outline: 0; }
.draft-handle:focus-visible::after { box-shadow: 0 0 0 3px #a8c7fa; }
.short-block .draft-body { top: -30px; bottom: auto; left: 18px; right: 18px; height: 27px; padding: 4px 8px; background: #d2e3fc; border-radius: 3px; overflow: visible; }
.draft-block.conflict { border-color: #d93025; background: #fce8e6; color: #a50e0e; }
.conflict .draft-handle::after { border-color: #d93025; }
.selecting-time #selection-status.error { margin: 0; color: #d93025; }
dialog { border: 0; padding: 0; border-radius: 8px; color: #202124; background: #fff; box-shadow: 0 8px 28px #3c40434d; max-height: 90dvh; overscroll-behavior: contain; }
dialog::backdrop { background: #20212445; }
dialog[open] { animation: sheet-in 240ms cubic-bezier(.2,.8,.2,1); }
dialog.closing { animation: sheet-out 180ms var(--ease) forwards; }
.editor-dialog { width: 460px; }
.dialog-header { padding: 24px 24px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-header h2 { font-size: 21px; font-weight: 400; letter-spacing: -.5px; }
.eyebrow { display: block; font-size: 12px; color: #70757a; margin-bottom: 7px; }
.dialog-body { padding: 0 24px 24px; }
.dialog-footer { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 16px 24px; border-top: 1px solid #eceff1; background: #fff; }
.primary { padding: 10px 22px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.primary:hover { background: #1765cc; }
.danger-button { padding: 8px 0; color: #d93025; font-size: 13px; margin-right: auto; }
.category-field { border: 0; padding: 0; margin: 0 0 24px; }
.category-field legend, .field-label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 10px; }
.category-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.category-choice { padding: 8px 11px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; }
.category-choice.selected { background: var(--event-bg); border-color: var(--event-color); }
.activity-fields { display: grid; gap: 16px; }
.activity-fields label { display: block; }
.field-input { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #f8f9fa; padding: 11px 12px; font-size: 14px; color: #202124; resize: vertical; }
.field-input::placeholder { color: #80868b; }
.field-input:focus { outline: none; border-bottom: 2px solid var(--blue); padding-bottom: 10px; }
textarea.field-input { min-height: 72px; }
.text-button { padding: 8px 0; color: #5f6368; font-size: 12px; }
.text-button svg { width: 15px; height: 15px; }
.text-button:hover { background: transparent; color: var(--blue); }
#more-fields { margin: 12px 0; }
.field-options { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 0; margin-bottom: 16px; }
.field-options label, .preset-fields label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
input[type=checkbox], input[type=radio] { accent-color: var(--blue); }
.time-card { border-top: 1px solid #eceff1; padding-top: 15px; }
.time-card-heading { display: flex; align-items: center; gap: 9px; font-size: 12px; margin-bottom: 9px; color: #5f6368; }
.time-card-heading svg { width: 17px; height: 17px; }
.time-card-heading strong { margin-left: auto; color: #202124; font-weight: 500; }
.time-row { display: flex; align-items: center; gap: 12px; margin: 6px 0; font-size: 12px; color: #5f6368; }
.time-row input { flex: 1; width: 100%; min-width: 0; padding: 7px 3px; border: 0; background: transparent; font-size: 13px; color: #202124; }
.choose-time { justify-content: flex-start; width: 100%; padding: 12px 0 0; margin-top: 7px; gap: 8px; font-size: 12px; color: var(--blue); }
.choose-time svg { width: 15px; height: 15px; }
.choose-time svg:last-child { margin-left: auto; }
.choose-time:hover { background: transparent; }
.error { margin-top: 12px; color: #d93025; font-size: 12px; line-height: 1.6; }
.error:empty { display: none; }
.sheet-handle { display: none; }
.settings-dialog { width: 480px; }
.settings-dialog .dialog-header { position: sticky; top: 0; z-index: 2; background: #fff; }
.settings-section { padding: 20px 0; border-top: 1px solid #eceff1; }
.settings-section h3 { font-size: 13px; margin-bottom: 12px; font-weight: 500; }
.settings-section .section-heading h3 { margin: 0; }
.radio-row { display: flex; align-items: center; gap: 9px; padding: 10px 0; font-size: 13px; }
.radio-row small { margin-left: auto; color: #70757a; font-size: 11px; }
.settings-note { font-size: 12px; line-height: 1.8; color: #70757a; margin-bottom: 16px; }
.backup-actions { display: flex; gap: 8px; }
.backup-actions svg { width: 15px; height: 15px; }
.category-setting { padding: 14px 0; border-bottom: 1px solid #eceff1; }
.category-setting-header { display: flex; align-items: center; gap: 8px; }
.category-name { border: 1px solid var(--line); border-radius: 3px; padding: 7px 9px; font-size: 13px; min-width: 0; width: 100%; }
.preset-fields { display: flex; flex-wrap: wrap; gap: 8px 11px; margin-top: 12px; }
.preset-fields label { font-size: 11px; color: #5f6368; }
.preset-order { margin-top: 10px; }
.preset-order-row { display: flex; align-items: center; gap: 5px; min-height: 30px; font-size: 11px; color: #5f6368; }
.preset-order-row > span { min-width: 65px; }
.preset-order-row .icon-button { width: 24px; height: 24px; font-size: 13px; }
.confirm-dialog, .summary-dialog { width: 380px; }
.confirm-dialog > p { padding: 0 24px 24px; font-size: 13px; color: #5f6368; line-height: 1.8; }
.summary-dialog .summary-line { font-size: 14px; padding: 7px 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); background: #323232; color: #fff; border-radius: 4px; padding: 12px 20px; box-shadow: 0 2px 6px #20212426; font-size: 13px; line-height: 1.5; opacity: 0; pointer-events: none; z-index: 100; transition: opacity 150ms, transform 180ms var(--ease); max-width: 90%; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(10px); } }
@keyframes block-in { from { opacity: .5; } to { opacity: 1; } }
@media (max-width: 1000px) {
  .app-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .brand { width: 172px; }
  .sidebar { padding: 16px; }
  .app-header { padding: 0 20px; gap: 20px; }
  .date-title { font-size: 20px; }
  .calendar-toolbar { padding: 0 16px; }
}
@media (max-width: 700px) {
  .app-header { height: 64px; gap: 10px; padding: 0 16px; }
  .brand { width: auto; font-size: 0; gap: 0; }
  .brand-icon { width: 24px; }
  .brand-icon svg { width: 25px; height: 25px; }
  .header-date { gap: 0; }
  .date-title { order: 0; font-size: 18px; padding: 8px; }
  .header-date > .outline { margin-left: auto; order: 2; font-size: 12px; padding: 7px 11px; }
  .date-navigation { display: none; }
  .settings-button { width: 32px; height: 32px; }
  .settings-button svg { width: 19px; height: 19px; }
  .app-layout { height: calc(100dvh - 64px); display: block; }
  .sidebar { display: none; }
  .calendar-panel { height: 100%; border-left: 0; }
  .calendar-toolbar { height: 48px; padding: 0 16px; gap: 8px; border-bottom: 1px solid #f1f3f4; }
  .calendar-label { display: none; }
  .view-switch { gap: 6px; height: 33px; }
  .view-switch button { font-size: 12px; padding: 0 14px; }
  #mobile-summary { display: inline-flex; width: 32px; height: 32px; margin-left: auto; }
  #mobile-summary svg { width: 19px; height: 19px; }
  .timezone, .time-labels { width: 80px; }
  .multi-day-view .time-labels, .multi-day-view .timezone { width: 48px; }
  .timezone { font-size: 8px; padding-left: 8px; }
  .time-label { font-size: 10px; right: 8px; }
  .solar-marker { left: 4px; }
  .day-heading { height: 75px; font-size: 10px; gap: 3px; }
  .day-heading .weekday { width: 38px; }
  .day-heading .number { width: 38px; height: 38px; font-size: 26px; }
  .event-block { left: 2px; right: 5px; font-size: 11px; padding: 4px 6px; }
  .event-detail { font-size: 10px; }
  .week-view .day-heading .weekday { width: 30px; }
  .week-view .day-heading .number { width: 30px; height: 30px; font-size: 22px; }
  .week-view .event-block { font-size: 10px; padding: 3px; left: 1px; right: 2px; }
  .week-view .event-title { white-space: normal; }
  .week-view .event-detail { display: none; }
  .mobile-create { display: grid; place-items: center; position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); right: 20px; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 3px 9px #3c40434d; z-index: 4; }
  .mobile-create svg { width: 28px; height: 28px; stroke-width: 2; }
  .selecting-time .selection-footer { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); font-size: 12px; }
  .selection-day-heading { height: 62px; padding-left: 12px; }
  .selection-day-heading strong { font-size: 14px; }
  
  .draft-body { font-size: 12px; padding: 5px 9px; }
  .editor-dialog, .settings-dialog { margin: auto 0 0; width: 100%; max-width: none; max-height: 94dvh; border-radius: 12px 12px 0 0; }
  .sheet-handle { display: block; width: 32px; height: 4px; margin: 9px auto 0; border-radius: 2px; background: #dadce0; }
  .dialog-header { padding: 20px 20px 18px; }
  .dialog-header h2 { font-size: 20px; }
  .dialog-body { padding: 0 20px 20px; }
  .dialog-footer { padding: 16px 20px max(16px, env(safe-area-inset-bottom)); }
  .field-input { font-size: 13px; }
  .time-row input { font-size: 12px; }
  .confirm-dialog, .summary-dialog { max-width: calc(100% - 32px); }
  .toast { bottom: 94px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.browsing-dates .calendar-grid { width: max-content; min-width: 100%; }
.browsing-dates .time-labels { position: sticky; left: 0; z-index: 9; background: #fff; }
.browsing-dates .day-columns { flex: none; }
.browsing-dates .day-headers { display: block; min-width: 0; overflow: hidden; }
.day-header-track { display: grid; will-change: transform; }
.date-panning .day-column { cursor: grabbing; }
.field-options { display: block; }
.field-option { margin-bottom: 14px; }
.field-option .activity-field { display: block; margin-top: 10px; }
.field-option .activity-field .field-label { display: none; }
.amount-input { appearance: textfield; -moz-appearance: textfield; touch-action: pan-y; }
.amount-input::-webkit-inner-spin-button, .amount-input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.editor-dialog .dialog-header h2 { font-size: 17px; }
.field-input { font-size: 13px; }
.rating-select { letter-spacing: 2px; }

.color-picker { position: relative; flex-shrink: 0; }
.color-current { display: block; width: 28px; height: 28px; border: 4px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px var(--line); cursor: pointer; list-style: none; }
.color-current::-webkit-details-marker { display: none; }
.color-current:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.color-palette { position: absolute; top: 36px; left: 0; z-index: 5; display: grid; grid-template-columns: repeat(5, 30px); gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 4px 16px #20212424; }
.color-swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--swatch); color: #fff; padding: 5px; }
.color-swatch:hover { background: var(--swatch); filter: brightness(.94); }
.color-swatch[aria-pressed=true] { outline: 2px solid var(--swatch); outline-offset: 2px; }
.color-swatch svg { width: 20px; height: 20px; }
.preset-order-row .field-up { margin-left: auto; }

.selecting-time .time-labels, .selecting-time .timezone { width: 128px; }
.recording-axis-day { position: absolute; left: 0; right: 0; height: 1728px; pointer-events: none; }
.recording-date { position: sticky; top: 0; display: block; width: 68px; padding: 3px 0 3px 6px; background: #fff; color: #5f6368; font-size: 10px; line-height: 16px; white-space: nowrap; }
@media (max-width: 700px) {
  .selecting-time .time-labels, .selecting-time .timezone { width: 116px; }
  .recording-date { font-size: 9px; }
}

.recording-existing { z-index: 2; }

.recording-date-boundary { position: absolute; top: 0; left: 6px; width: 62px; border-top: 1px solid #9aa0a6; z-index: 1; }

.vertical-days .calendar-scroll { overflow-x: hidden; touch-action: pan-y; }
.browsing-dates.vertical-days .calendar-grid { width: 100%; }
.browsing-dates.vertical-days .day-columns { display: block; flex: 1; width: auto !important; }
.browsing-dates.vertical-days .day-headers { display: grid; grid-template-columns: 1fr; }
.vertical-days .time-labels, .vertical-days .timezone { width: 128px; }
@media (max-width: 700px) { .vertical-days .time-labels, .vertical-days .timezone { width: 116px; } }
