:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;color:#183247;background:#f3f6f8}*{box-sizing:border-box}body{margin:0}.hst-header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 24px;background:#17384f;color:#fff}.hst-header span{font-size:11px;letter-spacing:.12em;opacity:.8}.hst-header h1{margin:3px 0 0;font-size:23px}.hst-header>div:last-child{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.hst-header a{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.35);padding:8px 11px;border-radius:9px;font-size:13px;font-weight:900}.hst-main{max-width:1100px;margin:0 auto;padding:20px}.hst-note{margin:0 0 14px;padding:13px 15px;background:#eaf3f8;border-left:4px solid #4b8eb5;border-radius:8px}.hst-message{padding:11px 13px;border-radius:8px;background:#eef6fb}.hst-message.error{background:#fff0f2;color:#a42636}.hst-section{margin:0 0 16px;background:#fff;border:1px solid #d9e3e8;border-radius:13px;padding:17px}.hst-section.danger{border-color:#e5c5c5}.hst-section-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.hst-section-head span{font-size:11px;font-weight:900;letter-spacing:.11em;color:#718494}.hst-section-head h2{margin:2px 0 0;font-size:19px}.hst-section-head button,.hst-link{min-height:40px;padding:8px 12px;border:1px solid #afc2ce;border-radius:9px;background:#fff;color:#25516d;text-decoration:none;font-weight:900}.hst-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.hst-card{padding:13px;border:1px solid #dce5ea;border-radius:10px;background:#f7fafb;text-align:center}.hst-card span{display:block;font-size:12px;color:#6c7f8c}.hst-card strong{display:block;margin-top:4px}.hst-card.ok{background:#edf8f2;border-color:#a8d7bd}.hst-card.warn{background:#fff7e5;border-color:#e9cd83}.hst-mail-summary{margin-top:12px;padding:11px 12px;background:#f7fafb;border-radius:9px;font-size:13px;line-height:1.6}.hst-warning{margin-top:13px;padding:12px 14px;background:#fff0f1;border:1px solid #e6b1b8;border-radius:9px;color:#8e2835;line-height:1.65}.hst-sample-actions{display:flex;gap:8px;margin:12px 0}.hst-sample-actions button{min-height:40px;padding:8px 12px;border:1px solid #b6c5ce;border-radius:8px;background:#fff;color:#31566d;font-weight:800}.hst-section textarea{width:100%;min-height:250px;padding:12px;border:1px solid #aebfca;border-radius:9px;font:inherit;line-height:1.6;resize:vertical}.hst-danger-button{width:100%;min-height:48px;margin-top:10px;border:1px solid #b93647;border-radius:9px;background:#b93647;color:#fff;font-weight:900}.hst-result{margin-top:10px;font-size:13px;font-weight:800}@media(max-width:720px){.hst-header{align-items:flex-start;padding:15px}.hst-header h1{font-size:20px}.hst-header>div:last-child{max-width:190px}.hst-main{padding:12px}.hst-section-head{align-items:flex-start}.hst-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hst-link{max-width:48%;text-align:center}.hst-sample-actions button{flex:1}}
.hst-head-actions{display:flex;gap:8px;flex-wrap:wrap}.hst-primary-button{background:#246a8e!important;color:#fff!important;border-color:#246a8e!important}.hst-backup-help{margin:10px 0 0;color:#5e7381;font-size:13px}.hst-backup-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.hst-backup-summary{padding:12px 14px;border-radius:10px;border:1px solid #d8e3e9;display:flex;flex-direction:column;gap:4px}.hst-backup-summary.ok{background:#edf8f2;border-color:#a8d7bd}.hst-backup-summary.warn{background:#fff7e5;border-color:#e9cd83}.hst-backup-summary span{font-size:12px;color:#607581}.hst-backup-list{margin-top:12px}.hst-backup-table{border:1px solid #dce5ea;border-radius:10px;overflow:hidden}.hst-backup-row{display:grid;grid-template-columns:2fr .7fr .8fr .8fr 1fr;gap:8px;align-items:center;padding:10px 12px;border-top:1px solid #e7edf0;font-size:12px}.hst-backup-row.head{border-top:0;background:#f4f7f9;font-weight:900;color:#536b7a}.hst-backup-row button{min-height:34px;border:1px solid #aebfca;border-radius:7px;background:#fff;color:#25516d;font-weight:800}.verify-ok{color:#247243;font-weight:900}.verify-ng{color:#b3263b;font-weight:900}.hst-empty{padding:12px;background:#f7fafb;border-radius:8px;color:#6b7c87}@media(max-width:720px){.hst-backup-status{grid-template-columns:1fr}.hst-head-actions{width:100%}.hst-head-actions button{flex:1}.hst-backup-row{grid-template-columns:1.6fr .7fr .8fr}.hst-backup-row span:nth-child(4),.hst-backup-row span:nth-child(5){grid-column:auto}.hst-backup-row.head span:nth-child(4),.hst-backup-row.head span:nth-child(5){display:none}.hst-backup-row:not(.head) span:nth-child(4){grid-column:1/2}.hst-backup-row:not(.head) span:nth-child(5){grid-column:2/4}.hst-backup-row:not(.head) span:nth-child(5) button{width:100%}}

/* V0.16.2 data integrity */
.hst-integrity-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.hst-integrity-card{padding:12px 14px;border:1px solid #d8e3e9;border-radius:10px;background:#f7fafb;display:flex;flex-direction:column;gap:4px}.hst-integrity-card span{font-size:11px;color:#687d8b}.hst-integrity-card strong{font-size:18px}.hst-integrity-card.ok{background:#edf8f2;border-color:#a8d7bd;color:#23613a}.hst-integrity-card.warn{background:#fff7e5;border-color:#e9cd83;color:#805c13}.hst-integrity-card.danger{background:#fff0f2;border-color:#efb4bd;color:#a42636}.hst-integrity-volume{margin-top:10px;padding:10px 12px;border-radius:9px;background:#f6f9fb;color:#5d7280;font-size:12px;line-height:1.6}.hst-integrity-list{display:grid;gap:9px;margin-top:12px}.hst-integrity-issue{border:1px solid #dce5ea;border-radius:10px;background:#fff;overflow:hidden}.hst-integrity-issue.critical{border-left:5px solid #c53b4c}.hst-integrity-issue.warning{border-left:5px solid #d69a20}.hst-integrity-issue summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 13px;cursor:pointer;font-weight:900;list-style:none}.hst-integrity-issue summary::-webkit-details-marker{display:none}.hst-integrity-issue summary span{font-size:12px;color:#6c7f8c}.hst-integrity-issue summary b{margin-left:auto;white-space:nowrap}.hst-integrity-issue.critical summary b{color:#b3263b}.hst-integrity-issue.warning summary b{color:#9a6c12}.hst-integrity-body{padding:0 13px 13px}.hst-integrity-body p{margin:0 0 8px;line-height:1.65;font-size:13px}.hst-integrity-action{padding:8px 10px;background:#f6f9fb;border-radius:8px;color:#466171}.hst-integrity-items{display:grid;gap:6px;margin-top:9px}.hst-integrity-item{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e6ecef;border-radius:8px;background:#fbfcfd;color:inherit;text-decoration:none;font-size:12px}.hst-integrity-item:hover{background:#f3f8fb}.hst-integrity-item>div{display:grid;gap:2px}.hst-integrity-item strong{font-size:13px}.hst-integrity-item span{color:#6e808b}.hst-integrity-item .meta{text-align:right}.hst-integrity-more{font-size:11px;color:#718494;margin-top:5px}.hst-integrity-empty{padding:15px;border:1px solid #a8d7bd;border-radius:10px;background:#edf8f2;color:#23613a;font-weight:900;text-align:center}
@media(max-width:720px){.hst-integrity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hst-integrity-issue summary{align-items:flex-start;flex-wrap:wrap}.hst-integrity-issue summary b{margin-left:0}.hst-integrity-item{display:grid}.hst-integrity-item .meta{text-align:left}}

/* V0.16.2 fix4 integrity action feedback */
#integrity-refresh[aria-busy="true"]{cursor:wait;opacity:.72}.hst-integrity-note{margin-top:6px!important}.hst-integrity-run{margin:10px 0 0;padding:9px 11px;border-radius:8px;background:#f6f9fb;color:#5c7180;font-size:12px;font-weight:800}.hst-integrity-run.running{background:#eef6fb;color:#285d7d}.hst-integrity-run.ok{background:#edf8f2;color:#23613a}.hst-integrity-run.warn{background:#fff7e5;color:#805c13}.hst-integrity-run.danger{background:#fff0f2;color:#a42636}
