/*
Theme Name: DeepFeel Help Center
Description: Help Center for the DeepFeel app. Searchable help articles organised by topic, article feedback, and a support enquiry form that emails your team and keeps a copy in WordPress. Activating the theme imports the starter articles.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deepfeel-help
*/

/* ------------------------------------------------------------------ tokens */
:root {
	--df-green: #03AB84;
	--df-green-hover: #02916F;
	--df-deep: #174D42;
	--df-deep-hover: #0F3A31;
	--df-ink: #151919;
	--df-ink-2: #2C3333;
	--df-muted: #5F6666;
	--df-line: #E2EAE6;
	--df-line-soft: #EEF3F1;
	--df-dash: #D6E4DF;
	--df-divider: #CAD5D0;
	--df-panel-line: #DCE9E2;
	--df-pill-line: #CFE3DA;
	--df-mint-50: #F7FAF8;
	--df-mint-100: #F1F7F3;
	--df-mint-150: #F1FBF7;
	--df-mint-200: #EAF8F2;
	--df-mint-300: #DDF4E9;
	--df-mint-ring: #D3F0E4;
	--df-grey-100: #F1F5F3;
	--df-danger: #B4381F;
	--df-danger-line: #D9573A;
	--df-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
	--df-wrap: 1208px; /* 1160px content + 24px gutters */
}

