/* the mock DXSite: the current site's look (royal-blue band, white page, grey playback bar), calm and plain */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.5 -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; color: #222; background: #fff; display: flex; flex-direction: column; }
a { color: #2a52be; }
.muted { color: #6b7280; }
button { font: inherit; padding: 4px 10px; border: 1px solid #b8c2d8; border-radius: 4px; background: #f5f7fb; color: #1f2f57; cursor: pointer; }
button:hover:not(:disabled) { background: #e7ecf8; }
button:disabled { opacity: .5; cursor: default; }
input, select { font: inherit; }

.band { background: #4169e1; color: #fff; display: flex; align-items: center; gap: 24px; padding: 8px 16px; flex-wrap: wrap; }
.brand { font-size: 15px; }
.mock-tag { font-size: 11px; background: rgba(255,255,255,.2); border-radius: 3px; padding: 1px 6px; margin-left: 4px; }
.band nav { display: flex; gap: 4px; }
.band nav a { color: #fff; text-decoration: none; padding: 3px 8px; border-radius: 4px; }
.band nav a.on { background: #6495ed; }
.band nav a.off { opacity: .55; cursor: default; }
.band-mid { margin-left: auto; }
.band-mid select { margin-left: 4px; border-radius: 4px; border: 0; padding: 2px 4px; }
.band-right { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.band nav + .band-right { margin-left: auto; }
.pill { background: rgba(255,255,255,.2); border-radius: 10px; padding: 1px 8px; }
.pill.ok { background: #2e9e5b; }

.pick { max-width: 860px; margin: 24px auto; width: 100%; padding: 0 16px; display: grid; gap: 16px; }
.card { border: 1px solid #dfe3ea; border-radius: 6px; padding: 16px 20px; background: #fafbfd; }
.card h1, .card h2 { margin: 0 0 8px; font-size: 17px; }
.projects { padding-left: 18px; }
.projects li { margin: 4px 0; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kv th { text-align: left; font-weight: normal; color: #6b7280; padding-right: 16px; }

.page { flex: 1; display: flex; min-height: 0; gap: 12px; padding: 8px 12px 12px; }
.viewer { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.frame-box { flex: 1; position: relative; border: 1px solid #d0d5dd; background: #99a897; min-height: 360px; }
.frame-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.no-frame { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); padding: 24px; text-align: center; }
.playbar { background: #e0e0e0; border-radius: 4px; padding: 8px 12px; display: flex; gap: 10px; align-items: center; }
.playbar select { padding: 3px 6px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; }
.playbar input[type=range] { flex: 1; }

.ops { width: 400px; flex: none; overflow-y: auto; overflow-x: hidden; border-left: 1px solid #e5e7eb; padding-left: 12px; font-size: 13px; }
.ops h2 { font-size: 14px; margin: 4px 0 8px; color: #1f2f57; }
.ops h2 small { font-weight: normal; color: #6b7280; }
.ops details { border: 1px solid #e3e7ef; border-radius: 6px; margin-bottom: 8px; padding: 6px 10px; background: #fbfcfe; }
.ops summary { font-weight: 600; cursor: pointer; color: #2a3f7a; }
.btns { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.links { margin-top: 6px; display: grid; gap: 2px; }
.links a { margin-right: 8px; }
.answer { background: #f3f4f6; border-radius: 4px; padding: 6px 8px; max-height: 180px; overflow: auto; font-size: 12px; white-space: pre-wrap; word-break: break-all; margin: 4px 0; }
.feed { margin: 6px 0; }
.manual { border: 0; padding: 0; margin: 4px 0; display: grid; gap: 6px; }
.manual:disabled { opacity: .5; }
.grp { display: grid; grid-template-columns: 1fr; gap: 2px; border-top: 1px solid #e5e7eb; padding-top: 4px; }
.grp label { display: grid; grid-template-columns: 34px 1fr 52px 16px; align-items: center; gap: 4px; }
.grp output { text-align: right; font-variant-numeric: tabular-nums; }
.sent { width: 100%; border-collapse: collapse; font-size: 12px; }
.sent th, .sent td { text-align: left; padding: 2px 4px; border-bottom: 1px solid #eef0f4; vertical-align: top; overflow-wrap: anywhere; }
.sent tr.ng td { color: #b42318; }
