:root {
	--bg: #eef1f5;
	--bg-2: #f8fafc;
	--surface: rgba(255, 255, 255, 0.68);
	--surface-strong: rgba(255, 255, 255, 0.82);
	--surface-solid: #ffffff;
	--surface-soft: rgba(255, 255, 255, 0.52);
	--text: #111827;
	--muted: #667085;
	--muted-light: #98a2b3;
	--border: rgba(17, 24, 39, 0.08);
	--border-strong: rgba(17, 24, 39, 0.12);
	--accent: #2563eb;
	--accent-hover: #1d4ed8;
	--danger-bg: #fff1f2;
	--danger-text: #be123c;
	--premium-bg: rgba(37, 99, 235, 0.10);
	--premium-text: #1d4ed8;
	--free-bg: rgba(17, 24, 39, 0.06);
	--free-text: #4b5563;
	--shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
	--shadow-panel: 0 12px 28px rgba(15, 23, 42, 0.05);
	--shadow-tile: 0 8px 20px rgba(15, 23, 42, 0.05);
	--shadow-dock: 0 16px 36px rgba(15, 23, 42, 0.10);
	--radius-xl: 16px;
	--radius-lg: 12px;
	--radius-md: 10px;
	--radius-sm: 8px;
	--radius-xs: 6px;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
	background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
	color: var(--text);
	font-size: 14px;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* Pages simples */
.page {
	width: min(100% - 32px, 980px);
	min-height: 100vh;
	margin: 0 auto;
	padding: 28px 0;
}

.hero {
	max-width: 520px;
	margin: 56px auto;
	padding: 22px;
	background: var(--surface-strong);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(18px);
}

.eyebrow {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	font-size: 10px;
	line-height: 1.4;
	color: var(--muted-light);
	font-weight: 700;
}

h1,
h2,
h3 {
	color: var(--text);
	letter-spacing: -0.02em;
}

h1 {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.05;
	font-weight: 700;
}

h2 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.15;
	font-weight: 700;
}

h3 {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.25;
	font-weight: 700;
}

p {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
}

.actions {
	display: flex;
	gap: 8px;
	margin-top: 18px;
	flex-wrap: wrap;
}

.button,
button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 13px;
	border-radius: var(--radius-xs);
	background: var(--accent);
	color: #ffffff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 650;
	border: 1px solid transparent;
	cursor: pointer;
	transition:
		background 120ms ease,
		transform 120ms ease,
		box-shadow 120ms ease;
}

.button:hover,
button.button:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}

.button.secondary {
	background: var(--surface-solid);
	color: var(--text);
	border-color: var(--border);
	box-shadow: none;
}

.button.secondary:hover {
	background: #f8fafc;
	box-shadow: none;
}

.button.compact {
	min-height: 30px;
	padding: 6px 10px;
	font-size: 12px;
}

.card {
	background: var(--surface-strong);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 18px;
	margin-bottom: 14px;
	box-shadow: var(--shadow-soft);
}

.card .card {
	background: var(--surface-soft);
	border-radius: var(--radius-md);
	padding: 14px;
	margin-top: 10px;
	margin-bottom: 0;
	box-shadow: none;
}

form.card {
	margin-top: 18px;
}

label {
	display: block;
	margin-bottom: 5px;
	color: var(--text);
	font-size: 12px;
	font-weight: 650;
}

input {
	width: 100%;
	min-height: 36px;
	padding: 8px 10px;
	margin-bottom: 12px;
	border-radius: var(--radius-xs);
	border: 1px solid var(--border-strong);
	background: #ffffff;
	color: var(--text);
	font-size: 13px;
	outline: none;
	transition:
		border-color 120ms ease,
		box-shadow 120ms ease;
}

input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.error {
	margin: 14px 0 0;
	padding: 10px 11px;
	border-radius: var(--radius-xs);
	background: var(--danger-bg);
	color: var(--danger-text);
	font-size: 12px;
	font-weight: 600;
	border: 1px solid rgba(190, 18, 60, 0.12);
}

