:root { --bg:#f4f7f7; --card:#ffffff; --text:#0f172a; --muted:#64748b; --primary:#0f766e; --border:#dbe4e8; --danger:#b91c1c; }
* { box-sizing:border-box; }
body { margin:0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background:var(--bg); color:var(--text); padding-bottom:96px; }
.topbar { position:sticky; top:0; z-index:10; display:flex; justify-content:space-between; align-items:center; padding:14px 16px; color:white; background:linear-gradient(135deg,#0f766e,#155e75); box-shadow:0 2px 12px rgba(0,0,0,.15); }
.brand { font-size:18px; font-weight:800; }
.sub { font-size:12px; opacity:.9; }
main { width:min(980px,100%); margin:0 auto; padding:14px; }
.card { background:var(--card); border:1px solid var(--border); border-radius:18px; padding:16px; margin:0 0 14px; box-shadow:0 4px 16px rgba(15,23,42,.05); }
h2 { margin:0 0 12px; font-size:18px; }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
@media (max-width:720px){ .grid{grid-template-columns:1fr;} }
label { display:block; font-weight:650; font-size:13px; color:#334155; }
input, textarea { width:100%; margin-top:6px; border:1px solid var(--border); border-radius:12px; padding:12px; font:inherit; background:#fff; color:var(--text); }
textarea { resize:vertical; line-height:1.45; }
button, .button { appearance:none; border:0; border-radius:999px; padding:11px 15px; font:inherit; font-weight:750; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:6px; text-decoration:none; }
.primary { background:var(--primary); color:white; }
.secondary { background:#e0f2f1; color:#0f4f49; }
.ghost { background:#eef2f7; color:#334155; }
.hidden { display:none !important; }
.row, .photo-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.check { white-space:nowrap; display:flex; gap:6px; align-items:center; }
.check input { width:auto; margin:0; }
.photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px; }
@media (max-width:720px){ .photos{grid-template-columns:1fr;} }
.photo-card { border:1px solid var(--border); border-radius:16px; padding:10px; background:#fbfdff; }
.photo { width:100%; max-height:280px; object-fit:cover; border-radius:12px; background:#e5e7eb; }
.small { color:var(--muted); font-size:12px; line-height:1.4; }
.bottom-actions { position:fixed; left:0; right:0; bottom:0; z-index:20; display:flex; gap:8px; justify-content:center; flex-wrap:wrap; padding:10px; padding-bottom:calc(10px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.94); backdrop-filter:blur(10px); border-top:1px solid var(--border); }
.bottom-actions button, .bottom-actions .button { min-width:105px; }
@media print { .topbar,.bottom-actions,.ai-card,.photo-actions,.row,.check { display:none!important; } body{background:white;padding:0;} main{width:100%;padding:0;} .card{box-shadow:none;border:0;break-inside:avoid;} input,textarea{border:0;padding:0;} .photos{grid-template-columns:repeat(2,1fr);} }
