/* DeeTime tab (js/deetime.js) */
.dt-page { position: relative; border-radius: 26px; margin: -4px 0 20px; isolation: isolate; color: var(--ink); --dt-card: color-mix(in srgb, var(--card-solid) var(--dt-surface, 72%), transparent); --dt-line: var(--line); --dt-soft: color-mix(in srgb, var(--ink) 7%, transparent); }
.dt-page.dt-bgon { padding: 14px; min-height: calc(100vh - 140px); }
.dt-bgl { position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: var(--dt-bg, transparent); filter: brightness(var(--dt-bright, 1)); }
.dt-bgl::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(0, 0, 0, var(--dt-dim, 0)); }
.dt-page.dt-light { --ink: #16242a; --ink-2: #4c5c60; --muted: #66767a; --line: rgba(17, 40, 45, .12); --card-solid: #fbfaf7; color: var(--ink); }
.dt-page.dt-dark, #dt-focus.dt-dark { --ink: #eef2f1; --ink-2: #c3cdce; --muted: #93a0a2; --line: rgba(255, 255, 255, .1); --card-solid: #161b1e; color: var(--ink); }
.dt-inner { display: flex; flex-direction: column; gap: 14px; }
.dt-card { background: var(--dt-card); border: 1px solid var(--dt-line); border-radius: 22px; padding: 16px 18px; backdrop-filter: blur(var(--dt-blur, 14px)); -webkit-backdrop-filter: blur(var(--dt-blur, 14px)); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); min-width: 0; }
.dt-ic { width: 16px; height: 16px; flex: none; }
.dt-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.dt-h .muted { font-weight: 400; font-size: .85rem; }
.dt-h.small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.dt-h .grow, .dt-top .grow { flex: 1; }
.dt-top .grow { min-width: 0; }
.dt-hint { font-size: .78rem; color: var(--muted); margin: 8px 2px 0; }
.dt-empty { font-size: .85rem; margin: 6px 0; }

