/* OrbINT shared chrome, tokens, dock, sheets */

:root {
    --bg: #09090b;
    --panel: #0c0c0e;
    --line: #222226;
    --text: #fafafa;
    --muted: #a1a1aa;
    --faint: #71717a;
    --accent: #67e8f9;
    --warn: #fbbf24;
    --sidebar: 440px;
    --sidebar-min: 280px;
    --sidebar-max: 640px;
    --rail: 56px;
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-r: env(safe-area-inset-right, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-l: env(safe-area-inset-left, 0px);
}



* { margin: 0; padding: 0; box-sizing: border-box; }



html, body {
    height: 100%;
    overflow: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}



img, svg, video, canvas, a {
    -webkit-user-drag: none;
}



button, input { font: inherit; }



body {
    display: grid;
    grid-template-columns: var(--sidebar) minmax(0, 1fr);
}



.backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 8;
}



body.resizing-sidebar,
body.resizing-sidebar * {
    cursor: col-resize !important;
    user-select: none !important;
}



.icon-btn {
    display: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--muted);
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}



.meta {
    margin-top: 6px;
    font-size: 12px;
    color: #71717a;
    line-height: 1.45;
}



.meta[hidden] { display: none !important; }



.btn {
    appearance: none;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 8px;
    height: 40px;
    padding: 0 14px;
    font-size: 15px;
    cursor: pointer;
}



.btn:hover { background: #18181b; }


.btn.primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}


.btn.primary:hover { background: #e4e4e7; }



* {
    scrollbar-width: thin;
    scrollbar-color: #3f3f46 transparent;
}



*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}



*::-webkit-scrollbar-track { background: transparent; }



*::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 99px;
}



*::-webkit-scrollbar-thumb:hover { background: #71717a; }



.section[hidden] { display: none !important; }


.section + .section { margin-top: 8px; }



.section h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    margin: 18px 0 8px;
}



.fact-maps,
.id-maps,
.phone-maps {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    opacity: 1;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
}



.fact-maps svg,
.id-maps svg,
.phone-maps svg {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
    margin: 0;
}



.fact-maps:hover,
.id-maps:hover,
.phone-maps:hover {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.22);
    text-decoration: none;
}



.fact-maps:disabled,
.phone-maps:disabled,
.fact-maps[aria-disabled="true"] {
    opacity: 0.32;
    color: #71717a;
    background: transparent;
    cursor: default;
}



.meta#idStack {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}



.id-address {
    flex: 1;
    min-width: 0;
}



.id-maps {
    margin-top: 1px;
}



.sheet-platform {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 1px 0 3px;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: #a1a1aa;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}



.sheet-platform::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.7;
    flex-shrink: 0;
}



.sheet-platform:hover { color: #e4e4e7; }



.sheet-platform[hidden],
.sheet-platform-value[hidden] { display: none !important; }



.sheet-secret {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
}


.sheet-secret .sheet-input {
    padding-right: 22px;
}


.sheet-secret .fact-reveal {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0.85;
}


.sheet-secret .fact-reveal:hover,
.sheet-secret:focus-within .fact-reveal {
    opacity: 1;
}


.sheet-platform-value .sheet-secret {
    flex: 1;
}



.sheet-platform-value {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}



.sheet-platform-mark {
    appearance: none;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #a1a1aa;
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}


.sheet-platform-mark:hover,
.sheet-platform-mark:focus-visible,
.sheet-platform-mark.is-open {
    background: #1c1c20;
    color: #fafafa;
}


.sheet-platform-mark img,
.sheet-platform-mark svg {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
    pointer-events: none;
}



.site-updated {
    margin: 10px 0 0;
    text-align: center;
    color: var(--faint);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}



.site-updated[hidden] { display: none; }



.fact-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    min-width: 66px;
    margin-top: -1px;
}



.empty-note {
    font-size: 13px;
    color: var(--faint);
    padding: 18px 8px 8px;
    line-height: 1.55;
}



.empty-brief {
    padding-top: 2px;
    line-height: 1.55;
}



.empty-brief strong {
    display: block;
    margin-bottom: 6px;
    color: #a1a1aa;
    font-weight: 600;
}



.leads { display: grid; }



.lead {
    display: block;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}



.lead:last-child { border-bottom: 0; }


.lead:hover { color: #fff; }



.caution {
    font-size: 14px;
    color: var(--warn);
    line-height: 1.5;
}



.analysis {
    white-space: pre-wrap;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    padding: 12px 8px 8px;
}



.hub {
    --hub-size: 220px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--hub-size);
    height: var(--hub-size);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 7;
    cursor: grab;
    user-select: none;
    touch-action: none;
    -webkit-user-drag: none;
    overflow: visible;
    contain: layout style;
}



.hub::before {
    content: "";
    position: absolute;
    inset: -28px;
    border-radius: 50%;
    pointer-events: none;
}



.hub:active { cursor: grabbing; }



.hub.has-face::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.12) 100%);
    z-index: 1;
    pointer-events: none;
}



@keyframes node-in {
    from { opacity: 0; }
    to { opacity: 1; }
}



.add-sheet[hidden] { display: none !important; }



.add-sheet {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.28s ease;
}



.add-sheet.is-in { opacity: 1; }



.add-card {
    width: min(480px, 100%);
    max-width: 100%;
    min-width: 0;
    max-height: min(84vh, 720px);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #27272a;
    border-radius: 14px;
    background: #0a0a0c;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    padding: 16px 16px 14px;
    transform: translateY(20px);
    opacity: 0.85;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
    scrollbar-width: thin;
    scrollbar-color: #3f3f46 transparent;
}



.add-sheet.is-in .add-card {
    transform: translateY(0);
    opacity: 1;
}



.add-card h2 {
    font-size: 17px;
    font-weight: 560;
    letter-spacing: -0.03em;
}



.add-card h3 {
    margin: 12px 0 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #71717a;
}



.add-card h3:first-of-type { margin-top: 4px; }



#addPresetBlock,
#addHiddenBlock,
#addPresetList {
    min-width: 0;
    max-width: 100%;
}



.add-chips {
    display: flex;
    flex-flow: row wrap;
    gap: 5px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    padding: 0 0 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}



.add-chips::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}



.add-chips button {
    flex: 0 0 auto;
    white-space: nowrap;
}



.add-chips > button {
    appearance: none;
    border: 1px solid #27272a;
    background: #111113;
    color: #e4e4e7;
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
}



.add-chips > button:hover {
    background: #18181b;
    border-color: #3f3f46;
    color: #fafafa;
}



.add-empty {
    margin: 8px 0 4px;
    font-size: 12px;
    color: #71717a;
}



.add-group {
    margin-top: 10px;
}



.add-group:first-child { margin-top: 4px; }



.add-group-label {
    margin: 0 0 5px;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #52525b;
}



.add-filter-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin: 10px 0 4px;
}



.add-filter-icon {
    position: absolute;
    left: 9px;
    width: 13px;
    height: 13px;
    color: #52525b;
    pointer-events: none;
}



.add-filter {
    width: 100%;
    height: 30px;
    margin: 0;
    border: 1px solid #27272a;
    border-radius: 8px;
    background: #0f0f11;
    color: var(--text);
    padding: 0 64px 0 28px;
    font: inherit;
    font-size: 12.5px;
}



