:root { color: #172033; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif; background: #f5f7fb; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f5f7fb; }
.app-header { height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e7ebf1; }
.logo { color: #1769e0; font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.back-button, .header-spacer { width: 36px; height: 36px; }
.back-button { display: grid; place-items: center; border-radius: 10px; color: #344054; text-decoration: none; font-size: 35px; line-height: 1; padding-bottom: 5px; }
.back-button:hover { background: #f0f5ff; }
.record-page { width: min(100%, 600px); margin: 0 auto; padding: 30px 18px 102px; }
.page-heading { margin: 0 4px 24px; }.eyebrow { margin: 0 0 7px; color: #1769e0; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0 0 8px; font-size: 27px; line-height: 1.3; letter-spacing: -.03em; }.page-heading > p:last-child { margin: 0; color: #667085; font-size: 14px; }
.record-card { padding: 22px 20px; background: #fff; border: 1px solid #edf0f4; border-radius: 18px; box-shadow: 0 8px 24px rgba(28,39,64,.06); }
.field-group { margin: 0 0 24px; border: 0; padding: 0; min-width: 0; }.field-group > label, .field-group legend { display: block; margin: 0 0 9px; color: #344054; font-size: 14px; font-weight: 700; }.field-group label span { margin-left: 4px; color: #98a2b3; font-size: 12px; font-weight: 500; }
input, select, textarea { width: 100%; border: 1px solid #d8dee9; border-radius: 10px; background: #fff; color: #172033; font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }input:focus, select:focus, textarea:focus { border-color: #1769e0; box-shadow: 0 0 0 3px rgba(23,105,224,.12); }
.input-with-icon { position: relative; }.input-with-icon span { position: absolute; top: 13px; left: 13px; color: #1769e0; font-size: 14px; pointer-events: none; }.input-with-icon input { height: 46px; padding: 0 12px 0 38px; }
.subject-select-wrap { position: relative; }.subject-select-wrap::after { content: "⌄"; position: absolute; top: 10px; right: 14px; color: #667085; font-size: 20px; pointer-events: none; }select { height: 46px; padding: 0 38px 0 13px; appearance: none; }
.duration-group { margin-bottom: 24px; }.duration-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.number-field { display: flex; align-items: center; gap: 8px; }.number-field input { height: 50px; padding: 0 10px; text-align: center; font-size: 20px; font-weight: 700; }.number-field span { color: #475467; font-size: 14px; white-space: nowrap; }.field-hint { margin: 9px 0 0; color: #98a2b3; font-size: 12px; }
textarea { display: block; resize: vertical; min-height: 108px; padding: 12px; line-height: 1.55; }textarea::placeholder { color: #98a2b3; }.memo-count { margin-top: 6px; color: #98a2b3; font-size: 12px; text-align: right; }
.save-button { width: 100%; min-height: 52px; border: 0; border-radius: 11px; background: #1769e0; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 5px 12px rgba(23,105,224,.22); transition: transform .15s, background .15s; }.save-button:hover { background: #0f5bc4; }.save-button:active { transform: translateY(1px); }.save-button:disabled { cursor: wait; background: #8cb7f1; }
.form-message { min-height: 18px; margin: 12px 0 0; text-align: center; color: #1769e0; font-size: 13px; font-weight: 600; }.form-message.error { color: #d92d20; }
.bottom-nav { position: fixed; z-index: 2; right: 0; bottom: 0; left: 0; height: 70px; display: flex; justify-content: space-around; align-items: center; background: rgba(255,255,255,.96); border-top: 1px solid #e5e7eb; backdrop-filter: blur(8px); }.bottom-nav a { min-width: 62px; color: #777; font-size: 11px; text-align: center; text-decoration: none; }.bottom-nav a span { display: block; margin-bottom: 3px; font-size: 20px; line-height: 20px; }.bottom-nav a.active { color: #1769e0; font-weight: 700; }
@media (max-width: 380px) { .app-header { padding: 0 16px; }.record-page { padding-right: 14px; padding-left: 14px; }.record-card { padding: 20px 16px; }.duration-inputs { gap: 8px; } }