/* Dashboard */
.dashboard-body {
	overflow-x: hidden;
}

.desktop-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.16), transparent 22%),
		radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.10), transparent 24%),
		radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.08), transparent 26%),
		linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.studio-shell {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 100vh;
	padding: 14px 14px 88px;
}

.studio-topbar {
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 14px;
	margin-bottom: 14px;
	background: rgba(255, 255, 255, 0.56);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(24px);
}

.topbar-left {
	display: flex;
	align-items: center;
	min-width: 0;
}

.studio-brand-block {
	min-width: 0;
}

.studio-brand {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.studio-subtitle {
	margin-top: 3px;
	font-size: 11px;
	color: var(--muted);
}

.studio-topbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.topbar-link {
	font-size: 12px;
	color: var(--muted);
	padding: 6px 8px;
	border-radius: var(--radius-xs);
}

.topbar-link:hover {
	background: rgba(255, 255, 255, 0.56);
}

.desktop-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 14px;
	align-items: start;
}

.desktop-main,
.desktop-side {
	min-width: 0;
}

.section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 10px;
	padding: 0 2px;
}

.section-header h1 {
	margin: 0 0 4px;
	font-size: 17px;
	line-height: 1.1;
	font-weight: 700;
}

.section-header p {
	margin: 0;
	font-size: 12px;
	color: var(--muted);
}

.app-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
	gap: 14px;
	align-items: start;
	padding-top: 4px;
}

.app-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 164px;
	padding: 14px 10px;
	background: rgba(255, 255, 255, 0.54);
	border: 1px solid rgba(255, 255, 255, 0.60);
	border-radius: 14px;
	box-shadow: var(--shadow-tile);
	backdrop-filter: blur(16px);
	color: var(--text);
	text-align: center;
	transition:
		transform 120ms ease,
		box-shadow 120ms ease,
		background 120ms ease,
		border-color 120ms ease;
}

.app-tile:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(37, 99, 235, 0.18);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.app-icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	border-radius: 18px;
	position: relative;
	overflow: hidden;
}

.app-icon-pricing {
	background:
		linear-gradient(160deg, #7dd3fc 0%, #3b82f6 35%, #2563eb 62%, #1e3a8a 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.30),
		0 12px 22px rgba(37, 99, 235, 0.24);
}

.app-icon-pricing::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0) 45%);
	pointer-events: none;
}

.pricing-icon {
	position: relative;
	width: 46px;
	height: 46px;
}

.pricing-sheet {
	position: absolute;
	left: 8px;
	top: 5px;
	width: 28px;
	height: 36px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 8px;
	box-shadow: 0 5px 12px rgba(15, 23, 42, 0.12);
	padding: 7px 6px;
}

.pricing-line {
	height: 2px;
	background: rgba(37, 99, 235, 0.28);
	border-radius: 999px;
	margin-bottom: 4px;
}

.pricing-line.short {
	width: 62%;
}

.pricing-total {
	width: 80%;
	height: 5px;
	margin-top: 6px;
	background: linear-gradient(90deg, #2563eb, #60a5fa);
	border-radius: 999px;
}

.pricing-badge {
	position: absolute;
	right: 2px;
	bottom: 2px;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #f8fafc, #dbeafe);
	color: #1d4ed8;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 6px 12px rgba(15, 23, 42, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.82);
}

.app-name {
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.app-description {
	max-width: 170px;
	font-size: 11px;
	line-height: 1.35;
	color: var(--muted);
}

.panel {
	padding: 13px;
	margin-bottom: 12px;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-panel);
	backdrop-filter: blur(20px);
}

.panel h2 {
	font-size: 15px;
	margin-bottom: 8px;
}

.panel p {
	font-size: 12px;
	line-height: 1.45;
	margin-bottom: 10px;
}

.panel-kicker {
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--muted-light);
}

.premium-panel {
	background:
		linear-gradient(180deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.62));
}

.status-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(17, 24, 39, 0.06);
	font-size: 12px;
	color: var(--muted);
}

