.skill-constellation{display:inline-flex;align-items:center;width:220px;height:64px;opacity:0;transform:translate(-8px) scale(.96);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.skill-constellation.active{opacity:1;transform:translate(0) scale(1)}.constellation-lines line{stroke:#c8d2f0;stroke-width:1.5;stroke-linecap:round}.energy-lines line{stroke:url(#energyGradient);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:18 80;stroke-dashoffset:100;opacity:0}.skill-constellation.active .energy-lines line{opacity:1;animation:energyFlow 1.8s ease-in-out infinite}.energy-lines line:nth-child(2){animation-delay:.15s}.energy-lines line:nth-child(3){animation-delay:.3s}.energy-lines line:nth-child(4){animation-delay:.45s}.energy-lines line:nth-child(5){animation-delay:.6s}.energy-lines line:nth-child(6){animation-delay:.75s}.constellation-nodes circle{fill:#6f8fe8;opacity:.7;transform-box:fill-box;transform-origin:center}.skill-constellation.active .constellation-nodes circle{animation:nodePulse 1.6s ease-in-out infinite}.constellation-nodes circle:nth-child(2){animation-delay:.2s}.constellation-nodes circle:nth-child(3){animation-delay:.4s}.constellation-nodes circle:nth-child(4){animation-delay:.6s}.constellation-nodes circle:nth-child(5){animation-delay:.8s}.constellation-nodes circle:nth-child(6){animation-delay:1s}.traveler{fill:#8fb3ff;filter:url(#softGlow);opacity:0}.skill-constellation.active .traveler{opacity:1;animation:travelPath 2.4s ease-in-out infinite}@keyframes energyFlow{0%{stroke-dashoffset:100}to{stroke-dashoffset:0}}@keyframes nodePulse{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.35)}}@keyframes travelPath{0%{transform:translate(24px,34px)}18%{transform:translate(68px,18px)}36%{transform:translate(112px,34px)}54%{transform:translate(156px,16px)}72%{transform:translate(198px,30px)}90%{transform:translate(158px,50px)}to{transform:translate(24px,34px)}}@media(prefers-reduced-motion:reduce){.skill-constellation.active .energy-lines line,.skill-constellation.active .constellation-nodes circle,.skill-constellation.active .traveler{animation:none}.skill-constellation.active{opacity:1}}:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#131b2e;background:#faf8ff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--background: #faf8ff;--surface: #ffffff;--surface-low: #f2f3ff;--surface-container: #eaedff;--surface-high: #e2e7ff;--text: #131b2e;--text-muted: #424654;--outline: #c3c6d6;--outline-strong: #737785;--primary: #0040a1;--primary-bright: #0056d2;--primary-soft: #dae2ff;--success: #067047;--success-soft: #d8f7e8;--warning: #92400e;--warning-soft: #fff1c7;--error: #ba1a1a;--error-soft: #ffdad6;--shadow: 0 2px 14px rgba(19, 27, 46, .06);--shadow-hover: 0 8px 24px rgba(19, 27, 46, .09);--radius: 8px;--radius-lg: 16px;--page-max: 1280px}*{box-sizing:border-box}html{min-width:320px;background:var(--background)}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#dae2ff73 0,#faf8ff00 280px),var(--background)}button,input,select,textarea{font:inherit}button{min-height:40px}button,select{cursor:pointer}button:disabled,select:disabled,textarea:disabled,input:disabled{cursor:not-allowed;opacity:.62}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--primary-bright);outline-offset:2px}main{width:min(var(--page-max),calc(100% - 48px));margin:0 auto;padding:32px 0 56px}h1,h2,h3,p{overflow-wrap:anywhere}h1{margin:0;font-size:32px;line-height:1.25;font-weight:700;letter-spacing:0;color:var(--text)}h2{margin:0 0 16px;font-size:22px;line-height:1.35;font-weight:650;letter-spacing:0}h3{margin:0 0 8px;font-size:18px;line-height:1.4;font-weight:650;letter-spacing:0}p{margin:0}pre{background:var(--surface-low);padding:16px;border-radius:var(--radius);overflow-x:auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px;margin-bottom:28px}.brand-logo{width:88px;height:auto;flex:0 0 auto}.brand-heading{display:flex;align-items:center;gap:18px;min-width:0}.brand-heading.compact img{width:72px}.brand-heading p{margin-top:8px;max-width:720px;color:var(--text-muted);font-size:17px}.session-header{margin-bottom:20px}.user-menu{position:relative;flex:0 0 auto}.avatar-button{width:48px;height:48px;min-height:48px;border:1px solid rgba(0,64,161,.18);border-radius:999px;background:var(--primary);color:#fff;font-size:15px;font-weight:800;box-shadow:0 4px 14px #0040a12e;padding:0}.avatar-button:hover{background:var(--primary-bright)}.user-menu-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:10;width:min(260px,calc(100vw - 32px));border:1px solid rgba(195,198,214,.86);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 18px 46px #131b2e24;padding:10px}.user-menu-identity{display:grid;gap:2px;padding:10px 10px 12px;border-bottom:1px solid rgba(195,198,214,.55);margin-bottom:8px}.user-menu-identity strong{color:var(--text);font-size:14px}.user-menu-identity span{color:var(--text-muted);font-size:13px;overflow-wrap:anywhere}.user-menu-popover button{width:100%;justify-content:flex-start;border-color:transparent;background:transparent;color:var(--text);box-shadow:none}.user-menu-popover button:hover{background:var(--surface-low);color:var(--primary)}.button,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:var(--radius);padding:9px 16px;background:var(--surface);color:var(--primary);font-weight:650;text-decoration:none;transition:background .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease}.button.primary,.auth-form button,.scenario-meta button,.answer-form button{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 2px 8px #0040a12e}.button.primary:hover,.auth-form button:hover,.scenario-meta button:hover,.answer-form button:hover{background:var(--primary-bright);border-color:var(--primary-bright)}.button.secondary{color:var(--text);border-color:var(--outline);background:#ffffffc7}.button.secondary:hover{border-color:var(--primary);color:var(--primary);background:var(--surface)}.button.ghost,.sessions-table button,.attempt-list button.link{color:var(--primary);border-color:var(--outline);background:var(--surface);box-shadow:none}.button.ghost:hover,.sessions-table button:hover,.attempt-list button.link:hover{color:#fff;border-color:var(--primary);background:var(--primary)}.auth-page{min-height:100vh;width:min(560px,calc(100% - 32px));display:grid;place-items:center;padding:32px 0}.auth-panel{width:100%;border:1px solid rgba(195,198,214,.78);border-radius:var(--radius-lg);background:#ffffffe6;box-shadow:var(--shadow);padding:36px}.auth-logo{width:104px;display:block;margin-bottom:16px}.login-hint{color:var(--text-muted);font-size:16px;margin:8px 0 24px}.auth-form{display:flex;flex-direction:column;gap:18px}.auth-form label,.answer-form label,.filters label{display:flex;flex-direction:column;gap:7px;color:var(--text-muted);font-size:14px;font-weight:650}.auth-form input,.filters select,.answer-form textarea{width:100%;min-height:44px;border:1px solid var(--outline);border-radius:var(--radius);background:var(--surface);color:var(--text);padding:10px 12px;font-size:16px;transition:border-color .14s ease,box-shadow .14s ease}.auth-form input:focus,.filters select:focus,.answer-form textarea:focus{border-color:var(--primary-bright);box-shadow:0 0 0 3px #0056d224;outline:none}.error{border:1px solid rgba(186,26,26,.28);border-radius:var(--radius);background:var(--error-soft);color:#93000a;font-size:14px;font-weight:600;padding:10px 12px;margin:0 0 16px}.lang-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.lang-buttons button{min-height:52px;border:1px solid var(--outline);border-radius:var(--radius);background:var(--surface);color:var(--primary);font-weight:700}.lang-buttons button:hover{background:var(--primary-soft);border-color:var(--primary)}.profession-section{margin-top:36px}.profession-section h2{margin-bottom:14px;color:var(--text-muted);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:0}.scenario-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.scenario-card{min-width:0;border:1px solid rgba(195,198,214,.7);border-radius:var(--radius-lg);padding:20px;background:var(--surface);box-shadow:var(--shadow);transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.scenario-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-hover);border-color:#0040a138}.scenario-card h3{margin-bottom:10px}.scenario-card p{margin-bottom:18px;color:var(--text-muted);line-height:1.55}.scenario-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.scenario-meta .difficulty{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;background:var(--surface-low);color:var(--text-muted);padding:5px 10px;font-size:13px;font-weight:700}.scenario-meta button{flex:0 0 auto}.attempt-list{list-style:none;padding:0;margin:16px 0 0;display:flex;flex-wrap:wrap;gap:8px}.attempt-list button.link{min-height:34px;padding:6px 10px;font-size:13px}.question-card,.feedback-card,.summary-card,.history-section{border:1px solid rgba(195,198,214,.72);border-radius:var(--radius-lg);padding:24px;margin-top:24px;background:var(--surface);box-shadow:var(--shadow)}.question-card{background:#fffffff0}.feedback-card{position:relative;border-color:#0056d238;background:#f5f8ff;padding-left:28px}.feedback-card:before{content:"";position:absolute;inset:18px auto 18px 0;width:4px;border-radius:0 999px 999px 0;background:var(--primary-bright)}.feedback-card.compact{margin-top:12px;padding:16px 16px 16px 20px;background:#fbfcff;box-shadow:none}.summary-card{border-color:#0670472e;background:#f6fff9}.question-text{color:var(--text);font-size:18px;line-height:1.65;margin:18px 0 22px}.answer-form{display:flex;flex-direction:column;gap:16px}.answer-form textarea{min-height:152px;resize:vertical}.answer-form button{align-self:flex-start}.answer-submit-row{display:flex;align-items:center;gap:16px;min-height:64px}.answer-submit-row button{flex:0 0 auto}.overall-score{display:inline-flex;align-items:baseline;gap:8px;border-radius:999px;background:var(--primary-soft);color:var(--primary);padding:8px 12px;font-size:15px;font-weight:650;margin-bottom:16px}.overall-score strong{color:var(--text);font-size:18px}.criterion-list{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:12px}.criterion-list li{border-left:4px solid var(--primary-bright);border-radius:0 var(--radius) var(--radius) 0;background:#ffffffb3;padding:10px 12px}.criterion-list p{margin-top:6px;color:var(--text-muted)}.feedback-card blockquote{border-left:4px solid var(--outline-strong);padding:4px 0 4px 14px;margin:0;color:var(--text-muted);font-style:italic}.encouragement{margin-top:16px;color:var(--success);font-weight:650}.history-list{padding-left:22px;margin:0}.history-item{margin-bottom:18px}.history-item:last-child{margin-bottom:0}.history-item details{margin-top:10px}.history-item summary{cursor:pointer;color:var(--primary);font-weight:650}.answer-quote{background:var(--surface-low);color:var(--text);padding:12px 14px;border-radius:var(--radius);margin:12px 0}.session-meta{border:1px solid var(--outline);border-radius:var(--radius);background:var(--surface-low);padding:12px 14px;font-size:14px;color:var(--text-muted)}.filters{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 16px}.filters label{min-width:min(220px,100%)}.filters select{min-width:220px;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.tabs{display:inline-flex;gap:4px;margin:0 0 18px;padding:4px;border:1px solid rgba(195,198,214,.78);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.tabs button{min-height:36px;border:0;border-radius:6px;background:transparent;color:var(--text-muted);font-weight:750;padding:7px 14px}.tabs button.active{background:var(--primary);color:#fff}.admin-panel{margin-top:2px}.role-pill{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:800;text-transform:capitalize;white-space:nowrap}.muted{color:var(--text-muted)}.sessions-table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid rgba(195,198,214,.7);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);font-size:15px}.sessions-table th,.sessions-table td{text-align:left;vertical-align:middle;padding:14px 12px;border-bottom:1px solid rgba(195,198,214,.45)}.sessions-table th{background:var(--surface-low);color:var(--text-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:0}.sessions-table tbody tr:last-child td{border-bottom:none}.sessions-table tbody tr:hover{background:#fbfcff}.sessions-table .table-action{text-align:right}.sessions-table button{min-height:36px;padding:7px 12px;white-space:nowrap}.status-pill{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.status-in_progress{background:var(--warning-soft);color:var(--warning)}.status-completed{background:var(--success-soft);color:var(--success)}.status-abandoned{background:#edf0f6;color:var(--text-muted)}@media(max-width:860px){main{width:min(100% - 32px,var(--page-max));padding:24px 0 40px}h1{font-size:28px}.page-header{align-items:center;gap:16px}.brand-logo{width:72px}.page-header>.button,.page-header>button{align-self:center}}@media(max-width:640px){main{width:min(100% - 24px,var(--page-max));padding:18px 0 32px}h1{font-size:24px;line-height:1.3}h2{font-size:20px}.auth-panel{padding:24px}.auth-logo{width:88px}.lang-buttons{grid-template-columns:1fr}.brand-logo{width:62px}.brand-heading p{font-size:15px}.scenario-list{grid-template-columns:1fr}.scenario-card,.question-card,.feedback-card,.summary-card,.history-section{border-radius:12px;padding:18px}.scenario-meta{align-items:stretch;flex-direction:column}.scenario-meta button,.auth-form button{width:100%}.answer-submit-row{align-items:stretch;flex-direction:column;gap:10px}.answer-submit-row button{width:100%}.answer-submit-row .skill-constellation{align-self:center;max-width:100%}.question-text{font-size:17px}.filters{display:grid;grid-template-columns:1fr;gap:12px}.filters label,.filters select{min-width:0;width:100%}.sessions-table,.sessions-table thead,.sessions-table tbody,.sessions-table tr,.sessions-table td{display:block;width:100%}.sessions-table{border:0;border-radius:0;background:transparent;box-shadow:none}.sessions-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.sessions-table tr{margin-bottom:14px;border:1px solid rgba(195,198,214,.78);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.sessions-table td{display:grid;grid-template-columns:minmax(92px,36%) 1fr;gap:12px;align-items:start;border-bottom:1px solid rgba(195,198,214,.38);padding:11px 12px;min-width:0}.sessions-table td:before{content:attr(data-label);color:var(--text-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:0}.sessions-table td:last-child{border-bottom:0}.sessions-table .table-action{display:block;text-align:left;padding:12px}.sessions-table .table-action:before{content:none}.sessions-table .table-action button{width:100%}}@media(max-width:390px){main{width:min(100% - 20px,var(--page-max))}.brand-heading.compact{flex-direction:row;align-items:center}.sessions-table td{grid-template-columns:minmax(84px,34%) 1fr;gap:10px}}
