/* Too Easy Tools – shared styles for every tool. Colours follow the Astra global palette. */
.tet-tool {
	--c-accent: var(--ast-global-color-0, #1F5E4B);
	--c-hover: var(--ast-global-color-1, #174A3B);
	--c-ink: var(--ast-global-color-2, #1A1D1C);
	--c-text: var(--ast-global-color-3, #3F4744);
	--c-sand: var(--ast-global-color-4, #FAF7F2);
	--c-white: var(--ast-global-color-5, #FFFFFF);
	--c-sage: var(--ast-global-color-6, #DCE8E1);
	--c-line: var(--ast-global-color-7, #E7E2D8);
	--c-wattle: var(--ast-global-color-8, #F2B33D);
	--c-danger: #B3261E;
	color: var(--c-text);
	line-height: 1.6;
	max-width: 760px;
	margin: 0 auto;
}
.tet-tool *, .tet-tool *::before, .tet-tool *::after { box-sizing: border-box; }
.tet-tool h2, .tet-tool h3 { color: var(--c-ink); letter-spacing: 0; margin: 0 0 6px; line-height: 1.25; }
.tet-tool h2 { font-size: 24px; }
.tet-tool h3 { font-size: 18px; }
.tet-tool p { margin: 0 0 12px; }

.tet-panel { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 16px; padding: 22px; margin-bottom: 16px; }
.tet-step { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-sage); color: var(--c-hover); font-size: 13px; font-weight: 700; margin-right: 8px; vertical-align: 2px; }
.tet-hint { font-size: 14px; color: var(--c-text); opacity: .85; }

.tet-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.tet-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.tet-field label { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.tet-tool input[type="text"], .tet-tool input[type="number"], .tet-tool input[type="date"], .tet-tool input[type="email"], .tet-tool input[type="tel"], .tet-tool select, .tet-tool textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--c-ink);
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.tet-tool textarea { min-height: 80px; resize: vertical; }
.tet-tool input:focus, .tet-tool select:focus, .tet-tool textarea:focus { border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(31, 94, 75, .15); }
.tet-inline { display: flex; gap: 8px; }
.tet-inline > input, .tet-inline > select { flex: 1; min-width: 0; }

.tet-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
	font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
	border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink);
	transition: border-color .15s, background .15s, transform .1s;
}
.tet-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.tet-btn:active { transform: scale(.98); }
.tet-btn-primary { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.tet-btn-primary:hover { background: var(--c-hover); border-color: var(--c-hover); color: #fff; }
.tet-btn-big { min-height: 56px; padding: 14px 28px; font-size: 18px; width: 100%; }
.tet-btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.tet-btn-link { border: 0; background: none; padding: 6px 4px; min-height: 0; color: var(--c-accent); font-weight: 600; }
.tet-btn-link:hover { text-decoration: underline; }

.tet-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.tet-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--c-sage); color: var(--c-ink); font-size: 15px; }
.tet-chip button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); color: var(--c-ink); cursor: pointer; font-size: 16px; line-height: 1; padding: 0; }
.tet-chip button:hover { background: rgba(0,0,0,.14); }

.tet-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; margin: 6px 0; }
.tet-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-accent); flex: 0 0 auto; }

.tet-error { color: var(--c-danger); font-size: 14px; font-weight: 600; margin: 8px 0 0; min-height: 1px; }
.tet-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--c-sage); color: var(--c-hover); }
.tet-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
