:root{--blue:#2563eb;--navy:#0b1638;--bg:#f4f7fb;--line:#e4e9f2;--muted:#74809a;--green:#16a36a;--red:#e34b4b}*{box-sizing:border-box}body{margin:0;font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;background:var(--bg);color:#17213a}.top{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;gap:22px;position:sticky;top:0;z-index:20}.brand{font-size:24px;font-weight:900;color:var(--blue)}.brand small{color:#17213a;font-size:14px;margin-left:8px}.nav{display:flex;gap:8px}.nav button{border:0;background:transparent;padding:12px 14px;border-radius:10px;font-weight:700;color:#65718b;cursor:pointer}.nav button.active{background:#edf4ff;color:var(--blue)}.wrap{padding:24px;max-width:1600px;margin:auto}.view{display:none}.view.active{display:block}.pagehead{display:flex;align-items:end;justify-content:space-between;margin:2px 0 18px}.pagehead h1{margin:0 0 5px;font-size:27px}.pagehead p{margin:0;color:var(--muted);font-size:14px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.metric b{font-size:30px;display:block;margin:7px 0}.metric b small{font-size:17px;color:#8993a7}.metric em{font-size:11px;color:#8a95a9;font-style:normal}.metric.clickable{cursor:pointer}.metric.clickable:hover{border-color:#9bbcff;box-shadow:0 6px 20px #2563eb12}.muted{color:var(--muted);font-size:13px}.section-title{font-weight:900;font-size:18px;margin-bottom:14px}.btn{border:0;border-radius:10px;padding:11px 16px;font-weight:800;cursor:pointer}.btn:disabled{opacity:.4;cursor:not-allowed}.primary{background:var(--blue);color:#fff}.dark{background:#101828;color:#fff}.ghost{background:#eef2f7;color:#35415a}.sm{padding:7px 10px;font-size:12px}.tv-link{margin-left:auto}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);font-size:13px}th{color:#667085;font-size:11px;background:#fafbfc}.clickrow{cursor:pointer}.clickrow:hover td{background:#f8fbff}.status{display:inline-block;font-size:11px;font-weight:800;padding:5px 9px;border-radius:20px;background:#eef2f7;color:#5f6b7e}.status.playing{background:#e8fff5;color:#087b50}.status.apply{background:#edf4ff;color:#2563eb}.status.done{background:#f1f3f5;color:#687386}.status.cancel{background:#fff0f0;color:#c43c3c}.mini{border:1px solid #dbe3ef;background:white;border-radius:7px;padding:6px 8px;font-size:11px;color:#315a9c;text-decoration:none;cursor:pointer}.empty{text-align:center;color:#8c96a7;padding:35px}.rulegrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.rule{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px}.rule b,.rule span{display:block}.rule b{font-size:13px;margin-bottom:7px}.rule span{font-size:11px;color:#778298;line-height:1.5}.toolbar{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin-bottom:14px}.toolbar select,.select-label select{padding:8px 10px;border:1px solid #d8deea;border-radius:8px;background:#fff}.group-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.group h3{margin:0 0 10px;display:flex;justify-content:space-between}.group h3 small{font-weight:500;color:#8490a5}.player{padding:9px;border-radius:9px;background:#f6f8fc;margin:6px 0;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:7px;cursor:grab}.player .rank{width:22px;height:22px;border-radius:50%;background:#e7effd;color:#315b9e;display:grid;place-items:center;font-size:10px;font-weight:900}.player small{display:block;color:#8993a6;margin-top:2px}.player em{font-size:10px;color:#6f7b90;font-style:normal}.modal{position:fixed;inset:0;background:#0b1638a8;display:none;align-items:center;justify-content:center;padding:24px;z-index:50}.modal.open{display:flex}.modalbox{background:white;border-radius:18px;box-shadow:0 25px 80px #0003;max-height:92vh;overflow:auto;width:min(620px,96vw)}.modalbox.xl{width:min(1400px,96vw)}.modalhead{height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px}.modalhead>div{display:flex;align-items:center;gap:12px}.modalhead b{font-size:19px}.x{border:0;background:transparent;font-size:28px;color:#7d8798;cursor:pointer}.detailgrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);min-height:650px}.detailmain{padding:22px;border-right:1px solid var(--line)}.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.field label{display:block;font-size:11px;color:#667085;margin-bottom:6px;font-weight:800}.field input,.field select,.addgrid input,.addgrid select{width:100%;padding:11px;border:1px solid #d8deea;border-radius:9px;background:white}.field input:disabled,.field select:disabled{background:#f7f8fa;color:#48536a}.actions{display:flex;gap:8px;margin-top:18px}.actions.right{justify-content:flex-end}.hidden{display:none!important}.participants{padding:22px;background:#fbfcfe}.participant-list{height:490px;overflow:auto;border:1px solid var(--line);border-radius:11px;background:white}.prow{display:grid;grid-template-columns:1fr 130px 48px;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #edf0f5}.prow small{display:block;color:#8b95a7;font-size:10px;margin-top:3px}.pay{display:flex;align-items:center;gap:7px}.pay b{font-size:10px}.delete{border:0;background:#fff0f0;color:#c84242;border-radius:7px;padding:6px;font-size:10px;cursor:pointer}.addbox{margin-top:14px;padding:13px;background:white;border:1px solid var(--line);border-radius:11px}.addbox>b{font-size:12px}.addgrid{display:grid;grid-template-columns:1fr 1fr 85px 58px;gap:6px;margin-top:8px}.addgrid input,.addgrid select{padding:8px;font-size:11px}.addgrid .btn{padding:8px}.scorebox{padding-bottom:18px}.score-entry{display:grid;grid-template-columns:1fr 70px 20px 70px 1fr;gap:9px;align-items:center;padding:28px 24px 12px;text-align:center}.score-entry input{width:70px;padding:12px;text-align:center;border:1px solid #cfd7e4;border-radius:9px;font-size:20px;font-weight:900}.scorebox p{padding:0 24px}.scorebox .actions{padding:0 24px}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#101828;color:white;padding:11px 18px;border-radius:10px;opacity:0;pointer-events:none;transition:.2s;z-index:80;font-size:13px}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:1000px){.grid4,.rulegrid,.group-grid{grid-template-columns:repeat(2,1fr)}.detailgrid{grid-template-columns:1fr}.detailmain{border-right:0}.formgrid{grid-template-columns:repeat(2,1fr)}.nav{display:none}}@media(max-width:650px){.grid4,.rulegrid,.group-grid,.formgrid{grid-template-columns:1fr}.wrap{padding:14px}.top{padding:0 14px}.brand small{display:none}.detailgrid{display:block}.participants{padding:14px}.addgrid{grid-template-columns:1fr 1fr}.score-entry{grid-template-columns:1fr 55px 12px 55px 1fr;font-size:11px}}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.metric #currentName{font-size:20px}.metric small{display:block;margin-top:7px;color:#5d6878}.searchbox{margin-bottom:14px}.searchgrid{display:grid;grid-template-columns:1.2fr .8fr .8fr 2fr auto;gap:12px;align-items:end}.searchgrid label{display:grid;gap:6px;font-size:12px;font-weight:700}.label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.checks{display:flex;gap:9px;flex-wrap:wrap}.checks label{display:flex;align-items:center;gap:4px;font-weight:500}.searchbtn{height:38px}.sortable{cursor:pointer;user-select:none}.pager{display:flex;justify-content:center;gap:6px;padding:16px}.pager button{border:1px solid #d9e0ea;background:#fff;border-radius:7px;padding:6px 10px;cursor:pointer}.pager button.active{background:#111827;color:#fff}.tabs{display:flex;border-bottom:1px solid #dfe5ed;padding:0 20px}.tabs button{border:0;background:none;padding:14px 18px;font-weight:800;color:#687386;cursor:pointer}.tabs button.active{color:#2463d4;border-bottom:3px solid #2463d4}.tabpane{display:none;padding:20px}.tabpane.active{display:block}.tabhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.span9{grid-column:span 3}.span3{grid-column:span 1}.participant-head{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;margin-bottom:6px}.participant-head button{border:0;background:#eef3f8;border-radius:6px;padding:6px;font-size:11px;cursor:pointer}.payedit{display:grid;grid-template-columns:92px 92px;gap:5px}.payedit select,.payedit input{width:100%;padding:5px;border:1px solid #d8dee8;border-radius:6px}.five{grid-template-columns:1.1fr .65fr 1fr .7fr auto!important}.table-edit{width:150px;padding:6px;border:1px solid #d8dee8;border-radius:6px}.scoreboard-id{width:180px;padding:6px;border:1px solid #d8dee8;border-radius:6px}@media(max-width:1100px){.searchgrid{grid-template-columns:1fr 1fr}.grid3{grid-template-columns:1fr}.span9,.span3{grid-column:auto}}

/* Search UI normalization */
.searchbox{padding:18px 20px}
.searchgrid{grid-template-columns:minmax(220px,1.35fr) minmax(170px,.85fr) minmax(180px,.85fr) minmax(430px,1.7fr) 78px;gap:14px;align-items:end}
.searchgrid>label,.searchgrid>div{min-width:0}
.searchgrid input,.searchgrid select{
 width:100%;height:40px;padding:0 12px;border:1px solid #d7deea;border-radius:8px;
 background:#fff;color:#17213a;font:inherit;font-size:13px;outline:none
}
.searchgrid input:focus,.searchgrid select:focus{border-color:#6d9cff;box-shadow:0 0 0 3px #2563eb12}
.searchgrid .checks{height:40px;display:flex;align-items:center;gap:12px;flex-wrap:nowrap;padding:0 2px}
.searchgrid .checks label{display:flex;grid-template-columns:auto auto;align-items:center;gap:5px;white-space:nowrap;font-size:12px;font-weight:600}
.searchgrid .checks input{width:15px;height:15px;padding:0;margin:0;accent-color:#2563eb}
.searchgrid .searchbtn{width:78px;height:40px;padding:0}
@media(max-width:1250px){
 .searchgrid{grid-template-columns:1fr 1fr 1fr}
 .searchgrid>div{grid-column:1/3}.searchgrid .searchbtn{grid-column:3}
}

/* Tournament detail modal: keep a fixed frame while switching tabs */
#tournamentModal .modalbox.xl{
  width:min(1480px,94vw);
  height:min(820px,90vh);
  min-height:min(820px,90vh);
  max-height:90vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
#tournamentModal .modalhead{flex:0 0 auto}
#tournamentModal .tabs{
  flex:0 0 52px;
  min-height:52px;
  box-sizing:border-box;
}
#tournamentModal .tabpane{
  flex:1 1 auto;
  min-height:0;
  height:calc(100% - 112px);
  overflow:auto;
  box-sizing:border-box;
}
#tournamentModal .tabpane.active{
  display:block;
}
#tournamentModal #tab-detail .detailgrid{
  min-height:100%;
  align-items:stretch;
}
#tournamentModal:not(.is-registration) #tournamentDetailGrid > :is(.detailmain,.participants){
  padding-top:0;
}
#tournamentModal #tab-draw,
#tournamentModal #tab-operation{
  min-height:0;
}
#tournamentModal #tab-operation table{
  width:100%;
}
@media(max-height:760px){
  #tournamentModal .modalbox.xl{
    height:92vh;
    min-height:92vh;
    max-height:92vh;
  }
}

