:root{--page:#faf9f7;--shell:#f4f0ec;--surface:#fff;--column:#ede9e5;--accent:#7ea199;--soft:#edf4f2;--primary:#466d65;--link:#557b72;--taupe:#998675;--title:#111827;--text:#374151;--muted:#4b5563;--border:#e5e7eb;--control:#d1d5db;--success:#047857;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.6}button,input,select,textarea{font:inherit}a{color:var(--link);text-decoration:none}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{color:var(--title);line-height:1.25}h1{font-size:34px;letter-spacing:-1.2px;font-weight:650}h2{font-size:23px;letter-spacing:-.6px;font-weight:650}h3{font-size:18px;letter-spacing:-.3px}small{font-size:12px}button{min-height:44px}button svg,a svg{flex-shrink:0}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:var(--shell);border-right:1px solid #e6e1db;display:flex;flex-direction:column;padding:30px 20px 0;z-index:20;overflow-y:auto}.brand{display:flex;gap:11px;align-items:center;font-size:24px;font-weight:700;color:#283c36;letter-spacing:-1px;margin:0 7px 37px}.brand-light{font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:1.6px;margin-top:1px;color:#756e66;font-weight:600}.brandmark{background:var(--primary);color:white;width:38px;height:40px;border-radius:10px;font-size:29px;line-height:38px;padding-left:8px;letter-spacing:-4px}.brandmark span{color:#b7d0c9}.workspace-label{font-size:10px;letter-spacing:1.25px;color:#766c62;font-weight:650;margin:0 12px 12px}.main-nav a{display:flex;align-items:center;gap:10px;font-size:14px;min-height:43px;border-radius:8px;color:#5b5c57;padding:8px 12px;margin:3px 0}.main-nav a.active{background:#e1e9e4;color:#35594f;font-weight:650}.nav-icon{font-size:19px;width:20px;text-align:center}.count{margin-left:auto;font-size:11px;min-width:21px;text-align:center;background:#e8e4de;border-radius:5px;padding:0 5px}.active .count{background:#cddcd5}.side-divider{height:1px;background:#e1dcd5;margin:23px 9px}.pattern-nav{display:flex;flex-direction:column;gap:1px}.pattern-nav a{font-size:13px;color:#5d605c;display:flex;align-items:center;gap:10px;padding:7px 12px;min-height:34px;border-radius:7px}.pattern-nav a:hover,.pattern-nav a.active{background:#e6ece7;color:var(--primary)}.pattern-nav .mini-icon{width:18px;color:#6c877d;display:flex}.pattern-nav .completed{margin-left:auto;color:var(--success)}.side-bottom{margin-top:auto;padding:25px 9px 0}.progress-heading{display:flex;justify-content:space-between;font-size:12px}.progress-heading b{font-size:11px;font-weight:500}progress{height:5px;width:100%;border:0;appearance:none;margin:10px 0 0}progress::-webkit-progress-bar{background:#deded5;border-radius:10px}progress::-webkit-progress-value{background:var(--primary);border-radius:10px}progress::-moz-progress-bar{background:var(--primary)}.side-bottom>small{color:#716f68;font-size:10px}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid #dedad4;margin-top:21px;padding:20px 0;font-size:12px;font-weight:600}.avatar{background:#e5ddd5;color:#67594e;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:11px}.profile small{display:block;color:#726f69;font-size:10px;font-weight:400}.version{margin-left:auto;font-size:10px;font-weight:400;color:#79776e}.shell{margin-left:258px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:74px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 42px;gap:14px}.breadcrumb{display:flex;gap:16px;align-items:center;font-size:12px;color:#737770}.breadcrumb b{font-weight:500;color:var(--text)}.crumb-divider{color:#c4c6c0}.top-actions{display:flex;gap:22px;align-items:center;font-size:11px}.local-badge{display:flex;gap:7px;align-items:center;color:#697369}.local-badge:before{content:'';width:6px;height:6px;border-radius:100%;background:var(--accent)}.reference-link{color:#61665e}.reference-link span{margin-left:4px}.mobile-menu{display:none}.icon-button{border:1px solid var(--border);background:white;border-radius:8px;min-width:44px;color:var(--text)}main{width:100%;max-width:1480px;margin:0 auto;padding:38px 42px 48px;flex:1}footer{border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:20px;padding:21px 42px;color:#6b7068;font-size:10px}.footer-dot{padding:0 8px}.eyebrow{color:#827464;font-size:10px;font-weight:650;letter-spacing:1.9px;display:flex;align-items:center;gap:8px;margin-bottom:13px}.eyebrow:before{content:'';height:6px;width:6px;background:#9b8873;border-radius:2px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading h1{margin:0 0 9px}.page-heading p{font-size:14px;color:#6b706b;max-width:670px;margin:0}.button{border:1px solid var(--control);background:white;color:var(--text);font-size:12px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;border-radius:8px;padding:10px 15px;white-space:nowrap}.button:hover{background:#f5f7f5}.button.primary{background:var(--primary);color:white;border-color:var(--primary)}.button.primary:hover{background:#374151}.button.soft{background:var(--soft);color:var(--primary);border-color:#d5e4dc}.button.small{min-height:36px;font-size:11px;padding:7px 11px}.hero{display:grid;grid-template-columns:1.15fr 1fr;min-height:245px;border:1px solid #dce6df;background:#edf2ed;border-radius:12px;overflow:hidden;position:relative;margin-bottom:24px}.hero-copy{padding:30px 34px;z-index:1}.hero .pill{font-size:10px;background:#e1eae1;color:#4e6e5b;border:1px solid #d2dfd3}.hero h2{font-size:29px;max-width:400px;letter-spacing:-1px;margin:13px 0 9px;line-height:1.25}.hero h2 span{color:#5a8171}.hero p{font-size:12px;max-width:380px;line-height:1.8;color:#606d63;margin-bottom:19px}.hero .button{min-height:37px;font-size:11px}.hero-art{display:flex;align-items:center;justify-content:center;position:relative;background-image:radial-gradient(#c6d5c6 .7px,transparent .7px);background-size:17px 17px;margin:14px 10px}.hero-art:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse,transparent 40%,#edf2ed 75%)}.hero-art svg{width:100%;max-width:420px;height:auto;z-index:1}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0 35px}.stat{display:flex;align-items:center;gap:14px;border:1px solid var(--border);background:white;border-radius:8px;padding:18px 20px}.stat-icon{width:37px;height:37px;border:1px solid #e2e8e3;border-radius:9px;display:grid;place-items:center;color:#6d8a7b;background:#f6f8f5}.stat strong{display:block;font-size:21px;line-height:1.2;color:var(--title);font-weight:600}.stat small{color:#747871;font-size:10px}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:7px}.section-heading h2{font-size:20px;margin:0}.pill{display:inline-flex;border-radius:30px;align-items:center;padding:3px 9px;background:var(--shell);color:#71675d;font-size:10px;font-weight:550;white-space:nowrap}.section-subtitle{font-size:12px;color:#72766f;margin-bottom:20px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px}.search{position:relative;flex:1}.search svg{position:absolute;left:13px;top:13px;color:#8c938a}.search input{width:100%;padding:11px 14px 11px 40px;height:43px;border:1px solid var(--control);border-radius:8px;background:white;font-size:12px;color:var(--text)}.search input::placeholder{color:#858a81}.select{appearance:none;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid var(--control);border-radius:8px;padding:10px 35px 10px 13px;height:43px;font-size:12px;color:#555e53;min-width:145px}.view-toggle{display:flex;border:1px solid var(--border);border-radius:8px;padding:3px;background:white}.view-toggle button{border:0;border-radius:5px;background:transparent;min-width:34px;min-height:34px;color:#83887d}.view-toggle button.active{background:#edf2ed;color:var(--primary)}.catalog-meta{display:flex;justify-content:space-between;font-size:10px;color:#7a7c73;margin:0 0 13px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.pattern-card{position:relative;background:white;border:1px solid var(--border);border-radius:9px;padding:23px 22px 0;display:flex;flex-direction:column;min-height:259px;transition:border-color .18s,box-shadow .18s,transform .18s}.pattern-card:hover{border-color:#b7ccc0;box-shadow:0 5px 18px #294c3710;transform:translateY(-2px)}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.pattern-icon{width:40px;height:40px;border-radius:10px;background:#edf3ee;border:1px solid #e4ece4;display:grid;place-items:center;color:#597969}.pattern-card:nth-child(3n+2) .pattern-icon{background:#f3eee8;border-color:#eee6dc;color:#93806a}.pattern-card:nth-child(3n) .pattern-icon{background:#edf0f4;border-color:#e3e8ef;color:#77879a}.bookmark{border:0;background:transparent;min-width:36px;min-height:36px;display:grid;place-items:center;color:#92998f;border-radius:5px}.bookmark:hover,.bookmark.saved{background:#edf4f2;color:var(--primary)}.bookmark.saved svg{fill:#d4e5dc}.pattern-card h3{font-size:16px;margin:0 0 4px;letter-spacing:-.4px}.pattern-card h3 a{color:var(--title)}.translated{font-size:10px;color:#8a847b;margin:0 0 12px}.card-description{font-size:12px;line-height:1.7;color:#6a7167;margin:0 0 17px;flex:1}.card-badges{display:flex;gap:6px;margin-bottom:20px}.badge{font-size:9px;padding:2px 7px;border-radius:5px;font-weight:500;background:#f4f5f3;color:#74796e}.badge.level-Básico{background:#edf4ed;color:#597853}.badge.level-Intermedio{background:#fbf4e7;color:#987a3e}.badge.level-Avanzado{background:#f4edf8;color:#886c9d}.card-footer{border-top:1px solid #eef0eb;min-height:47px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8a8e84;gap:8px}.card-footer a{color:var(--primary);font-weight:600;font-size:11px;display:flex;align-items:center;gap:7px}.card-footer span{display:flex;align-items:center;gap:4px}.card-footer svg{width:12px;height:12px}.cards.list{grid-template-columns:1fr}.cards.list .pattern-card{min-height:0;display:grid;grid-template-columns:54px 1fr auto;gap:0 12px;padding:18px 22px}.cards.list .card-top{grid-column:1;grid-row:1/4;align-items:flex-start;margin:0}.cards.list .bookmark{position:absolute;right:16px;top:14px}.cards.list h3,.cards.list .translated,.cards.list .card-description{grid-column:2}.cards.list .card-badges{grid-column:3;grid-row:2;align-self:start;margin:0 35px 0 0}.cards.list .card-footer{grid-column:2/4;min-height:40px}.learning-note{margin-top:28px;border:1px solid #e3e5dd;background:#f3f4ef;border-radius:8px;display:flex;align-items:center;gap:15px;padding:18px 22px;font-size:12px;color:#6d7567}.learning-note strong{color:#4f6654}.learning-note p{margin:0}.learning-note svg{color:#748d70;flex-shrink:0}.empty{grid-column:1/-1;padding:55px 25px;text-align:center;background:white;border:1px dashed var(--control);border-radius:8px}.empty h3{margin-bottom:8px}.empty p{font-size:14px;color:var(--muted)}.toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%) translateY(30px);background:#29463c;color:white;border-radius:8px;padding:12px 20px;font-size:13px;box-shadow:0 8px 25px #0002;z-index:50;opacity:0;pointer-events:none;transition:.2s}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.skip{position:fixed;top:-80px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.detail-heading{align-items:flex-start}.detail-heading h1{font-size:32px;margin:8px 0}.detail-heading .heading-actions{display:flex;gap:8px;padding-top:25px}.detail-kicker{display:flex;gap:8px;align-items:center}.detail-summary{max-width:730px!important;font-size:15px!important;line-height:1.8}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--border);margin-bottom:26px;overflow-x:auto}.tab{border:0;background:transparent;white-space:nowrap;font-size:13px;min-height:48px;color:#7b8076;padding:0 2px;border-bottom:2px solid transparent}.tab.active{border-color:var(--primary);color:var(--primary);font-weight:600}.detail-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--border);border-radius:10px;padding:25px;margin-bottom:20px}.panel h2{font-size:19px;margin-bottom:15px}.panel h3{font-size:15px;margin-bottom:9px}.panel p,.panel li{font-size:14px;line-height:1.85;color:#596354}.panel p:last-child{margin-bottom:0}.panel ul{padding-left:19px;margin-bottom:0}.callout{background:var(--soft);border:1px solid #dce8e0;border-left:3px solid var(--accent);border-radius:8px;padding:18px 21px;margin:22px 0;font-size:14px;color:#456255}.callout strong{display:block;margin-bottom:5px}.callout p{margin:0}.role-list{list-style:none;padding:0!important}.role-list li{padding:12px 0;border-bottom:1px solid #eef0eb}.role-list li:last-child{border:0}.role-list code{font-size:13px;font-weight:600;color:var(--primary)}.role-list small{display:block;color:#808577}.related{display:flex;gap:8px;flex-wrap:wrap}.diagram{width:100%;display:block;min-width:600px}.diagram-wrap{overflow:auto;border:1px solid #e4e9e2;border-radius:8px;background:radial-gradient(#d5ddd5 .7px,transparent .7px) 0 0/16px 16px}.diagram text{font-family:var(--font)}.diagram-controls{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:16px 0}.diagram-note{font-size:12px!important;color:#7c8277!important}.sequence-step{padding:15px 18px;background:var(--soft);border-radius:8px;font-size:14px;min-height:80px;margin-top:15px}.sequence-step strong{display:block;color:var(--primary)}.diagram .active-line{stroke:#466d65;stroke-width:3}.diagram .inactive-line{stroke:#bfc9c1;stroke-width:1.5}.code-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.segment{display:inline-flex;gap:3px;border:1px solid var(--border);border-radius:8px;background:var(--shell);padding:4px}.segment button{border:0;border-radius:5px;background:transparent;color:#6e7569;font-size:12px;min-height:34px;padding:7px 14px}.segment button.active{background:white;color:var(--primary);box-shadow:0 1px 4px #0001}.code-title{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:#253830;color:#becfc3;border-radius:9px 9px 0 0;font-size:12px}.code{margin:0;background:#1c2c25;color:#dde7dd;padding:23px 22px;border-radius:0 0 9px 9px;font:13px/1.85 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:auto;tab-size:4;max-height:670px}.token-keyword{color:#b7c9f1}.token-string{color:#c8d79f}.token-comment{color:#8faba0}.token-annotation{color:#e6c48a}.run-instructions{margin-top:20px}.run-instructions pre,.output{background:#f4f5f1;border:1px solid #e3e7e0;border-radius:8px;padding:16px;font:12px/1.8 ui-monospace,monospace;overflow:auto;white-space:pre-wrap;color:#455b4a}.demo-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.demo-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.demo-controls{display:flex;flex-direction:column;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:550}.field input,.field textarea,.field select{width:100%;border:1px solid var(--control);background:white;border-radius:8px;padding:10px 12px;font-size:14px;min-height:44px;color:var(--text)}.field textarea{min-height:100px;resize:vertical}.field input[type=range]{padding:0;accent-color:var(--primary)}.checks{display:flex;flex-direction:column;gap:12px}.check{display:flex;gap:10px;align-items:center;font-size:14px;min-height:40px}.check input{width:17px;height:17px;accent-color:var(--primary)}.demo-stage{border:1px solid #dce7dd;background:#f4f7f2;border-radius:10px;min-height:235px;padding:26px;display:flex;flex-direction:column;justify-content:center;gap:15px}.demo-node{border:1px solid #d2dfd3;background:white;border-radius:8px;padding:11px 16px;text-align:center;font-size:13px;color:#566e57}.demo-node.done{background:#e7f2e8;border-color:#89ac92}.demo-node.failed{background:#fee2e2;border-color:#dcacac;color:#b91c1c}.demo-node.current{border:2px solid #6b9684;background:#e7f0ed;color:#325c4b}.flow-nodes{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:center}.flow-connector{height:1px;width:16px;background:#99b4a1}.result-label{font-size:10px;letter-spacing:1.5px;color:#7d8d7a;text-transform:uppercase}.result-value{font-size:35px;font-weight:650;line-height:1.3;color:var(--primary);letter-spacing:-1px;overflow-wrap:anywhere}.result-subtitle{font-size:13px;color:#6e7e67}.terminal{background:#1c2c25;border-radius:8px;margin-top:20px;padding:18px 21px;min-height:145px;color:#d3e1d3;font:12px/1.9 ui-monospace,monospace;max-height:280px;overflow:auto}.terminal small{display:block;letter-spacing:1px;color:#88a08f;margin-bottom:10px;font-size:10px}.log-line:before{content:'› ';color:#86b99a}.log-error{color:#ffb8b8}.editor-preview{background:white;border:1px solid #e2e5dc;border-radius:8px;min-height:100px;padding:20px;font-size:20px;color:#465c47;white-space:pre-wrap;overflow-wrap:anywhere}.snapshots{display:flex;flex-direction:column;gap:7px}.snapshot{display:flex;justify-content:space-between;gap:15px;background:white;border:1px solid #dde5d8;border-radius:7px;padding:10px;font-size:12px;overflow-wrap:anywhere}.course-cards{display:flex;gap:10px}.course-cards .demo-node{flex:1}.visitor-shape{height:80px;background:#adc6b6;border:2px solid #6c947b;margin:10px auto;width:80px}.visitor-shape.circle{border-radius:50%}.visitor-shape.rectangle{width:130px}.quiz-options{display:flex;flex-direction:column;gap:10px;margin:20px 0}.quiz-option{text-align:left;background:white;border:1px solid var(--control);border-radius:8px;padding:13px 16px;font-size:14px;display:flex;gap:12px;align-items:center}.quiz-option:hover{background:var(--soft)}.quiz-option.correct{border-color:#5f9b78;background:#ecfdf5;color:#047857}.quiz-option.incorrect{border-color:#d79e9e;background:#fee2e2;color:#b91c1c}.quiz-feedback{padding:20px;border-radius:8px;background:var(--soft);font-size:14px;margin-bottom:20px}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.compare-table{width:100%;border-collapse:collapse;font-size:14px}.compare-table th{background:var(--shell);text-align:left;padding:15px}.compare-table td{padding:18px 15px;border-top:1px solid var(--border);vertical-align:top}.compare-table td:first-child{font-weight:600;min-width:130px}.compare-scroll{overflow:auto}.section-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:23px;margin-top:20px}.noscript{margin:30px;padding:20px;background:white}.saved-banner{font-size:13px;margin-bottom:20px}.completion{background:#ecfdf5;color:#047857}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){main{padding-top:45px}.hero{min-height:275px}.hero-copy{padding:35px 42px}.hero h2{font-size:34px}.hero p{font-size:14px}.pattern-card{min-height:280px}.card-description{font-size:14px}.pattern-card h3{font-size:18px}.translated{font-size:12px}.badge{font-size:11px}.card-footer{font-size:12px}.card-footer a{font-size:13px}.search input,.select{font-size:14px}}
@media(max-width:1150px){.sidebar{width:230px;padding-left:14px;padding-right:14px}.shell{margin-left:230px}.topbar{padding:0 26px}main{padding:30px 26px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{padding:26px}.hero h2{font-size:25px}.hero p{font-size:12px}.stats{gap:10px}.stat{padding:15px 12px;gap:9px}.stat-icon{width:28px;height:28px}.stat strong{font-size:20px}.page-heading h1{font-size:29px}.page-heading{gap:15px}.page-heading .button{font-size:11px}.detail-grid{grid-template-columns:1fr}.detail-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.detail-heading .heading-actions{flex-direction:column}.tabs{gap:17px}footer{padding:20px 26px}.top-actions{gap:15px}.local-badge{display:none}}
@media(max-width:780px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:258px;box-shadow:10px 0 40px #0002}.sidebar.open{transform:translateX(0)}.shell{margin-left:0}.topbar{height:64px;padding:0 20px}.mobile-menu{display:block}.breadcrumb{flex:1;font-size:11px;gap:9px}.top-actions{font-size:10px}.reference-link{display:none}main{padding:27px 20px 38px}.page-heading{align-items:flex-start}.page-heading h1{font-size:27px}.page-heading p{font-size:13px}.page-heading>.button{font-size:0;padding:10px;min-width:44px}.page-heading>.button svg{width:19px;height:19px}.hero{grid-template-columns:1.1fr 1fr;min-height:230px}.hero-copy{padding:23px}.hero h2{font-size:26px}.hero p{font-size:12px}.hero-art{margin:0 -15px 0 -20px}.stats{margin-bottom:28px}.stat{padding:13px 10px}.stat-icon{display:none}.stat small{font-size:10px}.stat strong{font-size:23px}.toolbar{gap:8px}.select{min-width:120px;font-size:11px}.view-toggle{display:none}.cards{gap:12px}.pattern-card{padding:19px 18px 0}.detail-heading h1{font-size:28px}.detail-heading .heading-actions{padding-top:15px}.detail-summary{font-size:14px!important}.detail-heading .button{padding:9px 10px;font-size:10px}.demo-layout{grid-template-columns:1fr}.demo-stage{min-height:200px}.demo-header{align-items:flex-start}.demo-header .button{font-size:11px}.toast{left:50%;max-width:90%;width:max-content}.tabs{gap:18px}.tab{font-size:12px}.panel{padding:20px}.compare-grid{gap:15px}footer{padding:20px;flex-direction:column;gap:5px}.learning-note{font-size:11px}.section-bottom{gap:12px}.section-bottom .button{font-size:11px}.diagram-controls{flex-wrap:wrap}}
@media(max-width:480px){.hero{grid-template-columns:1fr}.hero-art{display:none}.hero-copy{padding:25px}.hero h2{max-width:290px;font-size:29px}.hero p{max-width:280px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}.stat{padding:13px 17px}.stat-icon{display:grid;width:32px;height:32px}.cards{grid-template-columns:1fr}.pattern-card{min-height:245px;padding:22px 23px 0}.pattern-card h3{font-size:18px}.translated{font-size:12px}.card-description{font-size:14px}.badge{font-size:11px}.card-footer{min-height:50px;font-size:11px}.card-footer a{font-size:13px}.card-top{margin-bottom:15px}.toolbar{flex-wrap:wrap}.toolbar .search{flex-basis:100%}.toolbar .select{flex:1}.catalog-meta{font-size:10px}.detail-heading{flex-direction:column;gap:10px}.detail-heading .heading-actions{flex-direction:row;padding-top:0;width:100%;flex-wrap:wrap}.detail-heading .heading-actions .button{flex:1;font-size:11px}.detail-aside{grid-template-columns:1fr;gap:0}.compare-grid{grid-template-columns:1fr}.tabs{margin-top:10px;gap:17px}.tab{min-height:50px}.code-toolbar{align-items:stretch}.segment{width:100%;justify-content:center}.code-toolbar>.button{flex:1}.code{font-size:12px;padding:17px}.demo-controls .button{white-space:normal}.course-cards{flex-direction:column}.learning-note{padding:15px;align-items:flex-start}.page-heading h1{font-size:26px}.eyebrow{font-size:9px}.page-heading p{max-width:270px}.section-heading h2{font-size:19px}.cards.list .pattern-card{display:flex;min-height:250px}.cards.list .card-top{display:flex}.cards.list .card-badges{margin:0 0 16px}.cards.list .card-footer{min-height:48px}.compare-table{font-size:12px}.compare-table th,.compare-table td{padding:12px}.result-value{font-size:30px}.flow-nodes{flex-direction:column}.flow-connector{height:10px;width:1px}.section-bottom{flex-direction:column;align-items:stretch}.section-bottom .button{white-space:normal}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.sidebar,.topbar,footer,.heading-actions,.tabs,.button,.bookmark{display:none!important}.shell{margin:0}main{padding:0;max-width:100%}.cards{grid-template-columns:repeat(2,1fr)}.panel,.pattern-card{break-inside:avoid}.code{max-height:none;white-space:pre-wrap;background:#f4f4f4;color:black}.diagram{min-width:0}}
/* Tamaños legibles para el contenido de aprendizaje y los controles. */
.pattern-nav a,.button,.button.small,.hero .button,.tab,.segment button,.search input,.select,.main-nav a{font-size:14px}.pattern-nav a{min-height:38px}.button,.button.small,.hero .button{min-height:44px}.pattern-card h3{font-size:18px}.card-description,.hero p,.page-heading p,.learning-note{font-size:14px}.translated,.badge,.pill,.section-subtitle,.catalog-meta,.card-footer,.card-footer a,.stat small,.side-bottom>small,.profile small,.profile,.progress-heading,.progress-heading b,.breadcrumb,.reference-link,.top-actions,footer{font-size:12px}.panel p,.panel li{font-size:16px}.role-list span{font-size:14px}.stat{min-height:86px}.pattern-card{min-height:300px}.card-footer{min-height:52px}.card-badges{flex-wrap:wrap}.code-toolbar .button,.demo-header .button,.section-bottom .button,.detail-heading .button{font-size:14px}.workspace-label{font-size:10px}.brand small{white-space:nowrap;font-size:8px;letter-spacing:1.1px}.stats{align-items:stretch}.stat strong{margin-bottom:3px}.learning-note{line-height:1.7}.cards.list .pattern-card{min-height:0}.code{font-size:14px}.terminal{font-size:13px}
@media(max-width:1150px){.top-actions,.reference-link{font-size:12px}.pattern-nav a{font-size:13px}.main-nav a{font-size:13px}.stat{padding:14px 12px}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.page-heading>.button{font-size:0}.hero-art{min-width:0}.hero .button{font-size:12px}.panel p,.panel li{font-size:15px}.toolbar .select{font-size:13px}.hero p{font-size:14px}.card-footer a{font-size:13px}.detail-heading .heading-actions .button{font-size:13px}.brand small{font-size:9px}}
@media(max-width:480px){.hero .button,.section-bottom .button{font-size:14px}.card-footer{font-size:12px}.panel{padding:18px}.code{font-size:13px}.pattern-card{min-height:285px}.detail-heading .heading-actions .button{font-size:12px}.demo-header h2{font-size:18px}.demo-header{flex-wrap:wrap}.diagram-controls>div{display:flex;gap:5px}.demo-stage{padding:20px}.result-value{font-size:30px}.stat small{font-size:12px}.stat{padding:14px}.code-title{font-size:11px;gap:12px}.compare-table{font-size:14px}.segment button{font-size:13px}.hero h2{font-size:29px}}
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat,.stat>div{min-width:0}.stat small{overflow-wrap:anywhere}
@media(max-width:1150px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.sidebar .pattern-nav a,.sidebar .main-nav a{min-height:44px}.sidebar .side-bottom{margin-top:24px}.stat-icon{flex-shrink:0}}
/* Catálogo completo: familias de creación, estructura y comportamiento. */
.family-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 32px}.family-card{background:white;border:1px solid var(--border);border-radius:9px;padding:20px;display:block}.family-card:hover{border-color:var(--accent);background:#f7faf7}.family-card h3{font-size:18px;margin:13px 0 7px}.family-card p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}.family-card:nth-child(2) .pill{background:#edf0f4;color:#586c82}.family-card:nth-child(3) .pill{background:var(--soft);color:var(--primary)}.toolbar{flex-wrap:wrap}.toolbar .search{min-width:240px}.toolbar .select{min-width:135px}.family-badge{background:var(--soft);color:var(--primary)}.nav-family{margin-bottom:5px}.nav-family summary{cursor:pointer;min-height:44px;padding:10px 12px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:7px;color:#53674f;list-style:none}.nav-family summary:before{content:'›';transform:rotate(0deg);font-size:18px;font-weight:400}.nav-family[open] summary:before{transform:rotate(90deg)}.nav-family summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.nav-family summary::-webkit-details-marker{display:none}.nav-family .family-link{font-size:12px;color:var(--link);padding-left:30px;font-weight:600}.nav-family a{margin-left:7px}.nav-family .count{font-size:11px;font-weight:500}.pattern-nav{flex-shrink:0}.section-heading{flex-wrap:wrap}.section-heading>.pill{white-space:normal}.family-downloads{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.lab-items{display:flex;flex-direction:column;gap:10px}.lab-item{padding:11px 14px;background:white;border:1px solid #dce5d8;border-radius:8px;font-size:14px;overflow-wrap:anywhere}.lab-item code{font-size:12px;color:var(--primary)}.lab-identity{font:14px/1.7 ui-monospace,monospace;border:1px dashed #a2bda7;border-radius:8px;padding:16px;color:#486a51;background:#fcfefb}.tree-list{padding-left:18px;font-size:14px;line-height:2}.forest{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;margin-bottom:12px}.tree-symbol{font-size:20px;color:#527f58;text-align:center}.tree-symbol.pino{color:#799868}.lab-result{font-size:20px;font-weight:600;color:var(--primary);overflow-wrap:anywhere}.object-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.object-pair .lab-item{min-width:0}.demo-controls .field{font-size:14px}.demo-controls input{min-width:0}
@media(max-width:1150px){.toolbar .search{flex-basis:100%}.toolbar>label:not(.search){flex:1}.toolbar .select{width:100%}}
@media(max-width:780px){.family-cards{gap:10px}.family-card{padding:16px}.family-card h3{font-size:16px}.family-card p{font-size:13px}.nav-family summary{min-height:44px}}
@media(max-width:480px){.family-cards{grid-template-columns:1fr;gap:10px}.family-card{padding:17px}.family-card h3{margin-top:9px}.family-card p{font-size:14px}.toolbar .search{min-width:0}.toolbar>label:not(.search){flex-basis:calc(50% - 8px)}.toolbar>label:last-of-type{flex-basis:100%}.object-pair{grid-template-columns:1fr}.forest{grid-template-columns:repeat(8,minmax(0,1fr))}}
