.gb-page{max-width:1320px;margin:auto}.gb-head{margin-bottom:24px}.gb-head h1{font-size:clamp(26px,3vw,34px);margin:10px 0}.gb-head p,.gb-muted,.gb-card p{color:var(--muted,#6b6670);line-height:1.6}.gb-kicker{font-size:12px;font-weight:700;letter-spacing:.1em;color:var(--primary,#7c2345)}.gb-actions,.gb-filters{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:20px 0}.gb-filters>label:first-child{flex:1;min-width:200px}.gb-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.gb-card{padding:24px;display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere}.gb-card>div:first-child{flex:1}.gb-card h2{font-size:20px;margin:16px 0 6px}.gb-card p{margin:4px 0}.gb-form{padding:24px;margin:24px 0}.gb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gb-page label:not(.gb-check),.gb-dialog label:not(.gb-check){display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;margin-bottom:16px}.gb-page input:not([type=checkbox]),.gb-page select,.gb-page textarea,.gb-dialog input:not([type=checkbox]),.gb-dialog select{font:inherit;width:100%;min-width:0;padding:11px 12px;border:1px solid var(--border,#e6dde1);border-radius:8px;background:white;color:inherit;min-height:44px}.gb-page input:focus-visible,.gb-page select:focus-visible,.gb-page textarea:focus-visible,.gb-dialog input:focus-visible,.gb-dialog select:focus-visible{outline:2px solid var(--primary,#7c2345);outline-offset:2px}.gb-check{display:flex;gap:12px;align-items:center;margin:14px 0}.gb-check small{display:block;color:var(--muted,#6b6670)}.gb-page input[type=checkbox],.gb-dialog input[type=checkbox]{width:18px;height:18px;accent-color:var(--primary,#7c2345);flex:none}.gb-roster{max-height:450px;overflow:auto;border-block:1px solid var(--border,#e6dde1);padding:10px}.gb-page [hidden]{display:none!important}.gb-table-wrap{max-width:100%;overflow:auto;margin:20px 0;max-height:65vh;border:1px solid var(--border,#e6dde1);border-radius:10px}.gb-table{min-width:850px;width:100%}.gb-table th,.gb-table td{padding:12px;vertical-align:top}.gb-table thead th{position:sticky;top:0;background:#f8f6f7;z-index:1;font-size:12px}.gb-table small{display:block;font-size:12px;font-weight:400;color:var(--muted,#6b6670);margin-top:6px}.gb-table td:first-child{width:56px}.gb-table td input[type=number]{width:80px}.gb-table textarea{min-width:180px;min-height:72px;resize:vertical}.gb-table td:last-child button{display:block;margin-bottom:8px;font-size:12px;min-height:36px}.gb-table tbody th{min-width:170px;text-align:left;font-size:14px}.gb-notice{padding:14px 18px;border-left:3px solid var(--primary,#7c2345);background:#fff;border-radius:8px;line-height:1.6}.gb-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.gb-results span{display:block;font-size:13px;color:var(--muted,#6b6670)}.gb-results strong{display:block;font-size:24px;margin-top:10px;overflow-wrap:anywhere}.gb-empty{padding:40px;text-align:center;grid-column:1/-1}.gb-dialog{width:min(720px,calc(100vw - 32px));max-height:90dvh;overflow:auto}.gb-dialog .modal-body{padding:24px}.gb-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px}.gb-history{border-bottom:1px solid var(--border,#e6dde1);padding:12px 0}.gb-dialog h2{font-size:22px}.gb-page button:disabled{opacity:.5;cursor:not-allowed}.gb-page .surface{min-width:0}.gb-table input:disabled,.gb-table textarea:disabled{background:#f8f6f7;color:#6b6670}
@media(max-width:700px){.gb-grid{grid-template-columns:1fr}.gb-form,.gb-card{padding:16px}.gb-page input:not([type=checkbox]),.gb-page select,.gb-page textarea,.gb-dialog input:not([type=checkbox]),.gb-dialog select{font-size:16px}.gb-actions{align-items:stretch}.gb-actions>label{width:100%}.gb-results{grid-template-columns:1fr}.gb-results>div{display:flex;align-items:center;justify-content:space-between}.gb-results strong{font-size:20px;margin:0}.gb-filters{gap:8px}.gb-filters>label{width:100%}.gb-table-wrap{max-height:60dvh}.gb-table tbody th{min-width:140px}.gb-dialog .modal-body,.gb-dialog header{padding:16px}}
.gb-table tbody th{text-transform:none;letter-spacing:normal;background:#fff;color:var(--text,#1c1c24);font-weight:600}
.gb-core-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px}.gb-core-summary span{display:block;font-size:12px;color:var(--muted,#6b6670);margin-bottom:8px}.gb-core-summary strong{font-size:15px}
