/* TERANEA 2.0.23 – interface palette; product materials remain unchanged. */
#tk-app{--ink:#171a17;--muted:#64695f;--line:#d8d1c4;--cream:#eeeae0;--accent:#b85c32;--action:#a44d29;--action-hover:#8d4022;background:#f7f3ea;color:var(--ink)}
#tk-app .tk-header{background:#34392f}
#tk-app .tk-scene{background:radial-gradient(ellipse at 50% 35%,#f7f3ea,#eeeae0)}
#tk-app .tk-panel,#tk-app.tk-working .tk-main{background:#f7f3ea}
#tk-app .tk-primary{background:var(--action);color:#fff}
#tk-app .tk-primary:hover{background:var(--action-hover)}
#tk-app .tk-primary:disabled{background:var(--action);opacity:.6}
#tk-app .tk-progress button{background:#ded7c8}
#tk-app .tk-progress button.done{background:#d7a38a}
#tk-app .tk-progress button.active,#tk-app .tk-dot{background:var(--accent)}
#tk-app .tk-progress-head span:first-child,#tk-app .tk-eyebrow{color:var(--action)}
#tk-app .tk-option{background:#fffcf6;border-color:var(--line)}
#tk-app .tk-option:hover{background:#f6ede3;border-color:var(--accent)}
#tk-app .tk-option.selected{background:#f6e9df;border-color:var(--accent)}
#tk-app .selected .tk-radio{border-color:var(--accent);background:#fff}
#tk-app .tk-option-icon,#tk-app .tk-mode-tabs{background:#eeeae0}
#tk-app .tk-mode-tabs button[aria-pressed="true"]{background:var(--action);color:#fff}
#tk-app input[type=range],#tk-app input[type=checkbox],#tk-app input[type=radio]{accent-color:var(--action)}
#tk-app .tk-model-label{background:#f7f3eae8}
#tk-app .tk-tools button,#tk-app .tk-tools #tk-inside-view{background:#fffcf6eb;color:var(--ink);border-color:var(--line)}
#tk-app .tk-tools button:hover{background:#f6e9df;border-color:var(--accent)}
#tk-app .tk-tools #tk-inside-view[aria-pressed="true"]{background:var(--action);color:white;border-color:var(--action)}
#tk-app .tk-secondary,#tk-app .tk-back,#tk-app .tk-back-to-config{background:#fffcf6;color:var(--ink);border-color:var(--line)}
#tk-app .tk-secondary:hover,#tk-app .tk-back:hover,#tk-app .tk-back-to-config:hover{color:var(--action);border-color:var(--accent)}
#tk-app .tk-summary,#tk-app .tk-opening,#tk-app .tk-help{background:#eeeae0;border-color:var(--line);color:var(--ink)}
#tk-app .tk-select,#tk-app .tk-text{background:#fffcf6;border-color:var(--line)}
#tk-app .tk-panel-intro h1,#tk-app .tk-work-bar button{color:var(--ink)}
#tk-app .tk-option small,#tk-app .tk-model-label span,#tk-app .tk-panel-intro p,#tk-app .tk-fitting-note,#tk-app .tk-summary-row span,#tk-app .tk-footer-note,#tk-app .tk-range-labels,#tk-app .tk-footer-small,#tk-app .tk-sub-label,#tk-app .tk-model-note{color:var(--muted)}
#tk-app.tk-working .tk-work-bar{background:#eeeae0}
#tk-app #tk-work-ar,#tk-app #tk-ar-attachments button,#tk-app .tk-privacy a{color:var(--action)}
#tk-app button:focus-visible,#tk-app a:focus-visible,#tk-app input:focus-visible,#tk-app select:focus-visible,#tk-app textarea:focus-visible,#tk-viewport:focus-visible{outline-color:var(--accent)}
#tk-app .tk-toast{background:#34392f;color:#fff}
#tk-ar-overlay #tk-ar-place{background:#a44d29!important;color:#fff!important}
#tk-ar-overlay #tk-ar-place:disabled{background:#4e5a53!important}
#tk-ar-overlay #tk-ar-action-list button[aria-pressed="true"]{background:#a44d29;color:#fff}
#tk-ar-overlay #tk-ar-guides[aria-pressed="true"]{background:#f6e9df;color:#171a17}

/* 2.0.24: compact navigation, without competing with the 3D view. */
.tk-app .tk-header{height:72px;min-height:0;box-sizing:border-box;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.tk-app .tk-header .tk-brand img{display:block;width:150px;height:auto;max-height:40px;object-fit:contain}
.tk-app .tk-header-back{display:inline-flex;align-items:center;min-height:44px;color:#f7f3ea;text-decoration:none;font:400 14px/1.4 "Helvetica Neue",Arial,sans-serif;white-space:nowrap}
.tk-app .tk-header-back:hover{color:#d68a6e}
.tk-app .tk-header-back:focus-visible{outline:2px solid #d68a6e;outline-offset:4px}
@media(max-width:740px){.tk-app .tk-header{height:60px;padding:0 18px;gap:12px}.tk-app .tk-header .tk-brand img{width:120px;max-height:30px}.tk-app .tk-header-back{font-size:13px}}
