/* ManoGaražas v2 – base styles. Tokens first; everything else is built from them. */
/* Manrope (SIL Open Font License), variable 400–800, served from here: no request to Google before the text shows */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
	--bg: #FBFCFD;
	--surface: #FFFFFF;
	--soft: #F0F4F7;
	--line: #E4E9ED;
	--line-strong: #D9DFE3;
	--text: #1D2227;
	--text-2: #3A444C;
	--muted: #5D6870;
	--blue: #1769AA;
	--blue-hover: #0F5288;
	--blue-ink: #106EAB;
	--blue-soft: #E1EFFC;
	--blue-line: #B9D8F4;
	--blue-light: #7DB4E3;
	--amber: #BD821A;
	--amber-ink: #8A5A0B;
	--amber-soft: #FDF1D8;
	--logo-amber: #E0A21B;
	--green: #2C7A4B;
	--dark: #1D2227;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 12px 45px rgba(29, 34, 39, .08);
	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); }
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: 30px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.feature .feature-title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; } /* an h2 for the outline, looks like h3 */
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-line); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: #fff; padding: 8px 12px; border-radius: 8px; }
.counter { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 8px;
	background: var(--blue); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--blue-hover); color: #fff; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--blue); border-color: var(--blue); }
.link-strong { font-weight: 700; font-size: 15px; color: var(--text); padding: 14px 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- top ad ---------- */
.ad-top { background: var(--soft); border-bottom: 1px solid var(--line); }
.ad-top .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; justify-content: center; }
.ad-top-wide { width: 100%; max-width: 970px; min-height: 90px; }
.ad-top-phone { display: inline-block; width: 320px; max-width: 100%; height: 100px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-word { font-size: 22px; letter-spacing: -.02em; }
.logo-word > span { font-weight: 500; }
.logo-word b { font-weight: 800; }
.logo-zh { background: linear-gradient(180deg, var(--blue) 0 36%, var(--text) 36%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sm .logo-word { font-size: 18px; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { color: var(--text-2); font-weight: 600; font-size: 14px; padding: 24px 2px 22px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--blue); }
.main-nav a.on { color: var(--text); border-bottom-color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

.login-pop { position: relative; }
.login-pop > summary { list-style: none; cursor: pointer; }
.login-pop > summary::-webkit-details-marker { display: none; }
.login-form, .user-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: var(--surface); border: 1px solid var(--line);
	border-radius: 14px; box-shadow: 0 18px 48px rgba(29, 34, 39, .16); padding: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 12; }
.login-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.login-form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }
.login-form input[type=text], .login-form input[type=password] { min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 12px; font: inherit; font-size: 15px; }
.login-links { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.user-chip { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; padding: 4px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.user-menu { width: 220px; padding: 8px; gap: 2px; }
.user-menu a { padding: 10px 12px; border-radius: 8px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.user-menu a:hover { background: var(--soft); color: var(--text); }

.mobile-tabs { display: none; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 16px 16px; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 4px; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line); }

.flash { max-width: 1240px; margin: 16px auto 0; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.flash-error { background: #FDECEC; color: #9B1C1C; border: 1px solid #F5C2C2; }
.flash-ok { background: #E7F4EC; color: #1F5C38; border: 1px solid #BFE0CB; }

/* ---------- shared blocks ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 0 0 72px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 36px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.section-aside { max-width: 380px; font-size: 15px; line-height: 1.65; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.h2-lg { font-size: 40px; line-height: 1.12; }
.tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pill { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.panel h2 { font-size: 26px; }
.panel-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.panel-dark .eyebrow { color: #8EC2EE; }
.panel-blue { background: var(--blue-soft); border-color: var(--blue-soft); }
.panel-blue .eyebrow { color: var(--blue-ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; }
.bar-lg { height: 12px; border-radius: 6px; }
.c1 { background: var(--blue); }
.c2 { background: var(--blue-light); }
.c3 { background: var(--amber); }
.c4 { background: #8B96A0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.legend i, .split-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- home: hero ---------- */
.hero { background: var(--soft); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; max-width: 560px; }
.accent { color: var(--blue); }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 480px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.social-proof { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.social-proof b { color: var(--text); }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--soft); margin-left: -8px; display: flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 700; background: var(--blue-soft); color: var(--blue-ink); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--amber-soft); color: var(--amber-ink); }
.avatars span:nth-child(3) { background: #E3F1E8; color: #2C6B45; }
.hero-media { position: relative; }
.hero-media > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px rgba(29, 34, 39, .16); }
.float-card { position: absolute; left: -32px; bottom: -28px; width: 300px; background: var(--surface); border-radius: 16px; box-shadow: 0 18px 48px rgba(29, 34, 39, .16);
	padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.float-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.float-card-sum { display: flex; align-items: baseline; justify-content: space-between; }
.float-card-sum b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.good { font-size: 13px; font-weight: 700; color: var(--green); }

/* ---------- home: features ---------- */
#kaip { padding-bottom: 0; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.feature p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; }
.feature-icon.amber { background: var(--amber-soft); color: var(--amber-ink); }

/* ---------- home: showcase ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px; align-items: start; }
.showcase-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.showcase-list li { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.showcase-list li.on { background: var(--blue-soft); border-color: var(--blue-line); }
.showcase-list .ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--soft); color: var(--text-2); display: flex; align-items: center; justify-content: center; }
.showcase-list li.on .ic { background: #fff; color: var(--blue-ink); }
.showcase-list div { display: flex; flex-direction: column; gap: 2px; }
.showcase-list b { font-size: 15px; }
.showcase-list div span { font-size: 13px; color: var(--muted); }
.dash { padding: 0; gap: 0; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 13px; }
.dash-body { padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.dash-title { display: flex; justify-content: space-between; align-items: center; }
.dash-title b { font-size: 22px; }
.kpi { background: var(--soft); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi b { font-size: 26px; font-weight: 800; }
.kpi small { font-size: 13px; font-weight: 600; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 18px; height: 180px; padding: 0 6px; border-bottom: 1px solid var(--line); }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bar-col span:first-child { border-radius: 6px 6px 0 0; }
.bars-x { display: flex; justify-content: space-around; font-size: 12px; color: var(--muted); margin-top: -14px; }

/* ---------- home: community cars ---------- */
.car-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text);
	transition: box-shadow .15s, transform .15s; }
.car-card:hover { color: var(--text); box-shadow: 0 12px 32px rgba(29, 34, 39, .10); transform: translateY(-2px); }
.car-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.car-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; justify-content: space-between; }
.car-card-body > div:first-child { display: flex; flex-direction: column; }
.car-card-body b { font-size: 16px; }
.car-card-body span { font-size: 13px; color: var(--muted); }
.car-cons { display: flex; justify-content: space-between; align-items: center; background: var(--soft); border-radius: 10px; padding: 8px 12px; }
.car-cons span { font-size: 12px; }
.car-cons b { font-size: 15px; color: var(--blue-ink); }

/* ---------- home: stats ---------- */
.stats-row { align-items: start; }
.stats { gap: 28px; }
.big-nums { gap: 20px 24px; }
.big-nums b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.big-nums span { font-size: 13px; color: #AEB8C0; }
.split { display: flex; flex-direction: column; gap: 12px; }
.panel-dark .c1 { background: #4FA0E6; }
.panel-dark .c2 { background: #8EC2EE; }
.panel-dark .c3 { background: #E0A83E; }
.panel-dark .c4 { background: #6B7680; }
.split-legend { gap: 8px 24px; font-size: 13px; color: #D5DCE1; }
.split-legend > span { display: flex; justify-content: space-between; }
.split-legend b { color: #fff; }
.stats-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: #AEB8C0; border-top: 1px solid #343C43; padding-top: 18px; }
.stats-foot b { color: #fff; }
.rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.rank a { display: grid; grid-template-columns: minmax(120px, 160px) 1fr 44px; gap: 12px; align-items: center; color: var(--text); padding: 5px 6px; border-radius: 8px; }
.rank a:hover { background: var(--soft); color: var(--text); }
.rank .muted { text-align: right; }
.rank-bar { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.rank-bar span { display: block; height: 100%; border-radius: 4px; }

/* ---------- home: catalog + info ---------- */
.catalog-search-slot { min-height: 52px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { background: var(--surface); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 700; color: var(--text); }
.chips a:hover { color: var(--blue); }
.chips a.chip-primary { background: var(--blue); color: #fff; }
.info-links { gap: 10px; }
.info-links a { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.info-links a:hover { border-color: var(--blue); color: var(--text); }
.info-links b { font-size: 14px; }
.info-links span { font-size: 12px; color: var(--muted); }

/* ---------- home: register ---------- */


.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.form input { min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 14px; font: inherit; font-size: 15px; background: #fff; }
.form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.form-2 { gap: 12px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.site-footer nav a { color: var(--text-2); }
.site-footer nav a:hover { color: var(--blue); }
.site-footer .muted { font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.main-nav { gap: 20px; }
	.hero h1 { font-size: 48px; }
}
@media (max-width: 900px) {
	.main-nav, .hide-sm { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header-row { height: 64px; }
	.mobile-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
	.mobile-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 9px; font-size: 12px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; }
	.mobile-tabs a.on { color: var(--blue-ink); border-bottom-color: var(--blue); }
	.hero-grid, .showcase, .grid-2, .register { grid-template-columns: minmax(0, 1fr); }
	.hero-grid { gap: 40px; padding-top: 36px; padding-bottom: 64px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.float-card { left: 12px; right: 12px; width: auto; bottom: -28px; }
	.h2-lg { font-size: 32px; }
	.section { padding: 56px 0; }
	.section-tight { padding: 0 0 56px; }
}
@media (max-width: 560px) {
	.wrap { padding: 0 16px; }
	.hero h1 { font-size: 32px; line-height: 1.12; letter-spacing: -.025em; }
	.lead { font-size: 16px; }
	.hero-cta .btn { flex: 1; }
	.grid-4.cars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	#kaip .grid-4 { grid-template-columns: minmax(0, 1fr); }
	.grid-3 { grid-template-columns: minmax(0, 1fr); }
	.car-card-body { padding: 12px; }
	.car-cons { flex-direction: column; align-items: flex-start; gap: 2px; }
	.panel, .register { padding: 22px; }
	.big-nums b { font-size: 26px; }
	.form-2 { grid-template-columns: minmax(0, 1fr); }
	.login-form { position: fixed; left: 16px; right: 16px; top: 120px; width: auto; }
	.rank a { grid-template-columns: minmax(0, 1fr) 70px 36px; }
	.bars { gap: 10px; height: 140px; }
}

/* ---------- phones: compact home ---------- */
.login-btn .icon { display: none; }
.social-proof b { white-space: nowrap; }
@media (max-width: 560px) {
	.hide-xs { display: none; }
	.site-header-row { gap: 12px; }
	.logo { gap: 8px; }
	.logo-mark { width: 30px; height: 25px; }
	.logo-word { font-size: 19px; }
	.login-btn { width: 44px; padding: 0; }
	.login-btn .icon { display: block; }
	.login-btn span { display: none; }

	.section { padding: 40px 0; }
	.section-tight { padding: 0 0 40px; }
	#kaip { padding-top: 24px; }
	.section-head { margin-bottom: 20px; }
	h2, .panel h2 { font-size: 24px; }
	.h2-lg { font-size: 28px; }

	/* hero: the expense card sits under the photo instead of being clipped */
	.hero-grid { gap: 28px; padding-top: 28px; padding-bottom: 32px; }
	.hero-text { gap: 18px; }
	.float-card { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -48px 12px 0; padding: 16px 18px; }
	.float-card-sum b { font-size: 28px; }

	/* features: icon beside the text */
	#kaip .grid-4 { gap: 10px; }
	.feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; }
	.feature-icon { width: 40px; height: 40px; grid-row: span 2; }
	.feature .feature-title { font-size: 15px; }
	.feature p { font-size: 13px; line-height: 1.5; }

	/* showcase: the list repeats the features above, keep only the example panel */
	.showcase-list { display: none; }
	.dash-top { padding: 12px 16px; }
	.dash-body { padding: 16px; gap: 16px; }
	.dash-title b { font-size: 18px; }
	.dash-title .pill { white-space: nowrap; font-size: 12px; padding: 5px 8px; }
	.grid-3.kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.kpi { padding: 10px; }
	.kpi span { font-size: 11px; line-height: 1.3; }
	.kpi b { font-size: 18px; }
	.kpi small { display: block; font-size: 11px; }

	.big-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.stats { gap: 22px; }

	.info-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.info-links a { padding: 12px; }
	.info-links span { display: none; }
	.chips a { padding: 8px 12px; }

	.site-footer-row { gap: 14px; padding-top: 24px; padding-bottom: 24px; }
	.site-footer nav { gap: 6px 18px; }
}

/* ---------- inner pages ---------- */
.page { padding-top: 36px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.page-head h1 { font-size: 32px; font-weight: 800; }
.page-head p { font-size: 14px; margin-top: 4px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 13px; }
.notice { display: flex; align-items: center; gap: 14px; background: var(--amber-soft); border: 1px solid #F1D79F; border-radius: 14px; padding: 14px 18px; color: #5B3D07; font-size: 14px; }
.notice:hover { color: #5B3D07; border-color: var(--amber); }
.notice .icon { color: var(--amber-ink); flex: none; }
.notice > span { flex: 1; }
.notice-go { color: var(--amber-ink); }
.muted-amber { color: var(--amber-ink); }
.empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 20px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.empty p { max-width: 420px; }

/* ---------- Mano automobiliai ---------- */
.garage-car { display: grid; grid-template-columns: 280px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.garage-photo { position: relative; background: var(--soft); min-height: 210px; }
.garage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.garage-photo-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #AEB8C0; }
.garage-photo.is-loading::after { content: 'Įkeliama…'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .8); font-weight: 700; }
.photo-upload { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 8px;
	background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 700; cursor: pointer; }
.photo-upload:hover { color: var(--blue); }
.photo-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-upload:focus-within { outline: 3px solid var(--blue-line); }
.garage-body { padding: 22px 26px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.garage-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.garage-title h2 { font-size: 22px; }
.garage-title p { font-size: 14px; margin-top: 2px; }
.garage-title-actions { display: flex; gap: 8px; }
.garage-title-actions form { margin: 0; }
.garage-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.garage-kpis .kpi { padding: 12px 14px; gap: 2px; }
.garage-kpis .kpi b { font-size: 22px; }
.garage-kpis .kpi b.kpi-2 { font-size: 17px; line-height: 1.3; }
.garage-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.action-form { display: contents; }
.garage-actions a, .garage-actions button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px;
	background: #fff; color: var(--text); font-size: 13px; font-weight: 600; }
.garage-actions a .icon { color: var(--blue); }
.garage-actions a:hover, .garage-actions button:hover { border-color: var(--blue); color: var(--blue); }
.garage-actions button { font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.garage-actions .muted-action, .garage-actions .muted-action .icon { color: var(--muted); }
.garage-actions a.danger, .garage-actions a.danger .icon { color: #9B1C1C; }
.garage-actions a.danger:hover { border-color: #9B1C1C; }
.garage-actions .count { font-style: normal; background: var(--amber-soft); color: var(--amber-ink); border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 700; }

.archived { display: flex; flex-direction: column; gap: 10px; }
.archived h2, .reminders-row h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--muted); }
.archived-car { display: flex; align-items: center; gap: 14px; background: #F7F9FA; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px; }
.archived-car img, .archived-noimg { width: 96px; height: 64px; flex: none; border-radius: 10px; object-fit: cover; filter: grayscale(.6); background: var(--soft); display: flex; align-items: center; justify-content: center; color: #AEB8C0; }
.archived-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.archived-text b { font-size: 15px; }
.archived-text span { font-size: 13px; }
.archived-car form { margin: 0; }

.add-car { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 72px; border: 2px dashed #C3CCD3; border-radius: 18px; font-weight: 700; font-size: 15px; color: var(--text-2); }
.add-car:hover { border-color: var(--blue); color: var(--blue); }
.add-car span { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; }

.reminders-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
.reminders-row h2 { color: var(--text); margin-right: 6px; }
.reminders-row h2 .icon { color: var(--amber-ink); }
.reminder-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.reminder-chip { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: var(--text); }
.reminder-chip:hover { border-color: var(--blue); color: var(--text); }
.reminder-chip.due { background: #FFFBF2; border-color: #F1D79F; }
.reminder-chip.due .left { color: var(--amber-ink); }

.recent { padding: 22px 24px 10px; gap: 6px; }
.recent h2 { font-size: 18px; }
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-list li + li { border-top: 1px solid #EEF2F6; }
.recent-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--text); }
.recent-list a:hover .rec-text b { color: var(--blue); }
.rec-icon { width: 38px; height: 38px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.rec-icon.blue { background: var(--blue-soft); color: var(--blue-ink); }
.rec-icon.green { background: #E3F1E8; color: #2C6B45; }
.rec-icon.amber { background: var(--amber-soft); color: var(--amber-ink); }
.rec-icon.grey { background: var(--soft); color: var(--text-2); }
.rec-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rec-text b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-text b .muted { font-weight: 500; }
.rec-text > span { font-size: 12px; }
.rec-sum { font-size: 15px; white-space: nowrap; }

@media (max-width: 900px) {
	.garage-car { grid-template-columns: minmax(0, 1fr); }
	.garage-photo { min-height: 0; aspect-ratio: 16 / 10; }
	.garage-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.page { padding-top: 20px; padding-bottom: 32px; gap: 16px; }
	.page-head h1 { font-size: 26px; }
	.page-head .btn-ghost { display: none; }
	.notice { padding: 12px 14px; font-size: 13px; }
	.notice-go { display: none; }
	.garage-body { padding: 16px; gap: 14px; }
	.garage-title { flex-wrap: nowrap; }
	.garage-title h2 { font-size: 19px; }
	.garage-title-actions .btn { display: none; }
	.garage-kpis { gap: 8px; }
	.garage-kpis .kpi { padding: 10px 12px; }
	.garage-kpis .kpi b { font-size: 19px; }
	.garage-kpis .kpi b.kpi-2 { font-size: 15px; }
	.photo-upload span { display: none; }
	.photo-upload { left: auto; right: 10px; top: 10px; bottom: auto; width: 40px; height: 40px; justify-content: center; padding: 0; }
	/* phones: big "new record" button, then a 3×2 grid of icon actions */
	.garage-body::after { content: none; }
	.garage-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.garage-actions a, .garage-actions button { flex-direction: column; justify-content: center; gap: 6px; min-height: 64px; padding: 8px 4px; border-color: var(--line); border-radius: 12px; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
	.garage-actions a .icon, .garage-actions button .icon { width: 20px; height: 20px; }
	.garage-actions button { font-size: 12px; font-weight: 700; }
	.garage-actions .count { position: absolute; top: 6px; right: 8px; }
	.garage-new-mobile { display: flex !important; }
	.archived-car { padding: 8px 10px 8px 8px; gap: 12px; }
	.archived-car img, .archived-noimg { width: 72px; height: 54px; }
	.archived-text b { font-size: 14px; }
	.archived-text span { font-size: 12px; }
	.reminders-row { padding: 0; background: none; border: 0; }
	.reminder-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
	.reminder-chip { flex: none; flex-direction: column; align-items: flex-start; gap: 0; border-radius: 12px; padding: 10px 12px; background: #fff; }
	.recent { padding: 14px 16px 4px; }
}
.garage-new-mobile { display: none; justify-content: center; min-height: 48px; font-size: 15px; }

.btn-danger, .btn-danger .icon { color: #9B1C1C; }
.btn-danger:hover { border-color: #9B1C1C; color: #9B1C1C; }
@media (max-width: 560px) {
}

/* car management (edit, archive) sits apart from the data actions */
.garage-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.garage-foot .garage-actions { flex: 0 1 auto; }
.garage-manage { display: flex; gap: 4px; margin-left: auto; }
.garage-manage a, .garage-manage button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px;
	background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.garage-manage a:hover, .garage-manage button:hover { background: var(--soft); color: var(--text); }
@media (max-width: 560px) {
	.garage-foot { display: block; }
	.garage-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.garage-manage { justify-content: flex-end; border-top: 1px solid #EEF2F6; margin-top: 10px; padding-top: 6px; }
}

/* ---------- new / edit record ---------- */
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs b { color: var(--text); }
.record-page { gap: 18px; }
.car-pick { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); background: #fff; border-radius: 12px; padding: 6px 12px 6px 6px; max-width: 100%; }
.car-pick img, .car-pick-noimg { width: 48px; height: 36px; flex: none; border-radius: 8px; object-fit: cover; background: var(--soft); display: flex; align-items: center; justify-content: center; color: #AEB8C0; }
.car-pick select { border: 0; outline: 0; font: inherit; font-size: 15px; font-weight: 700; background: transparent; min-width: 0; max-width: 100%; color: var(--text); }
.record-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.record-form { padding: 28px; gap: 22px; }
.record-form [hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field legend, .field .label { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 6px; }
.field .label { margin-bottom: 0; }
.field .label small, .hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.hint.is-warning { color: #9B1C1C; }
.hint-auto { color: var(--blue-ink); }
.inp { display: flex; align-items: center; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; padding: 0 14px; }
.inp:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.inp input { border: 0; outline: 0; font: inherit; font-size: 16px; font-weight: 600; flex: 1; min-width: 0; background: transparent; color: var(--text); }
.inp .unit { color: var(--muted); font-size: 14px; font-weight: 600; }
.inp.is-auto { background: #F2F8FE; border-color: var(--blue-line); }
.field.is-missing .inp { border-color: #9B1C1C; box-shadow: 0 0 0 3px #FDECEC; }
.grid-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-fields.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; }

.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.seg-item input, .pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-item > span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
	font-size: 14px; font-weight: 700; color: var(--text-2); cursor: pointer; text-align: center; }
.seg-item input:checked + span { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-ink); box-shadow: inset 0 0 0 1px var(--blue); }
.seg-item input:focus-visible + span, .pills input:focus-visible + span { outline: 3px solid var(--blue-line); outline-offset: 2px; }
.seg .short { display: none; }
.pills { display: inline-flex; gap: 4px; background: var(--soft); border-radius: 10px; padding: 4px; }
.pills label { display: flex; }
.pills span { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.pills input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(29, 34, 39, .12); }

.summary { display: flex; flex-wrap: wrap; gap: 8px 28px; background: #E7F4EC; border-radius: 12px; padding: 12px 16px; font-size: 14px; color: #1F5C38; }
.link-btn { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--blue); cursor: pointer; }
.comment .comment-field { display: none; flex-direction: column; gap: 6px; }
.comment.is-open .comment-field, .comment.is-main .comment-field { display: flex; }
.comment.is-open .link-btn, .comment.is-main .link-btn { display: none; }
.comment textarea { border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical; min-height: 80px; }
.comment textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px var(--blue-soft); }
.remind-link { display: flex; align-items: center; gap: 10px; border: 1px dashed #C3CCD3; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--text-2); }
.remind-link .icon { color: var(--amber-ink); }
.remind-link span { flex: 1; }
.save-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; border-top: 1px solid #EEF2F6; padding-top: 20px; }
.save-bar .btn { min-width: 180px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.danger-link { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; font-weight: 600; color: #9B1C1C; }
.danger-link:hover { color: #7A1414; }

.scan { background: var(--soft); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.scan.is-drag { outline: 2px dashed var(--blue); }
.scan-head { display: flex; align-items: center; gap: 16px; }
.scan-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; color: var(--blue-ink); display: flex; align-items: center; justify-content: center; }
.scan-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.scan-text b { font-size: 15px; }
.scan-text span { font-size: 13px; color: var(--muted); }
.scan-buttons { display: flex; gap: 8px; }
.scan-buttons label { position: relative; cursor: pointer; }
.scan-buttons input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.scan-buttons label:focus-within { outline: 3px solid var(--blue-line); }
.scan-camera { display: none; }
.scan-files { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.scan-thumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.scan-thumbs li { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #fff; }
.scan-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.scan-remove { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(29, 34, 39, .7); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.scan-kind { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(29, 34, 39, .7); color: #fff; font-size: 10px; font-weight: 700; text-align: center; padding: 2px; }
.scan-progress { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.scan-spinner { width: 18px; height: 18px; border: 3px solid var(--blue-line); border-top-color: var(--blue); border-radius: 50%; animation: v2spin 1s linear infinite; }
@keyframes v2spin { to { transform: rotate(360deg); } }
.scan-status:empty { display: none; }
.scan-status { font-size: 14px; border-radius: 10px; padding: 10px 12px; background: #fff; }
.scan-status.is-ok { color: #1F5C38; }
.scan-status.is-error { color: #9B1C1C; }
.scan-status ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }

.record-aside { display: flex; flex-direction: column; gap: 16px; }
.last-fuel { padding: 18px 20px; gap: 0; }
.last-fuel h2 { font-size: 16px; margin-bottom: 6px; }
.last-fuel a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #EEF2F6; color: var(--text); font-size: 14px; }
.last-fuel a:hover b { color: var(--blue); }
.last-fuel a.more { border: 0; padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--blue); }
.tip { background: var(--soft); border-radius: 18px; padding: 16px 20px; font-size: 13px; line-height: 1.55; color: var(--text-2); }
.tip b { color: var(--text); }

@media (max-width: 900px) {
	.record-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.record-page { gap: 14px; padding-bottom: 110px; }
	.record-page .crumbs { display: none; }
	.record-page .page-head { gap: 10px; }
	.car-pick { width: 100%; }
	.car-pick select { flex: 1; }
	.record-form { padding: 0; background: none; border: 0; gap: 18px; }
	.scan { padding: 14px; }
	.scan-head { flex-wrap: wrap; gap: 12px; }
	.scan-icon { width: 40px; height: 40px; border-radius: 10px; }
	.scan-text span { font-size: 12px; }
	.scan-buttons { flex: 1 1 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.scan-buttons .btn { min-height: 52px; border-radius: 12px; }
	.scan-camera { display: inline-flex; background: var(--blue-soft); border-color: var(--blue-line); color: var(--blue-ink); }
	.scan-gallery-label { font-size: 0; }
	.scan-gallery-label::after { content: 'Iš galerijos'; font-size: 14px; }
	.seg { gap: 6px; }
	.seg-item > span { flex-direction: column; gap: 4px; min-height: 62px; border-radius: 12px; font-size: 11px; padding: 6px 2px; }
	.seg .long { display: none; }
	.seg .short { display: inline; }
	.row-wrap { flex-direction: column; align-items: stretch; gap: 14px; }
	.row-wrap legend { display: none; }
	.pills { display: flex; }
	.pills label { flex: 1; }
	.pills span { flex: 1; padding: 0 6px; min-height: 40px; }
	.grid-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.grid-fields .field-date { grid-column: 1 / -1; }
	.inp { min-height: 50px; }
	.inp input { font-size: 17px; }
	.summary { justify-content: space-between; gap: 8px; font-size: 12px; text-align: center; }
	.summary span { flex: 1; }
	.summary b { display: block; font-size: 15px; }
	.save-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: 10px 16px 16px; gap: 6px 14px; }
	.save-bar .btn { flex: 1 1 100%; min-height: 54px; border-radius: 12px; font-size: 16px; }
	.save-bar .check { font-size: 13px; }
	.danger-link { margin-left: 0; font-size: 13px; }
	.record-aside { display: none; }
}

/* kilometrage hint/warning under both fields, with room reserved so nothing jumps when it appears */
.km-hint { grid-column: 1 / -1; margin: -8px 0 0; min-height: 2.9em; line-height: 1.45; }
.km-hint.is-warning { color: #9B1C1C; font-weight: 600; }
@media (max-width: 560px) { .km-hint { margin-top: -4px; } }

/* ---------- reminders ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--text-2); }
.filter-chips a:hover { border-color: var(--blue); color: var(--blue); }
.filter-chips a.on { background: var(--text); border-color: var(--text); color: #fff; }
.reminders-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.reminders-list { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.empty-sm { padding: 36px 24px; }
.rem-group { display: flex; flex-direction: column; gap: 10px; }
.rem-group > h2 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rem-due > h2 { color: var(--amber-ink); }
.rem-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.rem-due .rem-card { background: #FFFBF2; border-color: #F1D79F; }
.rem-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--text-2); }
.rem-due .rem-icon { background: var(--amber-soft); color: var(--amber-ink); }
.rem-soon .rem-icon { background: var(--blue-soft); color: var(--blue-ink); }
.rem-main { min-width: 0; }
.rem-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.rem-title b { font-size: 16px; }
.rem-title .muted { font-size: 13px; }
.rem-when { font-size: 14px; margin-top: 2px; }
.rem-due .rem-when b { color: var(--amber-ink); }
.rem-bar { height: 6px; border-radius: 3px; background: #EEF2F6; overflow: hidden; margin-top: 10px; }
.rem-bar span { display: block; height: 100%; border-radius: 3px; background: var(--blue-light); }
.rem-soon .rem-bar span { background: var(--blue); }
.rem-due .rem-bar span { background: var(--amber); }
.rem-actions { display: flex; align-items: center; gap: 4px; }
.rem-actions form { margin: 0; }
.rem-more { position: relative; }
.rem-more > summary { list-style: none; border: 0; background: transparent; cursor: pointer; }
.rem-more > summary::-webkit-details-marker { display: none; }
.rem-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 48px rgba(29, 34, 39, .16); padding: 6px; display: flex; flex-direction: column; }
.rem-menu a, .rem-menu button { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left; width: 100%; }
.rem-menu a:hover, .rem-menu button:hover { background: var(--soft); color: var(--text); }
.rem-menu .danger { color: #9B1C1C; }
.rem-menu form { margin: 0; }
.rem-finished { border-top: 1px solid var(--line); padding-top: 4px; }
.rem-finished > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; }
.rem-finished > summary::-webkit-details-marker { display: none; }
.rem-finished[open] > summary span { transform: rotate(90deg); }
.rem-finished-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid #EEF2F6; font-size: 14px; color: var(--muted); }
.rem-finished-row form { margin: 0; }
.rem-finished-row .icon-btn { border: 0; background: none; color: var(--muted); }

.rem-form-wrap { position: sticky; top: 90px; }
.rem-form { padding: 22px; gap: 16px; box-shadow: 0 12px 45px rgba(29, 34, 39, .06); }
.rem-form [hidden] { display: none !important; }
.rem-form-head { display: flex; justify-content: space-between; align-items: center; }
.rem-form-head h2 { font-size: 18px; }
.rem-form-head .icon-btn, .rem-close { border: 0; background: none; }
.rem-close { display: none; }
.rem-templates { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #EEF2F6; }
.rem-templates .label { font-size: 13px; font-weight: 700; }
.rem-template-list { display: flex; flex-direction: column; gap: 6px; }
.rem-template { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; text-align: left; }
.rem-template b { font-size: 14px; }
.rem-template span { color: var(--muted); }
.rem-template:hover { border-color: var(--blue); }
.rem-template.on { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.rem-form .inp select { border: 0; outline: 0; font: inherit; font-size: 15px; font-weight: 600; flex: 1; min-width: 0; background: transparent; color: var(--text); }
.pills-full { display: flex; }
.pills-full label { flex: 1; }
.pills-full span { flex: 1; }
.rem-add-bar { display: none; }

@media (max-width: 900px) {
	.reminders-layout { grid-template-columns: minmax(0, 1fr); }
	.rem-form-wrap { position: static; }
}
@media (max-width: 560px) {
	.reminders-page { padding-bottom: 110px; }
	.reminders-page .crumbs, .reminders-page .page-head p { display: none; }
	.filter-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); }
	.filter-chips a { flex: none; }
	.rem-card { grid-template-columns: 40px minmax(0, 1fr); gap: 10px 12px; padding: 14px; }
	.rem-icon { width: 40px; height: 40px; border-radius: 10px; }
	.rem-title { flex-direction: column; }
	.rem-title b { font-size: 15px; }
	.rem-title .muted { font-size: 12px; }
	.rem-actions { grid-column: 1 / -1; }
	.rem-actions form:first-child { flex: 1; }
	.rem-actions form:first-child .btn { width: 100%; min-height: 44px; }
	.rem-more > summary { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; }
	/* bottom sheet */
	.rem-form-wrap { display: none; position: fixed; inset: 0; z-index: 30; background: rgba(29, 34, 39, .45); align-items: flex-end; }
	.rem-form-wrap.is-open { display: flex; }
	.rem-form { width: 100%; max-height: calc(100vh - 60px); overflow-y: auto; border-radius: 20px 20px 0 0; padding: 18px 16px 24px; border: 0; }
	.rem-close { display: inline-flex; }
	.rem-template-list { flex-direction: row; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; }
	.rem-template { flex: none; flex-direction: column; align-items: flex-start; gap: 2px; }
	.rem-template b { font-size: 13px; }
	.rem-form .btn-lg { width: 100%; min-height: 54px; }
	.rem-add-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: 10px 16px 16px; }
	.rem-add-bar .btn { width: 100%; min-height: 54px; border-radius: 12px; font-size: 16px; }
	body.sheet-open { overflow: hidden; }
}

/* ---------- per-car pages: išklotinė & analizė ---------- */
:root { --t1: #1769AA; --t2: #2A9D76; --t3: #C98A1E; --t4: #8E5BB5; --t1-soft: #DCEEFD; --t2-soft: #E3F4EE; --t3-soft: #FBF0DC; --t4-soft: #F1EAF7; --good: #2C7A4B; --good-soft: #E3F2E8; --bad: #B42318; --bad-soft: #FDECEA; }
.car-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.car-page .m-only { display: none; }
.car-page .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; background: var(--muted); }
.car-page .dot.t1 { background: var(--t1); } .car-page .dot.t2 { background: var(--t2); } .car-page .dot.t3 { background: var(--t3); } .car-page .dot.t4 { background: var(--t4); }
.car-page .dot.below { background: var(--green); } .car-page .dot.above { background: var(--amber); }
.car-page { gap: 20px; }
.car-head { align-items: center; }
.car-pick-lg { border: 0; background: transparent; padding: 0; gap: 12px; }
.car-pick-lg img, .car-pick-lg .car-pick-noimg { width: 64px; height: 48px; border-radius: 10px; }
.car-pick-text { display: flex; flex-direction: column; min-width: 0; }
.car-pick-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.car-pick-lg select { font-size: 24px; font-weight: 800; letter-spacing: -.02em; padding: 0; margin-left: -2px; cursor: pointer; }
.car-head-actions { display: flex; gap: 10px; }
.car-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.car-tabs a { flex: none; padding: 12px 2px; font-weight: 700; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.car-tabs a:hover { color: var(--text); }
.car-tabs a.on { color: var(--text); border-bottom-color: var(--blue); }

/* list */
.car-page .ledger-filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.car-page .type-chips a { gap: 6px; }
.car-page .type-chips a i { font-style: normal; font-weight: 600; color: var(--muted); }
.car-page .type-chips a.on i { color: #AEB8C0; }
.car-page .ledger-search { display: flex; gap: 8px; align-items: center; }
.car-page .search-inp { display: flex; align-items: center; gap: 8px; min-height: 42px; width: 240px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; padding: 0 12px; color: var(--muted); }
.car-page .search-inp input { border: 0; outline: 0; font: inherit; font-size: 14px; flex: 1; min-width: 0; background: transparent; color: var(--text); }
.car-page .ledger-search select, .car-page .period-form input { min-height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 10px; font: inherit; font-size: 14px; font-weight: 600; background: #fff; color: var(--text); }
.car-page .ledger { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; overflow: clip; /* clip keeps the sticky header working */ }
.car-page .ledger-table thead th { position: sticky; top: var(--header-h, 73px); z-index: 2; background: #fff; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); }
.car-page .ledger-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.car-page .ledger-table th { font-size: 12px; font-weight: 700; color: var(--muted); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.car-page .ledger-table td { padding: 11px 12px; border-bottom: 1px solid #EEF2F6; vertical-align: middle; }
.car-page .ledger-table .n { text-align: right; white-space: nowrap; }
.car-page .ledger-table td.none { color: #AEB8C0; }
.car-page .ledger-table tr.month td { background: #F6F8FA; font-weight: 800; font-size: 13px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.car-page .ledger-table .c-type, .car-page .ledger-table .c-edit { width: 44px; }
.car-page .ledger-table .c-date { color: var(--text-2); white-space: nowrap; }
.car-page .ledger-table .c-main .muted { font-size: 13px; }
.car-page .ledger-table small { font-size: 12px; color: var(--muted); }
.car-page .rec-link { color: var(--text); }
.car-page .rec-comment { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; max-width: 560px; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--text-2); white-space: normal; overflow-wrap: anywhere; }
.car-page .rec-comment.is-open { display: block; -webkit-line-clamp: unset; line-clamp: none; }
.car-page .clamp-toggle { display: inline; margin-top: 2px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--blue); cursor: pointer; }
.car-page .rec-link:hover { color: var(--blue); }
.car-page .type-chip { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; }
.car-page .type-chip.t1 { background: var(--t1-soft); color: var(--t1); } .car-page .type-chip.t2 { background: var(--t2-soft); color: var(--t2); }
.car-page .type-chip.t3 { background: var(--t3-soft); color: var(--amber-ink); } .car-page .type-chip.t4 { background: var(--t4-soft); color: var(--t4); }
.car-page .cons { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.car-page .icon-btn-plain { width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); }
.car-page .icon-btn-plain:hover { background: var(--soft); color: var(--text); }
.car-page .ledger-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; }
.car-page .ledger-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; }
.car-page .ledger-legend .dot { margin-right: 4px; }
.car-page .fab { position: fixed; right: 16px; bottom: 20px; width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(23, 105, 170, .35); z-index: 5; }
.car-page .fab:hover { color: #fff; background: var(--blue-hover); }

/* analysis */
.car-page .period-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.car-page .period-note { font-size: 13px; }
.car-page .period-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; background: var(--soft); border-radius: 10px; padding: 4px; }
.car-page .period-seg > a, .car-page .period-seg summary { display: flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; list-style: none; }
.car-page .period-seg summary::-webkit-details-marker { display: none; }
.car-page .period-seg > a:hover, .car-page .period-seg summary:hover { color: var(--text); }
.car-page .period-seg > a.on, .car-page .period-custom.on summary { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(29, 34, 39, .12); }
.car-page .period-custom { position: relative; }
.car-page .period-form { position: absolute; top: calc(100% + 8px); left: 0; z-index: 6; display: flex; gap: 10px; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.car-page .period-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.car-page .kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.car-page .kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.car-page .kpi-title { font-size: 13px; font-weight: 600; color: var(--muted); }
.car-page .kpi-value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.car-page .kpi-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.car-page .kpi .spark { margin-top: 4px; }
.car-page .delta { font-weight: 800; border-radius: 6px; padding: 2px 6px; background: var(--soft); color: var(--text-2); }
.car-page .delta.good { background: var(--good-soft); color: var(--good); }
.car-page .delta.bad { background: var(--bad-soft); color: var(--bad); }
.car-page .kpi-tag { font-size: 12px; font-weight: 700; color: var(--text-2); background: var(--soft); border-radius: 6px; padding: 2px 8px; }
.car-page .insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.car-page .insight { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.car-page .insight b { display: block; font-size: 14px; }
.car-page .insight small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.car-page .insight-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--text-2); }
.car-page .insight-icon.blue { background: var(--t1-soft); color: var(--blue); }
.car-page .insight-icon.green { background: var(--good-soft); color: var(--good); }
.car-page .an-grid { display: grid; gap: 20px; align-items: start; }
.car-page .an-main { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.car-page .an-main.single { grid-template-columns: minmax(0, 1fr); }
.car-page .an-sparse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.car-page .an-stack { display: flex; flex-direction: column; gap: 20px; }
.car-page .an-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.car-page .an-cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.car-page .card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.car-page .card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.car-page .card-head h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.car-page .card-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.car-page .card .more { font-size: 13px; font-weight: 700; white-space: nowrap; }
.car-page .card .small, .car-page .card p.small { font-size: 12px; }
.car-page .legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.car-page .legend > span { display: inline-flex; align-items: center; gap: 6px; }
.car-page .legend .dash { width: 16px; border-top: 1.5px dashed var(--text); }
.car-page .legend .swatch { width: 14px; height: 10px; border-radius: 2px; background: #E4E9ED; }
.car-page .kpi-grid.kpi-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.car-pick-lg select { field-sizing: content; max-width: 100%; }
.car-page .chart { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.car-page .chart .ax { font-size: 11px; fill: var(--muted); }
.car-page .chart .ax.b { font-weight: 700; }
.car-page .chart .val { font-size: 12px; font-weight: 800; fill: var(--text); }
.car-page .chart .val.sm { font-size: 11px; font-weight: 700; }
.car-page .chart .val.own { fill: var(--blue); }
.car-page .chart-compact { display: none; }
.car-page .table-view summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); cursor: pointer; list-style: none; }
.car-page .table-view summary::-webkit-details-marker { display: none; }
.car-page .table-scroll { overflow-x: auto; margin-top: 10px; }
.car-page .table-scroll table { width: 100%; border-collapse: collapse; font-size: 13px; }
.car-page .table-scroll th { text-align: left; font-size: 12px; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.car-page .table-scroll td { padding: 6px 8px; border-bottom: 1px solid #EEF2F6; white-space: nowrap; }
.car-page .table-scroll .n { text-align: right; }
.car-page .share-list { display: flex; flex-direction: column; gap: 16px; }
.car-page .share-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.car-page .share-top > span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.car-page .share-pct { display: inline-block; min-width: 40px; text-align: right; font-weight: 600; }
.car-page .share-bar { height: 10px; border-radius: 5px; background: var(--soft); overflow: hidden; margin-top: 6px; }
.car-page .share-bar span { display: block; height: 100%; border-radius: 0 5px 5px 0; }
.car-page .share-bar .t1 { background: var(--t1); } .car-page .share-bar .t2 { background: var(--t2); } .car-page .share-bar .t3 { background: var(--t3); } .car-page .share-bar .t4 { background: var(--t4); }
.car-page .per-km { display: flex; flex-direction: column; }
.car-page .per-km-title { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.car-page .per-km > div { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-top: 1px solid #EEF2F6; }
.car-page .per-km > div span { display: flex; align-items: center; gap: 8px; }
.car-page .steps { display: flex; flex-direction: column; }
.car-page .step { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #EEF2F6; }
.car-page .step:first-child { border-top: 0; padding-top: 0; }
.car-page .step b { display: block; font-size: 14px; color: var(--text-2); }
.car-page .step.ok b { color: var(--text); }
.car-page .step small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.car-page .step-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--soft); color: #AEB8C0; }
.car-page .step-icon > span { width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid #AEB8C0; }
.car-page .step.ok .step-icon { background: var(--good-soft); color: var(--good); }
.car-page .steps + .btn { align-self: flex-start; }
.car-page .mini-list > div { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #EEF2F6; font-size: 14px; }
.car-page .mini-list > div:first-child { border-top: 0; }
.car-page .mini-list .muted { width: 44px; font-size: 13px; }
.car-page .mini-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.car-page .hist-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 10px; align-items: center; font-size: 13px; padding: 5px 0; }
.car-page .hist-row b { text-align: right; }
.car-page .hist-bar { height: 16px; background: var(--soft); border-radius: 0 4px 4px 0; }
.car-page .hist-bar span { display: block; height: 100%; background: var(--blue); border-radius: 0 4px 4px 0; }
.car-page .note { display: flex; gap: 10px; align-items: flex-start; background: #F6F8FA; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--text-2); }
.car-page .note .icon { flex: none; color: var(--muted); margin-top: 1px; }
.car-page .split-bar { display: flex; gap: 2px; height: 30px; border-radius: 6px; overflow: hidden; }
.car-page .split-bar span { display: flex; align-items: center; padding-left: 10px; font-size: 12px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; background: var(--t1); }
.car-page .split-bar span + span { flex: 1; background: var(--t2); }
.car-page .split-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.car-page .split-tiles > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.car-page .split-tiles b { font-size: 24px; font-weight: 800; }
.car-page .split-tiles small { font-size: 12px; color: var(--muted); }
.car-page .years { display: flex; flex-direction: column; }
.car-page .year-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 150px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #EEF2F6; }
.car-page .year-row:first-child { border-top: 0; }
.car-page .year-row small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.car-page .year-row small b { color: var(--text); }
.car-page .year-bar { display: flex; height: 22px; }
.car-page .year-bar span { background: var(--blue); border-radius: 0 4px 4px 0; }
.car-page .year-bar span:not(:last-child) { border-radius: 0; }
.car-page .year-bar i { margin-left: 2px; border: 1.5px dashed var(--blue); border-left: 0; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(135deg, var(--blue-soft) 0 4px, #fff 4px 8px); }
.car-page .year-side { text-align: right; font-size: 13px; color: var(--muted); }
.car-page .year-side b { color: var(--text); }
.car-page .top-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #EEF2F6; }
.car-page .top-row:first-child { border-top: 0; padding-top: 0; }
.car-page .top-n { width: 22px; font-weight: 800; font-size: 13px; color: var(--muted); }
.car-page .top-main { flex: 1; min-width: 0; }
.car-page .top-main a { color: var(--text); font-size: 14px; }
.car-page .top-main small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 2px; }

@media (max-width: 1080px) {
	.car-page .an-main, .car-page .an-sparse { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.car-page .d-only { display: none !important; }
	.car-page .m-only { display: inline; }
	.car-page .fab.m-only { display: flex; }
	.car-page .an-cards { grid-template-columns: minmax(0, 1fr); }
	.car-page .chart-wide { display: none; }
	.car-page .chart-compact { display: block; }
	.car-pick-lg select { font-size: 19px; }
	.car-pick-lg img, .car-pick-lg .car-pick-noimg { width: 48px; height: 36px; }
	.car-head { flex-wrap: nowrap; }
	.car-head-actions .btn:not(.btn-ghost) { display: none; }
	.car-head-actions .btn-ghost { width: 44px; padding: 0; }
	.car-head-actions .btn-ghost span { display: none; }
	.car-tabs { gap: 20px; margin: 0 -16px; padding: 0 16px; }
	.car-tabs a { font-size: 14px; }
	.car-page .ledger-filters { flex-direction: column-reverse; align-items: stretch; }
	.car-page .ledger-search { width: 100%; }
	.car-page .ledger-search select { flex: 0 0 40%; width: 40%; min-width: 0; }
	.car-page .ledger-search .search-inp { min-width: 0; }
	.car-page .ledger-table tr.month { gap: 0; }
	.car-page .period-bar > * { min-width: 0; max-width: 100%; }
	.car-page .search-inp { flex: 1; width: auto; min-height: 44px; }
	.car-page .search-inp input { font-size: 16px; }
	.car-page .ledger { border-radius: 0; border-left: 0; border-right: 0; margin: 0 -16px; }
	.car-page .ledger-table thead { display: none; }
	.car-page .ledger-table, .car-page .ledger-table tbody { display: block; }
	.car-page .ledger-table tr { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #EEF2F6; }
	.car-page .ledger-table td { padding: 0; border: 0; }
	.car-page .ledger-table tr.month { padding: 0; border: 0; }
	.car-page .ledger-table tr.month td { flex: 1; display: block; padding: 14px 16px 6px; background: var(--bg); border-bottom: 1px solid var(--line); }
	.car-page .ledger-table tr.month td:first-child { flex: 1; }
	.car-page .ledger-table tr.month td.n { flex: none; color: var(--muted); }
	.car-page .ledger-table tr.month td:last-child { display: none; }
	.car-page .ledger-table tr.month { display: flex; background: var(--bg); }
	.car-page .ledger-table .c-type .type-chip { width: 40px; height: 40px; border-radius: 11px; }
	.car-page .ledger-table .c-date { display: none; }
	.car-page .ledger-table .c-main { flex: 1; min-width: 0; }
	.car-page .ledger-table .c-main b { font-size: 15px; }
	.car-page .m-meta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.car-page .c-sum { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
	.car-page .c-sum .m-only { font-size: 12px; }
	.car-page .ledger-foot { flex-direction: column; align-items: stretch; text-align: center; }
	.car-page .ledger-legend { padding-bottom: 72px; }
	.car-page .period-bar { flex-direction: column; align-items: stretch; }
	.car-page .period-seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.car-page .period-seg > a, .car-page .period-seg summary { flex: none; padding: 0 12px; min-height: 38px; }
	.car-page .period-custom { position: static; }
	.car-page .period-form { left: 16px; right: 16px; flex-wrap: wrap; }
	.car-page .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.car-page .kpi-grid .kpi-main { grid-column: 1 / -1; }
	.car-page .kpi-grid.kpi-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.car-page .kpi-grid .kpi-main .kpi-value { font-size: 32px; }
	.car-page .kpi { padding: 14px; border-radius: 14px; }
	.car-page .kpi-value { font-size: 21px; }
	.car-page .kpi:not(.kpi-main) .spark { display: none; }
	.car-page .insights { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.car-page .card { padding: 18px 16px; border-radius: 16px; gap: 14px; }
	.car-page .card-head h2 { font-size: 16px; }
	.car-page .year-row { grid-template-columns: 44px minmax(0, 1fr); }
	.car-page .hist-row { grid-template-columns: 96px 1fr 56px; }
	.car-page .split-tiles b { font-size: 20px; }
}
/* public profile settings */
.car-page .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.car-page .copy-row { display: flex; gap: 8px; }
.car-page .copy-row input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 12px; font: inherit; font-size: 14px; color: var(--text-2); background: var(--soft); }
.car-page .toggle-list { display: flex; flex-direction: column; gap: 4px; }
.car-page .toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #EEF2F6; cursor: pointer; }
.car-page .toggle-row b { display: block; font-size: 14px; }
.car-page .toggle-row small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.car-page .toggle-list .btn { align-self: flex-start; margin-top: 12px; }
.car-page .switch { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line-strong); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.car-page .switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(29, 34, 39, .25); transition: transform .15s; }
.car-page .switch:checked { background: var(--blue); }
.car-page .switch:checked::after { transform: translateX(18px); }
.car-page .switch:focus-visible { outline: 3px solid var(--blue-line); outline-offset: 2px; }
.car-page .banner-list { display: flex; flex-direction: column; }
.car-page .banner-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 20px; align-items: center; padding: 16px 0; border-top: 1px solid #EEF2F6; }
.car-page .banner-item:first-child { border-top: 0; padding-top: 0; }
.car-page .banner-info b { display: block; font-size: 14px; }
.car-page .banner-info small { display: block; font-size: 12.5px; margin-top: 2px; }
.car-page .banner-img { min-width: 0; overflow-x: auto; }
.car-page .banner-img img { display: block; max-width: none; }
.car-page .banner-codes { grid-column: 2; }
.car-page .banner-codes summary { font-size: 13px; font-weight: 700; color: var(--blue); cursor: pointer; }
.car-page .code-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.car-page .code-pair label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.car-page .code-pair textarea { font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px; resize: vertical; background: var(--soft); }
.car-page .code-pair .btn { align-self: flex-start; }
@media (max-width: 900px) {
	.car-page .profile-grid { grid-template-columns: minmax(0, 1fr); }
	.car-page .banner-item { grid-template-columns: minmax(0, 1fr); }
	.car-page .banner-codes { grid-column: 1; }
	.car-page .code-pair { grid-template-columns: minmax(0, 1fr); }
}

/* public car page */
.car-page .owner-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; background: var(--blue-soft); color: var(--blue-ink); border-radius: 12px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.car-page .owner-bar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.car-page .owner-links { display: flex; gap: 16px; }
.car-page .owner-links a { font-weight: 700; }
.car-page .pub-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.car-page .pub-photo { border-radius: 22px; overflow: hidden; background: var(--soft); aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; color: #AEB8C0; box-shadow: var(--shadow); }
.car-page .pub-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-page .pub-photo.is-empty { box-shadow: none; border: 1px dashed var(--line-strong); }
.car-page .pub-info { display: flex; flex-direction: column; gap: 16px; }
.car-page .pub-info .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.car-page .pub-info h1 { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.car-page .pub-info h1 span { color: var(--muted); font-weight: 700; }
.car-page .pub-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.car-page .pub-specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.car-page .pub-specs dt { color: var(--muted); }
.car-page .pub-specs dd { margin: 0; font-weight: 700; text-align: right; }
.car-page .pub-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.car-page .pub-section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h, 73px) + 16px); }
.car-page .pub-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.car-page .pub-section-head h2 { font-size: 22px; font-weight: 800; }
.car-page .pub-section-head .more { font-size: 14px; font-weight: 700; }
.car-page .pub-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; background: var(--text); color: #fff; border-radius: 22px; padding: 28px 32px; }
.car-page .pub-cta h2 { font-size: 24px; font-weight: 800; }
.car-page .pub-cta p { color: #C9D1D8; margin-top: 6px; font-size: 15px; }
@media (max-width: 900px) {
	.car-page .pub-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.car-page .pub-info h1 { font-size: 30px; }
}
@media (max-width: 560px) {
	.car-page .pub-photo { margin: 0 -16px; border-radius: 0; box-shadow: none; }
	.car-page .pub-specs { grid-template-columns: minmax(0, 1fr); }
	.car-page .pub-actions .btn { flex: 1; }
	.car-page .pub-cta { padding: 22px 20px; }
	.car-page .pub-cta .btn { width: 100%; }
}
/* ---------- car search (/automobiliai) ---------- */
.search-hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.search-hero .wrap { padding-top: 40px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 22px; }
.search-intro h1 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.search-intro p { margin-top: 8px; max-width: 640px; font-size: 16px; }
.search-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr) auto; gap: 14px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 6px 24px rgba(29, 34, 39, .05); }
.sf { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 12px; font-weight: 700; color: var(--text-2); }
.sf select { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: #fff; }
.sf select:disabled { background: var(--soft); color: var(--muted); }
.sf-years > div { display: flex; align-items: center; gap: 6px; }
.sf-years select { flex: 1; min-width: 0; }
.sf-years i { font-style: normal; color: var(--muted); }
.search-filters .btn { min-height: 44px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.search-chips a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; font-weight: 600; color: var(--text); }
.search-chips a:hover { border-color: var(--blue); color: var(--blue); }
.search-chips a.clear { background: none; border: 0; padding: 6px 4px; font-weight: 700; color: var(--blue); }
.search-page { gap: 22px; padding-top: 28px; }
.search-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; }
.search-bar b { color: var(--text); }
.search-sort label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.search-sort select { min-height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 10px; font: inherit; font-size: 14px; font-weight: 500; background: #fff; color: var(--text); }
.search-grid { list-style: none; margin: 0; padding: 0; }
.search-grid > li { display: flex; }
.search-grid .car-card { width: 100%; }
.car-card-noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--soft); color: #AEB8C0; }
.car-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; font-size: 12px; }
.car-facts dt { color: var(--muted); }
.car-facts dd { margin: 0; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 8px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--text-2); border: 1px solid var(--line); background: #fff; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager span.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.pager span.gap { border: 0; background: none; min-width: 20px; }
@media (max-width: 1080px) {
	.search-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.search-filters .btn { grid-column: span 1; }
}
@media (max-width: 560px) {
	.search-hero .wrap { padding-top: 24px; padding-bottom: 20px; gap: 16px; }
	.search-intro h1 { font-size: 28px; }
	.search-intro p { font-size: 14px; }
	.search-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }
	.sf-years, .search-filters .btn { grid-column: 1 / -1; }
	.search-bar { font-size: 14px; }
	.car-facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.car-facts > div { display: flex; justify-content: space-between; gap: 6px; }
}
/* ---------- catalogue home (/auto-katalogas) ---------- */
.catalog-hero .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.catalog-search-big { max-width: 760px; }
.catalog-page { gap: 40px; }
.cat-section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--header-h, 73px) + 16px); }
.cat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.cat-head h2 { font-size: 24px; font-weight: 800; }
.cat-head .more { font-size: 14px; font-weight: 700; }
.make-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.make-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-align: center; transition: box-shadow .15s, transform .15s; }
.make-tile:hover { color: var(--text); box-shadow: 0 12px 32px rgba(29, 34, 39, .10); transform: translateY(-2px); }
.make-tile img { width: 64px; height: 64px; object-fit: contain; }
.make-tile b { font-size: 15px; }
.make-tile span { font-size: 12px; color: var(--muted); }
.make-filter { display: flex; align-items: center; gap: 8px; min-height: 42px; width: 260px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; padding: 0 12px; color: var(--muted); }
.make-filter input { border: 0; outline: 0; font: inherit; font-size: 14px; flex: 1; min-width: 0; background: transparent; color: var(--text); }
.letter-bar { display: flex; flex-wrap: wrap; gap: 4px; }
.letter-bar a { min-width: 34px; height: 34px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); background: #fff; border: 1px solid var(--line); }
.letter-bar a:hover { border-color: var(--blue); color: var(--blue); }
.make-index { columns: 4 220px; column-gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.make-letter { break-inside: avoid; padding-bottom: 14px; scroll-margin-top: calc(var(--header-h, 73px) + 16px); }
.make-letter > b { display: block; font-size: 13px; font-weight: 800; color: var(--blue); padding: 4px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.make-letter ul { list-style: none; margin: 0; padding: 0; }
.make-letter a { display: flex; align-items: center; gap: 10px; padding: 5px 6px; margin: 0 -6px; border-radius: 8px; color: var(--text); font-size: 14px; }
.make-letter a:hover { background: var(--soft); color: var(--blue); }
.make-letter img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.make-letter span { flex: 1; min-width: 0; }
.make-letter i { font-style: normal; font-size: 12px; color: var(--muted); }
.cat-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; background: var(--text); color: #fff; border-radius: 22px; padding: 28px 32px; }
.cat-cta h2 { font-size: 24px; font-weight: 800; }
.cat-cta p { color: #C9D1D8; margin-top: 6px; font-size: 15px; }
@media (max-width: 1080px) { .make-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.catalog-page { gap: 28px; }
	.cat-head h2 { font-size: 20px; }
	.make-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.make-tile { padding: 12px 6px; border-radius: 12px; }
	.make-tile img { width: 44px; height: 44px; }
	.make-tile b { font-size: 13px; }
	.make-filter { width: 100%; }
	.make-index { padding: 14px 16px; }
	.letter-bar { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
	.letter-bar a { flex: none; }
	.cat-cta { padding: 22px 20px; }
	.cat-cta .btn { width: 100%; }
}
/* catalogue make page */
.make-page { gap: 24px; }
.make-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.make-title { display: flex; align-items: center; gap: 16px; }
.make-logo { width: 72px; height: 72px; flex: none; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.make-logo img { width: 56px; height: 56px; object-fit: contain; }
.make-title h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.make-title p { font-size: 14px; margin-top: 2px; }
.garage-box { display: flex; align-items: center; gap: 14px; background: var(--blue-soft); border-radius: 14px; padding: 12px 18px; color: var(--text); font-size: 13px; line-height: 1.35; }
.garage-box:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--blue-line); }
.garage-box > b { font-size: 26px; font-weight: 800; color: var(--blue-ink); }
.garage-box span { color: var(--text-2); }
.garage-box strong { color: var(--text); }
.section-chips { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: var(--header-h, 73px); z-index: 3; background: var(--bg); padding: 10px 0; margin: -10px 0; }
.section-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--text-2); }
.section-chips a:hover { border-color: var(--blue); color: var(--blue); }
.section-chips i { font-style: normal; font-weight: 600; color: var(--muted); }
.make-page .cat-head h2 .muted { font-size: 16px; font-weight: 600; }
.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--text); transition: box-shadow .15s, transform .15s; }
.model-card:hover { color: var(--text); box-shadow: 0 12px 32px rgba(29, 34, 39, .10); transform: translateY(-2px); }
.model-card img, .model-noimg { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); }
.model-noimg { display: flex; align-items: center; justify-content: center; color: #AEB8C0; }
.model-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.model-body b { font-size: 15px; }
.model-body .muted { font-size: 13px; }
.model-garage { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--blue-ink); background: var(--blue-soft); border-radius: 6px; padding: 2px 8px; }
.make-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.make-strip a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--text); }
.make-strip a:hover { border-color: var(--blue); color: var(--blue); }
.make-strip img { width: 36px; height: 36px; object-fit: contain; }
@media (max-width: 1080px) { .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.make-title h1 { font-size: 24px; }
	.make-logo { width: 56px; height: 56px; border-radius: 12px; }
	.make-logo img { width: 42px; height: 42px; }
	.garage-box { width: 100%; }
	.section-chips { flex-wrap: nowrap; overflow-x: auto; margin: -10px -16px; padding: 10px 16px; scrollbar-width: none; }
	.section-chips a { flex: none; }
	.model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.model-body { padding: 10px; }
	.model-body b { font-size: 14px; }
}
/* catalogue model page */
.model-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.model-side { position: sticky; top: calc(var(--header-h, 73px) + 16px); }
.side-list { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; }
.side-list > b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 12px 8px; }
.side-list a { padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); }
.side-list a:hover { background: var(--soft); color: var(--text); }
.side-list a.on { background: var(--blue-soft); color: var(--blue-ink); font-weight: 700; }
.side-list a.all { font-weight: 700; color: var(--blue); margin-top: 4px; }
.model-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.gen-section { gap: 12px; }
.gen-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.gen-head h2 { font-size: 20px; font-weight: 800; }
.gen-head h2 .muted { font-size: 15px; font-weight: 500; }
.gen-rating { font-size: 13px; color: var(--text-2); }
.gen-rating:hover { color: var(--blue); }
.stars { color: var(--amber); letter-spacing: 1px; }
.body-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; color: var(--text); }
.review-card:hover { color: var(--text); border-color: var(--blue-line); }
.review-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.review-top b { font-size: 15px; }
.review-card p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.review-card small { font-size: 12px; }
@media (max-width: 1080px) { .body-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.model-layout { grid-template-columns: minmax(0, 1fr); }
	.model-side { position: static; order: 2; }
}
@media (max-width: 560px) {
	.body-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gen-head h2 { font-size: 18px; }
	.review-card { padding: 14px 16px; }
}
/* catalogue body page */
.group-page { gap: 24px; }
.group-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery-main { display: block; border-radius: 20px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-main.is-empty { display: flex; align-items: center; justify-content: center; color: #AEB8C0; box-shadow: none; border: 1px dashed var(--line-strong); }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.gallery-thumbs button { flex: none; width: 88px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--soft); cursor: pointer; }
.gallery-thumbs button.on { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.group-info { display: flex; flex-direction: column; gap: 18px; }
.group-title { display: flex; align-items: center; gap: 14px; }
.group-title h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.group-title h1 span { color: var(--muted); font-weight: 700; }
.group-title p { font-size: 14px; margin-top: 4px; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.fact-grid > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.fact-grid dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.fact-grid dd { margin: 2px 0 0; font-size: 15px; font-weight: 800; }
.group-info .garage-box { align-self: flex-start; }
.garage-box span b { color: var(--text); font-size: inherit; }
.group-columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.group-side { display: flex; flex-direction: column; gap: 20px; }
.mod-filter a { cursor: pointer; }
.mods-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mods-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
.mods-table th:hover { color: var(--text); }
.mods-table th[aria-sort]::after { content: ' ▲'; font-size: 9px; }
.mods-table th[aria-sort="descending"]::after { content: ' ▼'; }
.mods-table td { padding: 10px; border-bottom: 1px solid #EEF2F6; vertical-align: middle; }
.mods-table .n { text-align: right; white-space: nowrap; }
.mods-table td a { color: var(--text); }
.mods-table td a:hover { color: var(--blue); }
.mods-table small { color: var(--muted); font-size: 12px; }
.mods-table tr[hidden] { display: none; }
.mods-table th.c-toggle, .mods-table td.c-toggle { width: 36px; padding-right: 0; cursor: default; }
.row-toggle { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); cursor: pointer; padding: 0; }
.row-toggle:hover { color: var(--blue); border-color: var(--blue); }
.row-toggle svg { transition: transform .15s; }
.row-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mods-table tr.open td { border-bottom-color: transparent; background: #F7FAFD; }
.mods-table tr.mod-detail td { background: #F7FAFD; padding: 4px 10px 14px 46px; }
.mods-table tr.mod-detail dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 18px; margin: 0 0 8px; }
.mods-table tr.mod-detail dt { font-size: 11.5px; color: var(--muted); }
.mods-table tr.mod-detail dd { margin: 0; font-weight: 600; font-size: 13.5px; }
.mods-table tr.mod-detail .more { font-size: 13px; font-weight: 600; }
.spec-list { margin: 0; display: flex; flex-direction: column; }
.spec-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEF2F6; font-size: 14px; }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; }
.rating-big { display: flex; align-items: center; gap: 14px; }
.rating-big > b { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.rating-big > span { display: flex; flex-direction: column; }
.rating-big .stars { font-size: 18px; }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rating-bars > div { display: grid; grid-template-columns: 130px 1fr 30px; gap: 10px; align-items: center; font-size: 13px; }
.rating-bars b { text-align: right; }
.rating-bar { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.rating-bar i { display: block; height: 100%; background: var(--amber); border-radius: 4px; }
.rating-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gen-chips { position: static; margin: 0; padding: 0; }
@media (max-width: 1080px) { .group-columns { grid-template-columns: minmax(0, 1fr); } .group-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .group-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 560px) {
	.gallery-main { margin: 0 -16px; border-radius: 0; box-shadow: none; }
	.group-title h1 { font-size: 22px; }
	.fact-grid dd { font-size: 14px; }
	.group-side { grid-template-columns: minmax(0, 1fr); }
	.mods-table thead { display: none; }
	.mods-table, .mods-table tbody { display: block; }
	.mods-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; padding: 12px 0; border-bottom: 1px solid #EEF2F6; }
	.car-page .mods-table td { padding: 0; border: 0; font-size: 12.5px; text-align: left !important; white-space: normal; }
	.mods-table tr:not(.mod-detail) { position: relative; }
	.car-page .mods-table td.c-toggle { position: absolute; top: 8px; right: 0; width: auto; }
	.car-page .mods-table td:nth-child(2) { grid-column: 1 / -1; font-size: 15px; padding-right: 40px; }
	.mods-table td:nth-child(6) { display: none; }
	.mods-table tr.mod-detail { display: block; padding: 4px 0 14px; }
	.mods-table tr.mod-detail[hidden] { display: none; }
	.car-page .mods-table tr.mod-detail td { display: block; padding: 10px 12px; border-radius: 10px; }
	.mods-table tr.mod-detail dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mods-table tr.open td { background: none; }
	.group-mods .table-scroll { overflow: visible; }
}
@media print {
	.site-header, .mobile-tabs, .ad-top, footer, .car-head-actions, .car-tabs, .period-bar .period-seg, .fab, .table-view, .ledger-filters { display: none !important; }
	body { background: #fff; }
	.card, .kpi, .insight { break-inside: avoid; }
}

/* ---------- forms: new car, profile, contacts, review ---------- */
.req { color: #B4441C; }
.small-link { align-self: flex-start; font-size: 13px; font-weight: 700; }
.link-muted { font-size: 14px; font-weight: 700; color: var(--text-2); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.form-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; min-width: 0; }
.form-sec { display: flex; flex-direction: column; gap: 18px; padding: 26px 28px; border-top: 1px solid #EEF2F6; min-width: 0; }
.form-sec:first-of-type { border-top: 0; }
.form-card.is-split { background: none; border: 0; gap: 18px; }
.form-card.is-split > .form-sec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.sec-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sec-h i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.sec-h h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.sec-h > span { font-size: 13px; color: var(--muted); }
.sec-h .sec-link { margin-left: auto; font-size: 13px; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--blue-ink) !important; background: var(--blue-soft); border-radius: 6px; padding: 2px 7px; }
.badge[hidden] { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 20px 28px; border-top: 1px solid #EEF2F6; background: var(--bg); border-radius: 0 0 18px 18px; }
.form-foot > .muted { margin-left: auto; }
.form-card.is-split .form-foot { border: 0; background: none; padding: 0; }
.inp select { border: 0; outline: 0; font: inherit; font-size: 15px; font-weight: 600; flex: 1; min-width: 0; background: transparent; color: var(--text); min-height: 44px; }
.inp select:disabled { color: var(--muted); }
.field textarea, .form-sec textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px; line-height: 1.55; resize: vertical; color: var(--text); background: #fff; }
.field textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px var(--blue-soft); }
.field textarea::placeholder, .inp input::placeholder { color: #8A96A0; font-weight: 500; }
.field.is-missing textarea { border-color: #9B1C1C; box-shadow: 0 0 0 3px #FDECEC; }
.seg-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.seg-6 .seg-item > span { font-size: 13px; line-height: 1.2; padding: 4px 6px; }
.pills-wide { display: flex; }
.pills-wide label { flex: 1; }
.pills-wide span { flex: 1; }
.power-row { display: flex; gap: 8px; }
.power-row .inp { flex: 1; min-width: 0; }
.power-row .inp input { width: 100%; }
.power-row .pills { flex: none; }
.check[hidden] { display: none; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.catalog-pick { background: #F5F8FA; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.catalog-pick[hidden] { display: none; }
.catalog-pick-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 14px; font-size: 13px; }
.catalog-pick-head div { display: flex; flex-direction: column; gap: 2px; }
.catalog-pick-head b { font-size: 15px; }
.catalog-pick-head a { font-weight: 700; }
.mod-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 260px; overflow-y: auto; }
.mod-chip { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 56px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; color: var(--text); }
.mod-chip b { font-size: 14px; }
.mod-chip span { font-size: 12px; color: var(--muted); }
.mod-chip:hover { border-color: var(--blue); }
.mod-chip.on { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.mod-chip.is-own { border-style: dashed; color: var(--text-2); }
.upload-box { position: relative; display: flex; align-items: center; gap: 18px; border: 1.5px dashed #B9C4CC; border-radius: 14px; padding: 18px 20px; background: var(--bg); cursor: pointer; }
.upload-box:hover, .upload-box:focus-within { border-color: var(--blue); }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-ic { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.upload-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 13px; }
.upload-text b { font-size: 15px; }
.photo-current { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.photo-current img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; }
.form-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h, 73px) + 16px); }
.card-plain { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.card-plain h2 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.preview-card { padding: 0; overflow: hidden; gap: 0; }
.preview-card img, .preview-noimg { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); }
.preview-noimg { display: flex; align-items: center; justify-content: center; color: #AEB8C0; }
.preview-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.preview-body b { font-size: 19px; line-height: 1.25; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.preview-tags span, .chip-soft { background: var(--soft); border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.tick { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.tick .icon { flex: none; margin-top: 2px; color: #2A9D76; }
.aside-dark { background: var(--dark); color: #fff; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.aside-dark .tag { color: #AEB8C0; }
.aside-dark b { font-size: 18px; line-height: 1.3; }
.aside-dark p { font-size: 14px; line-height: 1.5; color: #D5DCE1; }
.aside-dark a:not(.btn) { color: #fff; font-weight: 700; font-size: 14px; }
.aside-dark .btn { background: #fff; color: var(--text); }
.aside-soft { background: var(--soft); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.aside-soft b { color: var(--text); font-size: 15px; }
.aside-soft ul { margin: 0; padding-left: 18px; }
.ts-box { min-height: 65px; }
@media (max-width: 1100px) {
	.form-layout { grid-template-columns: minmax(0, 1fr); }
	.form-aside { position: static; }
	.seg-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.form-sec { padding: 20px 16px; }
	.form-foot { padding: 16px; }
	.form-foot .btn { flex: 1 1 100%; }
	.form-foot > .muted { margin-left: 0; }
	.form-card.is-split > .form-sec { border-radius: 16px; }
	.seg-6 .seg-item > span { min-height: 52px; font-size: 12px; flex-direction: row; }
	.grid-fields.grid-2 { grid-template-columns: minmax(0, 1fr); }
	.car-form-page .grid-fields { grid-template-columns: minmax(0, 1fr); }
	.upload-box { flex-wrap: wrap; }
	.upload-box .btn { width: 100%; }
}

/* profile settings */
.settings-head { display: flex; align-items: center; gap: 18px; }
.settings-head h1 { font-size: 30px; font-weight: 800; }
.settings-head p { font-size: 14px; margin-top: 4px; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; flex: none; }
.settings-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.settings-side { position: sticky; top: calc(var(--header-h, 73px) + 16px); }
.settings-nav { display: flex; flex-direction: column; gap: 2px; }
.settings-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.settings-nav a:hover { background: var(--soft); color: var(--text); }
.settings-nav a.on { background: var(--blue-soft); color: var(--blue-ink); font-weight: 700; }
.settings-nav a.danger { color: #A63D17; }
.settings-form .form-sec { scroll-margin-top: calc(var(--header-h, 73px) + 16px); }
.sec-title { display: flex; flex-direction: column; gap: 3px; }
.sec-title h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.sec-title p { font-size: 14px; }
.sec-title-row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sec-title-row > div { display: flex; flex-direction: column; gap: 3px; }
.inp.is-readonly { background: #F5F8FA; color: var(--muted); }
.inp.is-readonly input { color: var(--text-2); }
.eye-btn { width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.eye-btn:hover, .eye-btn.on { background: var(--soft); color: var(--text); }
.switch-row { display: flex; gap: 18px; align-items: flex-start; }
.switch-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.switch-row label b { font-size: 15px; cursor: pointer; }
.switch-row p { font-size: 14px; line-height: 1.55; }
.switch-example { align-self: flex-start; margin-top: 6px; background: #F5F8FA; border-radius: 8px; padding: 8px 12px; font-size: 13px; color: var(--text-2); }
.switch-example .blue { color: var(--blue-ink); }
.switch { appearance: none; -webkit-appearance: none; position: relative; width: 48px; height: 28px; margin: 0; border-radius: 14px; background: #C3CCD3; flex: none; cursor: pointer; transition: background .15s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: left .15s; }
.switch:checked { background: var(--blue); }
.switch:checked::after { left: 23px; }
.settings-cars { display: flex; flex-direction: column; }
.settings-car { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid #EEF2F6; }
.settings-car:first-child { border-top: 0; }
.settings-car img, .settings-car-noimg { width: 72px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.settings-car-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.settings-car-text b { font-size: 15px; }
.settings-car-text .muted { font-size: 13px; }
.settings-car-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.settings-car-actions a, .settings-car-actions button { font-family: inherit; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; color: var(--text); }
.settings-car-actions a:hover, .settings-car-actions button:hover { border-color: var(--blue); color: var(--blue); }
.settings-car-actions .danger { border-color: #F1D0C4; color: #A63D17; }
.dirty-bar { position: sticky; bottom: 16px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--dark); color: #fff; border-radius: 14px; padding: 12px 12px 12px 20px; box-shadow: 0 14px 36px rgba(29, 34, 39, .22); }
.dirty-bar[hidden] { display: none; }
.dirty-bar > span { flex: 1; min-width: 180px; font-size: 14px; }
.dirty-reset { min-height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: #D5DCE1; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.dirty-bar .btn { background: #fff; color: var(--text); font-weight: 800; }
@media (max-width: 1000px) {
	.settings-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.settings-side { position: static; }
	.settings-nav { flex-direction: row; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
}
@media (max-width: 560px) {
	.settings-head h1 { font-size: 24px; }
	.avatar-lg { width: 52px; height: 52px; font-size: 18px; }
	.settings-car { grid-template-columns: 56px minmax(0, 1fr); }
	.settings-car img, .settings-car-noimg { width: 56px; height: 42px; }
	.settings-car-actions { grid-column: 1 / -1; justify-content: flex-start; }
	.dirty-bar { bottom: 8px; }
	.dirty-bar .btn { flex: 1; }
}

/* contacts */
.contact-page { gap: 32px; }
.contact-intro { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.contact-intro h1 { font-size: 40px; font-weight: 800; line-height: 1.1; }
.contact-intro p { font-size: 17px; line-height: 1.6; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-form { padding: 28px 30px; gap: 18px; }
.contact-form .sec-title h2 { font-size: 20px; }
.contact-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact-done { padding: 40px 30px; align-items: flex-start; gap: 12px; }
.done-ic { width: 56px; height: 56px; border-radius: 50%; background: #E7F4EC; color: #2C7A4B; display: flex; align-items: center; justify-content: center; }
.contact-done h2 { font-size: 24px; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-pills label { position: relative; display: flex; }
.choice-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-pills span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 20px; background: #fff; font-size: 13px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.choice-pills span:hover { border-color: var(--blue); }
.choice-pills input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.choice-pills input:focus-visible + span { outline: 3px solid var(--blue-line); outline-offset: 2px; }
.field small { font-weight: 500; color: var(--muted); font-size: 12px; }
.contact-aside { display: flex; flex-direction: column; gap: 12px; }
.route { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; color: var(--text); }
.route:hover { color: var(--text); border-color: var(--blue-line); }
.route-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--soft); color: var(--text-2); }
.route-ic.green { background: #E3F1E8; color: #2C6B45; }
.route-ic.white { background: #fff; width: 40px; height: 40px; border-radius: 10px; }
.route-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.route-text b { font-size: 16px; }
.route-text span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.route-go { color: var(--blue); flex: none; }
.why-form { flex-direction: row; gap: 14px; align-items: flex-start; }
.why-form p { margin-top: 4px; color: var(--muted); }
.faq-list { display: flex; flex-direction: column; max-width: 920px; border-bottom: 1px solid var(--line); }
.faq-list h2 { font-size: 24px; margin-bottom: 12px; }
.faq { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-size: 16px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); flex: none; transition: transform .15s; }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 760px; }
@media (max-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
	.contact-page { gap: 20px; }
	.contact-intro h1 { font-size: 32px; }
	.contact-intro p { font-size: 15px; }
	.contact-form { padding: 18px 16px; }
	.choice-pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
	.choice-pills label { flex: none; }
	.contact-submit .btn { width: 100%; }
	.contact-aside { order: 2; }
	.faq summary { font-size: 15px; min-height: 56px; }
}

/* ---------- naudinga informacija ---------- */
.tone-blue { --tone-bg: var(--blue-soft); --tone-ink: var(--blue-ink); }
.tone-amber { --tone-bg: var(--amber-soft); --tone-ink: var(--amber-ink); }
.tone-green { --tone-bg: #E3F1E8; --tone-ink: #2C6B45; }
.tone-purple { --tone-bg: #EFE7F6; --tone-ink: #6B3FA0; }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--soft); color: var(--text); }
.info-hero { background: var(--soft); }
.info-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-top: 48px; padding-bottom: 48px; }
.info-hero-text { display: flex; flex-direction: column; gap: 12px; }
.info-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.info-hero p { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 520px; }
.info-search { display: flex; align-items: center; gap: 12px; min-height: 56px; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; padding: 0 18px; box-shadow: 0 6px 20px rgba(29, 34, 39, .06); color: var(--muted); }
.info-search:focus-within { border-color: var(--blue); }
.info-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; color: var(--text); }
.info-page { gap: 0; padding-top: 32px; }
.info-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 32px; }
.info-tool { display: flex; flex-direction: column; gap: 10px; border-radius: 18px; padding: 22px 24px; min-height: 170px; background: var(--tone-bg); color: var(--text); transition: transform .15s; }
.info-tool:hover { color: var(--text); transform: translateY(-1px); }
.info-tool-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--tone-ink); display: flex; align-items: center; justify-content: center; }
.info-tool b { font-size: 18px; }
.info-tool > span:not([class]) { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.info-tool-go { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--tone-ink); }
.info-cat { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.info-cat[hidden] { display: none; }
.info-cat-head { display: flex; flex-direction: column; gap: 8px; }
.info-cat-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--tone-bg); color: var(--tone-ink); display: flex; align-items: center; justify-content: center; }
.info-cat-head h2 { font-size: 22px; font-weight: 800; }
.info-cat-head p { font-size: 14px; line-height: 1.55; }
.info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.info-art { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--text); min-height: 76px; }
.info-art[hidden] { display: none; }
.info-art:hover { color: var(--text); border-color: var(--blue); box-shadow: 0 6px 18px rgba(23, 105, 170, .10); }
.info-art > span { flex: 1; min-width: 0; }
.info-art b { font-size: 15px; line-height: 1.35; }
.info-art > span span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.info-art .icon { flex: none; margin-top: 3px; color: var(--blue); }
.info-none { padding: 24px 0; }
.info-page .cat-cta { margin-top: 16px; color: #fff; }
.info-page .cat-cta:hover { color: #fff; }

.info-article { display: grid; grid-template-columns: 260px minmax(0, 820px); gap: 32px; align-items: start; padding-top: 28px; }
.info-aside { position: sticky; top: calc(var(--header-h, 73px) + 16px); max-height: calc(100vh - var(--header-h, 73px) - 32px); overflow-y: auto; }
.info-side a.sub { padding-left: 26px; font-size: 13px; color: var(--muted); }
.info-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.info-title { display: flex; flex-direction: column; gap: 10px; }
.info-title h1 { font-size: 40px; line-height: 1.12; font-weight: 800; }
.lead-sm { font-size: 18px; line-height: 1.6; color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.prose h2 { font-size: 24px; font-weight: 800; margin-top: 12px; color: var(--text); scroll-margin-top: calc(var(--header-h, 73px) + 16px); }
.prose h3 { color: var(--text); margin-top: 6px; }
.prose b, .prose strong { color: var(--text); }
.prose ol, .prose ul { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose-float { float: left; margin: 6px 18px 8px 0; max-width: 220px !important; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.5; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.prose-old { display: block; }
.prose-old > * + *, .prose-old .box > * + * { margin-top: 16px; }
.prose-old .box { display: flow-root; }
.prose-old p { margin: 0; }
.prose-old table { display: block; overflow-x: auto; }
.prose-old tr.title td, .prose-old .table_title td, .prose-old thead td { background: var(--soft); font-weight: 700; color: var(--text); }
.prose-old p[align="center"], .prose-old .center { text-align: center; }
.prose-old a { font-weight: 600; }
.prose-old .ket_rules > div { margin-top: 12px; }
.prose-more { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.prose-more summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-weight: 700; cursor: pointer; }
.prose-more summary::-webkit-details-marker { display: none; }
.prose-more[open] summary .icon { transform: rotate(180deg); }
.prose-more .prose { padding-bottom: 18px; font-size: 15px; line-height: 1.6; }
.tyre-code { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.tyre-code-big { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 34px; font-weight: 800; letter-spacing: .02em; }
.tyre-code-big span { background: var(--soft); border-radius: 10px; padding: 6px 12px; }
.tyre-code-big .t-slash { background: none; padding: 6px 0; color: #AEB8C0; }
.tyre-code-big .t-blue { background: var(--blue-soft); }
.tyre-code-big .t-amber { background: var(--amber-soft); }
.tyre-code-big .t-green { background: #E3F1E8; }
.t-blue { color: var(--blue-ink); }
.t-amber { color: var(--amber-ink); }
.t-green { color: #2C6B45; }
.tyre-code-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; font-size: 13px; color: var(--text-2); }
.speed-table table { border-collapse: collapse; font-size: 14px; background: #fff; }
.speed-table th, .speed-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: center; white-space: nowrap; }
.speed-table th[scope=row] { text-align: left; background: var(--soft); }
.speed-table thead th:not([scope]) { color: var(--blue-ink); }
.table-scroll { overflow-x: auto; }
.tyre-calc { background: var(--blue-soft); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--header-h, 73px) + 16px); }
.tyre-calc-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.tyre-calc-head h2 { font-size: 22px; font-weight: 800; }
.tyre-calc-head span { font-size: 13px; color: var(--text-2); }
.tyre-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tyre-calc-box { background: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.tyre-calc-box > b { font-size: 13px; }
.tyre-calc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tyre-calc-fields .label { font-size: 12px; }
.tyre-calc-fields .inp { min-height: 44px; padding: 0 8px; }
.tyre-calc-result { background: #fff; border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tyre-calc-result span, .tyre-calc-result label { font-size: 12px; color: var(--muted); display: block; }
.tyre-calc-result b { font-size: 18px; }
.tyre-calc-result b.is-ok { color: #2C6B45; }
.tyre-calc-result b.is-bad { color: #9B1C1C; }
.speed-pick { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--text) !important; }
.speed-pick select { border: 1px solid var(--line-strong); border-radius: 8px; min-height: 36px; padding: 0 6px; font: inherit; font-size: 14px; font-weight: 700; background: #fff; }
.info-related { display: flex; flex-direction: column; gap: 14px; }
.info-related h2 { font-size: 22px; font-weight: 800; }
.info-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--dark); color: #fff; border-radius: 18px; padding: 22px 24px; }
.info-cta:hover { color: #fff; }
.info-cta > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.info-cta b { font-size: 18px; }
.info-cta > span:first-child span { font-size: 14px; color: #AEB8C0; }
@media (max-width: 1000px) {
	.info-hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
	.info-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.info-cat { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.info-article { grid-template-columns: minmax(0, 1fr); }
	.info-aside { position: static; max-height: none; order: 2; }
}
@media (max-width: 700px) {
	.info-list, .info-tools { grid-template-columns: minmax(0, 1fr); }
	.info-tool { min-height: 0; }
}
@media (max-width: 560px) {
	.info-hero-grid { padding-top: 28px; padding-bottom: 28px; }
	.info-hero h1, .info-title h1 { font-size: 30px; }
	.info-hero p, .lead-sm { font-size: 15px; }
	.info-page { padding-top: 20px; }
	.info-cat { padding: 24px 0; }
	.prose { font-size: 15px; }
	.prose h2 { font-size: 20px; }
	.prose-float { float: none; margin: 0; max-width: 100% !important; }
	.tyre-code { padding: 18px 14px; }
	.tyre-code-big { font-size: 24px; gap: 4px; }
	.tyre-code-big span { padding: 4px 8px; }
	.tyre-calc { padding: 18px 14px; margin: 0 -4px; }
	.info-cta .btn { width: 100%; }
}
.info-tools[hidden] { display: none; }
.prose-old .menu ul { columns: 2 260px; column-gap: 28px; display: block; padding-left: 20px; }
.prose-old .menu li { break-inside: avoid; margin-bottom: 6px; }

/* catalogue modification page */
.mod-page { gap: 24px; }
.mod-title { display: flex; flex-direction: column; gap: 8px; }
.mod-title > .muted { font-size: 13px; font-weight: 700; }
.mod-title h1 { font-size: 34px; line-height: 1.12; font-weight: 800; }
.mod-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.mod-kpis > div { background: #F5F8FA; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mod-kpis dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.mod-kpis dd { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.mod-kpis small { font-size: 13px; font-weight: 600; color: var(--muted); }
.mod-siblings { display: flex; flex-direction: column; gap: 8px; }
.mod-siblings > b { font-size: 13px; }
.mod-links { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-links a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--text-2); }
.mod-links a:hover { border-color: var(--blue); color: var(--blue); }
.mod-links a.on { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-ink); font-weight: 800; }
.mod-links a.all { border-color: transparent; color: var(--blue); font-weight: 700; }
.mod-jump a { scroll-margin-top: 0; }
.mod-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mod-card { scroll-margin-top: calc(var(--header-h, 73px) + 64px); }
.mod-card .card-head { align-items: baseline; flex-wrap: wrap; }
.spec-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.spec-2 > div:last-child { border-bottom: 1px solid #EEF2F6; }
.cons-bars { display: flex; flex-direction: column; gap: 10px; }
.cons-bars > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) 96px; gap: 12px; align-items: center; font-size: 14px; }
.cons-bars i { display: block; height: 12px; border-radius: 0 4px 4px 0; background: var(--blue); }
.cons-bars b { text-align: right; }
.real-note { justify-content: space-between; align-items: center; }
.real-note a { font-weight: 700; color: #1F5C38; }
.catalog-summary { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 72ch; margin: 16px 0 0; }
.ad-in { min-height: 280px; } /* the in-article ad is ~280 px high: the text below does not jump when it loads */
.ad-in:has(ins[data-ad-status="unfilled"]) { min-height: 0; }
.mod-side .aside-dark .btn { align-self: stretch; }
.stars-empty { color: #D9DFE3; font-size: 20px; letter-spacing: 2px; margin-right: 6px; }
.model-cons { font-size: 13px; color: var(--blue-ink); font-weight: 700; }
@media (max-width: 1080px) { .mod-columns .group-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.mod-title h1 { font-size: 26px; }
	.mod-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mod-kpis dd { font-size: 19px; }
	.spec-2 { grid-template-columns: minmax(0, 1fr); }
	.spec-2 > div:last-child { border-bottom: 0; }
	.cons-bars > div { grid-template-columns: 84px minmax(0, 1fr) 84px; font-size: 13px; }
	.mod-columns .group-side { grid-template-columns: minmax(0, 1fr); }
}

/* write a review */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.review-page { gap: 22px; }
.review-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.review-head img { width: 120px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.review-head h1 { font-size: 30px; font-weight: 800; line-height: 1.15; }
.review-head p { font-size: 14px; margin-top: 6px; }
.rates { display: flex; flex-direction: column; }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) auto 110px; gap: 6px 18px; align-items: center; padding: 14px 0; margin: 0; border: 0; border-top: 1px solid #EEF2F6; min-width: 0; }
.rate:first-child { border-top: 0; padding-top: 4px; }
.rate.is-main { background: #F5F8FA; border: 0; border-radius: 14px; padding: 16px 18px; margin: 6px 0; }
.rate.is-main + .rate { border-top: 0; }
.rate.is-missing .rate-cap { color: #9B1C1C; }
.rate.is-missing .star-input label svg { stroke: #E3A1A1; }
.rate-text b { font-size: 15px; }
.rate.is-main .rate-text b { font-size: 16px; }
.rate-text p { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; cursor: pointer; }
.star-input label:hover { background: var(--amber-soft); }
.star-input svg { width: 30px; height: 30px; fill: #fff; stroke: #B9C4CC; stroke-width: 1.5; stroke-linejoin: round; transition: fill .1s; }
.star-input input:checked ~ label svg, .star-input label:hover svg, .star-input label:hover ~ label svg { fill: #E0A21B; stroke: #B47F0E; }
.star-input:hover input:checked ~ label svg { fill: #fff; stroke: #B9C4CC; }
.star-input:hover label:hover svg, .star-input:hover label:hover ~ label svg { fill: #E0A21B; stroke: #B47F0E; }
.star-input input:focus-visible + label { outline: 3px solid var(--blue-line); }
.rate-cap { font-size: 13px; font-weight: 700; color: var(--text-2); }
.rate-cap.is-empty { color: #8A96A0; font-weight: 600; }
.garage-fill { margin-left: auto; }
.garage-fill select { min-height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 10px; font: inherit; font-size: 13px; font-weight: 700; color: var(--blue-ink); background: #fff; max-width: 260px; }
.inp-labeled { gap: 10px; }
.inp-labeled > span { font-size: 14px; font-weight: 700; color: var(--text-2); }
.inp-labeled input { text-align: right; }
.review-form .form-foot { border-top: 1px solid #EEF2F6; padding-top: 18px; }
.review-steps { gap: 4px; }
.review-steps h2 { margin-bottom: 8px; }
.step { display: flex; gap: 12px; align-items: center; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.step > span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C3CCD3; flex: none; }
.step.done > span { background: #2A9D76; border-color: #2A9D76; }
.step.cur { color: var(--text); font-weight: 800; }
.step.cur > span { border-color: var(--blue); }
@media (max-width: 640px) {
	.review-head img { width: 88px; height: 62px; }
	.review-head h1 { font-size: 22px; }
	.rate { grid-template-columns: minmax(0, 1fr) auto; }
	.rate > .rate-text { grid-column: 1 / -1; }
	.rate.is-main { margin: 6px -6px; padding: 14px 12px; }
	.star-input label { width: 42px; }
	.garage-fill { margin-left: 0; flex-basis: 100%; }
	.garage-fill select { max-width: 100%; width: 100%; }
}

/* KET (v2/content/naudinga-informacija/keliu-eismo-taisykles.php in the article frame) */
.prose-old .ket-source { font-size: 14px; color: var(--muted); }
.prose-old .ket-menu { display: flex; flex-direction: column; gap: 4px; padding-left: 28px; margin-top: 8px; }
.prose-old .menu h2 { font-size: 20px; margin-top: 8px; }
.prose-old .ket-num { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.prose-old .ket-text > * + * { margin-top: 12px; }
.prose-old .ket-text table { display: table; width: 100%; background: #fff; }
.prose-old .ket-text th { text-align: left; background: var(--soft); color: var(--text); }
.prose-old .ket-text td img { max-width: 140px; }
.prose-old .ket-text p img { display: block; margin: 0 auto; }
.prose-old .ket-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 24px; }
.prose-old .ket-nav a { display: inline-flex; align-items: center; min-height: 44px; max-width: 40%; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }
.prose-old .ket-nav a:hover { border-color: var(--blue); color: var(--blue); }
.prose-old .ket-nav a[rel=next] { text-align: right; }
@media (max-width: 640px) {
	.prose-old .ket-text table { display: block; overflow-x: auto; font-size: 13px; }
	.prose-old .ket-text td img { max-width: 90px; }
	.prose-old .ket-nav a { max-width: none; flex: 1 1 100%; justify-content: center; }
}

/* gallery: big photo opens the viewer, "+N" thumbnail */
.gallery-main { position: relative; cursor: zoom-in; }
.gallery-open { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 8px; background: rgba(29, 34, 39, .8); color: #fff; font-size: 13px; font-weight: 700; pointer-events: none; }
.gallery-thumbs .gallery-more { display: flex; align-items: center; justify-content: center; background: var(--dark); color: #fff; font: inherit; font-size: 15px; font-weight: 800; }

/* full screen photo viewer (app.js Lightbox) */
.lb-lock, .lb-lock body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; flex-direction: column; background: #0C1016; color: #fff; user-select: none; }
.lightbox.is-open { display: flex; }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 18px; flex: none; }
.lb-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .9; }
.lb-count { font-size: 14px; opacity: .75; font-variant-numeric: tabular-nums; }
.lb-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 28px; line-height: 44px; cursor: pointer; padding: 0; }
.lb-close:hover { background: rgba(255, 255, 255, .2); }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 72px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; transition: opacity .15s; }
.lightbox.is-loading .lb-img { opacity: .35; }
.lb-spinner { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; animation: v2spin .7s linear infinite; display: none; }
.lightbox.is-loading .lb-spinner { display: block; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 38px; line-height: 48px; cursor: pointer; padding: 0; }
.lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-strip { flex: none; display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 12px 16px 16px; scrollbar-width: none; }
.lb-strip::-webkit-scrollbar { display: none; }
.lb-strip button { flex: none; width: 72px; height: 54px; border: 2px solid transparent; border-radius: 6px; padding: 0; background: #222 center / cover no-repeat; opacity: .55; cursor: pointer; }
.lb-strip button.on { opacity: 1; border-color: #fff; }
.lightbox.is-single .lb-nav, .lightbox.is-single .lb-strip { display: none; }
@media (max-width: 640px) {
	.lb-stage { padding: 0; }
	.lb-img { border-radius: 0; }
	.lb-nav { width: 40px; height: 40px; font-size: 30px; line-height: 38px; background: rgba(0, 0, 0, .35); }
	.lb-prev { left: 6px; }
	.lb-next { right: 6px; }
	.lb-strip button { width: 56px; height: 42px; }
	.gallery-open { right: 10px; bottom: 10px; min-height: 34px; font-size: 12px; }
}

/* owner reviews */
.reviews-page, .review-view { gap: 24px; }
.review-columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.review-article { gap: 14px !important; }
.review-article h1 { font-size: 28px; font-weight: 800; line-height: 1.2; }
.review-meta { font-size: 14px; color: var(--text-2); }
.review-meta .stars { font-size: 18px; }
.review-text h2 { font-size: 17px; font-weight: 800; margin: 6px 0 6px; }
.review-text p { font-size: 15px; line-height: 1.7; color: var(--text-2); }
@media (max-width: 900px) { .review-columns { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .review-article h1 { font-size: 22px; } }
.info-article.is-single { grid-template-columns: minmax(0, 820px); }
/* registration, password, 404 */
.auth-layout { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 340px); gap: 28px; align-items: start; }
.auth-form { padding: 28px 30px; gap: 18px; }
.auth-form h1 { font-size: 30px; font-weight: 800; }
.auth-form .btn-lg { align-self: flex-start; }
.not-found { align-items: center; text-align: center; padding-top: 72px; padding-bottom: 96px; gap: 16px; }
.not-found h1 { font-size: 40px; font-weight: 800; }
.not-found .row-wrap { justify-content: center; }
@media (max-width: 900px) { .auth-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .auth-form { padding: 20px 16px; } .auth-form h1 { font-size: 24px; } .auth-form .btn-lg { width: 100%; } }

/* administravimas (admin only) */
.admin-page { display: flex; flex-direction: column; gap: 20px; }
.admin-search { display: flex; gap: 10px; max-width: 560px; }
.admin-search .inp { flex: 1; }
.admin-users { padding: 20px; }
.admin-users table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-users th { text-align: left; font-size: 12px; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-users td { padding: 8px; border-bottom: 1px solid #EEF2F6; white-space: nowrap; vertical-align: middle; }
.admin-users td:last-child { text-align: right; }

/* Lithuanian date field (app.js, input[data-date]) */
.inp.has-date { position: relative; padding-right: 4px; }
.date-btn { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.date-btn:hover, .date-btn[aria-expanded="true"] { background: var(--soft); color: var(--blue); }
.date-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 296px; max-width: calc(100vw - 32px); box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(29, 34, 39, .16); padding: 12px; cursor: default; }
.date-pop.is-right { left: auto; right: 0; }
.date-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.date-pop-head b { font-size: 15px; font-weight: 800; }
.date-pop-nav { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.date-pop-nav:disabled { opacity: .35; cursor: default; }
.date-pop-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.date-pop-wd { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.date-pop-day { height: 36px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
.date-pop-day:hover { background: var(--blue-soft); }
.date-pop-day.is-today { box-shadow: inset 0 0 0 1px var(--blue-line); }
.date-pop-day.is-selected { background: var(--blue); color: #fff; }
.date-pop-day:disabled { color: #B7C0C7; cursor: default; background: transparent; }
.date-pop-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.date-pop-today { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--soft); font: inherit; font-size: 13px; font-weight: 700; color: var(--blue); cursor: pointer; }
