.tournament-template-module{width:100%;display:grid;gap:20px;color:#0a2745}.tournament-template-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px 26px;border:1px solid #ddd8cc;border-radius:12px;background:#fff}.tournament-template-intro .eyebrow,.tt-editor-heading span,.tt-library-heading span{display:block;color:#078ea2;font-size:11px;font-weight:800;letter-spacing:.12em}.tournament-template-intro h3,.tt-editor h4,.tt-library h4{margin:4px 0 0;font-weight:700}.tournament-template-intro h3{font-size:26px}.tournament-template-intro p{margin:8px 0 0;color:#647586}.tournament-template-tabs{display:flex;gap:8px;flex:0 0 auto}.tournament-template-tabs button{min-height:42px;padding:8px 17px;border:1.5px solid #901722;border-radius:8px;background:transparent;color:#901722;font-size:14px;font-weight:700}.tournament-template-tabs button.active{background:#901722;color:#fff}.tt-workspace{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(290px,1fr);align-items:start;gap:20px}.tt-editor,.tt-library{border:1px solid #ddd8cc;border-radius:12px;background:#fff}.tt-editor{padding:24px}.tt-library{padding:20px;display:grid;gap:10px;position:sticky;top:18px}.tt-editor-heading,.tt-library-heading,.tt-table-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.tt-editor-heading{margin-bottom:22px}.tt-editor-heading h4,.tt-library-heading h4{font-size:22px}.tt-library-heading{margin-bottom:6px}.tt-library-heading b{display:grid;place-items:center;min-width:34px;height:34px;border-radius:50%;background:#078ea2;color:#fff}.tt-editor fieldset{min-width:0;margin:0 0 18px;padding:18px;border:1px solid #e0ddd5;border-radius:10px;background:#f8f6f1}.tt-editor legend{padding:0 8px;color:#0a2745;font-size:17px;font-weight:700}.tt-fields{display:grid;gap:13px}.tt-fields-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tt-fields-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tt-editor label{display:grid;align-content:start;gap:6px;color:#43586b;font-size:13px;font-weight:700}.tt-editor input,.tt-editor select{box-sizing:border-box;width:100%;height:43px;min-width:0;padding:8px 10px;border:1px solid #d8d4ca;border-radius:7px;background:#fff;color:#0a2745;font:inherit}.tt-editor input:focus,.tt-editor select:focus{outline:2px solid #078ea25c;border-color:#078ea2}.tt-check{display:flex!important;align-items:center;gap:8px;min-height:35px}.tt-check input{width:18px!important;height:18px!important;margin:0}.tt-standalone-check{align-self:end;height:43px}.tt-option-toggle{margin-bottom:12px}.tt-chop-settings{display:grid;gap:12px;margin-bottom:20px;padding:16px;border:1px solid #e0ddd5;border-radius:10px;background:#f8f6f1}.tt-table-heading{margin:25px 0 12px}.tt-table-heading h5{margin:0;font-size:18px}.tt-table-heading p{margin:4px 0 0;color:#71818e;font-size:13px}.tt-table-heading>div:last-child{display:flex;gap:8px}.tt-edit-table{overflow-x:auto;border:1px solid #e0ddd5;border-radius:9px}.tt-edit-head,.tt-edit-row{display:grid;align-items:center;gap:8px;min-width:760px;padding:9px 10px}.tt-level-table .tt-edit-head,.tt-level-table .tt-edit-row{grid-template-columns:minmax(170px,1.6fr) 82px repeat(3,100px) 108px}.tt-payout-table .tt-edit-head,.tt-payout-table .tt-edit-row{min-width:590px;grid-template-columns:repeat(4,minmax(90px,1fr)) 108px}.tt-edit-head{background:#082a4a;color:#fff;font-size:12px;font-weight:700}.tt-edit-row{border-top:1px solid #e6e2da;background:#fff}.tt-edit-row:first-child{border-top:0}.tt-edit-row input{height:38px}.tt-level-name{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:5px}.tt-level-name small{grid-column:2;color:#7c8994;font-size:10px}.tt-level-name .material-symbols-icon{grid-row:1/3;color:#078ea2}.tt-row-actions{display:flex;justify-content:flex-end;gap:4px}.tt-row-actions button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #c9d5d9;border-radius:6px;background:#edf6f6;color:#078696}.tt-row-actions button:last-child{border-color:#e3bec2;background:#fae9eb;color:#a71f2b}.tt-row-actions .material-symbols-icon{font-size:18px}.tt-form-actions{display:flex;gap:10px;margin-top:20px}.tt-form-actions>button{min-height:45px;padding:10px 18px}.tt-editor .subtle-button,.tt-table-heading .subtle-button{min-height:38px;padding:7px 12px;border:1px solid #078ea2;background:transparent;color:#078696}.tt-editor .danger-button{border:1px solid #a51d2a;background:transparent;color:#a51d2a}.tt-editor .danger-button:hover{background:#a51d2a;color:#fff}.tt-list-card{display:grid;width:100%;gap:5px;padding:14px;text-align:left;border:1px solid #ddd8cc;border-radius:8px;background:#f8f6f1;color:#0a2745}.tt-list-card:hover,.tt-list-card.active{border-color:#078ea2;background:#e6f3f2}.tt-list-card strong{font-size:16px}.tt-list-card span{font-size:13px}.tt-list-card small{color:#70808e}.tt-empty{margin:8px 0;color:#71818e}.floor-mode #desk-players:has(.tournament-template-module){display:block;width:100%;max-width:none}.floor-mode #desk-players .tournament-template-module button{cursor:pointer}
.tt-level-table .tt-edit-head,.tt-level-table .tt-edit-row{min-width:930px;grid-template-columns:55px minmax(150px,1.5fr) 76px repeat(3,94px) 72px 108px}.tt-level-table[data-mixed-game="true"] .tt-edit-head,.tt-level-table[data-mixed-game="true"] .tt-edit-row{min-width:1080px;grid-template-columns:55px minmax(150px,1.5fr) 150px 76px repeat(3,94px) 72px 108px}.tt-level-table[data-mixed-game="false"] .tt-game-column{display:none}.tt-level-position{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#078ea2;color:#fff;font-size:14px}.tt-color-up{display:flex!important;align-items:center;justify-content:center;gap:5px}.tt-color-up input{width:17px!important;height:17px!important}
.tt-label-title{display:inline-flex;align-items:center;gap:5px;min-width:0}.tt-level-name{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:7px}.tt-level-name .material-symbols-icon{grid-row:auto;color:#078ea2}.tt-level-name input[readonly]{background:#f1f1ed}.tt-info{position:relative;display:grid!important;place-items:center;width:19px!important;height:19px!important;min-height:0!important;flex:0 0 19px;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#078ea2!important}.tt-info .material-symbols-icon{font-size:17px!important;line-height:1}.tt-info::after{content:attr(data-tooltip);position:absolute;z-index:80;left:50%;bottom:calc(100% + 8px);width:max-content;max-width:290px;padding:9px 11px;border-radius:7px;background:#082a4a;color:#fff;font-size:12px;font-weight:500;line-height:1.4;text-align:left;white-space:normal;box-shadow:0 7px 18px #00162f38;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,4px);transition:opacity .12s ease,transform .12s ease,visibility .12s}.tt-info::before{content:'';position:absolute;z-index:81;left:50%;bottom:calc(100% + 3px);border:5px solid transparent;border-top-color:#082a4a;opacity:0;visibility:hidden;transform:translateX(-50%)}.tt-info:hover::after,.tt-info:focus-visible::after,.tt-info:hover::before,.tt-info:focus-visible::before{opacity:1;visibility:visible;transform:translate(-50%,0)}.tt-info:hover::before,.tt-info:focus-visible::before{transform:translateX(-50%)}
.tt-toggle-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px;margin-bottom:16px}.tt-basic-toggles{margin-top:15px;margin-bottom:0}.tt-reentry-fields{margin-bottom:15px}.tt-rebuy-fields,.tt-ranking-fields,.tt-chop-fields{padding-top:15px;border-top:1px solid #ddd8cc}.tt-ranking-fields,.tt-chop-fields{margin-top:15px}.tt-rebuy-fields[hidden],.tt-ranking-fields[hidden],.tt-chop-fields[hidden]{display:none!important}
.tt-payout-builder{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:start;gap:12px}.tt-payout-group-table{overflow:hidden;border:1px solid #e0ddd5;border-radius:9px;background:#fff}.tt-payout-group-head{display:flex;align-items:center;min-height:43px;padding:8px 10px;background:#082a4a;color:#fff;font-size:12px;font-weight:700}.tt-payout-group-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:7px;padding:9px 10px;border-top:1px solid #e6e2da;background:#fff;cursor:pointer}.tt-payout-group-row.active{background:#dff2f3}.tt-payout-group-row input{height:38px}.tt-payout-group-row button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #e3bec2;border-radius:6px;background:#fae9eb;color:#a71f2b}.tt-payout-group-row .material-symbols-icon{font-size:18px}.tt-payout-table .tt-edit-row[hidden]{display:none!important}
.tt-payout-group-head,.tt-payout-table .tt-edit-head{box-sizing:border-box;height:43px;min-height:43px;padding-top:0;padding-bottom:0;white-space:nowrap}.tt-payout-group-row input[type="number"]{-moz-appearance:textfield;appearance:textfield}.tt-payout-group-row input[type="number"]::-webkit-inner-spin-button,.tt-payout-group-row input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.tt-payout-detail{min-width:0}.tt-payout-table [data-players]{background:#eceeec;color:#6d7880;cursor:default}.tt-payout-total{padding:10px 12px;text-align:right;color:#a51d2a;font-size:15px;font-weight:700}.tt-payout-total.valid{color:#078696}
@media(max-width:1300px){.tt-workspace{grid-template-columns:minmax(0,1fr) 300px}.tt-fields-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
.floor-header #tournament-template-header-tabs{display:flex;align-items:center;gap:8px;flex:0 0 auto}.floor-header #tournament-template-header-tabs button{box-sizing:border-box;min-height:42px;padding:8px 17px!important;border:1.5px solid #901722;border-radius:8px;background:transparent!important;color:#901722!important;font-size:14px;font-weight:700}.floor-header #tournament-template-header-tabs button.active{background:#901722!important;color:#fff!important}