.api-state{font-size:11px;padding:7px 10px;border-radius:16px;background:#eef2f7;color:#667085}.api-state.ok{background:#e8fff5;color:#087b50}.api-state.warn{background:#fff7e8;color:#9a6700}
.head-actions{display:flex;gap:8px;align-items:center}.list-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line);font-size:12px}.list-toolbar select{padding:6px 28px 6px 8px;border:1px solid #d8deea;border-radius:7px;background:#fff}
.count-link{border:0;background:#edf4ff;color:#2563eb;font-weight:900;border-radius:8px;padding:5px 9px;cursor:pointer}.type{display:inline-block;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:900}.type.digital{background:#edf4ff;color:#2563eb}.type.analog{background:#f2f4f7;color:#667085}
.money{display:flex;align-items:center;border:1px solid #d8deea;border-radius:9px;background:#fff;overflow:hidden;height:42px}.money input{border:0!important;border-radius:0!important;height:100%;min-width:0}.money span{flex:0 0 34px;color:#667085;font-size:12px}.field .money:has(input:disabled){background:#f7f8fa}
.upload-row{display:flex;align-items:center;gap:10px;margin-top:18px}.file-btn input{display:none}.file-info{font-size:11px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.participant-table-wrap{height:460px;overflow-y:auto;overflow-x:hidden;container-type:inline-size;border:1px solid var(--line);border-radius:10px;background:#fff}.participant-table{width:100%;table-layout:fixed}.participant-table th{position:sticky;top:0;z-index:1}.participant-table td,.participant-table th{padding:9px 7px;font-size:11px}.participant-add{grid-template-columns:1.1fr .55fr 1fr .7fr auto!important}.participant-add input,.participant-add select{min-width:0}
.smallbox{width:min(520px,94vw)}.modalbody{padding:20px}.modalbody>label,.formstack label{display:grid;gap:6px;font-size:12px;font-weight:800;margin-bottom:12px}.modalbody input,.modalbody select,.operation-dialog input,.operation-dialog select{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d8deea;border-radius:8px}.formstack em{color:#e5484d}.validation{color:#d92d20;font-size:11px;min-height:18px;margin-bottom:8px}.wide{width:100%}
.notice{margin-bottom:12px;padding:10px 13px;border:1px solid #dce7f7;background:#f6f9ff;border-radius:10px;font-size:11px;color:#58677d}
.live-dot{color:#0b8f5b;font-size:11px;font-weight:900}.bracketbox{width:min(1200px,96vw);height:min(820px,92vh);overflow:hidden;display:flex;flex-direction:column}.bracket-preview{padding:24px;overflow:auto;flex:1;background:#f5f7fa}.print-sheet{background:#fff;max-width:1050px;margin:auto;padding:32px;min-height:650px;box-shadow:0 3px 18px #0001}.print-sheet h1{text-align:center}.preview-groups{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.preview-groups section{border:1px solid #ccd5e3;border-radius:8px;padding:10px}.preview-groups section div{padding:7px 3px;border-bottom:1px solid #edf0f5}.knockout{margin-top:28px;border-top:2px solid #172033;padding-top:16px}.bracket-lines{font-family:monospace;white-space:pre;line-height:1.9;font-size:14px}
#scoreboardFields{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
@media print{body>*{display:none!important}#bracketModal{display:block!important;position:static;background:#fff;padding:0}#bracketModal .modalbox{box-shadow:none;width:100%;height:auto;max-height:none}.bracketbox .modalhead{display:none}.bracket-preview{padding:0;background:#fff;overflow:visible}.print-sheet{box-shadow:none;max-width:none;margin:0;padding:10mm}}

/* 2026-09 UI/UX refinement */
.list-toolbar{min-height:44px;box-sizing:border-box}.page-size-label{display:flex!important;align-items:center;gap:8px;white-space:nowrap}.page-size-label select{height:32px;min-width:70px;margin:0}
.asset-panel{margin-top:16px;border:1px solid #e0e6ef;border-radius:12px;overflow:hidden;background:#fff}.asset-row{display:grid;grid-template-columns:150px auto 1fr;align-items:center;gap:10px;padding:12px 14px}.asset-row+.asset-row{border-top:1px solid #edf0f5}.asset-label{display:flex;flex-direction:column;gap:3px}.asset-label b{font-size:12px;color:#172033}.asset-label small{font-size:10px;color:#8a94a6}.asset-row .file-info{padding:8px 10px;border-radius:8px;background:#f7f9fc}
.pay-select{width:100%;min-width:0;padding:7px 5px;border:1px solid #d8deea;border-radius:7px;background:#fff;font-size:11px}.inline-money{display:flex;align-items:center;width:100%;height:32px;border:1px solid #d8deea;border-radius:7px;background:#fff;overflow:hidden}.inline-money input{flex:1;width:0;min-width:0;border:0!important;padding:6px!important;text-align:right;font-size:11px}.inline-money span{font-size:10px;color:#667085}.primary-mini{background:#edf4ff!important;color:#2463eb!important;border-color:#b9d1ff!important}.primary-mini.dirty{background:#2463eb!important;color:#fff!important}
.rr-sheet{max-width:1100px!important}.rr-head{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #172033;margin-bottom:20px;padding-bottom:12px}.rr-head h1{margin:0;text-align:left;font-size:24px}.rr-head p{margin:4px 0 0;color:#667085}.rr-guide{font-size:10px;color:#667085}.rr-section{margin-bottom:28px}.rr-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.rr-title b{font-size:17px}.rr-title span{font-size:10px;color:#667085}.rr-table{width:100%;border-collapse:collapse;table-layout:fixed;border:2px solid #4c5565}.rr-table th,.rr-table td{height:42px;border:1px solid #7d8796;text-align:center;padding:3px;font-size:11px}.rr-table thead th{background:#f2b1b4;font-weight:900}.rr-table .name-col{width:120px}.rr-table .level-col{width:58px}.rr-table .result-col{width:48px;background:#f4e7ad}.rr-table .player-name{background:#f4b7ba;font-weight:800;text-align:left;padding-left:10px}.rr-table tbody td:nth-child(2){background:#f8c8ca}.rr-table .self-cell{background:#fff7cc;color:#a18a27;font-weight:800}.rr-table .rank-cell{background:#fffbe8}.score-cell{background:#fff}
@media(max-width:900px){.asset-row{grid-template-columns:1fr}}

.auth-hidden{display:none!important}.auth-loading{min-height:100vh;display:grid;place-items:center;color:var(--muted);font-size:14px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(135deg,#edf4ff,#f8faff 48%,#eef3fb)}.login-layout{width:min(980px,100%)}.login-shell{width:100%;min-height:610px;display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border:1px solid #e0e7f2;border-radius:26px;overflow:hidden;box-shadow:0 28px 80px #234a8618}.login-brand-panel{padding:62px 56px;background:linear-gradient(145deg,#145ee8,#2c7df4);color:#fff;display:flex;flex-direction:column;justify-content:center}.login-brand{font-size:27px;font-weight:950}.login-brand small{font-size:12px;margin-left:7px}.login-brand-panel h1{font-size:42px;line-height:1.18;margin:60px 0 18px;letter-spacing:-2px}.login-guide{font-size:14px;line-height:1.65;color:#fff}
.login-guide p{margin:0 0 8px}
.login-guide p:last-child{margin-bottom:0}
.login-resources{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}
.login-points{display:grid;gap:10px;font-size:12px}
.login-app-link{display:grid;justify-items:center;gap:6px;color:inherit;font-size:12px;font-weight:800;text-decoration:none}
.login-app-link:hover span{text-decoration:underline}
.login-app-link img{display:block;max-width:100%;height:auto;background:#fff;border-radius:8px}
.login-card{padding:40px 54px;display:flex;flex-direction:column;justify-content:center}.login-mobile-brand{display:none}.login-card h2{font-size:30px;margin:0 0 8px}.login-sub{margin:0 0 30px;color:#7a8598;font-size:12px}.login-card form>label{display:grid;gap:8px;font-size:12px;font-weight:800;color:#39445a;margin-bottom:15px}.login-card input{width:100%;height:48px;border:1px solid #d7dfeb;border-radius:10px;padding:0 14px}.password-box{position:relative}.password-box input{padding-right:55px}.password-box button{position:absolute;right:8px;top:8px;height:32px;border:0;background:#f1f4f8;border-radius:7px;color:#667085;font-size:10px;font-weight:800}.login-main-btn{width:100%;height:48px;border:0;border-radius:10px;background:#2563eb;color:#fff;font-weight:900}.login-error{min-height:20px;margin:-3px 0 8px;color:#d92d20;font-size:11px}.login-divider{display:flex;align-items:center;gap:12px;color:#98a2b3;font-size:10px;margin:22px 0}.login-divider:before,.login-divider:after{content:"";height:1px;background:#e5e9f0;flex:1}.social-login{width:100%;height:46px;border-radius:10px;border:1px solid #e1e6ee;background:#fff;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:800;margin-bottom:10px}.kakao-login{background:#fee500;border-color:#fee500;color:#191919}.google-login-wrap{height:46px;display:flex;justify-content:center;overflow:hidden}
.login-company{margin-top:12px;padding:0 8px;color:#586579;font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.login-company strong{display:block;margin-bottom:4px;color:#243249;font-size:12px}
.login-company-details{display:flex;flex-wrap:wrap;gap:2px 16px}
.login-company p{margin:0}
.login-company .login-copyright{margin-top:8px}
.account-area{margin-left:auto;display:flex;align-items:center;gap:9px}.account-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#edf4ff;color:#2563eb;font-weight:950}.account-text{display:flex;flex-direction:column;min-width:90px}.account-text b{font-size:11px}.account-text small{font-size:9px;color:#8792a5}.logout-btn{border:1px solid #dce3ed;background:#fff;border-radius:8px;padding:7px 9px;color:#667085;font-size:10px;font-weight:800}@media(max-width:760px){.login-shell{grid-template-columns:1fr;min-height:auto}.login-brand-panel{grid-row:2;padding:24px 30px}
.login-brand-panel :is(.login-brand,h1,.login-points),.login-guide p:first-child{display:none}
.login-resources{justify-content:center;margin-top:16px}.login-card{padding:42px 30px}.login-mobile-brand{display:block;color:#2563eb;font-size:20px;font-weight:950;margin-bottom:38px}.account-text{display:none}}

.google-login{background:#fff;border:1px solid #d7dfeb;color:#25324b;cursor:pointer}.google-login:hover{background:#f8fafc}.google-g{font-family:Arial,sans-serif;font-size:18px;font-weight:800;color:#4285f4;line-height:1}.google-login:disabled{opacity:.55;cursor:not-allowed}

/* Keep native date and time fields in the same typeface as the rest of the form. */
#tab-detail .formgrid input,
#tab-detail .formgrid select,
#qDate {
  font-family: inherit;
}
#tab-detail .formgrid input::-webkit-datetime-edit,
#qDate::-webkit-datetime-edit {
  font-family: inherit;
}

.field-hint{display:block;margin-top:4px;color:#667085;font-size:11px}
.poster-thumbnail{display:block;width:160px;height:104px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#f7f9fc}
.poster-preview{position:relative;width:fit-content;max-width:100%;margin-top:10px}
.poster-remove{
  position:absolute;top:6px;right:6px;
  display:grid;place-items:center;width:28px;height:28px;padding:0;
  border:1px solid #d8deea;border-radius:50%;background:#fff;color:#39445a;
  font:600 20px/1 Arial,sans-serif;cursor:pointer;
}
.poster-remove:hover:not(:disabled){background:#fff0f0;color:#c84242}
.poster-remove:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.poster-remove:disabled{opacity:.5;cursor:default}

#tournamentModal.is-registration .modalbox.xl {
  width:min(840px,94vw);
  height:auto;
  min-height:0;
}
#tournamentModal.is-registration #tab-detail {
  height:auto;
  padding:20px;
}
#tournamentModal.is-registration .detailgrid {
  grid-template-columns:minmax(0,1fr);
  min-height:0;
}
#tournamentModal.is-registration .detailmain {
  border-right:0;
}
:is(#tab-detail,#tab-sponsors) .tournament-form-footer {
  display:grid;
  grid-template-columns:minmax(0,1fr) min(240px,32%);
  grid-template-rows:auto 1fr;
  align-items:start;
  column-gap:16px;
}
:is(#tab-detail,#tab-sponsors) .tournament-form-footer .asset-panel {
  grid-area:1 / 1;
}
:is(#tab-detail,#tab-sponsors) .tournament-form-footer .asset-row {
  grid-template-columns:max-content auto minmax(0,1fr);
}
:is(#tab-detail,#tab-sponsors) .tournament-form-footer .file-info {
  min-width:0;
  max-width:200px;
}
:is(#tab-detail,#tab-sponsors) .tournament-form-footer .actions {
  grid-area:2 / 1;
}
:is(#tab-detail,#tab-sponsors) .tournament-form-footer .poster-preview {
  grid-area:1 / 2 / 3 / 3;
  width:100%;
  margin-top:16px;
}
#tab-detail .tournament-form-footer .poster-thumbnail {
  width:100%;
  height:170px;
}
@media(max-width:620px){
  #tournamentModal.is-registration #tab-detail{padding:12px}
  #tournamentModal.is-registration .detailmain{padding:8px}
  :is(#tab-detail,#tab-sponsors) .tournament-form-footer{grid-template-columns:minmax(0,1fr);column-gap:0}
  :is(#tab-detail,#tab-sponsors) .tournament-form-footer .asset-row{grid-template-columns:1fr}
  :is(#tab-detail,#tab-sponsors) .tournament-form-footer .poster-preview{grid-area:2 / 1;justify-self:end;width:min(240px,100%)}
  :is(#tab-detail,#tab-sponsors) .tournament-form-footer .actions{grid-area:3 / 1}
}

.field-label{
  position:relative;display:flex;align-items:center;gap:6px;min-height:18px;margin-bottom:4px;
}
.field-label label{margin:0}
.field-info summary{
  display:grid;place-items:center;width:20px;height:20px;list-style:none;
  border:1px solid #d8deea;border-radius:50%;color:#445679;background:#f7f8fa;
  font:bold 12px/1 Arial,sans-serif;cursor:pointer;
}
.field-info summary::-webkit-details-marker{display:none}
.field-info summary:hover,.field-info[open] summary{background:#e8efff;color:#245bd0}
.field-info summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.field-info p{
  position:absolute;z-index:2;top:calc(100% + 4px);left:0;
  width:100%;max-width:260px;margin:0;padding:9px 11px;border:1px solid #d8deea;
  border-radius:8px;background:#fff;color:#334155;box-shadow:0 4px 12px #17213a1a;
  font-size:12px;line-height:1.5;overflow-wrap:anywhere;
}

.participant-small{width:39px}
.participant-payment{width:76px}
.participant-amount{width:82px}
.participant-actions{width:142px}
.participant-truncate{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.participant-table .inline-money{padding-right:6px}
.participant-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:3px}
.participant-row-actions button{white-space:nowrap;padding:5px;font-size:10px}
.refund-requested{font-size:10px;color:#80570a;white-space:nowrap}
@container (max-width:580px){
  .participant-table,.participant-table tbody{display:block;width:100%}
  .participant-table colgroup{display:none}
  .participant-table thead{display:block;position:sticky;top:0;z-index:1;background:#fff}
  .participant-table thead tr{display:flex;flex-wrap:wrap}
  .participant-table th:nth-child(n+7){display:none}
  .participant-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px;border-bottom:1px solid var(--line)}
  .participant-table tbody td{display:block;min-width:0;border:0;padding:5px 6px}
  .participant-table tbody td[data-label]::before{content:attr(data-label);display:block;margin-bottom:3px;color:#667085}
  .participant-table tbody .manage-cell{grid-column:1/-1}
}

.participant-table-wrap{scroll-padding-top:36px}
.participant-table .participant-added{background:#edf4ff}

.participant-list-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.participant-list-heading .section-title{margin:0}
#participantSearch{width:min(180px,100%);min-width:0;padding:7px 9px;border:1px solid #d8deea;border-radius:8px;font-size:12px}
.participant-table .participant-search-empty{text-align:center;color:#667085}
@container (max-width:580px){.participant-search-empty{grid-column:1/-1}}

.board-link{text-decoration:none}

/* Participant statuses retain their text labels when displayed in color. */
.participant-table .pay-select,
.participant-row-actions .participant-checkin,
.participant-row-actions .participant-refund-request,
.participant-row-actions .participant-refund-cancel{font-weight:700}
.participant-table .pay-select,
.participant-table .pay-select option[value="false"]{color:#a12b2b}
.participant-table .pay-select:has(option[value="true"]:checked),
.participant-table .pay-select option[value="true"]{color:#166534}
.participant-row-actions .participant-checkin{color:#525e70}
.participant-row-actions .participant-checkin.is-checked-in{color:#1d4ed8}
.participant-row-actions .participant-refund-request{color:#92400e}
.participant-row-actions .participant-refund-cancel{color:#6b21a8}

#sponsorForm{margin-bottom:18px}
#sponsorDraftRows:not(:empty){margin:12px 0 18px}
.sponsor-draft{position:relative;max-width:800px;min-height:68px;margin:0 0 12px;padding-right:38px}
#tab-sponsors .sponsor-draft .asset-panel,#tab-sponsors .sponsor-draft .poster-preview{margin-top:0}
.sponsor-draft .sponsor-remove-row{top:4px;right:0}
#sponsorForm .actions{align-items:center}
#sponsorRemovalStatus{margin:0}
#sponsorRemovalStatus:not(:empty){color:#a13a30}
#tab-sponsors .sponsor-thumbnail{width:100%;height:auto;aspect-ratio:16 / 9}
.sponsor-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),240px));gap:12px;margin:12px 0;padding:0;list-style:none}
.sponsor-images li{position:relative;min-width:0}
.sponsor-images .sponsor-image-error{display:block;padding:10px 42px 10px 10px;background:#f7f9fc;border:1px solid var(--line);border-radius:8px}

.operation-message{color:#536176;margin:0 0 12px}
.operation-message:empty{display:none}
.operation-table-wrap{overflow-x:auto}
.operation-table{min-width:950px}
.operation-table td{vertical-align:middle}
.operation-sets-heading{white-space:nowrap}
.operation-sets-heading .mini{margin-left:4px}
.operation-sets-heading .mini:disabled{opacity:.45;cursor:default}
.operation-table .status{margin:0;white-space:nowrap}
.operation-line{display:block;line-height:22px}
.operation-names .operation-line{max-width:clamp(145px,18vw,250px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.operation-scores{font-weight:600;font-variant-numeric:tabular-nums}
.operation-win{color:#087553}
.operation-loss{color:#9b3444}
.operation-buttons{display:flex;flex-wrap:wrap;gap:4px}
.operation-buttons button{white-space:nowrap}
.operation-row-notice{margin:4px 0 0;color:#b42318;font-size:12px;font-weight:600}
.operation-buttons button:disabled{opacity:.45;cursor:default}
.operation-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid #dbe2ef;border-radius:14px;color:#182439;background:#fff}
.operation-dialog input,.operation-dialog select{font-family:inherit;color:inherit;background:#fff}
.operation-dialog::backdrop{background:rgba(18,28,49,.5)}
.operation-dialog #operationFields{padding:16px 20px 0}
.operation-dialog #operationError{padding:0 20px;margin:10px 0;color:#a12b2b}
.operation-dialog .actions{padding:0 20px 16px}
.operation-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.operation-form-grid label{display:grid;gap:5px;font-size:13px;font-weight:650}
.operation-form-grid fieldset{margin:0;padding:9px;border:1px solid #dbe2ef;border-radius:8px;min-width:0}
.operation-form-grid fieldset label+label{margin-top:9px}
.operation-form-grid .operation-round{grid-column:1/-1}
.operation-dialog p{line-height:1.45}

#tab-detail .detail-footer-actions{align-items:center;flex-wrap:wrap}
#guideLinkPanel{display:flex;gap:8px;margin-inline-start:auto}
#guideLinkUrl{flex:0 0 100%;width:100%;min-width:0;padding:8px;border:1px solid #d8deea;border-radius:8px;font:inherit}

#tournamentRows .delete-tournament-action{color:#a52633;border-color:#efc3c9}
#tournamentRows .delete-tournament-action:hover{background:#fff0f2}
#deleteTournamentName{overflow-wrap:anywhere}
#deleteTournamentDialog .delete-tournament-confirm{background:#b42b3c;color:#fff}
#deleteTournamentDialog .delete-tournament-confirm:hover:not(:disabled){background:#962131}
#deleteTournamentWarning,#deleteTournamentError{margin:.55rem 0 0}
#deleteTournamentError{color:#a52633}


.participant-entry{display:grid;gap:8px;margin-top:8px}
.participant-entry label{display:grid;gap:4px;min-width:0;font-size:12px;font-weight:600}
.participant-entry input,.participant-entry select{width:100%;min-width:0;min-height:35px;padding:6px 9px;border:1px solid #d8deea;border-radius:9px;background:#fff;color:inherit;font-family:inherit;font-size:13px;font-weight:400}
.participant-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.participant-entry > button{justify-self:end}
@media(min-width:800px){.participant-entry-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,.65fr) minmax(0,1.2fr) minmax(0,.75fr)}}

#tab-participants .participants{padding:0;background:#fff}
#tab-participants .addbox{display:none}
.participant-grade-col{width:120px}
.participant-level-col{width:146px}
#tab-participants .participant-requested-level{width:66px}
.participant-grade-controls{display:flex;align-items:center;gap:5px}
.participant-grade-select{width:100%;min-width:0;font:inherit;color:inherit;background:#fff;border:1px solid #d8deea;border-radius:7px;padding:6px}
.participant-grade-controls button:disabled{opacity:.45;cursor:not-allowed}
.participant-table [hidden]{display:none}
#detailTabs{overflow-x:auto}
#detailTabs button{flex-shrink:0;white-space:nowrap}

#testParticipantButton{flex-shrink:0;white-space:nowrap}
#testParticipantTeamSizeField[hidden]{display:none}
.participant-name-col{width:clamp(88px,18%,160px)}
#tab-participants .participant-name-col{width:clamp(110px,17%,220px)}
.participant-name{display:block;white-space:normal;overflow-wrap:anywhere;word-break:keep-all}
.participant-list-heading .head-actions{max-width:100%}
#tab-participants .participant-table-wrap{overflow-x:auto}
@container (width > 580px){
  #tab-participants .participant-table{min-width:827px}
}

.participant-no-col{width:46px}
.participant-table .participant-no{font-variant-numeric:tabular-nums}
.participant-table .participant-sort-heading{padding:0}
.participant-sort-button{display:flex;align-items:center;gap:2px;width:100%;padding:9px 7px;border:0;background:none;color:inherit;font:inherit;text-align:left;white-space:nowrap;cursor:pointer}
.participant-sort-button:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.participant-sort-heading[aria-sort] .participant-sort-arrow{color:#1d4ed8}

.draw-management{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px}
.draw-rule-panel{min-width:0;min-height:200px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}
.draw-rule-panel h2{font-size:16px;margin:0 0 12px}
#drawRuleTarget.is-drag-over{border-color:var(--blue);background:#f3f7ff}
.draw-rule-formats,.draw-rule-options,.draw-rule-list{display:flex;flex-wrap:wrap;gap:8px}
.draw-rule-formats{border-bottom:1px solid var(--line);gap:4px}
.draw-rule-formats button{margin-bottom:-1px;padding:9px 14px;border:0;border-bottom:2px solid transparent;background:none;color:#52617a;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.draw-rule-formats button[aria-selected="true"]{border-bottom-color:var(--blue);color:var(--blue)}
#drawRuleEmpty[hidden]{display:none}
.draw-rule-list{display:flex;flex-wrap:wrap;gap:8px}
.draw-rule-formats{border-bottom:1px solid var(--line);gap:4px}
.draw-rule-formats button{margin-bottom:-1px;padding:9px 14px;border:0;border-bottom:2px solid transparent;background:none;color:#52617a;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.draw-rule-formats button[aria-selected="true"]{border-bottom-color:var(--blue);color:var(--blue)}
#drawRuleEmpty[hidden]{display:none}
.draw-rule-options button{cursor:grab}
.draw-rule-options button:active{cursor:grabbing}
.draw-rule-options button:disabled{cursor:not-allowed}
.draw-rule-unavailable{margin-inline-start:4px}
.draw-rule-list{list-style:none;padding:0;margin:12px 0 0}
.draw-rule-list li{position:relative;max-width:100%;padding:9px 33px 9px 11px;border:1px solid #d8e4f6;border-radius:8px;background:#f0f5fd;color:#315a9c;font-size:12px;font-weight:700}
.draw-rule-remove{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:5px;background:transparent;color:#315a9c;font-size:19px;line-height:1;cursor:pointer}
.draw-rule-remove:hover{background:#fee2e2;color:#991b1b}
.draw-rule-remove:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.draw-rule-remove[aria-disabled="true"]{opacity:.55;cursor:wait}
#drawTeamsOpen{margin-top:16px}
#drawTeamsOpen[hidden],#drawTeamsPanel[hidden],#drawTeamsReplace[hidden]{display:none}
.draw-rule-select{border:0;padding:0;background:none;color:inherit;font:inherit;cursor:pointer;text-align:left}
.draw-rule-list li:has(.draw-rule-select[aria-pressed="true"]){border-color:var(--blue);background:#e7f0ff}
#drawTeamsRoster{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}
.draw-team-card{min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fafcff}
.draw-team-card.is-drop-target{border-color:var(--blue);background:#edf4ff}
.draw-team-card h3{margin:0 0 9px;font-size:13px}
.draw-team-players{display:flex;flex-wrap:wrap;gap:6px}
.draw-team-players button{display:grid;justify-items:start;gap:2px;max-width:100%;white-space:normal;text-align:left;cursor:grab;overflow-wrap:anywhere}
.draw-team-player-club{color:#52617a;font-size:11px;font-weight:500}
.draw-team-players button[aria-pressed="true"]{outline:2px solid var(--blue)}
.draw-team-place{margin-top:8px}
@media(max-width:680px){.draw-management{grid-template-columns:1fr}}

.phase-draw-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.phase-draw-toolbar label{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700}
.phase-draw-toolbar select{padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:inherit;font:inherit}
.phase-draw-toolbar .draw-rule-formats{flex:1}
#phaseDraw[hidden],#phaseDraw [hidden],#legacyDrawControls[hidden]{display:none}
.phase-draw-category + .phase-draw-category{margin-top:20px}
.phase-draw-category>summary{font-size:16px;font-weight:800;color:#233c62;cursor:pointer}
.phase-draw-category[open]>summary{margin-bottom:10px}
.phase-draw-subheader{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
#phaseCategoryActions{margin-top:10px}
.phase-draw-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(410px,100%),1fr));gap:12px}
.phase-draw-group{min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.phase-draw-group h3,.phase-round h3{margin:0 0 9px;font-size:14px}
.phase-standings-scroll{overflow-x:auto}
.phase-draw-group table{min-width:335px;width:100%;border-collapse:collapse;font-size:12px}
.phase-draw-group th,.phase-draw-group td{padding:7px;border-bottom:1px solid var(--line);text-align:left}
.phase-draw-group .phase-rank-cell{text-align:center;white-space:nowrap}
.phase-rank-badge{display:inline-block;min-width:2em;padding:3px 5px;border-radius:5px;line-height:1.2;font-weight:800}
.phase-rank-badge[data-rank="1"]{background:#ffdb73;color:#573800}
.phase-rank-badge[data-rank="2"]{background:#dceaff;color:#163f82}
.phase-rank-badge[data-rank="3"]{background:#e4e7eb;color:#3f4a59}
.phase-draw-group small,.phase-slot small{display:block;margin-top:2px;color:#52617a;font-size:11px}
.phase-draw-group summary{cursor:pointer}
.phase-draw-group ul{padding-inline-start:18px}
.phase-group-games{margin-top:10px;font-size:12px}
.phase-group-games li{margin-top:4px}
.phase-qualifies{color:#1d4ed8}
.phase-bracket{overflow-x:auto;padding:4px 4px 13px}
.phase-bracket-grid{position:relative;display:flex;gap:26px;width:max-content}
.phase-bracket-wires{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.phase-bracket-wires path{fill:none;stroke:#a8b9d3;stroke-width:1}

.phase-round{display:flex;flex-direction:column;flex:0 0 174px}
.phase-round:has(.phase-slot > div > .phase-bracket-entrant .phase-bracket-club, .phase-bracket-roster[open]){flex-basis:max-content;min-width:174px}
.phase-round-games{display:flex;flex-direction:column;justify-content:space-around;flex:1;gap:14px}
.phase-match{position:relative;border:1px solid var(--line);border-radius:8px;background:#fff}
.phase-slot{display:flex;justify-content:space-between;gap:6px;padding:7px 9px;font-size:12px;overflow-wrap:anywhere}
.phase-slot+ .phase-slot{border-top:1px solid var(--line)}
.phase-winner{background:#eaf3ff;color:#1d4ed8;font-weight:700}
#legacyDrawControls.has-phase-view #groups,#legacyDrawControls.has-phase-view #teamDrawResults{display:none}

.phase-draw-group th{white-space:nowrap}

.phase-slot > div{min-width:0}
.phase-bracket-entrant{white-space:nowrap}
.phase-bracket-club{color:#52617a;font-size:11px;font-weight:400}
.phase-score{flex:none;font-variant-numeric:tabular-nums}
.phase-score-win{color:#b4232e}
.phase-bracket-roster summary{color:#1d4ed8;font-weight:700;cursor:pointer}
.phase-bracket-roster summary:focus-visible{outline:2px solid #1d4ed8;outline-offset:2px;border-radius:3px}
.phase-bracket-roster ul{display:grid;gap:5px;margin:6px 0 0;padding:6px 0 0 12px;border-top:1px solid var(--line);list-style:none;color:#233c62;font-weight:400}

.operation-prelim-progress,.phase-progress{display:inline-block;padding:2px 7px;border-radius:999px;background:#eaf1ff;color:#234b92;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.operation-prelim-progress{display:table;margin-top:4px;font-size:11px}
.operation-prelim-detail{display:block;margin-top:4px;color:#435674;overflow-wrap:anywhere}
.phase-group-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;font-size:12px;color:#435674}
.phase-group-heading h3{margin:0 auto 0 0}
.phase-progress.complete{background:#e6f5eb;color:#205a36}
.phase-group-games ol{padding-inline-start:22px}
.phase-group-games li{padding:4px 0;overflow-wrap:anywhere}
.phase-game-result{display:inline-block;padding:0 5px;color:#234b92}

#preliminaryRankFields .field{display:grid;grid-template-columns:minmax(0,1fr) 8rem;align-items:center}
#preliminaryRankError{padding:0 20px;color:#a12b2b}
#preliminaryRankError:empty{display:none}

.detail-settings-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:16px}
.detail-settings-tabs button{font:inherit;font-size:13px;font-weight:700;color:#52617a;background:transparent;border:0;border-bottom:2px solid transparent;padding:9px 14px;cursor:pointer}
.detail-settings-tabs button[aria-selected="true"]{border-bottom-color:var(--blue);color:var(--blue)}
.stage-rules{display:grid;gap:12px;margin-top:14px}
.stage-rules fieldset{margin:0;min-width:0;border:1px solid var(--line);border-radius:10px;padding:12px 16px}
.stage-rules legend{padding:0 5px;font-size:14px;font-weight:800}
.stage-rules .field{
 display:grid;gap:6px;align-content:start;min-width:0;
 font-size:11px;font-weight:800;line-height:18px;color:#667085
}
.stage-rules .field-label{margin-bottom:0}
.stage-rules .field > :is(input,select){
 min-width:0;height:42px;font-family:inherit;font-size:13px;font-weight:400
}
.stage-rules .team-skip{font-size:12px;font-weight:600}
.stage-rules .team-skip .field-hint{margin:0}
.stage-rules .phase-fields{padding:0;margin:0}
.stage-rules input[readonly]{background:#f6f8fb;color:#52617a}

.detail-settings-tabs[hidden],#participantTableWrap[hidden],#participantPanel .addbox[hidden]{display:none}
.detail-settings-tabs button[aria-pressed="true"]{border-bottom-color:var(--blue);color:var(--blue)}
.team-partner-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:12px;margin-bottom:10px;border:1px solid var(--line);border-radius:8px}
.team-partner-form label{display:grid;gap:4px;font-size:12px}
.team-partner-form select{padding:6px;border:1px solid var(--line);border-radius:6px;background:white;color:inherit}

#settingsDetails[hidden],#settingsRules[hidden]{display:none}
.settings-rules-actions{margin-top:16px}

.dashboard-cards{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;margin-bottom:18px}
.current-summary{display:grid;gap:5px;margin:10px 0 0;padding:0;list-style:none;font-size:13px;color:#5d6878}
.current-summary[hidden]{display:none}
.current-summary li span:last-child{color:var(--navy)}
@media(max-width:720px){.dashboard-cards{grid-template-columns:minmax(0,1fr)}}
.dashboard-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dashboard-checklist[hidden],#checklistBoard[hidden]{display:none}
.checklist-item{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;border:1px solid var(--line);border-radius:10px}
.checklist-item h3,.checklist-item dl,.checklist-item dd,.checklist-item p{margin:0}
.checklist-item h3,.checklist-item dl{font-size:13px}
.checklist-item dl{display:grid;gap:5px}
.checklist-item dl div{display:flex;align-items:baseline;gap:8px}
.checklist-item dd,.checklist-item p{font-weight:800;color:var(--navy)}
.checklist-item>button,.checklist-actions{margin-top:auto}
.checklist-actions{display:flex;flex-wrap:wrap;gap:8px}
.checklist-actions a{text-decoration:none}
@media(max-width:720px){.dashboard-checklist{grid-template-columns:minmax(0,1fr)}}

.dashboard-schedule{display:grid;grid-template-columns:minmax(320px,1fr) minmax(0,2fr);gap:16px;margin-top:16px;align-items:start}
.schedule-calendar,.schedule-detail{min-width:0}
.schedule-calendar h2,.schedule-detail h2{margin-top:0}
.calendar-navigation{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.calendar-navigation button{min-width:34px;font-size:17px;line-height:1}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.calendar-weekdays{margin-bottom:4px;text-align:center;font-size:11px;color:var(--muted)}
.calendar-day{width:100%;min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:4px;border:1px solid var(--line);border-radius:5px;background:#fff;color:inherit;text-align:left;font-family:inherit;font-size:11px;cursor:pointer}
.calendar-day:hover,.calendar-day[aria-pressed="true"]{border-color:var(--blue);background:#f1f6ff}
.calendar-day[aria-current="date"] .calendar-day-number{color:var(--blue);font-weight:800}
.calendar-day-number{line-height:1.25}
.calendar-day.has-events .calendar-day-number{font-weight:800}
.calendar-event{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:3px;padding:0 3px;background:#e5efff;color:#204c99;font-size:10px}
.calendar-more{font-size:10px;color:#32558e;line-height:1}
.schedule-detail-table{overflow-x:auto}
.schedule-detail-table table{min-width:465px}
.schedule-detail-table tbody th{background:#fff;white-space:normal}
.schedule-detail-table td{white-space:nowrap}
.schedule-tournament-link{border:0;padding:0;background:none;color:var(--navy);font:inherit;font-weight:800;text-align:left;overflow-wrap:anywhere;cursor:pointer}
.schedule-tournament-link:hover{text-decoration:underline}
@media(max-width:840px){.dashboard-schedule{grid-template-columns:minmax(0,1fr)}}
