:root{font-family:system-ui,-apple-system,sans-serif;color:#173c36;background:#f4f5ee;font-size:16px}body{margin:0}header,main,nav,#status,footer{max-width:1060px;margin:auto;padding:24px}header{padding-top:54px}small{letter-spacing:.12em;color:#536d5f}h1{font-size:clamp(30px,5vw,50px);line-height:1.3;margin:14px 0}h2{font-size:27px}p{line-height:1.9;color:#52645c}nav{display:flex;gap:24px;padding-top:0;padding-bottom:0}a{color:#24584c;text-underline-offset:6px}main{display:grid;gap:28px}section{background:#fff;border:1px solid #d9e1d3;border-radius:18px;padding:28px}form{border-top:1px solid #e1e6dc;padding-top:20px;margin-top:20px}label{display:block;font-size:14px;margin:12px 0}input,select,textarea{box-sizing:border-box;padding:11px;border:1px solid #bacabc;border-radius:7px;font:inherit;width:100%;margin-top:6px;background:#fcfdf9;color:#173c36}button{border:0;border-radius:8px;padding:12px 18px;background:#24584c;color:white;font:inherit;margin:8px 8px 8px 0;cursor:pointer}button[type=button]{background:#e1e9dc;color:#173c36}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}table{width:100%;border-collapse:collapse;margin:16px 0}td,th{padding:12px;text-align:left;border-bottom:1px solid #e1e6dc}#status{min-height:20px;font-weight:600}li{padding:8px 0}footer{font-size:13px;color:#52645c}@media(max-width:600px){section{padding:18px}header,main,nav,#status,footer{padding:18px}.grid{grid-template-columns:1fr 1fr}}

.map-panel{margin-top:24px;border:1px solid #d9e1d3;border-radius:12px;padding:14px;background:#f8faf5}.map-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.map-heading h3{margin:8px 0}.badge{display:inline-block;background:#e5eddb;color:#24584c;padding:5px 10px;border-radius:20px;font-size:12px}canvas{display:block;width:100%;height:auto;max-height:530px;object-fit:contain;border-radius:8px;touch-action:manipulation;cursor:crosshair}#map-status{font-size:13px;margin:8px 0}#notices{list-style:none;padding:0}#notices li{padding:12px;background:#f3f6ed;margin:8px 0;border-radius:8px}#notices button{padding:8px 12px;font-size:14px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b07a29;outline-offset:3px}@media(max-width:600px){h2{font-size:23px}table{font-size:13px}td,th{padding:9px 5px}.badge{font-size:11px}canvas{max-height:none}#status{font-size:14px}}
canvas{width:min(100%,530px);height:auto;max-height:none;object-fit:fill;margin:0 auto}

.case-card{border:1px solid #d9e1d3;border-radius:12px;padding:15px;margin:12px 0;background:#f8faf5}.case-card h4{margin:0}.case-card p{white-space:pre-wrap;overflow-wrap:anywhere}.case-card small{display:block;letter-spacing:0}.map-tools{display:flex;gap:6px}.map-tools button{padding:9px 13px}#notices li{overflow-wrap:anywhere}@media(max-width:600px){input,select,textarea{font-size:16px}.case-card button{min-height:44px}}

.candidate-row{border-top:1px solid #d9e1d3;padding:10px 0;overflow-wrap:anywhere}.candidate-row button{min-height:44px;max-width:100%;white-space:normal}.case-card{min-width:0}.case-card h5,.case-card p{overflow-wrap:anywhere}button:disabled{opacity:.6;cursor:default}@media(max-width:360px){.grid{grid-template-columns:1fr}.case-card button{width:100%;margin-right:0}}

.case-card ol{padding-left:22px}.case-card li{overflow-wrap:anywhere}.case-card img,#photo-preview img,#synthetic-preview img{max-width:100%;height:auto;display:block;margin-top:8px}#trajectory-km{max-width:240px}@media(max-width:600px){#sighting-now{min-height:44px}.case-card ol{padding-left:18px}}

#sighting-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6ed;padding:12px;font-size:13px}#sighting-editor input[type=checkbox],#discard-edit{width:auto;min-width:24px;min-height:24px;margin-right:8px}#sighting-management button{min-height:44px}#sighting-editor{scroll-margin-top:12px}#sighting-editor label{overflow-wrap:anywhere}

[hidden]{display:none!important}#admin-review pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6ed;padding:12px;font-size:13px}#admin-review button{min-height:44px}#admin-review input[type=checkbox]{width:auto;min-height:24px;min-width:24px}#admin-review article{min-width:0}

#admin-review input,#admin-review select{max-width:100%;min-width:0}#admin-review h3{overflow-wrap:anywhere}@media(max-width:600px){#admin-review .grid{grid-template-columns:1fr}#admin-review button{width:100%;margin-right:0;white-space:normal}}
/* スマホ最適化（2026-10-30追補） */
#trial-guide{background:#eef4e4;border:1px solid #c8d6ae;border-radius:12px;padding:14px 16px;margin:0 0 18px}
.paste-panel{border:2px solid #24584c;border-radius:12px;padding:16px;background:#f8faf5;margin-top:20px}
.paste-panel textarea{font-size:16px}
@media(max-width:600px){header{padding-top:26px}nav{flex-wrap:wrap;gap:12px;font-size:14px}#sagaso button{min-height:48px}#case-form button[type=submit]{width:100%;font-size:17px;padding:15px}.paste-panel button{width:100%;margin-right:0;min-height:50px;font-size:16px}.map-tools{flex-wrap:wrap}.map-tools label{flex:1 1 100%}#map-in,#map-out{min-width:88px}label{font-size:15px}}
.paste-found{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.paste-found:empty{display:none}
.paste-found span{background:#24584c;color:#fff;border-radius:999px;padding:5px 12px;font-size:14px;line-height:1.5}
.parse-summary{border:2px solid #b84536;border-radius:12px;background:#fdf6ec;padding:12px 16px;margin-bottom:14px}
.parse-summary h4{margin:4px 0 8px;font-size:16px}
.parse-summary ul{margin:0;padding-left:20px;font-size:16px;line-height:1.7}
.parse-summary p{font-size:13px;margin:8px 0 2px}
.role-buttons{display:grid;gap:10px;margin:14px 0}
.role-btn{font-size:18px;padding:16px;border:2px solid #24584c;border-radius:12px;background:#fff;color:#24584c;font-weight:700;text-align:center}
.role-btn.selected{background:#24584c;color:#fff}
#role-note{font-size:15px;font-weight:700;margin:4px 0 10px}
#share-view textarea{width:100%}
#poster-sheet{background:#fff;color:#111;border:3px solid #111;border-radius:4px;padding:28px 24px;max-width:680px;margin:12px auto;text-align:center}
#poster-sheet h3{font-size:40px;margin:0 0 8px;color:#b84536;letter-spacing:.05em}
#poster-sheet .poster-name{font-size:30px;font-weight:800;margin:6px 0}
#poster-sheet .poster-line{font-size:19px;margin:8px 0;text-align:left;line-height:1.7}
#poster-sheet .poster-foot{font-size:17px;font-weight:700;margin-top:16px;line-height:1.7}
#poster-sheet .poster-small{font-size:13px;color:#444;margin-top:10px}
#poster-sheet img{max-width:320px;width:100%;height:auto;border:1px solid #999}
@media print{body *{visibility:hidden}#poster-sheet,#poster-sheet *{visibility:visible}#poster-sheet{position:absolute;inset:0;max-width:none;border-width:4px}}
#poster-sheet canvas{width:150px;height:150px}
#share-view input[type="text"]{width:100%}
/* スマホ幅の組み直し（2026-10-30追補2） */
html,body{overflow-x:hidden}
img,canvas,video{max-width:100%}
@media(max-width:600px){main{padding:12px}section{padding:16px;border-radius:14px}#sagaso{font-size:17px}#sagaso .grid{grid-template-columns:1fr}#search-form .grid{grid-template-columns:1fr}table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}pre{white-space:pre-wrap;overflow-wrap:anywhere}}
#poster-sheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}
#poster-sheet .p-banner{background:#c0271a;color:#fff;font-size:42px;font-weight:900;text-align:center;padding:16px 8px;border-radius:6px;letter-spacing:.03em;line-height:1.25}
#poster-sheet .p-whenbox{background:#fff3a6;border:2px solid #c0271a;border-radius:6px;padding:10px 14px;margin-top:12px}
#poster-sheet .p-when{font-size:26px;font-weight:900;color:#c0271a;margin:0}
#poster-sheet .p-where{font-size:17px;font-weight:700;margin:4px 0 0}
#poster-sheet .p-photos{display:flex;gap:10px;margin-top:12px;align-items:stretch}
#poster-sheet .p-photo-main{flex:2;border:2px solid #111;border-radius:6px;display:flex;align-items:center;justify-content:center;min-height:180px;background:#fafafa}
#poster-sheet .p-photo-main img{max-width:100%;border:none}
#poster-sheet .p-photo-subs{flex:1;display:flex;flex-direction:column;gap:10px}
#poster-sheet .p-photo-sub{flex:1;border:2px dashed #888;border-radius:6px;display:flex;align-items:center;justify-content:center;min-height:84px;background:#fafafa}
#poster-sheet .p-photo-empty{color:#777;font-size:14px;margin:0}
#poster-sheet .p-table{width:100%;border-collapse:collapse;margin-top:12px;text-align:left}
#poster-sheet .p-table th{background:#fdeceb;border:1px solid #c0271a;padding:8px 10px;font-size:16px;width:32%;vertical-align:top}
#poster-sheet .p-table td{border:1px solid #c0271a;padding:8px 10px;font-size:16px;line-height:1.6}
#poster-sheet .p-reported{font-size:16px;font-weight:700;margin:12px 0 0;text-align:left}
#poster-sheet .p-warn{background:#fff3a6;border:2px solid #c0271a;border-radius:6px;color:#c0271a;font-size:20px;font-weight:900;padding:10px;margin-top:12px;line-height:1.5}
#poster-sheet .p-note{font-size:15px;margin:10px 0 0;text-align:left;line-height:1.6}
#poster-sheet .p-contact{border:3px solid #111;border-radius:6px;padding:12px;margin-top:12px}
#poster-sheet .p-contact-num{font-size:26px;font-weight:900;margin:0 0 8px}
#poster-sheet .p-foot{background:#c0271a;color:#fff;font-size:19px;font-weight:900;text-align:center;padding:10px;border-radius:6px;margin-top:14px}
#poster-sheet .p-banner .y{color:#ffe14d}
#poster-sheet .p-mid{display:flex;gap:12px;margin-top:12px;text-align:left}
#poster-sheet .p-photo{flex:1.25;border:3px solid #111;border-radius:8px;overflow:hidden;min-height:252px;background:#fafafa}
#poster-sheet .p-photo img{width:100%;height:100%;object-fit:cover;display:block;max-width:none;border:none}
#poster-sheet .p-photo .p-photo-empty{color:#777;font-size:14px;text-align:center;margin:110px 0 0}
#poster-sheet .p-info{flex:1;background:#fdeceb;border:2px solid #c0271a;border-radius:8px;padding:10px 14px}
#poster-sheet .p-info-table{width:100%;border-collapse:collapse}
#poster-sheet .p-info-table th{text-align:left;font-size:15px;color:#7a1408;padding:3px 6px 3px 0;white-space:nowrap;vertical-align:top;border:none;background:none}
#poster-sheet .p-info-table td{font-size:17px;font-weight:700;padding:3px 0;line-height:1.35;border:none}
#poster-sheet .p-info-table td.name{font-size:25px;font-weight:900}
#poster-sheet .p-info-table td.breed{color:#c0271a}
#poster-sheet .p-feat-head{font-size:15px;color:#7a1408;font-weight:700;margin:6px 0 2px}
#poster-sheet .p-feat{list-style:none;margin:0;padding:0}
#poster-sheet .p-feat li{font-size:15px;font-weight:700;line-height:1.45}
#poster-sheet .p-feat .paw{color:#c0271a}
#poster-sheet .p-warnrow{display:flex;gap:12px;margin-top:12px}
#poster-sheet .p-warn{flex:2.1;background:#fff3a6;border:3px solid #c0271a;border-radius:8px;padding:8px 14px;text-align:center;color:#111}
#poster-sheet .p-warn.full{flex:1}
#poster-sheet .p-warn-big{font-size:27px;font-weight:900;color:#c0271a;line-height:1.3;margin:0}
#poster-sheet .p-warn-big.long{font-size:19px;line-height:1.5}
#poster-sheet .p-warn-sub{font-size:16px;font-weight:700;margin:3px 0 0;line-height:1.45}
#poster-sheet .p-wide{flex:1;background:#fdeceb;border:2px solid #c0271a;border-radius:8px;padding:10px 12px;font-size:16px;font-weight:900;color:#c0271a;display:flex;align-items:center;line-height:1.45;text-align:left}
#poster-sheet .p-reported{border:2px solid #111;border-radius:8px;margin-top:12px;padding:8px 14px;font-size:16px;font-weight:400;line-height:1.55;text-align:left}
#poster-sheet .p-reported b{font-size:18px}
#poster-sheet .p-reported-note{margin:2px 0 0}
#poster-sheet .p-memo{border:2px solid #111;border-radius:8px;margin-top:12px;padding:8px 14px;text-align:left}
#poster-sheet .p-memo-lab{display:inline-block;background:#111;color:#fff;font-weight:900;font-size:14px;padding:2px 12px;border-radius:5px;margin:0}
#poster-sheet .p-memo-txt{font-size:17px;font-weight:700;line-height:1.55;margin:6px 0 0;white-space:pre-wrap}
#poster-sheet .p-contact{margin-top:12px;text-align:left;border:none;border-radius:0;padding:0}
#poster-sheet .p-contact-lab{display:inline-block;background:#c0271a;color:#fff;font-weight:900;font-size:16px;padding:3px 16px;border-radius:6px 6px 0 0}
#poster-sheet .p-contactrow{display:flex;gap:12px;align-items:stretch}
#poster-sheet .p-phones{flex:1.45;display:flex;flex-direction:column}
#poster-sheet .p-num{border:3px solid #111;padding:4px 14px;font-size:30px;font-weight:900;letter-spacing:.03em;line-height:1.25;background:#fff;flex:1;display:flex;align-items:center;white-space:nowrap}
#poster-sheet .p-num + .p-num{border-top:none}
#poster-sheet .p-num.url{font-size:17px;white-space:normal;overflow-wrap:anywhere}
#poster-sheet .p-num .tel{font-size:22px;margin-right:10px}
#poster-sheet .p-qrslot{flex:1.45;border:3px solid #111;border-radius:8px;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff}
#poster-sheet .p-qrslot canvas{width:120px;height:120px}
#poster-sheet .p-qrslot-cap{font-size:13px;color:#333;margin:4px 0 0;text-align:center;line-height:1.45}
#poster-sheet .p-linebox{flex:1;background:#eafbee;border:3px solid #06c755;border-radius:8px;padding:9px 14px;display:flex;flex-direction:column;justify-content:center}
#poster-sheet .p-line-hd{display:flex;align-items:center;gap:9px;margin:0}
#poster-sheet .p-linebadge{background:#06c755;color:#fff;font-weight:900;font-size:13px;padding:3px 9px;border-radius:7px;letter-spacing:.05em}
#poster-sheet .p-linet{font-size:20px;font-weight:900;color:#06964a}
#poster-sheet .p-lineid{font-size:18px;font-weight:900;margin:5px 0 0}
#poster-sheet .p-linenote{font-size:13px;font-weight:700;line-height:1.45;margin:4px 0 0}
#poster-sheet .p-qr{text-align:center;margin-top:10px}
#poster-sheet .p-qr canvas{width:100px;height:100px}
#poster-sheet .p-qr-cap{font-size:13px;color:#333;margin:2px 0 0}
#poster-sheet .p-bottom{display:flex;justify-content:space-between;align-items:flex-end;margin-top:10px;text-align:left;gap:12px}
#poster-sheet .p-small{font-size:12px;color:#555;margin:0;line-height:1.5}
#poster-sheet .p-mark{display:flex;align-items:center;gap:8px;flex-shrink:0}
#poster-sheet .p-mark img{width:46px;height:46px;border:none;border-radius:8px}
#poster-sheet .p-mark-t{font-size:15px;font-weight:900;line-height:1.3;margin:0}
#poster-sheet .p-mark-t small{display:block;font-size:11px;color:#555;font-weight:700}
@media print{#poster-sheet.p-size-a4{width:194mm}#poster-sheet.p-size-a3{width:277mm;zoom:1.32}}
.poster-howto{margin-top:14px;text-align:left}
.poster-howto summary{font-weight:700;cursor:pointer}
#after-register{border:2px solid #24584c;border-radius:8px;padding:12px 16px;margin-top:14px;background:#f2f7f4;text-align:left}
#after-register li{margin:6px 0;line-height:1.6}
#place-choices{margin-top:10px;display:flex;flex-direction:column;gap:8px;text-align:left}
#place-choices p{margin:0;font-weight:700}
.place-choice-btn{min-height:48px;padding:10px 12px;border:1.5px solid #24584c;border-radius:8px;background:#fff;text-align:left;font-size:.95em}
.place-choice-btn.selected{background:#24584c;color:#fff}
#batch-panel{margin-top:12px;text-align:left}
.batch-card{border:1px solid #b9cdc6;border-radius:8px;padding:10px 12px;margin:8px 0;background:#fff;text-align:left}
.batch-card label{margin-left:8px;line-height:1.5}
.batch-place-select{width:100%;min-height:44px;margin-top:8px}
.batch-note-line{color:#a33;margin:6px 0 0;font-size:.9em}
.desc-input{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 14px}
.desc-input button{min-height:48px;padding:8px 14px}
#desc-status{flex-basis:100%;margin:0;color:#456;font-size:.9em}
.poster-howto p{margin:6px 0;line-height:1.6}
.guide-box{margin-top:12px;text-align:left}
.guide-box summary{font-weight:700;cursor:pointer}
.guide-box li{margin:6px 0;line-height:1.6}
#entry{text-align:left}
.entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.entry-grid button{min-height:64px;font-size:1.1em;font-weight:700}
.howto-box{border:1px solid #b9cdc6;border-radius:8px;padding:10px 12px;margin:10px 0;text-align:left}
.howto-box summary{cursor:pointer;font-weight:700}
#more-fields{width:100%;min-height:48px;margin:8px 0}
#time-mode{margin:10px 0;text-align:left}
#time-mode label{display:block;margin:8px 0}
#time-mode input[type=radio]{width:22px;height:22px;vertical-align:middle}
#time-approx-note{color:#456;font-size:.92em}
#place-state{font-weight:700;color:#a33b2e;text-align:left}
#place-state.place-ok{color:#1d6b4f}
.verify-state{font-weight:700}
.verify-confirmed{color:#1d7a4f}
.verify-possible{color:#91630f}
.verify-different{color:#777}
.verify-unconfirmed{color:#41618f}
#sighting-caution{background:#fff4e0;border:2px solid #e0a800;border-radius:10px;padding:10px 14px;margin:10px 0;text-align:left}
#sighting-caution ul{margin:6px 0 0;padding-left:20px}
.case-caution{background:#fff4e0;border:1.5px solid #e0a800;border-radius:8px;padding:6px 10px;font-weight:700}
#place-confirm{position:fixed;inset:0;background:rgba(10,30,40,.55);display:flex;align-items:center;justify-content:center;z-index:80;padding:14px}
#place-confirm[hidden]{display:none}
.pc-card{background:#fff;border-radius:14px;padding:16px;max-width:420px;width:100%;max-height:92vh;overflow:auto;text-align:left}
#pc-canvas{width:100%;height:auto;border:1px solid #bcd;border-radius:8px}
.pc-prec label{display:block;margin:6px 0}
.pc-btns{display:flex;gap:8px;margin-top:10px}
#pc-ok{flex:1}
.pin-focus{outline:3px solid #e0a800;outline-offset:2px}
.target-panel{border:2px solid #275d9a;border-radius:12px;padding:12px;margin:0 0 14px;background:#f2f7fc;text-align:left}
.target-card{display:flex;gap:10px;align-items:center;border:1px solid #bcd;border-radius:10px;padding:8px;margin:8px 0;background:#fff}
.target-photo{width:84px;height:84px;object-fit:cover;border-radius:8px;flex:none}
.target-nophoto{display:flex;align-items:center;justify-content:center;background:#eef3f6;color:#567;font-size:13px}
.target-info{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.target-free{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}
.method-tabs{display:flex;gap:6px;margin:10px 0;flex-wrap:wrap}
.method-btn.selected{background:#153f39;color:#fff}
.method-panel{border:1px dashed #9db8ad;border-radius:10px;padding:8px 10px;margin:0 0 10px;background:#fbfdfc;text-align:left}
.batch-details{margin-top:12px;border:1px solid #bcd;border-radius:10px;padding:8px 10px;background:#fbfdfc;text-align:left}
.latlon-details{margin:8px 0;border:1px solid #d5dee2;border-radius:10px;padding:6px 10px;text-align:left}
#goto-map{margin:4px 0 8px}
#method-block{border:2px solid #9db8ad;border-radius:12px;padding:10px 12px;margin:0 0 12px;background:#fbfdfc;text-align:left}
.method-head{margin:0 0 4px}
#google-map{width:100%;aspect-ratio:1/1;max-height:530px;border-radius:8px}
#google-overlay{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}
@media(max-width:600px){#google-map{max-height:none}}
#pc-address{font-size:1.12rem;font-weight:700;line-height:1.55}
#map-pick-bar{background:#fff7e8;border:2px solid #e07b00;border-radius:10px;padding:10px;margin:8px 0}
#map-pick-text{font-weight:700;line-height:1.5;margin:0 0 8px}
.map-pick-btns{display:flex;gap:8px}
#map-pick-ok{background:#e07b00;color:#fff;font-weight:800;border:none;border-radius:8px;padding:10px 14px}
#map-pick-cancel{border-radius:8px;padding:10px 14px}
.batch-map-btn{margin-left:8px;border-radius:8px;padding:4px 10px}
#pc-ok:disabled{opacity:.45}
#pc-warn{color:#b3261e;font-weight:800;background:#fdecea;border:1px solid #b3261e;border-radius:8px;padding:8px 10px;line-height:1.5}

/* 届け出先リンク */
.authority-block{border:2px solid #24584c;border-radius:10px;padding:10px 12px;margin:10px 0;background:#f2f8f5}
.authority-head{font-weight:700;margin:0 0 4px}
.authority-lead{margin:0 0 8px}
.authority-btns{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}
.authority-btn{display:inline-block;padding:10px 14px;border-radius:8px;background:#24584c;color:#fff;text-decoration:none;font-weight:700}
.authority-note{margin:4px 0;font-size:.92em}
/* 追補84: 都道府県から選ぶ場所入力 */
#place-picker{border:2px solid #24584c;border-radius:12px;padding:12px;margin:10px 0;background:#f8faf5}
#place-picker[hidden]{display:none}
.pp-open-note{align-self:center;font-size:.92em}
#place-picker-note{margin:4px 0;font-weight:700}
.pp-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:8px}
.pp-title{font-weight:700;font-size:1.08em;margin:0}
.pp-trail{margin:0;color:#24584c;font-weight:700}
.pp-head-btns{margin-left:auto;display:flex;gap:6px}
.pp-sub-btn{min-height:44px;padding:8px 14px;border:1.5px solid #24584c;border-radius:8px;background:#fff;font-size:.95em}
.pp-note{margin:0 0 8px;background:#eef5ee;border-radius:8px;padding:8px 10px}
.pp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}
.pp-list{display:flex;flex-direction:column;gap:8px;max-height:50vh;overflow-y:auto}
.pp-item{display:flex;align-items:baseline;gap:8px;min-height:52px;padding:10px 12px;border:1.5px solid #24584c;border-radius:10px;background:#fff;text-align:left;width:100%}
.pp-grid .pp-item{flex-direction:column;align-items:flex-start;gap:2px}
.pp-name{font-size:1.12em;font-weight:700}
.pp-yomi{font-size:.88em;color:#5a6a5e}
.pp-mark{margin-left:auto;background:#24584c;color:#fff;border-radius:999px;padding:2px 10px;font-size:.8em;font-weight:700;white-space:nowrap}
.pp-item.pp-marked{border-width:3px;background:#eef5ee}
.pp-filter{display:block;margin:0 0 10px;font-size:.95em}
.pp-filter input{display:block;width:100%;margin-top:4px;min-height:48px;font-size:16px;padding:8px 10px;box-sizing:border-box}
.pp-foot{margin-top:10px}
.room-card{border:1px solid #b9cdc6;border-radius:10px;padding:10px 12px;margin:10px 0;background:#f6faf8}
.room-card h4{margin:4px 0 8px}
.room-card h5{margin:10px 0 4px}
.room-card textarea{width:100%;box-sizing:border-box;min-height:56px;margin:6px 0}
.room-card button{margin:4px 6px 4px 0;min-height:44px;padding:6px 12px}
.room-card .room-small{min-height:36px;padding:4px 10px;font-size:.9em}
.room-posts p{margin:6px 0;white-space:pre-wrap;word-break:break-word}
.room-note{color:#24584c;font-weight:600}
.room-join,.room-open-offer{border:1px dashed #b9cdc6;border-radius:10px;padding:10px 12px;margin:10px 0}
.room-join input{min-height:44px;padding:6px 10px;margin-right:6px}
.room-join button{min-height:44px;padding:6px 12px}
.room-waiting{background:#fdf6e3}
.room-public-info{border:1px solid #b9cdc6;border-radius:10px;background:#fff;padding:8px 12px;margin:8px 0}
.room-public-info h5{margin:4px 0 6px;color:#24584c}
.room-info-line{margin:4px 0}
/* 声で入れる・場所の案内を見やすく（2026-11-09追補） */
#paste-voice,#desc-voice{font-size:1.15em;font-weight:800;padding:14px 22px;background:#fff;color:#173c36;border:3px solid #173c36;border-radius:10px}
#paste-voice.voice-listening,#desc-voice.voice-listening{background:#ffd94d;color:#173c36;border-color:#173c36}
#paste-status{font-size:1.05em;font-weight:700;color:#173c36}
#desc-status{color:#173c36;font-size:1em;font-weight:700}
#map-place-note{font-weight:700;color:#173c36;background:#fff7e8;border:1.5px solid #e07b00;border-radius:8px;padding:8px 10px;margin:8px 0;text-align:left}
/* チラシ作りの入口を見つけやすく（2026-11-09追補） */
#entry-poster{display:block;width:100%;margin:14px 0 8px;background:#e07b00;color:#fff;font-size:1.25em;font-weight:800;border:none;border-radius:10px;padding:16px}
#entry-poster-panel{background:#fff7e8;border:2px solid #e07b00;border-radius:10px;padding:10px;margin:8px 0;text-align:left}
#entry-poster-note{font-weight:700;margin:0 0 8px}
.entry-poster-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #e8d9bd}
.entry-poster-row small{display:block;color:#456}
.entry-poster-btn{background:#e07b00;color:#fff;font-weight:800;border:none;border-radius:8px;padding:12px 14px;white-space:nowrap}
#poster-place-level{border:1px solid #d9e1d3;border-radius:10px;padding:6px 14px;margin:12px 0}
#poster-place-level label{display:block;margin:6px 0}
#poster-place-level input[type=radio]{width:22px;height:22px;vertical-align:middle;margin-right:8px}

/* --- Mobile step flow (mobile-flow.js / feature-tags.js), 2026-11-11 ---
   Design language follows the approved samples: deep-green band header,
   cream background, white rounded cards, green pill chips, a big yellow
   voice button and a bottom fixed navigation. Added as an override layer
   so existing rules and print/poster styles stay untouched. */
header{background:#24584c;color:#fff;border-radius:0 0 18px 18px}
header small,header p{color:#dcebe2}
header h1{color:#fff}
header nav a{color:#fff}
#mf-progress{display:flex;align-items:center;gap:10px;margin:4px 0 14px;font-weight:700}
#mf-count{white-space:nowrap;color:#24584c}
.mf-bar{flex:1;height:10px;background:#dde5d5;border-radius:99px;overflow:hidden}
#mf-fill{height:100%;background:#24584c;width:12.5%;transition:width .25s ease}
#mf-name{white-space:nowrap}
#mf-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(244,245,238,.97);border-top:1px solid #d9e1d3;box-shadow:0 -2px 10px rgba(20,40,35,.08)}
#mf-next{flex:1;background:#24584c;color:#fff;font-size:18px;font-weight:800;min-height:56px;border-radius:12px;border:none;margin:0}
#mf-back{background:#fff;color:#24584c;border:2px solid #24584c;min-height:56px;border-radius:12px;padding:0 20px;font-weight:700;margin:0}
body{padding-bottom:96px}
.mf-off{display:none!important}
#sagaso .role-buttons,#sagaso #sighting-target,#case-form,.map-panel,#mf-progress{max-width:780px;margin-left:auto;margin-right:auto}
.role-btn{position:relative;text-align:left;padding-right:52px}
.role-btn .mf-sub{display:block;font-size:.82em;font-weight:400;margin-top:4px}
.role-btn.selected::after{content:'✓';position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:50%;background:#fff;color:#24584c;font-weight:800;display:flex;align-items:center;justify-content:center}
#entry .entry-btn{background:#fff;color:#24584c;border:2px solid #24584c;border-radius:12px;font-weight:700;min-height:56px}
.mf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.mf-chips button{border:2px solid #24584c;background:#fff;color:#24584c;border-radius:999px;padding:10px 18px;font-size:16px;font-weight:700;min-height:48px;margin:0}
.mf-chips button.selected{background:#24584c;color:#fff}
.mf-chips-label{font-weight:700;margin:14px 0 2px}
.mf-chip-block{margin:6px 0}
.feature-tags{border:2px solid #d9e1d3;border-radius:14px;padding:14px 16px;margin:16px 0;background:#fcfdf9}
.feature-tags h3{margin:0 0 6px;font-size:20px}
.ft-q{font-weight:700;margin:14px 0 4px}
.ft-note{color:#52645c;font-size:14px}
.feature-tags label .ft-note{display:block}
#mf-desc-guide{background:#fdf6e3;border:1.5px solid #c9a93c;border-radius:10px;padding:10px 12px;margin:10px 0}
#mf-desc-guide strong{display:block;font-size:17px;margin-bottom:2px}
#mf-parse-note{margin:6px 0 10px}
#paste-voice{background:#f7c948;color:#173c36;border:3px solid #b07a29;font-size:20px;font-weight:800;width:100%;min-height:64px;border-radius:14px}
#mf-summary{border:2px solid #24584c;border-radius:14px;padding:14px 16px;margin:14px 0;background:#fff}
#mf-summary h3{margin:0 0 6px;font-size:19px}
#mf-summary dl{margin:0}
.mf-sum-row{display:flex;gap:12px;border-bottom:1px dashed #d9e1d3;padding:8px 0}
.mf-sum-row:last-child{border-bottom:none}
.mf-sum-row dt{width:64px;flex:none;color:#52645c}
.mf-sum-row dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.room-posts{display:flex;flex-direction:column;gap:8px}
.room-posts .room-post{background:#fff;border:1px solid #d9e1d3;border-radius:14px;padding:10px 12px;max-width:88%;margin:0}
.room-posts .room-post.mine{align-self:flex-end;background:#dff0d8;border-color:#9dc48f}
@media print{#mf-nav{display:none}body{padding-bottom:0}}

/* Step 2 (matching): candidate tag chips, rank, notice cards, compare view. */
.tag-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.tag-chip{border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700;border:1.5px solid #b9c6bb;background:#f2f4ef;color:#52645c}
.tag-chip.matched{background:#dff0d8;border-color:#5da24a;color:#24584c}
.tag-chip.differ{background:#fbe3e0;border-color:#d98a80;color:#8c3a30}
.candidate-rank{font-weight:800;color:#24584c;font-size:16px;margin:4px 0}
.candidate-photo{width:120px;height:80px;object-fit:cover;border-radius:10px;display:block;margin:6px 0}
#notices li.match-notice{list-style:none;border:2px solid #d9e1d3;border-radius:14px;background:#fff;padding:12px 14px;margin:8px 0}
#notices li.match-notice.fresh{border-color:#c9a93c;background:#fdf6e3}
#notices li.match-notice strong{font-size:17px;color:#173c36}
#notices li.match-notice p{margin:6px 0}
.compare-verdict{border:2px solid #c9a93c;background:#fdf6e3;border-radius:14px;padding:12px 14px;margin:10px 0}
.compare-verdict strong{font-size:18px;color:#173c36}
.compare-verdict p{margin:4px 0 0}
.compare-photos{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.compare-side{background:#fff;border:1.5px solid #d9e1d3;border-radius:14px;padding:10px}
.compare-photo{width:100%;height:auto;border-radius:10px;display:block}
.compare-nophoto{background:#f2f4ef;border-radius:10px;min-height:90px;display:flex;align-items:center;justify-content:center;color:#52645c;font-weight:700}
.compare-side p{margin:6px 0;overflow-wrap:anywhere}
.compare-desc{color:#3c4f47;font-size:14px}
.compare-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d9e1d3;border-radius:12px;padding:8px 12px;margin:6px 0}
.compare-row>span:first-child{width:88px;flex:none;font-weight:800;color:#24584c}
.compare-values{flex:1;overflow-wrap:anywhere}
.compare-badge{flex:none;border-radius:999px;padding:3px 10px;font-size:13px;font-weight:800;border:1.5px solid #b9c6bb;background:#f2f4ef;color:#52645c}
.compare-badge.match{background:#dff0d8;border-color:#5da24a;color:#24584c}
.compare-badge.mismatch{background:#fbe3e0;border-color:#d98a80;color:#8c3a30}

/* Step 3 (photo AI search): photo similarity note in candidate cards. */
.photo-sim{font-weight:700;color:#24584c;background:#eef5ea;border:1.5px solid #b9c6bb;border-radius:10px;padding:6px 10px}
/* Step 4 (authority matching): public-listing candidates, freshness, source link. */
.authority-row{border-left:5px solid #2e7d6b}
.authority-fresh{color:#38604f}
.authority-stale{color:#a33;font-weight:700;background:#fdf0ee;border:1.5px solid #e3b3ac;border-radius:10px;padding:6px 10px}
.authority-link{display:inline-block;margin:6px 0;font-weight:700}
.authority-notice{border-left:5px solid #2e7d6b}
/* Menu separation (feedback, 2026-11-11): the top menu keeps the
   witness entrance and the search-room entrance as separate items,
   and the rooms section opens with a note that draws the same line. */
nav{display:flex;flex-wrap:wrap;gap:8px}
nav a{border:1.5px solid #24584c;border-radius:999px;padding:7px 14px;text-decoration:none;font-weight:700;background:#fff}
nav a#nav-sighting{background:#f7c948;color:#173c36;border-color:#b07a29}
.rooms-lead{background:#eef5ea;border:1.5px solid #b9c6bb;border-radius:10px;padding:10px 12px}
/* Nearby information (after-register panel and own lost-case cards). */
.nearby-list{list-style:none;margin:8px 0;padding:0}
.nearby-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:6px 0;border-bottom:1px solid #d9e1d3;cursor:pointer}
.nearby-row img{border-radius:6px;object-fit:cover;flex:none}
.nearby-row span{flex:1 1 170px}
.nearby-box{margin-top:8px}

.room-photo{width:160px;max-width:100%;height:auto;border-radius:10px;display:block;margin:6px 0}

/* Flyer offer under the register summary (2026-11-12). */
#mf-flyer-ask{margin-top:14px;padding:10px 12px;border:1px solid #d8cfc0;border-radius:10px;background:#fffaf0}
#mf-flyer-ask p{margin:0 0 6px;font-weight:600}
#mf-flyer-ask label{display:flex;gap:8px;align-items:center;font-size:16px}
#mf-flyer-ask input{width:20px;height:20px}

/* r41: summary inline editors */
#mf-summary .mf-sum-edit{margin-left:10px;padding:3px 12px;font-size:13px;flex:none}
#mf-summary .mf-sum-editor{display:flex;flex-direction:column;gap:6px}
#mf-summary .mf-sum-editor select,#mf-summary .mf-sum-editor input,#mf-summary .mf-sum-editor textarea{font-size:16px;padding:6px;width:100%;box-sizing:border-box}
#mf-summary .mf-sum-actions{display:flex;gap:8px}
#mf-summary .mf-sum-actions button{padding:6px 14px;font-size:14px}

.card-thumbs{display:flex;gap:6px;margin:4px 0;flex-wrap:wrap}.card-thumbs button{padding:2px;line-height:0}.card-thumbs img{display:block}

.entry-mine-btn{font-size:18px;padding:16px;border:2px solid #24584c;border-radius:12px;background:#fff;color:#24584c;font-weight:700;text-align:center}

#photo-slots{display:flex;gap:10px;margin:8px 0;flex-wrap:wrap}.photo-slot{position:relative;width:104px;height:104px}.photo-slot-main{width:104px;height:104px;border:2px dashed #24584c;border-radius:12px;background:#fff;color:#24584c;font-size:34px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden;cursor:pointer}.photo-slot-main img{width:100%;height:100%;object-fit:cover;display:block}.photo-slot-del{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;border:2px solid #24584c;background:#fff;color:#24584c;font-weight:700;line-height:1;cursor:pointer}

.case-photo-editor{border-top:1px solid #d9e1d3;margin-top:10px;padding-top:10px}
.case-photo-slots{display:flex;gap:10px;margin:8px 0;flex-wrap:wrap}.case-photo-slot{position:relative;width:104px;height:104px}.case-photo-main{width:104px;height:104px;border:2px dashed #24584c;border-radius:12px;background:#fff;color:#24584c;font-size:34px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden;cursor:pointer}.case-photo-main img{width:100%;height:100%;object-fit:cover;display:block}.case-photo-del{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;border:2px solid #24584c;background:#fff;color:#24584c;font-weight:700;line-height:1;cursor:pointer}
#video-slot{position:relative;max-width:360px;margin:8px 0}
#video-slot-main{width:100%;min-height:56px;border:2px dashed #24584c;border-radius:12px;background:#fff;color:#24584c;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:10px;cursor:pointer}
#video-slot-del{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;border:2px solid #24584c;background:#fff;color:#24584c;font-weight:700;line-height:1;cursor:pointer;z-index:1}
.video-chosen{width:100%;height:auto;display:block;border-radius:12px;background:#000;margin-bottom:8px}
.case-video{width:100%;max-width:360px;height:auto;display:block;border-radius:12px;background:#000;margin-top:8px}
.case-video-editor{border-top:1px solid #d9e1d3;margin-top:10px;padding-top:10px}
.case-video-editor .case-video{margin:8px 0}
#contact-field label{display:block;margin:6px 0}
.case-contact-editor{border-top:1px solid #d9e1d3;margin-top:10px;padding-top:10px}
.case-contact-editor label{display:block;margin:6px 0}
#mine{margin-top:16px}
.mine-card{border:1px solid #d9e1d3;border-radius:12px;padding:15px;margin:12px 0;background:#fff}
.mine-card h3{margin:8px 0 4px}
.mine-photo{width:100%;height:auto;display:block;border-radius:10px;margin:8px 0}
.mine-nophoto{display:flex;align-items:center;justify-content:center;min-height:120px;border:2px dashed #b9c8b2;border-radius:10px;color:#5a6b57;background:#f3f6ed;margin:8px 0}
.mine-new{border:2px solid #c9a93c;background:#fdf6e3;border-radius:10px;padding:10px 12px;margin-bottom:10px}
.mine-new strong{font-size:17px;color:#173c36}
.mine-new p{margin:6px 0}
.mine-new-tap{cursor:pointer;position:relative;padding-right:30px}
.mine-new-tap:active{background:#f7ecc9}
.mine-new-arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:24px;font-weight:700;line-height:1;color:#173c36}
.mine-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.mine-btns button{min-height:44px;padding:10px 14px}
/* r74 管理者の確認は最初は畳む：見出しボタンだけ出し、中身は開くまで隠す */
#admin-review-toggle{background:none;color:#173c36;padding:6px 0;text-align:left}
#admin-review-toggle::before{content:'▶ '}
#admin-review-toggle[aria-expanded='true']::before{content:'▼ '}
/* r76 「あなたの登録」は顔写真を文字の横に：正方形サムネイル＋右に文字の横並び */
.mine-main{display:flex;gap:12px;align-items:flex-start;margin-top:8px}
.mine-photo{width:120px;height:120px;object-fit:cover;flex:0 0 auto;margin:0;box-sizing:border-box}
.mine-nophoto{width:120px;height:120px;min-height:0;flex:0 0 auto;margin:0;font-size:13px;text-align:center;padding:6px;box-sizing:border-box}
.mine-info{flex:1 1 auto;min-width:0}
.mine-info h3{margin:0 0 4px}
.mine-info p{margin:0}
/* r77: a small photo beside the "あなたの登録" heading itself -- a
   "mark" for the section, clearly smaller than the 120px card
   thumbnails. The heading is a flex row so the photo sits at the
   text's left and the text wraps inside its own space, never under
   the photo. No photo, no mark: the [hidden] rule keeps the img
   fully out of the row. */
.mine-head{display:flex;align-items:center;gap:10px}
.mine-head-photo{width:46px;height:46px;object-fit:cover;border-radius:10px;flex:0 0 auto;display:block}
.mine-head-photo[hidden]{display:none}

/* r82: 「この子の情報を見る」で移動した先のカードを光らせて知らせる */
.case-card.jump-flash{animation:jumpFlash 1.3s ease-in-out 2}
@keyframes jumpFlash{0%,100%{box-shadow:0 0 0 0 rgba(36,88,76,0)}50%{box-shadow:0 0 0 4px rgba(36,88,76,.55)}}

/* r131: 地図へ飛んだあと、見ていたカードへ戻るための固定ボタン */
button.jump-back-btn{position:fixed;right:12px;bottom:calc(var(--home-tab-h,0px) + 14px);z-index:65;padding:12px 18px;border-radius:999px;background:#173c36;color:#fff;border:none;font-size:15px;font-weight:700;box-shadow:0 4px 14px rgba(20,40,35,.28);cursor:pointer}
.jump-back-btn[hidden]{display:none}
@media print{.jump-back-btn{display:none}}

/* r132: どこからでも戻れる「もどる」ボタン（左下） */
button.nav-back-btn{position:fixed;left:12px;bottom:calc(var(--home-tab-h,0px) + 14px);z-index:65;padding:12px 18px;border-radius:999px;background:#173c36;color:#fff;border:none;font-size:15px;font-weight:700;box-shadow:0 4px 14px rgba(20,40,35,.28);cursor:pointer}
.nav-back-btn[hidden]{display:none}
@media print{.nav-back-btn{display:none}}

/* r114: resume banner 撤去に伴い .mf-resume のスタイルも削除 */

/* r89: 結果表示バー（手順の上に結果を映す）と、招待コードの所へ行くボタン */
#mf-statusbar{position:fixed;left:0;right:0;bottom:0;z-index:59;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fdf6e3;border-top:2px solid #c9a93c;color:#173c36;font-size:15px;font-weight:700;line-height:1.5;box-shadow:0 -2px 10px rgba(20,40,35,.10);max-height:38vh;overflow-y:auto}
#invite-jump{background:#f7c948;color:#173c36;border:3px solid #b07a29;font-weight:800;margin:10px 0 0}
body{padding-bottom:calc(96px + var(--mf-status-extra,0px))}
@media print{#mf-nav,#mf-statusbar{display:none}body{padding-bottom:0}}

.field-alert{color:#b3261e;font-weight:700;line-height:1.7;margin:8px 0}
#after-register h3{color:#1d6b4f;font-size:24px;margin:6px 0 10px}
.case-photo-wrap{position:relative;display:block;line-height:0;max-width:100%}
.case-card>button.btn-wide{display:block;width:100%;margin:2px 0 6px}
.case-card>button.btn-sighting{background:#f2a93b;border:1px solid #d98c1f;color:#173c36;font-weight:700}
.case-card>button.btn-resolve{background:#24584c;border:1px solid #24584c;color:#fff;font-weight:700}
.case-card>button.btn-quiet{background:#eef1e8;border:1px solid #ccd6c6;color:#52645c}
.room-tips{margin:10px 0}
.room-tip{border-top:1px solid #e1e6dc;padding:8px 0}
.room-tip-new{display:inline-block;background:#f2a93b;color:#173c36;font-size:12px;font-weight:700;border-radius:999px;padding:1px 8px;margin-left:8px}
.mine-photo-wrap{position:relative;display:inline-block;line-height:0;flex:0 0 auto}
.resolved-stamp{position:absolute;top:6px;right:6px;width:44px;height:44px;border-radius:50%;background:#d43a2a;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.35);color:#fff;font-size:25px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;transform:rotate(-12deg);pointer-events:none}
.resolved-badge{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#d43a2a;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.35);color:#fff;font-size:19px;font-weight:700;line-height:1;transform:rotate(-12deg);vertical-align:middle;margin:2px 0 2px 8px}
#nationwide-panel{background:#eef6f3;border:2px solid #24584c;border-radius:10px;padding:10px;margin:12px 0;text-align:left}
#nationwide-note{font-weight:700;margin:8px 0}

/* ============================================================
   見やすさ直し第1弾（2026-11-16・チーム相談まとめに基づく）
   このまとまりはファイル末尾の上書き層です。既存ルールの並びは
   入れ替えていません。色はこの :root の変数で書きます。
   チラシ（#poster-sheet）と印刷用には触れません（本文色の
   打ち消しだけ、チラシの色をそのまま保つために置いています）。
   固定バー（#mf-nav / #mf-statusbar）の寸法と .mf-off の
   出し分けにも触れていません。
   ============================================================ */
:root{--ani-green:#24584c;--ani-green-dark:#173c36;--ani-ink:#173c36;--ani-ink-soft:#3d5046;--ani-line:#d9e1d3;--ani-yellow:#f7c948;--ani-yellow-line:#b07a29;--ani-red:#b3261e;--ani-radius:12px;--ani-radius-sm:8px;--ani-paper:#fff;--ani-green-pale:#e1e9dc;--ani-orange:#e07b00;--ani-poster-ink:#111}

/* ---- 1. 文字の大きさと色：小さい字を本文並みへ、薄い色を一段濃く ---- */
p{color:var(--ani-ink-soft)}
#poster-sheet p{color:var(--ani-poster-ink)}
small{font-size:16px;color:var(--ani-ink-soft)}
label{font-size:16px;color:var(--ani-ink)}
footer{font-size:16px;color:var(--ani-ink-soft)}
.badge{font-size:16px}
#map-status{font-size:16px}
#status{font-size:16px}
.ft-note{font-size:16px;color:var(--ani-ink-soft)}
.parse-summary p{font-size:16px}
.entry-poster-row small{font-size:16px;color:var(--ani-ink-soft)}
#notices button{font-size:16px}
#sighting-editor pre,#admin-review pre{font-size:16px}
.paste-found span{font-size:16px}
#role-note{font-size:16px}
.place-choice-btn{font-size:16px}
.batch-note-line{font-size:16px}
#time-approx-note{font-size:16px;color:var(--ani-ink-soft)}
.authority-note{font-size:16px}
.pp-open-note{font-size:16px}
.pp-yomi{font-size:15px;color:var(--ani-ink-soft)}
.pp-mark{font-size:15px}
.pp-filter{font-size:16px}
.tag-chip{font-size:16px;color:var(--ani-ink-soft)}
.compare-badge{font-size:16px}
.compare-desc{font-size:16px}
.target-nophoto{font-size:16px;color:var(--ani-ink-soft)}
.mine-nophoto{font-size:16px;color:var(--ani-ink-soft)}
.mf-sum-row dt{color:var(--ani-ink-soft)}
#mf-summary .mf-sum-edit{font-size:16px}
#mf-summary .mf-sum-actions button{font-size:16px}
.verify-different{color:var(--ani-ink-soft)}
input,select,textarea{font-size:16px}
@media(max-width:600px){table{font-size:16px}nav{font-size:16px}}

/* ---- 2. ボタンは3種類：本命＝濃緑ベタ／その他＝白地に緑太枠／声と目撃＝黄色 ---- */
button{background:var(--ani-paper);color:var(--ani-green);border:2px solid var(--ani-green);border-radius:var(--ani-radius);min-height:48px}
button[type=button]{background:var(--ani-paper);color:var(--ani-green);border:2px solid var(--ani-green)}
button[type=submit]{background:var(--ani-green);color:var(--ani-paper);border-color:var(--ani-green-dark)}
#invite-accept,#pc-ok,#address-search,#search-form button,#target-show,#target-goto,#paste-parse,#poster-print,#jump-back-btn,#nav-back-btn{background:var(--ani-green);color:var(--ani-paper);border-color:var(--ani-green-dark)}
#mf-next{background:var(--ani-green);color:var(--ani-paper)}
#paste-voice,#desc-voice,#invite-jump{background:var(--ani-yellow);color:var(--ani-ink);border:3px solid var(--ani-yellow-line)}
.mf-chips button.selected,.place-choice-btn.selected,.method-btn.selected,.role-btn.selected{background:var(--ani-green);color:var(--ani-paper);border-color:var(--ani-green-dark)}
.pp-sub-btn,.room-card button,.room-join button,.mine-btns button,.candidate-row button,.case-card button,#sighting-management button,#admin-review button,.batch-place-select{min-height:48px}
.room-card .room-small{font-size:16px;min-height:48px}
#sighting-now{min-height:48px}
#photo-slots .photo-slot-del,.case-photo-slots .case-photo-del,#video-slot #video-slot-del{min-height:28px}
#sagaso .card-thumbs button{min-height:0;border:0;background:var(--ani-green-pale);padding:2px}
#admin-review-toggle{min-height:0}
button.photo-slot-main,button.case-photo-main,#video-slot-main{border:2px dashed var(--ani-green);background:var(--ani-paper);color:var(--ani-green)}
button.pp-item{color:var(--ani-ink)}
button.entry-poster-btn{background:var(--ani-orange);color:var(--ani-paper);border-color:var(--ani-orange)}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--ani-yellow-line);outline-offset:3px}

/* ---- 4. 余白と角：角は12px（小物8px・丸チップ999px）、余白を少し広く ---- */
section{border-radius:var(--ani-radius);padding:32px}
@media(max-width:600px){section{padding:20px}}
main{gap:32px}
form{margin-top:24px;padding-top:24px}
.case-card,.mine-card{border-radius:var(--ani-radius);padding:18px}
.map-panel{border-radius:var(--ani-radius);padding:16px}
.room-card{border-radius:var(--ani-radius);padding:14px 16px}
.paste-panel,.parse-summary,.feature-tags,#mf-summary,.target-panel,#method-block,.authority-block,.target-card,.compare-side,.compare-verdict,.batch-card,#after-register,#nationwide-panel,#entry-poster-panel{border-radius:var(--ani-radius)}
.method-panel,.latlon-details,.batch-details,.howto-box,.room-join,.room-open-offer,.rooms-lead,.mine-new,#mf-flyer-ask,.photo-sim,.authority-stale,.case-caution{border-radius:var(--ani-radius-sm)}
.badge,.tag-chip,.compare-badge,.paste-found span,.pp-mark{border-radius:999px}
.authority-btn{min-height:48px;box-sizing:border-box;display:inline-flex;align-items:center}
/* 第1弾の変数の結び付け（色は変えず、同色を変数名で再指定） */
section{border-color:var(--ani-line)}
.field-alert{color:var(--ani-red)}
/* 部屋の投稿の型ボタン（見本 2026-11-16）：よく使う報告を押して選べる形に */
.room-templates{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 2px}
.room-templates button{margin:0}
.room-templates .room-sighting-jump{background:#24584c;color:#fff;font-weight:700}

/* ============================================================
   最初の画面の作り替え（2026-11-17・本人のデザイン決定）
   見本（本人が選んだ画像）の形：ヘッダー（左にロゴの実
   テキスト＋説明文、右に動物の写真）＋色つき大ボタン3つ＋
   情報を見る＋下部の固定タブ4つ。
   本人の追加の直し（同日）：種別の印（ピル）は写真で分かる
   ので外した。「似ている子を探す（AI画像検索）」も最初の
   画面から外した（見比べは各カードから辿れる）。「近くの
   情報／自分の登録」の小さいボタンの列と「全国の登録情報」
   は「情報を見る」（一覧）側へ移した。
   「チラシを作る」と「解決済みにする」は最初の画面に置かない
   （本人の言葉で「飼い主さんと保護した人だけの物」なので、
   あなたの登録の自分のカードの中に置く）。
   ヘッダーの絵は仮置き（空と草原のCSS＋動物4種のSVG）。
   本番の絵の差し替え口は /home-hero.png（推奨 1200×500・
   比率12:5・object-fit:cover で表示）。絵が置かれて読み込めた
   時だけ、仮の絵の上に重なって出る（app.js 側で出し分け）。
   下部の固定タブ（#home-tabbar）の分だけ、既存の固定バー
   （#mf-nav）を持ち上げ、本文の下余白も広げる。タブの高さは
   app.js が実物から測って --home-tab-h に入れる。
   タブの文字だけは見本に合わせて 14px（他の文字は16px以上を
   維持）。印刷ではタブを出さない。
   ============================================================ */
:root{--home-tab-h:0px}
#mf-nav{bottom:var(--home-tab-h)}
body{padding-bottom:calc(96px + var(--mf-status-extra,0px) + var(--home-tab-h))}
@media print{#home-tabbar{display:none}}
.home-hero{display:flex;flex-direction:column;gap:10px}
.home-hero-band{position:relative;border-radius:12px;overflow:hidden;background:#f4e5cb;width:100%;aspect-ratio:12/5}
.home-hero-fallback{position:absolute;inset:0;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-evenly;padding:6px 4px 0}
.home-hero-fallback svg{height:82%;width:auto;max-width:19%}
.home-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home-hero-band:has(.home-hero-img:not([hidden])) .home-hero-fallback{display:none}
.home-hero-head{display:flex;flex-direction:row;align-items:center;gap:12px}
.home-hero-icon{width:52px;height:52px;border-radius:14px;flex:0 0 auto}
.home-hero-name{margin:0;font-size:27px;line-height:1.25;color:var(--ani-green-dark)}
.home-hero-tag{margin:3px 0 0;font-size:16px}
.home-hero-credit{margin:4px 0 0;text-align:right;font-size:11px;letter-spacing:.08em;color:#8a8378;white-space:nowrap}
.home-actions{display:grid;gap:12px;margin-top:18px}
#entry .home-big{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:none;border-radius:16px;padding:16px;min-height:78px;color:#fff;margin:0;box-shadow:0 2px 6px rgba(20,40,35,.18)}
#entry .home-big-lost{background:#D9574A}
#entry .home-big-sighted{background:#F2A93B;color:#46290A}
#entry .home-big-protected{background:#3F7DB5}
.home-big-ic{font-size:32px;line-height:1;background:rgba(255,255,255,.28);border-radius:50%;width:50px;height:50px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.home-big-tx{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.home-big-tx strong{font-size:19px;line-height:1.3;color:#fff}
.home-big-tx small{font-size:16px;color:#fff}
.home-big-go{font-size:30px;font-weight:700;background:#fff;border-radius:50%;width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.home-big-lost .home-big-go{color:#D9574A}
.home-big-sighted .home-big-go{color:#B96A00}
.home-big-protected .home-big-go{color:#3F7DB5}
#entry .home-wide{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border-radius:16px;padding:14px 18px;min-height:70px;margin:0;background:#fff;border:2.5px solid var(--ani-green);color:var(--ani-green-dark)}
#entry .home-wide .home-big-tx strong{color:var(--ani-green-dark);font-size:21px}
#entry .home-wide .home-big-tx small{color:var(--ani-ink-soft)}
#entry .home-wide .home-big-go{background:transparent;color:var(--ani-green)}
.home-wide-ic{font-size:28px;line-height:1;flex:0 0 auto;color:var(--ani-green-dark)}
.home-big-ic{color:#fff}
#entry .home-big-sighted .home-big-tx strong{color:#46290A}
#entry .home-big-sighted .home-big-tx small{color:#6B4218}
#entry .home-big-sighted .home-big-ic{background:rgba(255,255,255,.35);color:#46290A}
.home-howto{text-align:center;margin:16px 0 6px}
.home-howto a{color:var(--ani-green-dark);font-size:16px}
.home-subs{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 4px}
.home-subs button{flex:1 1 150px;min-height:48px;margin:0}
#home-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:55;display:flex;background:rgba(255,255,255,.98);border-top:1px solid var(--ani-line);box-shadow:0 -2px 10px rgba(20,40,35,.08);padding:5px 4px calc(5px + env(safe-area-inset-bottom))}
#home-tabbar.home-tabbar-off{display:none}
#home-tabbar .home-tab{flex:1;min-width:0;background:transparent;border:none;color:var(--ani-ink-soft);font-size:14px;white-space:nowrap;min-height:54px;margin:0;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:10px;position:relative}
#home-tabbar .home-tab-ic{font-size:24px;line-height:1.1;display:flex;align-items:center;justify-content:center}
.home-tab-dot{position:absolute;top:4px;right:calc(50% - 21px);width:11px;height:11px;border-radius:50%;background:#d43a2a;border:2px solid #fff}

/* ==== r107 form design (2026-11-17, team consultation + operator-approved mock) ====
   Kind colours are used in exactly three places: the kind band, the
   progress fill, and the selected choice card. Everything else stays
   cream / white / dark green so the kind red can never be mistaken
   for an error. */
#sagaso{background:#FFF8EC}
#mf-progress{flex-wrap:wrap}
#mf-kindband{flex:1 1 100%;border-radius:10px;padding:9px 14px;font-size:16px;font-weight:800}
#sagaso[data-kind="lost"] #mf-kindband{background:#FBE6E3;color:#D9574A}
#sagaso[data-kind="sighted"] #mf-kindband{background:#FDF0D9;color:#5A3A1E}
#sagaso[data-kind="protected"] #mf-kindband{background:#E2EDF7;color:#3F7DB5}
#sagaso[data-kind="lost"] #mf-fill{background:#D9574A}
#sagaso[data-kind="sighted"] #mf-fill{background:#F2A93B}
#sagaso[data-kind="protected"] #mf-fill{background:#3F7DB5}
.mf-bar{height:8px}
#mf-name{font-size:21px;color:#24584c}
#mf-count{font-size:13px;color:#52645c;font-weight:600}
.mf-help{display:block;font-size:14px;color:#52645c;line-height:1.7;margin:6px 0}
#case-form input:not([type=radio]):not([type=checkbox]),#case-form select,#case-form textarea{border:2px solid #9fb4a2;background:#fff}
#time-mode{display:grid;gap:8px;margin:12px 0}
#time-mode>p:first-of-type{font-size:19px;font-weight:800;color:#24584c;margin:2px 0;line-height:1.5}
#time-mode label{position:relative;display:flex;align-items:center;gap:12px;background:#fff;border:2px solid #cfd8cc;border-radius:12px;padding:14px 16px;min-height:64px;font-size:17px;font-weight:700;margin:0;cursor:pointer}
#time-mode input[type=radio]{appearance:none;-webkit-appearance:none;order:2;margin:0 0 0 auto;width:24px;height:24px;flex:none;border:2px solid #9db3a4;border-radius:50%;background:#fff;padding:0}
#sagaso[data-kind="lost"] #time-mode input[type=radio]:checked{background:#D9574A;border-color:#D9574A}
#sagaso[data-kind="sighted"] #time-mode input[type=radio]:checked{background:#F2A93B;border-color:#F2A93B}
#sagaso[data-kind="protected"] #time-mode input[type=radio]:checked{background:#3F7DB5;border-color:#3F7DB5}
#time-mode label.mf-selected{border-width:3px}
#sagaso[data-kind="lost"] #time-mode label.mf-selected{background:#FBE6E3;border-color:#D9574A}
#sagaso[data-kind="sighted"] #time-mode label.mf-selected{background:#FDF0D9;border-color:#F2A93B}
#sagaso[data-kind="protected"] #time-mode label.mf-selected{background:#E2EDF7;border-color:#3F7DB5}
#time-mode label.mf-selected::after{content:"✓";position:absolute;right:22px;top:50%;transform:translateY(-50%);color:#fff;font-weight:900;font-size:15px;pointer-events:none}
#sagaso[data-kind="sighted"] #time-mode label.mf-selected::after{color:#5A3A1E}
#occurred-field{background:#fff;border:2px solid #cfd8cc;border-radius:12px;padding:12px 16px}
.field-alert::before{content:"⚠ "}

/* ==== browse switch + push band (2026-11-17, approved proposal) ==== */
#browse-switch{display:flex;gap:8px;margin:14px 0 10px}
#browse-switch button{flex:1;padding:12px;border-radius:10px;border:2px solid #24584c;background:#fff;color:#24584c;font-weight:800;font-size:16px;cursor:pointer}
#browse-switch button.browse-on{background:#24584c;color:#fff}
#push-panel{border:2px solid #24584c;border-radius:12px;background:#fff;padding:12px 14px;margin:14px 0}
#push-status{font-weight:800;font-size:17px;margin:0 0 4px;color:#24584c}
#push-line{margin:0 0 8px;font-size:14px;line-height:1.6}
.push-btns{margin:0;display:flex;gap:8px;flex-wrap:wrap}
#push-details{margin-top:8px}
#push-details summary{font-weight:700;color:#24584c;cursor:pointer}
#push-details p{font-size:14px;line-height:1.7}

/* ==== howto close button (2026-11-17) ==== */
#howto-close{padding:12px 28px;border-radius:10px;border:2px solid #24584c;background:#fff;color:#24584c;font-weight:800;font-size:16px;cursor:pointer}

/* r111: first-screen news band + your-registrations card tidy-up */
#entry-news{background:#fdf6e3;border:2px solid #c9a93c;color:#173c36}
.entry-news{display:block;width:100%;box-sizing:border-box;text-align:left;border-radius:12px;padding:12px 14px;font-size:16px;font-weight:700;margin:0 0 10px;cursor:pointer}
.entry-news[hidden]{display:none}
#entry.has-news .home-hero-band{aspect-ratio:12/4}
.mine-btns{flex-direction:column;align-items:stretch}
.mine-btns button.mine-btn-main{background:#256b45;border-color:#256b45;color:#fff;font-weight:700}
.mine-main-tap{cursor:pointer}
.mine-resolve-sep{border-top:2px dotted #d9e1d3;margin-top:12px;padding-top:10px}
.mine-resolve-btn{width:100%;min-height:48px;background:#fff}
.mine-confirm{border:2px solid #c9a93c;background:#fdf6e3;border-radius:10px;padding:12px;margin-top:10px}
.mine-confirm p{margin:6px 0}
.mine-confirm button{width:100%;margin-top:8px;min-height:48px}
.mine-confirm button.mine-confirm-yes{background:#256b45;border-color:#256b45;color:#fff;font-weight:700}
.mine-resolved{margin-top:14px}
.mine-resolved-toggle{width:100%;text-align:left;background:#f4f1e6;border:1px solid #d9e1d3;border-radius:10px;padding:12px 14px;font-size:16px;font-weight:700;min-height:48px}
.mine-resolved-card{padding:12px}
.mine-resolved-card .mine-photo{width:64px;height:64px}
.mine-resolved-card .mine-nophoto{width:64px;height:64px;min-height:0}
.mine-back-btn{width:100%;margin-top:10px;min-height:48px}
.mine-nophoto svg{display:block}

/* r112: the one remaining nearby button is big and easy to tap */
#browse-nearby-btn{display:block;width:100%;min-height:52px;font-size:1.05em;font-weight:700;margin:6px 0}

/* r113: 地図まわり整理（ボタン・並び・色） */
.map-wrap{position:relative;width:min(100%,530px);margin:0 auto}
.map-overlay{position:absolute;right:8px;bottom:8px;display:flex;flex-direction:column;gap:6px;z-index:5}
.map-overlay button{background:#fff;border:1px solid #b9c8b2;border-radius:999px;min-width:44px;height:44px;padding:0 10px;font-size:18px;font-weight:700;color:#173c36;box-shadow:0 1px 4px rgba(0,0,0,.25);cursor:pointer}
.map-overlay #map-recenter{font-size:13px}
.map-panel button.map-gps-btn{display:block;width:100%;margin:6px 0 10px;padding:14px;font-size:17px;font-weight:800;background:#173c36;color:#fff;border:none;border-radius:10px;cursor:pointer}
.map-overlay{align-items:flex-end}
.map-overlay #map-in,.map-overlay #map-out{width:44px;padding:0}
#map-legend{font-size:13px;margin:6px 0}
#map-pick-ok{padding:14px 18px;font-size:16px}
.map-more{margin-top:10px;border-top:1px solid #d9e1d3;padding-top:8px}
.map-more summary{cursor:pointer;font-weight:700;padding:8px 0}
.map-more>label{display:block;margin:8px 0}

/* --- r115: その子のこと step (duplicated selects aside, details fold, colour dots) --- */
.mf-select-hidden{display:none!important}
.ft-more-toggle{display:block;width:100%;margin:16px 0 4px;padding:12px;font-size:16px;font-weight:700;border:2px solid #24584c;border-radius:12px;background:#fff;color:#24584c;min-height:48px}
.ft-detail{border-top:1px dashed #c9d4c2;margin-top:8px;padding-top:4px}
.ft-dot{display:inline-block;width:14px;height:14px;border-radius:50%;border:1px solid #8a978c;margin-right:6px;vertical-align:-2px;background:#ccc}
.ft-dot[data-color="黒"]{background:#333}
.ft-dot[data-color="白"]{background:#fff}
.ft-dot[data-color="茶"]{background:#a9743f}
.ft-dot[data-color="クリーム"]{background:#e8d9b0}
.ft-dot[data-color="グレー"]{background:#9a9a9a}
.ft-dot[data-color="灰"]{background:#9a9a9a}
.ft-dot[data-color="赤茶"]{background:#b0562f}
.ft-dot[data-color="緑"]{background:#4caf50}
.ft-dot[data-color="青"]{background:#4a7fc1}
.ft-dot[data-color="黄"]{background:#f2c230}
.ft-dot[data-color="オレンジ"]{background:#ef8f2c}

/* r116 final-step tidy: one register button (the fixed nav), checkbox
   rows with the box left of its words, a frame on the consent row
   while its alert is up, summary photo thumbnails, privacy details. */
.mf-submit-off{display:none!important}
.mf-check-row{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;text-align:left}
.mf-check-row input[type="checkbox"]{width:26px;height:26px;flex:0 0 auto;margin-top:1px;accent-color:#24584c}
.mf-consent-alert{outline:3px solid #c0271a;outline-offset:2px;background:#fdf0ee;border-radius:10px}
.mf-sum-photos img{width:64px;height:64px;object-fit:cover;border-radius:8px;margin-right:6px}
.mf-photo-add{margin:8px 0 4px;padding:10px 18px;font-size:1rem;border-radius:10px;border:2px solid #24584c;background:#fff;color:#24584c;font-weight:700}
#privacy-details{margin:8px 0}
#privacy-details summary{cursor:pointer;color:#24584c;font-weight:700;padding:6px 0}

/* Room interior rebuild (r118, consultation 2026-11-18): title card,
   headed sections, split post header/body, folded management. */
.room-head{display:flex;gap:12px;align-items:flex-start;margin:4px 0 8px}
.room-head .room-photo.room-head-photo{width:72px;height:72px;object-fit:cover;border-radius:50%;margin:0;flex:none}
.room-head-nophoto{width:72px;height:72px;border-radius:50%;background:#e4eae6;color:#5a6b62;display:flex;align-items:center;justify-content:center;font-size:13px;flex:none}
.room-head-texts h4{margin:2px 0 4px}
.room-head-texts p{margin:2px 0;color:#3c4a43}
.room-badge{display:inline-block;padding:2px 12px;border-radius:999px;font-weight:700;font-size:.9em;margin-top:4px}
.room-badge-open{background:#d9574a;color:#fff}
.room-badge-found{background:#2e7d4f;color:#fff}
.room-badge-ended{background:#9aa5a0;color:#fff}
.room-closed-band{background:#eef1ee;border:1px solid #b9cdc6;border-radius:8px;padding:8px 10px;font-weight:700;margin:4px 0 8px}
.room-card h5.room-sec{border-left:5px solid #24584c;padding-left:8px;margin:18px 0 6px}
.room-info-fold{margin:8px 0}
.room-info-fold summary{font-weight:700;color:#24584c;cursor:pointer;padding:8px 0;min-height:32px}
.room-people{margin:4px 0}
.room-post-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.room-post-name{font-weight:700}
.room-post-time{color:#6b7a72;font-size:.88em;white-space:nowrap}
.room-post-body{margin-top:4px;white-space:pre-wrap;word-break:break-word}
.room-date-divider{text-align:center;color:#6b7a72;font-size:.9em}
.room-card button.room-more-btn{align-self:center;margin:0 auto}
.room-card button.room-report-link{background:none;border:none;color:#66766e;text-decoration:underline;box-shadow:none;min-height:36px;align-self:flex-end;margin:0}
.room-card .room-sighting-jump{display:block;width:100%;background:#f2a93b;color:#3d2a00;font-weight:700;border:none;border-radius:10px;min-height:52px}
.room-card button.room-post-btn{display:block;width:100%;background:#24584c;color:#fff;font-weight:700;min-height:56px;border:none;border-radius:10px;margin:6px 0 4px}
.room-card button.room-outline-green{background:#fff;border:2px solid #24584c;color:#24584c;font-weight:700;border-radius:10px}
.room-card button.room-outline-gray{background:#fff;border:2px solid #9aa5a0;color:#3c4a43;font-weight:700;border-radius:10px}
.room-card button.room-danger-outline{display:block;width:100%;background:#fff;border:2px solid #c0453a;color:#c0453a;font-weight:700;border-radius:10px}
.room-card button.room-found-btn{display:block;width:100%;background:#2e7d4f;color:#fff;font-weight:700;border:none;border-radius:10px}
.room-card button.room-approve-btn{display:block;width:100%;background:#24584c;color:#fff;font-weight:700;border:none;border-radius:10px}
.room-request{border:1px solid #e0b64f;background:#fffdf4;border-radius:10px;padding:10px 12px;margin:8px 0}
.room-request button{width:100%;margin:4px 0}
.room-admin-head{font-weight:700;margin:12px 0 4px;color:#24584c}
.room-divider{border:none;border-top:1px solid #cfd8d2;margin:14px 0}
.room-card button.room-admin-toggle{width:100%;margin-top:14px}
.room-card button.room-sighting-big{display:block;width:100%;background:#f2a93b;color:#3d2a00;font-weight:700;border:none;border-radius:10px;min-height:52px}

/* r119 whole-app review: draft card, home child card, room folds,
   chip check marks, grey unanswered marks */
.mf-chips button.selected::after{content:' ✓'}
.mf-chips button.mf-chip-unknown{border-style:dashed}
.mf-sum-empty{color:#8a8a8a}
.sec-lead{color:#5a6a60;font-size:14px;margin:2px 0 8px}
#mf-draft-slot:empty{display:none}
.mf-draft-card{background:#fff8e6;border:2px solid #e3b93c;border-radius:12px;padding:12px;margin:10px 0}
.mf-draft-text{font-weight:700;margin:0 0 8px}
.mf-draft-btns{display:flex;gap:8px;flex-wrap:wrap}
.mf-draft-resume{flex:1;background:#24584c;color:#fff;border:2px solid #24584c;border-radius:10px;padding:12px;font-size:16px;font-weight:700;min-height:48px}
.mf-draft-clear{background:#fff;color:#555;border:2px solid #b9c6bb;border-radius:10px;padding:12px;font-size:15px;min-height:48px}
#home-child:empty{display:none}
.home-child-card{display:flex;align-items:center;gap:10px;background:#fdf3f2;border:2px solid #d9574a;border-radius:12px;padding:10px 12px;margin:10px 0}
.home-child-photo{width:56px;height:56px;object-fit:cover;border-radius:10px;flex:none}
.home-child-texts{flex:1;min-width:0}
.home-child-texts strong{font-size:17px}
.home-child-texts p{margin:2px 0 0;color:#7a3a32;font-size:14px}
.home-child-btn{background:#d9574a;color:#fff;border:2px solid #d9574a;border-radius:10px;padding:12px 10px;font-size:15px;font-weight:700;min-height:48px;flex:none}
.room-offers-fold,.room-join-fold{margin:14px 0}
.room-offers-fold>summary,.room-join-fold>summary{font-weight:700;font-size:16px;padding:12px;border:2px solid #b9c6bb;border-radius:10px;background:#f4f8f3;cursor:pointer;min-height:48px}
.room-join-fold .room-join h4{display:none}
.room-join-fold .room-join{margin-top:10px}
.notices-empty{color:#5a6a60}
