/* PlanFast base styles */

:root {
	--ink: #1d2430;
	--ink-soft: #55617a;
	--paper: #f4f1ea;
	--panel: #ffffff;
	--line: #c9c2b2;
	--accent: #0f6b4f;
	--accent-hot: #e0622e;
	--accent-soft: #e3efe9;
	--danger: #b3372f;
	--radius: 6px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ink);
	background: var(--paper);
}

h1 { font-size: 1.4rem; margin: 0 0 12px; }
h2 { font-size: 1.2rem; margin: 0 0 10px; }
h3 { font-size: 1rem; font-weight: bold; margin: 0 0 8px; }
p { max-width: 700px; }

a { color: var(--accent); }

.container {
	width: 78%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 16px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 14px 20px;
}

.card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px;
}

label { display: block; font-weight: bold; margin-bottom: 4px; }

input, select, textarea {
	width: 100%;
	height: 32px;
	padding: 4px 8px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	background: var(--panel);
}
textarea { height: auto; min-height: 72px; }

button, .btn {
	height: 32px;
	padding: 0 14px;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
	font: inherit;
	cursor: pointer;
}
button:hover, .btn:hover { filter: brightness(1.1); }
.btn-secondary { background: var(--panel); color: var(--accent); }
.btn-danger { background: var(--danger); border-color: var(--danger); }

table { width: 100%; border-collapse: collapse; }
th, td { height: 32px; padding: 4px 12px; text-align: left; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: var(--accent-soft); }