/* -------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: #FFFFFF;
	color: var(--df-ink);
	font-family: var(--df-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
a { color: var(--df-green); }
a:hover { color: var(--df-green-hover); }
::selection { background: var(--df-mint-300); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }
input[type=search]::-webkit-search-cancel-button { display: none; }
:focus-visible { outline: 2px solid var(--df-green); outline-offset: 2px; }
[hidden] { display: none !important; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; overflow: visible;
	position: fixed !important; top: 8px; left: 8px; z-index: 100;
	padding: 10px 16px; border-radius: 999px; background: var(--df-ink); color: #FFFFFF;
	font-size: 14px; font-weight: 700; text-decoration: none;
}

@keyframes dfRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dfSpin { to { transform: rotate(360deg); } }
.df-rise { animation: dfRise .25s ease both; }
@media (prefers-reduced-motion: reduce) {
	.df-rise, .df-sent { animation: none !important; }
	.df-cat, .df-topics__chev { transition: none !important; }
}

.df-page { min-height: 100vh; display: flex; flex-direction: column; background: #FFFFFF; }
.df-main { flex: 1; }
.df-wrap { max-width: var(--df-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ----------------------------------------------------------------- buttons */
.df-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
	font-size: 15.5px; font-weight: 700; line-height: 1; white-space: nowrap;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.df-btn--primary { background: var(--df-green); color: #FFFFFF; }
.df-btn--primary:hover { background: var(--df-green-hover); color: #FFFFFF; }
.df-btn--outline { background: #FFFFFF; color: var(--df-ink); border: 1px solid var(--df-dash); }
.df-btn--outline:hover { border-color: var(--df-green); color: var(--df-ink); }
.df-btn--soft:hover { background: var(--df-mint-200); border-color: var(--df-dash); }
.df-btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.df-btn--md { height: 42px; padding: 0 18px; font-size: 14.5px; }

/* ------------------------------------------------------------------ header */
.df-header {
	position: sticky; top: 0; z-index: 5;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--df-line);
}
.admin-bar .df-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .df-header { top: 0; position: relative; } }
.df-header__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.df-brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.df-brand img, .df-brand .custom-logo { height: 24px; width: auto; display: block; }
.df-brand__divider { width: 1px; height: 20px; background: var(--df-divider); flex: none; }
.df-brand__label { font-size: 16px; font-weight: 600; color: var(--df-green); white-space: nowrap; }
.df-nav { display: flex; align-items: center; gap: 6px; flex: none; }
.df-nav__link {
	padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
	color: var(--df-ink); text-decoration: none; white-space: nowrap;
}
.df-nav__link:hover { background: var(--df-mint-50); color: var(--df-ink); }
.df-nav .df-btn { height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 560px) { .df-nav__link { display: none; } }
@media (max-width: 360px) { .df-brand__divider, .df-brand__label { display: none; } }

/* -------------------------------------------------------------------- hero */
.df-hero { background: var(--df-green); }
.df-hero__inner { max-width: 928px; margin: 0 auto; padding: 44px 24px 40px; text-align: center; }
.df-hero--home .df-hero__inner { padding: 64px 24px 56px; }
.df-hero__title {
	margin: 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; font-weight: 800;
	letter-spacing: -0.03em; color: #FFFFFF; text-wrap: balance;
}
.df-hero__sub { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: #FFFFFF; text-wrap: pretty; }
.df-search {
	margin: 28px auto 0; max-width: 680px; height: 60px;
	display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 20px;
	border-radius: 16px; background: #FFFFFF; box-shadow: 0 12px 32px rgba(15, 60, 48, .18);
	transition: box-shadow .15s ease;
}
.df-search:focus-within { box-shadow: 0 12px 32px rgba(15, 60, 48, .18), 0 0 0 3px rgba(255, 255, 255, .55); }
.df-search svg { flex: none; }
.df-search__input {
	flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; padding: 0;
	font-size: 16.5px; color: var(--df-ink);
}
.df-search__input:focus-visible { outline: none; }
.df-search__input::placeholder { color: #7B8382; }
.df-search__btn {
	height: 48px; padding: 0 22px; flex: none; border: 0; border-radius: 12px;
	background: var(--df-deep); color: #FFFFFF; font-size: 15.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.df-search__btn:hover { background: var(--df-deep-hover); }
.df-popular { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.df-popular__label { font-size: 14px; font-weight: 600; color: #FFFFFF; }
.df-chip {
	display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .18); color: #FFFFFF; font-size: 14px; font-weight: 600;
	text-decoration: none; white-space: nowrap;
}
.df-chip:hover { background: rgba(255, 255, 255, .28); color: #FFFFFF; }
@media (max-width: 480px) {
	.df-search { padding-left: 14px; gap: 8px; }
	.df-search__btn { padding: 0 16px; }
}

/* ----------------------------------------------------------- home sections */
.df-section { max-width: var(--df-wrap); margin: 0 auto; padding: 32px 24px 16px; }
.df-section--cats { padding-top: 48px; }
.df-section--help { padding: 40px 24px 56px; }
.df-h2 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }

.df-cats {
	margin-top: 20px; display: grid; gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(220px, calc((100% - 28px) / 3))), 1fr));
}
.df-cat {
	display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 18px 20px;
	border: 1px solid var(--df-line); border-radius: 14px; background: #FFFFFF;
	color: var(--df-ink); text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.df-cat:hover { border-color: var(--df-green); box-shadow: 0 8px 24px rgba(21, 25, 25, .06); color: var(--df-ink); }
.df-cat__icon {
	width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--df-mint-150);
	box-shadow: inset 0 0 0 1px var(--df-mint-ring); display: flex; align-items: center; justify-content: center;
}
.df-cat__icon svg { width: 30px; height: 30px; display: block; }
.df-cat__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.df-cat__title { font-size: 16px; line-height: 1.3; font-weight: 700; text-wrap: balance; }
.df-cat__count { font-size: 13px; color: var(--df-muted); }

.df-list { margin-top: 16px; border-top: 1px dashed var(--df-dash); }
.df-list__item {
	display: block; padding: 18px 12px; border-bottom: 1px dashed var(--df-dash);
	color: var(--df-ink); font-size: 16px; line-height: 1.45; text-decoration: none;
}
.df-list__item:hover { background: var(--df-mint-50); color: var(--df-green); }
.df-list--lg { margin-top: 18px; }
.df-list--lg .df-list__item { font-size: 16.5px; }

.df-help {
	position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center;
	gap: 20px 32px; padding: 28px 32px; border-radius: 20px; background: var(--df-mint-200);
}
.df-help__mascot { width: 96px; height: 96px; flex: none; display: block; object-fit: contain; }
.df-help__text { flex: 1 1 280px; min-width: 0; }
.df-help__title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
.df-help__body { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--df-ink-2); text-wrap: pretty; }
.df-help__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.df-help__actions .df-btn--outline { border-color: var(--df-pill-line); }
.df-help__actions .df-btn--outline:hover { background: #FFFFFF; }
@media (max-width: 480px) { .df-help { padding: 24px 20px; } }

.df-empty {
	margin-top: 20px; padding: 22px; border-radius: 14px; background: var(--df-mint-50);
	font-size: 15.5px; line-height: 1.55; color: var(--df-ink-2);
}

/* ------------------------------------------------------------- breadcrumbs */
.df-crumbs {
	max-width: var(--df-wrap); margin: 0 auto; padding: 20px 24px 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--df-muted);
}
.df-crumbs a { color: var(--df-muted); font-weight: 500; text-decoration: none; }
.df-crumbs a:hover { color: var(--df-green); }
.df-crumbs__current { font-weight: 600; color: var(--df-ink); }

/* ------------------------------------------------------ topic/article layout */
.df-layout {
	max-width: var(--df-wrap); margin: 0 auto; padding: 24px 24px 56px;
	display: flex; flex-direction: row-reverse; flex-wrap: wrap; gap: 24px 56px; align-items: flex-start;
}
.df-layout__main { flex: 3 1 520px; min-width: 0; }
.df-layout__side { flex: 1 1 260px; min-width: 0; align-self: flex-start; }
@media (min-width: 900px) { .df-layout__side { position: sticky; top: 88px; } .admin-bar .df-layout__side { top: 120px; } }

.df-eyebrow { font-size: 13.5px; font-weight: 700; color: var(--df-green); }
.df-h1 {
	margin: 6px 0 0; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; font-weight: 800;
	letter-spacing: -0.02em; text-wrap: balance;
}
.df-lede { margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--df-ink-2); text-wrap: pretty; }
.df-group { margin-top: 32px; }
.df-group__title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; }
.df-group__title a { color: var(--df-ink); text-decoration: none; }
.df-group__title a:hover { color: var(--df-green); }
.df-group .df-list { margin-top: 10px; }

