.teacher-collections-dialog{width:min(940px,calc(100vw - 20px));max-width:940px;max-height:min(92dvh,1000px);padding:0;border:0;border-radius:30px;background:#faf8f2;color:#142922;box-shadow:0 28px 90px #001b17a8;overflow:hidden}
.teacher-collections-dialog::backdrop{background:#001f19b0;backdrop-filter:blur(8px)}
.tc-shell{max-height:min(92dvh,1000px);overflow:auto;overscroll-behavior:contain}
.tc-header{display:flex;justify-content:space-between;gap:18px;align-items:start;padding:30px 34px 26px;background:linear-gradient(135deg,#002b22,#075642);color:#fff}
.tc-header h2{margin:4px 0 6px;font-size:clamp(27px,4vw,38px);line-height:1.1;letter-spacing:-.035em}
.tc-header p{margin:0;color:#d1e2d9;font-size:15px}
.tc-eyebrow{color:#eec45e;font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.tc-close{flex:none;width:44px;height:44px;border:1px solid #ffffff62;border-radius:50%;background:#ffffff1c;color:#fff;font-size:31px;line-height:1;cursor:pointer}
#tc-content{padding:26px 34px 30px}
.tc-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-bottom:20px}
.tc-summary>div{min-width:0;border:1px solid #dce6de;background:#fff;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:8px}
.tc-summary span{font-size:13px;color:#5e6f69;font-weight:600}.tc-summary strong{font-size:clamp(20px,3vw,28px);line-height:1.2;overflow-wrap:anywhere}
.tc-summary>div:first-child{background:#073f32;color:#fff;border-color:#073f32}.tc-summary>div:first-child span{color:#d7eee4}
.tc-main-action{width:100%;min-height:58px;border:0;border-radius:16px;background:linear-gradient(135deg,#f5c846,#df9c26);font-weight:800;color:#102c24;font-size:17px;cursor:pointer;box-shadow:0 8px 20px #af781a32;margin-bottom:24px}
.tc-filter-line{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.tc-filter-line label,.tc-review-card label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800;color:#315347;min-width:0}
.tc-filter-line input,.tc-filter-line select,.tc-review-card select,.tc-review-card textarea{width:100%;box-sizing:border-box;border:1px solid #c8d7ce;border-radius:12px;background:#fff;min-height:46px;padding:9px 12px;font:inherit;font-size:15px;color:#142922;outline-color:#dbaa37}
.tc-review-card textarea{resize:vertical;line-height:1.4;min-height:100px}
.tc-status-tabs{display:flex;gap:8px;overflow-x:auto;padding:3px 0 14px}.tc-status-tabs button{white-space:nowrap;border:1px solid #d9e3db;border-radius:999px;background:#fff;padding:9px 15px;color:#426157;font-weight:700;cursor:pointer}.tc-status-tabs button.is-active{background:#064938;color:#fff;border-color:#064938}
.tc-select-all{display:flex;align-items:center;gap:9px;margin:16px 0;color:#34594b;font-size:14px;font-weight:700}.tc-select-all input,.tc-lesson input{accent-color:#006f4c;width:18px;height:18px}
.tc-cards{display:grid;gap:14px}.tc-card,.tc-review-card{background:#fff;border:1px solid #dce6df;border-radius:20px;padding:18px;box-shadow:0 5px 22px #0e3d2610}
.tc-card-head,.tc-review-head{display:flex;align-items:center;gap:12px}.tc-card-head>div,.tc-review-head>div{flex:1;min-width:0}.tc-card-head h3,.tc-review-head h3{margin:0 0 4px;font-size:19px;line-height:1.2}.tc-card-head small,.tc-review-head small{font-size:13px;color:#697b72}.tc-card-head>strong,.tc-review-head>strong{font-size:20px;white-space:nowrap;color:#083f31}
.tc-avatar{width:45px;height:45px;flex:none;border-radius:50%;background:#e9f2ed;color:#064737;display:grid;place-items:center;font-weight:900;font-size:20px;overflow:hidden}.tc-avatar img{width:100%;height:100%;object-fit:cover}
.tc-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 12px}.tc-card-meta span{border-radius:999px;background:#eef5ef;color:#3b6253;font-size:11px;font-weight:800;padding:5px 9px}.tc-card-meta .tc-prepared{background:#fff4d8;color:#7c580d}
.tc-lesson-list{border-top:1px solid #e6ece7;border-bottom:1px solid #e6ece7}.tc-lesson{display:flex;align-items:center;gap:9px;min-height:56px;padding:8px 0}.tc-lesson+.tc-lesson{border-top:1px solid #eff2ef}.tc-lesson label{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.tc-lesson label span{min-width:0}.tc-lesson b{display:block;font-size:13px;white-space:normal}.tc-lesson small{display:block;color:#6b7a72;font-size:11px}.tc-lesson strong{font-size:14px;white-space:nowrap}.tc-lesson button{border:1px solid #dce6df;border-radius:9px;background:#fff;width:33px;height:33px;color:#0b5740;cursor:pointer}
.tc-card-actions,.tc-review-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.tc-card-actions button,.tc-review-actions button,.tc-back{border:1px solid #cfdcd2;background:#fff;color:#0a4736;border-radius:11px;padding:10px 13px;font-weight:800;cursor:pointer}.tc-card-actions button:first-child,.tc-review-actions button:first-child{background:#e9f3ed}
.tc-history,.tc-all-history{margin-top:15px;color:#52675a;font-size:13px}.tc-history summary,.tc-all-history summary{cursor:pointer;font-weight:700}.tc-event{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #e8eeea}.tc-event time{white-space:nowrap;color:#75847c}.tc-all-history{padding:12px 0}
.tc-sticky-actions{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:14px 0;background:#faf8f2ee;backdrop-filter:blur(10px);z-index:1}.tc-sticky-actions strong,.tc-sticky-actions span{margin-right:auto}.tc-sticky-actions button{min-height:43px;border:0;background:#074d3b;color:#fff;border-radius:12px;padding:10px 16px;font-weight:800;cursor:pointer}.tc-sticky-actions .tc-confirm{background:#e8af32;color:#173228}.tc-sticky-actions button:disabled,.tc-review-actions button:disabled{opacity:.5;cursor:not-allowed}
.tc-empty,.tc-safety,.tc-note{padding:14px;border-radius:13px;background:#eff3ed;color:#50695b;font-size:13px;line-height:1.4}.tc-safety{margin:12px 0 0}.tc-review-title h3{font-size:25px;margin:15px 0 3px}.tc-review-title p{margin:0 0 12px;color:#566c60}.tc-review-list{display:grid;gap:14px;margin:15px 0}.tc-review-card{display:grid;gap:12px}.tc-review-card>small{color:#536a5d}.tc-review-card .tc-note{margin:0}
.tc-movements-link{display:block;width:100%;margin-top:15px;padding:14px 16px;border:1px solid #ceded2;border-radius:14px;background:#fff;color:#064a37;font-weight:800;text-align:left;cursor:pointer}
.tc-lesson button[data-preview]{width:40px;font-size:11px;font-weight:800}
@media(max-width:560px){.teacher-collections-dialog{width:100vw;max-width:none;max-height:100dvh;height:100dvh;border-radius:0;margin:0}.tc-shell{max-height:100dvh}.tc-header{padding:22px 20px}.tc-header p{font-size:13px}#tc-content{padding:18px 16px 26px}.tc-summary{grid-template-columns:1fr 1fr;gap:8px}.tc-summary>div:first-child{grid-column:1/-1}.tc-summary>div{padding:14px}.tc-summary strong{font-size:22px}.tc-filter-line{grid-template-columns:1fr}.tc-card{padding:14px}.tc-card-head>strong{font-size:17px}.tc-sticky-actions{padding:12px 0}.tc-sticky-actions button{flex:1}.tc-lesson b{font-size:12px}.tc-lesson strong{font-size:12px}}

/* ==========================================================================
   Redesign premium — Central de Cobranças (somente Professor)
   Lista limpa → aluno → Enviar cobrança | Receber pagamento.
   Cores: tokens oficiais (--tp-green, --tp-deep, --tp-gold, --tp-cream...) de teacher-premium.css.
   ========================================================================== */
.teacher-collections-dialog{width:min(560px,calc(100vw - 20px));max-width:560px;background:var(--tp-cream,#f8f5ee);color:var(--tp-ink,#13261f);border-radius:28px}
.teacher-collections-dialog .tc-shell{position:relative;scroll-padding-top:96px}
.teacher-collections-dialog .tc-header{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:start;gap:10px;padding:calc(14px + env(safe-area-inset-top,0px)) 16px 12px;background:color-mix(in srgb,var(--tp-cream,#f8f5ee) 92%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--tp-ink,#13261f)}
.teacher-collections-dialog .tc-header>div{min-width:0;padding-top:4px}
.teacher-collections-dialog .tc-eyebrow{display:none}
.teacher-collections-dialog .tc-header h2{margin:0;color:var(--tp-deep,#03241d);font-family:var(--tp-serif,Georgia,serif);font-size:clamp(1.45rem,6.4vw,1.75rem);font-weight:700;line-height:1.15;letter-spacing:-.015em;text-wrap:balance}
.teacher-collections-dialog .tc-header p{margin:4px 0 0;color:var(--tp-muted,#66736d);font-size:.92rem;line-height:1.4;text-wrap:pretty}
.teacher-collections-dialog .tc-header p:empty{display:none}
.teacher-collections-dialog .tc-close,.tc-more{order:-1;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--tp-deep,#03241d);cursor:pointer;transition:background-color .16s,transform .12s}
.tc-more{order:1}.tc-more[hidden]{display:none}
.teacher-collections-dialog .tc-close:hover,.tc-more:hover{background:#ece6d8}
.teacher-collections-dialog .tc-close:active,.tc-more:active{transform:scale(.94)}
.teacher-collections-dialog .tc-close svg,.tc-more svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tc-more svg circle{fill:currentColor;stroke:none}
.teacher-collections-dialog #tc-content{padding:6px 16px calc(28px + env(safe-area-inset-bottom,0px))}
.teacher-collections-dialog :is(button,input,select,textarea,summary):focus-visible{outline:3px solid var(--tp-gold,#d4a853);outline-offset:2px}
.teacher-collections-dialog svg{flex:none}

/* Busca e filtros */
.tc-search{position:relative;margin:4px 0 12px}
.tc-search-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);display:grid;color:var(--tp-muted,#66736d);pointer-events:none}
.tc-search-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.tc-search input{width:100%;box-sizing:border-box;min-height:50px;padding:0 16px 0 46px;border:1px solid var(--tp-line,#e6e1d4);border-radius:16px;background:#fff;color:var(--tp-ink,#13261f);font:inherit;font-size:16px;box-shadow:0 1px 2px rgba(19,38,31,.04)}
.tc-search input::placeholder{color:#8a948f}
.tc-chips{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:2px 16px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tc-chips::-webkit-scrollbar{display:none}
.tc-chip{position:relative;flex:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border:1px solid var(--tp-line,#e6e1d4);border-radius:999px;background:#fff;color:#3c4d46;font:inherit;font-size:.9rem;font-weight:650;white-space:nowrap;cursor:pointer;transition:background-color .18s,color .18s,border-color .18s,transform .12s}
.tc-chip:active{transform:scale(.97)}
.tc-chip.is-active{border-color:var(--tp-green,#053d2e);background:var(--tp-green,#053d2e);color:#fff}
.tc-chip-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.tc-chip-icon.has-dot::after{content:"";position:absolute;top:7px;right:9px;width:7px;height:7px;border-radius:50%;background:var(--tp-gold,#d4a853)}
.tc-summary-line{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:2px 2px 12px;color:var(--tp-muted,#66736d);font-size:.82rem}
.tc-summary-line strong{color:var(--tp-deep,#03241d);font-weight:750;font-variant-numeric:tabular-nums;text-align:right}
.tc-summary-line span:first-child{font-weight:650}

/* Cards de aluno */
.tc-list{display:grid;gap:12px}
.tc-student{display:grid;grid-template-columns:auto minmax(0,1fr) 20px;align-items:center;gap:14px;width:100%;min-height:96px;padding:14px 12px 14px 14px;border:1px solid #ebe5d7;border-radius:20px;background:#fffdf8;color:inherit;font:inherit;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(19,38,31,.04),0 8px 22px -14px rgba(19,38,31,.18);transition:transform .14s var(--tp-ease-out,ease-out),box-shadow .2s,border-color .2s}
.tc-list.is-selecting .tc-student{grid-template-columns:24px auto minmax(0,1fr)}
.tc-student:hover{border-color:#ddd3bd}
.tc-student:active,.tc-student.is-pressed{transform:scale(.99)}
.tc-student.is-selected{border-color:var(--tp-gold,#d4a853);box-shadow:0 0 0 1px var(--tp-gold,#d4a853),0 8px 22px -14px rgba(19,38,31,.18)}
.tc-avatar{width:56px;height:56px;border-radius:50%;background:#e8efe9;color:var(--tp-green,#053d2e);font-size:1.05rem;font-weight:800;letter-spacing:.02em;box-shadow:0 0 0 1px rgba(19,38,31,.08) inset}
.tc-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;outline:1px solid rgba(0,0,0,.08);outline-offset:-1px}
.tc-avatar.is-initials{background:linear-gradient(145deg,#e9f1ea,#d9e7dc)}
.tc-student-main{display:grid;gap:3px;min-width:0}
.tc-student-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}
.tc-student-name{min-width:0;color:var(--tp-deep,#03241d);font-size:1.02rem;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.tc-student-amount{flex:none;color:var(--tp-deep,#03241d);font-size:1.02rem;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-student-service{color:var(--tp-muted,#66736d);font-size:.9rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-student-meta{display:flex;align-items:center;gap:7px;margin-top:3px;color:#56645e;font-size:.8rem;line-height:1.3}
.tc-student-meta svg{width:16px;height:16px;fill:none;stroke:#7b8782;stroke-width:1.8;stroke-linecap:round}
.tc-student-meta b{color:#2d3d36;font-weight:750}
.tc-student-meta em{font-style:normal;color:#8a5f0f;font-weight:700}
.tc-chevron{display:grid;place-items:center;color:#7b8782}
.tc-chevron svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tc-check{display:grid;place-items:center;width:24px;height:24px;border:2px solid #c9d2cd;border-radius:50%;background:#fff;color:transparent;transition:background-color .16s,border-color .16s}
.tc-check svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tc-check.is-on{border-color:var(--tp-green,#053d2e);background:var(--tp-green,#053d2e);color:#fff}
.teacher-collections-dialog .tc-select-all{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 2px 12px;color:var(--tp-deep,#03241d);font-size:.88rem;font-weight:700}
.teacher-collections-dialog .tc-select-all small{flex-basis:100%;color:var(--tp-muted,#66736d);font-weight:500}
.teacher-collections-dialog .tc-select-all input{width:20px;height:20px;accent-color:var(--tp-green,#053d2e)}
.tc-select-bar{position:sticky;bottom:calc(-28px - env(safe-area-inset-bottom,0px));z-index:2;display:grid;gap:10px;margin:16px -16px calc(-28px - env(safe-area-inset-bottom,0px));padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--tp-line,#e6e1d4);background:color-mix(in srgb,var(--tp-cream,#f8f5ee) 94%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.tc-select-bar strong{color:var(--tp-deep,#03241d);font-size:.92rem}
.tc-select-bar>div{display:flex;flex-wrap:wrap;gap:8px}
.tc-select-bar button{flex:1 1 140px;min-height:46px;padding:0 14px;border-radius:14px;font:inherit;font-size:.88rem;font-weight:750;cursor:pointer}
.tc-bar-secondary{border:1px solid var(--tp-line,#e6e1d4);background:#fff;color:var(--tp-deep,#03241d)}
.tc-bar-primary{border:0;background:var(--tp-green,#053d2e);color:#fff}
.tc-select-bar button:disabled{opacity:.45;cursor:not-allowed}
.teacher-collections-dialog .tc-empty{padding:28px 18px;border-radius:18px;background:#fffdf8;border:1px dashed #ddd5c3;color:var(--tp-muted,#66736d);text-align:center;font-size:.92rem}

/* Detalhes do aluno */
.tc-profile{display:flex;align-items:center;gap:16px;margin:2px 0 18px}
.tc-avatar-lg{width:84px;height:84px;font-size:1.6rem;box-shadow:0 10px 24px -12px rgba(19,38,31,.4)}
.tc-profile div{min-width:0}
.tc-profile h3{margin:0;color:var(--tp-deep,#03241d);font-family:var(--tp-serif,Georgia,serif);font-size:clamp(1.4rem,6.2vw,1.7rem);font-weight:700;line-height:1.15;overflow-wrap:anywhere;text-wrap:balance}
.tc-profile p{margin:4px 0 0;color:var(--tp-muted,#66736d);font-size:.98rem}
.tc-profile small{display:block;margin-top:5px;color:#4f5f58;font-size:.82rem}
.tc-total{display:flex;align-items:center;gap:16px;padding:18px;border-radius:22px;background:#f1ece0;border:1px solid #e9e1cf}
.tc-total-icon{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:50%;background:var(--tp-gold-soft,#f6ead0);color:var(--tp-gold-2,#c8952f)}
.tc-total-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tc-total div{display:grid;gap:2px;min-width:0}
.tc-total span{color:#4b5a54;font-size:.88rem;font-weight:600}
.tc-total strong{color:var(--tp-deep,#03241d);font-size:clamp(1.7rem,8vw,2.05rem);font-weight:800;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tc-total small{color:#56645e;font-size:.85rem}
.tc-question{margin:24px 2px 12px;color:var(--tp-deep,#03241d);font-size:1.08rem;font-weight:750;letter-spacing:-.005em}
.tc-actions{display:grid;gap:12px}
.tc-action{display:grid;grid-template-columns:auto minmax(0,1fr) 20px;align-items:center;gap:14px;width:100%;min-height:96px;padding:16px 14px 16px 16px;border-radius:22px;font:inherit;text-align:left;cursor:pointer;transition:transform .14s var(--tp-ease-out,ease-out),box-shadow .2s}
.tc-action:active,.tc-action.is-pressed{transform:scale(.99)}
.tc-action-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%}
.tc-action-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tc-action-text{display:grid;gap:4px;min-width:0}
.tc-action-text strong{font-size:1.08rem;font-weight:780;line-height:1.2}
.tc-action-text small{font-size:.86rem;line-height:1.4;text-wrap:pretty}
.tc-action-send{border:1px solid #e8e1d0;background:#fffdf8;color:var(--tp-deep,#03241d);box-shadow:0 1px 2px rgba(19,38,31,.04),0 10px 24px -16px rgba(19,38,31,.22)}
.tc-action-send .tc-action-icon{background:var(--tp-gold-soft,#f6ead0);color:var(--tp-gold-2,#c8952f)}
.tc-action-send small{color:#56645e}
.tc-action-pay{border:1px solid var(--tp-green,#053d2e);background:var(--tp-green,#053d2e);color:#fff;box-shadow:0 16px 30px -14px rgba(3,36,29,.7),inset 0 1px 0 rgba(255,255,255,.08)}
.tc-action-pay .tc-action-icon{background:rgba(255,255,255,.1);color:var(--tp-gold,#d4a853);box-shadow:inset 0 0 0 1px rgba(212,168,83,.35)}
.tc-action-pay small{color:rgba(255,255,255,.82)}
.tc-action-pay .tc-chevron{color:rgba(255,255,255,.85)}
.tc-action-pay:hover{background:var(--tp-green-2,#0a4a38)}
.tc-section{margin-top:12px;border-top:1px solid var(--tp-line,#e6e1d4)}
.tc-section summary{display:flex;align-items:center;gap:10px;min-height:54px;padding:4px 2px;color:var(--tp-deep,#03241d);font-size:1rem;font-weight:750;cursor:pointer;list-style:none}
.tc-section summary::-webkit-details-marker{display:none}
.tc-section summary::after{content:"";width:9px;height:9px;margin-left:auto;margin-right:6px;border-right:2px solid #7b8782;border-bottom:2px solid #7b8782;transform:rotate(45deg) translateY(-3px);transition:transform .2s var(--tp-ease-out,ease-out)}
.tc-section[open] summary::after{transform:rotate(-135deg) translate(-2px,-1px)}
.tc-section summary span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#ece6d8;color:#4b5a54;font-size:.75rem;font-weight:800}
.tc-section[open]>:not(summary){animation:tc-fade-down .22s var(--tp-ease-out,ease-out) both}
.tc-lessons{display:grid;gap:10px;padding:2px 0 8px}
.tc-lesson-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid #ebe5d7;border-radius:16px;background:#fffdf8}
.tc-lesson-icon{display:grid;color:#7b8782}.tc-lesson-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.tc-lesson-text{display:grid;gap:3px;min-width:0}
.tc-lesson-text b{color:var(--tp-deep,#03241d);font-size:.9rem;line-height:1.3;overflow-wrap:anywhere}
.tc-lesson-text small{color:var(--tp-muted,#66736d);font-size:.78rem}
.tc-lesson-row>strong{color:var(--tp-deep,#03241d);font-size:.95rem;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-lesson-actions{grid-column:2/-1;display:flex;justify-content:flex-end;gap:8px}
.tc-mini{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--tp-line,#e6e1d4);border-radius:12px;background:#fff;color:var(--tp-green,#053d2e);cursor:pointer}
.tc-mini svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tc-mini-pay{border-color:#cfe0d6;background:#eef5f0}
.tc-events{display:grid;padding:0 2px 10px}
.teacher-collections-dialog .tc-event{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #ece6d8;color:#3c4d46;font-size:.86rem;line-height:1.4}
.teacher-collections-dialog .tc-event time{color:var(--tp-muted,#66736d);font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-muted{margin:4px 0 10px;color:var(--tp-muted,#66736d);font-size:.86rem}

/* Enviar cobrança */
.tc-send-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:2px 0 14px}
.tc-send-head .tc-avatar{width:48px;height:48px}
.tc-send-head div{display:grid;gap:2px;min-width:0}
.tc-send-head div strong{color:var(--tp-deep,#03241d);font-size:1.02rem;overflow-wrap:anywhere}
.tc-send-head small{color:var(--tp-muted,#66736d);font-size:.84rem}
.tc-send-total{color:var(--tp-deep,#03241d);font-size:1.1rem;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-paper{position:relative;display:grid;gap:10px;padding:22px 18px 18px;border-radius:6px 6px 18px 18px;background:#fff;border-top:4px solid var(--tp-gold,#d4a853);box-shadow:0 1px 2px rgba(19,38,31,.06),0 18px 34px -20px rgba(19,38,31,.35)}
.tc-paper-tag{position:absolute;top:-13px;right:14px;padding:4px 10px;border-radius:999px;background:var(--tp-deep,#03241d);color:#fff;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.tc-paper header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding-bottom:10px;border-bottom:1px solid #eee8db}
.tc-paper header span{color:var(--tp-deep,#03241d);font-family:var(--tp-serif,Georgia,serif);font-size:1.05rem;font-weight:700}
.tc-paper header b{color:var(--tp-muted,#66736d);font-size:.82rem;font-weight:650;text-align:right}
.tc-paper-to{margin:0;color:#2d3d36;font-size:.9rem;font-weight:650}
.tc-paper-label{margin:2px 0 0;color:var(--tp-muted,#66736d);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.tc-paper-lines{display:grid;gap:6px}
.tc-paper-lines div{display:flex;justify-content:space-between;gap:10px;color:#3c4d46;font-size:.84rem}
.tc-paper-lines b,.tc-paper footer b{font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-paper footer{display:flex;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px dashed #e2d9c5;color:var(--tp-deep,#03241d);font-weight:800}
.tc-send-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.tc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 14px;border:1px solid var(--tp-line,#e6e1d4);border-radius:15px;background:#fff;color:var(--tp-deep,#03241d);font:inherit;font-size:.92rem;font-weight:750;line-height:1.2;text-align:center;cursor:pointer;transition:transform .12s,background-color .18s,opacity .18s}
.tc-btn:active{transform:scale(.97)}
.tc-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tc-btn-primary{border-color:var(--tp-green,#053d2e);background:var(--tp-green,#053d2e);color:#fff}
.tc-btn-gold{width:100%;margin-top:14px;min-height:54px;border:0;background:linear-gradient(180deg,#e9c477,var(--tp-gold,#d4a853));color:var(--tp-deep,#03241d);font-size:1rem;box-shadow:0 12px 26px -10px rgba(120,82,10,.55)}
.tc-btn-ghost{width:100%;margin-top:10px;background:transparent}
.tc-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.teacher-collections-dialog .tc-note{margin:10px 2px 0;padding:0;background:none;color:var(--tp-muted,#66736d);font-size:.8rem;line-height:1.45}
.tc-note-soft{opacity:.9}
.tc-hint{margin:8px 2px 0;color:#8a5f0f;font-size:.82rem;font-weight:650;text-align:center}
.tc-channels{display:flex;flex-wrap:wrap;gap:8px}
.tc-channel{min-height:42px;padding:0 15px;border:1px solid var(--tp-line,#e6e1d4);border-radius:999px;background:#fff;color:#3c4d46;font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}
.tc-channel.is-on{border-color:var(--tp-green,#053d2e);background:var(--tp-green,#053d2e);color:#fff}
.tc-channel:disabled{opacity:.45;cursor:not-allowed}
.tc-contact{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:12px 2px 0;color:#3c4d46;font-size:.86rem;overflow-wrap:anywhere}
.tc-link{padding:6px 0;border:0;background:none;color:var(--tp-green,#053d2e);font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tc-message textarea{width:100%;box-sizing:border-box;min-height:120px;margin-bottom:6px;padding:12px 14px;border:1px solid var(--tp-line,#e6e1d4);border-radius:14px;background:#fff;color:var(--tp-ink,#13261f);font:inherit;font-size:16px;line-height:1.45;resize:vertical}
.tc-shared{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 0;color:var(--tp-green,#053d2e);font-size:.88rem;font-weight:750}
.tc-shared svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.tc-confirm-box{margin-top:12px;padding:16px;border:1px solid #e8dcbf;border-radius:18px;background:#fffaf0;animation:tc-fade-down .22s var(--tp-ease-out,ease-out) both}
.tc-confirm-box>p:first-child{margin:0 0 4px;color:var(--tp-deep,#03241d);font-weight:750}
.tc-confirm-box>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}

/* Lote e histórico (funções preservadas, visual alinhado) */
.teacher-collections-dialog .tc-review-title p{margin:0 2px 10px;color:var(--tp-muted,#66736d)}
.teacher-collections-dialog .tc-safety{margin:10px 0 0;padding:12px 14px;border-radius:14px;background:#f1ece0;color:#4b5a54;font-size:.8rem;line-height:1.45}
.teacher-collections-dialog .tc-review-card{border:1px solid #ebe5d7;border-radius:20px;background:#fffdf8;box-shadow:0 8px 22px -16px rgba(19,38,31,.2)}
.teacher-collections-dialog .tc-review-head .tc-avatar{width:44px;height:44px;font-size:.9rem}
.teacher-collections-dialog .tc-review-head h3{color:var(--tp-deep,#03241d);font-size:1rem}
.teacher-collections-dialog .tc-review-head>strong{color:var(--tp-deep,#03241d);font-size:1rem;font-variant-numeric:tabular-nums}
.teacher-collections-dialog .tc-review-actions button{min-height:42px;border-radius:12px}
.teacher-collections-dialog .tc-review-actions .tc-register-payment{background:var(--tp-green,#053d2e);color:#fff;border-color:var(--tp-green,#053d2e)}
.teacher-collections-dialog .tc-review-secondary button{background:transparent}
.teacher-collections-dialog .tc-review-card>.tc-btn{width:100%}
.teacher-collections-dialog .tc-movements-link{display:flex;align-items:center;gap:12px;min-height:56px;margin-top:16px;border-color:var(--tp-line,#e6e1d4);border-radius:16px;background:#fffdf8;color:var(--tp-deep,#03241d)}
.teacher-collections-dialog .tc-movements-link span{flex:1}
.teacher-collections-dialog .tc-movements-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Painel inferior interno (Mais ações / Filtros) */
.tc-sheet-wrap{position:absolute;inset:0;z-index:10;display:flex;align-items:flex-end;background:rgba(3,36,29,.36);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:tc-fade .22s ease-out both}
.tc-sheet-wrap[hidden]{display:none}
.tc-sheet{width:100%;max-height:86%;overflow:auto;box-sizing:border-box;padding:8px 16px calc(18px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;background:var(--tp-paper,#fffdf8);box-shadow:0 -12px 40px rgba(0,0,0,.22);animation:tc-sheet-up .28s var(--tp-ease-out,cubic-bezier(.23,1,.32,1)) both}
.tc-sheet-grip{width:40px;height:5px;margin:0 auto 6px;border-radius:999px;background:#ddd5c3}
.tc-sheet header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.tc-sheet h3{margin:0;color:var(--tp-deep,#03241d);font-family:var(--tp-serif,Georgia,serif);font-size:1.25rem}
.tc-sheet-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#efebe1;color:var(--tp-ink,#13261f);cursor:pointer}
.tc-sheet-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.tc-sheet-list{display:grid;gap:4px}
.tc-sheet-item{display:grid;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;min-height:56px;padding:6px 4px;border:0;border-radius:14px;background:transparent;color:var(--tp-deep,#03241d);font:inherit;text-align:left;cursor:pointer}
.tc-sheet-item:hover{background:#f3eee2}
.tc-sheet-item>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eef3ef;color:var(--tp-green,#053d2e)}
.tc-sheet-item svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tc-sheet-item>svg{color:#9aa39f}
.tc-sheet-item strong{font-size:.96rem;font-weight:700}
.tc-field{display:grid;gap:6px;margin:12px 0 0;color:var(--tp-muted,#66736d);font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.tc-field :is(input,select){width:100%;box-sizing:border-box;min-height:48px;padding:0 12px;border:1px solid var(--tp-line,#e6e1d4);border-radius:14px;background:#fff;color:var(--tp-ink,#13261f);font:inherit;font-size:16px;letter-spacing:0;text-transform:none}
.tc-sheet-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.tc-sheet-wrap.is-closing{animation:tc-fade-out .16s ease-in forwards}
.tc-sheet-wrap.is-closing .tc-sheet{animation:tc-sheet-down .16s cubic-bezier(.4,0,1,1) forwards}

/* Motion: transições entre as telas internas (Motion System: 200–280 ms, ease-out, só transform/opacity) */
@keyframes tc-enter-forward{from{opacity:0;transform:translate3d(22px,0,0)}to{opacity:1;transform:none}}
@keyframes tc-enter-back{from{opacity:0;transform:translate3d(-22px,0,0)}to{opacity:1;transform:none}}
@keyframes tc-enter-fade{from{opacity:0;transform:translate3d(0,6px,0)}to{opacity:1;transform:none}}
@keyframes tc-fade{from{opacity:0}to{opacity:1}}
@keyframes tc-fade-out{to{opacity:0}}
@keyframes tc-fade-down{from{opacity:0;transform:translate3d(0,-4px,0)}to{opacity:1;transform:none}}
@keyframes tc-sheet-up{from{transform:translate3d(0,100%,0)}to{transform:none}}
@keyframes tc-sheet-down{to{transform:translate3d(0,100%,0)}}
@keyframes tc-card-in{from{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:none}}
#tc-content.tc-enter-forward{animation:tc-enter-forward 260ms var(--tp-ease-out,cubic-bezier(.23,1,.32,1)) both}
#tc-content.tc-enter-back{animation:tc-enter-back 240ms var(--tp-ease-out,cubic-bezier(.23,1,.32,1)) both}
#tc-content.tc-enter-fade{animation:tc-enter-fade 200ms var(--tp-ease-out,cubic-bezier(.23,1,.32,1)) both}
#tc-content.tc-enter-forward :is(.tc-total,.tc-question,.tc-actions,.tc-paper,.tc-send-buttons){animation:tc-card-in 280ms var(--tp-ease-out,cubic-bezier(.23,1,.32,1)) both}
#tc-content.tc-enter-forward .tc-total{animation-delay:40ms}
#tc-content.tc-enter-forward :is(.tc-question,.tc-paper){animation-delay:70ms}
#tc-content.tc-enter-forward :is(.tc-actions,.tc-send-buttons){animation-delay:100ms}
#tc-content.tc-enter-fade .tc-list>.tc-student:nth-child(-n+6){animation:tc-card-in 260ms var(--tp-ease-out,cubic-bezier(.23,1,.32,1)) both}
#tc-content.tc-enter-fade .tc-list>.tc-student:nth-child(2){animation-delay:35ms}
#tc-content.tc-enter-fade .tc-list>.tc-student:nth-child(3){animation-delay:70ms}
#tc-content.tc-enter-fade .tc-list>.tc-student:nth-child(4){animation-delay:105ms}
#tc-content.tc-enter-fade .tc-list>.tc-student:nth-child(5){animation-delay:140ms}
#tc-content.tc-enter-fade .tc-list>.tc-student:nth-child(6){animation-delay:175ms}

@media(max-width:560px){
  .teacher-collections-dialog{width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
  .teacher-collections-dialog .tc-header{padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px}
  .teacher-collections-dialog #tc-content{padding:4px 16px calc(28px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:374px){
  .tc-student{gap:11px;padding:12px 10px 12px 12px}
  .tc-avatar{width:48px;height:48px;font-size:.95rem}
  .tc-avatar-lg{width:72px;height:72px;font-size:1.35rem}
  .tc-student-top{flex-direction:column;align-items:flex-start;gap:1px}
  .tc-student-amount{font-size:.98rem}
  .tc-action{grid-template-columns:auto minmax(0,1fr) 16px;gap:12px;padding:14px 12px}
  .tc-action-icon{width:46px;height:46px}
  .tc-send-buttons,.tc-confirm-box>div,.tc-sheet-actions{grid-template-columns:1fr}
  .tc-lesson-row{grid-template-columns:auto minmax(0,1fr);}
  .tc-lesson-row>strong{grid-column:2}
}
@media(prefers-reduced-motion:reduce){
  #tc-content,#tc-content *,.tc-sheet-wrap,.tc-sheet,.tc-student,.tc-action,.tc-confirm-box,.tc-noop{animation:none!important;transition:none!important}
  .tc-student:active,.tc-student.is-pressed,.tc-action:active,.tc-action.is-pressed{transform:none}
}

/* Receber pagamento: botão principal no verde oficial FOURMI (sem verde desbotado) */
body .teacher-receipt-dialog #receive-payment-form>button[type=submit]{min-height:54px;border-radius:15px;background:var(--tp-green,#053d2e);color:#fff;font-size:1rem;box-shadow:0 14px 28px -14px rgba(3,36,29,.7)}
body .teacher-receipt-dialog #receive-payment-form>button[type=submit]:active{transform:scale(.98)}
.tc-nowrap{white-space:nowrap}
.tc-lesson-row{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;row-gap:8px}
.tc-lesson-icon,.tc-lesson-text{grid-row:1/3;align-self:center}
.tc-lesson-row>strong{grid-column:3;grid-row:1;justify-self:end}
.tc-lesson-actions{grid-column:3;grid-row:2;justify-content:flex-end}
@media(max-width:374px){.tc-lesson-row{grid-template-columns:auto minmax(0,1fr) auto}.tc-lesson-row>strong{grid-column:3}}
