/* Table Time – beheer. Alles gescoped onder .tt-admin; raakt de rest van wp-admin niet. */
body.tt-admin-page #wpcontent { padding-left: 0; }
body.tt-admin-page #wpbody-content { padding-bottom: 0; }
body.tt-admin-page .notice:not(.tt-keep), body.tt-admin-page #wpfooter { display: none; }
.tt-admin {
	--pink: #FF5A85; --pink-d: #E8336B; --pink-h: #F2457A; --pink-t: #FFF0F4; --pink-t2: #FFE1EA; --indigo: #5B5BD6; --indigo-t: #EEEEFC; --mint: #2FBF9B; --mint-t: #E3F7F1;
	--ink: #1F1640; --ink2: #5A5373; --ink3: #8E89A3; --line: #ECE8F1; --bg: #F7F5FA; --card: #FFFFFF; --warn: #C2264B; --amber: #D98A1E; --amber-t: #FFF5E6;
	--r: 18px; --r-sm: 12px; --sh: 0 1px 2px rgba(31,22,64,.04), 0 8px 24px -12px rgba(31,22,64,.12); --ease: cubic-bezier(.22,1,.36,1); --spring: cubic-bezier(.34,1.56,.64,1);
	font-family: 'TT Montserrat', Montserrat, system-ui, sans-serif; color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.tt-admin *, .tt-admin *::before, .tt-admin *::after { box-sizing: border-box; }
.tt-admin h1, .tt-admin h2, .tt-admin h3, .tt-admin h4 { color: var(--ink); margin: 0; font-family: inherit; }
.tt-admin a { color: var(--pink-d); }
.tt-admin button { font-family: inherit; }
.tt-admin :focus-visible { outline: 3px solid rgba(91,91,214,.45); outline-offset: 2px; }
.tt-boot { min-height: 70vh; display: grid; place-items: center; }
.tt-boot span { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--pink-t2); border-top-color: var(--pink); animation: tt-spin .8s linear infinite; }
@keyframes tt-spin { to { transform: rotate(360deg); } }
.tt-i { flex: none; }

/* ---------- shell ---------- */
.tt-shell { display: grid; grid-template-columns: 236px 1fr; min-height: calc(100vh - 32px); background: var(--bg); }
.tt-side { position: sticky; top: 32px; height: calc(100vh - 32px); display: flex; flex-direction: column; gap: 6px; padding: 22px 14px; background: #fff; border-right: 1px solid var(--line); }
.tt-brandmark { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; text-decoration: none; color: var(--ink); font-size: 19px; letter-spacing: -.01em; font-weight: 300; }
.tt-brandmark b { font-weight: 800; }
.tt-side nav { display: grid; gap: 2px; }
.tt-side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink2); text-decoration: none; font-weight: 600; transition: background .2s, color .2s; position: relative; }
.tt-side nav a:hover { background: var(--bg); color: var(--ink); }
.tt-side nav a.is-on { background: var(--pink-t); color: var(--pink-d); }
.tt-side nav a.is-on::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pink); }
.tt-side-cta { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border: 0; border-radius: 14px; background: var(--pink); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(255,90,133,.9); transition: transform .3s var(--spring); }
.tt-side-cta:hover { transform: translateY(-2px); }
.tt-side-foot { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--bg); display: grid; }
.tt-side-foot span { font-weight: 700; font-size: 13px; } .tt-side-foot small { color: var(--ink3); }
.tt-main { padding: 28px 34px 60px; min-width: 0; animation: tt-page .45s var(--ease); }
@keyframes tt-page { from { opacity: 0; transform: translateY(8px); } }

/* ---------- page ---------- */
.tt-page { max-width: 1440px; }
.tt-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.tt-page-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.025em; }
.tt-page-head p { margin: 4px 0 0; color: var(--ink2); }
.tt-head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tt-hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; padding: 30px 34px; margin-bottom: 20px; border-radius: 24px; background: #fff; box-shadow: var(--sh); }
.tt-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,133,.18), transparent 65%); }
.tt-hero-kicker { color: var(--pink-d); font-weight: 700; text-transform: capitalize; margin: 0 0 4px; }
.tt-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.tt-hero p { color: var(--ink2); margin: 6px 0 0; font-size: 15px; }
.tt-hero-art { position: relative; z-index: 1; opacity: .9; animation: tt-float 6s ease-in-out infinite; }
@keyframes tt-float { 50% { transform: translateY(-6px) rotate(-2deg); } }

