.hint-app{--hint-accent:#f332f3;--hint-accent-d:#a012a0;max-width:640px;margin:24px auto;font-family:Arial,Helvetica,sans-serif;direction:rtl;text-align:right}
.hint-card{background:#fff;border:1px solid #eee;border-radius:18px;padding:22px 22px 18px;box-shadow:0 6px 26px rgba(0,0,0,.06)}
.hint-badge{display:inline-block;background:#fbe6fb;color:var(--hint-accent-d);font-weight:bold;border-radius:999px;padding:5px 14px;font-size:14px;margin-bottom:10px}
.hint-h2{font-size:26px;margin:6px 0 6px;color:#111}
.hint-sub{color:#555;font-size:16px;line-height:1.6;margin:0 0 14px}
.hint-tiny{color:#999;font-size:13px;margin-top:12px;text-align:center}
.hint-warn{background:#fff4f4;border:1px solid #ffd0d0;color:#b10000;border-radius:12px;padding:12px 14px;margin:10px 0}
.hint-field{display:block;margin:14px 0}
.hint-label{display:block;font-weight:bold;font-size:15px;margin-bottom:6px;color:#222}
.hint-input{width:100%;box-sizing:border-box;border:1.5px solid #e2e2e6;border-radius:12px;padding:12px 14px;font-size:16px;font-family:inherit;background:#fff}
.hint-input:focus{outline:none;border-color:var(--hint-accent)}
.hint-rolewrap .hint-input{margin-bottom:8px}
.hint-pills{display:flex;flex-wrap:wrap;gap:8px}
.hint-pill{background:#f4f4f6;border:1.5px solid transparent;border-radius:999px;padding:9px 16px;font-size:15px;cursor:pointer;font-family:inherit;color:#333}
.hint-pill.on{background:#fbe6fb;border-color:var(--hint-accent);color:var(--hint-accent-d);font-weight:bold}
.hint-btn{border:none;border-radius:999px;padding:14px 24px;font-size:16px;font-weight:bold;cursor:pointer;font-family:inherit}
.hint-primary{background:var(--hint-accent);color:#fff;width:100%;margin-top:8px}
.hint-primary:hover{filter:brightness(1.05)}
.hint-ghost{background:#f4f4f6;color:#333}
.hint-link{display:block;background:none;border:none;color:var(--hint-accent-d);font-size:14px;cursor:pointer;margin:10px auto 0;text-align:center;font-family:inherit;text-decoration:none}
.hint-ihead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.hint-headright{display:flex;align-items:center;gap:10px}
.hint-progress{color:#888;font-size:13px;white-space:nowrap}
.hint-toggle{background:#f4f4f6;border:1.5px solid #e2e2e6;border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer;font-family:inherit;color:#555;white-space:nowrap}
.hint-toggle.on{background:#fbe6fb;border-color:var(--hint-accent);color:var(--hint-accent-d);font-weight:bold}
.hint-q-labelrow{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hint-speak{background:none;border:none;cursor:pointer;font-size:17px;line-height:1;padding:2px 4px;border-radius:8px}
.hint-speak:hover{background:#f0dff0}
.hint-bar{height:7px;background:#f0f0f2;border-radius:999px;overflow:hidden;margin-bottom:16px}
.hint-bar-fill{height:100%;background:var(--hint-accent);border-radius:999px;transition:width .4s}
.hint-feedback{background:#f6fbf3;border:1px solid #d7ecca;border-radius:12px;padding:10px 14px;margin-bottom:12px}
.hint-fb-label{font-weight:bold;color:#3f8f2f;font-size:13px}
.hint-feedback p{margin:4px 0 0;color:#2f5a24;font-size:15px;line-height:1.55}
.hint-question{background:#faf6fb;border:1px solid #efd8ef;border-radius:14px;padding:14px 16px;margin-bottom:12px}
.hint-q-label{font-weight:bold;color:var(--hint-accent-d);font-size:13px}
.hint-q-text{margin:4px 0 0;font-size:19px;color:#111;line-height:1.5}
.hint-answer{width:100%;box-sizing:border-box;min-height:96px;border:1.5px solid #e2e2e6;border-radius:12px;padding:12px 14px;font-size:16px;font-family:inherit;resize:vertical}
.hint-answer:focus{outline:none;border-color:var(--hint-accent)}
.hint-actions{display:flex;gap:10px;align-items:center;margin-top:12px}
.hint-actions.hint-wrap{flex-wrap:wrap}
.hint-actions .hint-primary{width:auto;flex:1;margin-top:0}
.hint-mic{background:#fff;border:1.5px solid #e2e2e6;border-radius:999px;padding:12px 16px;font-size:15px;cursor:pointer;font-family:inherit;white-space:nowrap}
.hint-mic.rec{background:#ffe9e9;border-color:#ff7676;color:#c30000;animation:hint-pulse 1.1s infinite}
@keyframes hint-pulse{0%,100%{opacity:1}50%{opacity:.55}}
.hint-scorewrap{text-align:center;margin:6px 0 14px}
.hint-score{display:inline-flex;align-items:center;justify-content:center;width:104px;height:104px;border-radius:50%;background:conic-gradient(var(--hint-accent) 0,var(--hint-accent) 100%,#eee 0);color:#fff;font-size:38px;font-weight:bold;box-shadow:0 6px 18px rgba(160,18,160,.25)}
.hint-headline{color:#333;font-size:17px;margin:12px 0 0;line-height:1.5}
.hint-block{border-radius:12px;padding:12px 16px;margin:10px 0}
.hint-good{background:#f6fbf3;border:1px solid #d7ecca}
.hint-improve{background:#fff8ec;border:1px solid #f3dfb6}
.hint-tip{background:#f3f7ff;border:1px solid #cfe0f7}
.hint-block-t{margin:0 0 6px;font-size:16px;color:#111}
.hint-ul{margin:0;padding-inline-start:20px}
.hint-ul li{margin:4px 0;font-size:15px;line-height:1.5;color:#333}
.hint-spinner{width:40px;height:40px;border:4px solid #eee;border-top-color:var(--hint-accent);border-radius:50%;animation:hint-spin .8s linear infinite;margin:18px auto}
@keyframes hint-spin{to{transform:rotate(360deg)}}
.hint-flash{animation:hint-flash .6s}
@keyframes hint-flash{0%,100%{}50%{background:#fff4f4;border-radius:10px}}
@media(max-width:560px){.hint-actions{flex-wrap:wrap}.hint-actions .hint-primary{width:100%}}