/* Topic accordion */
.df-topics__item { border-bottom: 1px solid var(--df-line-soft); }
.df-topics__head {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 4px; border: 0; background: transparent; text-align: left; cursor: pointer;
	color: var(--df-ink); text-decoration: none; font-size: 15.5px; line-height: 1.35; font-weight: 700;
}
.df-topics__head:hover, .df-topics__item.is-current .df-topics__head { color: var(--df-green); }
.df-topics__chev { flex: none; transition: transform .2s ease; }
.df-topics__head[aria-expanded="true"] .df-topics__chev { transform: rotate(180deg); }
.df-topics__subs { display: flex; flex-direction: column; padding: 0 4px 12px; }
.df-topics__sub {
	padding: 7px 0; font-size: 15px; line-height: 1.4; font-weight: 400; color: var(--df-ink-2); text-decoration: none;
}
.df-topics__sub:hover { color: var(--df-green); }
.df-topics__sub.is-active { color: var(--df-green); font-weight: 700; }

/* ---------------------------------------------------------------- article */
.df-article { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.df-article .df-h1 { margin-top: -8px; }
.df-article__body { font-size: 16.5px; line-height: 1.7; color: var(--df-ink-2); }
.df-article__body > * { margin-top: 0; margin-bottom: 0; }
.df-article__body > * + * { margin-top: 18px; }
.df-article__body p { margin: 0; text-wrap: pretty; }
.df-article__body > * + p { margin-top: 18px; }
.df-article__body h2, .df-article__body h3 { color: var(--df-ink); line-height: 1.3; letter-spacing: -0.01em; }
.df-article__body h2 { font-size: 21px; font-weight: 800; margin-top: 30px; }
.df-article__body h3 { font-size: 18px; font-weight: 700; margin-top: 26px; }
.df-article__body strong { color: var(--df-ink); }
.df-article__body ul { padding-left: 1.3em; }
.df-article__body ul li::marker { color: var(--df-green); }
.df-article__body ul li + li { margin-top: 6px; }
.df-article__body img { border-radius: 10px; }

/* Numbered steps: every ordered list in an article */
.df-article__body ol {
	list-style: none; padding: 20px 22px; border-radius: 14px; background: var(--df-mint-50);
	display: flex; flex-direction: column; gap: 14px; counter-reset: df-step;
}
.df-article__body ol > li {
	counter-increment: df-step; position: relative; padding: 3px 0 0 42px; min-height: 28px;
	font-size: 16px; line-height: 1.55; color: var(--df-ink-2); text-wrap: pretty;
}
.df-article__body ol > li::before {
	content: counter(df-step); position: absolute; left: 0; top: 0;
	width: 28px; height: 28px; border-radius: 50%; background: var(--df-green); color: #FFFFFF;
	font-size: 13.5px; font-weight: 800; line-height: 28px; text-align: center;
}

/* App screenshots in phone frames (group block with class/style "df-app-shots") */
.df-app-shots, .is-style-df-app-shots {
	padding: 22px; border-radius: 16px; background: var(--df-mint-100);
	display: flex; flex-wrap: wrap; gap: 20px; counter-reset: df-shot;
}
.df-app-shots::before, .is-style-df-app-shots::before {
	content: var(--df-shots-label, "In the app"); flex: 1 0 100%; margin-bottom: -6px;
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--df-muted); line-height: 1.4;
}
.df-app-shots > .wp-block-group__inner-container, .is-style-df-app-shots > .wp-block-group__inner-container {
	flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 20px;
}
.df-article__body .df-app-shots .wp-block-image, .df-article__body .is-style-df-app-shots .wp-block-image {
	counter-increment: df-shot; margin: 0; width: 180px; display: flex; flex-direction: column; gap: 10px;
}
/* Phone bezel: 6px padding + 30px radius; the image content is trimmed to a 24px inner curve. */
.df-app-shots .wp-block-image img, .is-style-df-app-shots .wp-block-image img {
	width: 180px; height: 390px; object-fit: cover; object-position: top center; display: block;
	padding: 6px; border-radius: 30px; background: var(--df-ink);
	box-shadow: 0 14px 30px rgba(21, 25, 25, .14);
}
.df-app-shots .wp-block-image figcaption, .is-style-df-app-shots .wp-block-image figcaption {
	margin: 0; display: flex; gap: 8px; align-items: baseline; text-align: left;
	font-size: 13.5px; line-height: 1.45; color: var(--df-ink-2); text-wrap: pretty;
}
.df-app-shots:has(.wp-block-image + .wp-block-image) figcaption::before,
.is-style-df-app-shots:has(.wp-block-image + .wp-block-image) figcaption::before {
	content: counter(df-shot); flex: none; font-weight: 800; color: var(--df-green);
}

