:root { --ink:#17251f; --muted:#64746d; --line:#dbe5df; --paper:#f7faf8; --card:#fff; --green:#177a5a; --green-dark:#0f5e45; --mint:#dff3e9; --gold:#ad7918; --red:#b44646; --shadow:0 12px 35px rgba(23,37,31,.08); }
* { box-sizing:border-box; }
html { background:var(--paper); }
body { margin:0; color:var(--ink); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size:16px; line-height:1.55; }
a { color:var(--green); text-decoration:none; }
a:hover { color:var(--green-dark); }
.container { width:min(1120px, calc(100% - 40px)); margin:0 auto; }
.site-header { background:rgba(255,255,255,.9); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:10; backdrop-filter:blur(12px); }
.nav-wrap { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--ink); font-weight:760; letter-spacing:-.02em; }
.brand-mark { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; color:#fff; background:var(--green); font-size:12px; letter-spacing:.05em; }
.brand-copy { display:flex; flex-direction:column; line-height:1.1; }
.brand-copy small { margin-top:3px; color:var(--muted); font-size:11px; font-weight:650; letter-spacing:.04em; }
.header-actions { display:flex; align-items:center; gap:22px; }
.contact-pill { display:flex; flex-direction:column; align-items:flex-end; line-height:1.15; }
.contact-pill span { color:var(--muted); font-size:11px; font-weight:700; }
.contact-pill strong { color:var(--green); font-size:13px; }
.nav-links { display:flex; gap:22px; font-size:14px; font-weight:650; }
.nav-links a { color:var(--muted); }
.nav-links a:hover { color:var(--green); }
.main-content { padding:52px 0 78px; }
.hero { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; padding:28px 0 42px; }
.compact-hero { max-width:960px; }
h1,h2,p { margin-top:0; }
h1 { margin-bottom:14px; font-size:clamp(2rem, 4vw, 3.5rem); line-height:1.08; letter-spacing:-.055em; }
h2 { margin-bottom:7px; font-size:1.28rem; line-height:1.2; letter-spacing:-.025em; }
.lead { color:var(--muted); max-width:680px; font-size:1.05rem; }
.eyebrow { margin-bottom:10px; color:var(--green); font-size:12px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.hero-badge { flex:0 0 auto; display:flex; align-items:center; gap:14px; padding:14px 18px; border:1px solid #c7e3d4; background:var(--mint); border-radius:18px; color:var(--green-dark); }
.hero-badge span { font-size:2rem; font-weight:800; line-height:1; }
.hero-badge small { line-height:1.25; font-weight:650; }
.form-layout { display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:24px; align-items:start; }
.card { background:var(--card); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); }
.form-card { padding:32px; }
.side-card { padding:25px; position:sticky; top:100px; }
.side-card p { color:var(--muted); }
.contact-card { padding:16px; margin:-3px -3px 0; border-radius:15px; background:var(--mint); }
.contact-card p { margin-bottom:10px; }
.contact-phone { display:inline-flex; color:var(--green-dark); font-size:1.08rem; font-weight:850; letter-spacing:.02em; }
.side-divider { margin:22px 0; }
.form-section-title { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.form-section-title > span { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; color:var(--green); border:1px solid #acd9c1; border-radius:10px; background:var(--mint); font-size:12px; font-weight:800; }
.form-section-title p { margin:0; color:var(--muted); font-size:14px; }
.divider { height:1px; margin:28px 0; background:var(--line); }
label { display:block; margin:0 0 19px; color:var(--ink); font-size:14px; font-weight:700; }
input, textarea, select { width:100%; margin-top:7px; padding:12px 14px; color:var(--ink); background:#fbfdfc; border:1px solid #cfdcd5; border-radius:12px; outline:none; font:inherit; font-size:16px; font-weight:400; transition:.18s border-color, .18s box-shadow; }
input:focus, textarea:focus, select:focus { border-color:var(--green); box-shadow:0 0 0 4px rgba(23,122,90,.1); }
textarea { resize:vertical; min-height:84px; }
label small, .form-hint, .small-note { display:block; color:var(--muted); font-size:13px; font-weight:400; }
.required { color:var(--red); }
.field-grid { display:grid; gap:18px; }
.two-cols { grid-template-columns:1fr 1fr; }
.upload-field input { padding:12px; border-style:dashed; background:#f6fbf8; }
.form-actions { display:flex; align-items:center; gap:15px; flex-wrap:wrap; margin-top:8px; }
.form-actions.center { justify-content:center; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 17px; border:1px solid transparent; border-radius:12px; cursor:pointer; font:inherit; font-size:14px; font-weight:760; transition:.18s transform, .18s background; }
.button:hover { transform:translateY(-1px); }
.button.primary { color:#fff; background:var(--green); }
.button.primary:hover { color:#fff; background:var(--green-dark); }
.button.secondary { color:var(--green-dark); background:#f1f7f3; border-color:#cfe4d7; }
.button.secondary:hover { background:var(--mint); }
.text-link { font-weight:750; }
.mini-steps { display:grid; gap:12px; margin:25px 0; }
.mini-steps div { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:14px; }
.mini-steps b { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; color:var(--green); background:var(--mint); font-size:12px; }
.alert { margin:0 0 22px; padding:13px 16px; border-radius:12px; font-size:14px; }
.alert-error { color:#812f2f; background:#fff0f0; border:1px solid #f0caca; }
.alert-success { color:#176244; background:#ecfaf2; border:1px solid #c7e8d5; }
.success-card { max-width:700px; margin:35px auto; padding:52px 40px; text-align:center; }
.success-icon { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 22px; border-radius:20px; color:#fff; background:var(--green); font-size:32px; font-weight:700; }
.access-code { margin:30px auto; padding:22px; max-width:420px; border:1px dashed #91c9aa; border-radius:17px; background:var(--mint); }
.access-code small { display:block; color:var(--green-dark); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.access-code strong { display:block; margin-top:5px; color:var(--green-dark); font-size:2rem; letter-spacing:.12em; }
.narrow-wrap { width:min(650px, 100%); margin:0 auto; }
.page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.page-heading-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.page-heading h1 { font-size:clamp(2rem, 4vw, 3rem); margin-bottom:0; }
.detail-card { padding:30px; }
.detail-top { display:flex; justify-content:space-between; margin-bottom:28px; }
.status { display:inline-flex; align-items:center; padding:5px 10px; border-radius:99px; font-size:12px; font-weight:800; }
.status-neutral { color:#58665f; background:#edf1ee; }
.status-warning { color:#855c12; background:#fff4d9; }
.status-success { color:#176244; background:#ddf5e7; }
.status-danger { color:#8e3535; background:#ffe2e2; }
.meta { margin:7px 0 0; color:var(--muted); font-size:13px; }
.detail-grid, .admin-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:19px 25px; }
dt { margin-bottom:4px; color:var(--muted); font-size:12px; font-weight:800; letter-spacing:.03em; text-transform:uppercase; }
dd { margin:0; white-space:normal; }
.wide { grid-column:1 / -1; }
.admin-response { padding:14px; border-radius:12px; background:#f0faf4; }
.site-footer { padding:24px 0; color:var(--muted); border-top:1px solid var(--line); font-size:13px; }
.footer-grid { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.footer-grid > div { display:flex; flex-direction:column; gap:3px; }
.footer-grid strong { color:var(--ink); }
.footer-contact { display:flex; flex-direction:column; align-items:flex-end; gap:3px; text-align:right; }
.footer-contact strong { color:var(--green); font-size:1rem; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:20px; }
.stat-card { padding:18px 20px; background:#fff; border:1px solid var(--line); border-radius:16px; }
.stat-card span { display:block; color:var(--muted); font-size:13px; }
.stat-card strong { display:block; margin-top:3px; font-size:1.8rem; letter-spacing:-.04em; }
.stat-card.accent { background:var(--mint); border-color:#c0e4d0; }
.filters-card { padding:18px 20px; margin-bottom:24px; }
.filter-form { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(180px,.8fr) auto auto; align-items:end; gap:14px; }
.filter-form label { margin:0; }
.admin-list { display:grid; gap:18px; }
.admin-item { padding:25px; }
.table-card { overflow:hidden; }
.table-wrap { overflow:auto; -webkit-overflow-scrolling:touch; }
.admin-table { width:100%; min-width:1320px; border-collapse:collapse; font-size:13px; }
.admin-table th { position:sticky; top:0; z-index:1; padding:12px 10px; color:var(--muted); background:#f1f7f3; border-bottom:1px solid var(--line); font-size:11px; letter-spacing:.05em; text-align:left; text-transform:uppercase; white-space:nowrap; }
.admin-table td { padding:11px 10px; border-bottom:1px solid #edf2ef; vertical-align:middle; }
.admin-table tbody tr:hover { background:#fbfefc; }
.check-cell { width:40px; text-align:center!important; }
.id-cell, .date-cell { color:var(--muted); white-space:nowrap; }
.cell-strong { font-weight:750; }
.phone-cell { color:var(--green-dark); font-weight:700; white-space:nowrap; }
.phone-link { color:inherit; text-decoration:underline; text-decoration-color:#acd9c1; text-underline-offset:3px; }
.phone-link:hover { color:var(--green); }
.cell-truncate { max-width:190px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.long-cell { width:235px; max-width:235px; }
.text-preview { display:block; width:100%; min-height:42px; padding:0; color:var(--ink); border:0; background:transparent; cursor:pointer; font:inherit; text-align:left; }
.text-preview:hover { color:var(--green-dark); }
.text-preview span { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-height:1.35; word-break:break-word; }
.image-cell { width:86px; }
.image-button { display:flex; align-items:center; gap:6px; padding:0; color:var(--green); border:0; background:none; cursor:pointer; font:inherit; font-size:11px; font-weight:750; }
.attachment-thumb { width:46px; height:38px; object-fit:cover; border:1px solid #cfe4d7; border-radius:7px; background:#eef5f0; }
.attachment-missing { color:var(--red); font-size:12px; font-weight:700; }
.muted-cell { color:#9aa9a2; }
.action-cell { white-space:nowrap; }
.small-button { min-height:34px; padding:6px 10px; font-size:12px; }
.image-modal { width:min(94vw, 900px); max-width:900px; padding:24px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 25px 80px rgba(0,0,0,.25); }
.image-modal::backdrop { background:rgba(15,34,26,.72); }
.modal-image { display:block; max-width:100%; max-height:76vh; margin:0 auto; object-fit:contain; border-radius:10px; }
.image-modal p { margin:12px 0 0; color:var(--muted); text-align:center; }
.text-modal { width:min(92vw, 640px); max-width:640px; padding:28px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 25px 80px rgba(0,0,0,.25); }
.text-modal::backdrop { background:rgba(15,34,26,.72); }
.text-modal-body { max-height:65vh; overflow:auto; white-space:pre-wrap; word-break:break-word; line-height:1.65; }
.modal-close { position:absolute; top:8px; right:10px; display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:50%; color:var(--ink); background:#eef5f0; cursor:pointer; font-size:24px; line-height:1; }
.detail-attachment { display:block; max-width:min(100%, 420px); max-height:300px; object-fit:contain; border:1px solid var(--line); border-radius:12px; background:#f5faf7; }
.current-attachment { margin-bottom:19px; }
.current-attachment .image-button { margin-top:7px; }
.admin-item-top { display:flex; justify-content:space-between; align-items:center; gap:14px; padding-bottom:19px; margin-bottom:20px; border-bottom:1px solid var(--line); }
.admin-item-heading, .admin-item-actions, .bulk-toolbar, .bulk-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.admin-item-top .meta { display:inline; margin-left:2px; }
.admin-item-actions { justify-content:flex-end; }
.inline-form { display:inline; margin:0; }
.button.danger { color:#8e3535; background:#fff0f0; border-color:#f0caca; }
.button.danger:hover { color:#fff; background:#b44646; }
.row-select, #select-all { width:18px; height:18px; margin:0; accent-color:var(--green); }
.check-label { display:flex; align-items:center; gap:8px; margin:0; font-size:14px; font-weight:650; }
.bulk-toolbar { justify-content:space-between; padding-top:18px; margin-top:2px; border-top:1px solid var(--line); }
.admin-update { display:grid; grid-template-columns:210px 1fr auto; align-items:end; gap:15px; padding-top:21px; margin-top:22px; border-top:1px solid var(--line); }
.admin-update label { margin:0; }
.empty-state { padding:44px; text-align:center; }
.empty-state p { color:var(--muted); }
code { padding:2px 5px; border-radius:5px; background:#eef3f0; font-size:.9em; }
@media (max-width: 1000px) { .filter-form { grid-template-columns:1fr 1fr; } .filter-form button { width:100%; } }
@media (max-width: 800px) { .form-layout { grid-template-columns:1fr; } .side-card { position:static; } .stats-grid { grid-template-columns:repeat(2,1fr); } .admin-update { grid-template-columns:1fr; } .bulk-toolbar { align-items:flex-start; flex-direction:column; } }
@media (max-width: 600px) { .container { width:min(100% - 28px, 1120px); } .main-content { padding-top:30px; } .nav-wrap { min-height:64px; align-items:flex-start; flex-wrap:wrap; gap:12px; padding-top:12px; padding-bottom:12px; } .brand { flex:1 1 100%; font-size:14px; } .brand-copy small, .contact-pill { display:none; } .header-actions { width:100%; gap:10px; } .nav-links { display:grid; grid-template-columns:repeat(auto-fit, minmax(0, 1fr)); width:100%; gap:6px; font-size:12px; } .nav-links a { display:flex; min-height:38px; align-items:center; justify-content:center; padding:7px 5px; border:1px solid var(--line); border-radius:9px; background:#f7fbf8; line-height:1.2; text-align:center; } .nav-links a:last-child { display:flex; } .hero { display:block; } .hero-badge { width:max-content; margin-top:22px; } .form-card, .detail-card, .admin-item { padding:21px; } .two-cols, .detail-grid, .admin-detail-grid, .filter-form { grid-template-columns:1fr; } .wide { grid-column:auto; } .page-heading { align-items:flex-start; flex-direction:column; } .page-heading-actions { width:100%; } .page-heading-actions .button, .page-heading-actions form { flex:1; } .page-heading-actions form .button { width:100%; } .success-card { padding:35px 22px; } .access-code strong { font-size:1.55rem; } .footer-grid { align-items:flex-start; flex-direction:column; } .footer-contact { align-items:flex-start; text-align:left; } label { margin-bottom:22px; } input, textarea, select { min-height:50px; font-size:16px; } textarea { min-height:112px; } .button { min-height:50px; padding:12px 18px; font-size:15px; } .form-actions { position:sticky; bottom:0; z-index:5; margin:18px -21px -21px; padding:12px 21px; border-top:1px solid var(--line); background:rgba(255,255,255,.96); box-shadow:0 -6px 18px rgba(23,37,31,.06); } .form-actions .button { width:100%; } .form-hint { width:100%; text-align:center; } .upload-field input { min-height:58px; } .image-modal { padding:16px; } }
@media print { .site-header, .site-footer, .button, .small-note { display:none!important; } body { background:#fff; } .success-card { border:0; box-shadow:none; } }