.status-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.status-row span:last-child {
	text-align: right;
	color: var(--text);
}

.status-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.status-pill.premium {
	background: var(--premium-bg);
	color: var(--premium-text);
}

.status-pill.free {
	background: var(--free-bg);
	color: var(--free-text);
}

.badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--free-bg);
	color: var(--free-text);
	font-size: 11px;
	font-weight: 700;
	vertical-align: middle;
}

.badge.premium {
	background: var(--premium-bg);
	color: var(--premium-text);
}

.news-item {
	padding: 10px 0;
	border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.news-item:first-of-type {
	padding-top: 0;
}

.news-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.news-item h3 {
	font-size: 13px;
	margin-bottom: 5px;
}

.news-item p {
	font-size: 12px;
	margin-bottom: 6px;
}

.news-item a {
	font-size: 12px;
	font-weight: 650;
}

.studio-dock {
	position: fixed;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 18px;
	box-shadow: var(--shadow-dock);
	backdrop-filter: blur(24px);
	z-index: 20;
}

.dock-item {
	min-width: 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px 10px;
	border-radius: 12px;
	color: var(--text);
	transition: background 120ms ease, transform 120ms ease;
}

.dock-item:hover {
	background: rgba(255, 255, 255, 0.56);
	transform: translateY(-1px);
}

.dock-item.active {
	background: rgba(255, 255, 255, 0.72);
}

.dock-dot,
.dock-glyph {
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
}

.dock-dot {
	background: linear-gradient(160deg, #93c5fd, #2563eb);
	box-shadow: 0 6px 14px rgba(37, 99, 235, 0.24);
	position: relative;
}

.dock-dot::after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #ffffff;
	display: block;
}

.dock-glyph {
	background: rgba(37, 99, 235, 0.10);
	color: #1d4ed8;
}

.dock-label {
	font-size: 11px;
	color: var(--muted);
}

@media (max-width: 980px) {
	.desktop-layout {
		grid-template-columns: 1fr;
	}

	.desktop-side {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: 12px;
	}

	.panel {
		margin-bottom: 0;
	}
}

@media (max-width: 640px) {
	.studio-shell {
		padding: 10px 10px 86px;
	}

	.studio-topbar {
		height: auto;
		padding: 10px 12px;
		flex-direction: column;
		align-items: flex-start;
	}

	.studio-topbar-actions {
		width: 100%;
		justify-content: space-between;
	}

	.desktop-board {
		padding: 10px;
	}

	.app-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.app-tile {
		min-height: 150px;
		padding: 12px 8px;
	}

	.app-icon {
		width: 58px;
		height: 58px;
		border-radius: 16px;
	}

	.studio-dock {
		width: calc(100% - 20px);
		justify-content: space-between;
	}
}

.module-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.module-main {
	max-width: 980px;
	width: 100%;
}

.module-panel {
	max-width: 760px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.form-full {
	grid-column: 1 / -1;
}

select {
	width: 100%;
	min-height: 36px;
	padding: 8px 10px;
	margin-bottom: 12px;
	border-radius: var(--radius-xs);
	border: 1px solid var(--border-strong);
	background: #ffffff;
	color: var(--text);
	font-size: 13px;
	outline: none;
}

select:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.form-actions {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.rate-summary-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 14px;
	max-width: 980px;
}

.rate-card {
	padding: 14px;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-panel);
	backdrop-filter: blur(20px);
}

.rate-card span {
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--muted-light);
}

.rate-card strong {
	display: block;
	margin-bottom: 8px;
	font-size: 20px;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--text);
}

.rate-card p {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
}

.rate-card.recommended {
	background:
		linear-gradient(180deg, rgba(239, 246, 255, 0.88), rgba(255, 255, 255, 0.66));
	border-color: rgba(37, 99, 235, 0.16);
}

@media (max-width: 760px) {
	.form-grid {
		grid-template-columns: 1fr;
	}

	.rate-summary-grid {
		grid-template-columns: 1fr;
	}
}

