:root{font:16px/1.7 system-ui,sans-serif;color:#203b32;background:#f4f6f2}*{box-sizing:border-box}body{margin:0}header,footer{padding:1rem max(1rem,calc((100% - 920px)/2));background:white}footer{margin-top:2rem;font-size:.85rem}main{max-width:920px;padding:1.25rem;margin:auto}h1{font-size:1.7rem}h2{font-size:1.2rem}article,form,.panel{background:white;border:1px solid #cbd5c9;border-radius:12px;padding:1.2rem;margin:1rem 0;overflow-wrap:anywhere}label{display:block;margin:1rem 0}input:not([type=checkbox]),textarea,select{width:100%;padding:.75rem;border:1px solid #87998c;border-radius:6px;font:inherit}input[type=checkbox]{width:1.25rem;height:1.25rem;vertical-align:middle;margin-right:.6rem}button,.button{font:inherit;padding:.8rem 1rem;min-height:44px;max-width:100%;border:1px solid #245543;border-radius:7px;background:#245543;color:white;cursor:pointer;margin:.3rem .3rem .3rem 0;white-space:normal;display:inline-block}button:disabled{opacity:.5;cursor:wait}a{color:#245543}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d18f20;outline-offset:3px}.muted{font-size:.9rem;color:#4d6056}details{margin:.6rem 0}summary{cursor:pointer;padding:.5rem}dl{margin:0}dt{font-weight:600}dd{margin:0 0 1rem;white-space:pre-wrap;overflow-wrap:anywhere}.error{color:#9a2929}pre{white-space:pre-wrap;font-size:.85rem;overflow-wrap:anywhere}ol{padding-left:1.4rem}@media(max-width:480px){main{padding:1rem}article,form,.panel{padding:.9rem}h1{font-size:1.45rem}}
.facility-tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0 1rem;border-bottom:2px solid #245543;padding-bottom:.4rem}.facility-tabs button{background:#fff;color:#245543;border:1px solid #245543;border-radius:.4rem .4rem 0 0;padding:.45rem .8rem;max-width:100%;overflow-wrap:anywhere}.facility-tabs button[aria-selected=true]{background:#245543;color:#fff}.copy-from{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:0 0 1rem;padding:.6rem;background:#f1f6f3;border-radius:.4rem}.copy-from p{flex-basis:100%;margin:0 0 .3rem}.copy-from button.secondary{background:#fff;color:#245543;border:1px solid #245543}
.add-building{margin:0 0 1rem;padding:1rem;border:2px solid #245543;border-radius:.5rem;background:#f1f6f3}.add-building h2{margin:0 0 .4rem;font-size:1.1rem}.add-building p{margin:.2rem 0 .6rem}.add-building .add-button{font-weight:600}.facility-tabs[hidden]{display:none}button.secondary{background:#fff;color:#9a2929;border:1px solid #9a2929}
.flow-steps{counter-reset:step;list-style:none;padding:0;margin:.8rem 0 1.2rem;display:grid;gap:.4rem}.flow-steps li{counter-increment:step;padding:.55rem .8rem;border-radius:.5rem;background:#f1f6f3;color:#4d6056}.flow-steps li::before{content:counter(step) '. ';font-weight:700}.flow-steps li.current{background:#245543;color:#fff;font-weight:600}.flow-steps li.done{text-decoration:line-through;opacity:.7}
.feedback-box{margin-top:2rem;background:#f3f7f2;border-color:#245543}.feedback-box p{margin:.4rem 0 .8rem}.feedback-box a.button{text-decoration:none}
.field-label{display:block;font-weight:600}.field-tag{display:inline-block;margin-left:.5rem;padding:0 .45rem;border-radius:.3rem;font-size:.75rem;font-weight:600;background:#e4e9e3;color:#4d6056;vertical-align:.1em}.field-tag.required{background:#9a2929;color:#fff}.field-help{display:block;margin:.15rem 0 .4rem;font-size:.88rem;color:#4d6056;line-height:1.6}.field-intro{margin:.4rem 0 .8rem;padding:.6rem .8rem;border-left:4px solid #245543;background:#f1f6f3;font-size:.92rem}textarea::placeholder,input::placeholder{color:#8a978f}
.field-group{margin:1.4rem 0 .4rem;padding-top:.6rem;border-top:2px solid #cbd5c9}.field-group:first-of-type{border-top:0}.field-group-title{margin:.2rem 0 .2rem;font-size:1.05rem;color:#245543}input[type=time]{max-width:12rem}input[type=number]{max-width:12rem}
.photo-editor{margin:1.4rem 0 .4rem;padding-top:.6rem;border-top:2px solid #cbd5c9}.photo-rights{display:flex;gap:.4rem;align-items:flex-start;margin:.6rem 0}.photo-list{list-style:none;padding:0;margin:.8rem 0;display:grid;gap:.8rem}.photo-item{display:grid;grid-template-columns:160px 1fr;gap:.8rem;padding:.6rem;border:1px solid #cbd5c9;border-radius:8px;background:#fafcf9}.photo-item img{width:160px;height:120px;object-fit:cover;border-radius:6px;background:#e4e9e3}.photo-meta label{margin:.4rem 0}.photo-buttons{display:flex;flex-wrap:wrap;gap:.3rem}button.secondary-plain{background:#fff;color:#245543;border:1px solid #245543}.photo-thumbs{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}.photo-thumbs figure{margin:0;width:120px;font-size:.75rem;color:#4d6056}.photo-thumbs img{width:120px;height:90px;object-fit:cover;border-radius:4px}@media(max-width:520px){.photo-item{grid-template-columns:1fr}.photo-item img{width:100%;height:auto;aspect-ratio:4/3}}
.area-switch{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:.2rem 0 1rem;padding:.4rem;border:1px solid #cbd5c9;border-radius:10px;background:#fff}.area-switch .current{padding:.55rem .9rem;border-radius:7px;background:#245543;color:#fff;font-weight:600}.area-switch button{margin:0;background:#fff;color:#245543;border:1px solid #245543}.area-switch small{flex-basis:100%;padding-left:.3rem}
.calendar-feed{border:1px solid #cbd5c9;border-radius:8px;padding:.6rem;margin:.5rem 0;background:#fafcf9}.calendar-feed.error{border-color:#9a2929;background:#fdf6f6}.calendar-result{white-space:pre-line;margin:.3rem 0;font-size:.92rem}.calendar-review pre{background:#f3f7f2;border-radius:6px;padding:.5rem}
.status-chips{display:flex;flex-wrap:wrap;gap:.35rem;margin:.6rem 0}.chip{background:#fff;color:#245543;border:1px solid #245543;border-radius:999px;padding:.35rem .8rem;min-height:36px;margin:0}.chip.current{background:#245543;color:#fff}.progress-filters{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;padding:.6rem}.progress-filters input,.progress-filters select{width:auto;flex:1 1 10rem}.progress-filters button{margin:0}.progress-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding:.55rem .3rem;border-bottom:1px solid #e1e7df}.progress-main{display:flex;flex-direction:column;min-width:0;flex:1 1 16rem}.progress-main span,.progress-main small{overflow-wrap:anywhere}.progress-action{flex:0 1 auto}.progress-action button{margin:0}.invite-made{max-width:32rem}.invite-made input[type=text]{font-size:.8rem}.pager{display:flex;gap:.4rem;margin:.6rem 0}

/* 2026-11-15（見直し B-9・B-5・B-11）：客室タイプの一覧、掲載イメージのボタン、自動保存のお知らせ */
.building-list{margin:16px 0;overflow-x:auto}
.building-list table{border-collapse:collapse;width:100%;min-width:520px}
.building-list th,.building-list td{border-bottom:1px solid #dce3db;padding:6px 8px;text-align:left;font-size:14px;vertical-align:middle}
.building-list input{width:5.5em;min-height:36px}
.look-button{margin:4px 0 12px}
.autosave-note{font-size:13px}
/* 2026-11-15（見直し C-7）：お問い合わせの絞り込みと対応の印 */
.contact-filters{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.contact-item.handled{opacity:.72}
.contact-actions{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 14px}

/* 2026-11-15（見直し D-9）：こだわり条件の欄（release-common-20261103/condition-editor.mjs）の見た目。以前はページの中に書いていたが、この画面の読み込み制限で効いていなかった。 */
.cond-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.15rem 1rem;margin:.25rem 0 1rem}
.cond-item{border:0;margin:0;padding:.2rem 0}
.cond-item>label.cond-check{display:flex;gap:.5rem;align-items:flex-start;cursor:pointer;line-height:1.4}
.cond-item>label.cond-check input{margin-top:.2rem;flex:none;width:1.1rem;height:1.1rem}
.cond-item .cond-fields{margin:.25rem 0 .5rem 1.6rem}
.cond-group-title{font-size:.95rem;margin:.75rem 0 .1rem;color:#475569}

/* 2026-11-15（見直し D-5）：判定の記録・施設台帳から取り込む */
.screen-form{margin-top:.3rem}.screen-form form{display:flex;flex-wrap:wrap;gap:.3rem;align-items:center}.screen-form input{min-width:10rem;flex:1}
.ledger-import textarea{width:100%;box-sizing:border-box;font-family:inherit}.ledger-preview{margin-top:.5rem}.ledger-row{display:block;padding:.2rem 0;border-bottom:1px solid #e6e2da}
/* 2026-11-15：ボタンの display 指定が hidden を上書きしていたので、取り込み欄の「原稿を作る」を下見の前は隠す */
.ledger-import button[hidden]{display:none}
/* 2026-11-15：同じ理由で、施設のカレンダー欄の「別の予約サイトの分も足す」を、入力欄が上限の3つになったら隠す */
.calendar-editor button[hidden]{display:none}
/* 2026-11-16：写真の欄（タイルの格子・ドラッグで並べ替え・フォルダから落として追加） */
.photo-drop{border:2px dashed #87998c;border-radius:12px;padding:.8rem 1rem;margin:.6rem 0;background:#fafcf9;text-align:center}.photo-drop p{margin:.2rem 0 .5rem;font-size:.92rem;color:#4d6056}.photo-drop.is-over{border-color:#245543;background:#e9f2ec}
.photo-progress{list-style:none;padding:0;margin:.4rem 0;font-size:.85rem}.photo-progress li{padding:.15rem 0;color:#4d6056}.photo-progress li.ok{color:#245543}.photo-progress li.error{color:#9a2929}
.photo-grid{list-style:none;padding:0;margin:.8rem 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}
.photo-tile{position:relative;border-radius:10px;overflow:hidden;background:#e4e9e3;aspect-ratio:4/3;user-select:none;-webkit-user-select:none;cursor:grab;outline-offset:2px}
.photo-tile.is-cover{grid-column:span 2;grid-row:span 2}
.photo-tile img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.photo-badge{position:absolute;top:.4rem;right:.4rem;background:rgba(255,255,255,.92);color:#203b32;border-radius:999px;padding:.05rem .55rem;font-size:.8rem;font-weight:600}
.photo-tile.is-cover .photo-badge{background:#245543;color:#fff}
.photo-handle{position:absolute;top:.3rem;left:.3rem;width:2.4rem;height:2.4rem;border-radius:8px;background:rgba(255,255,255,.88);touch-action:none;cursor:grab}
.photo-handle::before{content:"";position:absolute;inset:.7rem .8rem;background:radial-gradient(circle,#4d6056 1.5px,transparent 2px) 0 0/6px 6px}
.photo-caption{position:absolute;left:0;right:2.8rem;bottom:0;padding:.3rem .5rem;font-size:.78rem;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.6));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.photo-caption.needs-alt::after{content:"";display:inline-block;width:.5rem;height:.5rem;margin-left:.3rem;border-radius:50%;background:#f0b44c;vertical-align:middle}
.photo-tile .photo-menu{position:absolute;right:.35rem;bottom:.35rem;margin:0;min-height:0;width:2.4rem;height:2.4rem;padding:0;border-radius:50%;border:0;background:rgba(255,255,255,.95);color:#203b32;font-size:1.2rem;line-height:1;font-weight:700}
.photo-keys{position:absolute;left:.3rem;bottom:2.4rem;display:flex;gap:.25rem}
.photo-keys button{margin:0;min-height:0;padding:.3rem .5rem;font-size:.8rem;background:#fff;color:#245543;border:1px solid #245543}
.photo-keys button:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.photo-grid.is-dragging .photo-tile{cursor:grabbing}
.photo-tile.dragging{opacity:.35}
.photo-tile.drop-before{box-shadow:inset 5px 0 0 #d18f20}.photo-tile.drop-after{box-shadow:inset -5px 0 0 #d18f20}
.photo-ghost{position:fixed;z-index:1000;width:100px;height:76px;object-fit:cover;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.3);pointer-events:none;opacity:.9}
.photo-dialog{max-width:min(30rem,calc(100vw - 2rem));width:100%;border:1px solid #cbd5c9;border-radius:12px;padding:1rem}.photo-dialog::backdrop{background:rgba(0,0,0,.45)}
.photo-dialog-head{display:flex;gap:.8rem;align-items:center}.photo-dialog-head img{width:120px;height:90px;object-fit:cover;border-radius:8px}
.photo-dialog label{margin:.6rem 0}.photo-dialog-actions{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.6rem}
@media(max-width:760px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.photo-tile.is-cover{grid-column:span 2;grid-row:auto}}
/* 2026-11-16：「変更を保存する」の帯（画面の下に固定。結果はボタンのすぐ横・下に出す） */
.save-bar{position:sticky;bottom:0;z-index:20;margin:1rem 0 0;padding:.6rem .8rem;background:#fff;border:1px solid #cbd5c9;border-radius:10px;box-shadow:0 -4px 14px rgba(0,0,0,.08);display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .8rem}
.save-bar button{margin:0}.save-bar button:disabled{cursor:progress}
.save-msg{margin:0;flex:1 1 14rem;font-weight:600;font-size:.95rem}.save-msg:empty{display:none}
.save-msg.ok{color:#245543}.save-msg.ok::before{content:"✓ "}.save-msg.error{color:#9a2929}.save-msg.warn{color:#8a5a00}
.save-last{margin:0;flex-basis:100%;font-size:.82rem;color:#4d6056}.save-last:empty{display:none}
/* 2026-11-16：保存していない入力が残っているときの「戻しますか」 */
.restore-box{background:#fff8e6;border:2px solid #d18f20;border-radius:12px;padding:1rem 1.2rem;margin:1rem 0}.restore-box h2{margin-top:0}
/* 2026-11-16（本人の決定）：表紙は左上の「表紙」チェック（1枚だけ）。表紙の写真は大きくせず緑の枠。持ち手は右上、番号は左下。分類のまとまりへ動いた写真は少し光らせる */
.photo-grid .photo-tile.is-cover{grid-column:auto;grid-row:auto;outline:3px solid #245543}
.photo-cover{position:absolute;top:.35rem;left:.35rem;display:flex;align-items:center;gap:.3rem;margin:0;padding:.2rem .6rem .2rem .4rem;border-radius:999px;background:rgba(255,255,255,.94);color:#203b32;font-size:.82rem;font-weight:600;cursor:pointer;z-index:2}
.photo-cover input{width:1.05rem;height:1.05rem;margin:0;accent-color:#245543}
.photo-tile.is-cover .photo-cover{background:#245543;color:#fff}
.photo-tile .photo-handle{left:auto;right:.3rem}
.photo-tile .photo-badge{top:auto;right:auto;left:.4rem;bottom:.4rem;background:rgba(255,255,255,.92);color:#203b32}
.photo-tile.is-cover .photo-badge{background:rgba(255,255,255,.92);color:#203b32}
.photo-tile .photo-caption{left:2.2rem}
.photo-sort{margin:.2rem 0 .4rem}
@keyframes photo-flash{from{box-shadow:0 0 0 5px #d18f20}to{box-shadow:0 0 0 0 rgba(209,143,32,0)}}
.photo-tile.just-moved{animation:photo-flash 1.2s ease-out}
@media(max-width:520px){.photo-grid .photo-tile.is-cover{grid-column:auto}}
/* 2026-11-16：宿の種類は1つ選ぶ */
.cond-choice{display:flex;flex-direction:column;gap:6px;font-weight:650}
.cond-choice select{max-width:280px;min-height:40px}
.cond-hint{margin:4px 0 0 28px;font-size:13px;color:#52665b}
/* 2026-11-16（本人の要望）：写真を選んでまとめて操作。選ぶチェックは左上、番号はその右、表紙は左下（説明の上） */
.photo-tile .photo-select{position:absolute;top:.3rem;left:.3rem;width:2.2rem;height:2.2rem;display:flex;align-items:center;justify-content:center;margin:0;border-radius:8px;background:rgba(255,255,255,.94);cursor:pointer;z-index:2}
.photo-tile .photo-select input{width:1.25rem;height:1.25rem;margin:0;accent-color:#245543;cursor:pointer}
.photo-tile .photo-badge{top:.55rem;bottom:auto;left:2.8rem;right:auto}
.photo-tile .photo-cover{top:auto;bottom:1.9rem;left:.35rem}
.photo-tile.is-picked{outline:3px solid #d18f20;outline-offset:-3px}
.photo-tile.is-picked.is-cover{outline-color:#d18f20}
.photo-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:.6rem 0;padding:.5rem .6rem;border:1px solid #dce3db;border-radius:10px;background:#f7f9f5}
.photo-bulk button,.photo-bulk select{min-height:2.2rem;margin:0}
.photo-bulk-count{font-size:.85rem;font-weight:600;color:#245543;margin:0 .3rem}
.photo-bulk[hidden]{display:none}
/* 2026-11-16（本人の要望）：間取り図の欄（「人数・部屋・寝具」の中） */
.plan-editor{margin:1rem 0 .5rem;padding:.8rem;border:1px dashed #c8d3c6;border-radius:10px;background:#fafbf8}
.plan-list{list-style:none;padding:0;margin:.6rem 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem}
.plan-item{display:flex;flex-direction:column;gap:.35rem;align-items:flex-start}
.plan-item img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;border:1px solid #dce3db;border-radius:8px}
.plan-item button{min-height:2rem;margin:0}
.plan-no{font-size:.8rem;color:#52665b}
/* 2026-11-16（本人の指示）：こだわり条件はページのいちばん下に、初めから全部見える形。文字とチェックを大きく（スマホでも押しやすく） */
.cond-section{margin-top:2rem;padding-top:1rem;border-top:2px solid #245543}
.cond-section .cond-group-title{font-size:1.05rem;margin:1.2rem 0 .4rem}
.cond-section .cond-item>label.cond-check{display:flex;align-items:center;gap:.6rem;min-height:2.8rem;margin:0;font-size:1.05rem;line-height:1.4;cursor:pointer}
.cond-section .cond-item>label.cond-check input{width:1.45rem;height:1.45rem;margin:0;accent-color:#245543;flex:0 0 auto}
.cond-section .cond-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.2rem 1rem}
/* 2026-11-16（本人の決定）：料金の入力（標準の料金と料金区分） */
.price-editor{margin:.6rem 0 1.2rem;padding:.9rem;border:1px solid #dce3db;border-radius:12px;background:#fafbf8}
.price-sub{margin:.6rem 0 .3rem;font-weight:600;color:#245543}
.price-standard{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.5rem 1rem}
.price-field{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.2rem .4rem;margin:0}
.price-field .price-label{grid-column:1/-1;font-size:.88rem}
.price-field input{width:100%;min-height:2.4rem}
.price-unit{font-size:.85rem;color:#52665b}
.price-fee-per{display:flex;gap:1.2rem;margin:.4rem 0}
.price-fee-per label{display:flex;align-items:center;gap:.35rem;margin:0}
.price-tier{margin:.8rem 0;padding:.8rem;border:1px solid #c8d3c6;border-radius:10px;background:#fff}
.price-tier-head{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.price-tier-head input{flex:1 1 12rem;min-height:2.4rem}
.price-days{display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.2rem 1rem;margin:.4rem 0 .6rem}
.price-day{display:flex;align-items:center;gap:.5rem;min-height:2.4rem;margin:0;cursor:pointer}
.price-day input{width:1.3rem;height:1.3rem;margin:0;accent-color:#245543}
.price-day input:disabled+*{opacity:.5}
.price-add{display:flex;align-items:center;gap:.8rem}
.price-preview{margin:.8rem 0 0;font-weight:600}
.price-preview.warn{color:#9a5b00}
.price-editor .price-fee-per label{display:inline-flex;flex-direction:row;align-items:center;gap:.35rem;white-space:nowrap;margin:0;font-size:.95rem}
.price-editor .price-fee-per input{width:auto;min-height:0;margin:0}
.price-editor .price-day{flex-direction:row}
.price-editor .price-day input{width:1.3rem;min-height:0}
/* 2026-11-16（本人の指示）：空室の手動の調整 */
.manual-cal-nav{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:.6rem 0}
.manual-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.3rem;max-width:36rem}
.manual-cal-week{text-align:center;font-size:.8rem;color:#52665b}
.manual-cal-day{display:flex;flex-direction:column;align-items:center;gap:.05rem;min-height:3.4rem;margin:0;padding:.25rem 0;border:1px solid #dce3db;border-radius:8px;background:#fff;color:#203b32;cursor:pointer}
.manual-cal-day span{font-size:.75rem}.manual-cal-day b{font-size:1.05rem;line-height:1.1}.manual-cal-day small{font-size:.65rem;color:#52665b}
.manual-cal-day.is-closed{background:#f6e6e3;border-color:#d7aba3}
.manual-cal-day.is-open{background:#e8f2ea;border-color:#9fc2a9}
.manual-cal-day:disabled{opacity:.4;cursor:default}

/* 2026-11-16（本人の指示）：写真の権利の確認は点線の枠の中、「写真を追加する」のすぐ下。注意は赤 */
.photo-drop .photo-rights{justify-content:center;text-align:left;max-width:40rem;margin:.7rem auto 0;font-size:.95rem}.photo-drop .photo-rights input{margin-top:.25rem;flex:none}
.photo-drop .photo-rights-warn{margin:.35rem auto 0;color:#b42318;font-weight:700;font-size:.95rem}.photo-drop .photo-rights-warn:empty{display:none}
.photo-progress li.photo-progress-line{font-size:.95rem;font-weight:700}
/* 2026-11-16（本人の指示）：まとめて案内を送る */
.outreach-batch{margin:1rem 0;padding:.6rem .9rem;border:1px solid #cbd5c9;border-radius:12px;background:#fff}.outreach-batch>summary{font-weight:700;cursor:pointer}
.batch-rows{max-height:28rem;overflow:auto;margin:.5rem 0;padding-left:2.2rem;border:1px solid #e3e8e1;border-radius:8px}.batch-row{padding:.3rem 0;border-bottom:1px solid #eef1ec;display:flex;flex-wrap:wrap;gap:.3rem .8rem;align-items:baseline}
.batch-row label{display:flex;gap:.4rem;align-items:baseline;flex:1 1 20rem}.batch-email{font-family:ui-monospace,monospace;font-size:.9rem}
.batch-foot{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;margin:.6rem 0}.batch-confirm{display:flex;gap:.4rem;align-items:flex-start;flex:1 1 100%}
.batch-progress{font-weight:700}.batch-results li.error{color:#9a2929;margin:.2rem 0}.batch-results input{width:100%;max-width:40rem}

/* 2026-11-16（本人の指示）：下の固定の枠に4つのボタン。スマホでは短い文字で2行 */
.save-buttons{display:flex;flex-wrap:wrap;gap:.4rem .6rem;align-items:center}.save-bar .review-btn{background:#9a5b00;border-color:#9a5b00;color:#fff}
.save-bar .lbl-short{display:none}.review-state{margin:.2rem 0 0;font-size:.88rem;font-weight:700;color:#9a5b00;flex:1 1 100%}
.review-ack{display:flex;gap:.4rem;align-items:flex-start;flex:1 1 100%;margin:.3rem 0 0;font-size:.92rem}.review-ack input{margin-top:.25rem;width:auto;min-height:0}
@media(max-width:600px){.save-bar .lbl-long{display:none}.save-bar .lbl-short{display:inline}.save-buttons{display:grid;grid-template-columns:1fr 1fr;width:100%}.save-buttons button{width:100%}}
@media(max-width:600px){.save-bar{padding:.5rem .6rem}.save-bar .save-last{display:none}.review-state,.save-bar .save-msg{font-size:.8rem;margin:.15rem 0 0}.review-ack{font-size:.82rem}}

/* 2026-11-16（本人の指示）：運営コンソールの中に埋め込んだとき。上の見出しを出さない */
.in-console body>header,.in-console main>h1{display:none}.in-console main{padding-top:0;margin-top:0}

/* 2026-11-16：依頼のあとの画面・運営の審査の道具 */
.submitted-tools,.review-tools{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-start;margin:1rem 0}.review-return{flex:1 1 100%}.review-return textarea{width:100%;min-height:5rem}
@media(max-width:600px){.save-buttons button{white-space:normal;line-height:1.3}}
/* 2026-11-16（本人の指示）：手動の調整。iCal の ○× を最初から出し、手で変えた日ははっきりしたピンクと「手」の印 */
.manual-cal-day{position:relative}
.manual-cal-day.is-ical.is-open{background:#eef6f0}.manual-cal-day.is-ical.is-closed{background:#f8ecea}
.manual-cal-day.is-manual{background:#f9c6d8;border:2px solid #d6336c;color:#5b0e2b}
.manual-cal-day.is-manual small{color:#8a1840;font-weight:700}
.manual-mark{position:absolute;top:2px;right:3px;font-style:normal;font-size:.62rem;font-weight:700;line-height:1;padding:1px 3px;border-radius:4px;background:#d6336c;color:#fff}
.manual-cal-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem;margin:.5rem 0 .2rem;font-size:.85rem}
.manual-cal-legend .legend-mark{position:static;display:inline-block;margin-right:.1rem}
.manual-cal-tools{display:flex;flex-wrap:wrap;gap:.5rem}.manual-cal-loaded{margin:.2rem 0}

/* 2026-11-16：申請のあとのコピー元の選択 */
.copy-from{display:flex;align-items:center;gap:.4rem;margin:0}.copy-from select{min-height:2.4rem}

/* 2026-11-16（本人の決定）：都道府県・エリアは表示だけ */
.area-fixed{margin:.4rem 0 .8rem;padding:.5rem .7rem;border:1px dashed #cbd5c9;border-radius:8px;background:#fafbf8}

/* 2026-11-16（本人の決定）：同意はボタンの近くの1行 */
.consent-line{font-size:.9rem;color:#4b5563;margin:.4rem 0}
.consent-line a{color:inherit;text-decoration:underline}

/* 2026-11-16（本人の指示）：期限切れのリンクの画面で、その場で送る */
.resend-here{margin:1rem 0;padding:.8rem 1rem;border:1px solid #e5d3a1;border-radius:8px;background:#fffbeb}
.resend-here .warn{color:#92400e;margin:0 0 .5rem}
.resend-here .ok{color:#166534;margin:0}

/* 2026-11-16（本人の指示）：「この客室タイプを削除する」は目立ちすぎない色（白地に赤い文字）。ほかのボタンから少し離す */
.save-buttons .delete-building{background:#fff;color:#b91c1c;border:1px solid #f3c1c1;margin-left:1.2rem}
.save-buttons .delete-building:hover{background:#fef2f2}
.confirm-delete{border:1px solid #e5e7eb;border-radius:10px;padding:1rem 1.2rem;max-width:26rem}
.confirm-delete::backdrop{background:rgba(0,0,0,.35)}
.confirm-delete .confirm-title{font-weight:700;margin:0 0 .3rem}
.confirm-delete .confirm-buttons{display:flex;gap:.6rem;justify-content:flex-end;margin-top:.8rem}
.confirm-delete .danger{background:#b91c1c;color:#fff;border:0}
/* 2026-11-16（本人の決定）：一緒に編集する人 */
.co-editors{margin:1rem 0;padding:.6rem .9rem;border:1px solid #d6dccf;border-radius:8px;background:#fff}
.co-editors summary{cursor:pointer;font-weight:600}
.co-editors ul{margin:.4rem 0;padding-left:1.2rem}
.co-editors li{margin:.2rem 0}
.co-editors-add{display:flex;gap:.5rem;flex-wrap:wrap}
.co-editors-add input{flex:1 1 14rem}

/* 2026-11-16（本人の指示）：下の固定の枠を小さく。PCは2行以内（ボタン1行＋小さい文字の状態1行）。スマホはボタンを横にスクロール */
.save-bar{padding:.35rem .6rem;gap:.15rem .6rem;flex-direction:column;align-items:stretch;flex-wrap:nowrap}
.save-bar .save-buttons{display:flex;flex-wrap:nowrap;gap:.4rem;overflow-x:auto;scrollbar-width:thin;width:auto}
.save-bar .save-buttons button{padding:.3rem .7rem;font-size:.85rem;line-height:1.3;min-height:0;white-space:nowrap;flex:0 0 auto;width:auto}
.save-bar .more-btn .lbl-long{display:inline-block;max-width:18em;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
.save-buttons .delete-building{margin-left:.8rem}
.save-status{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .2rem;font-size:.78rem;color:#4b5563;line-height:1.4}
.save-status>p{margin:0;flex:0 0 auto;font-size:.78rem}
.save-status>p:empty{display:none}
.save-status>p:not(:empty)~p:not(:empty)::before{content:"・";margin:0 .35rem;color:#9ca3af;font-weight:400}
.save-status .review-state{font-weight:700;color:#9a5b00;flex:0 0 auto}
.save-status .save-last{flex:0 0 auto;font-size:.78rem}
.save-status .save-msg{flex:0 1 auto;font-size:.78rem}
.save-status .consent-line{white-space:nowrap}
@media(max-width:600px){.save-bar .more-btn .lbl-long{display:none}.save-bar .save-buttons{display:flex;width:100%}.save-bar .save-buttons button{width:auto;white-space:nowrap}.save-bar .save-last{display:inline}.save-status{font-size:.74rem}.save-status .consent-line{white-space:normal}}

/* 2026-11-16（本人の指示）：iCal の読み取りに時間がかかっているときは、失敗の赤にしない */
.calendar-feed.pending{border-color:#e5d3a1;background:#fffbeb}

/* 2026-11-16（本人の指示）：状態の行（申請済み・最後に保存）はボタンの上に出し、いつも見えるようにする。ボタンは横にはみ出さず折り返す。
   枠が狭いときは、ボタンを短い文字（保存・掲載イメージ・掲載を申請・コピーして追加・削除）にする */
.save-bar{container-type:inline-size;padding-bottom:calc(.35rem + env(safe-area-inset-bottom,0px))}
.save-bar .save-buttons{flex-wrap:wrap;overflow-x:visible;row-gap:.3rem}
.save-bar .save-status{margin:0 0 .1rem}
@media(max-width:600px){.save-bar .save-buttons{flex-wrap:wrap;overflow-x:visible}.save-buttons .delete-building{margin-left:0}}

/* 2026-11-16（本人の決定・最終形）：ボタンは決まった2行（文字は短くしない・横のスクロールバーは出さない）。その下に状態の行と同意の1行。
   2行目のコピーのボタンは横幅を広く取り、客室タイプの名前がなるべく省略されないようにする（入りきらないときだけ省略記号） */
.save-bar .save-buttons{display:flex;flex-direction:column;flex-wrap:nowrap;gap:.3rem;overflow:visible}
.save-bar .save-row{display:flex;flex-wrap:nowrap;gap:.4rem;min-width:0}
.save-bar .save-row-2 .more-btn{flex:1 1 auto;min-width:0;max-width:44rem;overflow:hidden;text-overflow:ellipsis;text-align:left}
.save-bar .save-row-2 .more-btn .lbl-long{display:block;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.save-bar .save-row-2 .delete-building{margin-left:.8rem;flex:0 0 auto}
@media(max-width:600px){.save-bar .save-row{flex-wrap:wrap}.save-bar .save-row-2 .more-btn .lbl-long{display:none}.save-bar .save-row-2 .delete-building{margin-left:0}}
.save-bar .save-buttons{align-self:stretch;align-items:flex-start}

/* 2026-11-16（本人の決定）：メールの数と送れなかったメール */
.mail-stats{margin:.4rem 0;padding:.5rem .8rem;border:1px solid #d6dccf;border-radius:8px;background:#fafbf8;font-size:.9rem}
.mail-stats.warn{border-color:#e5b4b4;background:#fff5f5}
.mail-stats p{margin:.2rem 0}
.mail-stats ul{margin:.2rem 0 .2rem 1.2rem;font-size:.85rem}

/* 2026-11-16（本人の決定）：公式特典・英語対応の欄 */
.cond-fields input[type=url],.cond-fields input:not([type]){width:100%}

/* 2026-11-16（本人の決定）：同じアドレスの施設を1通にまとめる */
.batch-row .batch-also{display:block;font-size:.85rem;color:var(--muted,#64736b);margin-left:1.6rem}
.batch-held ul{margin:.3rem 0 0 1.2rem}

/* 2026-11-16（本人の指示）：フォームで送った案内の記録 */
.form-sent{margin:.4rem 0 .8rem}
.form-sent input,.form-sent textarea{display:block;width:100%;margin:.3rem 0}

/* 2026-11-17（集客の計画 B-2）：施設の編集画面の「掲載中の印」 */
.badge-section{margin:16px 0;padding:12px 14px;border:1px solid #cbd6c9;border-radius:8px;background:#fbfcf8}
.badge-section summary{cursor:pointer;font-weight:700}
.badge-item{margin:12px 0 0;padding-top:10px;border-top:1px solid #e3e8df}
.badge-item h4{margin:0 0 4px}
.badge-item textarea{display:block;width:100%;box-sizing:border-box;font:12px/1.5 ui-monospace,Consolas,monospace;margin-top:4px;word-break:break-all}
.badge-item a{overflow-wrap:anywhere}

/* 2026-11-17（本人の決定）：客室タイプごとの「宿の種類」と「公式サイトから予約できます」。運営が載せないと判断した客室タイプのお知らせ */
.unit-scope{border:2px solid #c9d8cc;border-radius:10px;padding:12px 14px;margin:10px 0 16px;background:#f7faf6}
.unit-scope .field-group-title{margin-top:0}
.unit-scope-type{display:grid;gap:4px;font-weight:600;margin:6px 0}
.unit-scope-type select{max-width:360px;min-height:42px;font-size:16px}
.unit-scope-exclusive{display:flex;gap:8px;align-items:flex-start;font-weight:600;margin-top:8px}
.unit-scope-exclusive input{width:20px;height:20px;margin-top:2px}
.unit-scope-ng:empty{display:none}
.unit-declined{border:1px solid #e3b4ab;background:#fff3f0;border-radius:8px;padding:10px 12px}
