/* メンテナンス告知モック: GM（admin style.css の配色を踏襲） */
body { word-break: auto-phrase; text-wrap: pretty; }
.admin-shell .mn-card { display: grid; gap: 12px; margin: 0 0 16px; padding: 18px 20px; border: 1px solid #e3e6df; border-radius: 12px; background: #fff; color: #17332c; }
.admin-shell .mn-card h2 { margin: 0; font-size: 16px; }
.admin-shell .mn-card ul { margin: 0; padding: 0; list-style: none; }
.mn-now { border-left: 6px solid #cfd6cd !important; }
.mn-now-full { border-left-color: #a33a2b !important; }
.mn-now-read_only { border-left-color: #c58a00 !important; }
.mn-now-normal { border-left-color: #1c6b55 !important; }
.mn-now-head { display: flex; align-items: center; gap: 12px; }
.mn-now-head p { margin: 0; font-weight: 600; }
.mn-pill { padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.mn-pill-full { background: #fbe9e6; color: #a33a2b; }
.mn-pill-read_only { background: #fff4d6; color: #7a5000; }
.mn-pill-normal { background: #e4f2ec; color: #1c6b55; }
.admin-shell .mn-now-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; }
.admin-shell .mn-now-facts div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
.admin-shell .mn-now-facts dt { color: #64746f; font-size: 13px; white-space: nowrap; }
.admin-shell .mn-now-facts dd { margin: 0; overflow-wrap: anywhere; }
.mn-now-msg { display: block; color: #4e5f58; font-size: 13px; }
.mn-over { color: #a33a2b; font-weight: 700; }
.mn-now-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mn-push { margin-left: auto; }
.mn-extend { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; color: #64746f; font-size: 13px; white-space: nowrap; }
.gm-layout button.gm-button.mn-chip { padding: 5px 12px; font-size: 13px; border-radius: 999px; }
.gm-layout button.gm-button.mn-chip.is-on { border-color: #1c6b55; background: #e4f2ec; color: #1c6b55; }
.mn-log { width: 100%; border-collapse: collapse; font-size: 13px; }
.mn-log th, .mn-log td { padding: 7px 8px; border-bottom: 1px solid #eef0ea; text-align: left; white-space: nowrap; }
.mn-log td:nth-child(3) { white-space: normal; }
.mn-log th { color: #64746f; font-weight: 600; }
.mn-muted { opacity: .75; }
.mn-testers li { padding: 4px 0; }
.mn-testers small { color: #64746f; margin-left: 6px; }

.mn-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 16px; align-items: start; }
.mn-form-top { display: flex; align-items: center; gap: 12px; }
.gm-layout button.gm-button.mn-back { padding: 4px 10px; font-size: 13px; }
.admin-shell .mn-form fieldset { margin: 0; padding: 0; border: 0; }
.admin-shell .mn-field { display: grid; gap: 6px; min-width: 0; }
.admin-shell .mn-form fieldset legend { padding: 0; margin: 0 0 6px; }
.admin-shell .mn-form input[type=datetime-local] { font: inherit; }
.mn-preview-head h2 { line-height: 1.2; }
.admin-shell .mn-label, .admin-shell .mn-field legend { margin: 0; font-size: 13px; font-weight: 700; color: #17332c; display: flex; justify-content: space-between; }
.mn-label small { color: #64746f; font-weight: 500; }
.mn-field input:not([type=radio]), .mn-field textarea { width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid #cfd6cd; border-radius: 8px; background: #fff; font: inherit; color: #17332c; }
.mn-field textarea { resize: vertical; line-height: 1.7; }
.mn-field [aria-invalid=true] { border-color: #a33a2b; }
.admin-shell label.mn-inline { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4e5f58; }
.admin-shell .mn-inline input { width: auto !important; }
.mn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mn-help { margin: 0; color: #64746f; font-size: 12.5px; }
.mn-err { margin: 0; color: #a33a2b; font-size: 12.5px; font-weight: 600; }
.mn-insert { padding: 0; border: 0; background: none; color: #1c6b55; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.admin-shell .mn-seg { display: inline-flex; border: 1px solid #cfd6cd; border-radius: 10px; overflow: hidden; }
.admin-shell .mn-seg label { display: grid; gap: 1px; padding: 8px 18px; cursor: pointer; font-weight: 700; white-space: nowrap; border-right: 1px solid #cfd6cd; }
.mn-seg label:last-child { border-right: 0; }
.mn-seg label small { color: #64746f; font-weight: 500; font-size: 11.5px; }
.admin-shell .mn-seg label.is-on { background: #e4f2ec; color: #1c6b55; }
.mn-seg input { position: absolute; opacity: 0; pointer-events: none; }
.mn-seg-sm label { padding: 4px 12px; font-size: 12.5px; }
.mn-form-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; border-top: 1px solid #eef0ea; }

.mn-preview { position: sticky; top: 16px; }
.mn-preview-head { display: flex; align-items: center; justify-content: space-between; }
.mn-frame { overflow: hidden !important; border: 1px solid #e3e6df; border-radius: 10px; background: #f3f6f7; }
.mn-frame iframe { display: block; border: 0; transform-origin: 0 0; }
.mn-frame-pc { height: 455px; }
.mn-frame-pc iframe { width: 960px; height: 1000px; transform: scale(.455); }
.mn-frame-sp { height: 610px; position: relative; }
.mn-frame-sp iframe { position: absolute; left: 50%; top: 10px; width: 390px; height: 844px; margin-left: -137px; transform: scale(.7); transform-origin: 0 0; border-radius: 22px; outline: 6px solid #17332c; }

.mn-toast { position: fixed; left: 50%; bottom: 28px; z-index: 10000; transform: translate(-50%, 12px); padding: 10px 16px; border-radius: 10px; background: #17332c; color: #fff; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.mn-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.admin-shell .mn-seg label { align-content: center; }
.admin-shell .mn-seg { align-items: stretch; }
.mn-now-msg { max-width: 60em; }
.admin-shell .mn-seg label { margin: 0 !important; display: grid !important; }
.admin-shell .mn-seg-sm label { display: flex !important; align-items: center; }
main.admin-shell { padding-bottom: 72px !important; }
.mn-open { font-size: 12.5px; color: #1c6b55; font-weight: 700; }