.info-tip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	margin-left: 4px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.10);
	color: var(--accent);
	font-size: 10px;
	font-weight: 800;
	cursor: help;
	vertical-align: middle;
}

.info-tip::after {
	content: attr(data-tip);
	position: absolute;
	left: -6px;
	bottom: calc(100% + 8px);
	transform: none;
	width: min(280px, calc(100vw - 32px));
	padding: 9px 10px;
	border-radius: var(--radius-xs);
	background: rgba(17, 24, 39, 0.94);
	color: #ffffff;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 120ms ease;
	z-index: 50;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.info-tip::before {
	content: "";
	position: absolute;
	left: 2px;
	bottom: calc(100% + 3px);
	transform: none;
	border: 5px solid transparent;
	border-top-color: rgba(17, 24, 39, 0.94);
	opacity: 0;
	transition: opacity 120ms ease;
	z-index: 51;
}
.info-tip:hover::after,
.info-tip:focus::after,
.info-tip:hover::before,
.info-tip:focus::before {
	opacity: 1;
}

@media (max-width: 640px) {
	.info-tip::after {
		left: -6px;
		right: auto;
		width: min(260px, calc(100vw - 28px));
		transform: none;
	}
}

.panel-header-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.quotes-panel,
.quote-form-panel,
.quote-view-panel {
	max-width: 980px;
}

.empty-state {
	padding: 12px;
	background: rgba(255, 255, 255, 0.48);
	border: 1px solid rgba(17, 24, 39, 0.06);
	border-radius: var(--radius-md);
}

.quote-list {
	display: grid;
	gap: 8px;
}

.quote-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 12px;
	background: rgba(255, 255, 255, 0.56);
	border: 1px solid rgba(17, 24, 39, 0.06);
	border-radius: var(--radius-md);
	color: var(--text);
	transition: background 120ms ease, transform 120ms ease;
}

.quote-list-item:hover {
	background: rgba(255, 255, 255, 0.78);
	transform: translateY(-1px);
}

.quote-list-item strong {
	display: block;
	font-size: 13px;
	margin-bottom: 3px;
}

.quote-list-item span {
	display: block;
	font-size: 12px;
	color: var(--muted);
}

.quote-list-meta {
	text-align: right;
	white-space: nowrap;
}

.quote-list-meta strong {
	margin: 3px 0 0;
}

.quote-lines-block {
	margin-top: 18px;
}

.quote-lines-table {
	display: grid;
	gap: 8px;
}

.quote-lines-head,
.quote-line-row {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 90px 140px 150px 34px;
	gap: 8px;
	align-items: center;
}

.quote-lines-head {
	padding: 0 2px;
	font-size: 11px;
	font-weight: 700;
	color: var(--muted-light);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.quote-line-row input,
.quote-line-row select {
	margin-bottom: 0;
}

textarea {
	width: 100%;
	padding: 9px 10px;
	border-radius: var(--radius-xs);
	border: 1px solid var(--border-strong);
	background: #ffffff;
	color: var(--text);
	font-size: 13px;
	font-family: inherit;
	outline: none;
	resize: vertical;
}

textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.quote-meta-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.quote-meta-grid div {
	padding: 10px;
	background: rgba(255, 255, 255, 0.52);
	border: 1px solid rgba(17, 24, 39, 0.06);
	border-radius: var(--radius-md);
}

.quote-meta-grid span,
.quote-total-box span {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted-light);
}

.quote-meta-grid strong,
.quote-total-box strong {
	display: block;
	font-size: 13px;
	color: var(--text);
}

.quote-view-table {
	display: grid;
	gap: 1px;
	overflow: hidden;
	border: 1px solid rgba(17, 24, 39, 0.06);
	border-radius: var(--radius-md);
	background: rgba(17, 24, 39, 0.06);
}

.quote-view-head,
.quote-view-row {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 70px 100px 120px 120px 120px;
	gap: 0;
}

.quote-view-head span {
	padding: 9px 10px;
	background: rgba(255, 255, 255, 0.72);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted-light);
}

