:root{--bg:#f6f7f9;--ink:#1d3037;--muted:#778387;--accent:#1b7568;--line:#e5e9e9}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;font-size:15px;line-height:1.7}button,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #77b6aa;outline-offset:4px}button{transition:background .18s,transform .18s}button:hover{filter:brightness(.97)}aside{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid var(--line);padding:34px 23px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:13px;font-weight:700;letter-spacing:.5px}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:1px;margin-top:3px}.logo{background:var(--ink);color:white;display:inline-flex;align-items:center;justify-content:center;width:42px;height:44px;border-radius:11px;position:relative;font-size:18px;font-weight:800}.logo span{position:absolute;top:-6px;right:-5px;color:#71baa7;font-size:23px}.side-label{font-size:10px;letter-spacing:2px;color:#a0a9ad;margin:54px 12px 16px}.nav{display:flex;align-items:center;gap:13px;width:100%;border:0;border-radius:7px;background:none;text-align:left;padding:13px 14px;margin-bottom:8px;color:#78888c;font-size:14px}.nav span{font-size:20px;line-height:1}.nav i{font-size:10px;font-style:normal;margin-left:auto;opacity:.55}.nav.active{background:#eaf2ef;color:#276d60;font-weight:700}.sidebar-bottom{margin-top:auto;padding:22px 12px 0;border-top:1px solid var(--line);font-size:12px;color:#6a7a7c}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#65a38b;margin-right:7px}.sidebar-bottom p{font-size:17px;line-height:1.9;color:#32484f;margin:16px 0}.sidebar-bottom small{font-size:10px;letter-spacing:2px;color:#94a19e}.shell{margin-left:240px}header{height:77px;border-bottom:1px solid var(--line);padding:0 48px;display:flex;align-items:center;justify-content:space-between;background:#ffffff90;font-size:12px;color:#859195}header div span{margin:0 15px;color:#c6ccce}header b{color:#42545a;font-weight:500}.private{border:1px solid var(--line);background:white;padding:4px 12px;border-radius:20px;font-size:11px;color:#6a8079}main{max-width:1490px;margin:auto;padding:43px 48px 20px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.5px;color:var(--accent);margin-bottom:14px}h1{font-size:36px;line-height:1.5;letter-spacing:-.8px;font-weight:650;margin:0 0 24px}h2{font-size:21px;line-height:1.4;margin:6px 0 0;letter-spacing:.1px}h3{font-size:17px;line-height:1.6;margin:0}.title-line{display:flex;align-items:center;justify-content:space-between}.title-note{font-size:12px;color:#899497;line-height:1.9;border-left:2px solid #d9e4e0;padding-left:19px}.steps{display:flex;align-items:center;gap:17px;margin:3px 0 29px;color:#8e9a9e;font-size:12px}.steps span{white-space:nowrap;display:flex;align-items:center;gap:8px}.steps b{border:1px solid #dfe5e4;border-radius:50%;width:22px;height:22px;text-align:center;line-height:21px;font-size:10px;font-weight:500;background:white}.steps .current{color:#2a6d5f}.steps .current b{background:#e1efea;border-color:#e1efea}.steps i{height:1px;background:#dfe5e4;width:35px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.input-card,.result-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:27px;box-shadow:0 3px 8px #1d303702}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mini-label{font-size:9px;letter-spacing:1.6px;font-weight:600;color:#98a3a5}.tag{font-size:10px;color:#7d8c8f;border:1px solid var(--line);border-radius:5px;white-space:nowrap;padding:3px 8px}.muted{font-size:12px;color:#879397;margin:17px 0 25px}label{display:block;font-size:13px;font-weight:500;margin-bottom:8px}.required{color:#b67957}textarea{display:block;resize:vertical;min-height:196px;width:100%;padding:16px;border:1px solid #dfe6e4;border-radius:7px;background:#fbfcfc;color:#314b50;font-size:14px;line-height:1.9;outline:0}textarea::placeholder{color:#a3adaf}textarea:focus{border-color:#62a797;box-shadow:0 0 0 3px #edf5f2}.field-foot{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#9ba5a7;margin:9px 0 22px}.field-foot span:last-child{white-space:nowrap}.context{border-bottom:1px solid #edf0ef;padding-bottom:18px;margin-bottom:18px}.context summary{font-size:12px;color:#607b76;cursor:pointer;list-style:none}.context summary span{color:#a0acac;font-size:10px;margin-left:7px}.context label{margin-top:17px;font-size:11px}.context textarea{min-height:90px;font-size:12px}.examples{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.examples>span{font-size:10px;color:#9da7a9;margin-right:3px}.examples button{background:white;border:1px solid #e6ebea;color:#778885;font-size:10px;border-radius:20px;padding:4px 9px}.action-row{display:flex;align-items:center;gap:18px;margin:25px 0 19px}.primary{background:var(--accent);color:#fff;border:0;border-radius:6px;font-size:14px;font-weight:500;padding:12px 22px;min-width:164px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:30px}.primary span{font-size:20px;line-height:1}.text-button{border:0;background:transparent;color:#8b989a;font-size:12px;padding:9px}.method-note{display:flex;align-items:flex-start;gap:9px;border-top:1px solid var(--line);padding-top:15px;color:#9aa6a7}.method-note>span{font-size:13px}.method-note p{font-size:10px;line-height:1.8;margin:0}.error{color:#ac4b46;font-size:12px}.empty{min-height:490px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.empty-icon{display:flex;align-items:center;justify-content:center;border:1px solid #dce8e3;background:#f1f7f4;border-radius:17px;width:68px;height:68px;color:#6c9d8b;font-size:38px;position:relative;margin-bottom:25px}.empty-icon span{font-size:20px;position:absolute;right:-9px;bottom:-8px;background:white;border:1px solid #dfebe5;border-radius:50%;width:30px;height:30px;line-height:28px}.empty h3{font-size:16px;font-weight:500}.empty p{font-size:12px;color:#99a5a7;line-height:1.9;margin:11px 0 25px}.empty-pills{display:flex;gap:12px;font-size:10px;color:#a8b2b3}.empty-pills span{border:1px dashed #e2e8e6;border-radius:4px;padding:3px 9px}.principle-strip{display:grid;grid-template-columns:1fr 1.5fr;gap:25px;border-top:1px solid #dfe5e3;padding:27px 0;margin-top:35px}.principle-strip h3{font-size:16px;margin-top:5px;font-weight:500}.principle-strip p{font-size:11px;color:#99a4a6;margin:5px 0}#principle-links{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 15px;align-content:center}#principle-links button{border:0;background:none;padding:7px 2px;font-size:12px;text-align:left;color:#6d7e81}#principle-links button span{display:inline-block;height:6px;width:6px;border-radius:50%;margin-right:9px}footer{border-top:1px solid #e2e7e5;display:flex;justify-content:space-between;font-size:9px;color:#9ca7a8;padding-top:20px;margin-top:12px}.result-summary{padding:20px 0 16px;border-bottom:1px solid var(--line);font-size:12px;color:#718780}.result-summary strong{font-size:28px;color:#286c5b;margin-right:5px;font-weight:500}.review-note{font-size:11px;color:#8d7b5f;background:#fbf7ef;padding:11px 13px;border-radius:6px;margin:14px 0 17px;line-height:1.8}.match{border:1px solid var(--line);border-radius:8px;padding:17px;margin:13px 0;border-left:3px solid var(--item-color)}.match-head{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--item-color)}.match h3{font-size:15px;margin:7px 0 11px}.stop-label{display:inline-block;font-size:9px;color:#b46c64;background:#fbefed;border-radius:3px;padding:0 4px;margin-right:6px;vertical-align:2px}.match blockquote{margin:0;background:#f7f9f8;padding:10px 12px;color:#647a7d;font-size:12px;border-radius:4px;overflow-wrap:anywhere}.match .explain{font-size:11px;line-height:1.9;color:#869494;margin:9px 0 12px}.start{font-size:12px;color:#557b69;border-top:1px solid #edf1ef;padding-top:12px;line-height:1.8}.start b{font-size:9px;margin-right:7px;letter-spacing:1px}.select-row{display:flex;align-items:center;gap:7px;color:#879794;font-size:11px;margin-top:13px}.select-row input{accent-color:#267866}.result-tools{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 10px}.secondary{font-size:11px;border:1px solid #dce5e0;border-radius:5px;background:#fff;color:#5c7870;padding:7px 11px}.ai-tools{background:#f0f5f3;padding:15px;border-radius:7px;margin-top:18px}.ai-tools h3{font-size:13px}.ai-tools p{font-size:11px;color:#81928c;margin:5px 0 10px}.ai-tools a{color:#387c67;font-size:11px;margin-left:11px}.section-intro{color:#82918f;font-size:13px;margin:0 0 28px;max-width:780px}.rule-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:23px}.rule-tabs button{padding:7px 16px;border-radius:20px;border:1px solid #dfe6e3;background:#fff;color:#7c8d8a;font-size:12px}.rule-tabs .active{color:#fff;background:#275d53;border-color:#275d53}.group-card{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;margin-bottom:24px}.group-heading{padding:25px 29px;display:flex;align-items:center;gap:20px}.group-number{width:43px;height:43px;border:1px solid currentColor;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px}.group-heading h2{margin:0}.group-heading p{font-size:12px;margin:6px 0 0;color:#859590}.directory-head,.rule-row{display:grid;grid-template-columns:65px 1fr 1fr;gap:20px;padding:16px 29px}.directory-head{font-size:10px;letter-spacing:1px;color:#87978f;background:#f7f9f8}.rule-row{border-top:1px solid #edf0ee;font-size:13px}.rule-row>span:first-child{font-size:10px;color:#a3b0ac;padding-top:3px}.rule-row>span:last-child{color:#4e7d6b}.source-note{font-size:11px;color:#97a4a1;line-height:1.9}.how-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:30px}.how-grid article{background:white;border:1px solid var(--line);border-radius:10px;padding:26px}.how-grid article>span{color:#72a393;font-size:12px;letter-spacing:1px}.how-grid h2{font-size:19px;margin:10px 0}.how-grid p,.info-box p{font-size:13px;color:#7f918e;line-height:1.9}.info-box{padding:27px;margin:25px 0;background:#edf3ef;border-radius:10px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#233e36;color:white;padding:10px 20px;border-radius:6px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:5}#toast.show{opacity:1}mark{background:#f4eaca;color:#746343;border-radius:2px;padding:0 2px}[hidden]{display:none!important}@media(min-width:1600px){main{padding-top:50px}.empty{min-height:475px}}@media(max-width:1200px){aside{width:200px;padding:30px 16px}.shell{margin-left:200px}main{padding:35px 30px 20px}header{padding:0 30px}.workspace{gap:18px}.input-card,.result-card{padding:22px}.title-note{display:none}.title-line h1{font-size:32px}.principle-strip{grid-template-columns:1fr}}@media(max-width:900px){aside{width:75px;padding:25px 12px}.brand>span:last-child,.side-label,.nav i,.sidebar-bottom{display:none}.brand{justify-content:center}.logo{width:38px;height:40px}.nav{font-size:0;justify-content:center;padding:12px 5px}.nav span{font-size:23px}nav{margin-top:40px}.shell{margin-left:75px}main{padding:30px 22px 18px}.workspace{grid-template-columns:1fr}.empty{min-height:270px}.title-line h1{font-size:30px}.field-foot{font-size:10px}}@media(max-width:560px){aside{position:static;width:100%;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:14px 18px;flex-direction:row;justify-content:space-between;align-items:center}.brand>span:last-child{display:block;font-size:10px}.brand small{display:none}.logo{width:30px;height:32px;font-size:14px}.logo span{font-size:18px}.brand{gap:9px}nav{display:flex;margin:0;gap:4px}.nav{width:36px;margin:0;padding:7px}.nav span{font-size:20px}.shell{margin:0}header{height:47px;padding:0 20px;font-size:10px}.private{font-size:9px}main{padding:26px 17px 16px}.eyebrow{font-size:9px}h1,.title-line h1{font-size:27px;line-height:1.5}.steps{font-size:10px;gap:7px}.steps i{width:12px}.steps b{width:18px;height:18px;line-height:17px}.steps span{gap:5px}.input-card,.result-card{padding:21px 18px}h2{font-size:19px}.muted{font-size:11px}.field-foot span:first-child{max-width:180px}.principle-strip{padding:24px 3px;margin-top:28px}#principle-links{gap:7px 8px}#principle-links button{font-size:11px}footer{font-size:8px;gap:10px}.how-grid{grid-template-columns:1fr}.rule-row,.directory-head{padding:13px 15px;gap:10px;grid-template-columns:38px 1fr 1fr;font-size:11px}.group-heading{padding:20px 18px;gap:14px}.group-heading p{font-size:11px}.group-heading h2{font-size:20px}.source-note{font-size:10px}.result-summary strong{font-size:24px}}@media print{aside,header,.input-card,.steps,.title-line,.eyebrow,.principle-strip,footer,.result-tools,.ai-tools,.select-row{display:none!important}.shell{margin:0}main{padding:0;max-width:none}.workspace{display:block}.result-card{border:0;padding:0}.match{break-inside:avoid}.review-note{background:none}body{background:white}}
/* Readable supporting text on desktop and touch screens. */
.muted,.section-intro{color:#6d7e80}.method-note,.method-note p{color:#728582;font-size:11px}.field-foot{color:#778987;font-size:11px}.mini-label{color:#7c8e8b;font-size:10px}.empty p{color:#7a8c89}.match .explain{color:#6f8380;font-size:12px}.match blockquote,.start{font-size:13px}.match-head{font-size:11px}.review-note{font-size:12px}.examples button{font-size:11px}.tag{font-size:11px}.result-tools .secondary,.ai-tools .secondary{font-size:12px}.source-note{color:#748681}.empty-pills{color:#7c8f89}
.confidence-summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;font-size:11px}.confidence-summary span{background:#eef5f1;color:#4f7967;border-radius:4px;padding:2px 8px}.confidence-summary span+span{background:#f7f2e8;color:#8b764a}.pattern-box{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0;align-items:center}.pattern-box>.mini-label{width:100%;margin-bottom:3px}.pattern{background:#eef3f5;color:#55737c;padding:3px 8px;font-size:11px;border-radius:4px}.result-section{font-size:13px;color:#668073;margin:24px 0 10px}.match-badges{display:flex;gap:10px;align-items:center;font-size:10px;color:#91a29d;margin:5px 0 12px}.level{color:#8c754b;background:#f7f0e2;border-radius:4px;padding:2px 7px}.level.clear{background:#edf5ef;color:#4c7961}.reason-list{font-size:13px;line-height:1.9;color:#687e77;margin:14px 0}.reason-list p{margin:8px 0}.clarify{background:#faf9f4;border-radius:5px;padding:8px 11px;margin:12px 0;color:#897650;font-size:12px}.clarify summary{cursor:pointer}.clarify ul{padding-left:18px;line-height:1.9;margin:10px 0 5px}.next-step{background:#f0f5f2;padding:18px;border-radius:8px;margin:25px 0 16px}.next-step h3{font-size:15px}.next-step p,.next-step li{font-size:12px;line-height:1.9;color:#6b8579}.next-step h4{font-size:12px;margin-bottom:4px;color:#62796e}.next-step ul{padding-left:18px;margin-top:7px}@media print{.clarify{display:block}.clarify ul{display:block}.next-step{break-inside:avoid}}
/* Culture cards: colors and illustration crops from the supplied company cards. */
:root{--bg:#faf7f3;--accent:#7355a5;--ink:#302d45;--line:#e9e3eb}body{background:radial-gradient(ellipse at 90% 5%,#eee6f550,transparent 55%),var(--bg)}aside{background:#fffdfb}.logo{background:linear-gradient(140deg,#7051a2,#bb6b82)}.logo span{color:#f5c56d}.nav.active{background:#f0e8f8;color:#76549e}.sidebar-bottom p{color:#665076}header{background:#fffaf6b3}.private{background:#f6edf9;color:#8b62a5;border-color:#ecdef2}.hero{padding:29px 33px;margin-bottom:23px;border-radius:18px;overflow:hidden;background:linear-gradient(100deg,#392c58f0,#5b417bd9 60%,#8e576b50),url('assets/E-crop.jpg') center/cover;box-shadow:0 8px 25px #5a3c6a15;color:white;position:relative}.hero .eyebrow{color:#f7cf8f;letter-spacing:1.8px;font-size:11px}.hero h1{font-size:34px;margin-bottom:16px}.hero .title-note{color:#f9e6df;border-color:#eabca56b;font-size:13px}.hero-pills{display:flex;gap:8px;flex-wrap:wrap}.hero-pills span{background:#ffffff12;border:1px solid #ffffff30;border-radius:20px;padding:4px 13px;font-size:11px;color:#fff2dc}.culture-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:27px}.culture-card{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:0;border-radius:13px;padding:18px 19px;min-height:140px;background:var(--card-color);color:#fff;box-shadow:0 4px 12px #382a4820;transition:transform .2s,box-shadow .2s}.culture-card:before{content:'';position:absolute;inset:0;background:var(--card-art) center/cover;z-index:-2;transition:transform .35s}.culture-card:after{content:'';position:absolute;inset:0;background:linear-gradient(95deg,#171e33bc,#17273940),linear-gradient(0deg,var(--card-color),transparent 100%);z-index:-1;opacity:.95}.culture-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #4b365030;filter:none}.culture-card:hover:before{transform:scale(1.06)}.culture-num{font-size:10px;letter-spacing:1px;color:#ffefd1}.culture-card strong{font-size:23px;letter-spacing:2px;margin:10px 0 3px;text-shadow:0 2px 9px #0003}.culture-tagline{font-size:11px;letter-spacing:.4px;color:#fff3dc}.culture-arrow{position:absolute;right:17px;bottom:16px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #ffffff70;border-radius:50%;font-size:18px}.input-card{border-top:4px solid #c698cf}.result-card{border-top:4px solid #eca76f}.primary{background:linear-gradient(110deg,#7753a6,#a66caa);box-shadow:0 4px 10px #9064a625}.steps .current{color:#875da5}.steps .current b{background:#efe5f6;color:#875da5;border-color:#efe5f6}.tag{background:#fbf7ee;color:#a5844b;border-color:#ede3cc}.empty-icon{background:#f6edf9;border-color:#e5d5ed;color:#a075b7}.empty-icon span{color:#e6a05a}.empty-pills span:nth-child(1){color:#bd7267;background:#fff5ee;border-color:#efdbcf}.empty-pills span:nth-child(2){color:#7974b2;background:#f5f3ff;border-color:#e6def5}.empty-pills span:nth-child(3){color:#61988d;background:#edf8f3;border-color:#d5e9dc}.rule-tabs .active{background:#865eaa;border-color:#865eaa}.group-heading{background:linear-gradient(90deg,#232b41d9,#25324a55),var(--group-art) center/cover;color:white;min-height:160px}.group-heading h2{font-size:28px;letter-spacing:3px}.group-heading p{color:#fff4e0;font-size:13px;max-width:580px}.group-heading .group-number{color:#fff!important;border-color:#ffffff80;background:#ffffff16}.group-card{border-color:#e8dce9;box-shadow:0 4px 16px #5d416608}.directory-head span:nth-child(2){color:#bd686c}.directory-head span:nth-child(3){color:#3f9278}.rule-row>span:last-child{background:#f1f8f4;border-radius:5px;padding:6px 9px}.rule-row>span:nth-child(2){padding-top:6px}.match{box-shadow:0 3px 12px #60426007}.start{background:#f4f9f1;padding:12px;border-radius:5px}.next-step{background:linear-gradient(110deg,#eff5ee,#f7f0e0)}.principle-strip{border-color:#e6dce8}.how-grid article:nth-child(1){border-top:4px solid #dc9957}.how-grid article:nth-child(2){border-top:4px solid #d27389}.how-grid article:nth-child(3){border-top:4px solid #668cbe}.how-grid article:nth-child(4){border-top:4px solid #749e8e}.voice-box{border:1px solid #e1d8ee;border-radius:10px;padding:15px;background:linear-gradient(120deg,#f8f3fc,#f0f6fc);margin-bottom:22px}.voice-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.voice-button{display:flex;align-items:center;gap:7px;border:0;border-radius:25px;padding:10px 14px;color:white;background:linear-gradient(100deg,#8461af,#ab76b3);font-size:13px;font-weight:600;min-height:44px}.voice-button.listening{background:linear-gradient(100deg,#c75f70,#dc8b59);box-shadow:0 0 0 5px #df74801a;animation:breathe 1.6s ease-in-out infinite}.voice-button:disabled{opacity:.6;cursor:not-allowed}.voice-target-label{margin:0;font-size:11px;color:#89799a}.voice-controls select{font:inherit;font-size:12px;color:#735c8e;background:#fff;border:1px solid #e0d3ec;border-radius:6px;padding:7px;max-width:100%}.voice-box>p{font-size:12px;color:#7b648b;margin:10px 0 6px;line-height:1.7}.voice-box small{display:block;color:#8b7d94;font-size:11px;line-height:1.8}.voice-interim{background:white;border-radius:6px;padding:10px;color:#4b556d!important}.voice-help{font-size:11px;color:#8a749c;margin-top:8px}.voice-help summary{cursor:pointer}.voice-help p{font-size:12px;line-height:1.8}.voice-button svg{flex-shrink:0}textarea:read-only{background:#f7f3fa;border-color:#cbb7df}@keyframes breathe{50%{box-shadow:0 0 0 8px #df74800a}}@media(prefers-reduced-motion:reduce){.voice-button.listening{animation:none}.culture-card,.culture-card:before{transition:none}.culture-card:hover{transform:none}}@media(max-width:1100px){.culture-card{padding:16px;min-height:132px}.culture-card strong{font-size:20px}.culture-tagline{font-size:10px}.culture-num{font-size:9px}}@media(max-width:560px){.hero{padding:25px 20px;margin-bottom:18px;border-radius:14px}.hero h1{font-size:27px}.hero .eyebrow{font-size:9px}.hero-pills span{font-size:10px;padding:3px 10px}.culture-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.culture-card{min-height:130px;padding:15px 13px}.culture-card strong{font-size:20px;margin-top:12px}.culture-num{font-size:8px;letter-spacing:.5px}.culture-tagline{font-size:9px}.culture-arrow{width:23px;height:23px;right:10px;bottom:13px;font-size:14px}.voice-box{padding:13px}.voice-controls{gap:8px}.voice-button{font-size:12px}.voice-box small{font-size:10px}.group-heading{min-height:150px}.group-heading h2{font-size:24px}.steps{flex-wrap:wrap}.match{padding:15px}}@media print{.hero,.culture-cards,.voice-box{display:none!important}.group-heading{background:none;color:#222}.group-heading p{color:#555}}
.stop-start-overview{margin:20px 0;padding:16px 13px;background:#fffaf4;border:1px solid #eddfc9;border-radius:9px}.stop-start-overview h3{font-size:16px;color:#765976}.stop-start-overview>p{font-size:11px;color:#8c7d71;margin:6px 0 13px}.overview-scroll{overflow-x:auto}.stop-start-overview table{width:100%;border-collapse:collapse;font-size:12px;min-width:360px;text-align:left}.stop-start-overview th{font-size:11px;padding:9px 6px;color:#8b6d69;background:#f4ece1}.stop-start-overview td{padding:11px 6px;border-bottom:1px solid #ece3d5;vertical-align:top;line-height:1.8}.stop-start-overview td:nth-child(2){color:#ad635d}.stop-start-overview td:nth-child(3){color:#467a65}.stop-start-overview td:last-child{font-size:10px;white-space:nowrap}.stop-start-overview small{display:block;font-size:10px;color:#978a83}#result-card{scroll-margin-top:20px}
.source-caption{display:block;margin:7px 0 10px;text-decoration:none;max-width:100%;background:#f4e8cc;border-radius:5px;padding:5px;overflow:hidden}.source-caption img{display:block;width:100%;height:auto;min-height:25px;object-fit:contain}.source-caption small{display:block;font-size:10px!important;color:#8d7552!important;margin-top:4px}.rule-row .source-caption{max-width:440px}.match .source-caption{max-width:440px}.stop-start-overview .source-caption{min-width:120px}.dictation-help{padding:13px;border:1px solid #e2d1ef;border-radius:7px;background:#fff;margin-top:12px;color:#705889;font-size:12px;line-height:1.9}.dictation-help ol{padding-left:19px}.dictation-help p{font-size:11px}.voice-box>.secondary{margin:9px 0 2px;font-size:11px}
.caption-copy>p{font-size:13px;line-height:1.85;color:#7e7368;margin:6px 0 8px;font-weight:400}.caption-copy details{font-size:10px;color:#9b8b7d}.caption-copy summary{cursor:pointer}.ocr-note{color:#af8048!important;font-size:10px!important;display:block;line-height:1.7}.caption-copy .source-caption{margin-top:5px}.training-callout{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;background:#f0eaf6;border-radius:9px;margin-bottom:20px;color:#825d9f;font-size:13px}.production-note{border:1px solid #efdfc3;background:#fff8ea;color:#907348;border-radius:9px;padding:16px 20px;font-size:13px;margin:20px 0 25px}.production-note p{margin:5px 0 0;font-size:12px}.lesson{border:1px solid var(--line);background:white;border-radius:13px;overflow:hidden}.lesson-banner{background-size:cover;background-position:center;padding:30px;color:#fff}.lesson-banner>span{font-size:11px;color:#f8dda5;letter-spacing:1px}.lesson-banner h2{font-size:27px;margin:12px 0}.lesson-banner p{font-size:13px;color:#f0e7d9;max-width:720px}.lesson-body{padding:27px}.video-pending{display:flex;gap:20px;align-items:center;padding:22px;background:linear-gradient(120deg,#f3eef8,#f8f2ea);border:1px dashed #d5bfdc;border-radius:9px;margin-bottom:23px}.video-pending>span{font-size:42px;color:#a689b1}.video-pending h3{font-size:16px}.video-pending p{font-size:12px;color:#8a7e90;line-height:1.9}.script-review{border:1px solid #e7ddec;border-radius:8px;overflow:hidden}.script-review>summary{padding:15px 18px;background:#f8f3fb;color:#77528c;cursor:pointer;font-size:14px;font-weight:600}.script-note{font-size:12px;color:#96868f;padding:0 20px;line-height:1.9}.script-beat{padding:20px;border-top:1px solid #eee7ef}.script-beat>div{display:flex;align-items:center;gap:15px}.script-beat b{font-size:10px;font-weight:500;color:#a18aaf;background:#f5eff8;border-radius:4px;padding:2px 7px;white-space:nowrap}.script-beat h4{font-size:15px;margin:0}.script-beat p{font-size:14px;line-height:2;color:#52666b;margin:12px 0}.script-beat small{font-size:11px;color:#a08b98;line-height:1.8;display:block}.quiz-header{margin:35px 0 20px;border-top:1px solid #e9e0eb;padding-top:25px}.quiz-header>span{font-size:10px;letter-spacing:2px;color:#ac8abd}.quiz-header h3{font-size:21px;margin:8px 0}.quiz-header p,.practice-note{font-size:12px;color:#8b8490;line-height:1.9}#lesson-quiz fieldset{border:1px solid #e9e1ec;border-radius:8px;padding:18px;margin:0 0 20px}#lesson-quiz legend{font-size:14px;line-height:1.9;padding:0 7px;max-width:100%}#lesson-quiz legend b{color:#ab8eb9;margin-right:6px}.tf-options{display:flex;gap:16px}.tf-options label{margin:0;border:1px solid #e8deeb;border-radius:6px;padding:9px 25px;display:flex;align-items:center;gap:7px;background:#fcf9fd;cursor:pointer}.tf-options label:has(input:checked){background:#efe5f7;border-color:#ac87bf;color:#71488c}.tf-options input{accent-color:#9868af}.score-panel{display:flex;gap:25px;align-items:center;padding:25px;border-radius:10px;margin:28px 0}.score-panel.pass{background:#edf7f1;color:#4f8064}.score-panel.fail{background:#fcf0e7;color:#b07e51}.score-panel>strong{font-size:48px;line-height:1.2;font-weight:500}.score-panel small{font-size:13px;margin-left:5px}.score-panel h3{font-size:20px}.score-panel p{font-size:12px;line-height:1.8}.answer-review article{padding:18px;border:1px solid var(--line);border-radius:8px;margin:13px 0}.answer-review h4{font-size:14px;margin:8px 0}.answer-review p{font-size:12px;color:#7f8c88;margin:7px 0;line-height:1.9}.right,.wrong{font-size:10px;padding:3px 8px;border-radius:4px}.right{color:#538466;background:#edf7ef}.wrong{color:#b17665;background:#fcf0e9}#quiz-retry{display:inline-flex;margin:15px 12px 10px 0}.practice-note{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}@media(max-width:560px){.lesson-body{padding:18px 14px}.lesson-banner{padding:23px 20px}.lesson-banner h2{font-size:23px}.video-pending{padding:15px;gap:12px}.script-beat>div{display:block}.script-beat h4{margin-top:8px}.script-beat{padding:17px}.script-beat p{font-size:14px}.training-callout{align-items:flex-start;flex-direction:column}.score-panel{gap:15px;padding:20px}.score-panel>strong{font-size:40px}.score-panel h3{font-size:17px}.tf-options label{padding:9px 24px}}
.department-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.department-tags span{font-size:11px;border:1px solid #ffffff50;background:#ffffff15;border-radius:20px;padding:3px 12px;color:#fff0d7}.caption-copy>p{margin:6px 0;font-size:13px;line-height:1.9;color:#7d7168}
.culture-card.photo-card{display:block;padding:0;background:#fff;min-height:0;border:1px solid #e4d9d6;color:var(--ink);border-radius:12px}.culture-card.photo-card:before,.culture-card.photo-card:after{display:none}.culture-photo{display:block;width:100%;height:270px;object-fit:contain;background:#f1e9df;padding:6px}.photo-card-caption{display:flex;flex-direction:column;align-items:flex-start;border-top:3px solid var(--card-color);padding:11px 15px;background:#fffaf5}.culture-card .photo-card-caption strong{font-size:18px;letter-spacing:1px;margin:0 0 3px;text-shadow:none;color:var(--ink)}.photo-card-caption>span{font-size:11px;color:#948478}@media(max-width:560px){.culture-photo{height:220px;padding:3px}.photo-card-caption{padding:10px}.culture-card .photo-card-caption strong{font-size:17px}.photo-card-caption>span{font-size:10px}}

.chatgpt-flow{margin:24px 0;padding:24px;border:1px solid #cec4ed;border-radius:18px;background:linear-gradient(135deg,#f4efff,#fff9ef);text-align:left}.chatgpt-flow h3{font-size:22px;margin:10px 0}.chatgpt-flow p{line-height:1.8;color:#514b61}.chatgpt-flow ol{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-left:22px;margin:20px 0}.chatgpt-flow li{padding-right:8px}.chatgpt-flow li span{display:block;font-size:12px;color:#6f687b;margin-top:6px}.chatgpt-flow>small{display:block;line-height:1.8;margin-top:14px;color:#6f687b}.chatgpt-flow .primary{white-space:normal}#ai-review{margin-top:22px;border-top:1px solid #d7cfe4;padding-top:22px}#ai-prompt-text{min-height:260px;font-size:13px;line-height:1.7;background:white}.ai-review-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.ai-review-actions a{display:inline-flex;align-items:center;text-decoration:none}#ai-copy-status{font-weight:600;color:#4b377e}.chatgpt-flow[hidden],#ai-review[hidden]{display:none}@media(max-width:650px){.chatgpt-flow{padding:18px}.chatgpt-flow ol{grid-template-columns:1fr;gap:12px}.chatgpt-flow li span{display:inline;margin-left:8px}.ai-review-actions>*{width:100%;justify-content:center;text-align:center}}

.quiz-source{margin-top:16px;padding:16px 18px;border-left:3px solid #a993c4;background:#f7f3fb;border-radius:0 10px 10px 0}.quiz-source b{color:#6b4d8e}.quiz-source small{display:block;color:#6d6575;line-height:1.7}.quiz-source p{margin:10px 0 3px}

.instructor-intro{display:flex;align-items:center;gap:28px;background:#fffaf2;border:1px solid #eee5d6;border-radius:20px;padding:24px;margin-bottom:24px}.instructor-portrait{width:160px;height:355px;flex-shrink:0;background-image:url(assets/instructor-cast.png);background-size:600% 100%;background-repeat:no-repeat;border-radius:14px}.instructor-intro h3{font-size:25px;margin:10px 0}.instructor-intro p,.quiz-instructions{line-height:1.8;color:#586174}@media(max-width:600px){.instructor-intro{gap:16px;padding:16px}.instructor-portrait{width:105px;height:234px}.instructor-intro h3{font-size:19px}}

.storyboard-player{margin:24px 0;padding:24px;border:1px solid #e7e0d5;border-radius:20px;background:#fff}.storyboard-player video{display:block;width:100%;aspect-ratio:16/9;background:#293247;border-radius:12px}.storyboard-player p{line-height:1.8;color:#596174}

.lesson-player{padding:24px;margin:24px 0;border-radius:20px;background:#fff;border:1px solid #e7e0d5}.lesson-player video{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:#293247}.lesson-player p{line-height:1.8;color:#596174}#watch-status{font-weight:700;color:#745791}.lesson-body fieldset:disabled{opacity:.6}.lesson-body fieldset:disabled label{cursor:not-allowed}

.construction-card{padding:42px;background:#faf7f1;border:1px solid #e7dfd4;border-radius:24px;margin-bottom:35px}.construction-badge{display:inline-block;background:#ffe0a2;color:#6c4a15;padding:9px 17px;border-radius:40px;font-weight:700}.construction-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.construction-card p{max-width:700px;line-height:1.9;color:#596174}.construction-card h1{margin-top:20px}nav i{white-space:nowrap}

/* Full company cards: preserve the familiar grid and readable portrait proportions. */
#culture-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}
#culture-cards .culture-photo{height:auto;aspect-ratio:auto;padding:0;object-fit:contain;background:#f1e9df}
#culture-cards .photo-card{align-self:start}
@media(max-width:1100px){#culture-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#culture-cards{grid-template-columns:1fr;gap:18px}}

/* Official company wordmark, preserved in full at its original aspect ratio. */
.brand{display:block;letter-spacing:0}
.company-logo{display:block;width:100%;background:#fff}
.company-logo img{display:block;position:static;width:100%;height:auto;max-width:100%;object-fit:contain}
.brand .brand-subtitle{display:block;font-size:11px;letter-spacing:1px;margin-top:9px;font-weight:400}
@media(max-width:900px){aside{position:static;width:100%;height:auto;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-right:0;border-bottom:1px solid var(--line)}.brand{width:220px;flex-shrink:0}.brand>span:last-child{display:block}.brand .brand-subtitle{display:block}nav{display:flex;margin:0;gap:4px}.nav{width:40px;margin:0}.shell{margin-left:0}}
@media(max-width:560px){aside{flex-wrap:wrap;gap:12px;padding:16px 18px}.brand{width:100%}.brand .company-logo{width:280px;max-width:100%;margin:auto}.brand .brand-subtitle{text-align:center;font-size:11px}nav{width:100%;justify-content:space-around}.nav{width:40px;padding:7px}}

/* Comfortable reading size for explanations across every learning page. */
body{font-size:17px}
.section-intro,.production-note p,.group-heading p,.construction-card p,.how-grid p,.info-box p,.lesson-banner p,.instructor-intro p,.lesson-player p,.storyboard-player p,.quiz-header p,.quiz-instructions,.practice-note,.script-note,.script-beat p,.answer-review p,.score-panel p{font-size:17px;line-height:1.9}
.section-intro,.how-grid p,.info-box p,.quiz-header p,.practice-note,.script-note,.answer-review p,.score-panel p{color:#596174}
.source-note,.caption-copy>p,.script-beat small,.quiz-source small,.photo-card-caption>span{font-size:15px;line-height:1.85;color:#656174}
.rule-row{font-size:17px;line-height:1.9}
.directory-head > span:not(:first-child) {
  font-size: clamp(1rem, calc(.875rem + .75vw), 1.375rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}
#lesson-quiz legend{font-size:18px;line-height:1.9}
.tf-options label{font-size:17px}
.script-review>summary{font-size:17px}
.quiz-header>span,.department-tags span{font-size:14px}
.script-beat b,.right,.wrong{font-size:13px}
.primary,.secondary{font-size:16px}
@media(max-width:560px){body{font-size:16px}.section-intro,.production-note p,.group-heading p,.construction-card p,.how-grid p,.info-box p,.lesson-banner p,.instructor-intro p,.lesson-player p,.storyboard-player p,.quiz-header p,.quiz-instructions,.practice-note,.script-note,.script-beat p,.answer-review p,.score-panel p,.rule-row{font-size:16px}#lesson-quiz legend{font-size:17px}.source-note,.caption-copy>p,.script-beat small,.quiz-source small,.photo-card-caption>span{font-size:15px}.construction-card{padding:25px}.construction-actions{gap:14px}.construction-actions button{width:100%}}

/* Browser-local AI trial. */
.local-ai-title{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px}.local-ai-title h1{margin:0}.local-trial-badge,.local-match-type{display:inline-block;border-radius:24px;padding:5px 13px;background:#f1e6fa;color:#6d458e;font-size:14px;font-weight:650}.local-ai-card,.local-ai-results{background:#fff;border:1px solid #e4dce9;border-radius:18px;padding:28px;margin:24px 0}.local-ai-card h2{margin:0 0 16px}.local-ai-card p,.local-ai-results p,.local-ai-results li,.local-ai-fallback p{font-size:17px;line-height:1.9;color:#596174}.local-ai-card label{font-size:17px;margin-top:20px}.local-ai-card select{font:inherit;font-size:17px;padding:12px 14px;border:1px solid #c9bbd7;border-radius:8px;background:#fff;color:#41334f;max-width:100%;width:min(100%,520px)}.local-ai-card textarea{font-size:17px;line-height:1.9;min-height:0;background:#fffcff}.local-ai-note,.local-ai-card p.local-ai-note,.local-ai-results p.local-result-meta{font-size:15px;line-height:1.85;color:#696176;overflow-wrap:anywhere}.local-ai-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.local-ai-actions .primary{min-width:160px}.local-ai-actions button:disabled{opacity:.5;cursor:not-allowed}.local-ai-actions a{color:#74508e;font-size:17px}.local-ai-status{font-weight:700;color:#60427e!important}#local-ai-progress{display:block;width:100%;height:16px;accent-color:#8861ae}#local-ai-message[data-kind="error"]{border-left:4px solid #b95454;padding:12px 16px;background:#fff4f2;color:#873d3d}.local-ai-examples{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:18px 0}.local-ai-examples span{font-size:15px;color:#62586e}.local-ai-examples button{border:1px solid #d7c8e5;background:#faf6fd;color:#654580;border-radius:22px;padding:8px 13px;font-size:15px}.local-ai-fallback{padding:22px;border:1px dashed #cbb6da;border-radius:14px;background:#faf6fd;margin:24px 0}.local-ai-fallback summary{font-size:17px;font-weight:650;cursor:pointer}.local-ai-results h3{font-size:20px;margin:24px 0 10px}.local-ai-results h4{font-size:17px;margin:18px 0 7px}.local-result-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.local-result-heading span{font-size:15px;color:#7e617f}.local-ai-match{padding:24px;margin:24px 0;border:1px solid #e3d9ea;border-radius:14px}.local-ai-match blockquote{margin:10px 0;padding:16px;background:#f8f3fc;border-left:3px solid #ac8bc6;font-size:17px;white-space:pre-wrap;overflow-wrap:anywhere}.local-source{padding:18px;background:#f4f8f5;border-radius:10px;margin:20px 0}.local-source small{display:block;font-size:15px;line-height:1.85;color:#5d7069}.local-source p{margin:8px 0}.local-ai-results ul{padding-left:24px}.local-ai-results p{white-space:pre-wrap;overflow-wrap:anywhere}#local-ai-diagnostic{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#76545a}#local-ai-diagnostics summary{font-size:15px;cursor:pointer}.local-empty-match{padding:16px;background:#fff8e9;border-radius:8px}@media(max-width:560px){.local-ai-card,.local-ai-results{padding:20px}.local-ai-match{padding:17px}.local-ai-card p,.local-ai-results p,.local-ai-results li,.local-ai-fallback p,.local-ai-card textarea,.local-ai-card select{font-size:16px}.local-ai-actions{align-items:stretch}.local-ai-actions button{justify-content:center}.local-ai-title h1{font-size:27px}}
.learning-path{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 32px;color:#8a7d94;font-size:16px}.learning-path span{display:flex;gap:8px;align-items:center}.learning-path b{border:1px solid #d9cbe4;border-radius:50%;width:28px;height:28px;text-align:center;line-height:26px;font-size:14px}.learning-path .current{color:#704695;font-weight:700}.learning-path .current b{background:#eee3f7}.learning-path i{font-style:normal;color:#b8a7c5}.learning-summary{background:#fff9ee;border:1px solid #e9dcc6;border-radius:16px;padding:22px 25px;margin:25px 0}.learning-summary strong{font-size:20px;color:#584766}.learning-summary-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.learning-summary p{font-size:15px;line-height:1.8;color:#6e6776;margin:10px 0 0}.photo-card-caption .card-learning-state{font-size:15px;margin-top:10px;color:#72528a}.rule-learning-action{padding:25px 29px;border-top:1px solid #eadfeb;background:#fbf7fd}.rule-learning-action p,.lesson-flow-note,.analysis-learning-gate p{font-size:17px;line-height:1.9;color:#62516e}.lesson-flow-note{padding:15px 18px;background:#f1f8f1;border-radius:10px;margin:0 0 25px;color:#4d735e}.lesson-player button:disabled{opacity:.5;cursor:not-allowed}.analysis-learning-gate{border:1px solid #e5d9ed;border-radius:20px;padding:35px;background:#fff}.analysis-learning-gate button{margin-top:25px}@media(max-width:560px){.learning-path{gap:8px;font-size:14px}.learning-path b{width:23px;height:23px;line-height:21px}.learning-summary,.analysis-learning-gate{padding:22px}.rule-learning-action{padding:20px}.learning-path i{font-size:12px}.rule-learning-action p,.lesson-flow-note,.analysis-learning-gate p{font-size:16px}}

.guided-start{background:linear-gradient(120deg,#f3eafa,#fffaf1);border:1px solid #d8c3e7;padding:32px;margin-top:24px}.guided-start #guide-kicker{font-size:16px;font-weight:700;color:#77508e}.guided-start h2{font-size:30px;margin:12px 0}.guided-start #guide-detail{font-size:18px;color:#51435d;max-width:720px}.guided-start #guide-step{display:block;margin-top:18px;color:#72518a;font-weight:650}.guided-start .primary{font-size:19px;padding:17px 26px}.guided-start strong{display:block;font-size:17px;margin-top:24px}#home-progress{display:block;width:min(100%,520px);height:10px;accent-color:#8861ae;margin-top:12px}.progress-settings{margin-top:15px;font-size:14px;color:#7b7081}.progress-settings summary{cursor:pointer}.nav-continue{margin:20px 0 4px;width:100%;font-size:15px;padding:13px 10px}.course-directory-title{margin-top:40px}@media(max-width:900px){.nav-continue{display:none}}@media(max-width:560px){.guided-start{padding:23px}.guided-start h2{font-size:25px}.guided-start .primary{width:100%;font-size:17px}.guided-start #guide-detail{font-size:17px}}

#page-home>.culture-cards{margin-top:24px}#page-home>.guided-start{padding:24px;margin-top:28px}#page-home>.guided-start h2{font-size:24px}#page-home>.guided-start .primary{padding:13px 20px;font-size:17px}

footer{flex-wrap:wrap;gap:12px}.site-view-counter{display:inline-flex;align-items:center;gap:8px}.site-view-counter b{font-variant-numeric:tabular-nums;color:#71518b;font-size:16px;font-weight:650}


.aligned-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1000 / 1340;
  overflow: hidden;
  background: #efe7de;
}
.aligned-photo-plane {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1000px;
  height: 1340px;
  transform: scale(var(--photo-scale, 0));
  transform-origin: top left;
}
.aligned-photo img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  transform-origin: top left;
}
#culture-cards .photo-card { display: flex; flex-direction: column; align-items: stretch; align-self: stretch; }
#culture-cards .photo-card-caption { flex: 1; width: 100%; }
/* Four-corner perspective calibration of the original photographed STOP / START panels. */
.photo-card[data-culture="E"] .aligned-photo-source { transform:matrix3d(0.9873599901,0.0010577523,0.0000000000,0.0000063654,0.0319768555,1.0460252265,0.0000000000,0.0000419020,0.0000000000,0.0000000000,1.0000000000,0.0000000000,-22.3174399460,-128.3147038781,0.0000000000,1.0000000000); }
.photo-card[data-culture="G"] .aligned-photo-source { transform:matrix3d(0.9737595906,0.0038106721,0.0000000000,-0.0000110023,0.0047201027,1.0303659433,0.0000000000,0.0000391639,0.0000000000,0.0000000000,1.0000000000,0.0000000000,-1.6295484562,-112.8815232079,0.0000000000,1.0000000000); }
.photo-card[data-culture="C"] .aligned-photo-source { transform:matrix3d(0.9568881994,0.0100134208,0.0000000000,0.0000125782,0.0203183278,1.0062344138,0.0000000000,0.0000342095,0.0000000000,0.0000000000,1.0000000000,0.0000000000,-2.6333129259,-84.9447058436,0.0000000000,1.0000000000); }
.photo-card[data-culture="T"] .aligned-photo-source { transform:matrix3d(0.9985653631,-0.0058081364,0.0000000000,0.0000073857,0.0351552133,1.0441572059,0.0000000000,0.0000360197,0.0000000000,0.0000000000,1.0000000000,0.0000000000,-22.2964567083,-88.6957318337,0.0000000000,1.0000000000); }
.photo-card[data-culture="R"] .aligned-photo-source { transform:matrix3d(0.9903444841,-0.0177096996,0.0000000000,-0.0000103433,0.0230578426,1.0435189032,0.0000000000,0.0000399169,0.0000000000,0.0000000000,1.0000000000,0.0000000000,-39.5773329943,-68.4246039906,0.0000000000,1.0000000000); }
.photo-card[data-culture="D"] .aligned-photo-source { transform:matrix3d(0.9781273373,0.0056607650,0.0000000000,-0.0000072074,0.0071767594,1.0221973919,0.0000000000,0.0000350257,0.0000000000,0.0000000000,1.0000000000,0.0000000000,2.0351303641,-45.8581959446,0.0000000000,1.0000000000); }

/* Reflect the original edge strips before projection so the calibrated
   rectangle is covered while the central photo and lettering stay intact. */
.aligned-photo-source {
  --poster-edge: 48px;
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--poster-width);
  height: var(--poster-height);
  transform-origin: top left;
}
.photo-edge {
  position: absolute;
  display: block;
  background-image: var(--poster-image);
  background-size: var(--poster-width) var(--poster-height);
  background-repeat: no-repeat;
}
.photo-edge-left,
.photo-edge-right {
  top: 0;
  width: var(--poster-edge);
  height: var(--poster-height);
  transform: scaleX(-1);
}
.photo-edge-left { right: 100%; background-position: left top; }
.photo-edge-right { left: 100%; background-position: right top; }
.photo-edge-bottom,
.photo-edge-bottom-left,
.photo-edge-bottom-right {
  /* Sample only the last 12 pixels of the background, below the printed footer. */
  background-size: var(--poster-width) calc(var(--poster-height) * 4);
}
.photo-edge-bottom {
  top: 100%;
  left: 0;
  width: var(--poster-width);
  height: var(--poster-edge);
  background-position: left bottom;
  transform: scaleY(-1);
}
.photo-edge-bottom-left,
.photo-edge-bottom-right {
  top: 100%;
  width: var(--poster-edge);
  height: var(--poster-edge);
  transform: scale(-1);
}
.photo-edge-bottom-left { right: 100%; background-position: left bottom; }
.photo-edge-bottom-right { left: 100%; background-position: right bottom; }
#culture-cards .photo-card { border-radius: 0; }

@media screen and (min-width: 901px) {
  .site-sidebar {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
  }

  .site-sidebar > * {
    flex-shrink: 0;
  }
}

.site-sidebar:focus-visible {
  outline: 2px solid #76549e;
  outline-offset: -2px;
}

.analysis-learning-gate:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 280px);
  align-items: center;
  gap: 24px;
}
.analysis-construction {
  justify-self: center;
  width: min(100%, 260px);
  margin: 0;
  text-align: center;
}
.analysis-mascot {
  position: relative;
}
.analysis-mascot-art {
  display: block;
  width: 100%;
  height: auto;
}
.analysis-construction figcaption {
  display: inline-block;
  margin-top: -4px;
  padding: 5px 15px;
  border: 1px solid #e9c77d;
  border-radius: 7px;
  background: #fff2d0;
  color: #634410;
  font-size: 17px;
  font-weight: 700;
}
@media (max-width: 700px) {
  .analysis-learning-gate:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .analysis-construction {
    width: min(100%, 210px);
  }
}
.analysis-helmet-logo {
  position: absolute;
  top: 15.3%;
  left: 49%;
  width: 13.5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff url("assets/chao-long-company-logo.png") no-repeat 1.9% 60%;
  background-size: 484.15% auto;
  pointer-events: none;
}