/* top bar */
.dt-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: var(--dt-card); border: 1px solid var(--dt-line); border-radius: 20px; backdrop-filter: blur(var(--dt-blur, 14px)); }
.dt-brand { display: flex; flex-direction: column; line-height: 1.1; margin-right: 6px; }
.dt-brand b { font-size: 1.15rem; letter-spacing: -.01em; }
.dt-brand small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dt-seg { display: inline-flex; background: var(--dt-soft); border-radius: 999px; padding: 3px; gap: 2px; }
.dt-seg button { border: 0; background: none; color: var(--ink-2); font: inherit; font-size: .86rem; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.dt-seg button.on { background: var(--card-solid); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); font-weight: 600; }
.dt-seg.sm button { padding: 4px 11px; font-size: .78rem; }
.dt-datenav { display: flex; align-items: center; gap: 4px; }
.dt-date { font-weight: 600; font-size: .9rem; min-width: 120px; text-align: center; white-space: nowrap; }
.dt-ib { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--dt-line); background: var(--card-solid); color: var(--ink); cursor: pointer; }
.dt-ib:hover { background: var(--dt-soft); }
.dt-pill-btn { border: 1px solid var(--dt-line); background: var(--card-solid); color: var(--ink); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .84rem; cursor: pointer; }
.dt-search { border: 1px solid var(--dt-line); background: var(--card-solid); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .86rem; flex: 0 1 200px; min-width: 90px; }
.dt-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: .86rem; cursor: pointer; background: var(--ink); color: var(--card-solid); }
.dt-btn.soft { background: var(--dt-soft); color: var(--ink); }
.dt-btn.sm { padding: 6px 12px; font-size: .8rem; }
.dt-btn.wide { width: 100%; justify-content: center; margin-top: 8px; }
.dt-btn.danger { color: #c4473f; }
.dt-btn:hover { filter: brightness(1.08); }
.dt-link { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: .8rem; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.dt-link:hover { background: var(--dt-soft); color: var(--ink); }

/* search */
.dt-results { display: flex; flex-direction: column; gap: 2px; }
.dt-res { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; text-align: left; border: 0; background: none; color: var(--ink); padding: 7px 8px; border-radius: 10px; font: inherit; cursor: pointer; }
.dt-res:hover { background: var(--dt-soft); }
.dt-res i { width: 10px; height: 10px; border-radius: 50%; }
.dt-res span { font-size: .8rem; color: var(--muted); }

/* timeline */
.dt-tl-scroll { overflow-x: auto; overflow-y: hidden; border-radius: 14px; background: var(--dt-soft); scrollbar-width: thin; }
.dt-tl { position: relative; cursor: copy; }
.dt-hr { position: absolute; top: 0; bottom: 0; border-left: 1px dashed color-mix(in srgb, var(--ink) 8%, transparent); font-size: .68rem; color: var(--muted); padding: 4px 0 0 4px; pointer-events: none; }
.dt-hr.big { border-left-style: solid; }
.dt-blk { position: absolute; height: 28px; border-radius: 999px; background: color-mix(in srgb, var(--c) 88%, #fff); color: #1d2326; display: flex; align-items: center; padding: 0 12px; font-size: .78rem; font-weight: 600; cursor: grab; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 4px 12px -6px var(--c); overflow: hidden; white-space: nowrap; touch-action: none; user-select: none; transition: opacity .2s; }
.dt-blk span { overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.dt-blk.sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.dt-blk.dim { opacity: .28; }
.dt-blk:active { cursor: grabbing; }
.dt-grip { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; }
.dt-grip.l { left: 0; } .dt-grip.r { right: 0; }
.dt-blk:hover .dt-grip::after { content: ''; position: absolute; top: 8px; bottom: 8px; left: 3px; width: 3px; border-radius: 2px; background: rgba(0, 0, 0, .25); }
.dt-act { position: absolute; height: 6px; border-radius: 4px; background: var(--c); cursor: pointer; }
.dt-act.live { background: repeating-linear-gradient(90deg, var(--c) 0 8px, color-mix(in srgb, var(--c) 50%, transparent) 8px 12px); animation: dt-slide 1s linear infinite; }
@keyframes dt-slide { to { background-position: 12px 0; } }
.dt-nowline { position: absolute; top: 0; bottom: 0; width: 2px; background: #e5484d; pointer-events: none; }
.dt-nowline b { position: absolute; top: 2px; left: 4px; font-size: .66rem; color: #fff; background: #e5484d; padding: 1px 5px; border-radius: 6px; }

/* orbit + now */
.dt-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 14px; }
.dt-orbit-row { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 18px; align-items: center; }
.dt-orbit { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
.dt-page svg text { stroke: none; }
.dt-track { fill: none; stroke: color-mix(in srgb, var(--ink) 7%, transparent); }
.dt-tick { stroke: color-mix(in srgb, var(--ink) 18%, transparent); stroke-width: 1; }
.dt-tick.big { stroke: color-mix(in srgb, var(--ink) 40%, transparent); stroke-width: 1.5; }
.dt-ring-lbl { font-size: 10px; fill: var(--muted); text-anchor: middle; }
.dt-arc { cursor: grab; transition: opacity .2s; }
.dt-arc:hover, .dt-arc.sel { filter: brightness(1.06) drop-shadow(0 0 4px rgba(0, 0, 0, .25)); }
.dt-handle { fill: #fff; stroke: rgba(0, 0, 0, .18); cursor: grab; opacity: 0; transition: opacity .15s; }
.dt-orbit:hover .dt-handle { opacity: .9; }
.dt-now-hand { stroke: #e5484d; stroke-width: 2; stroke-linecap: round; }
.dt-c-big { font-size: 30px; font-weight: 700; fill: var(--ink); text-anchor: middle; letter-spacing: -.02em; }
.dt-c-sub { font-size: 12px; fill: var(--ink-2); text-anchor: middle; }
.dt-c-small { font-size: 10.5px; fill: var(--muted); text-anchor: middle; }
.dt-list { display: flex; flex-direction: column; gap: 4px; }
.dt-list-h { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.dt-li { display: flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--ink); text-align: left; padding: 6px 8px; border-radius: 12px; font: inherit; cursor: pointer; }
.dt-li:hover, .dt-li.on { background: var(--dt-soft); }
.dt-li i { width: 26px; height: 26px; border-radius: 8px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.dt-li span { display: flex; flex-direction: column; }
.dt-li b { font-size: .86rem; }
.dt-li small { font-size: .74rem; color: var(--muted); }

.dt-now-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dt-now-h b { display: block; font-size: 1.05rem; }
.dt-now-h small { color: var(--muted); font-size: .78rem; }
.dt-live { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #d8f0c8; color: #2c6b1f; }
.dt-live .dt-ic { width: 20px; height: 20px; }
.dt-live.off { background: var(--dt-soft); color: var(--muted); }
.dt-live.paused { background: #f6e3c0; color: #8a5a10; }
.dt-now.on .dt-live:not(.paused) { animation: dt-pulse 1.6s ease-in-out infinite; }
@keyframes dt-pulse { 50% { box-shadow: 0 0 0 6px rgba(120, 200, 90, .2); } }
.dt-now-act { display: flex; align-items: center; gap: 10px; background: var(--dt-soft); border-radius: 14px; padding: 10px 12px; }
.dt-now-act i { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.dt-now-act span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dt-now-act small { color: var(--muted); font-size: .74rem; }
.dt-now-title { border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; padding: 0; width: 100%; }
.dt-now-title:focus, .dt-now-note:focus { outline: none; }
.dt-now-clock { font-size: 2.7rem; font-weight: 700; letter-spacing: -.03em; text-align: center; margin: 14px 0 0; font-variant-numeric: tabular-nums; }
.dt-now-sub { text-align: center; font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.dt-now-note { width: 100%; border: 1px solid var(--dt-line); background: transparent; color: var(--ink); border-radius: 12px; padding: 9px 12px; font: inherit; font-size: .85rem; box-sizing: border-box; }
.dt-now-btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dt-now-btns .dt-btn { flex: 1; justify-content: center; }
.dt-now-btns.small { justify-content: space-between; margin-top: 4px; }
.dt-now-plan { background: var(--dt-soft); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.dt-now-plan small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.dt-now-plan b { display: flex; align-items: center; gap: 8px; }
.dt-now-plan b i { width: 10px; height: 10px; border-radius: 50%; }
.dt-now-plan > span { font-size: .8rem; color: var(--ink-2); }
.dt-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.dt-quick button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--dt-line); background: var(--card-solid); color: var(--ink); border-radius: 999px; padding: 5px 11px 5px 7px; font: inherit; font-size: .78rem; cursor: pointer; }
.dt-quick button i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.dt-quick button:hover { border-color: var(--c, var(--ink)); }
.dt-quick.focus button { padding: 5px 12px; }
.dt-due { margin-top: 6px; }
.dt-due-row { font-size: .82rem; padding: 3px 0; }
.dt-due-row small { color: var(--muted); }

/* week */
.dt-rings { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.dt-dayring { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; color: var(--ink); border-radius: 16px; padding: 8px 4px; font: inherit; cursor: pointer; }
.dt-dayring:hover, .dt-dayring.cur { background: var(--dt-soft); }
.dt-dayring small { font-size: .66rem; color: var(--muted); letter-spacing: .06em; }
.dt-dayring b { font-size: .86rem; }
.dt-dayring.today b { color: #e5484d; }
.dt-mini { width: 64px; height: 64px; }
.dt-mini-t { font-size: 8.5px; font-weight: 700; text-anchor: middle; fill: var(--ink); }
.dt-wk-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 14px; align-items: start; }
.dt-wheads, .dt-wgrid { display: grid; grid-template-columns: 46px repeat(7, minmax(70px, 1fr)); gap: 4px; }
.dt-whead { background: var(--dt-soft); border-radius: 12px 12px 4px 4px; padding: 6px 8px; display: flex; flex-direction: column; line-height: 1.2; }
.dt-whead small { font-size: .62rem; color: var(--muted); letter-spacing: .05em; }
.dt-whead b { font-size: .9rem; }
.dt-whead span { font-size: .68rem; color: var(--muted); }
.dt-whead.today { box-shadow: inset 0 -2px 0 #e5484d; }
.dt-wscroll { max-height: 62vh; overflow-y: auto; margin-top: 4px; scrollbar-width: thin; }
.dt-whours { position: relative; }
.dt-wh { position: absolute; right: 4px; font-size: .64rem; color: var(--muted); transform: translateY(-50%); }
.dt-wh:first-child { transform: none; }
.dt-wcol { position: relative; border-radius: 6px; cursor: copy; background-image: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--ink) 7%, transparent) 0 1px, transparent 1px 44px); }
.dt-wcol.today { background-color: color-mix(in srgb, #e5484d 4%, transparent); }
.dt-wb { position: absolute; left: 2px; right: 2px; border-radius: 9px; padding: 4px 7px; background: color-mix(in srgb, var(--c) 82%, #fff); color: #1d2326; overflow: hidden; display: flex; flex-direction: column; font-size: .72rem; line-height: 1.2; cursor: grab; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); user-select: none; touch-action: none; box-sizing: border-box; }
.dt-wb b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.dt-wb small { opacity: .75; font-size: .66rem; pointer-events: none; }
.dt-wb.log { cursor: pointer; background: color-mix(in srgb, var(--c) 30%, transparent); border-left: 4px solid var(--c); color: var(--ink); }
.dt-wcol.both .dt-wb.plan { right: 30%; }
.dt-wcol.both .dt-wb.log { left: 72%; padding: 3px; }
.dt-wcol.both .dt-wb.log b, .dt-wcol.both .dt-wb.log small { display: none; }
.dt-wb.sel { outline: 2px solid var(--ink); z-index: 2; }
.dt-wgrip { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; cursor: ns-resize; }
.dt-wnow { position: absolute; left: -3px; right: 0; height: 2px; background: #e5484d; pointer-events: none; z-index: 3; }
.dt-wnow::before { content: ''; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }
.dt-detail { position: sticky; top: 80px; }
.dt-detail.empty { font-size: .85rem; }
.dt-det-h { display: flex; gap: 10px; align-items: flex-start; }
.dt-det-h i { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.dt-det-h span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dt-det-h small { font-size: .62rem; letter-spacing: .08em; color: var(--muted); }
.dt-det-h b { font-size: 1.15rem; }
.dt-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .84rem; margin: 12px 0 4px; padding: 10px 12px; background: var(--dt-soft); border-radius: 12px; }
.dt-detail dt { color: var(--muted); }
.dt-detail dd { margin: 0; text-align: right; font-weight: 600; }
.dt-resched { display: flex; gap: 6px; }

/* reflect */
.dt-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dt-tile { background: var(--dt-card); border: 1px solid var(--dt-line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; backdrop-filter: blur(var(--dt-blur, 14px)); }
.dt-tile b { font-size: 1.5rem; letter-spacing: -.02em; }
.dt-tile span { font-size: .78rem; color: var(--muted); }
.dt-bars { display: flex; flex-direction: column; gap: 10px; }
.dt-bar { display: grid; grid-template-columns: 150px 1fr 110px; gap: 10px; align-items: center; font-size: .82rem; }
.dt-bar-n { display: flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dt-bar-n i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dt-bar-t { display: flex; flex-direction: column; gap: 3px; }
.dt-bar-t div { height: 8px; border-radius: 6px; min-width: 2px; }
.dt-bar-t .p { background: color-mix(in srgb, var(--c) 40%, transparent); }
.dt-bar-t .a { background: var(--c); }
.dt-bar-v { text-align: right; color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.dt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.dt-chips button, .dt-chips label { border: 1px solid var(--dt-line); background: var(--card-solid); color: var(--ink); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .8rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.dt-chips button.on { background: var(--ink); color: var(--card-solid); }
.dt-note { width: 100%; box-sizing: border-box; border: 1px solid var(--dt-line); background: transparent; color: var(--ink); border-radius: 14px; padding: 12px; font: inherit; font-size: .9rem; resize: vertical; }
.dt-mini-orbits { display: flex; gap: 20px; justify-content: center; margin-top: 12px; }
.dt-mini-orbits div { display: flex; flex-direction: column; align-items: center; font-size: .72rem; color: var(--muted); }
.dt-mini-orbits .dt-mini { width: 96px; height: 96px; }

/* forms and modals */
.dt-form { display: flex; flex-direction: column; gap: 10px; }
.dt-form > label, .dt-form-row label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--muted); }
.dt-form input:not([type=radio]), .dt-form select, .dt-form textarea { font: inherit; font-size: .92rem; color: var(--ink); background: var(--card-solid); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.dt-form-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.dt-catpick { display: flex; flex-wrap: wrap; gap: 6px; }
.dt-catpick label { cursor: pointer; }
.dt-catpick input { position: absolute; opacity: 0; pointer-events: none; }
.dt-catpick span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px 5px 7px; font-size: .8rem; color: var(--ink); }
.dt-catpick span i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.dt-catpick input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, transparent); font-weight: 600; }
.dt-catpick input:focus-visible + span { outline: 2px solid var(--accent); }
.dt-catrows { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.dt-catrow { display: grid; grid-template-columns: 42px 1fr 32px; gap: 8px; align-items: center; }
.dt-catrow input[type=color] { width: 42px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; }
.dt-catrow input:not([type=color]) { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card-solid); color: var(--ink); }
.dt-sws { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 12px; }
.dt-sw { border: 0; background: none; color: var(--ink); font: inherit; font-size: .76rem; display: flex; flex-direction: column; gap: 4px; align-items: center; cursor: pointer; }
.dt-sw span { width: 100%; height: 56px; border-radius: 12px; border: 1px solid var(--line); box-sizing: border-box; }
.dt-sw.on span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dt-upload { display: inline-flex; margin-bottom: 8px; cursor: pointer; }
.dt-check { display: flex; gap: 8px; align-items: center; font-size: .84rem; margin: 6px 0; }
.dt-slider { display: flex; flex-direction: column; gap: 2px; font-size: .82rem; margin: 8px 0; }
.dt-slider span { display: flex; justify-content: space-between; }
.dt-slider b { color: var(--muted); font-weight: 500; }

/* floating recorder pill (all pages) */
#dt-pill { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 900; display: flex; align-items: center; gap: 8px; background: rgba(20, 24, 28, .92); color: #fff; border-radius: 999px; padding: 7px 8px 7px 14px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); font-size: .84rem; }
#dt-pill i { width: 9px; height: 9px; border-radius: 50%; }
#dt-pill i.pulse { animation: dt-blink 1.4s ease-in-out infinite; }
@keyframes dt-blink { 50% { opacity: .35; } }
#dt-pill button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
#dt-pill .dt-pill-t { width: auto; background: none; font: inherit; font-weight: 600; padding: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
#dt-pill [data-dt-clock] { font-variant-numeric: tabular-nums; opacity: .85; margin-right: 2px; }
#dt-pill .dt-ic { width: 14px; height: 14px; }
#dt-dragtip { position: fixed; z-index: 1000; pointer-events: none; background: rgba(20, 24, 28, .9); color: #fff; font-size: .76rem; padding: 4px 9px; border-radius: 8px; }

/* focus view */
#dt-focus { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; color: #1d2a44; }
.dt-focus-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, #f4f5ff 0%, #cdd5fb 38%, #8fa2ee 100%); }
#dt-focus.dt-dark { color: #eef2f1; }
#dt-focus.dt-dark .dt-focus-bg { background: radial-gradient(circle at 50% 42%, #2a3140 0%, #12151c 70%); }
.dt-focus-box { position: relative; display: grid; place-items: center; }
.dt-focus-ring { width: min(80vw, 70vh); height: auto; grid-area: 1 / 1; }
.dt-fticks line { stroke: currentColor; stroke-opacity: .18; stroke-width: 1.5; stroke-linecap: round; transition: stroke-opacity .4s; }
.dt-fticks line.big { stroke-width: 2.5; }
.dt-fticks line.done { stroke-opacity: .75; }
.dt-fdisc { stroke: none; fill: color-mix(in srgb, var(--c) 30%, #3a6df0); filter: drop-shadow(0 18px 40px rgba(40, 80, 200, .45)); }
.dt-focus-mid { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .2); pointer-events: none; }
.dt-focus-mid small { font-size: .9rem; opacity: .9; }
.dt-focus-mid b { font-size: clamp(2.6rem, 9vh, 4.6rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dt-focus-mid span { font-size: .8rem; opacity: .8; }
.dt-focus-btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.dt-focus-btns .dt-btn { background: rgba(255, 255, 255, .7); color: #1d2a44; backdrop-filter: blur(8px); }
.dt-focus-btns .dt-btn:not(.soft) { background: #1d2a44; color: #fff; }

@media (max-width: 1100px) {
  .dt-grid, .dt-wk-wrap { grid-template-columns: 1fr; }
  .dt-detail { position: static; }
}
@media (max-width: 720px) {
  .dt-page.dt-bgon { padding: 8px; }
  .dt-orbit-row { grid-template-columns: 1fr; }
  .dt-tiles { grid-template-columns: repeat(2, 1fr); }
  .dt-rings { grid-template-columns: repeat(4, 1fr); }
  .dt-wheads, .dt-wgrid { grid-template-columns: 38px repeat(7, 74px); }
  .dt-wk-card { overflow-x: auto; }
  .dt-search { width: 100%; }
  .dt-bar { grid-template-columns: 100px 1fr 90px; }
  .dt-form-row { grid-template-columns: 1fr 1fr; }
}
