/* s5 – Oversikt, Kunder, Mer, kundekort, ventelisten, musikk, innkommende samtale */
.aoe-t5 > * + * { margin-top: var(--sk-space-4, 1rem); }
.aoe-t5 .sk-terminal-overview-layout, .aoe-t5 .sk-terminal-overview-today, .aoe-t5 .sk-terminal-card { margin-top: var(--sk-space-4, 1rem); }
.aoe-t5 .sk-terminal-search-control { margin-top: var(--sk-space-4, 1rem); }

/* next appointment */
.aoe-t5-next-body { display: flex; align-items: center; gap: 1.25rem; margin: .5rem 0 1rem; }
.aoe-t5-next-body time { font-size: 2rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aoe-t5-next-body time small { font-size: 1rem; font-weight: 400; opacity: .6; }
.aoe-t5-next-body > div { display: grid; gap: .2rem; min-width: 0; }
.aoe-t5-next-body span { opacity: .75; }
.aoe-t5-warn { display: inline-flex; align-items: center; gap: .35rem; color: #9a3412; opacity: 1 !important; font-size: .9rem; }
.aoe-t5-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.aoe-t5-actions button { min-height: 48px; }
.aoe-t5-arrived { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: 0 .5rem; color: #166534; font-weight: 600; }
.aoe-t5-delay-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.aoe-t5-delay-actions button { min-height: 48px; min-width: 5.5rem; }
.aoe-t5-delay blockquote { margin: .75rem 0; padding: .9rem 1rem; border-left: 3px solid currentColor; background: rgba(0,0,0,.04); line-height: 1.5; }
.aoe-t5-demo { opacity: .65; font-size: .85rem; }
.aoe-t5-nora-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.aoe-t5-nora-list li { display: grid; gap: .1rem; padding: .7rem .9rem; border: 1px solid rgba(0,0,0,.1); }
.aoe-t5-nora-list small { opacity: .7; }

/* customers */
.aoe-t5-filters { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--sk-space-3, .75rem); align-items: center; justify-content: space-between; }
.aoe-t5-filters .sk-terminal-segmented > button { min-height: 48px; }
.aoe-t5-filters .sk-terminal-segmented small { opacity: .6; margin-left: .25rem; }
.aoe-t5-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(0,0,0,.07); font-weight: 600; font-size: .95rem; }
.aoe-t5-avatar.is-member { background: #242423; color: #fff; }
.aoe-t5-avatar.is-large { width: 4rem; height: 4rem; font-size: 1.3rem; }
.aoe-t5-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border: 1px solid rgba(0,0,0,.18); font-size: .8rem; white-space: nowrap; }
.aoe-t5-chip.is-muted { opacity: .65; }
.aoe-t5-more { margin-top: 1rem; min-height: 48px; width: 100%; }
.sk-terminal-customer-list.is-directory > button > svg:last-child { flex: 0 0 auto; opacity: .45; }
.sk-terminal-customer-list.is-directory small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-terminal-customer-list.is-directory > button > span:nth-child(2) { min-width: 0; }

/* sheets */
.aoe-t5-sheet { overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: var(--sk-space-3, .9rem); }
.aoe-t5-sheet > * { flex: 0 0 auto; }
.aoe-t5-sheet .sk-terminal-primary, .aoe-t5-sheet .sk-terminal-secondary, .aoe-t5-sheet-actions button { min-height: 48px; }
.aoe-t5-sheet-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.aoe-t5-profile { display: flex; align-items: center; gap: 1rem; }
.aoe-t5-profile > div { display: grid; gap: .4rem; min-width: 0; }
.aoe-t5-profile strong { font-size: 1.15rem; }
.aoe-t5-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.aoe-t5-section { display: grid; gap: .6rem; padding-top: .9rem; border-top: 1px solid rgba(0,0,0,.1); }
.aoe-t5-section h3 { margin: 0; font-size: 1rem; }
.aoe-t5-section .sk-terminal-hint { margin: 0; }
.aoe-t5-allergy { display: flex; gap: .75rem; align-items: flex-start; padding: .8rem 1rem; background: #fff1e6; border: 1px solid #f5c9a6; color: #7c2d12; }
.aoe-t5-allergy > div { display: grid; gap: .1rem; }
.aoe-t5-note { margin: 0; padding: .8rem 1rem; background: rgba(0,0,0,.04); line-height: 1.5; }
.aoe-t5-kv { list-style: none; margin: 0; padding: 0; display: grid; }
.aoe-t5-kv li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.aoe-t5-kv span { opacity: .7; }
.aoe-t5-kv strong { text-align: right; }
.aoe-t5-row { display: flex; align-items: center; gap: 1rem; }
.aoe-t5-row time { font-weight: 600; font-variant-numeric: tabular-nums; }
.aoe-t5-row > span { display: grid; flex: 1; }
.aoe-t5-row small, .aoe-t5-hist small { opacity: .7; }
.aoe-t5-hist li { gap: 1rem; }
.aoe-t5-hist li > span { display: grid; gap: .1rem; min-width: 0; }
.aoe-t5-club { display: flex; align-items: center; gap: .9rem; width: 100%; min-height: 64px; padding: .8rem 1rem; text-align: left; border: 1px solid rgba(0,0,0,.2); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.aoe-t5-club > span { display: grid; flex: 1; gap: .1rem; }
.aoe-t5-club small { opacity: .7; }
.aoe-t5-club.is-on { background: #242423; color: #fff; border-color: #242423; }
.aoe-t5-consents > button { min-height: 48px; }
.aoe-t5-sheet input, .aoe-t5-sheet select, .aoe-t5-sheet textarea { font-size: 16px; }
.aoe-t5-label { font-weight: 600; margin-top: .5rem; }

/* waitlist */
.aoe-t5-wl { display: grid; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.aoe-t5-wl > li { display: grid; gap: .6rem; padding: .9rem 1rem; border: 1px solid rgba(0,0,0,.12); }
.aoe-t5-wl > li.is-booked { opacity: .7; }
.aoe-t5-wl-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.aoe-t5-wl-head > span:first-child { display: grid; gap: .15rem; min-width: 0; }
.aoe-t5-wl-head small { opacity: .7; }
.aoe-t5-wl-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.aoe-t5-wl-actions button { min-height: 48px; display: inline-flex; align-items: center; gap: .4rem; }
.aoe-t5-wl-add { display: grid; gap: .75rem; padding: 1rem; border: 1px solid rgba(0,0,0,.12); }
.aoe-t5-wl-add select { min-height: 48px; width: 100%; }
.aoe-t5-wl-new { min-height: 48px; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; }

/* price lookup */
.aoe-t5-price > li { gap: 1rem; align-items: flex-start; }
.aoe-t5-price > li > span { display: grid; gap: .1rem; min-width: 0; }
.aoe-t5-levels { opacity: .7; line-height: 1.5; }

/* music */
.aoe-t5-cover { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; flex: 0 0 auto; background: #242423; color: #fff; }
.aoe-t5-cover.is-playing { animation: aoe-t5-pulse 1.6s ease-in-out infinite; }
@keyframes aoe-t5-pulse { 50% { opacity: .65; } }
.aoe-t5-vol { min-width: 48px; min-height: 48px; font-size: 1.4rem; line-height: 1; padding: 0; }
.aoe-t5-volbar { flex: 1 1 auto; height: .6rem; background: rgba(0,0,0,.1); }
.aoe-t5-volbar i { display: block; height: 100%; background: #242423; }
.aoe-t5-pl { display: grid; gap: .15rem; min-height: 56px; text-align: left; }
.aoe-t5-pl.is-selected { background: #242423; color: #fff; }
.aoe-t5-pl small { opacity: .7; }

/* salons / settings */
.aoe-t5-regions { flex-wrap: wrap; }
.aoe-t5-regions > button { min-height: 48px; }
.aoe-t5-salons { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.aoe-t5-salons button { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 60px; padding: .6rem 1rem; text-align: left; border: 1px solid rgba(0,0,0,.12); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.aoe-t5-salons button > span:first-child { display: grid; flex: 1; gap: .1rem; min-width: 0; }
.aoe-t5-salons small { opacity: .7; }
.aoe-t5-salons button.is-current { border-color: #242423; }
.aoe-t5-hint-card { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: rgba(0,0,0,.04); }
.aoe-t5-hint-card p { margin: 0; line-height: 1.5; }
.aoe-t5-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.aoe-t5-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; padding: .5rem 1rem; text-decoration: none; }
.aoe-t5-links small { opacity: .6; font-family: ui-monospace, monospace; }

/* incoming call */
.aoe-t5-call { grid-template-columns: auto minmax(0, 1fr) auto; z-index: 250; }
.aoe-t5-call-text { display: grid; gap: .1rem; min-width: 0; padding: 0 .25rem; }
.aoe-t5-call-text span:last-child { opacity: .75; font-size: .9rem; }
.aoe-t5-call-actions { grid-column: 1 / -1; display: flex; gap: .6rem; }
.aoe-t5-call-actions button { flex: 1; min-height: 48px; }
.aoe-t5-call .sk-incoming-call__close { min-width: 48px; min-height: 48px; display: grid; place-items: center; background: transparent; border: 0; color: inherit; cursor: pointer; }

/* layout polish */
.aoe-t5 .sk-terminal-day-status { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.aoe-t5 .sk-terminal-day-status .is-attendance { grid-column: 1 / -1; }
@media (min-width: 900px) { .aoe-t5 .sk-terminal-day-status { grid-template-columns: 1fr 1fr 2fr; } .aoe-t5 .sk-terminal-day-status .is-attendance { grid-column: auto; } }
.aoe-t5-filters .sk-terminal-segmented > button { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.aoe-t5 .sk-terminal-overview-actions .sk-terminal-heading-count, .aoe-t5-sheet .sk-terminal-heading-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 1.6rem; margin-left: .5rem; padding: 0 .45rem; border-radius: 999px; background: #242423; color: #fff; font-size: .8rem; vertical-align: middle; }
.aoe-t5-nowrap { white-space: nowrap; } .aoe-t5-levels span { white-space: nowrap; }
