/* Twink FAST V2.7 — Technical Expert Guide */
.tech27-shell{display:flex;flex-direction:column;gap:14px}.tech27-context{display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,1fr) minmax(240px,1fr);gap:12px;padding:14px;background:var(--card,#fff);border:1px solid var(--border,#dfe6eb);border-radius:14px}.tech27-context label{font-size:12px;font-weight:700}.tech27-context select{width:100%;margin-top:6px}.tech27-context-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;padding-top:20px}.tech27-tabs{display:flex;gap:7px;overflow:auto;padding:3px}.tech27-tabs button{border:1px solid var(--border,#dfe6eb);background:var(--card,#fff);border-radius:999px;padding:9px 14px;font-weight:700;white-space:nowrap;cursor:pointer}.tech27-tabs button.active{background:#0b3a5b;color:#fff;border-color:#0b3a5b}.tech27-panel{display:none}.tech27-panel.active{display:block}.tech27-profile-banner{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border-radius:14px;background:linear-gradient(135deg,#f4f8fb,#edf6f4);border:1px solid #d9e6e8;margin-bottom:12px}.tech27-profile-banner>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tech27-profile-banner span{font-size:12px;padding:4px 8px;border-radius:999px;background:#fff;border:1px solid #dbe5e8}.tech27-safety{padding:12px 14px;border-left:5px solid #d17a14;background:#fff8ed;border-radius:10px;margin:10px 0 14px;line-height:1.5}.tech27-work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}.tech27-work-grid button{border:1px solid #dce5ea;background:#fff;border-radius:16px;padding:18px;text-align:left;cursor:pointer;box-shadow:0 4px 14px rgba(10,40,60,.04)}.tech27-work-grid button:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(10,40,60,.08)}.tech27-work-grid span{font-size:28px;display:block;margin-bottom:8px}.tech27-work-grid b{display:block;font-size:15px;margin-bottom:5px}.tech27-work-grid small{color:#64747f;line-height:1.4}.tech27-step-list{display:flex;flex-direction:column;gap:9px}.tech27-step{border:1px solid #dfe7eb;border-radius:13px;background:#fff;overflow:hidden}.tech27-step summary{display:grid;grid-template-columns:32px auto 1fr auto;gap:9px;align-items:center;padding:12px 14px;cursor:pointer;list-style:none}.tech27-step summary::-webkit-details-marker{display:none}.tech27-step[open] summary{background:#f7fafb;border-bottom:1px solid #e3eaed}.tech27-step-no{width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#0b3a5b;color:#fff;font-weight:800;font-size:12px}.tech-action-type{font-size:10px;font-weight:800;border-radius:999px;padding:5px 8px;white-space:nowrap;background:#edf3f6;color:#2c4d5d}.tech-action-safe,.tech-action-isolate,.tech-action-disconnect{background:#fff0ef;color:#9a2c27}.tech-action-measure,.tech-action-continuity{background:#edf4ff;color:#245f9a}.tech-action-function,.tech-action-simulate{background:#ecf8f0;color:#267445}.tech-action-rootcause{background:#f5efff;color:#684099}.tech27-ref{font-size:11px;color:#607681;text-align:right}.tech27-step-body{padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.tech27-step-body>div,.tech27-step-body>p{margin:0}.tech27-step-body small,.tech27-terminal small{display:block;font-size:10px;letter-spacing:.04em;color:#687a84;font-weight:800;margin-bottom:5px}.tech27-terminal{grid-column:1/-1;padding:10px 12px;background:#f2f7fa;border-radius:10px}.tech27-terminal b{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.45}.tech27-expected{padding:10px 12px;background:#eef9f2;border-radius:10px}.tech27-abnormal{padding:10px 12px;background:#fff2f0;border-radius:10px}.tech27-symptom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tech27-symptom{border:1px solid #dde6ea;background:#fff;border-radius:13px;text-align:left;padding:14px;cursor:pointer}.tech27-symptom b,.tech27-symptom small{display:block}.tech27-symptom small{color:#657680;line-height:1.4;margin:5px 0 9px}.tech27-symptom span{font-size:10px;font-weight:800;background:#eef4f6;border-radius:999px;padding:4px 7px}.tech27-diagnostic{margin-top:14px}.tech27-rootcause{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:10px 0 15px}.tech27-rootcause span{font-size:11px;border:1px solid #e4d8c6;background:#fff9ed;border-radius:999px;padding:5px 8px}.tech27-diag-step{border:1px solid #dfe7eb;border-radius:12px;overflow:hidden}.tech27-diag-head{display:grid;grid-template-columns:32px auto 1fr auto;gap:8px;align-items:center;padding:11px 13px;background:#f8fafb}.tech27-diag-body{padding:13px}.tech27-branch{margin-top:8px;padding:9px 11px;border-radius:9px;font-size:13px}.tech27-branch.ok{background:#eff9f2}.tech27-branch.bad{background:#fff1ef}.tech27-ai-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:12px}.tech27-ai-history{min-height:200px;max-height:520px;overflow:auto;padding:8px;background:#f7f9fa;border-radius:12px;margin:10px 0}.tech27-ai-msg{margin:8px 0;padding:11px 13px;border-radius:12px;max-width:94%;line-height:1.5}.tech27-ai-msg.user{background:#eaf2f7;margin-left:auto}.tech27-ai-msg.assistant{background:#fff;border:1px solid #dfe7eb}.tech27-ai-msg>b{display:block;font-size:11px;color:#4e6875;margin-bottom:6px}.tech27-ai-question{display:block;font-weight:700}.tech27-ai-question textarea{width:100%;margin-top:6px}.tech27-ai-inputs{display:flex;gap:10px;align-items:end;justify-content:space-between;margin-top:10px}.tech27-ai-inputs label{font-size:12px;font-weight:700}.tech27-ai-note{font-size:11px;color:#6a7980;margin-top:10px}.tech27-ai-assessment{padding:10px;background:#f2f7fa;border-radius:10px}.tech27-ai-assessment span{font-size:11px;font-weight:800}.tech27-ai-check{padding:9px 10px;border-left:4px solid #2f6c8c;background:#f7fafb;margin:7px 0;border-radius:7px}.tech27-ai-check b,.tech27-ai-check small,.tech27-ai-check span{display:block}.tech27-ai-check span{font-size:10px;color:#5d7380;margin-top:4px}.tech27-drawing-grid{display:grid;grid-template-columns:minmax(280px,.65fr) minmax(0,1.35fr);gap:12px}.tech27-profile-choice{display:block;width:100%;text-align:left;border:1px solid #dfe7eb;background:#fff;padding:11px;border-radius:10px;margin:7px 0;cursor:pointer}.tech27-profile-choice.active{border-color:#0b3a5b;background:#f0f7fb}.tech27-profile-choice b,.tech27-profile-choice small{display:block}.tech27-profile-choice small{color:#64747f;margin-top:3px}.tech27-revision{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:12px 0;border-bottom:1px solid #e4eaed}.tech27-revision>div:first-child b{margin-right:6px}.tech27-revision small{display:block;color:#64747f;margin-top:3px}.tech27-revision p{grid-column:1/-1;margin:0;color:#5e707a;font-size:12px}.tech27-rev-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}@media(max-width:1000px){.tech27-work-grid{grid-template-columns:repeat(2,1fr)}.tech27-symptom-grid{grid-template-columns:repeat(2,1fr)}.tech27-context,.tech27-ai-layout,.tech27-drawing-grid{grid-template-columns:1fr}.tech27-context-meta{padding-top:0}}@media(max-width:680px){.tech27-work-grid,.tech27-symptom-grid{grid-template-columns:1fr}.tech27-step summary,.tech27-diag-head{grid-template-columns:30px 1fr;}.tech27-step summary .tech-action-type,.tech27-diag-head .tech-action-type{grid-column:2}.tech27-ref{grid-column:2;text-align:left}.tech27-step-body{grid-template-columns:1fr}.tech27-terminal{grid-column:auto}.tech27-ai-inputs{flex-direction:column;align-items:stretch}.tech27-revision{grid-template-columns:1fr}.tech27-rev-actions{justify-content:flex-start}}