.add-filter::placeholder { color: #52525b; }



.add-filter:focus {
    outline: none;
    border-color: #3f3f46;
    background: #111113;
}



.add-filter-count {
    position: absolute;
    right: 8px;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: #52525b;
    pointer-events: none;
}



.add-filter-count[hidden] { display: none !important; }



.add-form {
    display: grid;
    gap: 8px;
}



.add-form-top {
    margin: 2px 0 2px;
}



.add-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) auto;
    gap: 6px;
    align-items: center;
}



.add-form input {
    width: 100%;
    height: 30px;
    border: 1px solid #27272a;
    border-radius: 8px;
    background: #0f0f11;
    color: var(--text);
    padding: 0 10px;
    font: inherit;
    font-size: 12.5px;
}



.add-form input:focus {
    outline: none;
    border-color: #3f3f46;
    background: #111113;
}



.add-form input::placeholder { color: #52525b; }



.add-form button {
    appearance: none;
    height: 30px;
    padding: 0 12px;
    border: 1px solid #27272a;
    border-radius: 8px;
    background: #141416;
    color: #e4e4e7;
    font-size: 12px;
    font-weight: 550;
    cursor: pointer;
    white-space: nowrap;
}



.add-form button:hover {
    background: #1a1a1d;
    border-color: #3f3f46;
}



.toolkit-card {
    width: min(520px, 100%);
    max-height: min(86vh, 780px);
    overflow: hidden;
    min-height: 0;
    padding: 14px 14px 12px;
}



.toolkit-card .share-top {
    margin-bottom: 2px;
}



.toolkit-card h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.03em;
}



.toolkit-lead {
    margin: 2px 0 0;
    font-size: 12px;
    color: #71717a;
    line-height: 1.4;
}



.toolkit-lead a {
    color: #a1a1aa;
    text-decoration: none;
}



.toolkit-lead a:hover {
    color: #e4e4e7;
    text-decoration: underline;
}



.toolkit-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin: 12px 0 6px;
}



.toolkit-search-wrap svg {
    position: absolute;
    left: 10px;
    width: 13px;
    height: 13px;
    color: #52525b;
    pointer-events: none;
}



.toolkit-search-wrap .add-filter {
    height: 32px;
    padding-left: 30px;
    padding-right: 12px;
    border-radius: 8px;
    font-size: 13px;
}



.toolkit-meta {
    margin: 0 0 4px;
    font-size: 11px;
    color: #52525b;
    letter-spacing: 0.01em;
}



.toolkit-focus {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 6px 8px;
    border: 1px solid #1f2937;
    border-radius: 8px;
    background: #0c1218;
    font-size: 12px;
    color: #93c5fd;
}



.toolkit-focus[data-on="1"] { display: flex; }



.toolkit-focus strong {
    font-weight: 600;
    color: #e2e8f0;
}



.toolkit-focus button {
    appearance: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    padding: 2px 4px;
}



.toolkit-focus button:hover { color: #e2e8f0; }



.toolkit-list {
    overflow: auto;
    min-height: 0;
    flex: 1;
    margin-top: 2px;
    padding-right: 2px;
}



.toolkit-section {
    margin-top: 10px;
}



.toolkit-section:first-child { margin-top: 2px; }



.toolkit-section-label {
    margin: 0 0 4px 2px;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #52525b;
}



.toolkit-cat {
    border-bottom: 1px solid #18181b;
}



.toolkit-cat:last-child { border-bottom: 0; }



.toolkit-cat-toggle {
    appearance: none;
    width: 100%;
    min-height: 30px;
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    text-align: left;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #d4d4d8;
    padding: 5px 4px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    cursor: pointer;
}



.toolkit-cat-toggle:hover {
    background: #111113;
    color: #fafafa;
}



.toolkit-cat-toggle[aria-expanded="true"] {
    color: #fafafa;
}



.toolkit-cat-chevron {
    width: 12px;
    height: 12px;
    color: #52525b;
    transition: transform 0.16s ease;
}



.toolkit-cat-toggle[aria-expanded="true"] .toolkit-cat-chevron {
    transform: rotate(90deg);
    color: #a1a1aa;
}



.toolkit-cat-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.toolkit-cat-count {
    font-size: 11px;
    font-weight: 500;
    color: #52525b;
    font-variant-numeric: tabular-nums;
}



.toolkit-cat-toggle[aria-expanded="true"] .toolkit-cat-count {
    color: #71717a;
}



.toolkit-tools {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 6px 20px;
}



.toolkit-tools[hidden] { display: none !important; }



.toolkit-tool {
    appearance: none;
    width: 100%;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #a1a1aa;
    padding: 3px 6px;
    font: inherit;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
}



.toolkit-tool:hover {
    background: #141417;
    color: #fafafa;
}



.toolkit-tool span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.toolkit-tool em {
    flex: 0 0 auto;
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
    font-size: 10.5px;
    color: #3f3f46;
}



.toolkit-tool:hover em { color: #71717a; }



.toolkit-empty {
    margin: 18px 8px;
    font-size: 12px;
    color: #52525b;
    text-align: center;
}



.media-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #18181b;
    color: var(--text);
    display: none;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
}



.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.media-thumb svg {
    width: 14px;
    height: 14px;
    margin: 4px;
    display: block;
}


.media-thumb[hidden] { display: none !important; }



.media-close {
    appearance: none;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #111113;
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
}



.media-image {
    max-width: min(92vw, 1100px);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
}



.media-audio-card {
    width: min(420px, 92vw);
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #111113;
    text-align: center;
}



.media-audio-card strong {
    display: block;
    margin: 12px 0 16px;
    font-size: 15px;
    font-weight: 500;
    word-break: break-all;
}



.media-audio-card audio { width: 100%; }



.search-btn {
    appearance: none;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--faint);
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: color 0.4s ease;
}



.search-btn svg {
    width: 14px;
    height: 14px;
    display: block;
}



.search-btn.icon-pop svg {
    animation: iconIn 0.4s ease;
}



@keyframes iconIn {
    from { opacity: 0; transform: scale(0.55); }
    to { opacity: 1; transform: scale(1); }
}



