/*
 * TOP1 Service — Service data workspace.
 * This layer is intentionally scoped to the service_data section so that the
 * planner, orders, sidebar and AI widget keep their own visual contracts.
 */

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell {
	--top1-data-ink: #0f172a;
	--top1-data-muted: #64748b;
	--top1-data-line: #dbe4ef;
	--top1-data-line-strong: #cbd7e5;
	--top1-data-surface: #ffffff;
	--top1-data-soft: #f5f8fc;
	--top1-data-accent: #e11d2e;
	--top1-data-accent-dark: #bd1022;
	--top1-data-focus: rgba(37, 99, 235, .18);
	display: grid;
	gap: 16px;
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	color: var(--top1-data-ink);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell * {
	box-sizing: border-box;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	min-height: 112px;
	padding: 20px 22px;
	overflow: hidden;
	border: 1px solid rgba(203, 213, 225, .82);
	border-radius: 20px;
	background:
		radial-gradient(circle at 92% 15%, rgba(225, 29, 46, .095), transparent 28%),
		linear-gradient(135deg, #ffffff 0%, #f8fbff 62%, #fff8f8 100%);
	box-shadow: 0 16px 44px rgba(15, 23, 42, .08);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro::after {
	content: "";
	position: absolute;
	right: 80px;
	bottom: -52px;
	width: 210px;
	height: 90px;
	border: 18px solid rgba(225, 29, 46, .035);
	border-radius: 50%;
	pointer-events: none;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-mark {
	position: relative;
	z-index: 1;
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 1px solid rgba(225, 29, 46, .18);
	border-radius: 17px;
	background: linear-gradient(145deg, #fff 0%, #fff1f2 100%);
	color: var(--top1-data-accent);
	box-shadow: 0 12px 28px rgba(225, 29, 46, .12);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-mark svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-copy {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-eyebrow,
.top1-app-shell[data-top1-section="service_data"] .top1-command-eyebrow {
	display: block;
	margin: 0 0 4px;
	color: #b91c2c;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .11em;
	line-height: 1.2;
	text-transform: uppercase;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro h1 {
	margin: 0;
	color: var(--top1-data-ink);
	font-size: clamp(24px, 2.1vw, 34px);
	font-weight: 950;
	letter-spacing: -.035em;
	line-height: 1.05;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro p {
	max-width: 820px;
	margin: 7px 0 0;
	color: #526277;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.45;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-badge {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 3px;
	min-width: 174px;
	padding: 12px 14px;
	border: 1px solid rgba(203, 213, 225, .78);
	border-radius: 14px;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 8px 22px rgba(15, 23, 42, .055);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-badge span {
	color: var(--top1-data-muted);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-badge strong {
	color: #1e293b;
	font-size: 13px;
	font-weight: 900;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	width: 100%;
	min-height: 58px;
	padding: 6px;
	border: 1px solid rgba(203, 213, 225, .84);
	border-radius: 17px;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-tabs .top1-dashboard-segment {
	position: relative;
	display: inline-flex;
	min-width: 0;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 10px 15px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	color: #475569;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-tabs .top1-dashboard-segment::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	background: currentColor;
	-webkit-mask: var(--top1-data-tab-icon) center / contain no-repeat;
	mask: var(--top1-data-tab-icon) center / contain no-repeat;
}

.top1-app-shell[data-top1-section="service_data"] [data-top1-service-data-tab-link="clients_vehicles"] {
	--top1-data-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3ZM8 11c1.66 0 3-1.34 3-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3Zm8 2c-2 0-6 1-6 3v3h12v-3c0-2-4-3-6-3ZM8 13c-2.33 0-7 1.17-7 3.5V19h7v-3c0-.85.33-1.58.89-2.2A7.92 7.92 0 0 0 8 13Z'/%3E%3C/svg%3E");
}

.top1-app-shell[data-top1-section="service_data"] [data-top1-service-data-tab-link="orders"] {
	--top1-data-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15H6a2 2 0 0 1-2-2V4c0-1.1.9-2 2-2Zm8 2v4h4l-4-4ZM8 12v2h8v-2H8Zm0 4v2h8v-2H8Z'/%3E%3C/svg%3E");
}

.top1-app-shell[data-top1-section="service_data"] [data-top1-service-data-tab-link="work"] {
	--top1-data-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M22.7 19.3 13.6 10.2a6 6 0 0 1-7.4 7.4l-4.5 4.5-1.4-1.4 4.5-4.5A6 6 0 0 1 12.2 8.8l9.1 9.1 1.4 1.4ZM7 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-tabs .top1-dashboard-segment:hover,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-tabs .top1-dashboard-segment:focus-visible {
	border-color: #d8e2ed;
	background: #f7f9fc;
	color: #172033;
	outline: none;
	transform: translateY(-1px);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-tabs .top1-dashboard-segment.is-active {
	border-color: var(--top1-data-accent);
	background: linear-gradient(135deg, #ef233c 0%, #cf1026 100%);
	color: #fff;
	box-shadow: 0 9px 20px rgba(207, 16, 38, .23);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary {
	display: grid;
	grid-template-columns: repeat(var(--top1-summary-columns, 4), minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.top1-app-shell[data-top1-section="service_data"] [data-top1-service-data-tab="work"] .top1-service-data-summary {
	--top1-summary-columns: 3;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary .top1-clients-summary-card {
	position: relative;
	display: grid;
	gap: 5px;
	min-width: 0;
	min-height: 96px;
	align-content: center;
	padding: 16px 18px 15px 20px;
	overflow: hidden;
	border: 1px solid rgba(203, 213, 225, .82);
	border-radius: 16px;
	background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
	box-shadow: 0 11px 28px rgba(15, 23, 42, .065);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary .top1-clients-summary-card::before {
	content: "";
	position: absolute;
	top: 14px;
	bottom: 14px;
	left: 0;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: #2563eb;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary .top1-clients-summary-card:nth-child(2)::before { background: #10b981; }
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary .top1-clients-summary-card:nth-child(3)::before { background: #f59e0b; }
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary .top1-clients-summary-card:nth-child(4)::before { background: #8b5cf6; }

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary .top1-clients-summary-label {
	color: #607086;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .015em;
	line-height: 1.25;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary .top1-clients-summary-value {
	color: var(--top1-data-ink);
	font-size: clamp(23px, 2vw, 29px);
	font-weight: 950;
	letter-spacing: -.035em;
	line-height: 1;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-card {
	min-width: 0;
	padding: 18px;
	border: 1px solid rgba(203, 213, 225, .84);
	border-radius: 20px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 16px 44px rgba(15, 23, 42, .075);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-card > .top1-card-header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	padding: 0 0 15px;
	border-bottom: 1px solid #e5ebf2;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-card .top1-card-header > div {
	min-width: 0;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-card .top1-card-header h2 {
	margin: 0;
	color: var(--top1-data-ink);
	font-size: 19px;
	font-weight: 950;
	letter-spacing: -.02em;
	line-height: 1.18;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-card .top1-card-header p {
	max-width: 850px;
	margin: 6px 0 0;
	color: var(--top1-data-muted);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.45;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(.top1-primary-button, .top1-secondary-button, .top1-app-button, .top1-log-page) {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 14px;
	border-radius: 11px;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell .top1-primary-button,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell .top1-app-button {
	border: 1px solid var(--top1-data-accent);
	background: linear-gradient(135deg, #ef233c 0%, #cf1026 100%);
	color: #fff;
	box-shadow: 0 9px 18px rgba(207, 16, 38, .19);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell .top1-secondary-button,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell .top1-log-page {
	border: 1px solid var(--top1-data-line-strong);
	background: #fff;
	color: #253047;
	box-shadow: 0 4px 10px rgba(15, 23, 42, .035);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(.top1-primary-button, .top1-secondary-button, .top1-app-button, .top1-log-page):hover,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(.top1-primary-button, .top1-secondary-button, .top1-app-button, .top1-log-page):focus-visible {
	outline: none;
	transform: translateY(-1px);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(.top1-primary-button, .top1-app-button):hover,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(.top1-primary-button, .top1-app-button):focus-visible {
	border-color: var(--top1-data-accent-dark);
	background: linear-gradient(135deg, #dc172f 0%, #b70d20 100%);
	box-shadow: 0 12px 24px rgba(190, 15, 34, .25);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(.top1-secondary-button, .top1-log-page):hover,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(.top1-secondary-button, .top1-log-page):focus-visible {
	border-color: #9fb0c4;
	background: #f8fafc;
	color: #0f172a;
	box-shadow: 0 7px 16px rgba(15, 23, 42, .08);
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	width: 100%;
	min-width: 0;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid var(--top1-data-line-strong);
	border-radius: 11px;
	background: #fff;
	color: var(--top1-data-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, .025);
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell textarea {
	min-height: 76px;
	resize: vertical;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):hover {
	border-color: #9fb0c4;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
	border-color: #4f7ee8;
	background: #fff;
	box-shadow: 0 0 0 4px var(--top1-data-focus);
	outline: none;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(input, textarea)::placeholder {
	color: #9aa8b9;
	font-weight: 600;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-toolbar,
.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form {
	display: grid;
	gap: 13px;
	padding: 15px;
	border: 1px solid var(--top1-data-line);
	border-radius: 15px;
	background: #f8fafc;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-toolbar {
	grid-template-columns: minmax(220px, 1fr) minmax(150px, .42fr) minmax(210px, .62fr) auto;
	align-items: end;
	margin-top: 16px;
}

.top1-app-shell[data-top1-section="service_data"] :is(.top1-work-catalog-toolbar, .top1-work-catalog-form) label,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form label,
.top1-app-shell[data-top1-section="service_data"] .top1-vehicle-registry-controls label {
	display: grid;
	min-width: 0;
	gap: 6px;
	color: #3e4b5f;
	font-size: 11px;
	font-weight: 850;
	line-height: 1.2;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-range {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin: 12px 0;
	padding: 11px 13px;
	border: 1px solid var(--top1-data-line);
	border-radius: 13px;
	background: #fff;
	color: #536278;
	font-size: 12px;
	font-weight: 750;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-range b {
	color: var(--top1-data-ink);
	font-weight: 950;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-range nav {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	justify-content: flex-end;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-range .is-disabled {
	min-height: 38px;
	border-style: dashed;
	background: #f8fafc;
	color: #64748b;
	box-shadow: none;
	cursor: default;
	pointer-events: none;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-create {
	gap: 15px;
	margin-bottom: 14px;
	border-color: #cddbea;
	background:
		radial-gradient(circle at 100% 0, rgba(37, 99, 235, .065), transparent 26%),
		linear-gradient(145deg, #f8fbff 0%, #f4f8fc 100%);
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-create-head {
	display: grid;
	gap: 2px;
	padding-bottom: 13px;
	border-bottom: 1px solid #dce6f0;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-create-head span {
	color: #b91c2c;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-create-head strong {
	color: var(--top1-data-ink);
	font-size: 16px;
	font-weight: 950;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-create-head small {
	color: var(--top1-data-muted);
	font-size: 11px;
	font-weight: 650;
	line-height: 1.35;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form-grid {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(150px, .85fr) minmax(180px, 1fr) minmax(90px, .5fr) minmax(90px, .5fr);
	gap: 11px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form-grid .is-wide {
	grid-column: span 2;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
	padding-top: 1px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form label.top1-work-catalog-check {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	gap: 8px;
	margin-right: 0;
	padding: 7px 10px;
	border: 1px solid #d9e3ed;
	border-radius: 10px;
	background: #fff;
	color: #334155;
	cursor: pointer;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form label.top1-work-catalog-check:first-of-type {
	margin-right: auto;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-check input {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--top1-data-accent);
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-list {
	display: grid;
	gap: 8px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item {
	overflow: hidden;
	border: 1px solid var(--top1-data-line);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .035);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item:hover {
	border-color: #b8c7d8;
	box-shadow: 0 9px 22px rgba(15, 23, 42, .07);
	transform: translateY(-1px);
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item[open] {
	border-color: #98afd0;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .09);
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) minmax(150px, 220px) minmax(88px, 110px);
	gap: 11px;
	min-height: 62px;
	align-items: center;
	padding: 11px 13px;
	list-style: none;
	cursor: pointer;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary::-webkit-details-marker {
	display: none;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary::before {
	content: "";
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background-color: #64748b;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m9 18 6-6-6-6v12Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m9 18 6-6-6-6v12Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	transition: transform .16s ease;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item[open] summary::before {
	background-color: #1d4ed8;
	transform: rotate(90deg);
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary span {
	display: grid;
	min-width: 0;
	gap: 3px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary strong {
	color: var(--top1-data-ink);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.28;
	overflow-wrap: anywhere;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary small {
	color: #718096;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary em,
.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary b {
	width: fit-content;
	max-width: 100%;
	padding: 6px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-style: normal;
	font-weight: 850;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary em {
	background: #eef4fb;
	color: #41536b;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary b {
	justify-self: end;
	background: #eafaf3;
	color: #047857;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item.is-inactive summary b {
	background: #fff7e6;
	color: #9a6700;
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item > .top1-work-catalog-form {
	border-width: 1px 0 0;
	border-radius: 0;
	background: #f6f9fc;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-empty {
	padding: 20px;
	border: 1px dashed #b9c7d7;
	border-radius: 14px;
	background: #f8fafc;
	color: #526277;
	font-size: 13px;
	font-weight: 750;
	text-align: center;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form {
	margin-top: 15px;
	padding: 16px;
	border: 1px solid var(--top1-data-line);
	border-radius: 15px;
	background: #f8fafc;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-client-vehicle-form {
	display: grid;
	gap: 14px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-linked-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-form-field-wide {
	grid-column: span 2;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-address-fieldset {
	grid-column: 1 / -1;
	margin: 0;
	padding: 12px;
	border: 1px solid #dce6f0;
	border-radius: 13px;
	background: #fff;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-address-fieldset legend {
	padding: 0 7px;
	color: #334155;
	font-size: 11px;
	font-weight: 900;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-address-grid {
	display: grid;
	grid-template-columns: minmax(120px, .7fr) minmax(140px, .85fr) minmax(180px, 1.3fr) minmax(90px, .5fr) minmax(100px, .55fr);
	gap: 10px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-form-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 2px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-form-actions .top1-app-button {
	min-height: 44px;
	padding-inline: 18px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-vehicle-registry-header {
	align-items: end !important;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-registry-title {
	flex: 1 1 auto;
}

.top1-app-shell[data-top1-section="service_data"] .top1-vehicle-registry-controls,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-orders-toolbar {
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: 8px;
	align-items: end;
	margin: 0;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-orders-toolbar {
	margin: 14px 0;
	padding: 12px;
	border: 1px solid var(--top1-data-line);
	border-radius: 14px;
	background: #f8fafc;
}

.top1-app-shell[data-top1-section="service_data"] .top1-vehicle-registry-controls .top1-vehicle-search-field,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-orders-toolbar .top1-vehicle-search-field {
	min-width: min(330px, 100%);
	flex: 1 1 280px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-vehicle-registry-meta {
	margin: 12px 0 9px;
	color: var(--top1-data-muted);
	font-size: 11px;
	font-weight: 750;
}

.top1-app-shell[data-top1-section="service_data"] .top1-clients-registry {
	overflow: visible;
	border: 1px solid var(--top1-data-line);
	border-radius: 14px;
	background: #fff;
}

.top1-app-shell[data-top1-section="service_data"] .top1-clients-row {
	gap: 12px;
	min-width: 0;
	padding: 12px 13px;
	border-bottom: 1px solid #e7edf4;
	background: #fff;
	transition: background-color .14s ease, box-shadow .14s ease;
}

.top1-app-shell[data-top1-section="service_data"] .top1-clients-row:last-child {
	border-bottom: 0;
}

.top1-app-shell[data-top1-section="service_data"] .top1-clients-row:not(.top1-clients-row-head):hover {
	position: relative;
	z-index: 1;
	background: #f8fbff;
	box-shadow: inset 3px 0 0 #4f7ee8;
}

.top1-app-shell[data-top1-section="service_data"] .top1-clients-row-head {
	padding-block: 10px;
	border-bottom-color: #d6e0eb;
	border-radius: 13px 13px 0 0;
	background: #eef3f8;
	color: #526277;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .025em;
	text-transform: uppercase;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row {
	display: grid;
	grid-template-columns: minmax(220px, 1.35fr) minmax(150px, .85fr) minmax(170px, .9fr) minmax(120px, .65fr) minmax(180px, .82fr);
	align-items: center;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-order-row {
	display: grid;
	grid-template-columns: minmax(140px, .72fr) minmax(260px, 1.55fr) minmax(145px, .78fr) minmax(125px, .65fr) minmax(100px, .5fr);
	align-items: center;
}

.top1-app-shell[data-top1-section="service_data"] :is(.top1-service-data-pair-row, .top1-service-data-order-row) > div {
	min-width: 0;
	color: #334155;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.3;
}

.top1-app-shell[data-top1-section="service_data"] :is(.top1-service-data-pair-row, .top1-service-data-order-row) strong {
	display: block;
	color: var(--top1-data-ink);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.28;
	overflow-wrap: anywhere;
}

.top1-app-shell[data-top1-section="service_data"] :is(.top1-service-data-pair-row, .top1-service-data-order-row) small {
	display: block;
	margin-top: 3px;
	color: #6a7a8f;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row.is-draft {
	background: #fffcf2;
}

.top1-app-shell[data-top1-section="service_data"] .top1-clients-status {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	gap: 5px;
	width: fit-content;
	max-width: 100%;
	padding: 5px 8px;
	border: 1px solid #d9e3ed;
	border-radius: 999px;
	background: #f4f7fa;
	color: #526277;
	font-size: 10px;
	font-weight: 850;
	line-height: 1.1;
}

.top1-app-shell[data-top1-section="service_data"] .top1-clients-status.is-active {
	border-color: #bdebd8;
	background: #ebfaf4;
	color: #047857;
}

.top1-app-shell[data-top1-section="service_data"] .top1-clients-status.is-warning {
	border-color: #f1d99c;
	background: #fff8e7;
	color: #946100;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-client-app-button,
.top1-app-shell[data-top1-section="service_data"] .top1-service-data-client-app-disabled {
	min-height: 36px;
	padding: 7px 11px;
	border-radius: 11px;
	box-shadow: none;
}

.top1-app-shell[data-top1-section="service_data"] .top1-service-data-client-app-panel {
	border-radius: 17px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .2);
}

.top1-app-shell[data-top1-section="service_data"] .top1-log-pagination {
	display: flex;
	gap: 7px;
	justify-content: flex-end;
	margin-top: 12px;
}

.top1-app-shell[data-top1-section="service_data"] .top1-log-page.is-active {
	border-color: var(--top1-data-accent);
	background: var(--top1-data-accent);
	color: #fff;
}

.top1-app-shell[data-top1-section="service_data"] .top1-inline-notice {
	margin: 13px 0 0;
	padding: 11px 13px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 750;
}

.top1-app-shell[data-top1-section="service_data"] .top1-empty-state-compact {
	margin-top: 14px;
	padding: 28px 18px;
	border: 1px dashed #b8c6d6;
	border-radius: 15px;
	background: #f8fafc;
	text-align: center;
}

.top1-app-shell[data-top1-section="service_data"] .top1-empty-state-compact h2 {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 900;
}

.top1-app-shell[data-top1-section="service_data"] .top1-empty-state-compact p {
	margin: 0;
	color: var(--top1-data-muted);
	font-size: 12px;
}

@media (max-width: 1180px) {
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary {
		--top1-summary-columns: 2;
	}

	.top1-app-shell[data-top1-section="service_data"] [data-top1-service-data-tab="work"] .top1-service-data-summary {
		--top1-summary-columns: 3;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-toolbar {
		grid-template-columns: minmax(220px, 1fr) minmax(150px, .55fr) minmax(210px, .75fr);
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-toolbar > button {
		grid-column: 1 / -1;
		justify-self: end;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-linked-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-address-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-badge {
		grid-column: 2;
		width: fit-content;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-card > .top1-card-header,
	.top1-app-shell[data-top1-section="service_data"] .top1-vehicle-registry-header {
		align-items: stretch !important;
		flex-direction: column;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-card > .top1-card-header > .top1-secondary-button {
		align-self: flex-start;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-toolbar,
	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-toolbar > button {
		grid-column: auto;
		justify-self: stretch;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form-grid .is-wide {
		grid-column: 1 / -1;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-linked-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-form-field-wide {
		grid-column: 1 / -1;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row,
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-order-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
		padding: 15px;
	}

	.top1-app-shell[data-top1-section="service_data"] :is(.top1-service-data-pair-row, .top1-service-data-order-row).top1-clients-row-head {
		display: none;
	}

	.top1-app-shell[data-top1-section="service_data"] :is(.top1-service-data-pair-row, .top1-service-data-order-row):not(.top1-clients-row-head) > div::before {
		display: block;
		margin-bottom: 4px;
		color: #8290a3;
		font-size: 9px;
		font-weight: 900;
		letter-spacing: .05em;
		text-transform: uppercase;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row:not(.top1-clients-row-head) > div:nth-child(1)::before { content: "Клиент и автомобиль"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row:not(.top1-clients-row-head) > div:nth-child(2)::before { content: "Контакты"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row:not(.top1-clients-row-head) > div:nth-child(3)::before { content: "VIN / номер"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row:not(.top1-clients-row-head) > div:nth-child(4)::before { content: "Создано"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row:not(.top1-clients-row-head) > div:nth-child(5)::before { content: "Приложение"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-order-row:not(.top1-clients-row-head) > div:nth-child(1)::before { content: "Заказ-наряд"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-order-row:not(.top1-clients-row-head) > div:nth-child(2)::before { content: "Клиент и авто"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-order-row:not(.top1-clients-row-head) > div:nth-child(3)::before { content: "Статус"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-order-row:not(.top1-clients-row-head) > div:nth-child(4)::before { content: "Дата"; }
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-order-row:not(.top1-clients-row-head) > div:nth-child(5)::before { content: "Действие"; }
}

@media (max-width: 680px) {
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell {
		gap: 12px;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro {
		grid-template-columns: 1fr;
		gap: 11px;
		padding: 17px;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-mark {
		width: 48px;
		height: 48px;
		border-radius: 14px;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-intro-badge {
		grid-column: auto;
		width: 100%;
		min-width: 0;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-tabs {
		display: flex;
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-tabs .top1-dashboard-segment {
		min-width: 170px;
		flex: 1 0 auto;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary,
	.top1-app-shell[data-top1-section="service_data"] [data-top1-service-data-tab="work"] .top1-service-data-summary {
		--top1-summary-columns: 1;
		gap: 9px;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-summary .top1-clients-summary-card {
		min-height: 82px;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-card {
		padding: 14px;
		border-radius: 17px;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-toolbar,
	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form-grid,
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-linked-grid,
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-address-grid,
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-pair-row,
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-order-row {
		grid-template-columns: 1fr;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-toolbar > button {
		grid-column: auto;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-range {
		align-items: flex-start;
		flex-direction: column;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-range nav {
		justify-content: flex-start;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary {
		grid-template-columns: 22px minmax(0, 1fr);
		gap: 9px;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-item summary :is(em, b) {
		grid-column: 2;
		justify-self: start;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form-actions,
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-unified-form .top1-client-form-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-work-catalog-form label.top1-work-catalog-check:first-of-type {
		margin-right: 0;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell :is(.top1-primary-button, .top1-secondary-button, .top1-app-button) {
		white-space: normal;
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-client-app-panel {
		position: fixed;
		top: 50%;
		right: 14px;
		left: 14px;
		width: auto !important;
		max-width: none !important;
		transform: translateY(-50%);
	}

	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-client-app-panel::before {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell *,
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell *::before,
	.top1-app-shell[data-top1-section="service_data"] .top1-service-data-shell *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
