:root{--task-guide-blue:#2563eb;--task-guide-ink:#173252;--task-guide-muted:#60748c;--task-guide-line:#d9e5f1;--task-guide-soft:#f5f9ff;--task-guide-good:#0f8a68;--task-guide-warn:#c56a10}
.task-guide-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.task-tutorial-trigger,.task-help-step{min-height:42px;padding:0 13px;border:1px solid #d2e0ef;border-radius:13px;background:#fff;color:#245da9;font:900 13px/1.2 inherit;white-space:nowrap;cursor:pointer;box-shadow:0 5px 14px rgba(31,74,126,.06)}
.task-tutorial-trigger{background:#fff8df;border-color:#efd487;color:#74550f}
.task-tutorial-trigger:hover,.task-help-step:hover{transform:translateY(-1px)}
.task-feedback-help{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:8px;padding-top:8px;border-top:1px dashed rgba(111,139,170,.32)}
.task-feedback-help span{color:#60748c;font-size:12px;font-weight:750}
.task-help-step{min-height:38px;padding:0 11px;background:#eef5ff;color:#1e5bb4;box-shadow:none}
.task-tutorial-layer{position:fixed;inset:0;z-index:2600;display:grid;place-items:center;padding:14px;background:rgba(10,24,45,.75);backdrop-filter:blur(10px)}
.task-tutorial-layer[hidden]{display:none}
.task-tutorial-card{width:min(900px,100%);height:auto;min-height:min(640px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.82);border-radius:26px;background:#fff;box-shadow:0 32px 90px rgba(7,22,46,.38);overflow:hidden}
.task-tutorial-head{position:relative;display:grid;grid-template-columns:68px minmax(0,1fr) 44px;gap:14px;align-items:center}
.task-tutorial-head>i{width:68px;height:68px;display:grid;place-items:center;border-radius:21px;background:#eaf2ff;font-style:normal;font-size:38px}
.task-tutorial-head span{display:block;color:#2563eb;font-size:12px;font-weight:950;letter-spacing:.08em}
.task-tutorial-head h2{margin:4px 0 5px;color:#173252;font-size:29px;line-height:1.15}
.task-tutorial-head p{margin:0;color:#60748c;font-size:14px;line-height:1.55;font-weight:750}
.task-tutorial-close{width:42px;height:42px;border:0;border-radius:14px;background:#eef3f8;color:#435a74;font-size:28px;line-height:1;cursor:pointer}
.task-tutorial-chapterbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 13px;border:1px solid #dce7f2;border-radius:14px;background:#f7faff;color:#516a85}
.task-tutorial-chapterbar strong{color:#1f5ba8;font-size:13px}.task-tutorial-chapterbar small{font-size:12px;font-weight:750}
.task-tutorial-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:5px;border:1px solid #dbe6f2;border-radius:16px;background:#f4f8fc}
.task-tutorial-tabs button{min-height:42px;padding:5px 7px;border:0;border-radius:12px;background:transparent;color:#5c7088;font:900 12px/1.25 inherit;cursor:pointer}
.task-tutorial-tabs button.is-active{background:#fff;color:#1e5bb4;box-shadow:0 5px 14px rgba(31,74,126,.1)}
.task-tutorial-panels{min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-gutter:stable}
.task-tutorial-panels>section[hidden]{display:none!important}
.task-guide-goal{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:16px 18px;border:1px solid #efdca6;border-radius:18px;background:linear-gradient(145deg,#fff9e7,#fffdf8)}
.task-guide-goal strong{color:#775512;white-space:nowrap}.task-guide-goal p{margin:0;color:#5d5134;font-size:15px;line-height:1.65;font-weight:800}
.task-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.task-guide-card{min-width:0;padding:16px;border:1px solid #dbe6f2;border-radius:18px;background:#f8fbff}
.task-guide-card strong{display:block;margin-bottom:7px;color:#193b64;font-size:16px}.task-guide-card p,.task-guide-card ol,.task-guide-card ul{margin:0;color:#566c85;font-size:14px;line-height:1.68;font-weight:720}.task-guide-card ol,.task-guide-card ul{padding-left:21px}.task-guide-card li+li{margin-top:6px}
.task-guide-method{counter-reset:guide-step;display:grid;gap:10px}
.task-guide-method article{counter-increment:guide-step;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start;padding:15px;border:1px solid #dbe6f2;border-radius:18px;background:#f8fbff}
.task-guide-method article:before{content:counter(guide-step);width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#2563eb;color:#fff;font-weight:1000}
.task-guide-method strong{display:block;margin-bottom:4px;color:#193b64}.task-guide-method p{margin:0;color:#586f88;font-size:14px;line-height:1.6;font-weight:720}
.task-example{display:grid;gap:10px}.task-example-question{padding:16px 18px;border:1px solid #dbe6f2;border-radius:18px;background:#f7fbff}.task-example-question span{display:block;color:#2563eb;font-size:12px;font-weight:950}.task-example-question h3{margin:5px 0 0;color:#173252;font-size:22px;line-height:1.4}
.task-example-walk{display:grid;gap:8px}.task-example-walk div{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start;padding:12px 14px;border-radius:15px;background:#f4f8fc;color:#536b85;font-size:14px;line-height:1.6;font-weight:750}.task-example-walk b{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#e6effd;color:#245da9}
.task-example-answer{padding:14px 16px;border:1px solid #bfe5d7;border-radius:16px;background:#eefaf5;color:#17664f;font-size:14px;line-height:1.6;font-weight:850}
.task-guide-warning{background:#fff8f0;border-color:#f0d6bd}.task-guide-parent{background:#f3fbf7;border-color:#cfe8dc}
.task-guide-first{display:grid;grid-template-columns:70px minmax(0,1fr);gap:16px;align-items:center;min-height:150px;padding:18px;border:1px solid #cfe8dc;border-radius:20px;background:linear-gradient(145deg,#f5fbff,#f3fbf6)}
.task-guide-first>i{width:66px;height:66px;display:grid;place-items:center;border-radius:22px;background:#e7f7f1;font-style:normal;font-size:36px}.task-guide-first strong{display:block;margin-bottom:6px;color:#194f40;font-size:18px}.task-guide-first p{margin:0;color:#58746c;font-size:14px;line-height:1.65;font-weight:750}
.task-guide-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.task-guide-checklist span{padding:10px;border-radius:13px;background:#f4f8fc;color:#516a85;text-align:center;font-size:12px;font-weight:850}
.task-tutorial-actions{display:grid;grid-template-columns:160px minmax(0,1fr);gap:10px}.task-tutorial-actions button{min-height:48px;border:1px solid #d5e1ed;border-radius:14px;background:#fff;color:#425d79;font:900 14px inherit;cursor:pointer}.task-tutorial-actions button.primary{background:#2563eb;border-color:#2563eb;color:#fff}.task-tutorial-actions button:disabled{opacity:.45;cursor:default}
.task-guide-focus{position:relative;z-index:2300!important;outline:5px solid #f7c948!important;outline-offset:5px!important;box-shadow:0 0 0 10px rgba(247,201,72,.22),0 18px 55px rgba(20,50,85,.18)!important}
.task-guide-coach{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:2500;width:min(640px,calc(100vw - 28px));transform:translateX(-50%);display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 14px;border:1px solid #efd487;border-radius:17px;background:#fff9df;box-shadow:0 18px 50px rgba(24,53,90,.24);color:#5f4b16}
.task-guide-coach>i{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#ffeaa8;font-style:normal;font-size:22px}.task-guide-coach strong{display:block;color:#694d0b;font-size:14px}.task-guide-coach span{display:block;margin-top:2px;font-size:12px;line-height:1.45;font-weight:750}.task-guide-coach button{min-height:38px;padding:0 11px;border:0;border-radius:11px;background:#7c5d12;color:#fff;font-weight:900;cursor:pointer}
@media(max-width:900px){.task-tutorial-card{min-height:min(720px,calc(100dvh - 20px));max-height:calc(100dvh - 20px);padding:15px;border-radius:22px}.task-tutorial-tabs{display:flex;overflow-x:auto;scrollbar-width:none}.task-tutorial-tabs::-webkit-scrollbar{display:none}.task-tutorial-tabs button{flex:0 0 122px}.task-guide-grid{grid-template-columns:1fr}.task-tutorial-head{grid-template-columns:56px minmax(0,1fr) 42px}.task-tutorial-head>i{width:56px;height:56px;border-radius:18px;font-size:31px}.task-tutorial-head h2{font-size:24px}}
@media(max-width:620px){.task-guide-head-actions{gap:5px}.task-tutorial-trigger,.task-help-step{min-height:38px;padding:0 9px;font-size:12px}.task-tutorial-trigger{font-size:0}.task-tutorial-trigger:before{content:'📖';font-size:18px}.task-tutorial-card{padding:12px;gap:9px}.task-tutorial-head p{font-size:12px}.task-tutorial-chapterbar small{display:none}.task-guide-goal{grid-template-columns:1fr}.task-guide-method article{grid-template-columns:36px 1fr}.task-guide-first{grid-template-columns:54px 1fr}.task-guide-first>i{width:52px;height:52px;font-size:29px}.task-guide-checklist{grid-template-columns:1fr}.task-tutorial-actions{grid-template-columns:1fr 1.4fr}.task-guide-coach{grid-template-columns:40px minmax(0,1fr);bottom:max(10px,env(safe-area-inset-bottom))}.task-guide-coach button{grid-column:1/-1;width:100%}}
@media(prefers-reduced-motion:reduce){.task-tutorial-trigger:hover,.task-help-step:hover{transform:none}}