.search-btn.ready { color: #4ade80; }


.search-btn:hover { color: var(--text); }


.search-btn.ready:hover { color: #86efac; }



.secret-reveal {
    appearance: none;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}



.secret-reveal svg {
    width: 14px;
    height: 14px;
    display: block;
}



.secret-reveal:hover,
.secret-reveal.open { color: var(--text); }



.secret-reveal[hidden] { display: none !important; }



.search-list {
    overflow: auto;
    min-height: 0;
    flex: 1;
}



.search-option {
    appearance: none;
    width: 100%;
    display: block;
    border: 0;
    background: transparent;
    color: var(--text);
    border-radius: 8px;
    padding: 8px;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}



.search-option:hover { background: #1c1c20; }



@keyframes profile-bloom {
    from { opacity: 0; }
    to { opacity: 1; }
}



@keyframes boot-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}



@keyframes hub-in {
    from { opacity: 0; }
    to { opacity: 1; }
}



.dock-anchor,
.donate,
.page-switch {
    animation: boot-fade 0.5s ease 0.06s both;
}



.dock-anchor.replay-boot,
.donate.replay-boot,
.page-switch.replay-boot {
    animation: boot-fade 0.5s ease both;
}



.tz-pick,
.cc-pick {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    flex: 1;
}



.cc-flag {
    flex: none;
    font-size: 14px;
    line-height: 1;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}



.cc-flag[hidden] { display: none !important; }



.tz-abbr,
.cc-abbr {
    flex: none;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.04em;
    color: var(--text);
    cursor: pointer;
    line-height: 32px;
}



.tz-pick.empty .tz-abbr,
.cc-pick.empty .cc-abbr {
    color: #71717a;
    font-weight: 500;
    letter-spacing: 0;
}



.cc-name {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 32px;
    cursor: pointer;
}



.tz-trigger,
.cc-trigger {
    appearance: none;
    flex: none;
    width: 12px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    display: grid;
    place-items: center;
    cursor: pointer;
}



.tz-pick.empty .tz-trigger,
.cc-pick.empty .cc-trigger { color: #71717a; }



.tz-trigger::after,
.cc-trigger::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4.5px solid currentColor;
    opacity: 0.7;
}



.tz-trigger:hover,
.tz-abbr:hover,
.cc-trigger:hover,
.cc-abbr:hover,
.cc-name:hover {
    color: #fff;
}



.tz-search {
    width: 100%;
    height: 36px;
    margin-bottom: 8px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #161618;
    color: var(--text);
    font-size: 13px;
    outline: 0;
}



.tz-search:focus { border-color: #3f3f46; }



.tz-list {
    overflow: auto;
    min-height: 0;
    flex: 1;
    padding-right: 2px;
    scrollbar-gutter: stable;
}



.tz-group { padding-bottom: 6px; }


.tz-group[hidden] { display: none !important; }



.tz-group-label {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px 8px 4px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    background: #0e0e11;
}



.tz-option {
    appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: transparent;
    color: var(--text);
    border-radius: 10px;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
}



.tz-option:hover,
.tz-option.active { background: #1a1a1e; }



.tz-option.selected {
    background: rgba(20, 83, 45, 0.38);
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.22);
}



.tz-option.hidden { display: none; }



.tz-option-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}



.tz-option-main strong {
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.03em;
}



.tz-option-main em {
    font-style: normal;
    font-size: 11px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.tz-option-meta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}



.tz-option-meta b {
    font-weight: 500;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: #86efac;
}



.tz-option.cc-option { gap: 10px; }



.cc-option-flag {
    flex: none;
    width: 1.5em;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}



.cc-option .tz-option-main { flex: 1; }



.cc-option .tz-option-main strong {
    letter-spacing: 0;
    font-weight: 600;
}



.tz-option-meta i {
    font-style: normal;
    font-size: 10px;
    color: var(--faint);
}



.tz-clock {
    flex: 0 0 auto;
    min-width: 4.4em;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: #86efac;
    line-height: 32px;
    white-space: nowrap;
}



.tz-clock[hidden] { display: none !important; }



.image-add {
    appearance: none;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 72px;
    margin: 0;
    height: 22px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: #18181b;
    color: #fafafa;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.image-add:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    background: rgba(9, 9, 11, 0.92);
}



.file-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
}

@media (max-width: 1100px) {

        .hub { --hub-size: 188px; }
}

@media (max-width: 820px) {

        html, body {
            overflow: hidden;
            max-width: 100%;
            width: 100%;
            height: 100%;
            height: 100dvh;
            overscroll-behavior: none;
            touch-action: manipulation;
        }

        .workspace {
            grid-column: 1;
            width: 100%;
            height: 100%;
            height: 100dvh;
        }

        body {
            display: block;
            grid-template-columns: none;
        }

        .work-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 55;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 0;
            padding: calc(6px + var(--safe-t)) 8px 6px;
            background: rgba(9, 9, 11, 0.96);
            border-bottom: 1px solid var(--line);
            pointer-events: auto;
        }

        body.panel-open .work-nav {
            display: none !important;
        }

        .page-switch {
            position: relative;
            z-index: 1;
            flex: 1 1 auto;
            margin: 0;
            min-width: 0;
            width: 100%;
            height: 40px;
            padding: 3px;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            touch-action: pan-x;
        }

        .page-switch button {
            flex: 1 1 0;
            min-width: 0;
            height: 34px;
            min-height: 34px;
            padding: 0 4px;
            font-size: 11px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .page-switch-thumb { height: 34px; }

        .work-page {
            top: calc(52px + var(--safe-t));
        }

        .casebook-btn,
        .casebook-btn.map-toggle {
            display: none !important;
        }

        .work-top { padding: 14px; }

        .work-body { padding: 12px 14px 96px; }

        .icon-btn {
            display: grid !important;
            place-items: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: #141416;
            color: var(--text);
            font-size: 22px;
        }

        .meta {
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            line-height: 1.45;
            margin-top: 8px;
        }

        .bar span { border-radius: 99px; }

        .phone-facts,
        .phone-facts .phone-group,
        .phone-facts .phone-group-card {
            width: 100%;
            max-width: 100%;
        }

        .hub { --hub-size: min(104px, 30vw); }

        .tz-abbr,
        .cc-abbr,
        .cc-name {
            overflow: visible;
            text-overflow: clip;
        }

        .dock-add,
        .dock-more,
        #dockMore { display: grid !important; }

        .dock-anchor {
            position: fixed;
            left: max(8px, var(--safe-l));
            right: max(8px, var(--safe-r));
            bottom: calc(8px + var(--safe-b));
            display: flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-end;
            gap: 8px;
            pointer-events: none;
            z-index: 35;
            transform: translateZ(0);
            animation: none !important;
        }

        body.panel-open .dock-anchor {
            visibility: hidden;
            pointer-events: none;
        }

        .dock,
        .export-menu,
        .bomb-split { pointer-events: auto; }

        .dock {
            width: 100%;
            max-width: 100%;
            justify-content: flex-start;
            gap: 2px;
            padding: 4px 6px;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            scrollbar-width: none;
            background: rgba(9, 9, 11, 0.96);
        }

        .dock::-webkit-scrollbar { display: none; }

        .dock > button {
            width: 40px;
            height: 40px;
            min-width: 40px;
            max-width: 44px;
            flex: 0 0 auto;
            touch-action: manipulation;
        }

        .dock > button svg {
            width: 16px;
            height: 16px;
        }

        .bomb-split {
            width: 96px;
            height: 36px;
        }

        .bomb-split.is-solo {
            width: 48px;
        }

        .bomb-split a svg {
            width: 16px;
            height: 16px;
        }

        .dock > button:hover:not(:disabled),
        .dock > button:focus-visible:not(:disabled) {
            transform: none;
        }

        .dock > button:hover:not(:disabled) svg,
        .dock > button:focus-visible:not(:disabled) svg {
            transform: none;
        }

        body.panel-open #dockPortfolio {
            background: #18181b;
            color: var(--accent);
        }

        .dock > button::after,
        .dock > button:hover::after,
        .dock > button:focus-visible::after,
        .bomb-split a::after,
        .bomb-split a:hover::after,
        .bomb-split a:focus-visible::after { display: none !important; }

        #dockHelp,
        #dockToolkit,
        #dockInstall,
        #dockReset,
        #dockSettings,
        #dockImport,
        #dockReport,
        #dockShare,
        #dockPlay,
        #dockPlaytest,
        #dockMore { display: grid !important; }

        #dockMore {
            position: sticky;
            right: 0;
            z-index: 2;
            background: rgba(9, 9, 11, 0.96);
            box-shadow: -10px 0 12px rgba(9, 9, 11, 0.9);
        }

        .add-sheet { align-items: flex-end; padding: 0; }

        .add-card {
            width: 100%;
            max-height: min(88dvh, 820px);
            border-radius: 20px 20px 0 0;
            padding-bottom: calc(20px + var(--safe-b));
        }

        .add-form-row {
            grid-template-columns: minmax(0, 1fr) auto;
        }

        .add-form-row #addCustomHint { display: none; }

        .help-guide {
            padding: 0;
            align-items: flex-end;
        }

        .help-card {
            width: 100%;
            max-height: min(92dvh, 920px);
            border-radius: 18px 18px 0 0;
        }

        .help-top {
            padding-top: calc(16px + var(--safe-t));
        }

        .help-body {
            padding-bottom: calc(22px + var(--safe-b));
        }

        .help-card h2 { font-size: 20px; }
}



