.tm-overlay{background:var(--overlay-backdrop);z-index:1000;justify-content:center;align-items:center;animation:.18s tm-overlay-in;display:flex;position:fixed;inset:0}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){html.can-use-backdrop-filter .tm-overlay{-webkit-backdrop-filter:blur(3px)}}@keyframes tm-overlay-in{0%{opacity:0}to{opacity:1}}.tm-modal{background:var(--surface-elevated);border:1px solid var(--border-default);box-shadow:var(--shadow-xl);border-radius:12px;flex-direction:column;width:min(560px,100vw - 2rem);max-height:90vh;transition:background .2s,border-color .2s;animation:.2s tm-modal-in;display:flex;overflow:hidden}@keyframes tm-modal-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.tm-modal__header{border-bottom:1px solid var(--border-default);flex-shrink:0;justify-content:space-between;align-items:center;padding:1.2rem 1.5rem 1rem;display:flex}.tm-modal__title{color:var(--text-strong);margin:0;font-size:1.2rem;font-weight:700;transition:color .2s}.tm-modal__close{width:32px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;transition:background .15s,color .15s;display:flex}.tm-modal__close:hover{background:var(--surface-hover);color:var(--text-strong)}.tm-modal__body{flex-direction:column;flex:1;gap:.5rem;padding:1rem 1.25rem;display:flex;overflow-y:auto}.tm-card{border:1px solid var(--border-subtle);background:var(--surface-panel);cursor:pointer;text-align:left;border-radius:8px;flex-direction:column;align-items:flex-start;gap:.25rem;width:100%;padding:.85rem 1rem;transition:background .15s,border-color .15s,transform .12s;display:flex}.tm-card:hover{background:var(--surface-hover);border-color:var(--interactive-accent)}.tm-card:active{transform:scale(.99)}.tm-card--pending{border-color:var(--interactive-accent);background:var(--surface-selection)}.tm-card__label{color:var(--text-strong);font-size:.92rem;font-weight:700;transition:color .15s}.tm-card__desc{color:var(--text-secondary);font-size:.82rem;line-height:1.5;transition:color .15s}.tm-modal__confirm{border-top:1px solid var(--border-default);background:var(--surface-panel);flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1.25rem;animation:.15s tm-confirm-in;display:flex}@keyframes tm-confirm-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.tm-confirm__message{color:var(--text-secondary);flex:1;align-items:flex-start;gap:.45rem;font-size:.83rem;line-height:1.5;display:flex}.tm-confirm__message strong{color:var(--text-strong);font-weight:600}.tm-confirm__icon{color:var(--state-warning,#f59e0b);flex-shrink:0;margin-top:2px}.tm-confirm__actions{flex-shrink:0;gap:.5rem;display:flex}.tm-confirm__cancel{border:1px solid var(--border-default);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:5px;padding:.4rem .9rem;font-size:.85rem;font-weight:500;transition:background .15s,color .15s,border-color .15s}.tm-confirm__cancel:hover{background:var(--surface-hover);color:var(--text-strong);border-color:var(--border-subtle)}.tm-confirm__ok{background:var(--state-danger,#ef4444);color:#fff;cursor:pointer;border:none;border-radius:5px;padding:.4rem .9rem;font-size:.85rem;font-weight:600;transition:background .15s,transform .12s}.tm-confirm__ok:hover{background:var(--state-danger-hover,#dc2626)}.tm-confirm__ok:active{transform:scale(.97)}@media (width<=480px){.tm-modal{border-radius:10px 10px 0 0;align-self:flex-end;width:calc(100vw - 1rem);max-height:95vh}.tm-modal__confirm{flex-direction:column;align-items:flex-start;gap:.75rem}.tm-confirm__actions{justify-content:flex-end;width:100%}}