/* ---------- cards ---------- */
.tt-card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); margin-bottom: 16px; overflow: hidden; }
.tt-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 22px 0; }
.tt-card-head h3 { font-size: 15px; font-weight: 750; }
.tt-card-head p { margin: 2px 0 0; color: var(--ink3); font-size: 13px; }
.tt-card-body { padding: 16px 22px 20px; }
.tt-card--warn { box-shadow: inset 0 0 0 1.5px #FFC9D6, var(--sh); }
.tt-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.tt-split--3 { grid-template-columns: repeat(3, 1fr); }
.tt-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.tt-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.tt-muted { color: var(--ink3); }
.tt-h4 { font-size: 13px; margin: 18px 0 10px !important; }

/* ---------- KPI ---------- */
.tt-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.tt-kpi { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); animation: tt-page .5s var(--ease) both; }
.tt-kpi:nth-child(2) { animation-delay: .05s; } .tt-kpi:nth-child(3) { animation-delay: .1s; } .tt-kpi:nth-child(4) { animation-delay: .15s; }
.tt-kpi-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--pink-t); color: var(--pink-d); }
.tt-kpi.is-indigo .tt-kpi-ic { background: var(--indigo-t); color: var(--indigo); }
.tt-kpi.is-warn .tt-kpi-ic { background: var(--amber-t); color: var(--amber); }
.tt-kpi.is-mint .tt-kpi-ic { background: var(--mint-t); color: #1F9D7A; }
.tt-kpi-label { display: block; color: var(--ink2); font-size: 12.5px; font-weight: 600; }
.tt-kpi-value { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.tt-kpi small { color: var(--ink3); font-size: 12px; }

/* ---------- buttons & inputs ---------- */
.tt-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: transform .25s var(--spring), background .2s, box-shadow .2s, opacity .2s; white-space: nowrap; }
.tt-btn:disabled { opacity: .45; cursor: not-allowed; }
.tt-btn:not(:disabled):active { transform: scale(.96); }
.tt-btn--primary { background: var(--pink); color: #fff; box-shadow: 0 10px 20px -12px rgba(255,90,133,.95); }
.tt-btn--primary:not(:disabled):hover { background: var(--pink-h); }
.tt-btn--secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.tt-btn--secondary:hover { box-shadow: inset 0 0 0 1.5px var(--pink); }
.tt-btn--ghost { background: transparent; color: var(--ink2); }
.tt-btn--ghost:hover { background: #fff; color: var(--ink); }
.tt-btn--danger { background: #fff; color: var(--warn); box-shadow: inset 0 0 0 1px #F5C6D1; }
.tt-btn--danger:hover { background: #FFF1F4; }
.tt-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tt-spin .7s linear infinite; }
.tt-iconbtn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; border: 0; background: transparent; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.tt-iconbtn:hover:not(:disabled) { background: var(--pink-t); color: var(--pink-d); }
.tt-iconbtn:disabled { opacity: .35; }
.tt-linkbtn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: var(--pink-d); font-weight: 650; cursor: pointer; text-decoration: none; }
.tt-linkbtn:hover { text-decoration: underline; }
.tt-field { display: block; margin-bottom: 14px; }
.tt-field-label { display: block; font-weight: 650; font-size: 12.5px; margin-bottom: 6px; color: var(--ink); }
.tt-field-hint { display: block; color: var(--ink3); font-size: 12px; margin-top: 5px; }
.tt-field-error { display: block; color: var(--warn); font-size: 12px; font-weight: 650; margin-top: 5px; }
.tt-admin .tt-input { width: 100%; min-height: 42px; padding: 9px 13px; border: 0; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px #DDD8E5; color: var(--ink); font: inherit; font-size: 14px; transition: box-shadow .2s; }
.tt-admin .tt-input:hover { box-shadow: inset 0 0 0 1px #BDB6CB; }
.tt-admin .tt-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--pink), 0 0 0 4px var(--pink-t); }
.tt-admin textarea.tt-input { resize: vertical; }
.tt-input--sm { min-height: 36px !important; width: auto !important; padding: 6px 10px !important; }
.has-error .tt-input { box-shadow: inset 0 0 0 2px var(--warn); }
.tt-num { display: flex; align-items: center; gap: 8px; } .tt-num em { font-style: normal; color: var(--ink3); font-size: 12.5px; white-space: nowrap; }
.tt-num .tt-input { max-width: 120px; }
.tt-admin input[type=range] { width: 100%; accent-color: var(--pink); }
.tt-color { display: flex; gap: 8px; align-items: center; }
.tt-color input[type=color] { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; }
.tt-color input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .tt-color input[type=color]::-webkit-color-swatch { border: 0; border-radius: 12px; }
.tt-toggle { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 14px; cursor: pointer; }
.tt-toggle input { position: absolute; opacity: 0; }
.tt-toggle-ui { flex: none; width: 40px; height: 24px; border-radius: 999px; background: #DDD8E5; position: relative; transition: background .25s; margin-top: 1px; }
.tt-toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .35s var(--spring); }
.tt-toggle input:checked + .tt-toggle-ui { background: var(--pink); }
.tt-toggle input:checked + .tt-toggle-ui::after { transform: translateX(16px); }
.tt-toggle input:focus-visible + .tt-toggle-ui { outline: 3px solid rgba(91,91,214,.45); outline-offset: 2px; }
.tt-toggle strong { display: block; font-weight: 650; } .tt-toggle small { display: block; color: var(--ink3); font-size: 12.5px; }
.tt-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: #EEEAF3; }
.tt-seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 650; font-size: 13px; color: var(--ink2); cursor: pointer; transition: background .25s var(--ease), color .2s, box-shadow .2s; }
.tt-seg button.is-on { background: #fff; color: var(--pink-d); box-shadow: 0 2px 6px rgba(31,22,64,.1); }
.tt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 13px; color: var(--ink); cursor: pointer; transition: all .2s; }
.tt-chip small { color: var(--ink3); font-weight: 600; }
.tt-chip:hover { box-shadow: inset 0 0 0 1.5px var(--pink); }
.tt-chip.is-on { background: var(--pink-t); box-shadow: inset 0 0 0 2px var(--pink); color: var(--pink-d); }
.tt-chipgrid, .tt-slotgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-actions-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tt-row-inline { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.tt-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tt-badge.is-warn { background: var(--amber-t); color: #A3650F; } .tt-badge.is-indigo { background: var(--indigo-t); color: var(--indigo); }

/* ---------- pills / status ---------- */
.tt-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tt-pill.is-pending { background: var(--amber-t); color: #A3650F; }
.tt-pill.is-confirmed { background: var(--pink-t); color: var(--pink-d); }
.tt-pill.is-seated { background: var(--indigo-t); color: var(--indigo); }
.tt-pill.is-completed { background: var(--mint-t); color: #1F8D6D; }
.tt-pill.is-cancelled { background: #F1EFF4; color: var(--ink3); }
.tt-pill.is-no_show { background: #FDE8EC; color: var(--warn); }

/* ---------- toolbar / list ---------- */
.tt-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 10px 12px; background: #fff; border-radius: 16px; box-shadow: var(--sh); }
.tt-toolbar-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tt-toolbar select.tt-input { width: auto; min-height: 36px; }
.tt-datenav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tt-today { border: 0; background: var(--pink-t); color: var(--pink-d); font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.tt-datelabel { margin-left: 8px; text-transform: capitalize; font-size: 15px; }
.tt-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px #DDD8E5; color: var(--ink3); }
.tt-search input { border: 0 !important; box-shadow: none !important; background: transparent; min-width: 260px; height: 36px; font: inherit; }
.tt-daygroup { margin-bottom: 18px; }
.tt-daytitle { display: flex; justify-content: space-between; font-size: 15px !important; text-transform: capitalize; margin: 0 4px 8px !important; }
.tt-daytitle span { color: var(--ink3); font-weight: 600; font-size: 13px; }
.tt-rows { display: grid; gap: 6px; }
.tt-rows--flush { gap: 0; padding: 8px; }
.tt-row { display: grid; grid-template-columns: 70px 1fr 64px 120px 60px 130px; align-items: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--sh); text-align: left; cursor: pointer; transition: transform .25s var(--ease), box-shadow .2s; animation: tt-page .4s var(--ease) both; }
.tt-rows--flush .tt-row { box-shadow: none; grid-template-columns: 56px 1fr 52px 50px 120px; }
.tt-row:hover { transform: translateX(3px); box-shadow: inset 4px 0 0 var(--pink), var(--sh); }
.tt-rows--flush .tt-row:hover { background: var(--bg); box-shadow: none; }
.tt-row.is-cancelled, .tt-row.is-no_show { opacity: .55; }
.tt-row-time { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; display: grid; }
.tt-row-time small { font-weight: 600; font-size: 12px; color: var(--ink3); }
.tt-row-main { display: grid; min-width: 0; } .tt-row-main strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-row-main small { color: var(--ink3); }
.tt-row-party { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--ink2); }
.tt-row-table { font-weight: 650; color: var(--ink2); }

/* ---------- drawer ---------- */
.tt-drawer-wrap { position: fixed; inset: 32px 0 0 0; z-index: 9990; pointer-events: none; }
.tt-drawer-wrap.is-open { pointer-events: auto; }
.tt-drawer-wrap:not(.is-open) { visibility: hidden; transition: visibility 0s .5s; }
.tt-drawer-bg { position: absolute; inset: 0; background: rgba(31,22,64,.3); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.is-open .tt-drawer-bg { opacity: 1; }
.tt-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); display: flex; flex-direction: column; background: var(--bg); box-shadow: -30px 0 60px -30px rgba(31,22,64,.4); transform: translateX(104%); transition: transform .5s var(--ease); }
.tt-drawer.is-wide { width: min(720px, 100%); }
.is-open .tt-drawer { transform: none; }
.tt-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.tt-drawer-title { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.tt-drawer-time { padding: 3px 10px; border-radius: 10px; background: var(--pink-t); color: var(--pink-d); font-variant-numeric: tabular-nums; }
.tt-drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.tt-drawer-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; background: #fff; border-top: 1px solid var(--line); }
.tt-detail-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.tt-kv { display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin: 12px 0 16px; box-shadow: var(--sh); }
.tt-kv > div { display: grid; grid-template-columns: 140px 1fr auto; gap: 10px; align-items: center; padding: 11px 16px; background: #fff; }
.tt-kv span { color: var(--ink3); font-size: 12.5px; font-weight: 600; }
.tt-specials { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tt-specials li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #FFF4F7; border-left: 4px solid var(--pink); }
.tt-specials li.is-diet { background: var(--mint-t); border-color: var(--mint); } .tt-specials li.is-intolerance { background: var(--amber-t); border-color: var(--amber); }
.tt-specials li div { display: grid; } .tt-specials span { color: var(--ink2); font-size: 12.5px; } .tt-specials em { font-size: 12.5px; }
.tt-specials li.is-ack { opacity: .7; }
.tt-ack { display: inline-flex; align-items: center; gap: 4px; color: #1F8D6D; font-weight: 700; font-size: 12.5px; }
.tt-quote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--indigo); background: var(--indigo-t); border-radius: 0 10px 10px 0; }
.tt-timeline { list-style: none; margin: 0; padding: 0; }
.tt-timeline li { display: flex; gap: 12px; padding-bottom: 12px; position: relative; }
.tt-dotline { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); margin-top: 5px; flex: none; box-shadow: 0 0 0 4px var(--pink-t); }
.tt-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 4.5px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.tt-timeline small { display: block; color: var(--ink3); }

/* ---------- alerts / empty / toasts ---------- */
.tt-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--indigo-t); margin-bottom: 16px; }
.tt-alert .tt-i { color: var(--indigo); margin-top: 1px; }
.tt-alert.is-warn { background: var(--amber-t); } .tt-alert.is-warn .tt-i { color: var(--amber); }
.tt-alert.is-error { background: #FDE8EC; } .tt-alert.is-error .tt-i { color: var(--warn); }
.tt-alert .tt-linkbtn { margin-left: 10px; }
.tt-empty { text-align: center; padding: 50px 20px; }
.tt-empty-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--pink-t); color: var(--pink-d); margin-bottom: 14px; animation: tt-float 5s ease-in-out infinite; }
.tt-empty h4 { font-size: 17px; } .tt-empty p { color: var(--ink2); max-width: 46ch; margin: 6px auto 16px; }
.tt-skel { display: grid; gap: 10px; }
.tt-skel span { height: 54px; border-radius: 14px; background: linear-gradient(90deg, #EFECF3, #F8F6FA, #EFECF3); background-size: 200% 100%; animation: tt-sh 1.3s linear infinite; animation-delay: var(--d); }
@keyframes tt-sh { to { background-position: -200% 0; } }
.tt-toasts { position: fixed; z-index: 99999; right: 24px; bottom: 24px; display: grid; gap: 8px; }
.tt-toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(31,22,64,.6); animation: tt-toast .45s var(--spring); max-width: 440px; }
.tt-toast.is-ok .tt-i { color: #7FE3C6; } .tt-toast.is-error { background: var(--warn); }
@keyframes tt-toast { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ---------- week chart / bars ---------- */
.tt-weekbars, .tt-bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 10px; }
.tt-weekbar, .tt-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.tt-weekbar-col, .tt-bar-col { width: 100%; max-width: 42px; height: var(--h); min-height: 4px; border-radius: 10px 10px 4px 4px; background: var(--pink-t2); transform-origin: bottom; animation: tt-grow .7s var(--ease) both; animation-delay: var(--d); }
.tt-weekbar:first-child .tt-weekbar-col, .tt-bar.is-top .tt-bar-col { background: var(--pink); }
@keyframes tt-grow { from { transform: scaleY(0); } }
.tt-weekbar-val, .tt-bar em { font-style: normal; font-weight: 700; font-size: 12px; color: var(--ink2); }
.tt-weekbar-day, .tt-bar small { font-size: 12px; color: var(--ink3); font-weight: 600; text-transform: capitalize; }
.tt-mini-stats, .tt-stat-row { display: flex; gap: 22px; margin-top: 14px; flex-wrap: wrap; }
.tt-mini-stats div, .tt-stat-row div { display: grid; } .tt-mini-stats strong, .tt-stat-row strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; } .tt-mini-stats span, .tt-stat-row span { color: var(--ink3); font-size: 12px; }
.tt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.tt-stat { padding: 16px 18px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); display: grid; animation: tt-page .5s var(--ease) both; }
.tt-stat > span { color: var(--ink2); font-size: 12.5px; font-weight: 600; } .tt-stat strong { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.tt-delta { font-size: 12px; font-weight: 700; color: var(--ink3); } .tt-delta.is-up { color: #1F9D7A; } .tt-delta.is-down { color: var(--warn); }
.tt-hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tt-hbars li { display: grid; grid-template-columns: 1fr 2fr 34px; align-items: center; gap: 10px; }
.tt-hbars li div { display: grid; min-width: 0; } .tt-hbars strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tt-hbars small { color: var(--ink3); font-size: 11.5px; }
.tt-hbar { height: 10px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.tt-hbar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--pink); animation: tt-growx .8s var(--ease) both; animation-delay: var(--d); transform-origin: left; }
.tt-hbars li:nth-child(n+2) .tt-hbar i { background: #FF9AB4; } .tt-hbars li:nth-child(n+4) .tt-hbar i { background: var(--pink-t2); }
@keyframes tt-growx { from { transform: scaleX(0); } }
.tt-hbars em { font-style: normal; font-weight: 700; text-align: right; }
.tt-ring { --p: 0; width: 150px; height: 150px; margin: 6px auto; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(closest-side, #fff 76%, transparent 77% 100%), conic-gradient(var(--pink) calc(var(--p) * 1%), var(--pink-t) 0); }
.tt-ring strong { font-size: 30px; font-weight: 800; } .tt-ring span { color: var(--ink3); font-size: 12px; }

/* ---------- tabs ---------- */
.tt-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tt-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 12px; background: #fff; box-shadow: var(--sh); font-weight: 700; cursor: pointer; color: var(--ink2); transition: all .2s; }
.tt-tabs button small { padding: 1px 7px; border-radius: 999px; background: var(--bg); font-size: 11px; color: var(--ink3); }
.tt-tabs button.is-on { background: var(--ink); color: #fff; } .tt-tabs button.is-on small { background: rgba(255,255,255,.16); color: #fff; }
.tt-tabs .tt-tab-add { background: transparent; box-shadow: inset 0 0 0 1.5px dashed; box-shadow: none; border: 1.5px dashed #CFC8DA; color: var(--ink2); }

/* ---------- floor plan ---------- */
.tt-floor { display: grid; grid-template-columns: 200px 1fr 300px; gap: 14px; min-height: 640px; }
.tt-floor.is-live { grid-template-columns: 1fr; }
.tt-palette, .tt-inspector { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 16px; overflow-y: auto; max-height: calc(100vh - 220px); }
.tt-palette h4, .tt-inspector h4 { font-size: 12px; color: var(--ink3); text-transform: none; letter-spacing: .02em; margin: 4px 0 10px !important; font-weight: 700; }
.tt-inspector h4:first-child { font-size: 17px; color: var(--ink); }
.tt-palette-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.tt-palette-grid button { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border: 0; border-radius: 12px; background: var(--bg); cursor: pointer; font-size: 11px; font-weight: 650; color: var(--ink2); transition: transform .25s var(--spring), background .2s; }
.tt-palette-grid button:hover { background: var(--pink-t); transform: translateY(-2px); }
.tt-palette-grid svg { width: 70px; height: 56px; pointer-events: none; }
.tt-palette-list { display: grid; gap: 4px; }
.tt-palette-list button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-weight: 600; color: var(--ink2); text-align: left; }
.tt-palette-list button:hover { background: var(--bg); color: var(--ink); }
.tt-swatch { width: 22px; height: 14px; border-radius: 4px; background: #CFC6DA; }
.tt-swatch--window { background: #BFE3F2; } .tt-swatch--door { background: #F0E3D2; border-radius: 50% 50% 0 0; } .tt-swatch--bar, .tt-swatch--kitchen { background: #3A2F55; } .tt-swatch--plant { background: #7CC7A0; border-radius: 50%; } .tt-swatch--label { background: transparent; box-shadow: inset 0 0 0 1.5px #CFC6DA; } .tt-swatch--stage { background: #FFD0DC; } .tt-swatch--toilet { background: #E6E1EE; } .tt-swatch--pillar { background: #A49BB4; border-radius: 50%; width: 14px; }
.tt-canvas-wrap { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tt-canvas-tools { display: flex; align-items: center; gap: 4px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: var(--sh); flex-wrap: wrap; }
.tt-canvas-tools input[type=range] { width: 200px; }
.tt-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.tt-zoomval { border: 0; background: none; font-weight: 700; min-width: 52px; cursor: pointer; color: var(--ink2); }
.tt-livetime { font-variant-numeric: tabular-nums; font-size: 16px; min-width: 52px; }
.tt-canvas { position: relative; flex: 1; overflow: auto; border-radius: 22px; background: #EFEBF3; box-shadow: inset 0 2px 8px rgba(31,22,64,.06); padding: 20px; min-height: 560px; touch-action: none; }
.tt-canvas svg { display: block; user-select: none; overflow: visible; }
.tt-floor-bg { fill: #FDFBFC; filter: drop-shadow(0 18px 30px rgba(31,22,64,.10)); }
.tt-grid-dot { fill: #E2DCE8; }
.tt-ft { cursor: default; }
.is-design .tt-ft, .is-design .tt-fd { cursor: grab; }
.is-design .tt-ft:active, .is-design .tt-fd:active { cursor: grabbing; }
.tt-ft-top { fill: #FFFFFF; stroke: #E4DEEA; stroke-width: 1.5; filter: url(#ttshadow); transition: fill .3s, stroke .3s; }
.tt-ft-chair { fill: #ECE6F2; stroke: #DAD2E3; stroke-width: 1; transition: fill .3s; }
.tt-ft-bench { fill: #E3DBEC; }
.tt-ft-label { font-size: 18px; font-weight: 800; fill: var(--ink); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.tt-ft-cap { font-size: 11px; font-weight: 650; fill: var(--ink3); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.is-design .tt-ft:hover .tt-ft-top { stroke: #FFB3C7; }
.tt-ft.is-selected .tt-ft-top { stroke: var(--pink); stroke-width: 2.5; fill: #FFF7F9; }
.tt-ft.is-selected .tt-ft-chair { fill: #FFD9E3; stroke: #FFB3C7; }
.tt-ft.is-blocked .tt-ft-top { fill: url(#ttstripe); } .tt-stripe { fill: #F1EDF5; }
.tt-ft.is-inactive { opacity: .4; }
.is-live .tt-ft { cursor: pointer; }
.tt-ft.is-free .tt-ft-top { fill: #EAFBF5; stroke: #9FE2CC; } .tt-ft.is-free .tt-ft-chair { fill: #D5F3E9; stroke: #B5E9D7; }
.tt-ft.is-soon .tt-ft-top { fill: #EFEFFD; stroke: #B8B8F0; } .tt-ft.is-soon .tt-ft-chair { fill: #E0E0FA; }
.tt-ft.is-now .tt-ft-top { fill: #FFE8EF; stroke: var(--pink); stroke-width: 2.5; } .tt-ft.is-now .tt-ft-chair { fill: #FFD0DC; }
.tt-ft.is-seated .tt-ft-top { fill: var(--pink); stroke: var(--pink-d); } .tt-ft.is-seated .tt-ft-chair { fill: #FF9AB4; } .tt-ft.is-seated .tt-ft-label, .tt-ft.is-seated .tt-ft-cap { fill: #fff; }
.tt-ft.is-now .tt-ft-top { animation: tt-breathe 2.4s ease-in-out infinite; }
@keyframes tt-breathe { 50% { stroke-width: 5; } }
.tt-fd-shape { fill: #D9D2E3; } .tt-fd--wall .tt-fd-shape { fill: #3A2F55; } .tt-fd--window .tt-fd-shape { fill: #BFE3F2; stroke: #8CC9E3; stroke-width: 1.5; }
.tt-fd--bar .tt-fd-shape, .tt-fd--kitchen .tt-fd-shape { fill: #2E2548; } .tt-fd--stage .tt-fd-shape { fill: #FFE1EA; stroke: #FFB3C7; stroke-dasharray: 6 5; } .tt-fd--toilet .tt-fd-shape { fill: #EAE5F1; } .tt-fd--stairs .tt-fd-shape { fill: #EAE5F1; } .tt-fd-line { stroke: #CFC6DA; }
.tt-fd--pillar .tt-fd-shape { fill: #A49BB4; }
.tt-fd-swing { fill: rgba(240,227,210,.45); stroke: #D8C4A8; stroke-dasharray: 4 4; }
.tt-fd-pot { fill: #CFE9DA; } .tt-fd-leaf { fill: none; stroke: #43A673; stroke-width: 3; stroke-linecap: round; }
.tt-fd-text { font-size: 13px; font-weight: 700; fill: #fff; text-anchor: middle; dominant-baseline: middle; pointer-events: none; letter-spacing: .04em; }
.tt-fd--toilet .tt-fd-text, .tt-fd--stairs .tt-fd-text, .tt-fd--stage .tt-fd-text, .tt-fd--label .tt-fd-text { fill: var(--ink2); }
.tt-fd-text.is-big { font-size: 20px; font-weight: 800; fill: var(--ink3); }
.tt-fd.is-selected .tt-fd-shape { stroke: var(--pink); stroke-width: 2.5; }
.tt-handle-box { fill: none; stroke: var(--pink); stroke-width: 1.5; stroke-dasharray: 5 4; pointer-events: none; }
.tt-handle-line { stroke: var(--pink); stroke-width: 1.5; }
.tt-handle { fill: #fff; stroke: var(--pink); stroke-width: 2.5; }
.tt-handle--rot { cursor: grab; } .tt-handle--size { cursor: nwse-resize; }
.tt-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 4px 6px; }
.tt-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--ink2); }
.tt-legend span::before { content: ""; width: 14px; height: 14px; border-radius: 5px; }
.tt-legend .is-free::before { background: #EAFBF5; box-shadow: inset 0 0 0 1.5px #9FE2CC; } .tt-legend .is-soon::before { background: #EFEFFD; box-shadow: inset 0 0 0 1.5px #B8B8F0; } .tt-legend .is-now::before { background: #FFE8EF; box-shadow: inset 0 0 0 2px var(--pink); } .tt-legend .is-seated::before { background: var(--pink); } .tt-legend .is-blocked::before { background: repeating-linear-gradient(45deg, #F1EDF5 0 3px, #fff 3px 6px); box-shadow: inset 0 0 0 1px #DDD; }
.tt-pop { position: absolute; z-index: 5; min-width: 240px; transform: translate(-50%, 12px); background: #fff; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(31,22,64,.45); padding: 12px; animation: tt-toast .35s var(--spring); }
.tt-pop header { display: grid; margin-bottom: 8px; } .tt-pop header span { color: var(--ink3); font-size: 12px; }
.tt-pop-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 8px; width: 100%; padding: 8px; border: 0; background: none; border-radius: 10px; text-align: left; cursor: pointer; }
.tt-pop-row:hover { background: var(--pink-t); } .tt-pop-row em { font-style: normal; color: var(--ink3); }
.tt-combos { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.tt-combos li { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: var(--bg); border-radius: 10px; }
.tt-combos li div { display: grid; } .tt-combos span { color: var(--ink3); font-size: 12px; }

/* ---------- settings ---------- */
.tt-settings-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.tt-subnav { position: sticky; top: 52px; display: grid; gap: 2px; padding: 8px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.tt-subnav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink2); font-weight: 600; }
.tt-subnav a:hover { background: var(--bg); color: var(--ink); }
.tt-subnav a.is-on { background: var(--pink-t); color: var(--pink-d); }
.tt-settings-main { min-width: 0; animation: tt-page .4s var(--ease); }
.tt-day-row { padding: 12px 0; border-top: 1px solid var(--line); }
.tt-day-row:first-child { border-top: 0; }
.tt-day-name { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tt-day-name > strong { width: 110px; } .tt-day-name .tt-toggle { margin: 0; } .tt-day-name .tt-input { width: auto; }
.tt-services { display: grid; gap: 8px; margin: 10px 0 0 124px; }
.tt-service-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; padding: 10px; background: var(--bg); border-radius: 12px; }
.tt-service-row > .tt-input { max-width: 160px; }
.tt-service-row label { display: grid; font-size: 11.5px; font-weight: 650; color: var(--ink3); gap: 3px; } .tt-service-row label .tt-input { width: 120px; }
.tt-logo-pick { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.tt-logo-pick img, .tt-logo-empty { width: 72px; height: 72px; border-radius: 18px; object-fit: contain; background: var(--bg); display: grid; place-items: center; color: var(--ink3); padding: 6px; }
.tt-logo-pick div { display: flex; gap: 12px; align-items: center; }
.tt-design { display: grid; grid-template-columns: minmax(380px, 1fr) minmax(420px, 1.1fr); gap: 18px; align-items: start; }
.tt-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tt-presets button { display: grid; gap: 8px; padding: 10px; border: 0; border-radius: 14px; background: var(--b); color: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: transform .25s var(--spring), box-shadow .2s; }
.tt-presets button:hover { transform: translateY(-2px); }
.tt-presets button.is-on { box-shadow: inset 0 0 0 2.5px var(--pink), 0 10px 20px -12px rgba(255,90,133,.7); }
.tt-preset-sw { display: flex; gap: 4px; } .tt-preset-sw i { height: 26px; flex: 1; border-radius: 8px; background: var(--a); } .tt-preset-sw i:nth-child(2) { background: var(--s); } .tt-preset-sw i:nth-child(3) { background: var(--c); flex: .4; }
.tt-live { position: sticky; top: 52px; background: #fff; border-radius: 22px; box-shadow: var(--sh); overflow: hidden; }
.tt-live-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 650; font-size: 12.5px; color: var(--ink2); }
.tt-livedot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 8px; box-shadow: 0 0 0 0 rgba(47,191,155,.6); animation: tt-livedot 2s infinite; }
@keyframes tt-livedot { 70% { box-shadow: 0 0 0 8px transparent; } }
.tt-live-frame { display: grid; place-items: center; background: #EFEBF3; padding: 16px; }
.tt-live-frame iframe { width: 100%; height: 760px; border: 0; border-radius: 16px; background: #fff; transition: width .5s var(--ease); }
.tt-live-frame.is-mobile iframe { width: 390px; height: 760px; border-radius: 34px; box-shadow: 0 0 0 10px #1F1640, 0 30px 60px -20px rgba(31,22,64,.5); }
.tt-code { display: grid; grid-template-columns: 280px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.tt-code:first-child { border-top: 0; }
.tt-code code { background: var(--bg); padding: 6px 10px; border-radius: 8px; font-size: 12.5px; color: var(--pink-d); }
.tt-code span { color: var(--ink2); }

/* ---------- e-mails ---------- */
.tt-email-layout { display: grid; grid-template-columns: 230px minmax(360px, 1fr) minmax(400px, 1fr); gap: 16px; align-items: start; }
.tt-email-list { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 10px; position: sticky; top: 52px; }
.tt-email-list h4 { font-size: 12px; color: var(--ink3); margin: 10px 8px 6px !important; }
.tt-email-list button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; text-align: left; font-weight: 600; color: var(--ink2); cursor: pointer; }
.tt-email-list button:hover { background: var(--bg); } .tt-email-list button.is-on { background: var(--pink-t); color: var(--pink-d); }
.tt-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tt-tags span { font-size: 12px; color: var(--ink3); font-weight: 650; margin-right: 4px; }
.tt-tags button { border: 0; padding: 4px 10px; border-radius: 999px; background: var(--indigo-t); color: var(--indigo); font-weight: 650; font-size: 12px; cursor: pointer; }
.tt-tags button:hover { background: var(--indigo); color: #fff; }
.tt-blocks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.tt-block { background: #fff; border-radius: 14px; box-shadow: var(--sh); overflow: hidden; transition: box-shadow .2s; }
.tt-block.is-open { box-shadow: inset 0 0 0 2px var(--pink), var(--sh); }
.tt-block header { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; }
.tt-block header em { font-style: normal; color: var(--ink3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.tt-block-grip { color: var(--ink3); cursor: grab; display: inline-flex; }
.tt-block-tools { display: flex; }
.tt-block-body { padding: 4px 14px 14px; border-top: 1px solid var(--line); animation: tt-page .3s var(--ease); }
.tt-addblocks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 12px; border: 1.5px dashed #D8D1E2; border-radius: 14px; }
.tt-addblocks span { font-weight: 700; font-size: 12.5px; margin-right: 6px; }
.tt-addblocks button { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 6px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 12.5px; cursor: pointer; }
.tt-addblocks button:hover { box-shadow: inset 0 0 0 1.5px var(--pink); color: var(--pink-d); }
.tt-email-preview { position: sticky; top: 52px; background: #fff; border-radius: 22px; box-shadow: var(--sh); overflow: hidden; }
.tt-preview-bar { padding: 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: center; }
.tt-device { display: grid; place-items: center; padding: 16px; background: #EFEBF3; }
.tt-device iframe { width: 100%; height: 720px; border: 0; border-radius: 12px; background: #fff; transition: width .5s var(--ease); }
.tt-device.is-mobile iframe { width: 375px; border-radius: 30px; box-shadow: 0 0 0 9px #1F1640; }
.tt-modal { position: fixed; inset: 0; z-index: 99990; background: rgba(31,22,64,.4); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 30px; animation: tt-page .3s; }
.tt-modal-box { width: min(760px, 100%); height: min(860px, 100%); background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; animation: tt-toast .45s var(--spring); }
.tt-modal-box header { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tt-modal-box header > div:first-child { display: grid; } .tt-modal-box small { color: var(--ink3); }
.tt-modal-box iframe { flex: 1; border: 0; }

@media (max-width: 1400px) { .tt-email-layout { grid-template-columns: 200px 1fr; } .tt-email-preview { grid-column: 1 / -1; position: static; } .tt-design { grid-template-columns: 1fr; } .tt-live { position: static; } }
@media (max-width: 1200px) { .tt-kpis, .tt-stats { grid-template-columns: repeat(2, 1fr); } .tt-split, .tt-split--3 { grid-template-columns: 1fr; } .tt-floor { grid-template-columns: 1fr; } .tt-palette, .tt-inspector { max-height: none; } }
@media (max-width: 960px) { .tt-shell { grid-template-columns: 1fr; } .tt-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; } .tt-side nav { display: flex; flex-wrap: wrap; } .tt-side-foot { display: none; } .tt-main { padding: 18px; } .tt-settings-layout { grid-template-columns: 1fr; } .tt-subnav { position: static; display: flex; flex-wrap: wrap; } .tt-row { grid-template-columns: 56px 1fr 50px 110px; } .tt-row-table, .tt-row-flags { display: none; } .tt-grid3 { grid-template-columns: 1fr; } .tt-services { margin-left: 0; } .tt-kv > div { grid-template-columns: 110px 1fr; } }
@media (prefers-reduced-motion: reduce) { .tt-admin *, .tt-admin *::before, .tt-admin *::after { animation: none !important; transition: none !important; } }

.tt-preset-photo { height: 64px; border-radius: 10px; background: center / cover no-repeat; }
.tt-photos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.tt-photos button { aspect-ratio: 4 / 3; border: 0; border-radius: 12px; background: var(--bg) center / cover no-repeat; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--spring), box-shadow .2s; display: grid; place-items: center; }
.tt-photos button:hover { transform: translateY(-2px); }
.tt-photos button.is-on { box-shadow: 0 0 0 3px var(--pink), 0 10px 20px -12px rgba(255,90,133,.8); }
.tt-photo-none { font-size: 12px; font-weight: 700; color: var(--ink2); }
@media (max-width: 1200px) { .tt-photos { grid-template-columns: repeat(4, 1fr); } }

/* ---------- tafelkiezer ---------- */
.tt-picker { background: var(--bg); border-radius: 16px; padding: 10px; }
.tt-picker-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tt-tabs--sm { margin: 0; } .tt-tabs--sm button { padding: 6px 12px; font-size: 12.5px; box-shadow: none; }
.tt-picker-sum { font-weight: 700; font-size: 12.5px; color: var(--ink2); padding: 5px 10px; border-radius: 999px; background: #fff; }
.tt-picker-sum.is-warn { color: #A3650F; background: var(--amber-t); }
.tt-picker-svg { display: block; width: 100%; height: auto; max-height: 380px; background: #FDFBFC; border-radius: 12px; }
.tt-picker-svg .tt-ft { cursor: pointer; }
.tt-picker-svg .tt-ft.is-blocked { cursor: not-allowed; }
.tt-pop-cta { width: 100%; justify-content: center; margin-bottom: 8px; }

/* ---------- plattegrond: pictogrammen, lagen, plant, zone ---------- */
.tt-picto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.tt-picto-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--bg); color: var(--ink2); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, transform .25s var(--spring); }
.tt-picto-grid button:hover, .tt-picto-grid button.is-on { background: var(--pink-t); color: var(--pink-d); transform: translateY(-1px); }
.tt-picto-grid svg { width: 22px; height: 22px; }
.tt-layer-note { font-size: 11.5px; color: var(--ink3); margin: -4px 0 8px; }
.tt-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tt-layers li { display: flex; align-items: center; gap: 2px; border-radius: 8px; padding: 2px 2px 2px 4px; }
.tt-layers li:hover { background: var(--bg); } .tt-layers li.is-on { background: var(--pink-t); }
.tt-layer-name { flex: 1; text-align: left; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink2); cursor: pointer; padding: 5px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-layer-btn { width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: var(--ink3); cursor: pointer; display: grid; place-items: center; }
.tt-layer-btn:hover { background: #fff; color: var(--ink); } .tt-layer-btn.is-active { color: var(--pink-d); } .tt-layer-btn.is-off { opacity: .35; }
.tt-fd-plant .tt-fd-pot { fill: #C9A27E; stroke: #A9825F; stroke-width: 1.5; }
.tt-fd-leaf { fill: #4FAE78; stroke: #2F8A57; stroke-width: 1; }
.tt-fd-leaf.is-b { fill: #6CC490; }
.tt-fd-core { fill: #2F8A57; }
.tt-fd-icon circle { fill: #fff; stroke: var(--pink); stroke-width: 2.5; filter: url(#ttshadow); }
.tt-fd-icon path { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tt-fd-zone { fill: rgba(91,91,214,.06); stroke: rgba(91,91,214,.35); stroke-width: 2; stroke-dasharray: 8 6; }
.tt-fd--zone .tt-fd-text { fill: var(--indigo); }
.tt-fd.is-locked { cursor: default !important; }
.tt-swatch--zone { background: rgba(91,91,214,.12); box-shadow: inset 0 0 0 1.5px rgba(91,91,214,.4); }
.tt-swatch--plant { background: #4FAE78; }
.tt-menu { position: relative; }
.tt-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 300px; padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(31,22,64,.45); animation: tt-toast .3s var(--spring); }
.tt-menu-pop button { display: grid; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.tt-menu-pop button:hover { background: var(--pink-t); }
.tt-menu-pop small { color: var(--ink3); }
.tt-row--static { cursor: default; grid-template-columns: 90px 1fr 60px 140px 120px; }
.tt-row--static:hover { transform: none; box-shadow: var(--sh); }
.tt-row-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }

.tt-mailstatus { align-items: flex-start; } .tt-mailstatus span { color: var(--ink2); }
.tt-mailstatus:not(.is-warn):not(.is-error) { background: var(--mint-t); } .tt-mailstatus:not(.is-warn):not(.is-error) .tt-i { color: #1F9D7A; }
.tt-errlist { margin: 8px 0; padding-left: 18px; font-size: 12.5px; color: var(--ink2); }
.tt-badge.is-pink { background: var(--pink-t); color: var(--pink-d); }
.tt-guestbadges { display: inline-flex; gap: 4px; flex-wrap: wrap; vertical-align: middle; margin-left: 6px; }
.tt-guestnote { background: var(--pink-t); } .tt-guestnote .tt-i { color: var(--pink-d); }
.tt-guestpick { position: relative; margin: 12px 0; }
.tt-guestpick .tt-search input { min-width: 0; width: 100%; }
.tt-guestpick .tt-search { width: 100%; }
.tt-guestpick-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(31,22,64,.45); padding: 6px; animation: tt-toast .3s var(--spring); }
.tt-guestpick-list button { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.tt-guestpick-list button:hover { background: var(--pink-t); }
.tt-guestpick-list small { grid-column: 1; color: var(--ink3); }
.tt-guestpick-list span { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 12px; color: var(--ink2); display: flex; gap: 6px; align-items: center; }
.tt-row--guest { grid-template-columns: 44px 1.4fr 1fr 150px 120px 160px; }
.tt-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-t); color: var(--pink-d); font-weight: 800; text-transform: uppercase; font-size: 13px; }
.tt-guest-stats { margin: 0 0 16px; padding: 16px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); justify-content: space-between; }

/* ---------- plattegrond: luxe, ruimtelijke uitstraling ---------- */
.tt-canvas { background: radial-gradient(120% 90% at 50% 0%, #F4F0F7 0%, #E6E0EC 100%); }
.tt-room-shadow { fill: #1F1640; opacity: .16; filter: blur(14px); transform: translateY(14px); }
.tt-floor-bg { filter: none; }
.tt-room-wall { fill: none; stroke: url(#ttwallg); stroke-linejoin: round; }
.tt-guide { stroke: #FF5A85; stroke-width: 1.5; stroke-dasharray: 6 5; pointer-events: none; animation: tt-fade .15s; }
.tt-ft-top { fill: url(#tttop); stroke: rgba(120,96,70,.22); stroke-width: 1.2; filter: url(#ttshadow); }
.tt-ft-chair { fill: url(#ttchair); stroke: rgba(70,50,100,.18); filter: url(#ttsoft); }
.tt-ft-bench { fill: url(#ttchair); filter: url(#ttsoft); }
.tt-ft-label { fill: #2A2140; font-size: 19px; }
.tt-ft.is-selected .tt-ft-top { stroke: #FF5A85; stroke-width: 3; fill: #FFF6F8; }
.tt-ft.is-selected .tt-ft-chair { fill: #FFC2D2; }
.tt-fd--wall .tt-fd-shape { fill: url(#ttwallg); }
.tt-fd--window .tt-fd-shape { fill: url(#ttglass); stroke: #7FB9D6; stroke-width: 1.5; }
.tt-fd-mullion { stroke: #FFFFFF; stroke-width: 1.4; opacity: .9; }
.tt-fd--bar .tt-fd-shape, .tt-fd--kitchen .tt-fd-shape { fill: url(#ttwalnut); filter: url(#ttsoft); }
.tt-fd--stage .tt-fd-shape { fill: rgba(255,90,133,.10); stroke: rgba(255,90,133,.5); }
.tt-fd--toilet .tt-fd-shape, .tt-fd--stairs .tt-fd-shape { fill: #EDE6F2; stroke: rgba(31,22,64,.12); }
.tt-fd-gap { fill: #EADCC8; }
.tt-fd-swing { fill: rgba(255,255,255,.35); stroke: rgba(80,60,40,.45); stroke-width: 1.2; stroke-dasharray: 5 4; }
.tt-fd-leaf-door { stroke: #6A5040; stroke-width: 4; stroke-linecap: round; }
.tt-fd-hinge { fill: #6A5040; }
.tt-fd-plant { filter: url(#ttsoft); }
.tt-fd-pot { fill: #C98B6B; } .tt-fd-soil { fill: #5B4334; }
.tt-fd-leaf { fill: url(#ttleaf); stroke: rgba(20,80,40,.35); stroke-width: .8; } .tt-fd-leaf.is-b { fill: #5DB37E; } .tt-fd-leaf.is-c { fill: #3E9A64; }
.tt-fd-vein { stroke: rgba(255,255,255,.35); stroke-width: 1; }
.tt-fd-text { font-family: inherit; }
.tt-drop { display: grid; place-items: center; gap: 6px; padding: 40px 20px; border: 2px dashed #D8CFE3; border-radius: 20px; background: #fff; cursor: pointer; text-align: center; color: var(--ink2); transition: border-color .2s, background .2s; }
.tt-drop:hover { border-color: var(--pink); background: var(--pink-t); }
.tt-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tt-drop .tt-i { color: var(--pink); } .tt-drop span { font-size: 12.5px; color: var(--ink3); }
.tt-drop.is-busy { opacity: .6; }
.tt-mapgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
.tt-table-wrap { overflow-x: auto; }
.tt-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tt-table th, .tt-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tt-table th { color: var(--ink3); font-weight: 700; } .tt-table th.is-mapped { color: var(--pink-d); }
.tt-progress-bar { position: relative; height: 26px; border-radius: 999px; background: var(--pink-t); overflow: hidden; margin: 12px 0; }
.tt-progress-bar span { position: absolute; inset: 0 auto 0 0; background: var(--pink); transition: width .4s var(--ease); }
.tt-progress-bar em { position: relative; display: block; text-align: center; line-height: 26px; font-style: normal; font-weight: 700; font-size: 12px; }
.tt-canvas .tt-floor-bg { fill: url(#ttplanks); filter: none; }