.dock-anchor {
    position: fixed;
    right: calc(16px + var(--safe-r));
    bottom: calc(16px + var(--safe-b));
    z-index: 16;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}



.bomb-split {
    display: inline-flex;
    align-items: stretch;
    width: 88px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(9, 9, 11, 0.92);
    overflow: hidden;
    backdrop-filter: blur(8px);
    isolation: isolate;
}



.bomb-split[hidden] { display: none !important; }

.bomb-split a[hidden] { display: none !important; }

.bomb-split.is-solo {
    width: 44px;
}

.bomb-split.is-solo a {
    border-right: 0;
}



.bomb-split a {
    position: relative;
    flex: 1 1 50%;
    min-width: 44px;
    display: grid;
    place-items: center;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.18s ease, color 0.18s ease;
}



.bomb-split-git {
    border-right: 1px solid var(--line);
}



.bomb-split-pay {
    color: #fca5a5;
}



.bomb-split a svg {
    width: 15px;
    height: 15px;
    display: block;
}



.bomb-split a:hover {
    background: #18181b;
}



.bomb-split-pay:hover {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.22);
}



.bomb-split a:active {
    background: #1c1c20;
}



.bomb-split a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    z-index: 1;
}



.bomb-split a::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 6px;
    background: #18181b;
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}



.bomb-split a:hover::after,
.bomb-split a:focus-visible::after {
    opacity: 1;
    visibility: visible;
}



.set-row.is-flash {
    animation: setFlash 1.15s ease;
}



@keyframes setFlash {
    0%, 100% { background: transparent; }
    25% { background: rgba(127, 29, 29, 0.28); }
}



.dock {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(9, 9, 11, 0.92);
    overflow: visible;
}



.dock > button {
    appearance: none;
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    display: grid;
    place-items: center;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease;
}



.dock > button svg {
    width: 15px;
    height: 15px;
    display: block;
    transform: scale(1);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}



.dock > button:hover:not(:disabled),
.dock > button:focus-visible:not(:disabled) {
    background: #18181b;
    transform: scale(1.16);
    z-index: 2;
}



.dock > button:hover:not(:disabled) svg,
.dock > button:focus-visible:not(:disabled) svg {
    transform: scale(1.08);
}


.dock > button:disabled {
    opacity: 0.32;
    cursor: default;
}


.dock > button:disabled:hover { background: transparent; }


.dock > button:disabled::after { visibility: hidden; opacity: 0; }


.dock-reset { color: #fca5a5; }


.dock-reset:hover:not(:disabled) { background: rgba(127, 29, 29, 0.28); }


.dock-settings { color: #d4d4d8; }


.dock-portfolio,
.dock-more { display: none !important; }



.dock > button::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 6px;
    background: #18181b;
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}



.dock > button:hover::after,
.dock > button:focus-visible::after {
    opacity: 1;
    visibility: visible;
}



.dock > button:hover:not(:disabled)::after,
.dock > button:focus-visible:not(:disabled)::after {
    transform: translateX(-50%) scale(0.86);
}



.dock.picking-export #dockExport::after { visibility: hidden; opacity: 0; }



.export-menu {
    position: absolute;
    right: 4px;
    bottom: calc(100% + 8px);
    width: 132px;
    display: flex;
    flex-direction: column;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #111113;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}



.export-menu[hidden] { display: none !important; }



.export-menu button {
    appearance: none;
    width: 100%;
    height: 32px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    text-align: left;
    padding: 0 10px;
    cursor: pointer;
}



.export-menu button:hover { background: #1c1c20; }



.dock-reset:hover:not(:disabled)::after,
.dock-reset:focus-visible:not(:disabled)::after {
    transform: translateX(-50%) scale(0.86);
}



.donate {
    position: fixed;
    top: calc(16px + var(--safe-t));
    right: calc(16px + var(--safe-r));
    z-index: 16;
    display: none;
}



.work-nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    gap: 0;
}

.casebook-btn {
    display: none;
}

.page-switch {
    position: relative;
    z-index: 8;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 2px;
    margin: 10px 12px 0;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(9, 9, 11, 0.92);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    isolation: isolate;
}



.page-switch::-webkit-scrollbar { display: none; }



.page-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    height: 36px;
    width: 0;
    border-radius: 9px;
    background: #1c1c20;
    pointer-events: none;
    z-index: 0;
    transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1), width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}



.page-switch-thumb.is-instant { transition: none; }



.page-switch button {
    appearance: none;
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    min-width: max-content;
    height: 36px;
    min-height: 36px;
    padding: 0 11px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.28s ease;
}



.page-switch button:hover {
    color: var(--text);
}



.page-switch button:focus-visible {
    color: var(--text);
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}



.page-switch button[aria-current="page"] {
    color: var(--text);
    background: transparent;
}



.page-switch:not(:has(.page-switch-thumb)) button[aria-current="page"] {
    background: #1c1c20;
}



@media (max-width: 820px) {
    .workspace { grid-column: 1; }
    .work-top { padding: 12px 12px 10px; }
    .work-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 55;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: calc(6px + var(--safe-t)) 8px 6px;
        background: rgba(9, 9, 11, 0.96);
        border-bottom: 1px solid var(--line);
    }
    .page-switch {
        position: relative;
        z-index: 1;
        flex: 1 1 auto;
        margin: 0;
        min-width: 0;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .page-switch button {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 4px;
        font-size: 11px;
    }
    .casebook-btn,
    .casebook-btn.map-toggle {
        display: none !important;
    }
    .dock {
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
    }
    .dock-more,
    #dockMore {
        display: grid !important;
        position: sticky;
        right: 0;
        z-index: 2;
        background: rgba(9, 9, 11, 0.96);
    }
}



.workspace {
    position: relative;
    min-width: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
}



.work-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}



.work-page {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    min-width: 0;
}



.work-page[hidden] { display: none !important; }

@media (max-width: 820px) {
    .work-page {
        top: calc(52px + var(--safe-t));
        right: 0;
        bottom: 0;
        left: 0;
    }
}



@keyframes page-in-right {
    from { opacity: 0; transform: translate3d(40px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}



@keyframes page-in-left {
    from { opacity: 0; transform: translate3d(-40px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}



@keyframes page-out-left {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to { opacity: 0; transform: translate3d(-40px, 0, 0); }
}



@keyframes page-out-right {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to { opacity: 0; transform: translate3d(40px, 0, 0); }
}



.work-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}



.work-top h2 {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.03em;
}



.work-kicker {
    color: var(--accent);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}



.work-lead {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    max-width: 62ch;
}



.work-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}



.work-tools button:hover,
.intel-form button:hover,
.tl-acts button:hover,
.flow-picks button:hover,
.board-bar button:hover { background: #1c1c20; }



.work-tools button:focus-visible,
.intel-form button:focus-visible,
.tl-acts button:focus-visible,
.flow-picks button:focus-visible,
.board-bar button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}



.work-count { color: var(--faint); font-size: 12px; margin-right: 6px; }



.sheet-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}



.work-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 16px 20px 108px;
}



