/* Generated by design-system/scripts/build.py from source/. Do not edit. v0.2.0 */
/* BMW Admin shell and components. Live: docs/live-survey-2026-10-30.md §Admin.
   The shell (sider, header, page header) is one component: pages never restyle it. */

.adm{display:flex;min-height:calc(100vh - var(--demo-bar-h, 0px));background:var(--ds-surface-layout);font-family:var(--ds-font-admin);font-size:14px;line-height:22px;color:var(--ds-text-body)}

/* sider */
.adm-sider{position:sticky;top:var(--demo-bar-h, 0px);flex:0 0 246px;width:246px;height:calc(100vh - var(--demo-bar-h, 0px));background:var(--ds-menu-bg);box-shadow:var(--ds-shadow-sider);overflow:hidden;z-index:20;transition:flex-basis .2s,width .2s}
.adm-sider__logo{display:flex;align-items:center;gap:6px;height:67px;padding:18px 0 15px 24px}
.adm-sider__logo img{width:30px;height:30px}
.adm-sider__logo span{font-size:12px;line-height:14px;font-weight:700;letter-spacing:.08em;color:var(--ds-menu-text)}
.adm-menu{list-style:none;margin:0;padding:4px 0;background:var(--ds-menu-inline-bg)}
.adm-menu li{margin:0}
.adm-menu a,.adm-menu button{display:flex;align-items:center;gap:10px;width:calc(100% - 8px);height:40px;margin:4px 4px;padding:0 0 0 24px;border:0;border-radius:var(--ds-radius-sm);background:transparent;font-size:14px;line-height:40px;color:var(--ds-menu-text);text-align:left;cursor:pointer;white-space:nowrap}
.adm-menu a:hover,.adm-menu button:hover{color:var(--ds-menu-text-current)}
.adm-menu .ds-ico{width:16px;color:var(--ds-menu-text)}
.adm-menu .is-current,.adm-menu .is-current .ds-ico{color:var(--ds-menu-text-current)}
.adm-menu .caret{margin-left:auto;margin-right:16px;transition:transform .2s}
.adm-menu .is-open .caret{transform:rotate(180deg)}
.adm-sub{list-style:none;margin:0;padding:0;background:var(--ds-menu-sub-bg)}
.adm-sub a{padding-left:52px;margin:0 4px;height:40px;line-height:40px}
.adm-sub li:first-child a{margin-top:0}
.adm-sub .is-current{color:var(--ds-menu-text-current);font-weight:500}
.adm.is-collapsed .adm-sider{flex-basis:50px;width:50px}
.adm.is-collapsed .adm-sider__logo{padding-left:10px}
.adm.is-collapsed .adm-sider__logo span,.adm.is-collapsed .adm-menu .lbl,.adm.is-collapsed .adm-menu .caret,.adm.is-collapsed .adm-sub{display:none}
.adm.is-collapsed .adm-menu a,.adm.is-collapsed .adm-menu button{padding-left:12px;width:42px}

