:is(#time-tools, #pomodoro-page) { margin: 16px 0; color: #334155; }
:is(#time-tools, #pomodoro-page) .tt-card { border: 1px solid #e2e8f0; border-radius: 14px; background: #f8faff; padding: 18px; margin-bottom: 14px; }
:is(#time-tools, #pomodoro-page) h3 { margin: 0 0 10px; }
:is(#time-tools, #pomodoro-page) p { margin: 8px 0; line-height: 1.6; }
:is(#time-tools, #pomodoro-page) .tt-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
:is(#time-tools, #pomodoro-page) button { border: 1px solid #ccd5f5; border-radius: 9px; background: white; color: #4655a8; padding: 9px 14px; cursor: pointer; }
:is(#time-tools, #pomodoro-page) button[aria-pressed="true"], :is(#time-tools, #pomodoro-page) .tt-primary { background: #667eea; color: white; }
:is(#time-tools, #pomodoro-page) .tt-help { font-size: 13px; color: #64748b; }
:is(#time-tools, #pomodoro-page) .tt-blocks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 12px 0; }
:is(#time-tools, #pomodoro-page) .tt-block { padding: 12px; background: white; border-radius: 10px; border: 1px solid #e2e8f0; }
:is(#time-tools, #pomodoro-page) .tt-block strong { display: block; margin: 7px 0; color: #5364d9; font-size: 23px; }
:is(#time-tools, #pomodoro-page) .tt-timer { font-size: 48px; font-variant-numeric: tabular-nums; font-weight: 700; color: #5965cd; margin: 8px 0; }
:is(#time-tools, #pomodoro-page) input[type="number"] { width: 65px; padding: 6px; border: 1px solid #cbd5e1; border-radius: 6px; }
:is(#time-tools, #pomodoro-page) input[type="text"] { padding: 9px; border: 1px solid #cbd5e1; border-radius: 6px; max-width: 100%; box-sizing: border-box; }
#schedule-items .schedule-item[hidden] { display: none !important; }
#daily-reminder-tools { margin: 16px 0; color: #334155; }
#daily-reminder-tools .tt-card { border: 1px solid #e2e8f0; border-radius: 14px; background: #f8faff; padding: 18px; margin-bottom: 14px; }
#daily-reminder-tools h3 { margin: 0 0 10px; }
#daily-reminder-tools p { margin: 8px 0; line-height: 1.6; }
#daily-reminder-tools button { border: 1px solid #ccd5f5; border-radius: 9px; background: #667eea; color: white; padding: 9px 14px; cursor: pointer; }
#daily-reminder-tools .tt-help { font-size: 13px; color: #64748b; }
#time-view-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; align-items: stretch; margin: 14px 0; width: 100%; }
#time-view-nav > button { width: 100%; min-width: 0; box-sizing: border-box; white-space: normal; overflow-wrap: anywhere; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.5; }
#time-view-nav .ai-plan-entry { margin: 0; }
#time-view-nav [data-time-view] { padding: 10px 15px; border: 1px solid #cdd5f5; border-radius: 8px; background: white; color: #5263ca; cursor: pointer; font-size: 15px; }
#time-view-nav [aria-pressed="true"] { background: #667eea; color: white; }
#plan-form[hidden], #plan-form .quadrants[hidden], #plan-form .time-management[hidden], #pomodoro-page[hidden], #time-tools[hidden] { display: none !important; }
#tt-active-rate { text-align: center; color: #5263ca; margin: 0 0 16px; }
#plan-content .mtb-bar[hidden] { display: none !important; }
#plan-form .quadrant .task-list { overflow-y: auto; overflow-x: hidden; min-height: 0; flex: 0 1 auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-width: thin; padding: 2px 4px 3px 2px; }
@media(max-width:600px) { :is(#time-tools, #pomodoro-page) .tt-blocks { grid-template-columns: 1fr; } :is(#time-tools, #pomodoro-page) .tt-card { padding: 12px; } }
@media(max-width:600px) { #time-view-nav { gap: 6px; } #time-view-nav > button, #time-view-nav .ai-plan-entry { font-size: 12px; padding: 8px 4px; } }
