/* v1.28 Sites & Badges */
.tcm-sb [hidden]{display:none!important}
.tcm-sb-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 18px;padding:4px;background:#f1f4f9;border-radius:12px}
.tcm-sb-tabs a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:9px;text-decoration:none;color:#3c4a5e;font-weight:600;font-size:14px}
.tcm-sb-tabs a:hover{background:#fff}
.tcm-sb-tabs a.is-active{background:#fff;color:#0b5cad;box-shadow:0 1px 3px rgba(10,35,66,.15)}
.tcm-sb-tabs .dashicons{font-size:17px;width:17px;height:17px}
.tcm-sb-orgpick select{min-width:200px}
.tcm-sb-sub{color:#52657d;margin:0 0 12px}
.tcm-sb-empty{text-align:center;padding:30px 16px;border:1px dashed #c8d2e0;border-radius:14px;background:#fafcff}
.tcm-sb-empty .dashicons{font-size:36px;width:36px;height:36px;color:#0b5cad}
.tcm-sb-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:0 0 14px}
.tcm-sb-filter label{display:flex;flex-direction:column;font-size:12px;font-weight:600;color:#52657d;gap:3px}
.tcm-sb-filter label.tcm-check{flex-direction:row;align-items:center;font-weight:400;font-size:14px;color:#1d2b3e}
.tcm-sb-chip{display:inline-block;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700;white-space:nowrap;background:#eef1f5;color:#52657d}
.tcm-sb-chip.is-good{background:#e3f5ea;color:#0a7a3e}
.tcm-sb-chip.is-soon{background:#e3f5ea;color:#0a7a3e;box-shadow:inset 0 0 0 2px #f2b84b}
.tcm-sb-chip.is-warn{background:#fff1d9;color:#a14e00}
.tcm-sb-chip.is-bad{background:#fde4e4;color:#b42318}
.tcm-sb-legend{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.tcm-sb-tablewrap{overflow-x:auto;border:1px solid #e3e8ef;border-radius:12px;margin:0 0 16px;background:#fff}
.tcm-sb-table{width:100%;border-collapse:collapse;font-size:14px}
.tcm-sb-table th,.tcm-sb-table td{padding:9px 12px;border-bottom:1px solid #eef1f5;text-align:left;vertical-align:top}
.tcm-sb-table thead th{background:#f6f8fb;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#52657d}
.tcm-sb-table td small,.tcm-sb-table th small{display:block;color:#6b7a8f;font-weight:400;font-size:12px}
.tcm-sb-table tr.is-done td{opacity:.6}
.tcm-sb-table tr.is-check td{background:#fffaf0}
.tcm-sb-table tr.is-note td{color:#a14e00;font-size:12px;padding-top:0}
.tcm-sb-table input:not([type=checkbox]),.tcm-sb-table select{max-width:160px}
.tcm-sb-matrix thead th{text-align:center;text-transform:none;letter-spacing:0;font-size:13px}
.tcm-sb-matrix thead th a{text-decoration:none;color:#0a2342}
.tcm-sb-matrix td{text-align:center}
.tcm-sb-matrix tbody th{font-weight:600;white-space:nowrap;position:sticky;left:0;background:#fff}
.tcm-sb-rules{border:1px solid #e3e8ef;border-radius:12px;padding:12px 16px;margin:0 0 14px;background:#fbfcfe}
.tcm-sb-rules>div strong{font-size:15px;color:#0a2342}.tcm-sb-rules>div small{display:block;color:#6b7a8f}
.tcm-sb-rules ul{margin:8px 0 4px 18px}
.tcm-sb-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;margin:0 0 16px}
.tcm-sb-card{border:1px solid #e3e8ef;border-radius:14px;padding:14px 16px;background:#fff}
.tcm-sb-card .tcm-sb-rules{border:0;padding:0;background:none}
.tcm-sb-card details summary{cursor:pointer;font-weight:600;color:#0b5cad}
.tcm-sb-count a{text-decoration:none}
.tcm-sb-add{margin:0 0 16px}
.tcm-sb-add>summary{display:inline-flex;cursor:pointer;list-style:none}
.tcm-sb-add>summary::-webkit-details-marker{display:none}
.tcm-sb-add[open]>summary{margin-bottom:12px}
.tcm-sb-form{border:1px solid #e3e8ef;border-radius:12px;padding:14px 16px;background:#fbfcfe;margin:0 0 12px}
.tcm-sb-form h4{margin:14px 0 6px}
.tcm-sb-form>label,.tcm-sb-grid>label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:#3c4a5e;margin:0 0 10px}
.tcm-sb-form label small{font-weight:400;color:#6b7a8f}
.tcm-sb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:4px 14px}
.tcm-sb-grid>label.tcm-check,.tcm-sb-form>label.tcm-check{flex-direction:row;align-items:center;font-weight:400}
.tcm-sb-people{border:1px solid #e3e8ef;border-radius:10px;padding:8px 12px;margin:0 0 10px;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:2px 12px;max-height:220px;overflow:auto}
.tcm-sb-people legend{font-weight:600;font-size:13px}
.tcm-sb-fs{border:1px solid #e3e8ef;border-radius:12px;padding:10px 16px;margin:0 0 14px}
.tcm-sb-fs legend{font-weight:700;padding:0 6px}
.tcm-sb-inline{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0 0 6px}
.tcm-sb-inline label{display:flex;flex-direction:column;font-size:13px;font-weight:600}
.tcm-sb-act{min-width:220px}
.tcm-sb-act details summary{cursor:pointer;color:#0b5cad;font-weight:600}
.tcm-sb-person-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tcm-sb-person-head h3{margin:0 auto 0 0}
.tcm-sb-sitechips{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px}
.tcm-sb-sitechips div{display:flex;justify-content:space-between;gap:8px;padding:6px 10px;border:1px solid #eef1f5;border-radius:8px}
.tcm-sb-mats{list-style:none;margin:0 0 12px;padding:0}
.tcm-sb-mats li{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #f0f2f6}
.tcm-sb-drop{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;border:2px dashed #9fb6d6;border-radius:14px;padding:26px 16px;background:#f7faff;cursor:pointer;margin:0 0 10px}
.tcm-sb-drop:hover{background:#eef4fd}
.tcm-sb-drop .dashicons{font-size:34px;width:34px;height:34px;color:#0b5cad}
.tcm-sb-drop small{max-width:640px;color:#52657d}
.tcm-sb-progress{background:#eef4fd;border-radius:10px;padding:10px 14px}
.tcm-sb-errors p{color:#b42318}
.tcm-sb-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:0 0 16px}
.tcm-sb-steps>div{border:1px solid #e3e8ef;border-radius:14px;padding:14px 16px;background:#fff}
.tcm-sb-steps span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0b5cad;color:#fff;font-weight:700}
.tcm-sb-steps h4{margin:8px 0 4px}
.tcm-sb-plan{border:2px solid #0b5cad;border-radius:14px;padding:14px 18px;background:#f7faff}
.tcm-sb-problems-list{max-height:240px;overflow:auto;color:#a14e00}
.tcm-sb-rcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:0 0 16px}
.tcm-sb-rcard{display:block;border:1px solid #e3e8ef;border-radius:12px;padding:12px 14px;text-decoration:none;color:#1d2b3e;background:#fff}
.tcm-sb-rcard small{display:block;color:#52657d;margin-top:3px}
.tcm-sb-rcard.is-active{border-color:#0b5cad;box-shadow:0 0 0 2px #0b5cad inset;background:#f7faff}
.tcm-sb-preview{margin-top:10px}
.tcm-sb-sched li{margin:4px 0}
.tcm-sb-pms{list-style:none;margin:8px 0;padding:0}
.tcm-sb-pms li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #f0f2f6}
.tcm-sb-pms small{display:block;color:#6b7a8f}
.tcm-sb-terms{border:1px solid #c8d2e0;border-radius:14px;padding:18px 20px;max-width:760px;background:#fff}
.tcm-sb-terms-text{max-height:340px;overflow:auto;background:#f8fafc;border-radius:10px;padding:4px 14px;margin:0 0 12px}
.tcm-sb-mine{border:1px solid #e3e8ef;border-radius:14px;padding:12px 16px;margin:0 0 16px;background:#fff}
.tcm-sb-mine h3{margin:0 0 10px}
@media (max-width:700px){.tcm-sb-tabs a{flex:1 1 45%;justify-content:center}.tcm-sb-act{min-width:0}.tcm-sb-cards{grid-template-columns:1fr}}
@media print{.tcm-sidebar,.tcm-topbar,.tcm-sb-tabs,.tcm-sb-filter,.tcm-sb-add,.tcm-app>header{display:none!important}.tcm-sb-tablewrap{overflow:visible;border:0}}
.tcm-sb-filter select,.tcm-sb-filter input[type=search],.tcm-sb-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.tcm-sb-form select,.tcm-sb-form textarea,.tcm-sb-inline input[type=date],.tcm-sb-inline select{min-height:38px;border:1px solid #c8d2e0;border-radius:8px;padding:6px 10px;background:#fff;font:inherit;box-sizing:border-box}
.tcm-sb-filter select{min-width:200px}
.tcm-sb-sitechips .tcm-sb-chip{align-self:center}
.tcm-sb-seatlist{list-style:none;margin:8px 0;padding:0}.tcm-sb-seatlist li{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid #f0f2f6}
/* v1.31 People to add, setup service */
.tcm-sb-seatline{border-radius:10px;padding:10px 14px;margin:0 0 14px;background:#e3f5ea;color:#0a4d2a}
.tcm-sb-seatline.is-paid{background:#fff1d9;color:#7a3d00}
.tcm-sb-qcard{border:1px solid #e3e8ef;border-radius:14px;padding:14px 18px;margin:0 0 12px;background:#fff}
.tcm-sb-qcard.is-ask{border-color:#f2b84b;box-shadow:inset 4px 0 0 #f2b84b}
.tcm-sb-qhead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.tcm-sb-qhead h3{margin:0 0 2px;font-size:19px}
.tcm-sb-qhead small{color:#6b7a8f}
.tcm-sb-qcard>p{margin:8px 0}
.tcm-sb-qacts{display:flex;flex-direction:column;gap:6px;border-top:1px solid #f0f2f6;padding-top:8px}
.tcm-sb-qacts details summary{cursor:pointer;color:#0b5cad;font-weight:600}
.tcm-sb-qacts details[open]{background:#fbfcfe;border:1px solid #e3e8ef;border-radius:10px;padding:8px 12px}
.tcm-sb-qacts .tcm-sb-qform label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}
.tcm-sb-qacts .tcm-sb-qform label.tcm-check{flex-direction:row;align-items:flex-start;font-weight:400;font-size:14px}
.tcm-sb-qacts input:not([type=checkbox]),.tcm-sb-qacts select{min-height:38px;border:1px solid #c8d2e0;border-radius:8px;padding:6px 10px}
.tcm-sb-qremove{color:#b42318!important;align-self:flex-start}
.tcm-sb-qask{background:#fffaf0;border-radius:10px;padding:10px 14px;margin:8px 0}
.tcm-sb-cost{background:#fff1d9;color:#7a3d00;border-radius:8px;padding:8px 12px}
.tcm-sb-plan.is-done{border-color:#0a7a3e;background:#f3fbf6}
/* v1.67.0 project badges */
.tcm-sb-pbadge{border:1px solid #d9e3ef;border-radius:8px;padding:10px 14px;margin:12px 0}.tcm-sb-pbadge legend{font-weight:700;padding:0 6px}
.tcm-sb-pbadge-rule{background:#f4f8fd;border:1px solid #d9e3ef;border-radius:8px;padding:8px 12px}
.tcm-sb-projtag{display:block;color:#175fb8;font-weight:600}
/* v1.68.0 access steps and visible help */
.tcm-sb-help{display:block;margin-top:4px;font-size:12px;font-weight:400;line-height:1.4;color:#5b6b82}
.tcm-check:has(.tcm-sb-help){flex-wrap:wrap}.tcm-check .tcm-sb-help{flex-basis:100%;margin-left:24px}
.tcm-sb-stepsed{border:1px solid #d9e3ef;border-radius:8px;padding:10px 14px;margin:14px 0}.tcm-sb-stepsed legend{font-weight:700;padding:0 6px}
.tcm-sb-steprow{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);gap:10px;align-items:end;margin:8px 0}
.tcm-sb-stepn{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e8f1fd;color:#175fb8;font-weight:700;margin-bottom:6px}
.tcm-sb-accsteps{display:block;margin:8px 0 8px 22px;padding:0;list-style:decimal}.tcm-sb-accsteps li{display:list-item;margin:8px 0}.tcm-sb-accsteps li strong{display:block}.tcm-sb-accsteps li span{display:block;width:auto;height:auto;background:none;border-radius:0;color:#40516b;place-items:initial}
.tcm-sb-steplink{display:inline-block;margin-top:2px;font-weight:600}
.tcm-sb-access{border:1px solid #cfe0f5;background:#f6faff;border-radius:10px;padding:12px 16px;margin:12px 0}.tcm-sb-access h4{margin:0 0 6px}.tcm-sb-access h5{margin:10px 0 2px}
.tcm-sb-steps-h{margin:10px 0 0;font-size:13px}
.tcm-sb-chipd{display:inline-block}.tcm-sb-chipd summary{cursor:pointer;list-style:none}.tcm-sb-chipd summary::-webkit-details-marker{display:none}.tcm-sb-chipd small{display:block;margin-top:4px;max-width:220px;color:#40516b}
@media (max-width:700px){.tcm-sb-steprow{grid-template-columns:28px minmax(0,1fr)}.tcm-sb-steprow label{grid-column:2}}
.tcm-sb-cklabel{flex:1 1 0;min-width:0}.tcm-check:has(.tcm-sb-help){align-items:flex-start}.tcm-check:has(.tcm-sb-help) input{margin-top:3px}

/* v1.71.0 Site owners */
.tcm-sb-owners{border:1px solid #dfe5ec;border-radius:12px;padding:14px 16px;margin:0 0 18px;background:#fff}
.tcm-sb-owners h3{margin:0 0 4px}
.tcm-sb-owner{border-top:1px solid #eef1f5;padding:10px 0}
.tcm-sb-owner small{display:block;color:#5f6b7a}
.tcm-sb-owner-n{display:inline-block;background:#eef3fb;color:#24508f;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600;margin-left:4px}
.tcm-sb-owner-tag{display:inline-block;background:#f1f4f8;color:#3c4858;border-radius:999px;padding:0 7px;font-size:11px;margin-left:4px}
.tcm-sb-ownset{margin-top:10px}
.tcm-sb-ownpick{border:1px solid #dfe5ec;border-radius:10px;padding:10px;margin:8px 0}
.tcm-sb-ownpick-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.tcm-sb-ownpick-search{flex:1 1 200px;min-width:0;padding:8px 10px;border:1px solid #c9d3de;border-radius:8px;font-size:16px}
.tcm-sb-ownpick-n{color:#5f6b7a;font-size:13px}
.tcm-sb-ownpick-list{max-height:280px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:2px 12px}
.tcm-sb-ownpick-list label[hidden]{display:none}