/* main column */
.adm-main{flex:1;min-width:0;display:flex;flex-direction:column}
.adm-header{position:sticky;top:var(--demo-bar-h, 0px);z-index:15;display:flex;align-items:center;height:64px;padding:0 0 0 16px;background:var(--ds-header-bg);box-shadow:var(--ds-shadow-header)}
.adm-trigger{width:38px;height:64px;border:0;background:none;color:var(--ds-text-body);cursor:pointer;display:flex;align-items:center;justify-content:center}
.adm-trigger:hover{color:var(--ds-brand-hover)}
.adm-dealer{position:relative;margin-left:auto;display:flex;align-items:center;gap:8px;height:64px;padding:0 20px;border:0;background:none;font-size:14px;line-height:22px;color:var(--ds-text-body);cursor:pointer}
.adm-dealer .ds-dropdown{top:52px;right:12px;width:250px;max-height:260px;overflow:auto}
.adm-user{display:flex;align-items:center;gap:8px;height:64px;padding:0 16px 0 13px;border-left:1px solid var(--ds-surface-muted);cursor:pointer}
.adm-avatar{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--ds-line-soft);font-size:18px;font-weight:700;color:var(--ds-text-heading)}
.adm-user__txt{display:flex;flex-direction:column;width:72px}
.adm-user__txt b{font-weight:400;font-size:14px;line-height:22px;color:var(--ds-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adm-user__txt small{font-size:12px;line-height:20px;color:var(--ds-text-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.adm-pagehead{background:var(--ds-surface);padding:16px 24px}
.adm-pagehead .ds-breadcrumb{margin-bottom:4px}
.adm-pagehead__row{display:flex;align-items:center;justify-content:space-between;min-height:32px}
.adm-pagehead h1{font-size:20px;line-height:32px;font-weight:700;color:var(--ds-text-heading)}
.adm-crumbbar{padding:16px 24px 0}
.adm-content{padding:24px;padding-bottom:76px}
.adm-content--detail{padding-top:16px}
.adm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.adm-toolbar__r{display:flex;align-items:center;gap:24px}
.adm-viewswitch{display:inline-flex}
.adm-viewswitch button{width:48px;height:40px;border:1px solid var(--ds-line-strong);background:var(--ds-surface);color:var(--ds-text-body);cursor:pointer;display:flex;align-items:center;justify-content:center}
.adm-viewswitch button:first-child{border-radius:var(--ds-radius-sm) 0 0 var(--ds-radius-sm)}
.adm-viewswitch button+button{margin-left:-1px;border-radius:0 var(--ds-radius-sm) var(--ds-radius-sm) 0}
.adm-viewswitch button[aria-pressed="true"]{background:var(--ds-brand);border-color:var(--ds-brand);color:var(--ds-text-inverse);position:relative}

/* dashboard */
.adm-today{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.adm-today span{display:inline-flex;align-items:center;gap:8px;font-size:16px;line-height:16px;font-weight:500}
.adm-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;margin-bottom:24px}
@media (max-width:1200px){.adm-stats{grid-template-columns:repeat(3,1fr)}}
.adm-stat{display:flex;align-items:center;gap:16px;padding:16px 20px;background:var(--ds-surface);border-radius:var(--ds-radius-sm)}
.adm-stat__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--ds-surface-muted)}
.adm-stat__t{font-size:14px;line-height:22px;color:var(--ds-text-secondary)}
.adm-stat__n{font-size:24px;line-height:32px;font-weight:700;color:var(--ds-text-heading)}
.adm-chart{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 0 16px}

/* calendar (live FullCalendar look, Arial) */
.adm-cal{position:relative;padding:16px;background:var(--ds-surface);font-family:var(--ds-font-calendar);font-size:14px;margin-bottom:56px}
.adm-cal__bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.adm-cal__bar h2{font-size:24.5px;line-height:38.5px;font-weight:700;color:var(--ds-text-body)}
.adm-fcbtns{display:flex;gap:10px}
.adm-fcgroup{display:inline-flex}
.adm-fcbtn{height:35px;min-width:41px;padding:0 12px;border:1px solid var(--ds-slate-4);background:var(--ds-surface);color:var(--ds-text-heading);font-size:14px;line-height:21px;text-transform:capitalize;cursor:pointer}
.adm-fcgroup .adm-fcbtn:first-child{border-radius:3.5px 0 0 3.5px}
.adm-fcgroup .adm-fcbtn:last-child{border-radius:0 3.5px 3.5px 0}
.adm-fcgroup .adm-fcbtn+.adm-fcbtn{margin-left:-1px}
.adm-fcbtn--solo{border-radius:3.5px}
.adm-fcbtn[aria-pressed="true"]{border-color:var(--ds-brand);position:relative;color:var(--ds-brand)}
.adm-fcbtn[disabled]{opacity:.65;cursor:default}
.adm-cal table{width:100%;border-collapse:collapse;table-layout:fixed}
.adm-cal th{height:32px;padding:2px 4px;border:1px solid var(--ds-gray-5);font-weight:400;text-align:right;color:var(--ds-text-heading)}
.adm-cal td{height:199px;padding:0;border:1px solid var(--ds-gray-5);vertical-align:top}
.adm-cal td.is-closed{background:var(--ds-closed-day)}
.adm-cal td.is-today{background:var(--ds-today)}
.adm-cal td.is-other .adm-day__n{opacity:.3}
.adm-day{position:relative;display:flex;flex-direction:column;height:100%;padding:4px 16px 10px;cursor:pointer}
.adm-day__n{align-self:flex-end;font-size:14px;line-height:22px;color:var(--ds-text-heading)}
.adm-day__c{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.adm-day__ring{position:absolute;inset:50% auto auto 50%;width:96px;height:96px;margin:-48px 0 0 -48px}
.adm-day__c img,.adm-day__c .ds-ico{color:var(--ds-slate-7)}
.adm-day__c b{font-size:16px;line-height:16px;font-weight:700;color:var(--ds-slate-8)}
.adm-day__leg{display:flex;justify-content:space-between;font-size:12px;line-height:19px}
.adm-day__leg span:first-child{color:var(--ds-slate-4)}
.adm-day__leg span:last-child{color:var(--ds-chart-online)}
.adm-cal__legend{position:absolute;left:100px;right:100px;bottom:-56px;height:40px;display:flex;justify-content:center;align-items:center;gap:32px;font-size:14px;line-height:22px;color:var(--ds-text-secondary)}
.adm-cal__legend span{display:inline-flex;align-items:center;gap:8px}
.adm-cal__legend i{width:8px;height:8px;border-radius:50%}
.adm-week td{height:auto}
.adm-slot{display:block;margin:2px;padding:2px 6px;border-radius:3px;background:var(--ds-blue-1);border-left:3px solid var(--ds-brand);font-size:12px;line-height:18px;color:var(--ds-text-heading);text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* two-column detail */
.adm-detail{display:flex;gap:24px;align-items:stretch;min-height:calc(100vh - 135px - var(--demo-bar-h, 0px))}
.adm-left{flex:0 0 300px;width:300px;padding:20px;background:var(--ds-surface)}
.adm-left__back{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.adm-left__back button,.adm-left__back>a{border:0;background:none;padding:0;color:var(--ds-text-strong);cursor:pointer;display:inline-flex}
.adm-left h1{font-size:20px;line-height:28px;font-weight:700;color:var(--ds-text-heading);word-break:break-word}
.adm-left h4{margin-top:24px;font-size:16px;line-height:25px;font-weight:700;color:var(--ds-text-heading)}
.adm-left__row{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:14px;line-height:22px;color:var(--ds-text-heading);min-width:0}
.adm-left__row .ds-ico{color:var(--ds-text-muted)}
.adm-left__row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adm-left__label{margin-top:24px;margin-bottom:8px;font-size:14px;line-height:22px;font-weight:700;color:var(--ds-text-faint)}
.adm-left__text{font-size:14px;line-height:22px;color:var(--ds-text-heading)}
.adm-left__block{margin:24px -20px 0;padding:20px;background:var(--ds-surface-subtle);border-right:3px solid var(--ds-brand)}
.adm-left__block .adm-left__label:first-child{margin-top:0}
.adm-left hr{border:0;border-top:1px solid var(--ds-line);margin:16px 0}
.adm-left__mini{margin-top:8px;padding:2px;background:var(--ds-surface-subtle)}
.adm-left__mini small{display:block;font-size:12px;line-height:20px;color:var(--ds-text-secondary)}
.adm-right{flex:1;min-width:0;padding:0 20px 20px;background:var(--ds-surface);position:relative}
.adm-right>.ds-tabs{margin:0 0 20px}
.adm-right h2{font-size:20px;line-height:28px;font-weight:700;color:var(--ds-text-heading);margin-bottom:16px}

/* booking details */
.adm-services{border:1px solid var(--ds-line-strong);margin:4px 0 20px}
.adm-services .ds-collapse+.ds-collapse{margin-top:16px}
.adm-svc-grid{display:grid;grid-template-columns:32px minmax(0,1fr) 20% 16% 12%;align-items:center;column-gap:0;font-size:14px;line-height:22px}
.adm-svc-grid .h{font-size:12px;line-height:19px;color:var(--ds-text-muted);padding:12px 8px}
.adm-svc-grid .c{padding:12px 8px;color:var(--ds-text-body)}
.adm-svc-grid .c.name{color:var(--ds-text-heading)}
.adm-svc-note{display:flex;justify-content:flex-end;padding:8px 0 0}
.adm-svc-note .ds-textarea{width:368px;min-height:32px;height:32px}
.adm-addrow{width:32px;height:32px;border:0;background:none;color:var(--ds-brand);cursor:pointer;display:flex;align-items:center;justify-content:center}
.adm-totals{display:flex;align-items:stretch;border:1px solid var(--ds-line-soft);background:var(--ds-surface-subtle)}
.adm-totals>*{min-width:0}
.adm-totals__appt{flex:1;padding:16px 20px}
.adm-totals__appt h5,.adm-totals__opts h5{font-size:14px;line-height:22px;font-weight:700;color:var(--ds-text-secondary);margin-bottom:8px}
.adm-totals__fields{display:grid;grid-template-columns:193px;gap:8px}
.adm-totals__fields .pair{display:grid;grid-template-columns:88px 88px;gap:16px}
.adm-totals__opts{padding:16px 20px;min-width:180px}
.adm-totals__sum{flex:0 0 192px;padding:16px 20px;background:var(--ds-surface-muted);border-left:1px solid var(--ds-slate-8)}
.adm-totals__sum div{display:flex;justify-content:space-between;gap:12px;font-size:14px;line-height:22px;color:var(--ds-text-heading)}
.adm-totals__sum div+div{margin-top:8px}
.adm-totals__sum span{color:var(--ds-text-secondary)}
.adm-totals__sum .total{padding-top:8px;border-top:1px solid var(--ds-black-06);font-weight:700}
.adm-totals__sum .total span{color:var(--ds-text-heading)}
.adm-actions{display:flex;justify-content:flex-end;gap:12px;padding:12px 20px;background:var(--ds-surface-subtle)}
.adm-cond__top{display:flex;justify-content:flex-end;margin-bottom:28px}
.adm-cond__hint{text-align:center;margin-bottom:24px}
.adm-cond__car{display:block;width:100%;max-width:738px;margin:0 auto;cursor:crosshair}
.adm-markers{display:flex;justify-content:center;gap:16px;margin-top:40px}
.adm-marker{display:inline-flex;justify-content:space-between;align-items:center;width:160px;height:40px;padding:4px 16px;border:1px solid;border-radius:var(--ds-radius-md);background:var(--ds-surface);font-weight:700;cursor:pointer}
.adm-marker--scratch{border-color:var(--ds-orange-6);color:var(--ds-orange-6)}
.adm-marker--scratch.is-active{background:var(--ds-orange-1)}
.adm-marker--dent{border-color:var(--ds-purple-6);color:var(--ds-purple-6)}
.adm-marker--dent.is-active{background:var(--ds-purple-1)}
.adm-marker--mark{border-color:var(--ds-marine);color:var(--ds-marine)}
.adm-cond__caption{text-align:center;margin-top:60px}
.adm-pin{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;border:2px solid var(--ds-surface);box-shadow:0 0 0 1px var(--ds-black-25)}

/* forms in admin detail */
.adm-form{max-width:428px}
.adm-form--wide{max-width:none}
.adm-form .ds-form-item{margin-bottom:16px}
.adm-form .ds-form-item>label{font-size:14px;color:var(--ds-text-strong)}
.adm-form .ds-form-row{column-gap:16px}
.adm-form__foot{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.adm-inline{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:14px;color:var(--ds-text-body)}
.adm-inline .ds-input,.adm-inline .ds-select{width:auto}
.adm-check-row{display:flex;gap:64px;margin-bottom:24px}
.adm-tags{display:flex;flex-wrap:wrap;gap:4px;padding:4px;min-height:32px;border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-sm);background:var(--ds-surface)}
.adm-tags .ds-tag{background:var(--ds-black-06);border-color:transparent;font-size:14px;line-height:22px;height:24px;color:var(--ds-text-body)}

/* package categories */
.adm-cats{display:flex;gap:24px;margin-bottom:24px}
.adm-cat{display:flex;align-items:center;justify-content:space-between;width:208px;height:66px;padding:0 16px;border:1px solid var(--ds-line);border-radius:var(--ds-radius-sm);background:var(--ds-surface);font-size:14px;font-weight:500;color:var(--ds-text-heading);cursor:pointer}
.adm-cat.is-selected{border-color:var(--ds-brand);color:var(--ds-brand)}
.adm-cat .n{padding:0 6px;border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-sm);font-size:12px;line-height:20px;font-weight:400;color:var(--ds-text-body)}

/* survey builder (Survey Form PDF + live) */
.adm-survey h3{font-size:18px;line-height:26px;font-weight:400;text-transform:uppercase;color:var(--ds-text-heading)}
.adm-survey__sub{display:flex;justify-content:space-between;margin:4px 0 16px;font-size:14px;line-height:22px;color:var(--ds-text-muted)}
.adm-q{position:relative;margin-bottom:16px;padding:16px 20px;background:var(--ds-surface-muted);border-radius:var(--ds-radius-md)}
.adm-q__row{display:grid;grid-template-columns:1fr 192px;gap:16px}
.adm-q__row label{display:block;font-size:14px;line-height:22px;color:var(--ds-text-body);margin-bottom:4px}
.adm-q__ans{display:flex;align-items:center;gap:8px;margin-top:8px}
.adm-q__ans .ds-radio .dot,.adm-q__ans .ds-check .box{flex:none}
.adm-q__ans .ds-input{flex:1}
.adm-q__ans .x{width:24px;height:24px;border:0;background:none;color:var(--ds-text-body);cursor:pointer}
.adm-q__hint{margin-top:16px;font-style:italic;color:var(--ds-text-muted)}
.adm-q__del{display:flex;justify-content:flex-end;margin-top:16px}
.adm-q__del button{width:32px;height:32px;border:1px solid var(--ds-line-strong);border-radius:50%;background:var(--ds-surface);color:var(--ds-text-body);cursor:pointer}
.adm-addq{display:inline-flex;align-items:center;gap:8px;margin:4px 0 16px 12px;background:none;border:0;color:var(--ds-brand);cursor:pointer}
.adm-addq small{color:var(--ds-text-muted)}
.adm-survey__foot{display:flex;justify-content:flex-end;gap:8px;position:relative}
.adm-pub{position:relative}
.adm-pub .ds-dropdown{right:0;bottom:40px}
.adm-resp{padding:16px 20px;margin-bottom:16px;background:var(--ds-surface-muted);border-radius:var(--ds-radius-md)}
.adm-resp__head{display:flex;justify-content:space-between;gap:12px}
.adm-resp__head b{font-weight:700;color:var(--ds-text-heading)}
.adm-resp__head small{display:block;color:var(--ds-text-muted)}
.adm-resp__chart{display:flex;justify-content:center;align-items:center;gap:24px;padding:16px 0}
.adm-resp__list{display:flex;flex-direction:column;gap:4px;padding:8px 0;color:var(--ds-text-heading)}

/* roles */
.adm-roles{display:grid;grid-template-columns:166px 1fr;border:1px solid var(--ds-line)}
.adm-roles__list{border-right:1px solid var(--ds-line)}
.adm-roles__list h5{display:flex;justify-content:space-between;align-items:center;padding:8px 4px 8px 8px;background:var(--ds-surface-sunken);font-weight:600;color:var(--ds-text-strong)}
.adm-roles__list small{display:block;padding:4px 8px;font-size:12px;color:var(--ds-text-placeholder)}
.adm-roles__list button{display:block;width:100%;padding:6px 8px;border:0;background:none;text-align:left;font-size:14px;line-height:22px;color:var(--ds-text-body);cursor:pointer}
.adm-roles__list button[aria-pressed="true"]{background:var(--ds-role-selected);font-weight:600;color:var(--ds-text-heading)}
.adm-matrix th,.adm-matrix td{padding:8px 4px;text-align:center}
.adm-matrix th:first-child,.adm-matrix td:first-child{text-align:left;padding-left:4px}
.adm-matrix .child td:first-child{padding-left:16px}
.adm-matrix th{background:var(--ds-surface-sunken)}

/* general settings */
.adm-logos{display:flex;flex-direction:column;align-items:center;gap:12px;width:160px}
.adm-logo{display:flex;align-items:center;justify-content:center;width:100px;height:100px;border:1px solid var(--ds-line);border-radius:50%;overflow:hidden;background:var(--ds-surface)}
.adm-logo img{max-width:70%;max-height:70%}
.adm-logo--dark{background:var(--ds-gray-13)}
.adm-swatch{display:flex;align-items:center;justify-content:space-between;height:32px;padding:0 8px;border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-sm)}
.adm-swatch i{width:12px;height:12px;border-radius:2px}
.adm-company{display:grid;grid-template-columns:160px 1fr 1fr;gap:24px 32px}
