*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f4f5;color:#1a1a1a}.screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:24px 16px;gap:20px}h1{font-size:1.4rem;margin:12px 0 0}.primary-btn{width:100%;max-width:360px;padding:16px;font-size:1.1rem;font-weight:600;color:#fff;background:#2563eb;border:none;border-radius:12px}.primary-btn:active{background:#1d4ed8}.secondary-btn{width:100%;max-width:360px;padding:14px;font-size:1rem;font-weight:600;color:#2563eb;background:#fff;border:2px solid #2563eb;border-radius:12px}#preview-area{width:100%;max-width:360px;display:flex;flex-direction:column;gap:12px}#preview-image{width:100%;border-radius:12px;border:1px solid #ddd}.thumbnail{width:100%;max-width:360px;max-height:200px;object-fit:cover;border-radius:12px;border:1px solid #ddd}.form{width:100%;max-width:360px;display:flex;flex-direction:column;gap:16px}.form label{display:flex;flex-direction:column;gap:6px;font-size:.95rem;font-weight:600}.form input,.form select,.form textarea{font-size:1rem;font-family:inherit;padding:10px 12px;border-radius:8px;border:1px solid #ccc;background:#fff}.form textarea{resize:vertical;min-height:70px}.required{color:#dc2626}#analyzing-message{text-align:center;font-weight:600;color:#555}.saved-banner{width:100%;max-width:360px;padding:12px 14px;border-radius:8px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-weight:600;text-align:center}.error-banner{width:100%;max-width:360px;padding:12px 14px;border-radius:8px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;font-size:.9rem}.entries-section{width:100%;max-width:360px}.entries-section h2{font-size:1.1rem;margin:0 0 10px}.entries-list{display:flex;flex-direction:column;gap:10px}.entry-card{background:#fff;border:1px solid #ddd;border-radius:10px;padding:12px 14px;font-size:.9rem}.entry-card .entry-title{display:flex;justify-content:space-between;font-weight:600;margin-bottom:4px}.entry-card .entry-detail{color:#555}.entry-card a{color:#2563eb;font-weight:600}.entry-empty{color:#777;font-size:.9rem}
