.candidate-tools,.candidate-pagination,.candidate-transfer { display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0; }
.candidate-tools input { width:150px;max-width:100%;font-size:16px; }
#sheet-paste,#sheet-copy-text,#selection-copy-text { width:100%;box-sizing:border-box;min-height:110px;font:15px/1.7 var(--mono); }
#generation-count { width:130px;max-width:100%;font-size:16px; }
.sheet-scroll { max-width:100%;max-height:70vh;overflow:auto;border:1px solid #dce2e6; }
.sheet-table { border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:1840px;width:100%;font:13px/1.3 var(--mono);text-align:center; }
.sheet-table caption { text-align:left;padding:8px;color:var(--muted); }
.sheet-table th,.sheet-table td { border-right:1px solid #dce2e6;border-bottom:1px solid #dce2e6;min-width:30px;padding:2px;background:#fff5f7; }
.sheet-table thead th { position:sticky;top:0;background:#f2e7c8;z-index:2;height:30px; }
.sheet-table thead tr:nth-child(2) th { top:35px; }
.sheet-table .sheet-row-label { position:sticky;left:0;min-width:78px;width:78px;background:#f7f9fa;z-index:1; }
.sheet-table thead .sheet-row-label { z-index:3; }
.sheet-table .sheet-delete-row { display:block;margin:2px auto 0;padding:2px 6px;min-height:26px;font:inherit;color:#98324b; }
.sheet-table .sheet-back { background:#f0f6ff; }
.sheet-table td button { display:block;min-width:28px;width:100%;padding:5px 2px;border:0;border-radius:50%;background:transparent;color:#b56878;font:inherit;cursor:pointer; }
.sheet-table .sheet-back button { color:#5279a5; }
.sheet-table td .sheet-hit { background:#d83a5b;color:white;font-weight:700; }
.sheet-table .sheet-back .sheet-hit { background:#346dce;color:white; }
.sheet-table tfoot tr:first-child > * { border-top:2px solid #8a9b98; }
.sheet-table tfoot td { background:#f7eeee; }
.sheet-table tfoot td.sheet-back { background:#e9f1fc; }
#sheet-appearances td { color:#7e3049;font-weight:700;height:30px; }
#sheet-appearances td.sheet-back { color:#254d84; }
.sheet-table [data-sheet-mark][aria-pressed="true"] { background:#d83a5b;color:white;font-weight:700; }
.sheet-table .sheet-back [data-sheet-mark][aria-pressed="true"] { background:#346dce; }
#sheet-row-count { width:96px;flex:0 1 96px; }
.sheet-chosen .sheet-row-label { box-shadow:inset 4px 0 #178879; }
.sheet-table button:focus-visible { outline:2px solid #153d36;outline-offset:1px; }
.candidate-notice { padding:12px;background:#edf6f3;border-radius:8px; }
.candidate-pagination button,.candidate-tools button,.candidate-transfer button { min-height:40px; }
@media(max-width:599px) { .candidate-tools>button,.candidate-transfer>button { flex:1 1 auto; } .candidate-tools input{flex:1;} }
