html, body { margin:0; font-family: 'Segoe UI', sans-serif; color:#252c31; background:#f7f8f6; }
a { color:#31584e; text-decoration:none; } a:hover { text-decoration:underline; }
.topbar { display:flex; align-items:center; justify-content:space-between; padding:24px 6%; border-bottom:1px solid #dfe5df; background:white; }
.brand { font-size:24px; letter-spacing:6px; color:#223f36; }.brand span { font-size:10px; letter-spacing:2px; }
.topbar nav { display:flex; gap:24px; align-items:center; }.topbar form { margin:0; }
.shell { max-width:1050px; padding:48px 24px; margin:0 auto; }
h1 { font-size:32px; font-weight:600; margin:12px 0; } h2 { font-size:20px; margin:16px 0; }
h1:focus { outline:none; }
.eyebrow { font-size:11px; letter-spacing:2px; color:#667b70; }.muted { color:#748078; font-size:13px; }.mono { font-family:monospace; overflow-wrap:anywhere; }
.panel { background:#fff; border:1px solid #e0e6df; border-radius:16px; padding:28px; margin:24px 0; }
.tabs { display:flex; gap:12px; margin-top:28px; }.tabs a { padding:10px 20px; border-radius:24px; }.selected { background:#dfece4; color:#214a39; }
.report-row { display:flex; justify-content:space-between; gap:24px; padding:22px 0; border-bottom:1px solid #edf0eb; color:inherit; }.report-row:last-child { border:0; }
.badge { display:inline-block; font-size:12px; color:#3b5c43; background:#e9f0e5; padding:5px 12px; border-radius:20px; margin-bottom:8px; }
.empty { text-align:center; padding:48px; color:#748078; }.pager { display:flex; justify-content:space-between; }
button { background:#294f41; color:white; border:0; border-radius:9px; padding:12px 22px; cursor:pointer; }.quiet { background:transparent; color:#31584e; padding:0; }
label { display:block; margin:18px 0; } input, select { display:block; width:100%; border:1px solid #cdd7ce; border-radius:8px; padding:12px; margin-top:8px; box-sizing:border-box; }
.check { display:flex; gap:10px; align-items:center; }.check input { width:auto; margin:0; }.login { max-width:450px; margin:40px auto; }
dl { display:grid; grid-template-columns:110px 1fr; gap:12px; } dd { margin:0; }
.message { padding:16px; background:#f5f7f3; border-radius:8px; margin:12px 0; }.message.anchor { border:1px solid #b39c6e; background:#fcf7eb; }.message p { white-space:pre-wrap; overflow-wrap:anywhere; margin:8px 0 0; }
.audit-row { display:grid; grid-template-columns:150px 1fr 180px; gap:12px; padding:12px 0; border-bottom:1px solid #edf0eb; font-size:12px; }.notice { background:#fff0d9; padding:16px; border-radius:8px; }
@media(max-width:640px) { .shell { padding:28px 16px; }.panel { padding:20px; }.report-row,.audit-row { display:block; }.topbar nav { gap:12px; }.brand { font-size:18px; }.audit-row span { display:block; } }

.users-heading,.user-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px}.users-heading h1{margin:8px 0 16px}.user-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.user-filters label{flex:1;min-width:150px}.user-filters .user-query{flex:2;min-width:240px}.user-table-wrap{overflow-x:auto}.user-table{width:100%;border-collapse:collapse;text-align:left}.user-table th{font-size:.8rem;color:#65796d;font-weight:500}.user-table td,.user-table th{padding:16px 10px;border-bottom:1px solid #e3e9e4}.user-table small,.user-history-row small{display:block;color:#66776d;font-size:.75rem;margin-top:6px}.user-name{font-weight:650}.user-table .mono{font-size:.65rem;overflow-wrap:anywhere}.user-empty{padding:40px;text-align:center}.user-pagination{margin:16px 0}.user-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.user-facts{display:grid;grid-template-columns:auto 1fr;gap:14px 20px}.user-facts dt{color:#66776d}.user-facts dd{margin:0;overflow-wrap:anywhere}.user-history-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #e3e9e4}.user-history-row .mono{overflow-wrap:anywhere}.user-detail-grid label{display:block;margin:14px 0} @media(max-width:850px){.user-detail-grid{grid-template-columns:1fr}.user-facts{grid-template-columns:1fr}.user-facts dd{margin-bottom:10px}}

/* Checkboxes must not inherit full-width text-field layout. */
label:has(> input[type="checkbox"]) { display:flex; align-items:center; gap:10px; }
input[type="checkbox"] { display:inline-block; width:18px; height:18px; flex:0 0 18px; margin:0; padding:0; vertical-align:middle; accent-color:#294f41; }
label.check > input[type="checkbox"] { width:18px; margin:0; }

.host-status{min-width:150px;margin:0}.host-status select{margin:0}.admin-timezone{font-size:.75rem;margin-top:28px;padding-top:16px;border-top:1px solid #e3e9e4}

.mode-switch{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;background:#e9eeea;border-radius:10px;margin:0 0 16px;font-size:.85rem}.mode-switch a{padding:8px 14px;border-radius:7px;color:#647268;text-decoration:none}.mode-switch a.selected{background:#fff;color:#254737;box-shadow:0 1px 3px #183d241a;font-weight:600}.mode-switch a:focus-visible{outline:2px solid #315945;outline-offset:2px}

/* Separate the like sub-mode from the main test-tool tabs. */
.test-like-mode { margin-top:24px; margin-bottom:0; }

/* Notice editor: readable language blocks with a separate publishing sidebar. */
.notice-editor-heading{margin-bottom:24px}.notice-editor-heading p{line-height:1.6}
.notice-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}
.notice-editor-content{min-width:0}.notice-editor-grid .panel{margin:0 0 20px;padding:24px}
.notice-language-panel header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0eb;padding-bottom:14px;margin-bottom:20px}
.notice-language-panel header h2,.notice-editor-settings h2{margin:0}.notice-language-panel .badge{margin:0}
.notice-editor-form label{font-size:14px;font-weight:500}.notice-editor-form textarea{display:block;width:100%;box-sizing:border-box;min-height:260px;resize:vertical;border:1px solid #cdd7ce;border-radius:8px;padding:14px;margin-top:8px;font:inherit;font-weight:400;line-height:1.7;color:inherit;background:#fff}
.notice-editor-form input{font:inherit;font-weight:400}.notice-editor-form textarea:focus,.notice-editor-form input:focus{outline:2px solid #31584e;outline-offset:2px}
.notice-editor-settings{position:sticky;top:24px}.notice-editor-settings hr{border:0;border-top:1px solid #edf0eb;margin:24px 0}.notice-editor-settings p{line-height:1.6}
.notice-editor-actions{position:sticky;bottom:0;background:#f7f8f6;border-top:1px solid #dce4dd;padding:16px 0;display:flex;gap:16px;align-items:center;justify-content:space-between;z-index:2}
.notice-editor-actions p{margin:0}.notice-editor-actions>div{display:flex;gap:24px;align-items:center;flex-shrink:0}
@media(max-width:850px){.notice-editor-grid{grid-template-columns:minmax(0,1fr)}.notice-editor-settings{position:static}.notice-editor-actions{flex-wrap:wrap}.notice-editor-actions>div{margin-left:auto}.notice-editor-grid .panel{padding:20px}}