.work-empty {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    min-height: 40vh;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    padding: 24px;
}



.work-empty strong { color: var(--text); font-size: 16px; }



.work-empty .work-ghost {
    appearance: none;
    height: 36px;
    margin-top: 8px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #141416;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
}



.work-empty .work-ghost:hover { background: #1c1c20; }



.work-top h2 { font-size: 17px; }


.work-lead { max-width: 54ch; }


@keyframes tl-pulse {
    50% { box-shadow: 0 0 0 10px rgba(250, 250, 250, 0.1), 0 0 28px rgba(250, 250, 250, 0.55); }
}


@keyframes tl-grow {
    from { transform: scaleY(0.78); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
}


@keyframes tl-shrink {
    from { transform: scaleY(1); opacity: 1; }
    to { transform: scaleY(0.06); opacity: 0; }
}


.cal-head {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 0 10px;
}


.cal-title {
    appearance: none;
    flex: 1;
    height: 32px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -0.03em;
    cursor: pointer;
}


.cal-title:hover { background: #1c1c20; }


.cal-nav {
    appearance: none;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #a1a1aa;
    display: grid;
    place-items: center;
    cursor: pointer;
}


.cal-nav:hover { background: #1c1c20; color: #fafafa; }


.cal-nav svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}


.cal-dow {
    height: 26px;
    display: grid;
    place-items: center;
    color: #71717a;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.cal-day {
    appearance: none;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #e4e4e7;
    font: inherit;
    font-size: 12.5px;
    font-weight: 550;
    cursor: pointer;
}


.cal-day.is-mute { color: #3f3f46; }


.cal-day:hover { background: #1c1c20; }


.cal-day.is-today { box-shadow: inset 0 0 0 1px #3f3f46; }


.cal-day.is-on,
.cal-day.is-on:hover {
    background: #fafafa;
    color: #09090b;
    box-shadow: none;
}


.cal-months,
.cal-years {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 4px 0 2px;
}


.cal-chip {
    appearance: none;
    height: 40px;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #e4e4e7;
    font: inherit;
    font-size: 12.5px;
    font-weight: 550;
    cursor: pointer;
}


.cal-chip:hover { background: #1c1c20; }


.cal-chip.is-on,
.cal-chip.is-on:hover {
    background: #fafafa;
    color: #09090b;
}


.cal-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #1c1c20;
}


.cal-foot button {
    appearance: none;
    height: 28px;
    padding: 0 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #a1a1aa;
    font: inherit;
    font-size: 12px;
    font-weight: 550;
    cursor: pointer;
}


.cal-foot button:hover { background: #1c1c20; color: #fafafa; }


.time-head {
    margin: 0 0 8px;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -0.03em;
}


.time-face {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2px 0 8px;
}


.time-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}


.time-num {
    width: 52px;
    height: 44px;
    padding: 0;
    border: 1px solid #27272a;
    border-radius: 10px;
    background: #1c1c20;
    color: #fafafa;
    font: inherit;
    font-size: 22px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    text-align: center;
    box-sizing: border-box;
}


.time-num:focus {
    outline: none;
    border-color: #3f3f46;
    background: #18181b;
}


.time-colon {
    margin-top: 4px;
    color: #71717a;
    font-size: 22px;
    font-weight: 650;
}


.time-meridiem {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 4px;
}


.time-meridiem .cal-chip {
    width: 52px;
    height: 32px;
}


.tl-info-grid .board-mi {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #a1a1aa;
}


.tl-info-grid button:hover .board-mi { color: #fafafa; }


.sheet-form .cal-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #09090b;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}


.sheet-form .cal-field.is-empty { color: #52525b; }


.sheet-form .cal-field:hover,
.sheet-form .cal-field[aria-expanded="true"] { border-color: #3f3f46; }


.sheet-form .cal-field svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    color: #71717a;
}


.tl-view .board-add-menu { z-index: 20; pointer-events: auto; }





body.is-space-pan .map,
body.is-space-pan .board-view,
body.is-space-pan .tl-view { cursor: grabbing !important; }

@media (prefers-reduced-motion: reduce) {

        .board-view,
        .tl-view { background-position: 0 0 !important; }
}


html.reduce-motion .board-view,
html.reduce-motion .tl-view { background-position: 0 0 !important; }

@media (max-width: 820px) {

        .work-top { flex-wrap: wrap; }
}



.intel-form, .sheet-form { display: grid; gap: 10px; }


.intel-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }


.sheet-form label, .intel-form label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }


.sheet-form input, .sheet-form textarea, .sheet-form select, .intel-form input {
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #09090b;
    color: var(--text);
    font: inherit;
}


.sheet-form textarea {
    height: auto;
    min-height: 88px;
    padding: 10px;
    resize: vertical;
}


.sheet-form .work-tools {
    position: sticky;
    bottom: -14px;
    margin: 4px -16px -14px;
    padding: 10px 16px 14px;
    background: linear-gradient(180deg, transparent, #0a0a0c 28%);
    justify-content: flex-start;
}


.intel-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }


.intel-links a { color: var(--accent); font-size: 13px; }


.intel-block { margin: 16px 0; }


.intel-block h3 { font-size: 14px; margin-bottom: 8px; }


.intel-dl { display: grid; gap: 6px; font-size: 13px; }


.intel-dl div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px; }


.intel-dl dt { color: var(--muted); }


.intel-card { width: min(920px, 100%); }



.reverse-menu {
    position: fixed;
    z-index: 70;
    width: 168px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #111113;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}


.reverse-menu[hidden] { display: none !important; }


.reverse-menu button {
    appearance: none;
    width: 100%;
    height: 36px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text);
    text-align: left;
    padding: 0 10px;
    cursor: pointer;
    font-size: 13px;
}


.reverse-menu button:hover { background: #1c1c20; }



.meta-table th { width: 34%; }

@media (max-width: 900px) {

        .work-top { flex-direction: column; padding: 14px 16px 12px; }
}



@media (max-width: 560px) {
    .sheet-row { grid-template-columns: 1fr; }
}



.dock.picking-share #dockShare::after { visibility: hidden; opacity: 0; }



.dock > [data-dock-for] { display: none; }


body[data-page="orbit"] .dock > [data-dock-for~="orbit"],
body[data-page="timeline"] .dock > [data-dock-for~="timeline"],
body[data-page="whiteboard"] .dock > [data-dock-for~="whiteboard"],
body[data-page="harvester"] .dock > [data-dock-for~="harvester"],
body[data-page="datasheet"] .dock > [data-dock-for~="datasheet"] { display: grid; }


@media (max-width: 820px) {
    .dock {
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
    .dock-more,
    #dockMore {
        display: grid !important;
        position: sticky;
        right: 0;
        z-index: 2;
        background: rgba(9, 9, 11, 0.96);
    }
    #dockHelp,
    #dockToolkit,
    #dockInstall,
    #dockReset,
    #dockSettings,
    #dockImport,
    #dockReport,
    #dockShare,
    #dockPlay,
    #dockPlaytest { display: grid !important; }
}


#dockSpoilers .dock-ico-on { display: none; }

#dockSpoilers.is-on .dock-ico-off { display: none; }

#dockSpoilers.is-on .dock-ico-on { display: block; }


.dock > button.is-on {
    background: #083344;
    color: var(--accent);
}



.share-sheet[hidden] { display: none !important; }



.share-sheet {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.28s ease;
}



.share-sheet.is-in { opacity: 1; }



.share-card {
    width: min(380px, 100%);
    display: flex;
    flex-direction: column;
    border: 1px solid #27272a;
    border-radius: 20px;
    background: #0c0c0e;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
    padding: 20px;
    transform: translateY(16px) scale(0.98);
    opacity: 0.85;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}



.share-sheet.is-in .share-card {
    transform: none;
    opacity: 1;
}



.install-sheet[hidden] { display: none !important; }



.install-sheet {
    position: fixed;
    inset: 0;
    z-index: 46;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.28s ease;
}



.install-sheet.is-in { opacity: 1; }



.install-card {
    width: min(400px, 100%);
    display: flex;
    flex-direction: column;
    border: 1px solid #27272a;
    border-radius: 20px;
    background: #0c0c0e;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
    padding: 22px 22px 18px;
    transform: translateY(16px) scale(0.98);
    opacity: 0.85;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}



.install-sheet.is-in .install-card {
    transform: none;
    opacity: 1;
}



.install-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}



.install-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    background: #111113;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}



.install-mark img {
    width: 100%;
    height: 100%;
    display: block;
}



.install-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a1a1aa;
    margin-bottom: 6px;
}



.install-card h2 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.25;
}



.install-lead {
    margin-top: 8px;
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.5;
}



.install-steps {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}



.install-steps[hidden] { display: none !important; }



.install-steps li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px 12px;
    border-radius: 12px;
    background: #111113;
    font-size: 13px;
    line-height: 1.45;
    color: #e4e4e7;
}



.install-steps b {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #18181b;
    color: #a1a1aa;
    font-size: 11px;
    font-weight: 600;
    display: grid;
    place-items: center;
}



.install-steps span { min-width: 0; }



.install-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}



.install-actions button {
    appearance: none;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}



.share-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}