/* Feedback + contact strip */
.df-feedback {
	margin-top: 12px; padding: 18px 20px; border: 1px solid var(--df-line); border-radius: 14px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	scroll-margin-top: 96px;
}
.df-feedback__ask { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.df-feedback__q { font-size: 15px; font-weight: 700; }
.df-feedback__ask .df-btn--outline:hover { color: var(--df-green); }
.df-feedback__done { font-size: 15px; font-weight: 600; color: var(--df-deep); }
.df-feedback .df-btn--primary { height: 40px; padding: 0 18px; font-size: 14.5px; }

.df-related { margin-top: 8px; }
.df-related__title { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.df-related__list { border-top: 1px solid var(--df-line); }
.df-related__item {
	display: flex; align-items: center; gap: 10px; padding: 13px 2px; border-bottom: 1px solid var(--df-line);
	font-size: 15px; font-weight: 500; color: var(--df-ink); text-decoration: none;
}
.df-related__item:hover { color: var(--df-green); }
.df-related__item svg { flex: none; }

/* ------------------------------------------------------------------ search */
.df-results { max-width: 908px; margin: 0 auto; padding: 24px 24px 56px; }
.df-results__title {
	margin: 0; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.25; font-weight: 800;
	letter-spacing: -0.02em; text-wrap: balance;
}
.df-results__list { margin-top: 20px; border-top: 1px solid var(--df-line); }
.df-result {
	display: flex; flex-direction: column; gap: 4px; padding: 16px 8px; border-bottom: 1px solid var(--df-line);
	color: var(--df-ink); text-decoration: none;
}
.df-result:hover { background: var(--df-mint-50); color: var(--df-ink); }
.df-result__title { font-size: 16px; line-height: 1.35; font-weight: 700; }
.df-result__snip { font-size: 14px; line-height: 1.5; color: var(--df-ink-2); text-wrap: pretty; }
.df-result__crumb { font-size: 12.5px; color: var(--df-muted); }
.df-noresults { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.df-noresults p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--df-ink-2); }
.df-noresults__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.df-pagination { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.df-pagination .page-numbers {
	min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--df-dash); border-radius: 999px; color: var(--df-ink); text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.df-pagination .page-numbers.current { background: var(--df-green); border-color: var(--df-green); color: #FFFFFF; }

/* ----------------------------------------------------------------- contact */
.df-contact { max-width: var(--df-wrap); margin: 0 auto; padding: 24px 24px 56px; }
.df-contact__card {
	display: flex; flex-wrap: wrap; border-radius: 24px; overflow: hidden;
	border: 1px solid var(--df-line); background: #FFFFFF; box-shadow: 0 20px 50px rgba(21, 25, 25, .05);
}
.df-contact__info {
	flex: 1 1 392px; min-width: 0; padding: 40px 36px; background: var(--df-mint-100);
	display: flex; flex-direction: column; gap: 28px;
}
.df-contact__title {
	margin: 0; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; font-weight: 800;
	letter-spacing: -0.02em; text-wrap: balance;
}
.df-contact__intro { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--df-muted); text-wrap: pretty; }
.df-contact__intro p { margin: 0; }
.df-contact__intro p + p { margin-top: 10px; }
.df-contact__block { padding-top: 24px; border-top: 1px solid var(--df-panel-line); }
.df-label-caps { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--df-muted); }
.df-contact__email { margin-top: 6px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.df-contact__email a { font-size: 17px; font-weight: 700; color: var(--df-ink); text-decoration: none; word-break: break-all; }
.df-contact__email a:hover { color: var(--df-green); }
.df-linkbtn { padding: 0; border: 0; background: transparent; font-size: 14px; font-weight: 700; color: var(--df-green); cursor: pointer; }
.df-linkbtn:hover { color: var(--df-green-hover); }
.df-contact__missing { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--df-muted); }
.df-tips { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.df-tips li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.55; color: var(--df-ink-2); text-wrap: pretty; }
.df-tips li::before {
	content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--df-green); transform: translateY(-2px);
}
.df-contact__foot { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.df-contact__foot img { width: 72px; height: 72px; flex: none; display: block; object-fit: contain; }
.df-contact__foot div { font-size: 13.5px; line-height: 1.55; color: var(--df-muted); text-wrap: pretty; }
.df-contact__panel { flex: 1.6 1 476px; min-width: 0; padding: 32px 28px; }
@media (max-width: 560px) {
	.df-contact { padding-left: 16px; padding-right: 16px; }
	.df-contact__info { padding: 28px 22px; }
	.df-contact__panel { padding: 24px 20px; }
}

.df-form { display: flex; flex-direction: column; gap: 16px; }
.df-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.df-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.df-field__label { font-size: 14px; font-weight: 600; }
.df-field__label-row { display: flex; justify-content: space-between; gap: 8px; }
.df-field__hint { font-weight: 400; color: var(--df-muted); }
.df-field__count { font-size: 13px; color: var(--df-muted); font-variant-numeric: tabular-nums; }
.df-input {
	width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--df-dash); border-radius: 12px;
	background: #FFFFFF; font-size: 16px; color: var(--df-ink); outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.df-input:focus { border-color: var(--df-green); box-shadow: 0 0 0 3px var(--df-mint-300); }
.df-input[aria-invalid="true"] { border-color: var(--df-danger-line); }
.df-input::placeholder { color: #8A9190; }
textarea.df-input { height: auto; min-height: 112px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.df-select { position: relative; }
.df-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.df-select select.is-empty { color: var(--df-muted); }
.df-select svg { position: absolute; right: 14px; top: 16px; pointer-events: none; }
.df-field__error { font-size: 13px; color: var(--df-danger); }
.df-field__error:empty { display: none; }

.df-drop {
	position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px;
	border: 1.5px dashed var(--df-divider); border-radius: 12px; cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
.df-drop:hover, .df-drop:focus-within { border-color: var(--df-green); background: var(--df-mint-50); }
.df-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.df-drop__icon {
	width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--df-mint-200);
	display: flex; align-items: center; justify-content: center;
}
.df-drop__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.df-drop__title { font-size: 15px; font-weight: 700; color: var(--df-green); }
.df-drop__meta { font-size: 13px; color: var(--df-muted); }
.df-shot {
	display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--df-line); border-radius: 12px;
}
.df-shot__thumb {
	width: 48px; height: 48px; flex: none; border-radius: 8px; background-color: var(--df-grey-100);
	background-size: cover; background-position: center;
}
.df-shot__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.df-shot__name { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.df-shot__size { font-size: 13px; color: var(--df-muted); }
.df-shot__remove {
	height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
	font-size: 14px; font-weight: 700; color: var(--df-muted); cursor: pointer;
}
.df-shot__remove:hover { background: var(--df-grey-100); }

.df-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.df-submit {
	height: 52px; border: 0; border-radius: 14px; background: var(--df-green); color: #FFFFFF;
	font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.df-submit:hover { background: var(--df-green-hover); }
.df-submit:active { transform: scale(.99); }
.df-submit[disabled] { cursor: progress; opacity: .92; }
.df-spinner {
	width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: #FFFFFF; animation: dfSpin .7s linear infinite;
}
.df-consent { margin-top: -4px; font-size: 12.5px; line-height: 1.5; color: var(--df-muted); text-align: center; text-wrap: pretty; }
.df-alert {
	padding: 12px 14px; border-radius: 12px; background: #FDF0EC; color: var(--df-danger);
	font-size: 14.5px; line-height: 1.5; box-shadow: inset 0 0 0 1px #F4CFC4;
}

.df-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 8px 0; animation: dfRise .35s ease both; }
.df-sent__check { width: 52px; height: 52px; border-radius: 50%; background: var(--df-mint-300); display: flex; align-items: center; justify-content: center; }
.df-sent__title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.df-sent__body { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--df-ink-2); text-wrap: pretty; }
.df-sent__ref {
	display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
	background: var(--df-mint-50); box-shadow: inset 0 0 0 1px var(--df-line);
}
.df-sent__ref span:first-child { font-size: 13px; color: var(--df-muted); }
.df-sent__ref span:last-child { font-size: 16px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.df-sent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.df-sent__actions .df-btn { height: 44px; padding: 0 18px; font-size: 15px; }

/* ------------------------------------------------------ account deletion */
.df-legal { max-width: 808px; margin: 0 auto; padding: 24px 24px 56px; }
.df-legal__body { margin-top: 18px; }
.df-legal__body h2.wp-block-heading { margin-top: 32px; }
.df-alert--note { margin-bottom: 18px; background: #FFF8E6; color: #6B4E00; box-shadow: inset 0 0 0 1px #F2DFA7; }
.df-alert--note a { color: #6B4E00; font-weight: 700; }
.df-formcard {
	padding: 28px; border: 1px solid var(--df-line); border-radius: 20px; background: #FFFFFF;
	box-shadow: 0 20px 50px rgba(21, 25, 25, .05); scroll-margin-top: 96px;
}
.df-article__body .df-formcard .df-formcard__title,
.df-article__body .df-formcard .df-sent__title { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; }
.df-article__body .df-formcard .df-sent__title { font-size: 22px; }
.df-formcard .df-form { font-size: 16px; line-height: 1.5; }
.df-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--df-ink-2); cursor: pointer; }
.df-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--df-green); cursor: pointer; }
.df-check input[aria-invalid="true"] { outline: 2px solid var(--df-danger-line); outline-offset: 1px; }
@media (max-width: 480px) {
	.df-legal { padding-left: 16px; padding-right: 16px; }
	.df-formcard { padding: 22px 18px; }
}

/* ------------------------------------------------------------ plain pages */
.df-prose { max-width: 760px; margin: 0 auto; padding: 32px 24px 56px; font-size: 16.5px; line-height: 1.7; color: var(--df-ink-2); }
.df-prose h1 { margin: 0 0 18px; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--df-ink); }

/* ------------------------------------------------------------ small phones */
@media (max-width: 480px) {
	.df-wrap, .df-section, .df-section--help, .df-crumbs, .df-layout, .df-results, .df-prose, .df-hero__inner, .df-hero--home .df-hero__inner {
		padding-left: 16px; padding-right: 16px;
	}
	.df-brand { gap: 10px; }
	.df-nav .df-btn { padding: 0 14px; }
	.df-feedback { padding: 16px; }
	.df-feedback__q { flex: 1 0 100%; }
}

/* ------------------------------------------------------------------ footer */
.df-footer { border-top: 1px solid var(--df-line); background: var(--df-mint-50); }
.df-footer__inner {
	padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: var(--df-muted);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
}
.df-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.df-footer__links a { color: var(--df-muted); text-decoration: none; font-weight: 600; }
.df-footer__links a:hover { color: var(--df-green); }
