.pomo-information > p { max-width: var(--reading-width); }
.pomo-workspace { display: grid; grid-template-areas: "main" "options"; gap: 24px; align-items: start; margin-block: 24px; }
.pomo-main { grid-area: main; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pomo-clock { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; background: var(--paper); }
.pomo-modes, .pomo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pomo-modes { margin-bottom: 24px; }
.pomo-modes [aria-pressed="true"] { border-color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pomo-countdown { font-size: clamp(3.5rem, 12vw, 6.5rem); line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.pomo-clock > .pomo-actions:last-child { margin-top: 16px; }
.pomo-clock h2 { margin-bottom: 8px; }
.pomo-notice { margin-block: 16px; }
.pomo-notice:empty, [data-storage-status]:empty { display: none; }
.pomo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; margin-block: 0 24px; }
.pomo-stats dt { color: var(--muted); font-size: .85rem; }
.pomo-stats dd { margin: 0; font-variant-numeric: tabular-nums; }
.pomo-options label:not(.pomo-check) { display: block; font-weight: 600; margin-bottom: 6px; }
.pomo-options input:not([type="checkbox"]), .pomo-options select, .pomo-history textarea { width: 100%; padding: 10px; color: var(--ink); background: var(--paper); border: 1px solid var(--border); border-radius: 6px; min-height: 44px; }
.pomo-options { grid-area: options; }
.pomo-options > input, .pomo-options > select { margin-bottom: 16px; }
.pomo-options select { font: inherit; }
.pomo-options details { margin-top: 20px; }
.pomo-options summary { min-height: 44px; cursor: pointer; font-weight: 600; }
.pomo-fields { display: grid; gap: 12px; margin-block: 16px; }
.pomo-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.pomo-check input { width: 20px; height: 20px; flex-shrink: 0; }
.pomo-options p { font-size: .9rem; margin-block: 8px 16px; }
.pomo-error { font-weight: 600; }
.pomo-history { min-width: 0; }
.pomo-history summary { cursor: pointer; min-height: 44px; }
.pomo-information { margin-top: 32px; }
.pomo-history .pomo-actions { justify-content: start; margin-bottom: 16px; }
.pomo-table-wrap { overflow-x: auto; }
.pomo-history table { width: 100%; border-collapse: collapse; text-align: left; margin-bottom: 16px; }
.pomo-history th, .pomo-history td { padding: 10px; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; vertical-align: top; }
.pomo-delete { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline: auto; padding: 3px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); }
.pomo-delete:hover { color: var(--ink); }
.pomo-delete svg { display: block; width: 18px; height: 18px; flex-shrink: 0; }
.pomo-row-action { width: 1%; white-space: nowrap; text-align: center; }
.pomo-history textarea { display: block; margin-bottom: 16px; }
.pomo-clock:fullscreen { overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 850px) { .pomo-workspace { grid-template-areas: "main options"; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .pomo-fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .pomo-clock { padding: 16px; } .pomo-modes .button { padding-inline: 10px; } .pomo-stats { grid-template-columns: 1fr; } }
@media print {
 body:has([data-pomodoro]) .site-header, body:has([data-pomodoro]) .site-footer, body:has([data-pomodoro]) .advertising, body:has([data-pomodoro]) .ad-slot { display: none !important; }
 .pomodoro > :not(.pomo-workspace):not(h1), .pomo-workspace > :not(.pomo-main), .pomo-main > :not(.pomo-history), .pomo-history .pomo-actions, .pomo-history details, .pomo-history .pomo-row-action { display: none !important; }
 .pomo-workspace, .pomo-main { display: block; }
 .pomo-history { border: 0; margin: 0; padding: 0; } .pomo-table-wrap { overflow: visible; } .pomo-history thead { display: table-header-group; } .pomo-history tr { break-inside: avoid; }
}