.share-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 6px;
}



.share-card h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.3;
}



.share-lead {
    margin-top: 4px;
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
}


.share-case {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #27272a;
}


.share-kicker {
    margin: 0;
    color: #71717a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.share-collab-status,
.share-hint {
    margin: 0;
    color: #a1a1aa;
    font-size: 12px;
    line-height: 1.45;
}


.share-collab-error {
    margin: 0;
    color: #fca5a5;
    font-size: 12px;
}


.share-host { display: grid; gap: 10px; }

.share-host[hidden] { display: none !important; }

.share-session-row {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #27272a;
    border-radius: 12px;
    background: #111113;
}

.share-session-row:hover { background: #111113; }


.share-case-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.share-case-actions button,
.share-link button {
    appearance: none;
    flex-shrink: 0;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #1c1c20;
    color: #fafafa;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}


.share-hint a { color: #e4e4e7; }


.set-field-stack {
    display: grid;
    gap: 8px;
}


.set-text {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line, #27272a);
    border-radius: 8px;
    background: #0c0c0e;
    color: #e4e4e7;
    font-size: 13px;
    outline: none;
}


.set-text:focus { border-color: #3f3f46; }



.share-qr-wrap {
    display: grid;
    place-items: center;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
}



.share-qr-wrap canvas {
    display: block;
    width: 232px;
    height: auto;
    aspect-ratio: 1;
    max-width: 100%;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}



.share-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 5px 5px 5px 12px;
    border: 1px solid #27272a;
    border-radius: 12px;
    background: #111113;
}



.share-url {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: all;
}



.share-link #shareCopy,
.share-link button {
    appearance: none;
    flex-shrink: 0;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #1c1c20;
    color: #fafafa;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}



.share-link #shareCopy:hover { background: #27272a; }



.share-native {
    appearance: none;
    width: 100%;
    height: 40px;
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    background: #fafafa;
    color: #09090b;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}



.share-native:hover { background: #e4e4e7; }


.share-native[hidden] { display: none !important; }


.share-ended-curtain[hidden] { display: none !important; }

.share-ended-curtain {
    position: fixed;
    inset: 0;
    z-index: 48;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(10px);
}

.share-ended-card {
    width: min(360px, 100%);
    padding: 22px 22px 20px;
    border: 1px solid #27272a;
    border-radius: 20px;
    background: #0c0c0e;
    text-align: center;
}

.share-ended-card h2 {
    margin: 8px 0 8px;
    font-size: 20px;
    letter-spacing: -0.04em;
}

.share-ended-card p {
    margin: 0;
    color: #a1a1aa;
    font-size: 13px;
    line-height: 1.5;
}

body.share-ended .profile-panel,
body.share-ended .map,
body.share-ended .dock-anchor {
    visibility: hidden;
    pointer-events: none;
}



.help-guide[hidden] { display: none !important; }



.help-guide {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.28s ease;
}



.help-guide.is-in { opacity: 1; }



.help-card {
    width: min(760px, 100%);
    max-height: min(86vh, 860px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #27272a;
    border-radius: 16px;
    background: #0a0a0c;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}



.help-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 28px 20px;
    border-bottom: 1px solid #1f1f23;
    flex-shrink: 0;
}



.help-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 8px;
}



.help-card h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
}



.help-aka {
    margin-top: 8px;
    font-size: 13.5px;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #67e8f9;
    line-height: 1.35;
}



.help-card .help-lead {
    margin-top: 10px;
    max-width: none;
    font-size: 14px;
    color: #a1a1aa;
    line-height: 1.55;
}



.help-close {
    appearance: none;
    width: 36px;
    height: 36px;
    border: 1px solid #27272a;
    border-radius: 10px;
    background: #111113;
    color: #a1a1aa;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}



.help-close:hover { color: #fafafa; background: #18181b; }



.help-body {
    overflow: auto;
    padding: 8px 28px 28px;
    scrollbar-gutter: stable;
}



.help-section {
    padding: 20px 0;
    border-bottom: 1px solid #1c1c20;
}



.help-section:last-child { border-bottom: 0; padding-bottom: 8px; }



.help-section h3 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fafafa;
}



.set-bomb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}



.set-bomb-count {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 550;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
    color: #a1a1aa;
    white-space: nowrap;
    text-transform: none;
    background: #141416;
    border: 1px solid #27272a;
    border-radius: 999px;
    padding: 3px 8px;
}



.set-bomb-count.is-due { color: #f87171; border-color: #7f1d1d; }


.set-bomb-count[hidden] { display: none !important; }



.help-section p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #d4d4d8;
}



.help-section p + p { margin-top: 10px; }



.help-steps {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}



.help-step {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}



.help-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #141416;
    border: 1px solid #27272a;
    color: #a1a1aa;
    font-size: 12px;
    font-weight: 600;
    display: grid;
    place-items: center;
}



.help-step strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #f4f4f5;
    margin-bottom: 3px;
}



.help-step span {
    font-size: 13px;
    line-height: 1.5;
    color: #a1a1aa;
}



.help-ex {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}



.help-ex code,
.help-kbd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1;
    color: #e4e4e7;
    background: #141416;
    border: 1px solid #27272a;
    border-radius: 6px;
    padding: 6px 8px;
}



.help-kbd {
    min-width: 22px;
    text-align: center;
    color: #d4d4d8;
}



.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}



.help-field {
    padding: 12px 12px 11px;
    border: 1px solid #1f1f23;
    border-radius: 10px;
    background: #0f0f12;
}



.help-field b {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #fafafa;
    margin-bottom: 4px;
}



.help-field span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #a1a1aa;
}



.help-field em {
    display: block;
    margin-top: 7px;
    font-style: normal;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px;
    color: #86efac;
}



.help-dock {
    display: grid;
    gap: 0;
    margin-top: 12px;
    border: 1px solid #1f1f23;
    border-radius: 10px;
    overflow: hidden;
}



.help-dock div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px;
    border-top: 1px solid #1c1c20;
    font-size: 13px;
    color: #d4d4d8;
}



