/* NEXT is a presentation layer. Canonical fields, forms and events stay intact. */
:root{--next-ink:#243f4b;--next-muted:#617e88;--next-accent:#176b75;--next-line:#d1e1e4;--next-soft:#e3eff0}
body.next-workspace{background:radial-gradient(ellipse at 88% 0%,#d5e7e9,transparent 48%),radial-gradient(ellipse at 0% 80%,#e1e9ef,transparent 55%),#eef4f5;color:var(--next-ink);min-height:100vh}
body.next-workspace .workspace{background:transparent!important}body.next-workspace aside.workspace-nav{background:linear-gradient(160deg,#1a414c,#16343f)!important;border-right:1px solid #ffffff25}
body.next-workspace main{padding:30px clamp(18px,3vw,52px)!important}body.next-workspace .next-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 28px;padding-bottom:20px;border-bottom:1px solid var(--next-line);color:var(--next-muted);font-size:11.95425px;letter-spacing:.3px}body.next-workspace .next-wordmark{font-weight:750;font-size:17.388px;letter-spacing:2px;color:var(--next-ink)}.next-wordmark span{font-size:9.78075px;border:1px solid #aac8ce;border-radius:5px;padding:3px 6px;margin-left:7px;vertical-align:middle}.next-test-badge{font-size:10.8675px;letter-spacing:1px;color:var(--next-muted)}
body.next-workspace .next-topbar button{border-radius:10px;border:1px solid var(--next-line);background:#ffffffa0;color:var(--next-ink);padding:8px 12px;font-size:11.95425px;min-height:34px}
body.next-workspace .booking-editor-title{gap:18px;align-items:center;margin:0 0 22px}body.next-workspace .booking-editor-title h1{color:var(--next-ink)!important;font-size:clamp(24px,2.5vw,36px)!important;letter-spacing:-1px;font-weight:600}body.next-workspace .booking-editor-title>a{color:var(--next-accent)}body.next-workspace .booking-save-bar button{border-radius:11px;min-height:40px;padding:10px 16px;font-size:13.041px}
body.next-workspace .next-section-nav{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 24px}body.next-workspace .next-section-nav a{font-size:11.95425px;border:1px solid #c4dadd;border-radius:24px;padding:8px 14px;color:var(--next-muted);text-decoration:none;background:#ffffff60}body.next-workspace .next-section-nav a:hover,body.next-workspace .next-section-nav a:focus-visible{background:var(--next-accent);color:white;border-color:var(--next-accent)}
body.next-workspace .create-layout{grid-template-columns:minmax(0,1fr) 340px;gap:22px}body.next-workspace .create-layout .card{padding:24px!important;margin-bottom:20px!important;border:1px solid #ffffffed!important;border-radius:22px!important;background:#ffffffbb!important;box-shadow:0 12px 36px #294d5109,0 2px 3px #294d5104!important;backdrop-filter:blur(16px);scroll-margin-top:22px}
body.next-workspace .create-layout h2{font-weight:600;font-size:18.47475px;color:var(--next-ink)!important;margin-bottom:20px;letter-spacing:-.3px}body.next-workspace .create-step{background:var(--next-soft);color:var(--next-accent);border:1px solid #c4dadd;font-size:10.8675px;width:27px;height:27px;border-radius:9px}
body.next-workspace .create-main-top{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}body.next-workspace .create-main-second{gap:16px}body.next-workspace label{font-size:11.95425px;color:var(--next-muted)}body.next-workspace :is(input,select,textarea){color:var(--next-ink);background:#ffffffb8;border-color:var(--next-line);border-radius:9px;font-size:14.12775px}body.next-workspace :is(input,select){min-height:40px;height:40px;padding:9px 11px}body.next-workspace :is(input,select,textarea):focus-visible{outline:2px solid #398b92;outline-offset:2px;box-shadow:0 0 0 5px #176b7509}body.next-workspace :is(button,.button){border-radius:9px;transition:background .18s ease,box-shadow .18s ease}body.next-workspace .primary{background:var(--next-accent)!important;border-color:var(--next-accent)!important;color:#fff!important}body.next-workspace .primary:hover{background:#105862!important;box-shadow:0 5px 12px #176b751c}
body.next-workspace .create-layout :is(#ux-traveller-add,#add-service,.create-customer-add,.create-hotel-choose){color:var(--next-accent)!important;background:#f3f9f9!important;border-color:var(--next-line)!important}body.next-workspace .create-extra summary{color:var(--next-accent)}body.next-workspace .create-right{position:sticky;top:20px;max-height:calc(100dvh - 40px);overflow:auto;padding:1px 3px 12px}body.next-workspace .create-right .create-totals{background:linear-gradient(135deg,#fcfffef0,#dfeef0e8)!important}
body.next-workspace .booking-currency-picker{border:1px solid #bdd4d9;border-radius:9px;margin-left:auto}body.next-workspace .booking-currency-picker button{background:#ffffff80!important;color:var(--next-accent)!important;padding:6px 12px!important;border-radius:0!important;min-height:32px}body.next-workspace .booking-currency-picker button.active{background:var(--next-accent)!important;color:#fff!important}body.next-workspace .create-total-line{border-color:var(--next-line);padding:18px 0;font-size:13.041px;color:var(--next-muted)}body.next-workspace .create-total-line strong{font-size:22.82175px;color:var(--next-ink)}body.next-workspace .create-total-line strong small{font-size:11.95425px;color:var(--next-muted);margin-top:7px}body.next-workspace .create-total-line.create-income{background:#d9ebe7;border-radius:12px;padding:15px 10px;color:#246556}body.next-workspace .create-total-line.create-income strong{color:#246556}body.next-workspace .create-ring>div{background:#f9fcfc}body.next-workspace .create-ring :is(strong,small),body.next-workspace .create-legend strong{color:var(--next-ink)}
body.next-workspace th,body.next-workspace td{border-color:#d6e4e6!important;color:var(--next-ink)!important;padding:12px 9px}body.next-workspace th{background:#edf5f6!important;color:var(--next-muted)!important;font-size:10.8675px}body.next-workspace tfoot td{background:var(--next-soft)!important}body.next-workspace .create-service-link{color:var(--next-accent)!important}body.next-workspace .create-cost tbody tr:hover{background:#e3eff0}body.next-workspace .create-row-actions{background:#f8fcfc!important}
body.next-workspace .create-trip output{border-color:var(--next-line);border-radius:9px;height:40px;color:var(--next-ink)}body.next-workspace .create-tourist-head{background:#edf5f6;color:var(--next-muted)}body.next-workspace .traveller-summary{border-color:var(--next-line)!important}body.next-workspace .traveller-summary a{color:var(--next-ink)}body.next-workspace .create-comment textarea{padding:12px;line-height:1.6}
body.next-workspace dialog{border:1px solid #d6e7e8;border-radius:22px;background:#f6fafb;box-shadow:0 32px 100px #16343f40;color:var(--next-ink);animation:next-dialog .22s ease-out}body.next-workspace dialog::backdrop{background:#16343f66;backdrop-filter:blur(7px)}body.next-workspace dialog :is(h2,h3,label){color:var(--next-ink)}body.next-workspace dialog .service-cost-side{border-color:var(--next-line);border-radius:15px;background:var(--next-soft)}body.next-workspace dialog .service-cost-side h3{color:var(--next-accent)}body.next-workspace dialog .service-cost-fields{gap:12px}body.next-workspace dialog .service-rub-total{background:#f9fcfc;border-radius:10px;padding:12px}body.next-workspace dialog :is(.primary,#service-dialog-apply){background:var(--next-accent)!important;color:#fff!important;border-color:var(--next-accent)!important}
body.next-workspace .next-reveal{animation:next-arrive .38s ease both}body.next-workspace .next-reveal:nth-child(2){animation-delay:35ms}body.next-workspace .next-reveal:nth-child(3){animation-delay:65ms}body.next-workspace .next-reveal:nth-child(4){animation-delay:90ms}body.next-workspace [hidden]{display:none!important}.next-section-nav a{scroll-behavior:smooth}
@keyframes next-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes next-dialog{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}
@media(min-width:1600px){body.next-workspace .create-layout{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:1200px){body.next-workspace .create-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}body.next-workspace .create-layout .card{padding:18px!important}body.next-workspace main{padding:24px 18px!important}body.next-workspace .create-right .create-totals h2{flex-wrap:wrap}body.next-workspace .booking-currency-picker{margin-left:0}}
@media(max-width:1000px){body.next-workspace .create-layout{display:flex;flex-direction:column}body.next-workspace .create-left,body.next-workspace .create-right{width:100%}body.next-workspace .create-right{position:static;max-height:none;overflow:visible}.next-topbar{flex-wrap:wrap}body.next-workspace .booking-save-bar{margin:0;width:100%}body.next-workspace .booking-editor-title{flex-wrap:wrap}}
@media(max-width:600px){body.next-workspace .create-layout .card{padding:16px!important;border-radius:18px!important}body.next-workspace .next-topbar{gap:12px}.next-test-badge{font-size:9.78075px}body.next-workspace .create-main-top{grid-template-columns:1fr}body.next-workspace .create-main-second{grid-template-columns:1fr}body.next-workspace .booking-save-bar{flex-wrap:wrap}body.next-workspace .booking-save-bar button{flex:1}body.next-workspace .create-right .create-totals h2{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){body.next-workspace *,body.next-workspace *::before,body.next-workspace *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body.next-workspace .workspace-nav .nav-items a[aria-current=page]{background:#297580!important;color:#fff}body.next-workspace .workspace-nav .brand>span:first-child{color:#a6d8dc}body.next-workspace .create-menu-trigger{color:var(--next-accent)!important;border-color:var(--next-line)!important}body.next-workspace .booking-save-bar .secondary{color:var(--next-accent)!important;border-color:var(--next-line)!important;background:#f8fcfc!important}body.next-workspace .booking-editor-title{position:sticky;top:0;z-index:17;padding:12px 0;background:#edf4f4e8;backdrop-filter:blur(16px);border-bottom:1px solid #d1e1e477}body.next-workspace .create-chart .create-ring{filter:hue-rotate(-55deg) saturate(.55)}body.next-workspace .create-chart .create-ring>div{filter:hue-rotate(55deg)}body.next-workspace .next-section-nav a{transition:background .15s,color .15s}body.next-workspace .search-results{border-radius:12px;border-color:var(--next-line);box-shadow:0 10px 30px #16343f18}body.next-workspace .search-results button{color:var(--next-ink)}body.next-workspace .create-main-second{grid-template-columns:repeat(2,minmax(0,1fr))}body.next-workspace .create-main-second>div{grid-column:auto}@media(max-width:600px){body.next-workspace .booking-editor-title{position:static}body.next-workspace .create-main-second{grid-template-columns:1fr}}
body.next-workspace #service-dialog.sd-reference{border-radius:22px;background:#edf5f5;border:1px solid #d0e1e3}body.next-workspace #service-dialog.sd-reference>.dialog-heading{background:#f3f9f9;border-color:var(--next-line);height:58px;min-height:58px;padding:14px 20px}body.next-workspace #service-dialog.sd-reference .dialog-heading h2{color:var(--next-ink);font-weight:600}body.next-workspace #service-dialog.sd-reference .dialog-heading h2:before,body.next-workspace #service-dialog.sd-reference .sd-nav button.active,body.next-workspace .sd-heading>.sd-icon{background:var(--next-accent)}body.next-workspace #service-dialog.sd-reference .sd-nav button{color:var(--next-ink);border-radius:9px;margin:4px 0}body.next-workspace #service-dialog.sd-reference .sd-nav button.active{color:white}body.next-workspace #service-dialog.sd-reference .sd-nav button:hover:not(.active){background:var(--next-soft)}body.next-workspace .sd-nav .sd-icon{color:var(--next-accent)}body.next-workspace .sd-layout{gap:14px;padding:14px}body.next-workspace .sd-center,body.next-workspace .sd-card{border-radius:14px;border-color:var(--next-line);background:#ffffffce}body.next-workspace .sd-nav{border-color:var(--next-line)}body.next-workspace #service-dialog.sd-reference .sd-heading{color:var(--next-ink);border-color:var(--next-line)}body.next-workspace #service-dialog.sd-reference .sd-center>.editor-grid>div>label{color:var(--next-muted)}body.next-workspace #service-dialog.sd-reference .sd-add-tourist{background:var(--next-soft);color:var(--next-accent)}body.next-workspace #service-dialog.sd-reference .service-cost-side{border:1px solid var(--next-line);background:#edf6f5;border-radius:12px}body.next-workspace #service-dialog.sd-reference .service-cost-side h3{color:var(--next-ink)}body.next-workspace .sd-tourist-index{background:var(--next-soft);color:var(--next-accent)}body.next-workspace .sd-tourist-line input[type=checkbox]{accent-color:var(--next-accent)}body.next-workspace .create-choose-traveller{color:var(--next-accent)!important;border-color:var(--next-line)!important;background:#f4fafa!important}.next-environment-marker{margin:10px 16px;padding:8px 12px;background:#dceeed;color:#245660;border:1px solid #bdd6d7;border-radius:9px;font:11px system-ui;text-align:center}.next-environment-marker a{color:inherit;text-decoration:underline}
body.next-workspace #service-dialog.sd-reference .sd-nav button.active,body.next-workspace #service-dialog.sd-reference .sd-heading>.sd-icon,body.next-workspace #service-dialog.sd-reference #service-dialog-apply,body.next-workspace #service-dialog.sd-reference .dialog-heading h2:before{background:var(--next-accent)!important;color:white!important}body.next-workspace #service-dialog.sd-reference :is(input,select,textarea){color:var(--next-ink)!important;border-color:var(--next-line)!important;border-radius:8px!important}body.next-workspace #service-dialog.sd-reference :is(.sd-nav>h3,.sd-heading,.dialog-heading h2){color:var(--next-ink)!important}body.next-workspace #service-dialog.sd-reference label{color:var(--next-muted)!important}body.next-workspace #service-dialog.sd-reference .sd-margin,body.next-workspace #service-dialog.sd-reference .service-planned-income{background:#dceee7!important;color:#255d4d!important;border-radius:9px}body.next-workspace #service-dialog.sd-reference .sd-type-control{background:#e8f2f2;border-radius:10px}
/* NEXT uses readable native sizing; comparison restores the existing page zoom. */
html:has(>body.next-workspace){zoom:1!important}body.next-workspace aside.workspace-nav{width:220px}body.next-workspace:has(.workspace-nav)>.workspace{margin-left:220px}body.next-workspace .create-layout{grid-template-columns:minmax(0,1fr) 320px}body.next-workspace .create-table-scroll{max-width:100%;overflow:auto}body.next-workspace .create-left,body.next-workspace .create-right{min-width:0}@media(max-width:1100px){body.next-workspace .create-layout{display:flex;flex-direction:column}body.next-workspace .create-left,body.next-workspace .create-right{width:100%}body.next-workspace .create-right{position:static;max-height:none;overflow:visible}}@media(max-width:760px){body.next-workspace aside.workspace-nav{width:100%}body.next-workspace:has(.workspace-nav)>.workspace{margin-left:0}}
/* One country control: the flag and input share one surface and focus outline. */
body.next-workspace .country-search-control{gap:9px;padding:0 30px 0 12px;min-height:40px;box-sizing:border-box;border:1px solid var(--next-line);border-radius:9px;background:var(--next-surface,#f7fbfb);outline:none}
body.next-workspace .country-search-control:focus-within{outline:2px solid var(--next-accent);outline-offset:2px;box-shadow:0 0 0 5px color-mix(in srgb,var(--next-accent) 6%,transparent)}
body.next-system.next-workspace .country-search-control>input[type=search]{flex:1;width:100%;padding:9px 0!important;border:0!important;border-radius:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:var(--next-ink)!important}
body.next-workspace .country-search-control input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
body.next-workspace .country-search-control>.country-flag{font-size:22.82175px;line-height:1;min-width:23px;text-align:center}
body.next-workspace .create-main-bottom>div:has(#id_country)>.quiet{top:25px;right:5px;width:24px;height:28px;min-height:28px;z-index:1;background:transparent!important;border:0!important;box-shadow:none}
body.next-workspace .create-main-bottom>div:has(#id_country)>.quiet:after{color:var(--next-muted)}
/* The legend adapts to its card width, rather than squeezing beside the ring. */
body.next-workspace .create-structure{container-type:inline-size}
body.next-workspace .create-chart{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;justify-items:center;align-items:center}
body.next-workspace .create-chart .create-ring{width:160px;height:160px;padding:18px;max-width:100%}
body.next-workspace .create-chart .create-ring>div{gap:6px;background:var(--next-surface,#f7fbfb)}
body.next-workspace .create-ring :is(strong,small){white-space:nowrap;word-break:normal;overflow-wrap:normal;font-variant-numeric:tabular-nums}
body.next-workspace .create-ring strong{font-size:14.12775px;letter-spacing:-.2px}
body.next-workspace .create-ring small{font-size:10.8675px}
body.next-workspace .create-legend{width:100%;min-width:0}
body.next-workspace .create-legend>div{grid-template-columns:9px minmax(0,1fr) max-content;gap:9px;align-items:start;margin:0;padding:11px 0;border-top:1px solid var(--next-line);font-size:13.041px;line-height:1.5}
body.next-workspace .create-legend i{margin-top:5px;filter:hue-rotate(-55deg) saturate(.55)}
body.next-workspace .create-legend span{min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word;hyphens:auto;color:var(--next-ink)}
body.next-workspace .create-legend strong{font-size:11.95425px;font-variant-numeric:tabular-nums;white-space:nowrap}
@container(min-width:420px){body.next-workspace .create-chart{grid-template-columns:160px minmax(0,1fr);gap:24px}}
body.next-workspace .create-totals{container-type:inline-size}
/* Keep active form popups above the neighbouring glass cards. On mobile the
   calendar is fixed, so its card must not establish a filtered containing block. */
body.next-workspace .create-left .card:focus-within{position:relative;z-index:3}
body.next-workspace .create-left .card:has(.date-calendar:not([hidden])){position:relative;z-index:3;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;animation:none!important}
/* Reserve separate grid cells for the hotel input, its clear control and chooser. */
body.next-workspace.booking-unified-reference .create-hotel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;padding-right:0;min-width:0}
body.next-workspace .create-hotel>label{grid-column:1/-1}
body.next-workspace .create-hotel>input[type=search],body.next-workspace .create-hotel>select{grid-column:1;grid-row:2;width:100%;min-width:0;box-sizing:border-box;padding-right:32px!important}
body.next-workspace .create-hotel>input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
body.next-workspace.booking-unified-reference .create-hotel>.quiet{position:static;grid-column:1;grid-row:2;justify-self:end;align-self:center;z-index:1;margin-right:4px;width:26px;height:30px;min-height:30px;background:transparent}
body.next-workspace.booking-unified-reference .create-hotel-choose{position:static;grid-column:2;grid-row:2;align-self:stretch;height:40px;white-space:nowrap}
body.next-workspace .create-hotel>small{grid-column:1/-1}
body.next-workspace .create-total-line{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:10px;align-items:center}
body.next-workspace .create-total-line strong,body.next-workspace .create-total-line strong small{white-space:nowrap;word-break:normal;overflow-wrap:normal;font-variant-numeric:tabular-nums}
@container(max-width:260px){body.next-workspace .create-total-line{grid-template-columns:minmax(0,1fr);gap:7px}body.next-workspace .create-total-line strong{text-align:left}}

/* Local SVG flags share the same dimensions in search and selected country controls. */
.country-flag>img{display:inline-block;width:18px;height:12px;min-width:18px;vertical-align:middle;object-fit:fill;border-radius:2px}
.overview-country-flag{flex-shrink:0;object-fit:fill}

body.next-system .customer-traveller-prompt{width:min(400px,calc(100vw - 32px));box-sizing:border-box;padding:24px;border:1px solid var(--next-line);border-radius:18px;background:var(--next-surface);color:var(--next-ink)}
.customer-traveller-prompt h2{font-size:18px;margin:0 0 12px}.customer-traveller-prompt>div{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.customer-traveller-prompt button{min-width:70px}

body.next-workspace #editor-travellers .traveller-search-actions{display:flex;align-items:center;gap:8px;width:100%;margin:10px 0 16px}
body.next-workspace #editor-travellers .traveller-search-actions>input{flex:1;min-width:0;width:auto}
body.next-workspace :is(#ux-customer-add,#editor-travellers #create-traveller){display:grid;place-items:center;box-sizing:border-box;flex:0 0 38px;width:38px;height:35px;min-height:35px;padding:5px 10px;font-size:0.95090625rem;font-weight:400;line-height:normal;border:1px solid var(--next-line)!important;border-radius:9px;background:#f3f9f9!important;color:var(--next-accent)!important;box-shadow:none}

body.next-workspace #customer-picker :is(#customer-summary,#customer-actions,#customer-results)[hidden]{display:none!important}
body.next-workspace #customer-actions .customer-action-menu :is(a,button){display:block;box-sizing:border-box;width:100%;height:auto;min-height:0;margin:0;padding:10px!important;font-family:inherit;font-size:13.041px!important;font-weight:400!important;line-height:1.4;text-align:left;text-decoration:none;color:var(--next-accent)!important;background:transparent;border:0;border-radius:6px;box-shadow:none;white-space:normal}
body.next-workspace #customer-actions .customer-action-menu{background:var(--next-surface);border-color:var(--next-line)}
body.next-workspace #customer-actions .customer-action-menu :is(a,button):hover{background:var(--next-soft)}
body.next-workspace #customer-actions .customer-action-menu button:disabled{color:var(--next-muted)!important;opacity:.65}

body.next-workspace #customer-actions .customer-action-menu [hidden]{display:none!important}
/* Tour controls use one label baseline and one shared control height. */
body.next-workspace .create-tour-parameters .create-main-bottom{align-items:start}
body.next-workspace .create-tour-parameters .create-main-bottom>div>label{line-height:16px;min-height:16px;margin:0 0 4px}
body.next-workspace .create-tour-parameters .create-trip{align-items:start}
body.next-workspace .create-tour-parameters .create-trip>label{display:flex;flex-direction:column;gap:4px;line-height:16px;margin:0}
body.next-workspace .create-tour-parameters :is(.country-search-control,.create-hotel>input[type=search],.create-hotel-choose,.create-trip output,.create-trip .date-control,.create-trip .date-control>input){height:36px;min-height:36px;box-sizing:border-box;margin-top:0;margin-bottom:0}
body.next-workspace .create-tour-parameters .country-search-control>input{height:100%;min-height:0}
body.next-workspace .create-tour-parameters .create-trip .date-control{position:relative;display:flex;align-items:center}
body.next-workspace .create-tour-parameters .create-trip .date-calendar-open{position:absolute!important;right:3px;top:50%!important;transform:translateY(-50%);width:28px;min-width:28px;height:28px;min-height:28px;margin:0;padding:4px!important}
/* Lift the whole customer card's stacking context, not only its dropdown. */
body.next-workspace #editor-customer{position:relative;overflow:visible!important}
body.next-workspace #editor-customer:has(#customer-actions[open]){z-index:60!important}
body.next-workspace #editor-customer #customer-actions{position:relative;overflow:visible}
body.next-workspace #editor-customer #customer-actions[open]>.customer-action-menu{z-index:61;pointer-events:auto}

body.crm-embedded .client-profile-layout.client-profile-create{display:block;grid-template-columns:minmax(0,1fr)}

body.next-workspace #customer-dialog>.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.next-workspace #customer-dialog .customer-type-switch{display:inline-flex;gap:2px;align-items:center;padding:3px;border:1px solid var(--next-line);border-radius:10px;background:var(--next-soft);margin:0}
body.next-workspace #customer-dialog .customer-type-switch button{min-height:30px;padding:5px 10px;font-size:12px;font-weight:400;border:0;border-radius:7px;background:transparent;color:var(--next-muted);box-shadow:none;white-space:nowrap}
body.next-workspace #customer-dialog .customer-type-switch button[aria-pressed=true]{background:var(--next-surface);color:var(--next-accent);box-shadow:0 1px 4px #16343f12}
body.next-workspace #customer-dialog .customer-type-switch[hidden],body.next-workspace #customer-dialog #customer-type{display:none!important}
body.next-workspace #customer-dialog>#customer-dialog-error:empty{display:none}

body.next-workspace .create-service-row{cursor:pointer}
body.next-workspace .create-service-row:hover>td{background:var(--next-soft)}
body.next-workspace .create-service-row:focus-visible{outline:2px solid var(--next-accent);outline-offset:-2px}

.rates61-cbr{display:flex;justify-content:center;align-items:center;gap:24px;flex-wrap:wrap;padding:4px 16px 18px;color:var(--next-muted);font-size:13px}.rates61-cbr strong{color:var(--next-ink);font-variant-numeric:tabular-nums}.rates61-delta{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.6}.rates61-delta-up{color:#168257}.rates61-delta-down{color:#c13f4e}.rates61-delta-flat{color:var(--next-muted)}

.rates61 .rates61-cbr-premium{color:#356bc4;font-size:12px;line-height:1.6;white-space:nowrap;font-variant-numeric:tabular-nums}
.rates61 table.rates61-current{min-width:840px}.rates61 .rates61-current th:nth-child(2){width:30%}

.rates61-comparison-links{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-left:auto}.rates61-comparison-links a{margin-left:0!important;white-space:nowrap}

.rates61 .rates61-toggle{display:inline-flex;align-items:center;position:relative;margin:0;cursor:pointer}.rates61-toggle input{position:absolute;opacity:0;width:40px!important;height:24px;inset:0;margin:0;cursor:pointer}.rates61-toggle>span{display:block;pointer-events:none;width:40px;height:24px;border-radius:20px;background:#bdcbd1;transition:background .18s}.rates61-toggle>span:after{content:'';display:block;width:20px;height:20px;margin:2px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #18333e30;transition:transform .18s}.rates61-toggle input:checked+span{background:#35c759}.rates61-toggle input:checked+span:after{transform:translateX(16px)}.rates61-toggle input:focus-visible+span{outline:2px solid var(--next-accent);outline-offset:3px}.rates61-toggle input:disabled+span{opacity:.55;cursor:wait}

/* Shared copy controls follow the selected workspace palette. */
body.next-system :is(button[data-copy-value],button.person-copy-button){color:var(--next-accent)!important}
body.next-system :is(button[data-copy-value],button.person-copy-button) svg{color:inherit;fill:currentColor}
body.next-system :is(button[data-copy-value],button.person-copy-button):hover{background:var(--next-soft)!important}
