.measure-toggle{display:flex;align-items:center;border:1px solid var(--border-default,#e2e8f0);border-radius:7px;padding:3px;background:var(--surface-subtle,#f8fafc);gap:2px}
.measure-toggle button{border:0;border-radius:5px;background:transparent;color:var(--text-secondary,#64748b);padding:6px 10px;font-size:11px;font-weight:700}
.measure-toggle button.selected{background:var(--surface-elevated,#fff);color:var(--text-primary,#0f172a);box-shadow:0 1px 3px #0f172a18}
.measure-help{position:relative;color:var(--text-tertiary,#94a3b8);padding:0 4px;cursor:help;font-size:14px}
.measure-help>span{display:none;position:absolute;z-index:8;right:-8px;top:calc(100% + 8px);width:240px;padding:10px 12px;border-radius:7px;background:#172033;color:#fff;box-shadow:0 5px 16px #0f172a30;font-size:11px;font-weight:500;line-height:1.45}
.measure-help:hover>span,.measure-help:focus>span{display:block}
.outline-section{position:relative;margin:0 0 20px}
.outline-section-header{display:flex;align-items:center;gap:9px;min-height:38px;margin:0 0 8px;padding:0 8px;border-bottom:1px solid var(--border-default,#e2e8f0);color:var(--text-primary,#0f172a)}
.outline-section-header strong{font-size:12px;letter-spacing:.01em}
.outline-section-header>span{margin-left:auto;color:var(--text-tertiary,#94a3b8);font-size:10px}
.section-collapse{width:24px;height:24px;border:0;border-radius:5px;background:transparent;color:var(--text-secondary,#64748b);font-size:16px;line-height:1}
.section-collapse:hover{background:var(--surface-subtle,#f1f5f9)}
.outline-section-scenes{min-height:4px}
.outline-section.unsectioned .outline-section-header{color:var(--text-secondary,#64748b)}
.count-mode .timeline:before{display:none}
@media(max-width:1000px){.overview-card{gap:15px}.measure-toggle button{padding-inline:7px}}
@media(max-width:760px){.overview-card{height:auto;min-height:72px;padding:12px;gap:10px}.overview-item:nth-child(2){display:none}.measure-toggle{margin-left:auto}.overview-card .share-button{display:none}.measure-help>span{right:-4px}}