.help-dock div:first-child { border-top: 0; }



.help-dock b {
    font-size: 12px;
    font-weight: 600;
    color: #fafafa;
}



.help-callout {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(103, 232, 249, 0.2);
    background: rgba(103, 232, 249, 0.07);
    color: #a5f3fc;
    font-size: 12.5px;
    line-height: 1.55;
}



.help-foot {
    margin-top: 6px;
    font-size: 12px;
    color: #71717a;
    line-height: 1.5;
}



@media (max-width: 700px) {
    .help-grid { grid-template-columns: 1fr; }
    .help-dock div { grid-template-columns: 1fr; gap: 4px; }
    .help-card { max-height: 90vh; }
    .help-top, .help-body { padding-left: 18px; padding-right: 18px; }
}



@media (max-width: 560px) {
    .dock {
        gap: 4px;
    }
}



.confirm-sheet[hidden] { display: none !important; }



.confirm-sheet {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.28s ease;
}



.confirm-sheet.is-in { opacity: 1; }



.confirm-card {
    width: min(320px, 100%);
    padding: 22px 22px 18px;
    border: 1px solid #27272a;
    border-radius: 16px;
    background: #0c0c0e;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    transform: translateY(16px) scale(0.98);
    opacity: 0.85;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}



.confirm-sheet.is-in .confirm-card {
    transform: none;
    opacity: 1;
}



.confirm-card h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.3;
}



.confirm-card p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #a1a1aa;
}



.confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}



.confirm-actions button {
    appearance: none;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}



.confirm-cancel {
    border: 1px solid #27272a;
    background: transparent;
    color: #fafafa;
}



.confirm-cancel:hover { background: #18181b; }



.confirm-ok {
    border: 0;
    background: #14532d;
    color: #bbf7d0;
}



.confirm-ok:hover { background: #166534; }



.confirm-go {
    border: 0;
    background: #7f1d1d;
    color: #fecaca;
}



.confirm-go:hover { background: #991b1b; }



.settings-card {
    width: min(460px, 100%);
    max-height: min(88vh, 780px);
    background: #0b0b0d;
}



.settings-card .help-top {
    padding: 22px 22px 14px;
    align-items: center;
}



.settings-card h2 {
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.04em;
}



.settings-card .help-lead {
    margin-top: 6px;
    font-size: 13px;
    color: #71717a;
    line-height: 1.45;
    max-width: 34ch;
}



.settings-body { padding: 4px 16px 22px; }



.set-block {
    padding: 16px 0 18px;
    border-bottom: 1px solid #18181b;
}



.set-block:last-child { border-bottom: 0; padding-bottom: 8px; }



.set-block > h3,
.set-bomb-head {
    margin: 0 2px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #71717a;
}



.set-list {
    overflow: hidden;
    border: 1px solid #1f1f23;
    border-radius: 12px;
    background: #101014;
}



.set-row,
.set-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #1c1c20;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
}



.set-row:last-child,
.set-field:last-child { border-bottom: 0; }



.set-row:hover,
.set-field:hover { background: #16161a; }



.set-row b,
.set-field b {
    display: block;
    font-size: 13px;
    font-weight: 550;
    color: #f4f4f5;
    letter-spacing: -0.02em;
}



.set-row small,
.set-field small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.4;
    color: #71717a;
}



.set-row-danger {
    background: transparent;
}



.set-row-danger:hover { background: rgba(127, 29, 29, 0.16); }


.set-row-danger b { color: #fecaca; }



.set-switch {
    position: relative;
    flex-shrink: 0;
    width: 42px;
    height: 24px;
}



.set-switch input {
    appearance: none;
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}



.set-switch i {
    position: relative;
    display: block;
    width: 42px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #27272a;
    box-shadow: inset 0 0 0 1px #3f3f46;
    pointer-events: none;
    transition: background 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}



.set-switch i::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transform: translateX(0);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, box-shadow 0.28s ease;
}



.set-switch input:checked + i {
    background: #155e75;
    box-shadow: inset 0 0 0 1px #0e7490;
}



.set-switch input:checked + i::after {
    transform: translateX(18px);
    background: #ecfeff;
    box-shadow: 0 1px 4px rgba(8, 47, 73, 0.45);
}



.set-switch input:focus-visible + i {
    box-shadow: inset 0 0 0 1px #67e8f9;
}



.set-row-danger .set-switch input:checked + i {
    background: #9f1239;
    box-shadow: inset 0 0 0 1px #be123c;
}



.set-row-danger .set-switch input:checked + i::after {
    background: #fff1f2;
}



html.reduce-motion .settings-card .set-switch i,
html.reduce-motion .settings-card .set-switch i::after {
    transition-duration: 0.32s !important;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}



.set-bomb {
    display: grid;
    grid-template-rows: 0fr;
    border-top: 1px solid transparent;
    background: #120c0e;
    opacity: 0;
    transition: grid-template-rows 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, border-color 0.24s ease;
}



.set-bomb.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    border-top-color: #2a1518;
}



.set-bomb-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 14px;
}



.set-bomb.is-open .set-bomb-inner { padding: 12px 14px 14px; }



.set-away {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #f4f4f5;
}



.set-pick {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}



.set-pick-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 132px;
    height: 32px;
    padding: 0 10px 0 12px;
    border: 1px solid #27272a;
    border-radius: 8px;
    background: #18181b;
    color: #e4e4e7;
    font-size: 12.5px;
    font-weight: 550;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}



.set-pick-btn:hover,
.set-pick.is-open .set-pick-btn,
.set-pick-btn:focus-visible {
    background: #1a1a1e;
    border-color: #3f3f46;
    outline: none;
}



.set-pick-btn span {
    flex: 1;
    text-align: left;
    min-width: 0;
}



.set-pick-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #a1a1aa;
    transition: transform 0.18s ease;
}



.set-pick.is-open .set-pick-btn svg { transform: rotate(180deg); }



.set-pick-menu {
    position: fixed;
    z-index: 55;
    min-width: 188px;
    max-height: min(70vh, 420px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    border: 1px solid #27272a;
    border-radius: 12px;
    background: #111113;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.58);
    scrollbar-gutter: stable;
    transform-origin: top center;
    animation: setPickIn 0.16s ease;
}



.set-pick-menu.is-up { transform-origin: bottom center; }



.set-pick-menu[hidden] { display: none !important; }



@keyframes setPickIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to { opacity: 1; transform: none; }
}



.set-pick-menu.is-up {
    animation-name: setPickInUp;
}



