﻿main { max-width: 760px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 { margin: 0; font-size: 1.08rem; }
h3 { font-size: .98rem; margin: 1.2rem 0 .5rem; }
#account-line { margin: .25rem 0 0; opacity: .8; }
#notice:empty { min-height: 0; margin: 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 1.1rem 0 .65rem; }
.devices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: .65rem; }
.device-card, .device-detail, .share { padding: .85rem; border: 1px solid #bdd3c6; border-radius: .65rem; background: #fff; margin: 0 0 .55rem; }
button.device-card { text-align: left; color: inherit; width: 100%; margin: 0; }
button.device-card[aria-pressed="true"] { border: 2px solid #13523e; background: #edf5ef; }
.device-card span { display: block; padding-top: .25rem; font-size: .88rem; }
.device-detail { margin-top: 1rem; }
dt { color: #48635a; }
dd { margin: 0; }
dl { display: grid; grid-template-columns: minmax(5rem, auto) 1fr; gap: .35rem .7rem; }
.rows { padding: 0; list-style: none; }
.rows li { padding: .55rem .2rem; border-bottom: 1px solid #d1ddd6; }
.rows span { display: block; font-size: .88rem; }
.share input { width: 100%; margin: .5rem 0; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.danger, button.danger { color: #982e26; border-color: #aa665f; }
#cleanup-dialog, #transfer-dialog, #exe-history-dialog { width: min(94vw, 570px); max-height: 82vh; border: 1px solid #bdd3c6; border-radius: .65rem; color: inherit; }
#cleanup-dialog::backdrop, #transfer-dialog::backdrop, #exe-history-dialog::backdrop { background: #12231f88; }
#exe-history-rows { max-height: 57vh; overflow: auto; }
#cleanup-targets { max-height: 47vh; overflow: auto; }
#cleanup-error:empty, #transfer-error:empty { display: none; }
#cleanup-result { margin-top: 1rem; }
[hidden] { display: none !important; }
