/* L05 课题二 · 案例研究学习指引 */
body.cs-guide-open{overflow:hidden}
body.cs-guide-open .qaw-fab,
body.cs-guide-open .qaw-panel{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

.cs-guide-root,.header-actions .cs-guide-trigger{--accent:#1f6b74;--accent-2:#17545c;--accent-soft:#e2efef;--accent-line:#a9cbcd;--cs-guide-shadow-rgb:31,107,116;--cs-guide-head-start:#dff1f1;--cs-guide-head-end:#fff1bd}
html[data-puxin-case-major="garden"] .cs-guide-root,html[data-puxin-case-major="garden"] .header-actions .cs-guide-trigger{--accent:#35613a;--accent-2:#294b2e;--accent-soft:#e5efe2;--accent-line:#b7cdb0;--cs-guide-shadow-rgb:53,97,58;--cs-guide-head-start:#e4f0df;--cs-guide-head-end:#f5e7bd}
html[data-puxin-case-major="product"] .cs-guide-root,html[data-puxin-case-major="product"] .header-actions .cs-guide-trigger{--accent:#405f78;--accent-2:#30495e;--accent-soft:#e7eef4;--accent-line:#b7c6d3;--cs-guide-shadow-rgb:64,95,120;--cs-guide-head-start:#e4edf5;--cs-guide-head-end:#f3e4d3}
html[data-puxin-case-major="digital"] .cs-guide-root,html[data-puxin-case-major="digital"] .header-actions .cs-guide-trigger{--accent:#5b4599;--accent-2:#443477;--accent-soft:#eee9fb;--accent-line:#d1c4ed;--cs-guide-shadow-rgb:91,69,153;--cs-guide-head-start:#ece7fb;--cs-guide-head-end:#dff2f4}
html[data-puxin-case-major="visual"] .cs-guide-root,html[data-puxin-case-major="visual"] .header-actions .cs-guide-trigger{--accent:#8d3653;--accent-2:#6d2940;--accent-soft:#f7e7ed;--accent-line:#e4b9c7;--cs-guide-shadow-rgb:141,54,83;--cs-guide-head-start:#f7e5ec;--cs-guide-head-end:#e8eefb}
html[data-puxin-case-major="publicart"] .cs-guide-root,html[data-puxin-case-major="publicart"] .header-actions .cs-guide-trigger{--accent:#914526;--accent-2:#6d341d;--accent-soft:#f7e9e1;--accent-line:#dfbdad;--cs-guide-shadow-rgb:145,69,38;--cs-guide-head-start:#f5e4dc;--cs-guide-head-end:#f4e6bf}
html[data-puxin-case-major="painting"] .cs-guide-root,html[data-puxin-case-major="painting"] .header-actions .cs-guide-trigger{--accent:#5d4b38;--accent-2:#47392b;--accent-soft:#f1ece4;--accent-line:#ccbfae;--cs-guide-shadow-rgb:93,75,56;--cs-guide-head-start:#eee7dc;--cs-guide-head-end:#f3e7c3}

.header-actions .cs-guide-trigger{min-height:44px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border:1px solid var(--accent-line);border-radius:10px;background:var(--accent-soft);color:var(--accent-2);font-size:12px;font-weight:850;white-space:nowrap;cursor:pointer;box-shadow:0 3px 10px rgba(var(--cs-guide-shadow-rgb),.08);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.header-actions .cs-guide-trigger:hover{transform:translateY(-1px);border-color:var(--accent);box-shadow:0 7px 16px rgba(var(--cs-guide-shadow-rgb),.14)}
.cs-guide-trigger:focus-visible,.cs-guide-close:focus-visible,.cs-guide-tab:focus-visible,.cs-guide-operation-list button:focus-visible,.cs-guide-pane:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

.cs-guide-root{position:fixed;inset:0;z-index:100000;visibility:hidden;pointer-events:none}
.cs-guide-root.is-open{visibility:visible;pointer-events:auto}
.cs-guide-overlay{position:absolute;inset:0;background:rgba(30,31,29,.6);backdrop-filter:blur(5px);opacity:0;transition:opacity .24s ease}
.cs-guide-root.is-open .cs-guide-overlay{opacity:1}
.cs-guide-dialog{position:absolute;inset:0 0 0 auto;width:min(610px,calc(100vw - 24px));height:100vh;height:100dvh;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;border-left:1px solid #c8d5d4;background:#f8f4eb;color:var(--ink);box-shadow:-18px 0 58px rgba(30,33,31,.26);transform:translateX(104%);transition:transform .3s cubic-bezier(.4,0,.2,1)}
.cs-guide-root.is-open .cs-guide-dialog{transform:translateX(0)}

.cs-guide-head{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:16px;align-items:start;padding:20px 20px 17px 24px;border-bottom:1px solid var(--accent-line);background:linear-gradient(135deg,var(--cs-guide-head-start) 0%,#f7f6dd 58%,var(--cs-guide-head-end) 100%)}
.cs-guide-kicker{display:flex;align-items:center;gap:7px;margin:0 0 5px;color:var(--accent-2);font-size:9px;font-weight:900;letter-spacing:.13em}
.cs-guide-kicker span{display:inline-grid;place-items:center;min-height:22px;padding:0 7px;border-radius:999px;background:var(--accent);color:#fff;letter-spacing:.06em}
.cs-guide-head h2{margin:0;font-size:24px;line-height:1.18;letter-spacing:-.02em}
.cs-guide-head>div>p:last-child{max-width:510px;margin:6px 0 0;color:#5e706f;font-size:11.5px;line-height:1.65}
.cs-guide-close{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(47,72,70,.18);border-radius:50%;background:rgba(255,255,255,.58);color:#526361;font-size:24px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease,transform .15s ease}
.cs-guide-close:hover{background:#fff;color:var(--accent);transform:rotate(4deg)}

.cs-guide-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:12px 14px 14px;border-bottom:1px solid var(--line);background:#fffdf8}
.cs-guide-tab{--note:#fff0aa;min-width:0;min-height:62px;display:grid;place-items:center;align-content:center;gap:2px;padding:7px 3px;border:2px solid transparent;border-radius:5px 5px 10px 5px;background:var(--note);color:#2c281f;text-align:center;cursor:pointer;box-shadow:0 4px 9px rgba(50,43,30,.13);transform:rotate(-.7deg);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.cs-guide-tab:nth-child(2){--note:#d9f1e8;transform:rotate(.7deg)}
.cs-guide-tab:nth-child(3){--note:#e7e1fa;transform:rotate(-.45deg)}
.cs-guide-tab:nth-child(4){--note:#dcecf7;transform:rotate(.6deg)}
.cs-guide-tab:nth-child(5){--note:#f8dfe6;transform:rotate(-.55deg)}
.cs-guide-tab>span{font:900 9px/1 ui-monospace,SFMono-Regular,Consolas,monospace;opacity:.58}
.cs-guide-tab>b{font-size:10.5px;line-height:1.25}
.cs-guide-tab-short{display:none}
.cs-guide-tab:hover{transform:translateY(-2px) rotate(0);box-shadow:0 7px 13px rgba(50,43,30,.17)}
.cs-guide-tab.is-active{border-color:var(--accent);transform:translateY(2px) rotate(0);box-shadow:0 3px 0 rgba(var(--cs-guide-shadow-rgb),.2),0 8px 15px rgba(50,43,30,.13)}

.cs-guide-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 22px max(30px,env(safe-area-inset-bottom));background:linear-gradient(rgba(255,255,255,.59),rgba(255,255,255,.59)),repeating-linear-gradient(0deg,transparent 0 27px,rgba(75,64,44,.035) 27px 28px),#f2ede3;scrollbar-width:thin;scrollbar-color:#aaa18f transparent}
.cs-guide-body::-webkit-scrollbar{width:6px}.cs-guide-body::-webkit-scrollbar-thumb{border-radius:9px;background:#aaa18f}
.cs-guide-pane[hidden]{display:none!important}
.cs-guide-pane{animation:csGuidePaneIn .18s ease-out}
@keyframes csGuidePaneIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.cs-guide-pane-head{margin-bottom:14px}
.cs-guide-pane-head>p{margin:0 0 5px;color:var(--accent);font-size:9px;font-weight:900;letter-spacing:.12em}
.cs-guide-pane-head h3{margin:0;color:var(--ink);font-size:19px;line-height:1.3;letter-spacing:-.015em}
.cs-guide-pane-head>span{display:block;margin-top:6px;color:var(--muted);font-size:11.5px;line-height:1.7}
.cs-guide-formula{margin:0 0 12px;padding:10px 12px;border:1px dashed var(--accent-line);border-radius:10px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:850;line-height:1.6;text-align:center}
.cs-guide-formula i{padding:0 3px;color:#ba7a18;font-style:normal}

.cs-guide-card-grid,.cs-guide-concept-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.cs-guide-card-grid article,.cs-guide-concept-grid article{min-width:0;padding:12px;border:1px solid var(--line);border-radius:11px;background:rgba(255,253,248,.96);box-shadow:0 4px 13px rgba(52,44,31,.045)}
.cs-guide-card-grid article:nth-child(1){border-top:3px solid #d69a20}.cs-guide-card-grid article:nth-child(2){border-top:3px solid var(--accent)}.cs-guide-card-grid article:nth-child(3){border-top:3px solid var(--violet)}.cs-guide-card-grid article:nth-child(4){border-top:3px solid #4683b8}
.cs-guide-concept-grid article:nth-child(odd){border-left:3px solid var(--accent)}.cs-guide-concept-grid article:nth-child(even){border-left:3px solid var(--violet)}
.cs-guide-card-grid b,.cs-guide-concept-grid b{display:block;margin-bottom:4px;font-size:11.5px}
.cs-guide-card-grid p,.cs-guide-concept-grid p{margin:0;color:var(--muted);font-size:10.5px;line-height:1.65}

.cs-guide-callout{margin-top:12px;padding:11px 13px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:10px;background:#fffdf8;font-size:10.5px;line-height:1.68}
.cs-guide-callout b{white-space:nowrap}.cs-guide-callout span{color:#5f5a50}
.cs-guide-callout.is-amber{background:#fff2cb;border-color:#e7cb7f}.cs-guide-callout.is-amber b{color:#815817}
.cs-guide-callout.is-blue{background:#e8f2fa;border-color:#bed6e8}.cs-guide-callout.is-blue b{color:#2b689a}
.cs-guide-callout.is-green{background:var(--accent-soft);border-color:var(--accent-line)}.cs-guide-callout.is-green b{color:var(--accent)}
.cs-guide-callout.is-violet{background:#eee9fb;border-color:#d3c7f1}.cs-guide-callout.is-violet b{color:var(--violet)}

.cs-guide-operation-list{display:grid;gap:8px}
.cs-guide-operation-list article{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:#fffdf8}
.cs-guide-operation-list article>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--accent);color:#fff;font:900 11px/1 ui-monospace,SFMono-Regular,Consolas,monospace;box-shadow:0 4px 10px rgba(var(--cs-guide-shadow-rgb),.14)}
.cs-guide-operation-list article:nth-child(2)>span{background:#397f88}.cs-guide-operation-list article:nth-child(3)>span{background:var(--violet)}.cs-guide-operation-list article:nth-child(4)>span{background:#c27a22}.cs-guide-operation-list article:nth-child(5)>span{background:#9b596e}
.cs-guide-operation-list h4{margin:0 0 4px;font-size:12.5px}.cs-guide-operation-list p{margin:0;color:var(--muted);font-size:10.5px;line-height:1.66}
.cs-guide-operation-list button{min-height:34px;margin-top:7px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:var(--paper-2);color:var(--accent);font-size:10px;font-weight:850;cursor:pointer}
.cs-guide-operation-list button:hover{border-color:var(--accent);background:var(--accent-soft)}

.cs-guide-query{padding:12px 13px;border:1px solid var(--accent-line);border-radius:11px;background:var(--accent-soft)}
.cs-guide-query b{display:block;margin-bottom:4px;color:var(--accent);font-size:11.5px}.cs-guide-query p{margin:0;color:var(--accent-2);font-size:11px;font-weight:800;line-height:1.65}.cs-guide-query span{display:block;margin-top:7px;padding-top:7px;border-top:1px dashed var(--accent-line);color:#5c625f;font-size:9.5px;line-height:1.65}
.cs-guide-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:14px 0 7px}.cs-guide-section-title b{font-size:12px}.cs-guide-section-title span{color:var(--muted);font-size:9.5px;text-align:right}
.cs-guide-strategy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.cs-guide-strategy{min-width:0;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;padding:9px;border:1px solid var(--line);border-radius:9px;background:#fffdf8}
.cs-guide-strategy>span{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:var(--accent-soft);color:var(--accent);font:900 8.5px/1 ui-monospace,SFMono-Regular,Consolas,monospace}
.cs-guide-strategy b,.cs-guide-strategy small{display:block}.cs-guide-strategy b{font-size:10.5px}.cs-guide-strategy small{margin-top:1px;color:var(--accent);font-size:8.5px;font-weight:800}.cs-guide-strategy p{margin:4px 0 0;color:var(--muted);font-size:9px;line-height:1.5}
.cs-guide-verify{margin-top:11px;padding:11px 12px;border:1px dashed #baad97;border-radius:10px;background:#fff9eb}.cs-guide-verify>b{font-size:11.5px}.cs-guide-verify ol{list-style:none;margin:7px 0 0;padding:0;display:grid;gap:5px}.cs-guide-verify li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:7px;align-items:start;color:var(--muted);font-size:10px;line-height:1.55}.cs-guide-verify li span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid #dfd2bc;color:#805d25;font-size:8px;font-weight:900}

.cs-guide-table-title{margin:13px 0 7px}.cs-guide-table-title:first-of-type{margin-top:0}.cs-guide-table-title b{font-size:12px}
.cs-guide-analysis-grid{display:grid;gap:8px}.cs-guide-analysis-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cs-guide-analysis-grid article{min-width:0;padding:11px;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:10px;background:#fffdf8}.cs-guide-analysis-grid article:nth-child(2){border-top-color:var(--violet)}.cs-guide-analysis-grid article:nth-child(3){border-top-color:#c27a22}
.cs-guide-analysis-grid b{font-size:11px}.cs-guide-analysis-grid p{margin:3px 0 7px;color:var(--muted);font-size:9.5px;line-height:1.55}.cs-guide-analysis-grid small{display:block;padding-top:6px;border-top:1px dashed var(--line);color:#675f54;font-size:8.8px;line-height:1.65}
.cs-guide-element-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.cs-guide-element-row span{padding:9px 7px;border:1px solid var(--line);border-radius:9px;background:#fffdf8;color:var(--muted);font-size:8.8px;line-height:1.5;text-align:center}.cs-guide-element-row b{display:block;margin-bottom:2px;color:var(--ink);font-size:10px}
.cs-guide-narrative{margin-top:11px;padding:12px;border:1px solid #d7c9ed;border-radius:11px;background:#f3effb}.cs-guide-narrative>b{font-size:11.5px;color:var(--violet)}.cs-guide-narrative p{margin:5px 0;padding:8px;border-radius:8px;background:#fff;color:#58478d;font-size:10.5px;font-weight:800;line-height:1.6}.cs-guide-narrative span{color:var(--muted);font-size:9.5px;line-height:1.6}

@media (max-width:780px){
  .header-actions .cs-guide-trigger{min-height:40px;padding:0 10px;font-size:10px}
}
@media (max-width:560px){
  .cs-guide-dialog{width:100vw}
  .cs-guide-head{padding:max(14px,env(safe-area-inset-top)) max(13px,env(safe-area-inset-right)) 13px max(16px,env(safe-area-inset-left));gap:10px}
  .cs-guide-head h2{font-size:21px}.cs-guide-head>div>p:last-child{font-size:10.5px;line-height:1.55}
  .cs-guide-tabs{gap:4px;padding:8px 8px 10px}.cs-guide-tab{min-height:54px;padding:5px 2px}.cs-guide-tab>b{font-size:10px}
  .cs-guide-body{padding:16px max(13px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(13px,env(safe-area-inset-left))}
  .cs-guide-pane-head h3{font-size:18px}.cs-guide-pane-head>span{font-size:11px}
  .cs-guide-callout{grid-template-columns:1fr;gap:2px}.cs-guide-callout b{white-space:normal}
}
@media (max-width:420px){
  .cs-guide-trigger-copy{display:none}.header-actions .cs-guide-trigger{width:42px;padding:0;justify-content:center}
  .cs-guide-tab-full{display:none}.cs-guide-tab-short{display:block}.cs-guide-tab>span{font-size:8px}.cs-guide-tab>b{font-size:9.5px}
  .cs-guide-card-grid,.cs-guide-concept-grid,.cs-guide-strategy-grid,.cs-guide-analysis-grid.three{grid-template-columns:1fr}
  .cs-guide-operation-list article{grid-template-columns:36px minmax(0,1fr);gap:8px;padding:11px}.cs-guide-operation-list article>span{width:32px;height:32px}
  .cs-guide-element-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:350px){
  .cs-guide-tabs{gap:3px;padding-left:5px;padding-right:5px}.cs-guide-tab{min-height:51px}.cs-guide-tab>b{font-size:9px}
  .cs-guide-body{padding-left:10px;padding-right:10px}
}
@media (prefers-reduced-motion:reduce){
  .cs-guide-overlay,.cs-guide-dialog,.cs-guide-tab,.cs-guide-trigger,.cs-guide-close,.cs-guide-pane{transition:none!important;animation:none!important}
}
