:root{--green:#255c3c;--lime:#5aa038;--red:#d52028;--ink:#242c28;--muted:#6d7871;--line:#e2e7e1;--paper:#f4f6f2}*{box-sizing:border-box}body{margin:0;font:15px/1.55 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.15;letter-spacing:-1px;margin-bottom:12px}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:19px;line-height:1.3}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--muted)}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:22px 22px;display:flex;flex-direction:column}.brand{display:block;width:150px;height:130px;margin:0 auto 32px}.brand img{height:100%;width:100%;object-fit:contain}.sidebar nav{display:grid;gap:8px}.sidebar nav a{padding:13px 11px;border-radius:8px;color:#3b4940;font-size:14px}.sidebar nav a:hover{background:#edf3ea;text-decoration:none}.sidebar-bottom{margin-top:auto;font-size:12px;color:var(--green);padding-top:30px}.sidebar-bottom small{display:block;margin:8px 0;color:var(--muted)}.workspace{margin-left:232px}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px;padding:0 42px;font-size:12px}.topbar>span{margin-right:auto;font-weight:650;letter-spacing:1px}.topbar form{margin:0}.text-button{background:none;border:0;color:var(--muted);padding:12px}.workspace main{max-width:1370px;margin:auto;padding:40px 42px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading p{margin-bottom:7px}.date-chip{white-space:nowrap;border:1px solid var(--line);padding:9px 14px;border-radius:20px;font-size:12px;color:var(--muted)}.hero{border-radius:14px;background:#254b36;padding:33px 36px;color:white;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.hero h2{font-size:28px;margin:16px 0 10px}.hero p{color:#d2dfcf;font-size:14px}.hero-link{color:white;font-weight:600;font-size:13px}.hero-mark{font-size:150px;font-weight:850;line-height:1;color:#436c49;letter-spacing:-20px;min-width:170px}.hero-mark span{color:#d66845}.pill{font-size:9px;font-weight:700;letter-spacing:1.7px;border:1px solid #6b8a68;border-radius:20px;padding:6px 12px;color:#deedce}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:22px 0 34px}.stat{border:1px solid var(--line);border-radius:11px;padding:24px;background:#fff;display:flex;flex-direction:column;align-items:flex-start}.stat>span{font-size:10px;letter-spacing:1.3px;color:var(--muted);font-weight:700}.stat strong{font-size:38px;line-height:1.4}.stat a,.stat p{font-size:12px;margin:4px 0 0}.pending-number{color:#a6aea7}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.section-heading h2{font-size:19px}.section-heading>span{font-size:12px}.modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module{border:1px solid var(--line);border-radius:11px;background:#fff;padding:21px}.module-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.module-top>span:first-child{font-size:20px;font-weight:600;color:#c0c9bf}.phase{font-size:9px;background:#f2f4ef;color:#72816c;padding:4px 7px;border-radius:5px}.module .eyebrow{font-size:9px;color:var(--green);margin-bottom:7px}.module h3{margin-bottom:9px}.module>p:last-child{font-size:12px;color:var(--muted);margin:0}.activity{margin-top:30px;padding:24px;border:1px solid var(--line);border-radius:11px;background:white}.activity h2{font-size:18px}.activity-row{display:flex;align-items:center;gap:12px;font-size:13px;padding:12px 0;border-top:1px solid var(--line)}.activity-row time{margin-left:auto;color:var(--muted);font-size:11px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lime);margin-right:4px}.footer{max-width:1370px;margin:auto;padding:10px 42px 30px;color:var(--muted);font-size:10px;display:flex;justify-content:space-between}.auth-workspace{min-height:100vh}.auth-workspace main{padding:4vh 5vw}.auth-layout{max-width:1200px;min-height:83vh;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}.auth-story{background:#254b36;color:white;padding:65px 50px;display:flex;flex-direction:column;justify-content:center}.auth-story .eyebrow{color:#b7caae}.auth-story h1{font-size:clamp(36px,4vw,58px);letter-spacing:-2px;line-height:1.13;margin:30px 0}.auth-story>p:not(.eyebrow){color:#d2dfcf;font-size:15px}.auth-story small{color:#bfd1b9}.auth-rule{height:4px;background:var(--red);width:52px;margin:35px 0}.auth-card{padding:38px 55px 50px;align-self:center}.auth-logo{display:block;width:120px;height:120px;object-fit:contain;margin-bottom:20px}.auth-card h2{font-size:30px;margin-bottom:7px}.auth-card .eyebrow{font-size:9px}.auth-card form{margin-top:26px}label{display:block;font-size:13px;font-weight:650;margin:0 0 8px}input:not([type=checkbox]):not([type=hidden]),select{border:1px solid #ced7cc;border-radius:7px;padding:12px;width:100%;background:#fff;color:var(--ink)}input:focus,button:focus,a:focus{outline:3px solid #9cc5a0;outline-offset:3px}input[type=checkbox]{width:18px;height:18px;vertical-align:middle;margin:0 8px 0 0}.primary{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;background:var(--green);color:#fff;border:0;padding:13px 18px;border-radius:7px;font-weight:600;font-size:14px}.primary:hover{background:#18472b;text-decoration:none}.primary.compact{width:auto;display:inline-flex}.reset-link{display:block;font-size:12px;text-align:center;margin-top:23px}.errorlist{color:#a31f27;font-size:13px;background:#fff1f0;padding:10px 22px;border-radius:6px}.helptext{display:block;font-size:11px;color:var(--muted);margin-top:6px}.helptext ul{padding-left:18px}.form-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px;max-width:720px}.auth-small{margin:5vh auto}.form-actions{display:flex;align-items:center;gap:25px;margin-top:30px}.form-card dd{margin:4px 0 20px}.form-card dt{font-size:12px;font-weight:600;color:var(--muted)}.notice{padding:14px;border-radius:8px;background:#eaf2e5;color:#285b30}.search{display:flex;gap:12px;align-items:center;margin:25px 0}.search label{white-space:nowrap;margin:0}.search input{max-width:420px}.search button{border:1px solid var(--line);background:white;border-radius:7px;padding:12px 18px}.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:10px}table{border-collapse:collapse;width:100%;min-width:600px;text-align:left}th{font-size:11px;letter-spacing:.6px;color:var(--muted);background:#f9faf7}th,td{padding:17px 20px;border-bottom:1px solid var(--line)}td{font-size:13px}td small{display:block;color:var(--muted);margin-top:4px}.tag{display:inline-block;padding:4px 8px;border-radius:5px;background:#f0f3ed;font-size:11px;margin:2px}.badge{display:inline-block;background:#e5f0df;color:#32662b;padding:4px 9px;border-radius:20px;font-size:11px}.inactive{background:#f5eae7;color:#815348}.reference{font-size:11px;word-break:break-all}.pagination{display:flex;justify-content:center;gap:25px;padding:20px;font-size:13px}.skip{position:absolute;top:-70px;left:20px;z-index:10;background:white;padding:12px}.skip:focus{top:10px}
@media(max-width:1100px){.sidebar{width:200px;padding:20px 15px}.workspace{margin-left:200px}.workspace main{padding:30px 25px}.topbar{padding:0 25px}.modules{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-mark{font-size:110px;min-width:110px}}
@media(max-width:700px){h1{font-size:28px}.sidebar{position:static;width:auto;padding:10px 16px;display:block}.brand{width:85px;height:65px;margin:0}.sidebar>.eyebrow,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:4px;white-space:nowrap}.sidebar nav a{font-size:12px;padding:9px}.workspace{margin-left:0}.topbar{height:56px;padding:0 16px;gap:10px}.topbar>span{font-size:10px;letter-spacing:0}.topbar>a{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.workspace main{padding:24px 16px}.page-heading{align-items:flex-start;flex-wrap:wrap}.date-chip{font-size:10px;padding:6px 10px}.hero{padding:25px}.hero h2{font-size:24px}.hero-mark{display:none}.stats{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:18px}.stat span{font-size:9px}.stat strong{font-size:30px}.modules{grid-template-columns:1fr}.section-heading{align-items:flex-start}.section-heading>span{max-width:100px;text-align:right}.module-top{margin-bottom:18px}.footer{padding:10px 16px 22px;gap:20px}.auth-workspace main{padding:0}.auth-layout{display:block;min-height:100vh;border:0;border-radius:0}.auth-story{padding:26px}.auth-story h1{font-size:31px;margin:10px 0 16px}.auth-story h1 br{display:none}.auth-story>p:not(.eyebrow),.auth-rule,.auth-story small{display:none}.auth-card{padding:25px}.auth-logo{width:90px;height:90px;margin-bottom:10px}.auth-card h2{font-size:27px}.auth-small{margin:25px 15px}.form-card{padding:23px}.search{flex-wrap:wrap}.search label{width:100%}.search input{flex:1;min-width:160px}.activity-row{flex-wrap:wrap}.activity-row time{margin-left:0}.section-heading h2{font-size:17px}}

/* Fabricación: formularios y tablas utilizables en taller. */
textarea,select{font:inherit;color:inherit;max-width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;background:#fff}textarea{width:100%;resize:vertical}.form-card input:not([type=checkbox]):not([type=hidden]),.form-card select{width:100%;padding:11px;border:1px solid var(--line);border-radius:7px}.edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.edit-grid .form-card{min-width:0;margin:0 0 15px}.edit-grid legend{font-weight:700;color:var(--green)}.form-card label{display:block;margin-bottom:6px}.form-card form .primary{margin-top:15px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 24px}.save-bar{position:sticky;bottom:0;padding:18px;background:#fff;border-top:1px solid var(--line);display:flex;align-items:center;gap:25px}.serial-grid{display:flex;flex-wrap:wrap;gap:7px}.form-card{margin-bottom:20px}.table-wrap+h2{margin-top:30px}.primary{display:inline-block;text-align:center}.errorlist{color:#b31923}.helptext{font-size:12px;color:var(--muted)}@media(max-width:700px){.edit-grid,.detail-grid{grid-template-columns:1fr}.search select{width:100%}.save-bar{padding:12px}.activity-row{align-items:flex-start}}@media print{.sidebar,.topbar,.save-bar,.footer,form{display:none}.workspace{margin:0}.workspace main{padding:0}.form-card{break-inside:avoid}.table-wrap{overflow:visible}table{min-width:0}}

.work-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 28px}.work-tabs a{border:1px solid var(--line);background:#fff;padding:9px 13px;border-radius:7px;font-size:13px}.evidence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.evidence-grid img{width:100%;max-height:260px;object-fit:contain;border-radius:9px;background:var(--paper)}.evidence-grid small{display:block;color:var(--muted)}input[type=file]{max-width:100%;background:var(--paper)}
