/* ===== 誰でも探究ラボ — コミュニティデザイン ===== */
:root {
  --leaf: #2f8f3e; --leaf-dark: #215c2b; --leaf-soft: #e2f1d8;
  --paper: #fbf7ee; --ink: #3b3530; --line: #e9e1d2; --card: #fffdf8;
  --sun: #f6c445; --rose: #e86a7a; --sky: #5aa3d8;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-size: 16px; color: var(--ink); letter-spacing: 0; font-feature-settings: "palt" 1;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(120, 100, 70, .07) 1px, transparent 1px);
  background-size: 18px 18px;
}
.font-hand { font-family: "Klee One", cursive; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== header / footer ===== */
.site-header { background: rgba(251, 247, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 4px; background: repeating-linear-gradient(90deg, #9fd186 0 18px, #f6c445 18px 36px, #f5a8b8 36px 54px, #a9c9ef 54px 72px); opacity: .55; }
.brand-mark { display: inline-block; width: 40px; height: 40px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.08)); }
.top-link { position: relative; padding: .5rem .85rem; font-weight: 700; font-size: 15px; color: #6b6158; border-radius: 9999px; }
.top-link:hover { color: var(--leaf-dark); background: #f3ecdd; }
.top-link.is-active { color: var(--leaf-dark); }
.top-link.is-active::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 6'%3E%3Cpath d='M1 4 Q10 0 20 3 T39 2' stroke='%2374b95a' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; color: #6b6158; font-size: 1.1rem; position: relative; }
.header-icon:hover { background: #f3ecdd; }
.notify-dot { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9999px; background: var(--rose); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 800; border: 2px solid var(--paper); box-sizing: content-box; }
.site-footer { background: #f4eddf; border-top: 1px solid var(--line); margin-top: 3rem; }

.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 18px rgba(80, 60, 30, .06); }
.bottom-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 62px; color: #9a8f83; }
.bottom-link.is-active { color: var(--leaf); }
.post-fab { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-top: -22px; border-radius: 9999px; background: var(--leaf); color: #fff; font-size: 1.05rem; box-shadow: 0 4px 0 #1b4a24, 0 6px 14px rgba(47,143,62,.35); border: 3px solid #fffdf8; }

/* ===== buttons ===== */
.btn-primary { display: inline-flex; align-items: center; gap: .5rem; background: var(--leaf); color: #fff; font-weight: 700; border-radius: 9999px; padding: .62rem 1.2rem; box-shadow: 0 3px 0 #1b4a24; transition: transform .08s, box-shadow .08s, background .15s; white-space: nowrap; }
.btn-primary:hover { background: #277533; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #1b4a24; }
.btn-secondary { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: #4a423b; font-weight: 700; border: 1.5px solid #ddd2bf; border-radius: 9999px; padding: .55rem 1.05rem; white-space: nowrap; box-shadow: 0 2px 0 #e6dccb; }
.btn-secondary:hover { border-color: #b9a98f; background: #fffaf0; }
.btn-secondary:active { transform: translateY(1px); box-shadow: none; }

/* ===== cards ===== */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.25rem; box-shadow: 0 2px 0 rgba(120, 100, 70, .06); }
.post-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1rem 1.1rem 1rem; box-shadow: 0 2px 0 rgba(120,100,70,.06); transition: transform .15s, box-shadow .15s; min-width: 0; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(120,100,70,.12); }
.post-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 4px; border-radius: 0 0 6px 6px; background: var(--tc, #c6e4b3); }
.post-card.is-compact { padding: .9rem 1rem; }
.post-card.is-compact::before { display: none; }
.post-title { font-weight: 800; font-size: 17px; line-height: 1.45; color: #2c2622; }
.type-border-seed { --tc: #8fd17a; } .type-border-case { --tc: #7dbbe8; } .type-border-material { --tc: #f3c55c; }
.type-border-consult { --tc: #f19aa6; } .type-border-story { --tc: #b9a0ea; } .type-border-legend { --tc: #f2c94c; }
.type-border-media { --tc: #95a6f0; } .type-border-tryit { --tc: #6dcfc3; }

.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; color: #4a3d33; font-weight: 900; flex-shrink: 0; box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); line-height: 1; }
.avatar-ring { border: 2px solid #2f4a35; }

.type-chip { display: inline-flex; align-items: center; gap: .25rem; border-radius: 9999px; font-weight: 700; font-size: 13px; padding: .2rem .7rem; white-space: nowrap; }
.type-chip.is-small { font-size: 11.5px; padding: .12rem .55rem; }
.type-seed { background: #e4f4da; color: #2d6a23; } .type-case { background: #e1f0fb; color: #1d5f8e; }
.type-material { background: #fdf0cc; color: #8a5a07; } .type-consult { background: #fde4e7; color: #a12a3c; }
.type-story { background: #efe7fc; color: #5b3aa6; } .type-legend { background: #fff3c4; color: #7a5600; }
.type-media { background: #e6e9fd; color: #3b45a8; } .type-tryit { background: #daf4f0; color: #146a60; }
.type-hitokoto { background: #f3eee5; color: #5a4f45; }

.label { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 800; border-radius: 6px; padding: .08rem .45rem; white-space: nowrap; }
.label-new { background: #ff7a59; color: #fff; letter-spacing: .05em; }
.label-old { background: #f6ead2; color: #8a6420; }
.label-orange { background: #ffe9d6; color: #b4530b; }
.label-solved { background: var(--leaf); color: #fff; }
.label-wait { background: #fde4e7; color: #b42338; animation: pulse-soft 2.4s ease-in-out infinite; }
.label-rose { background: #fdf0f2; color: #b42338; }
.label-violet { background: #efe7fc; color: #5b3aa6; }
.tag-chip { font-size: 11.5px; font-weight: 700; color: #6b6158; background: #f3ecdd; border-radius: 6px; padding: .08rem .45rem; white-space: nowrap; }
.tag-chip.is-green { background: #eaf5e2; color: #2d6a23; }
.meta-chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: #5a4f45; background: #f3ecdd; border-radius: 9999px; padding: .15rem .6rem; }
.role-badge { display: inline-block; white-space: nowrap; flex-shrink: 0; font-size: 10.5px; font-weight: 800; padding: .05rem .45rem; border-radius: 9999px; }
.role-legend { background: #fff0b3; color: #7a5600; } .role-ambassador { background: #dff0fb; color: #1d5f8e; } .role-admin { background: #ece6dc; color: #5a4f45; }
.badge-pill { display: inline-flex; align-items: center; gap: .3rem; font-size: 12.5px; font-weight: 700; background: #fff7d6; color: #6f4f00; border: 1.5px dashed #f2cf63; border-radius: 9999px; padding: .25rem .7rem; }

/* ===== sticky note ===== */
.sticky-note { position: relative; padding: 1.2rem 1.1rem .9rem; border-radius: 4px 4px 18px 4px; box-shadow: 0 6px 14px rgba(110,90,50,.12), 0 1px 0 rgba(0,0,0,.04); transition: transform .15s; }
.sticky-note:hover { transform: rotate(0) translateY(-2px) !important; }
.sticky-note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 18px; transform: translateX(-50%) rotate(-2deg); background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.04); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.note-yellow { background: #fff4b8; } .note-pink { background: #ffe0e6; } .note-blue { background: #dcefff; } .note-green { background: #e3f6d6; }

/* ===== chalkboard (お題) ===== */
.chalkboard { position: relative; border-radius: 22px; padding: 14px; background: #b07a47; background-image: linear-gradient(135deg, #c08b55, #9a6a3c); box-shadow: 0 8px 22px rgba(80,50,20,.2); }
.chalk-inner { position: relative; border-radius: 12px; padding: 1.5rem 1.4rem 1.6rem; background: #2f4a35; background-image: radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.09), transparent 55%), radial-gradient(ellipse at 90% 90%, rgba(255,255,255,.06), transparent 50%); color: #f4f1e8; overflow: hidden; }
.chalk-label { display: inline-block; font-family: "Klee One", cursive; font-size: 14px; color: #ffe79a; border-bottom: 2px dashed rgba(255,231,154,.6); padding-bottom: 2px; }
.chalk-title { font-family: "Klee One", cursive; font-size: clamp(22px, 4.2vw, 32px); line-height: 1.45; margin-top: .6rem; color: #fffef7; text-shadow: 0 0 1px rgba(255,255,255,.6); }
.chalk-desc { font-size: 14px; color: rgba(244,241,232,.88); margin-top: .5rem; line-height: 1.7; }
.chalk-btn { display: inline-flex; align-items: center; gap: .5rem; background: #ffe79a; color: #2f4a35; font-weight: 900; border-radius: 9999px; padding: .7rem 1.3rem; box-shadow: 0 3px 0 #c9a743; }
.chalk-btn:hover { background: #fff0b8; }
.chalk-tray { position: absolute; left: 30px; bottom: 3px; display: flex; gap: 10px; }
.chalk-piece { display: block; width: 34px; height: 7px; border-radius: 3px; background: #fbfaf3; box-shadow: 0 1px 1px rgba(0,0,0,.2); }
.chalk-piece.is-pink { background: #f7b9c4; width: 24px; }

/* ===== hero ===== */
.hero { position: relative; border-radius: 28px; padding: 2rem 1.5rem; background: #fffdf8; border: 1px solid var(--line); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 9999px; background: #e2f1d8; z-index: 0; }
.hero > * { position: relative; z-index: 1; }
.marker { background: linear-gradient(transparent 62%, #ffe27a 62%); padding: 0 .1em; }
.hand-note { font-family: "Klee One", cursive; color: #a2571f; }

/* ===== sections ===== */
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin: 2.5rem 0 1rem; }
.section-title h2 { font-size: 18px; line-height: 1.4; font-weight: 900; color: #2c2622; }
.section-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 18px; box-shadow: 0 2px 0 #eee4d3; }
.section-more { font-size: 13px; font-weight: 700; color: var(--leaf-dark); white-space: nowrap; padding: .35rem .8rem; border-radius: 9999px; background: #fff; border: 1px solid var(--line); }
.section-more:hover { background: var(--leaf-soft); }

.need-card { display: flex; align-items: center; gap: .7rem; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: .85rem .9rem; box-shadow: 0 3px 0 #eee4d3; transition: transform .1s, border-color .15s; }
.need-card:hover { border-color: #9fd186; transform: translateY(-2px); }
.need-emoji { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; font-size: 22px; flex-shrink: 0; }

.activity-item { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem 0; border-bottom: 1px dashed var(--line); }
.activity-item:last-child { border-bottom: 0; }

.empty-state { text-align: center; background: #fffdf8; border: 2px dashed #e1d6c2; border-radius: 22px; padding: 2rem; }
.flash-message { display: flex; gap: .6rem; align-items: flex-start; border-radius: 16px; background: #eef8e6; border: 1.5px solid #c6e4b3; color: #215c2b; padding: .85rem 1rem; font-size: 14px; font-weight: 700; }

/* ===== forms ===== */
.form-label { display: block; font-size: .92rem; font-weight: 700; color: #3b3530; margin-bottom: .4rem; }
.form-label .req { margin-left: .4rem; font-size: 10px; font-weight: 800; color: #fff; background: var(--rose); border-radius: 9999px; padding: 1px 7px; vertical-align: 2px; }
.form-input { width: 100%; border: 1.5px solid #e1d6c2; border-radius: 14px; padding: .72rem .95rem; background: #fff; font-size: 16px; line-height: 1.7; font-family: inherit; }
.form-input:focus { outline: none; border-color: #74b95a; box-shadow: 0 0 0 4px rgba(116,185,90,.18); }
.form-hint { font-size: 12px; color: #8a7f74; margin-top: .3rem; }
.check-chip span { display: inline-block; cursor: pointer; border: 1.5px solid #e1d6c2; border-radius: 9999px; padding: .42rem .9rem; font-size: 14px; font-weight: 700; background: #fff; color: #4a423b; user-select: none; transition: all .1s; }
.check-chip span:hover { border-color: #9fd186; }
.check-chip input:checked + span { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.check-chip input:focus-visible + span { outline: 2px solid var(--leaf); outline-offset: 2px; }

/* ===== reactions / comments ===== */
.reaction-btn { display: inline-flex; align-items: center; gap: .4rem; border: 2px solid #eadfcd; border-radius: 9999px; padding: .55rem 1.05rem; font-weight: 700; font-size: 14px; background: #fff; transition: all .12s; box-shadow: 0 2px 0 #eee4d3; }
.reaction-btn:hover:not(:disabled) { border-color: #9fd186; background: #f4faef; }
.reaction-btn.is-on { border-color: var(--leaf); background: #e2f1d8; color: #215c2b; box-shadow: 0 2px 0 #9fd186; }
.reaction-btn:disabled { opacity: .5; cursor: not-allowed; }
.reaction-btn.pop { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.15) rotate(-3deg); } }
.thanks-btn { font-size: 12.5px; font-weight: 700; color: #7a6f64; border: 1.5px solid #eadfcd; border-radius: 9999px; padding: .25rem .8rem; background: #fff; }
.thanks-btn:hover:not(:disabled) { color: #9a5a00; border-color: #f2cf63; background: #fffbea; }
.thanks-btn:disabled { opacity: .6; }
.comment-bubble { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 4px 18px 18px 18px; padding: .85rem 1rem; }
.comment-bubble.is-best { background: #f2faec; border-color: #9fd186; }
.intent-chip { font-size: 11px; font-weight: 800; border-radius: 9999px; padding: .05rem .5rem; background: #f3ecdd; color: #5a4f45; }
.intent-good { background: #fff3c4; color: #7a5600; } .intent-question { background: #e1f0fb; color: #1d5f8e; } .intent-idea { background: #e4f4da; color: #2d6a23; }
.field-heading { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 900; color: #215c2b; margin-bottom: .4rem; background: linear-gradient(transparent 55%, #e2f1d8 55%); padding: 0 .2rem; }

/* ===== tabs / filters ===== */
.tab-bar { display: flex; gap: .4rem; flex-wrap: nowrap; overflow-x: auto; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar a { padding: .5rem 1.05rem; font-weight: 700; font-size: 14px; color: #7a6f64; border-radius: 9999px; white-space: nowrap; background: #fff; border: 1.5px solid var(--line); }
.tab-bar a.is-active { color: #fff; background: #4a423b; border-color: #4a423b; }
.type-tab { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; font-weight: 700; font-size: 14px; border-radius: 9999px; padding: .45rem .95rem; background: #fff; border: 1.5px solid var(--line); color: #5a4f45; }
.type-tab.is-on { background: #4a423b; color: #fff; border-color: #4a423b; }
.filter-row { display: flex; gap: .5rem; align-items: flex-start; }
.filter-chip { white-space: nowrap; font-size: 13px; font-weight: 700; border-radius: 9999px; padding: .3rem .8rem; background: #f3ecdd; color: #4a423b; }
.filter-chip.is-on { background: var(--leaf); color: #fff; }
.active-filter { font-size: 12.5px; font-weight: 700; background: #e2f1d8; color: #215c2b; border-radius: 9999px; padding: .25rem .75rem; }

.animate-pulse-soft { animation: pulse-soft 2.4s ease-in-out infinite; }
@keyframes pulse-soft { 50% { opacity: .6; } }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: #3b3530; color: #fff; font-weight: 700; font-size: 14px; padding: .7rem 1.25rem; border-radius: 9999px; z-index: 60; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
@media (min-width: 768px) { .toast { bottom: 30px; } .hero { padding: 3rem 2.75rem; } }

@media (min-width: 640px) { .section-title h2 { font-size: 20px; } }
.chalk-title { font-feature-settings: normal; letter-spacing: .02em; }
.sticky-note p { font-feature-settings: normal; }

#comment-form .check-chip span { padding: .3rem .75rem; font-size: 13px; }
.weekly-impact .chalk-inner { padding: 1.25rem 1.25rem 1.4rem; }

/* ヒーローの付箋：横長・4行まで */
.hero-notes .sticky-note { padding: 1.1rem 1.25rem .85rem; }
.hero-notes .sticky-note p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.75; }
.hero-notes .sticky-note:nth-child(2) { margin-top: 18px; }
.hero-notes .sticky-note:nth-child(3) { margin-top: -6px; }

/* ① わたしも同じ悩み */
.metoo-box { background: #fff8ea; border: 1.5px solid #f1e2bf; border-radius: 18px; padding: 1rem 1.1rem; }
.metoo-btn { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 15px; color: #8a4b0b; background: #fff; border: 2px solid #f0c983; border-radius: 9999px; padding: .55rem 1.15rem; box-shadow: 0 3px 0 #f0d9a8; transition: all .12s; }
.metoo-btn:hover:not(:disabled) { background: #fff3d6; }
.metoo-btn.is-on { background: #f6b545; border-color: #e09a20; color: #fff; box-shadow: 0 3px 0 #c98510; }
.metoo-btn:disabled { opacity: .55; cursor: not-allowed; }
.metoo-btn.pop { animation: pop .35s ease; }
/* ② 相談にのれること */
.help-chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: #8a4b0b; background: #fff3d6; border: 1px solid #f3dca6; border-radius: 9999px; padding: .15rem .6rem; }
/* ③ はじめての3ステップ */
.onboarding-card { position: relative; background: linear-gradient(135deg, #f1f8ec 0%, #fffdf8 100%); border: 2px dashed #9fd186; border-radius: 22px; padding: 1.1rem 1.2rem 1.2rem; }
.onboarding-card.is-complete { background: #e2f1d8; border-style: solid; }
.onboarding-step { display: flex; gap: .7rem; align-items: flex-start; background: #fff; border: 1.5px solid #e9e1d2; border-radius: 16px; padding: .75rem .85rem; }
.onboarding-step.is-done { background: #f6fbf2; border-color: #c6e4b3; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9999px; background: #fff7d6; color: #8a5a07; font-weight: 900; font-size: 14px; flex-shrink: 0; border: 2px solid #f2cf63; }
.onboarding-step.is-done .step-num { background: #2f8f3e; color: #fff; border-color: #2f8f3e; }

/* ===== 2a: 収集型の型・公式・ラボ選・縦のつながり ===== */
.type-border-ai_note { --tc: #67c7dd; } .type-border-eval_real { --tc: #c49be8; } .type-border-before_after { --tc: #a9d45f; }
.type-border-outreach { --tc: #f4a35e; } .type-border-info_unit { --tc: #7aa7f0; } .type-border-kids_voice { --tc: #f4a6c8; } .type-border-partner_report { --tc: #6fcf97; }
.type-ai_note { background: #dcf4fa; color: #0e6478; } .type-eval_real { background: #f2e7fb; color: #6b3d97; } .type-before_after { background: #eef7d9; color: #4a6b10; }
.type-outreach { background: #fdebd9; color: #9a4a0c; } .type-info_unit { background: #e3ecfd; color: #24509c; } .type-kids_voice { background: #fde7f1; color: #a2346a; } .type-partner_report { background: #def5e6; color: #1f6b3d; }

.official-mark { display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; background: #e8f5e9; color: #1d6b2c; border: 1.5px solid #8fcf98; border-radius: 9999px; font-weight: 900; font-size: 13px; padding: .22rem .75rem; }
.official-mark .official-sup { font-weight: 700; color: #2f6b38; font-size: 12px; }
.official-mark.is-small { font-size: 11px; padding: .08rem .5rem; border-width: 1px; }
.official-mark.is-small .official-sup { font-size: 10.5px; }
.labpick-mark { display: inline-flex; align-items: center; gap: .25rem; background: #fff4d1; color: #8a5a07; border: 1.5px dashed #e5bf55; border-radius: 9999px; font-weight: 900; font-size: 13px; padding: .2rem .75rem; }
.labpick-mark.is-small { font-size: 11px; padding: .06rem .5rem; border-width: 1px; }
.labpick-note { background: #fffaf0; border-left: 4px solid #e5bf55; border-radius: 0 14px 14px 0; padding: .9rem 1.1rem; }

.kids-voice-card { background: linear-gradient(180deg, #fff 0%, #fff7fb 100%); }
.kids-voice-quote { position: relative; background: #fff4f9; border-radius: 22px; padding: 1.4rem 1.5rem 1.4rem 3rem; }
.kids-voice-quote::before { content: "“"; position: absolute; left: .9rem; top: .1rem; font-size: 56px; line-height: 1; color: #f4a6c8; font-family: Georgia, serif; }
.kids-voice-quote p { font-size: 22px; line-height: 1.7; color: #3b2f35; white-space: pre-wrap; }

.vertical-box { background: #fff; border: 1px solid #ece4d6; border-radius: 20px; padding: 1rem; }
.vertical-item { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .6rem; border-radius: 12px; background: #faf7f1; }
.vertical-item:hover { background: #eef7ea; }
.vertical-lv { flex-shrink: 0; min-width: 2rem; text-align: center; font-weight: 900; font-size: 12px; color: #fff; background: #2f8f3e; border-radius: 8px; padding: .15rem .35rem; }
.vertical-col { background: #fff; border: 1px solid #ece4d6; border-radius: 22px; padding: 1rem; }
.vertical-col h3 { display: flex; align-items: center; gap: .5rem; font-weight: 900; }
.vertical-col .lv-badge { width: 2.2rem; height: 2.2rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; }
.vertical-arrow { display: none; }
@media (min-width: 1024px) { .vertical-arrow { display: flex; align-items: center; justify-content: center; color: #b7a98f; font-size: 22px; } }

.tool-card { display: flex; flex-direction: column; gap: .4rem; background: #fff; border: 1px solid #ece4d6; border-radius: 22px; padding: 1.1rem 1.2rem; transition: transform .15s, box-shadow .15s; }
.tool-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(60,40,10,.35); }
.tool-card.is-soon { opacity: .75; }
.tool-icon { width: 3rem; height: 3rem; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.soon-chip { font-size: 11px; font-weight: 800; background: #f3eee5; color: #7a6a58; border-radius: 9999px; padding: .1rem .55rem; }

/* ===== 2b: ルーブリックメーカー ===== */
.rubric-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid #e7dcc8; background: #fff; }
.rubric-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
.rubric-table th, .rubric-table td { border: 1px solid #ece2d0; padding: .6rem .7rem; vertical-align: top; text-align: left; line-height: 1.6; }
.rubric-table thead th { background: #f4efe4; font-weight: 900; color: #3b3530; }
.rubric-table tbody th { background: #f8f5ee; font-weight: 800; width: 9.5rem; color: #2c2622; }
.rubric-table .rubric-corner { font-size: 12px; color: #7a6a58; }
.rubric-table.is-edit th, .rubric-table.is-edit td { padding: 0; }
.rubric-table.is-edit td.align-middle { vertical-align: middle; text-align: center; border-left: 0; }
.rubric-table.is-edit .rubric-corner, .rubric-table.is-edit thead th:last-child { padding: .6rem; }
.rubric-table textarea, .rubric-table input { width: 100%; border: 0; background: transparent; padding: .6rem .7rem; font: inherit; resize: vertical; line-height: 1.6; color: inherit; }
.rubric-table input { font-weight: 900; }
.rubric-table textarea:focus, .rubric-table input:focus { outline: 2px solid #74b95a; outline-offset: -2px; background: #fbfff7; border-radius: 4px; }
.rubric-table .rb-cn { font-weight: 800; }
.rb-del-row { width: 1.8rem; height: 1.8rem; border-radius: 9999px; color: #a8a29e; font-size: 13px; }
.rb-del-row:hover { background: #fee2e2; color: #be123c; }
button:disabled { opacity: .45; cursor: not-allowed; }
.print-area { display: none; }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: #fff !important; }
  #site-header, #site-footer, #bottom-nav, .no-print, #flash-message { display: none !important; }
  main { padding: 0 !important; max-width: none !important; }
  .print-area { display: block !important; color: #000; font-family: "Zen Maru Gothic", sans-serif; }
  .print-area h1 { font-size: 18pt; font-weight: 900; margin: 0 0 4pt; }
  .print-area .pr-target { font-size: 10.5pt; margin: 0 0 8pt; }
  .print-area table { width: 100%; border-collapse: collapse; font-size: 10pt; }
  .print-area th, .print-area td { border: 1px solid #555; padding: 6pt; vertical-align: top; line-height: 1.5; }
  .print-area thead th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-area tbody th { width: 22mm; background: #f6f6f6 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-area .pr-note { font-size: 10pt; margin-top: 8pt; }
  .print-area .pr-foot { font-size: 8pt; color: #666; margin-top: 10pt; text-align: right; }
}
.rubric-table.is-edit tbody th { width: 7rem; min-width: 7rem; }
.rubric-table.is-edit td:not(.align-middle) { min-width: 11rem; }
.rubric-table.is-edit td.align-middle { width: 2.2rem; min-width: 2.2rem; }
@media (max-width: 640px) { .rubric-table { font-size: 13.5px; } .rubric-table.is-edit tbody th { width: 5.6rem; min-width: 5.6rem; } }
.type-rubric { background: #f2e7fb; color: #6b3d97; } .type-border-rubric { --tc: #c49be8; }

/* ===== 2b-2: 引き継ぎシート ===== */
.ho-row { display: grid; grid-template-columns: 8rem 1fr 4.5rem 2rem; gap: .5rem; align-items: center; }
@media (max-width: 640px) { .ho-row { grid-template-columns: 1fr 4rem 2rem; } .ho-row [data-f=when] { grid-column: 1 / -1; } }
.ho-partner { display: grid; grid-template-columns: 1fr 2rem; gap: .5rem; align-items: start; padding: .75rem; border: 1px dashed #e1d6c2; border-radius: 16px; background: #fffdf8; }
.ho-sheet { display: flex; flex-direction: column; gap: 1.1rem; }
.ho-h { font-weight: 900; font-size: 15px; color: #215c2b; margin-bottom: .35rem; }
.ho-p { white-space: pre-wrap; line-height: 1.8; font-size: 15px; color: #2c2622; }
.ho-sheet .rubric-table:not(.\!min-w-0) { min-width: 640px; }
@page portrait { size: A4 portrait; margin: 14mm; }
@media print {
  .print-area.is-portrait { page: portrait; }
  .print-area h2 { font-size: 11.5pt; font-weight: 900; margin: 10pt 0 4pt; border-left: 3pt solid #2f8f3e; padding-left: 5pt; }
  .print-area p { font-size: 10pt; line-height: 1.6; margin: 0; }
  .print-area .pr-checks { list-style: none; padding: 0; margin: 0; font-size: 10pt; columns: 2; }
  .print-area table + h2, .print-area p + h2 { break-after: avoid; }
  .print-area tr { break-inside: avoid; }
}
@media (max-width: 640px) { .ho-row { padding: .6rem; border: 1px dashed #e1d6c2; border-radius: 14px; background: #fffdf8; } .ho-row [data-f=when] { grid-column: 1 / 3; } .ho-row .js-ho-del { grid-column: 3; grid-row: 1; } .ho-row [data-f=activity] { grid-column: 1 / 2; } }

/* ===== 2b-3: 年間計画ビルダー ===== */
.plan-stagebar { display: flex; height: 14px; border-radius: 9999px; overflow: hidden; background: #f3eee5; }
.plan-stagebar span { display: block; height: 100%; }
.plan-stage-chip { display: inline-block; font-size: 12px; font-weight: 800; border: 1px solid; border-radius: 9999px; padding: .05rem .55rem; white-space: nowrap; color: #3b3530; }
.plan-grid { display: flex; flex-direction: column; }
.plan-head, .plan-row { display: grid; grid-template-columns: 3.2rem minmax(0,1fr) 10.5rem 4.5rem 8.5rem; gap: .5rem; align-items: center; padding: .45rem .9rem; }
.plan-head { background: #f4efe4; font-size: 12px; font-weight: 900; color: #6b5e4f; padding-top: .6rem; padding-bottom: .6rem; }
.plan-row { border-top: 1px solid #f0e8da; border-left: 5px solid var(--stage, transparent); }
.plan-month { font-weight: 900; font-size: 18px; color: #2c2622; text-align: center; }
.plan-month small { font-size: 11px; font-weight: 700; color: #8a7d6e; margin-left: 1px; }
@media (max-width: 767px) {
  .plan-head { display: none; }
  .plan-row { grid-template-columns: 2.6rem minmax(0,1fr) 4rem; grid-template-areas: "m a a" "m s h" "m e e"; padding: .7rem .7rem .7rem .5rem; }
  .plan-row .plan-month { grid-area: m; align-self: start; padding-top: .4rem; }
  .plan-row [data-f=activity] { grid-area: a; } .plan-row [data-f=stage] { grid-area: s; } .plan-row [data-f=hours] { grid-area: h; } .plan-row [data-f=events] { grid-area: e; }
}

/* ===== 2b-4: 依頼文・お礼状メーカー ===== */
.type-letter { background: #fdebd9; color: #9a4a0c; } .type-border-letter { --tc: #f4a35e; }
.type-handover { background: #e1f0fb; color: #1d5f8e; } .type-border-handover { --tc: #7dbbe8; }
.type-plan { background: #e4f4da; color: #2d6a23; } .type-border-plan { --tc: #8fd17a; }
.lt-layout { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .lt-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .lt-preview-wrap { position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow: auto; } }
.lt-kind span { display: flex; flex-direction: column; gap: .15rem; border: 1.5px solid #e1d6c2; border-radius: 14px; padding: .6rem .75rem; background: #fff; cursor: pointer; height: 100%; }
.lt-kind small { font-size: 11.5px; color: #78716c; line-height: 1.5; }
.lt-paper { background: #fff; border: 1px solid #e7dcc8; border-radius: 6px; box-shadow: 0 10px 30px -18px rgba(60,40,10,.45); padding: 2rem 1.75rem; font-family: "Zen Maru Gothic", serif; color: #1c1917; font-size: 14.5px; line-height: 1.9; }
.lt-ph { background: #fff1c2; color: #92400e; border-radius: 4px; padding: 0 .15rem; cursor: pointer; }
.lt-doc .lt-date { text-align: right; }
.lt-doc .lt-to { margin-top: .5rem; font-size: 15.5px; }
.lt-doc .lt-from { text-align: right; margin-top: .5rem; }
.lt-doc .lt-subject { text-align: center; font-weight: 900; font-size: 17px; margin: 1.2rem 0 1rem; letter-spacing: .1em; }
.lt-doc .lt-p { text-indent: 1em; }
.lt-doc .lt-keigu { text-align: right; }
.lt-doc .lt-ki { text-align: center; margin: 1rem 0 .5rem; }
.lt-items { width: 100%; border-collapse: collapse; }
.lt-items th { text-align: left; font-weight: 700; width: 9.5em; vertical-align: top; padding: .2rem .5rem .2rem 0; white-space: nowrap; }
.lt-items td { padding: .2rem 0; white-space: pre-wrap; }
@media (max-width: 640px) { .lt-paper { padding: 1.25rem 1rem; font-size: 13.5px; } .lt-items, .lt-items tbody, .lt-items tr, .lt-items th, .lt-items td { display: block; width: auto; } .lt-items tr { padding: .25rem 0; border-bottom: 1px dotted #e7dcc8; } .lt-items th { padding: 0; } .lt-items td { padding: 0 0 0 1.4em; } }
.lt-style-chips .check-chip span { white-space: nowrap; }
.lt-mail .lt-subj { font-weight: 900; border-bottom: 1px dashed #d6cbb6; padding-bottom: .5rem; margin-bottom: .75rem; }
.lt-mail .lt-body { white-space: normal; }
.lt-kids { font-family: "Klee One", "Zen Maru Gothic", sans-serif; font-size: 16px; }
.lt-kids .kw-to { font-size: 20px; margin-bottom: 1rem; }
.lt-kids .kw-step { margin-bottom: 1.1rem; }
.lt-kids .kw-q { font-weight: 700; color: #215c2b; }
.lt-kids .kw-hint { font-size: 12.5px; color: #78716c; }
.lt-kids .kw-line { height: 2.2rem; border-bottom: 1.5px dashed #b8ab95; }
.lt-kids .kw-from { text-align: right; margin-top: 1.25rem; }
.lt-blank { display: inline-block; border-bottom: 1.5px solid #57534e; height: 1.4em; vertical-align: bottom; }
@media print {
  .lt-layout { display: block !important; }
  .lt-preview-wrap { position: static !important; max-height: none !important; overflow: visible !important; }
  .lt-paper { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; font-size: 11pt; }
  .lt-paper .lt-ph { background: transparent !important; color: #000 !important; }
  .lt-kids .kw-line { height: 11mm; }
  body.printing-letter #site-header, body.printing-letter #site-footer, body.printing-letter #bottom-nav { display: none !important; }
}
@page letter { size: A4 portrait; margin: 18mm 20mm; }
@media print { .lt-layout { page: letter; } }

[data-kinds][hidden] { display: none !important; }

/* ===== プロフィール画像 ===== */
.avatar-img { object-fit: cover; background: #f3eee5; padding: 0; }
.av-stage { position: relative; width: 280px; max-width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; touch-action: none; cursor: grab; background: #f3eee5; }
.av-stage canvas { width: 100%; height: 100%; display: block; }
.av-ring { position: absolute; inset: 0; border-radius: 9999px; box-shadow: 0 0 0 999px rgba(28,25,23,.45); pointer-events: none; border: 2px solid #fff; }

/* ===== 本文の画像・音声動画 ===== */
.img-tools { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.img-add-btn { display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; font-weight: 800; color: #2f6f3a; border: 1.5px dashed #9fcca6; background: #f4fbf4; border-radius: 9999px; padding: .3rem .8rem; cursor: pointer; }
.img-add-btn:hover { background: #e7f5e8; }
.img-strip:empty { display: none; }
.img-strip { display: flex; flex-direction: column; gap: .4rem; margin-top: .5rem; }
.img-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .5rem; align-items: center; padding: .35rem; border: 1px solid #ece3d3; border-radius: 12px; background: #fffdf8; }
.img-item img, .img-missing { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; background: #f3eee5; display: flex; align-items: center; justify-content: center; color: #a8a29e; }
.img-alt { font-size: 13px; border: 1px solid #e7dcc8; border-radius: 8px; padding: .3rem .5rem; min-width: 0; width: 100%; }
.img-ops { display: flex; gap: .2rem; }
.img-ops button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #e7dcc8; background: #fff; font-size: 13px; color: #57534e; }
.img-ops button:disabled { opacity: .35; }
.img-ops button.is-del { color: #be123c; }
.quota-box { border: 1px solid #ece3d3; background: #fffdf8; border-radius: 14px; padding: .7rem .9rem; }
.quota-bar { height: 8px; border-radius: 9999px; background: #f0e9dc; overflow: hidden; margin-top: .35rem; }
.quota-bar > span { display: block; height: 100%; background: #3f9b4c; transition: width .25s; }
.quota-bar.is-warn > span { background: #d97706; }
.quota-bar.is-up > span { background: linear-gradient(90deg, #3f9b4c, #63b86f); }
.media-drop { display: flex; flex-direction: column; align-items: center; gap: .2rem; border: 2px dashed #c9dfcb; background: #f7fcf7; border-radius: 16px; padding: 1.1rem; cursor: pointer; text-align: center; }
.media-drop:hover { background: #eef8ef; }
.media-drop[hidden] { display: none; }
.media-chip { display: flex; align-items: center; gap: .6rem; border: 1px solid #e7dcc8; background: #fff; border-radius: 12px; padding: .6rem .8rem; font-size: 14px; font-weight: 700; min-width: 0; }
.post-figure { margin: 0; }
.post-figure img { display: block; max-width: 100%; max-height: 560px; height: auto; border-radius: 12px; border: 1px solid #ece3d3; background: #f6f1e7; cursor: zoom-in; }
.post-figure figcaption { font-size: 12.5px; color: #78716c; margin-top: .3rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,18,16,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 8px; }
.lightbox p { color: #fff; font-size: 14px; margin-top: .6rem; }
@media print { .post-figure img { max-height: 120mm; border: 0; } .img-tools, .img-strip, .quota-box { display: none !important; } }

/* ===== ライブ配信・ポッドキャスト ===== */
.live-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: 12px; font-weight: 900; border-radius: 9999px; padding: .15rem .6rem; white-space: nowrap; }
.live-badge.is-on { background: #e11d48; color: #fff; }
.live-badge.is-soon { background: #eef2ff; color: #3730a3; }
.live-badge.is-end { background: #f3eee5; color: #57534e; }
.live-dot { width: 8px; height: 8px; border-radius: 9999px; background: #fff; animation: livepulse 1.2s infinite; }
@keyframes livepulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.live-card { display: block; background: #fffdf8; border: 1px solid #ece3d3; border-radius: 18px; padding: 1rem 1.1rem; transition: box-shadow .15s, border-color .15s; }
.live-card:hover { border-color: #d8c9ad; box-shadow: 0 10px 24px -18px rgba(60,40,10,.5); }
.live-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .live-grid { grid-template-columns: minmax(0,1fr) 360px; align-items: start; } }
.live-chat { background: #fffdf8; border: 1px solid #ece3d3; border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; height: min(72vh, 640px); }
@media (max-width: 1023px) { .live-chat { height: 60vh; } }
.live-chat-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .75rem; border-bottom: 1px solid #f0e8da; }
.live-pinned { margin: .5rem .6rem 0; background: #fff6e3; border: 1px solid #f1e2bf; border-radius: 12px; padding: .45rem .65rem; font-size: 13px; }
.live-comments { flex: 1; overflow-y: auto; padding: .4rem .6rem; display: flex; flex-direction: column; gap: .15rem; overscroll-behavior: contain; }
.lc { display: flex; gap: .5rem; align-items: flex-start; padding: .35rem .3rem; border-radius: 10px; }
.lc.is-q { background: #fffbeb; }
.lc.is-answered { opacity: .6; }
.lc.is-pinned { outline: 2px solid #f3d27a; }
.lc.is-hidden { opacity: .35; text-decoration: line-through; }
.lc-main { flex: 1; min-width: 0; }
.lc-head { display: flex; align-items: center; gap: .35rem; font-size: 12px; color: #57534e; flex-wrap: wrap; }
.lc-main p { font-size: 14px; line-height: 1.5; color: #1c1917; word-break: break-word; }
.lc-time { font-size: 11px; color: #a8a29e; margin-left: auto; background: none; border: 0; }
.lc-q { font-size: 11px; font-weight: 800; color: #b45309; }
.lc-a { font-size: 11px; font-weight: 800; color: #15803d; }
.lc-ops { display: flex; flex-direction: column; gap: .1rem; }
.lc-ops button { font-size: 12px; width: 26px; height: 22px; border-radius: 6px; border: 1px solid #ece3d3; background: #fff; }
.lc-empty { font-size: 13px; color: #a8a29e; text-align: center; padding: 1.5rem .5rem; }
.live-form { border-top: 1px solid #f0e8da; padding: .55rem .6rem; background: #fff; }
.clap-btn { position: relative; display: inline-flex; align-items: center; gap: .3rem; font-size: 18px; border: 1.5px solid #f1e2bf; background: #fff8ea; border-radius: 9999px; padding: .15rem .7rem; font-weight: 900; }
.clap-btn span { font-size: 13px; color: #92400e; }
.clap-btn:active { transform: scale(.94); }
.clap-float { position: absolute; bottom: 100%; font-size: 20px; animation: clapup 1.2s ease-out forwards; pointer-events: none; }
@keyframes clapup { from { transform: translateY(0); opacity: 1 } to { transform: translateY(-60px); opacity: 0 } }
.live-caption { margin-top: .6rem; background: #1c1917; color: #fff; border-radius: 12px; padding: .55rem .8rem; font-size: 15px; line-height: 1.6; min-height: 2.6rem; }
.rec-level { display: inline-block; width: 90px; height: 8px; border-radius: 9999px; background: #f0e9dc; overflow: hidden; }
.rec-level span { display: block; height: 100%; width: 0; background: #3f9b4c; transition: width .08s; }
.podcast { position: sticky; top: 4.5rem; z-index: 5; }
.pod-play { width: 48px; height: 48px; border-radius: 9999px; background: #2f8f3e; color: #fff; font-size: 18px; flex-shrink: 0; box-shadow: 0 6px 14px -8px rgba(47,143,62,.8); }
.pod-play:disabled { background: #d6d3d1; }
.archive-list { max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: .2rem; }
.archive-list li { display: flex; gap: .5rem; align-items: flex-start; font-size: 14px; line-height: 1.6; padding: .25rem .3rem; border-radius: 8px; }
.archive-list li.is-now { background: #eaf6ec; }
.archive-list li.ac.is-q { background: #fffbeb; }
.at-time { font-size: 11.5px; font-weight: 800; color: #2f6f3a; background: #eef8ef; border-radius: 6px; padding: .05rem .4rem; flex-shrink: 0; margin-top: .15rem; border: 0; }
.at-time:disabled { color: #a8a29e; background: #f5f5f4; }
button.at-time:not(:disabled):hover { background: #d9f0dc; }

/* ===== サムネイル ===== */
.img-ops button.is-thumb { color: #b45309; }
.img-ops button.is-thumb.is-on { background: #fde68a; border-color: #f59e0b; }
.img-item.is-thumb { border-color: #f59e0b; box-shadow: 0 0 0 2px #fde68a; }
.post-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #f3eee5; margin-top: .75rem; }
.post-card .has-thumb { display: grid; grid-template-columns: minmax(0,1fr) 112px; gap: .8rem; align-items: start; }
.post-card .has-thumb .post-thumb { aspect-ratio: 1; margin-top: 0; }
@media (min-width: 640px) { .post-card .has-thumb { grid-template-columns: minmax(0,1fr) 148px; } .post-card .has-thumb .post-thumb { aspect-ratio: 4 / 3; } }
.post-card.is-compact .post-thumb { aspect-ratio: 16 / 9; margin: 0 0 .5rem; }
/* ===== 投稿の本文セクション（見出しの書きかえ・追加・並べ替え） ===== */
.type-free { background: #efeae2; color: #57493a; } .type-border-free { --tc: #c9b8a0; }
.sec-list { display: flex; flex-direction: column; }
.sec-item { border: 1.5px solid #ece4d6; background: #fffdf8; border-radius: 16px; padding: .7rem .75rem .75rem; transition: box-shadow .3s, border-color .3s; }
.sec-item:focus-within { border-color: #9fcca6; box-shadow: 0 0 0 3px #e7f5e8; }
.sec-wrap.is-new .sec-item { border-color: #7fd36b; box-shadow: 0 0 0 4px #e2f6da; }
.sec-wrap.is-moved .sec-item { border-color: #f3c55c; }
.sec-head { display: flex; align-items: center; gap: .4rem; margin-bottom: .45rem; }
.sec-heading { flex: 1; min-width: 0; font-weight: 900; font-size: 15px; color: #215c2b; background: transparent; border: 0; border-bottom: 1.5px dashed #d8cdb9; padding: .25rem .15rem; border-radius: 0; }
.sec-heading:focus { outline: none; border-bottom-color: #2f8f3e; background: #f6fbf4; }
.sec-heading::placeholder { color: #b5a993; font-weight: 700; }
.sec-ops { display: inline-flex; gap: .25rem; flex-shrink: 0; }
.sec-ops button { width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid #e6dccb; background: #fff; color: #6b5d4b; font-weight: 900; font-size: 14px; line-height: 1; }
.sec-ops button:hover:not(:disabled) { background: #f4efe6; }
.sec-ops button:disabled { opacity: .3; cursor: not-allowed; }
.sec-ops button.is-del:not(:disabled) { color: #c2410c; }
.sec-add { align-self: center; display: inline-flex; align-items: center; gap: .35rem; margin: .45rem 0; font-size: 12.5px; font-weight: 800; color: #6b8f6f; border: 1.5px dashed transparent; border-radius: 9999px; padding: .25rem .8rem; background: transparent; }
.sec-add:hover:not(:disabled), .sec-add:focus-visible { color: #2f6f3a; border-color: #9fcca6; background: #f4fbf4; }
.sec-add:disabled { opacity: .35; cursor: not-allowed; }
.sec-list > .sec-wrap:last-child .sec-add { color: #2f6f3a; border-color: #9fcca6; background: #f4fbf4; }
.sec-restore { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .2rem; }
.sec-restore-btn { font-size: 12px; font-weight: 700; color: #57493a; background: #f4efe6; border-radius: 9999px; padding: .2rem .65rem; }
.sec-restore-btn:hover:not(:disabled) { background: #ebe2d3; }
@media (max-width: 480px) { .sec-item { padding: .6rem .55rem .65rem; } .sec-ops button { width: 34px; height: 34px; } .sec-heading { font-size: 14.5px; } }
