/* Sınav Times - YKS Tercih Robotu (ad alanı: tr-) — Sınav Robotu (sr-) ile aynı görünüm */
.tr-widget{width:460px;max-width:100%;margin:22px auto;background:#fff;color:#1f2937;border:1px solid rgba(15,23,42,.12);border-radius:18px;box-shadow:0 18px 50px rgba(15,23,42,.18);overflow:hidden}
.tr-head{display:flex;align-items:center;gap:11px;padding:14px 15px;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2)}
.tr-robot{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:22px;flex:0 0 auto}
.tr-head-text{min-width:0;flex:1}
.tr-head-title{font-size:16px;font-weight:800;line-height:1.2}
.tr-head-sub{font-size:10px;opacity:.9;margin-top:3px}
.tr-body{padding:15px}
.tr-row{margin-bottom:10px}
.tr-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tr-two .tr-row{margin-bottom:0}
.tr-label{display:block;font-size:12px;font-weight:700;margin-bottom:5px;color:#374151}
.tr-select,.tr-input,.tr-dd-btn{width:100%;box-sizing:border-box;height:42px;border:1px solid #d9dee8;border-radius:10px;background:#f8fafc;padding:0 11px;font:inherit;font-size:13px;color:#111827;outline:none}
.tr-select:focus,.tr-input:focus,.tr-dd-btn:focus{border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.12)}
.tr-dd-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer}
.tr-dd-btn:disabled{opacity:.55;cursor:not-allowed}
.tr-dd-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr-dd-caret{font-size:12px;color:#64748b;transition:.18s;flex:0 0 auto}
.tr-dd.open .tr-dd-caret{transform:rotate(180deg)}
.tr-dd.open .tr-dd-btn{border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.12)}
.tr-dd-panel{display:none;margin-top:6px;border:1px solid #d9dee8;border-radius:10px;background:#fff;overflow:hidden}
.tr-dd.open .tr-dd-panel{display:block}
.tr-dd-search{width:100%;box-sizing:border-box;height:38px;border:0;border-bottom:1px solid #e5e7eb;padding:0 11px;font:inherit;font-size:13px;outline:none}
.tr-dd-tools{display:flex;gap:6px;padding:7px 8px;background:#f8fafc;border-bottom:1px solid #e5e7eb}
.tr-dd-tools button{border:0;background:#e2e8f0;color:#334155;border-radius:8px;padding:5px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.tr-dd-tools button.tr-dd-ok{margin-left:auto;background:#667eea;color:#fff}
.tr-dd-list{max-height:230px;overflow:auto;overscroll-behavior:contain}
.tr-dd-item{display:flex;align-items:center;gap:9px;padding:9px 11px;font-size:13px;color:#1f2937;cursor:pointer;border-bottom:1px solid #f1f5f9;margin:0}
.tr-dd-item:hover{background:#f1f5ff}
.tr-dd-item input{width:17px;height:17px;margin:0;accent-color:#667eea;flex:0 0 auto}
.tr-dd-item span{flex:1;min-width:0}
.tr-dd-item i{font-style:normal;font-size:11px;color:#94a3b8}
.tr-none{color:#64748b;font-size:13px;padding:12px;text-align:center}
.tr-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}
.tr-btn{min-height:42px;border:0;border-radius:10px;padding:9px 8px;cursor:pointer;font:inherit;font-size:12px;font-weight:800;transition:.18s}
.tr-btn:disabled{opacity:.5;cursor:not-allowed}
.tr-create{background:#667eea;color:#fff}
.tr-list{background:#111827;color:#fff}
.tr-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.98)}
.tr-resetb{display:block;margin:9px auto 0;border:0;background:none;color:#64748b;font:inherit;font-size:12px;font-weight:700;cursor:pointer;text-decoration:underline}
.tr-st{margin-top:10px;padding:9px 10px;border-radius:9px;background:#f1f5f9;font-size:11px;line-height:1.45;color:#475569;min-height:17px}
.tr-st.ok{background:#ecfdf5;color:#047857}.tr-st.err{background:#fef2f2;color:#b91c1c}
.tr-note{font-size:9.5px;color:#64748b;margin-top:8px;line-height:1.35}
.tr-modal{position:fixed;inset:0;background:rgba(15,23,42,.66);z-index:100000;display:none;padding:25px;overflow:auto}
.tr-modal.show{display:block}
.tr-preview{width:min(820px,100%);margin:0 auto;background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3);color:#111827}
.tr-preview-top{display:flex;align-items:center;gap:10px;padding:15px 18px;border-bottom:1px solid #e5e7eb}
.tr-preview-title{font-size:17px;font-weight:800;flex:1}
.tr-preview-close{width:35px;height:35px;border:0;border-radius:9px;background:#ef4444;color:#fff;cursor:pointer;font-size:19px}
.tr-tabs{display:flex;gap:6px;padding:10px 18px;flex-wrap:wrap;border-bottom:1px solid #e2e8f0}
.tr-tabs button{border:0;padding:8px 13px;border-radius:20px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;background:#e2e8f0;color:#334155}
.tr-tabs button.on{background:#1e3a8a;color:#fff}
#tr-out{padding:14px 18px;min-height:120px}
.tr-c{border:1px solid #e2e8f0;border-left:5px solid #94a3b8;border-radius:10px;padding:10px 12px;margin-bottom:8px;display:flex;justify-content:space-between;gap:10px;align-items:center}
.tr-c.G{border-left-color:#16a34a}.tr-c.H{border-left-color:#2563eb}.tr-c.R{border-left-color:#dc2626}
.tr-c b{display:block;font-size:15px;color:#1e293b}.tr-c small{color:#64748b;font-size:12.5px;line-height:1.5}
.tr-c em{font-style:normal;font-weight:600;color:#64748b;font-size:13px}
.tr-tag{font-size:11px;font-weight:700;padding:2px 8px;border-radius:10px;color:#fff;margin-left:6px;vertical-align:middle}
.tr-c.G .tr-tag{background:#16a34a}.tr-c.H .tr-tag{background:#2563eb}.tr-c.R .tr-tag{background:#dc2626}
.tr-star{border:0;background:#fef3c7;border-radius:8px;font-size:18px;cursor:pointer;padding:6px 10px}
.tr-ord{display:flex;gap:3px}.tr-ord button{border:0;background:#e2e8f0;border-radius:6px;cursor:pointer;padding:6px 8px}
.tr-cp{border:0;background:#16a34a;color:#fff;border-radius:8px;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer;margin-bottom:10px}
.tr-m{color:#64748b;text-align:center;margin:26px 0;line-height:1.6}
.tr-info{background:#eff6ff;color:#1e40af;border-radius:9px;padding:9px 12px;font-size:13px;margin:0 0 12px;line-height:1.5}
.tr-more{width:100%;border:0;background:#e2e8f0;color:#334155;border-radius:10px;padding:11px;font:inherit;font-weight:700;cursor:pointer;margin-top:4px}
.tr-warn{font-size:12px;color:#92400e;background:#fffbeb;padding:10px 18px;border-top:1px solid #fde68a}
@media(max-width:600px){.tr-modal{padding:8px}.tr-two{grid-template-columns:1fr}.tr-widget{border-radius:14px}#tr-out,.tr-tabs{padding-left:12px;padding-right:12px}}
#tr-left{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:99990;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff!important;border-radius:0 12px 12px 0;padding:16px 10px;font:700 14px 'Segoe UI',system-ui,Arial,sans-serif;writing-mode:vertical-rl;text-decoration:none!important;box-shadow:2px 2px 14px rgba(15,23,42,.35);transition:padding .15s}
#tr-left:hover{padding-left:16px}
@media(max-width:600px){#tr-left{padding:12px 8px;font-size:13px}.tr-head small{margin-left:0}}
