.dt-head{flex-wrap:nowrap;gap:12px}.dt-head h1{font-size:21px;font-weight:800;margin:0;white-space:nowrap}.dt-head .dr-date-pill{height:42px}.dt-head .dr-date-pill>[data-dr-date-step]{width:32px;font-size:22px}.dt-head .dr-date-center{gap:4px}.dt-head .dr-date-center strong{font-size:18px}.dt-head .dr-date-center svg{width:16px;height:16px}.dt-head .dr-date-center>[data-dr-calendar]{gap:6px;padding:5px 6px}.dt-today-tag{font-size:10px;line-height:18px;padding:0 5px;background:var(--or,#f0762b);color:white;border-radius:5px}.dt-sources{display:flex;align-items:center;gap:3px;white-space:nowrap}.dt-sources button{border:0;border-radius:8px;padding:6px 8px;color:var(--dr-secondary);font-size:12px;font-weight:600}.dt-sources button[aria-pressed=true]{background:var(--or,#f0762b);color:#fff}.dt-sources small{display:none;margin-left:4px}.dt-sources button:disabled{opacity:.4}.dt-quota{margin-left:auto;flex:none}.dt-quota .photo-quota{display:flex;align-items:center;gap:5px;border:0;padding:0;font-size:0;background:transparent;white-space:nowrap}.dt-quota .photo-quota svg{width:22px;height:22px}.dt-quota .photo-quota b{font-size:13px;color:var(--or,#f0762b)}
.dt-subhead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--dr-line)}.dt-subhead .dr-modes{margin:0;background:transparent;padding:0}.dt-subhead .dr-modes button{font-size:12px}.dt-subhead>[data-dr-practiced]{font-size:12px;color:var(--dr-muted)}.dt-empty-today{display:flex;gap:12px;align-items:center;margin:18px 20px 0;padding:14px 16px;border:1px dashed var(--dr-line);border-radius:12px}.dt-empty-today[hidden]{display:none}.dt-empty-today>div{flex:1}.dt-empty-today strong{display:block;font-size:14px}.dt-empty-today small{display:block;color:var(--dr-muted);font-size:12px;margin-top:3px}.dt-sun{font-size:25px;color:#f59e0b}.dt-empty-today button{border-radius:8px;padding:7px 10px;font-size:12px;white-space:nowrap}
.dt-layer{background:#18181b24}.dt-panel{width:min(720px,calc(100vw - 24px));display:grid;grid-template-columns:290px minmax(0,1fr);padding:16px;gap:16px;max-height:calc(100dvh - 24px)}.dt-panel header{margin:0 0 12px}.dt-calendar-side{padding-right:16px;border-right:1px solid var(--dr-line)}.dt-calendar-side header{display:flex;align-items:center;justify-content:space-between}.dt-calendar-side header b{font-size:14px}.dt-panel .dr-calendar-days{gap:2px}.dt-panel .dr-calendar-days button{font-size:13px}.dt-panel .dr-calendar-days i.is-complete,.dt-panel .dt-legend i.is-complete{background:var(--dr-good)}.dt-panel .dt-legend{font-size:10px;color:var(--dr-muted);display:flex;justify-content:center;align-items:center;gap:5px}.dt-panel .dt-legend i{width:5px;height:5px;border-radius:50%;background:var(--or,#f0762b);margin:0}.dt-stats{display:flex;justify-content:space-around;border-top:1px solid var(--dr-line);padding-top:14px;text-align:center;margin-top:14px}.dt-stats strong{display:block;font-size:19px;color:var(--or,#f0762b)}.dt-stats small{display:block;font-size:10px;color:var(--dr-muted);margin-top:2px}.dt-days-side{display:flex;flex-direction:column;min-width:0;min-height:0}.dt-search input{box-sizing:border-box;width:100%;padding:9px 10px;border:1px solid var(--dr-line);border-radius:8px;font:inherit;font-size:12px;line-height:1.5;background:white;color:var(--dr-ink)}.dt-options{display:flex;justify-content:space-between;align-items:center;margin:8px 0;color:var(--dr-muted);font-size:11px}.dt-options label{display:flex;align-items:center;gap:5px}.dt-options input{accent-color:var(--or,#f0762b);margin:0}.dt-options button{display:none;border:0;color:var(--or,#f0762b);padding:0;background:transparent;font-size:11px}.dt-day-list{max-height:330px;min-height:180px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.dt-day{display:flex;align-items:center;gap:5px;padding:8px 6px;border:1px solid transparent;border-bottom-color:var(--dr-line);border-radius:9px;margin-bottom:3px}.dt-day.is-current{border-color:var(--dr-ink)}.dt-day:hover{background:var(--dr-soft)}.dt-day-select{display:flex;align-items:center;gap:7px;flex:1;min-width:0;text-align:left;border:0!important;padding:0;background:transparent!important}.dt-date{flex:none;min-width:39px}.dt-date b{display:block;font-size:12px}.dt-date small{display:block;font-size:9px;color:var(--dr-muted)}.dt-day-content{min-width:0;flex:1}.dt-tags{display:flex;gap:3px;flex-wrap:wrap}.dt-tags>span{font-size:9px;line-height:1.5;border-radius:4px;padding:0 3px;background:#f4f4f5;color:var(--dr-secondary)}.dt-tags>span.is-image{background:#fff1e9;color:#e5602f}.dt-preview{display:block;font-size:10px;color:var(--dr-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.dt-progress{font-size:9px;color:var(--dr-muted);white-space:nowrap}.dt-progress b{color:var(--or,#f0762b)}.dt-panel .dt-listen{width:25px;height:25px;border-radius:50%;padding:4px;flex:none;display:grid;place-items:center;background:transparent}.dt-listen svg{width:14px;height:14px}.dt-panel .dt-list-status{font-size:12px;color:var(--dr-muted);margin:8px 0}.dt-list-status button{border-radius:6px;padding:4px 8px;margin-left:6px}.dt-ai{font-size:10px;color:var(--dr-muted);margin-top:9px;text-align:right}.dt-panel .dt-mobile-head{display:none}
@media(min-width:601px) and (max-width:1250px){.dt-head{gap:6px;padding:12px}.dt-head h1{font-size:18px}.dt-head .dr-date-center strong{font-size:16px}.dt-head .dr-date-pill>[data-dr-date-step]{width:26px}.dt-sources button{padding:5px;font-size:11px}.dt-head .dr-typing{padding:8px;font-size:11px}.dt-head .dr-typing svg{display:none}}
@media(max-width:600px){.dt-head{display:grid;grid-template-columns:1fr auto auto;gap:10px 8px;padding:12px 14px 8px;position:static}.dt-head h1{grid-column:1;grid-row:1;font-size:18px}.dt-quota{grid-column:2;grid-row:1;margin:0}.dt-head .dr-typing{grid-column:3;grid-row:1;font-size:11px;padding:8px}.dt-head .dr-date-shell{grid-column:1/-1;grid-row:2}.dt-head .dr-date-pill{height:46px}.dt-head .dr-date-pill>[data-dr-date-step]{width:46px}.dt-head .dr-date-center strong{font-size:18px}.dt-sources{grid-column:1/-1;grid-row:3;overflow:auto;scrollbar-width:none;gap:5px}.dt-sources button{font-size:12px;padding:5px 8px;flex:none}.dt-sources small{display:inline}.dt-subhead{padding:7px 14px;gap:5px}.dt-subhead .dr-modes button{font-size:11px;padding:4px 6px}.dt-subhead>[data-dr-practiced]{font-size:10px}.dt-empty-today{margin:10px 14px 0;padding:10px;gap:8px;flex-wrap:wrap}.dt-empty-today>div{flex-basis:calc(100% - 45px)}.dt-empty-today button{font-size:11px;padding:6px 10px}.dt-empty-today strong{font-size:13px}.dt-empty-today small{font-size:11px}.dt-layer{background:#0005}.dt-panel{display:flex;flex-direction:column;width:100%;padding:16px 14px max(18px,env(safe-area-inset-bottom));gap:0;max-height:85dvh}.dt-panel .dt-mobile-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dt-mobile-head b{font-size:15px}.dt-mobile-head>span{margin-left:auto;color:var(--dr-muted);font-size:11px}.dt-mobile-head button{margin-left:6px;width:24px;height:24px;font-size:20px}.dt-calendar-side{display:none;border:0;padding:0}.dt-options button{display:block}.dt-day-list{max-height:52dvh;min-height:200px}.dt-layer.is-calendar .dt-calendar-side{display:block;order:2}.dt-layer.is-calendar .dt-day-list,.dt-layer.is-calendar .dt-ai{display:none}.dt-panel .dt-stats{padding-top:8px;margin-top:8px}.dt-layer.is-calendar .dr-calendar-days button{max-height:38px}.dt-day{padding:10px 5px}.dt-date b{font-size:13px}.dt-tags>span{font-size:10px}.dt-preview{font-size:11px}.dt-panel .dt-listen{width:28px;height:28px}.dt-progress{font-size:10px}.is-day-reading .mobile-bottom-nav{display:grid!important}.is-day-reading .dr-playbar{bottom:var(--dr-nav-height,calc(78px + env(safe-area-inset-bottom)));padding-bottom:10px}.day-reading{padding-bottom:160px}.is-day-reading .dr-row{scroll-margin-bottom:170px}}

.dt-options label{white-space:nowrap}.dt-options input[type=checkbox]{appearance:none;position:relative;width:26px;min-width:26px;height:14px;min-height:0;padding:0;border:0;border-radius:99px;background:#e4e4e7;box-shadow:none;cursor:pointer}.dt-options input[type=checkbox]::after{content:"";position:absolute;left:2px;top:2px;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002}.dt-options input[type=checkbox]:checked{background:var(--or,#f0762b)}.dt-options input[type=checkbox]:checked::after{left:14px}
/* Diary toolbar and cached date index. */
.dt-sticky{position:sticky;top:var(--dr-top,0px);z-index:12;background:#fff;border-radius:18px 18px 0 0}.dt-sticky.is-stuck{box-shadow:0 8px 18px rgba(0,0,0,.07)}.dt-sticky .dt-head{position:static;border-radius:inherit}.dt-quota .photo-quota>span{font-size:12px;color:var(--dr-muted)}
.dt-subhead{justify-content:flex-start;gap:14px;padding:10px 20px;background:#fff}.dt-display,.dt-source-group{display:flex;align-items:center;gap:8px;min-width:0}.dt-display{flex:none}.dt-display>span,.dt-source-group>span{color:var(--dr-muted);font-size:12px;font-weight:600;white-space:nowrap}.dt-subhead .dr-modes{border:1px solid var(--dr-line);border-radius:12px;padding:3px;gap:2px}.dt-subhead .dr-modes button{display:flex;align-items:center;justify-content:center;gap:5px;height:34px;font-size:14px;font-weight:700;padding:0 10px;border-radius:9px}.dt-subhead .dr-modes button[aria-pressed=true]{background:var(--dr-ink);color:#fff;box-shadow:none}.dt-subhead .dr-modes svg{width:16px;height:16px}
.dt-source-group{flex:1;border-left:1px solid var(--dr-line);padding-left:14px}.dt-source-group[hidden]{display:none}.dt-sources{overflow-x:auto;scrollbar-width:thin;gap:6px;padding:2px}.dt-sources button{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 10px;border:1px solid var(--dr-line);border-radius:99px;font-size:13px;flex:none}.dt-sources button[aria-pressed=true]{border-color:var(--or,#f0762b);box-shadow:inset 0 0 0 1px var(--or,#f0762b);background:#fff;color:#e5602f}.dt-sources svg{width:15px;height:15px}.dt-sources small{display:inline;font-size:12px;margin:0;color:inherit}.dt-practiced{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;color:var(--dr-secondary);margin-left:auto}.dt-progress-track{display:block;width:90px;height:5px;border-radius:9px;overflow:hidden;background:var(--dr-soft)}.dt-progress-track i{display:block;height:100%;background:var(--dr-good)}.dr-row{scroll-margin-top:calc(var(--dr-sticky-height,140px) + var(--dr-top,0px) + 16px)}
.dt-panel{width:min(860px,calc(100vw - 24px));grid-template-columns:310px minmax(0,1fr);gap:18px;padding:20px}.dt-calendar-side{padding-right:18px}.dt-panel .dt-month-total{margin:0 0 14px;font-size:12px}.dt-month-total b{color:var(--or,#f0762b)}.dt-panel .dr-calendar-days button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:13px}.dt-calendar-count{font-size:10.5px;font-weight:700;color:var(--or,#f0762b);line-height:1.2}.dt-calendar-count.is-complete,.dt-legend b.is-complete,.dt-count>small.is-complete{color:var(--dr-good)}.dt-panel [aria-current=date] .dt-calendar-count{color:#fff}.dt-panel .dt-legend{font-size:11px;gap:5px;margin:14px 0}.dt-legend b{color:var(--or,#f0762b);font-size:11px}.dt-legend b:nth-of-type(2){margin-left:8px}.dt-stats em{font-size:11px;font-weight:500;font-style:normal;margin-left:3px;color:var(--dr-muted)}.dt-stats small{font-size:11px}.dt-day-list{max-height:380px}.dt-month-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:5px;background:#fff;padding:9px 4px;margin:0;border-bottom:1px solid var(--dr-line);font-size:12px}.dt-month-heading span{font-size:11px;color:var(--dr-muted);font-weight:400;white-space:nowrap}.dt-day{padding:10px 6px}.dt-day-select{gap:10px}.dt-date{min-width:42px}.dt-date b{font-size:13px}.dt-date small{font-size:10px}.dt-tags>span{font-size:10px}.dt-preview{font-size:11px}.dt-count{width:64px;flex:none;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px}.dt-count strong{font-size:17px;line-height:1.2;white-space:nowrap}.dt-count strong small{font-size:11px;font-weight:400;color:var(--dr-muted);margin-left:3px}.dt-count-bar{display:block;background:var(--dr-soft);height:4px;width:54px;border-radius:5px;overflow:hidden}.dt-count-bar i{display:block;height:100%;background:var(--dr-good)}.dt-count>small{font-size:10px;color:var(--dr-muted);white-space:nowrap}.dt-ai{background:#fff;border-top:1px solid var(--dr-line);padding-top:8px;margin-top:6px;flex:none}.dt-skeleton>div{height:61px;border-bottom:1px solid var(--dr-line);display:flex;align-items:center;gap:12px;padding:10px 6px}.dt-skeleton i,.dt-skeleton span,.dt-skeleton b{height:24px;background:var(--dr-soft);border-radius:5px}.dt-skeleton i{width:38px}.dt-skeleton span{flex:1}.dt-skeleton b{width:54px}
@media(min-width:601px) and (max-width:1400px){.dt-practiced{flex-direction:column;gap:4px}.dt-progress-track{width:70px}.dt-subhead{gap:9px;padding-inline:12px}.dt-source-group{padding-left:9px}.dt-subhead .dr-modes button{padding-inline:7px}}
@media(max-width:600px){.dt-sticky{border-radius:0}.dt-quota .photo-quota>span{display:none}.dt-subhead{padding:7px 14px 10px;display:block}.dt-display{gap:6px}.dt-display>span{font-size:11px}.dt-subhead .dr-modes{flex:1;min-width:0}.dt-subhead .dr-modes button{font-size:13px;padding:0 5px;gap:3px}.dt-subhead .dr-modes svg{width:14px;height:14px}.dt-practiced{display:none}.day-reading>.dt-source-group{padding:10px 14px;border-left:0;border-bottom:1px solid var(--dr-line);gap:6px;overflow:hidden}.dt-sources{gap:6px}.dt-sources button{height:30px;font-size:12px}.dt-panel{width:100%;padding:16px 14px max(18px,env(safe-area-inset-bottom));gap:0}.dt-calendar-side{padding:0}.dt-panel .dt-month-total{margin:0 0 8px}.dt-layer.is-calendar .dr-calendar-days button{max-height:44px}.dt-day-list{max-height:52dvh}.dt-mobile-head>span{font-size:11px}.dt-month-heading{padding:10px 4px}.dt-count{width:64px}.dt-day-select{gap:8px}.dr-row{scroll-margin-top:calc(var(--dr-sticky-height,160px) + var(--dr-top,0px) + 16px)}}
@media(max-width:360px){.dt-display>span{display:none}.dt-subhead .dr-modes button{font-size:12px;padding-inline:3px}.dt-mobile-head>span{font-size:10px}.dt-count{width:57px}.dt-day-select{gap:5px}}

.dt-layer{contain:layout style}
@media(min-width:601px){.dt-panel{height:min(550px,calc(100dvh - 24px))}.dt-day-list{flex:1;max-height:none}}
