.encryption-workspace{--ink:#142d32;--sans:"Inter", -apple-system, sans-serif;background:#fcfefd;border:1px solid #bacccd;border-radius:12px;overflow:clip}.communicate-tool .page-hero{text-align:left;padding:10px 0 18px}.communicate-tool .page-hero h1{margin-bottom:2px;font-size:clamp(1.5rem,3vw,1.9rem)}.communicate-tool .page-hero p{margin:0;font-size:.95rem}.encryption-workspace [hidden]{display:none!important}.encryption-views{background:#edf3f1;border-bottom:1px solid #bacccd;gap:4px;padding:0 18px;display:flex}.communicate-tool .enc-tab{color:#40575b;align-items:center;gap:8px;padding:14px 12px;font-size:.86rem;font-weight:700;transition:background .15s;display:flex}.communicate-tool .enc-tab:hover{color:#142d32;background:#dfeae5}.communicate-tool .enc-tab.active{color:#07573e;border-bottom-color:#087454}.extension-label{border:1px solid #b6c8c2;border-radius:3px;padding:2px 5px;font-size:.65rem;font-weight:600}.cipher-panel,.compare-panel{padding:20px 24px}.cipher-heading{flex-wrap:wrap;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}.cipher-heading h2{letter-spacing:-.015em;font-size:1.05rem}.cipher-tag{color:#40575b;font-size:.77rem}.cipher-fields{grid-template-columns:minmax(0,1fr) minmax(185px,.45fr);gap:24px;display:grid}.cipher-fields label{align-items:center;gap:7px;margin-bottom:7px;font-size:.82rem;font-weight:700;display:flex}.field-number{color:#40575b;border:1px solid #8fa6a4;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:19px;height:19px;font-size:.7rem;font-weight:700;display:inline-flex}.cipher-fields input[type=text]{width:100%;min-width:0;color:var(--ink);font:600 1.05rem/1.3 var(--mono);letter-spacing:.035em;background:#fff;border:1px solid #819c99;border-radius:5px;padding:10px 12px}.cipher-fields input[aria-invalid=true]{border-color:#b91c1c}.cipher-fields>div{min-width:0}.field-hint{color:#40575b;margin:6px 0 0;font-size:.73rem;line-height:1.45}.shift-control{align-items:center;gap:14px;min-height:43px;display:flex}.shift-control input{accent-color:#087454;cursor:pointer;width:100%;min-width:0}.shift-control output{text-align:center;color:#07573e;min-width:40px;font:700 1.15rem var(--mono);background:#e8f5ef;border:1px solid #b3c9c0;border-radius:4px;padding:6px 8px}.cipher-actions{align-items:center;gap:12px;margin:18px 0;display:flex}.action-instruction{color:#40575b;white-space:nowrap;align-items:center;gap:7px;margin-right:auto;font-size:.77rem;display:flex}.cipher-action{text-align:left;cursor:pointer;border:1px solid #0000;border-radius:6px;justify-content:flex-start;align-items:center;gap:12px;min-width:208px;min-height:64px;padding:10px 15px;transition:transform .12s,background .12s,box-shadow .12s;display:inline-flex;box-shadow:0 3px #0b292533}.cipher-action>span:not(.action-chevron){font-size:1.05rem;font-weight:800;line-height:1.1}.cipher-action small{margin-top:5px;font-size:.67rem;font-weight:500;display:block}.cipher-action svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:23px;height:23px}.action-chevron{margin-left:auto;font-size:1.1rem}.action-encrypt{color:#f4fff9;background:#087454;border-color:#07573e}.action-encrypt:hover{background:#07573e}.action-decrypt{color:#f3fafb;background:#203c45;border-color:#142d32}.action-decrypt:hover{background:#142d32}.cipher-action:active{box-shadow:none;transform:translateY(2px)}.result-heading{align-items:center;gap:10px;margin-bottom:8px;display:flex}.cipher-state{font:700 .64rem var(--mono);letter-spacing:.075em;color:#40575b;background:#f2f6f4;border:1px solid #8fa6a4;border-radius:3px;flex-shrink:0;padding:4px 6px}[data-operation] .cipher-state{color:#07573e;background:#e8f5ef;border-color:#7aac91}.cipher-status{overflow-wrap:anywhere;color:#40575b;min-width:0;font-size:.77rem;line-height:1.4}.cipher-flow{grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);align-items:stretch;gap:10px;display:grid}.message-display{background:#f0f5f2;border:1px solid #bbcfc7;border-radius:5px;min-width:0;padding:14px 16px}.message-display h3{text-transform:uppercase;letter-spacing:.065em;color:#40575b;margin-bottom:8px;font-size:.67rem;font-weight:700}.message-text{min-height:29px;font:700 clamp(1rem, 2vw, 1.2rem)/1.5 var(--mono);letter-spacing:.05em;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}.result-display{background:#142d32;border-color:#142d32}.result-display h3{color:#cbdbd5}.result-display .message-text{color:#e0f7e9}.result-display .empty-result{color:#cbdbd5;letter-spacing:0;font-family:inherit;font-size:.8rem;font-weight:400}.flow-direction{text-align:center;color:#40575b;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:.67rem;line-height:1.35;display:flex}.flow-arrow{color:#087454;font-size:2rem;line-height:1.1}.letter-example{color:#203c45;margin:10px 0 8px;font-size:.82rem;font-weight:600;line-height:1.5}.cipher-utilities{flex-wrap:wrap;gap:6px 16px;display:flex}.utility-button{text-underline-offset:3px;color:#07573e;cursor:pointer;background:0 0;border:0;padding:5px 0;font-size:.76rem;font-weight:600;text-decoration:underline}.utility-button:hover{color:#142d32}.utility-button:disabled{color:#607574;cursor:default;text-decoration:none}.cipher-steps{border-top:1px solid #d2dfd9;margin-top:8px}.cipher-steps summary{color:#203c45;font-size:.8rem}.cipher-task{color:#40575b;margin-top:9px;font-size:.79rem;line-height:1.5}.compare-table-scroll{overflow-x:auto}.alphabet-scroll,.steps-scroll{margin:8px 0 16px;overflow:auto}.steps-scroll{max-height:300px}.alphabet-table,.steps-table{border-collapse:collapse;width:100%;font-size:.8rem}.alphabet-table{font-family:var(--mono)}.alphabet-table td,.alphabet-table th{text-align:center;border:1px solid #d2dfd9;min-width:25px;padding:5px}.alphabet-table th{text-align:left;min-width:64px;font-family:var(--sans)}.alphabet-table tr:nth-child(2){background:#e8f5ef}.alphabet-table caption,.steps-table caption{text-align:left;font:500 .76rem/1.5 var(--sans);color:#40575b;padding:0 0 8px}.steps-table th,.steps-table td{text-align:left;border-bottom:1px solid #d2dfd9;padding:7px 10px}.steps-table th{background:#edf3f1;position:sticky;top:0}.step-note{margin:8px 0;font-size:.8rem;line-height:1.5}.letter-walk{gap:20px;width:max-content;padding:4px 0;list-style:none;display:flex}.letter-walk li{flex-direction:column;align-items:center;min-width:34px;display:flex;position:relative}.letter-walk li+li:before{content:"→";color:#40575b;position:absolute;bottom:5px;left:-15px}.letter-walk small{color:#40575b;font-size:.65rem}.letter-walk strong{font:700 1rem var(--mono);background:#e8f5ef;border:1px solid #b3c9c0;border-radius:3px;padding:5px 10px}.wrap-note{font:600 .65rem var(--sans);color:#7c451a;display:inline-block}.historical-note{color:#40575b;margin:12px 0 16px;font-size:.75rem;line-height:1.5}.encryption-teacher-notes{border-top:1px solid #bacccd;margin-top:20px;padding:0 0 12px}.encryption-teacher-notes>summary{color:#203c45;padding:12px 0;font-size:.9rem;display:list-item}.encryption-teacher-notes>summary span{color:#40575b;margin-left:10px;font-size:.75rem;font-weight:400}#teacherContent{font-size:.86rem;line-height:1.7}#teacherContent>h2{font-size:1rem}#teacherContent>p{margin:8px 0}#teacherContent .curriculum-badges{justify-content:flex-start}#teacherContent .lesson-start{background:0 0;border:0;margin-top:16px;padding:0}#teacherContent .lesson-start h2{font-size:1rem}#teacherContent .curriculum-scope{background:0 0;border:0;margin-top:16px;padding:0}.result-letter{animation:.22s ease-out both cipher-reveal;animation-delay:var(--reveal-delay)}@keyframes cipher-reveal{0%{opacity:0}to{opacity:1}}@media (width<=760px){.cipher-panel,.compare-panel{padding:18px}.cipher-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.action-instruction{grid-column:1/-1}.cipher-action{min-width:0;padding:10px}.cipher-action small{font-size:.63rem}.cipher-fields{grid-template-columns:minmax(0,1fr) 180px;gap:16px}.encryption-views{gap:0;padding:0 6px}.communicate-tool .enc-tab{padding:12px 8px;font-size:.8rem}.extension-label{display:none}}@media (width<=520px){.cipher-fields{grid-template-columns:1fr;gap:12px}.cipher-heading{gap:5px 12px;margin-bottom:12px}.cipher-tag{font-size:.7rem}.shift-control{min-height:32px}.cipher-flow{grid-template-columns:1fr;gap:5px}.flow-direction{flex-direction:row;gap:12px}.flow-arrow{font-size:1.8rem;transform:rotate(90deg)}.message-display{padding:12px}.message-text{min-height:24px}.cipher-action{gap:8px;min-height:64px}.cipher-action>span:not(.action-chevron){font-size:.95rem}.cipher-action small{font-size:.62rem}.cipher-action svg{width:19px}.action-chevron{display:none}.cipher-status{font-size:.73rem}.encryption-teacher-notes>summary span{margin-left:16px;display:block}}@media (prefers-reduced-motion:reduce){.result-letter{animation:none}}