@keyframes setPickInUp {
    from { opacity: 0; transform: translateY(6px) scale(0.98); }
    to { opacity: 1; transform: none; }
}



html.reduce-motion .set-pick-menu,
html.reduce-motion .set-pick-menu.is-up { animation: none; }



.set-pick-menu button {
    appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: transparent;
    color: #f4f4f5;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.015em;
    text-align: left;
    cursor: pointer;
}



.set-pick-menu button:hover { background: #1c1c20; }


.set-pick-menu button.is-active {
    background: #18181b;
    color: #67e8f9;
}


.set-pick-menu button.is-active:hover { background: #1c1c20; }


.set-pick-menu button.is-danger { color: #fca5a5; }


.set-pick-menu button.is-danger:hover {
    background: rgba(127, 29, 29, 0.32);
    color: #fecaca;
}


.set-pick-menu button svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0;
}


.set-pick-menu button.is-active svg { opacity: 1; }



.set-pick-sep {
    height: 1px;
    margin: 4px 6px;
    background: #27272a;
}



.set-bomb p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #a1a1aa;
    font-weight: 400;
}



.lock-curtain[hidden] { display: none !important; }



.lock-curtain {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(18px);
}



.lock-card {
    width: min(340px, 100%);
    padding: 26px 24px 22px;
    border: 1px solid #27272a;
    border-radius: 16px;
    background: #0a0a0c;
    text-align: center;
}



.lock-card h2 {
    margin-top: 6px;
    font-size: 20px;
    letter-spacing: -0.04em;
}



.lock-card p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #a1a1aa;
}



.lock-card button {
    appearance: none;
    margin-top: 18px;
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    background: #14532d;
    color: #bbf7d0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}



.lock-card button:hover { background: #166534; }



body.hide-tips [data-tip]::after,
body.hide-tips .dock > button::after,
body.hide-tips .sheet-pick-tip { display: none !important; }


body.no-bg .tl-view,
body.no-bg .board-view,
body.no-bg .ds-view { background-image: none !important; }



html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}



html.reduce-motion .dock > button:hover:not(:disabled),
html.reduce-motion .dock > button:focus-visible:not(:disabled),
html.reduce-motion .dock > button:hover:not(:disabled) svg,
html.reduce-motion .dock > button:focus-visible:not(:disabled) svg {
    transform: none;
}



html.reduce-motion .board-view,
html.reduce-motion .tl-view { background-position: 0 0 !important; }



html.large-type { zoom: 1.08; }



.confirm-card input {
    width: 100%;
    height: 36px;
    margin-top: 14px;
    border: 1px solid #27272a;
    border-radius: 10px;
    background: #111113;
    color: var(--text);
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
}



.confirm-card input:focus {
    outline: none;
    border-color: #3f3f46;
}



.confirm-card input[hidden] { display: none !important; }



.phone-facts {
    display: flex;
    flex-direction: column;
    gap: 22px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}



.phone-group-title {
    margin: 0 4px 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #a1a1aa;
    line-height: 1.2;
}



.phone-group-card {
    overflow: hidden;
    border: 1px solid #27272a;
    border-radius: 16px;
    background: #0c0c0e;
}



.phone-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 12px 12px 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}



.phone-row + .phone-row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}



.phone-row:active,
.phone-row.active {
    background: #141416;
}



.phone-row-text {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}



.phone-row-label,
.phone-row-value {
    letter-spacing: 0;
    line-height: 1.35;
}



.phone-row-label {
    font-size: 15px;
    font-weight: 500;
    color: #fafafa;
}



.phone-row-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
    font-size: 13px;
    color: #d4d4d8;
}



.phone-row.empty .phone-row-value {
    color: #52525b;
}



.phone-row-value a {
    color: inherit;
    text-decoration: none;
}



.phone-row-tools {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}



.phone-row-find,
.phone-row-remove,
.phone-row .fact-reveal {
    appearance: none;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: 1px solid #3f3f46;
    border-radius: 10px;
    background: #18181b;
    color: #d4d4d8;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 1;
}



.phone-row-find svg,
.phone-row .fact-reveal svg {
    width: 16px;
    height: 16px;
    display: block;
}



.phone-row-find.ready {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.35);
    background: rgba(20, 83, 45, 0.35);
}



.phone-row-remove {
    border: 0;
    background: transparent;
    color: #52525b;
    font-size: 22px;
    line-height: 1;
}



.phone-row-remove:active,
.phone-row-find:active,
.phone-row .fact-reveal:active {
    background: #18181b;
}



.phone-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    padding: 10px 16px calc(10px + var(--safe-b));
    border-top: 1px solid #27272a;
    background: rgba(9, 9, 11, 0.96);
}



.phone-bar > button {
    appearance: none;
    flex: 1;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #e4e4e7;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}



.phone-bar > button:hover { background: #18181b; }



.phone-bar .phone-add {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 16px;
    background: #fafafa;
    color: #09090b;
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
}



.phone-kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 4px;
}



.phone-find,
.fact-find {
    appearance: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #27272a;
    border-radius: 10px;
    background: #111113;
    color: #a1a1aa;
    display: grid;
    place-items: center;
    cursor: pointer;
}



.phone-find svg,
.fact-find svg {
    width: 16px;
    height: 16px;
    display: block;
}



.phone-find.ready,
.fact-find.ready {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.35);
}



.fact-find {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    opacity: 0.75;
}



.phone-done {
    height: 36px;
    padding: 0 14px;
    background: #fafafa;
    color: #09090b;
    font-size: 13px;
    font-weight: 600;
}



.phone-leads {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #27272a;
}



.phone-leads-title {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71717a;
    margin-bottom: 6px;
}



.phone-leads-note {
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.45;
    margin-bottom: 10px;
}



.phone-leads button {
    appearance: none;
    width: 100%;
    min-height: 40px;
    margin-top: 6px;
    padding: 0 12px;
    border: 1px solid #27272a;
    border-radius: 10px;
    background: #111113;
    color: #fafafa;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}



.phone-leads button:hover { background: #18181b; }



#phoneFieldInput,
.phone-choice {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #27272a;
    border-radius: 12px;
    background: #111113;
    color: #fafafa;
    font-size: 16px;
}



.phone-choice {
    text-align: left;
    margin-bottom: 10px;
}



.phone-field-row {
    display: flex;
    align-items: center;
    gap: 8px;
}



.phone-field-row #phoneFieldInput { flex: 1; }



.phone-reveal {
    appearance: none;
    width: 48px;
    height: 48px;
    border: 1px solid #27272a;
    border-radius: 12px;
    background: #111113;
    color: #a1a1aa;
    display: grid;
    place-items: center;
    cursor: pointer;
}



.phone-reveal svg { width: 18px; height: 18px; display: block; }



.phone-field-row .phone-maps {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #27272a;
    border-radius: 12px;
    background: #111113;
    color: #93c5fd;
}



.phone-field-row .phone-maps svg { width: 16px; height: 16px; }



.phone-more-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}



.phone-more-list button,
.phone-more-list a {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 14px;
    background: #111113;
    color: #fafafa;
    text-decoration: none;
    font-size: 15px;
}



.phone-more-list .danger { color: #fecaca; }

@media (prefers-reduced-motion: reduce) {

        .dock > button:hover:not(:disabled),
        .dock > button:focus-visible:not(:disabled),
        .dock > button:hover:not(:disabled) svg,
        .dock > button:focus-visible:not(:disabled) svg { transform: none; }
}