.quote-view-row span {
	padding: 10px;
	background: rgba(255, 255, 255, 0.58);
	font-size: 12px;
	color: var(--text);
}

.quote-total-box {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
	max-width: 520px;
	margin-left: auto;
}

.quote-total-box div {
	padding: 11px;
	background: rgba(255, 255, 255, 0.52);
	border: 1px solid rgba(17, 24, 39, 0.06);
	border-radius: var(--radius-md);
}

.quote-total-box .grand-total {
	background:
		linear-gradient(180deg, rgba(239, 246, 255, 0.88), rgba(255, 255, 255, 0.66));
	border-color: rgba(37, 99, 235, 0.16);
}

.quote-total-box .grand-total strong {
	font-size: 17px;
}

.quote-notes {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(17, 24, 39, 0.06);
}

@media (max-width: 860px) {
	.quote-lines-head {
		display: none;
	}

	.quote-line-row {
		grid-template-columns: 1fr;
		padding: 10px;
		background: rgba(255, 255, 255, 0.48);
		border-radius: var(--radius-md);
	}

	.quote-meta-grid,
	.quote-total-box {
		grid-template-columns: 1fr;
	}

	.quote-view-table {
		overflow-x: auto;
	}

	.quote-view-head,
	.quote-view-row {
		min-width: 760px;
	}

	.quote-list-item {
		align-items: flex-start;
		flex-direction: column;
	}

	.quote-list-meta {
		text-align: left;
	}
}

.price-suggestion-box {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 18px 0;
	padding: 13px;
	background:
		linear-gradient(180deg, rgba(239, 246, 255, 0.90), rgba(255, 255, 255, 0.64));
	border: 1px solid rgba(37, 99, 235, 0.16);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-panel);
}

.price-suggestion-box span {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted-light);
}

.price-suggestion-box strong {
	display: block;
	font-size: 20px;
	letter-spacing: -0.03em;
	color: var(--text);
}

.price-suggestion-box p {
	max-width: 520px;
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
}

.price-suggestion-box.view-mode {
	margin-top: 0;
	margin-bottom: 18px;
}

.quote-document-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.quote-document-header h1 {
	margin: 0 0 6px;
	font-size: 28px;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.quote-document-header p {
	margin: 0;
}

.quote-number-box {
	min-width: 160px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(17, 24, 39, 0.06);
	border-radius: var(--radius-md);
	text-align: right;
}

.quote-number-box span {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted-light);
}

.quote-number-box strong {
	display: block;
	font-size: 15px;
	color: var(--text);
}

.quote-number-box em {
	display: block;
	margin-top: 4px;
	font-style: normal;
	font-size: 12px;
	color: var(--muted);
}

.client-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-address-cell {
	grid-column: span 2;
}

.client-address-cell strong {
	line-height: 1.45;
}

@media (max-width: 860px) {
	.price-suggestion-box {
		flex-direction: column;
	}

	.quote-document-header {
		flex-direction: column;
	}

	.quote-number-box {
		width: 100%;
		text-align: left;
	}

	.client-grid {
		grid-template-columns: 1fr;
	}

	.client-address-cell {
		grid-column: auto;
	}
}

.quote-edit-button {
	margin-top: 10px;
}

.quote-project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.quote-project-tags span {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.10);
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 700;
}

.quote-date-stack {
	display: grid;
	gap: 8px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.quote-date-stack div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.quote-date-stack span {
	margin: 0;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted-light);
}

.quote-date-stack strong {
	font-size: 12px;
	font-weight: 700;
	color: var(--text);
}

.quote-lines-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.quote-lines-toolbar .panel-kicker {
	margin-bottom: 0;
}

.line-remove-button {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(17, 24, 39, 0.10);
	border-radius: var(--radius-xs);
	background: rgba(255, 255, 255, 0.68);
	color: var(--muted);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition:
		background 120ms ease,
		color 120ms ease,
		border-color 120ms ease;
}

.line-remove-button:hover {
	background: #fff1f2;
	color: #be123c;
	border-color: rgba(190, 18, 60, 0.18);
}