:root{--ink:#19372f;--muted:#718078;--green:#153e33;--line:#dde5df;--bg:#f3f5ef;--gold:#c9a24b;--red:#af4d3e;--blue:#34678a;--shadow:0 6px 26px #203b2d06;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:var(--green)}button{border:1px solid var(--line);border-radius:8px;background:white;padding:10px 14px;color:var(--ink);font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{border-color:#93a999;background:#f4f8f4}button:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#225744}.quiet{background:transparent}.danger{color:var(--red)}.small{font-size:12px;padding:7px 10px}svg{width:19px;height:19px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650}h2{font-size:18px;letter-spacing:-.35px}h3{font-size:15px;line-height:1.5}p{line-height:1.65}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted)}.shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column;gap:26px}.brand{display:flex;align-items:center;gap:11px}.brandmark{background:var(--green);color:var(--gold);height:40px;width:40px;border-radius:11px;display:grid;place-items:center;font-size:19px;font-weight:750}.brand strong{font-size:17px;display:block}.brand small{font-size:11px;color:var(--muted);letter-spacing:.4px}.workspace{padding:14px 12px;border:1px solid var(--line);border-radius:10px;background:#f6f8f3}.workspace select{width:100%;font-size:12px;padding:5px 0;border:0;background:transparent;font-weight:600;margin:7px 0 0}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;justify-content:flex-start;background:transparent;color:#63736c;font-weight:500;padding:11px 12px}.nav button.active{background:#eaf0e9;color:var(--green);font-weight:700}.nav button.active:before{content:'';height:18px;width:3px;position:absolute;left:20px;background:var(--green);border-radius:4px}.nav .count{margin-left:auto;padding:2px 6px;border-radius:5px;background:white;font-size:10px}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:18px;font-size:12px;line-height:1.7}.dot{width:7px;height:7px;display:inline-block;border-radius:100%;background:#8eab6c;margin-right:6px}.main{min-width:0}.topbar{height:72px;background:#ffffffbb;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 36px;gap:14px}.crumb{font-size:12px;color:var(--muted)}.top-actions{display:flex;gap:9px;align-items:center}.avatar{width:30px;height:30px;border-radius:50%;background:#dde6dc;display:grid;place-items:center;font-size:11px;font-weight:700}.main-inner{max-width:1420px;padding:32px 36px 45px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px}.page-head p{margin-top:8px;color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hero{display:grid;grid-template-columns:1fr 245px;gap:30px;padding:30px;border:1px solid #d4e1d7;background:linear-gradient(110deg,#e8efe6,#f3f5ec);border-radius:15px;position:relative;overflow:hidden;margin-bottom:24px}.hero h2{font-size:27px;max-width:650px;margin:12px 0;line-height:1.25;letter-spacing:-.65px}.hero p{max-width:650px;color:#526c5e;font-size:13px}.hero .actions{margin-top:22px}.hero-art{border-left:1px solid #c5d5c8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.orb{height:114px;width:114px;border-radius:50%;display:grid;place-content:center;text-align:center;background:conic-gradient(var(--green) var(--progress),#d4dfd2 0);position:relative}.orb:before{content:'';position:absolute;inset:9px;background:#eef3e9;border-radius:50%}.orb strong,.orb small{position:relative}.orb strong{font-size:28px}.orb small{font-size:10px;color:var(--muted)}.grid{display:grid;gap:18px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:var(--shadow);min-width:0}.metric{padding:20px}.metric .top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.metric strong{display:block;font-size:27px;letter-spacing:-.7px;margin:15px 0 6px;font-weight:600}.metric small{color:var(--muted);font-size:11px}.two{grid-template-columns:1.45fr 1fr}.three{grid-template-columns:repeat(3,1fr)}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.badge{font-size:10px;padding:5px 8px;border-radius:5px;display:inline-flex;align-items:center;gap:4px;font-weight:650;white-space:nowrap;background:#edf0e9;color:#5d7060}.badge.warn{color:#936d27;background:#fbf0d7}.badge.good{color:#33734c;background:#e8f3e9}.badge.bad{color:#9b4941;background:#fae9e5}.badge.blue{color:#3e6a8a;background:#e8f0f7}.row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #edf0ea}.row:last-child{border-bottom:0}.row .desc{flex:1;min-width:0}.row .desc small{display:block;color:var(--muted);margin-top:5px}.step{width:30px;height:30px;border-radius:8px;background:#eef3ec;display:grid;place-items:center;font-size:12px;color:#61765e}.notice{display:flex;gap:12px;background:#fcf6e8;border:1px solid #eddfbd;border-radius:9px;padding:14px 16px;margin:16px 0;font-size:12px;color:#7a6333;line-height:1.7}.notice.info{background:#eef4f4;border-color:#d5e5e1;color:#466762}.progress{height:5px;background:#e8ede6;border-radius:5px;overflow:hidden;margin:12px 0 5px}.progress span{display:block;height:100%;background:#6e8f67}.list-caption{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin:22px 0 8px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);padding:12px 10px;background:#f7f9f5;white-space:nowrap}td{padding:14px 10px;border-bottom:1px solid #edf0e9;vertical-align:top;line-height:1.6}td strong{font-size:12px}td small{display:block;color:var(--muted)}.empty{text-align:center;padding:34px 20px;color:var(--muted);line-height:1.9}.empty strong{display:block;color:var(--ink);font-size:16px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label{font-size:12px;font-weight:600}.field small{color:var(--muted);font-size:11px;line-height:1.5}input,select,textarea{border:1px solid #d7e0d8;padding:11px 12px;border-radius:7px;color:var(--ink);background:white;width:100%}textarea{line-height:1.7;resize:vertical;min-height:120px}input:focus,select:focus,textarea:focus{border-color:#7f9e88;outline:2px solid #dbe9dd}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green)}.check-label{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;padding:5px 0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.editor{display:grid;grid-template-columns:270px 1fr;gap:20px;align-items:start}.section-list{max-height:690px;overflow:auto;padding:10px}.section-list button{width:100%;text-align:left;justify-content:flex-start;border:0;font-size:11px;line-height:1.5;font-weight:500;margin:1px 0}.section-list button.active{background:#eaf0e6;font-weight:700}.section-list span{margin-left:auto;min-width:8px;height:8px;border-radius:50%;background:#d5dfd3}.section-list .filled{background:#7b9d6b}.editor textarea{min-height:390px;border:0;border-radius:0;padding:16px 0;margin-top:10px;font-size:14px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.tabs button.active{background:var(--green);color:#fff}.actor-card h3{min-height:44px}.actor-card p{font-size:12px;color:var(--muted);min-height:55px;margin:10px 0 14px}.actor-card .person{font-size:12px;border-top:1px solid var(--line);padding-top:13px;display:flex;justify-content:space-between;align-items:center}.task-card{padding:20px;margin-bottom:13px}.task-card p{font-size:12px;color:var(--muted);margin:10px 0}.kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kanban-col{background:#eaf0e8;padding:12px;border-radius:10px}.kanban-col>h3{font-size:12px;padding:0 3px 15px}.checkrow{display:grid;grid-template-columns:22px 1fr auto;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}.checkrow p{font-size:12px;color:var(--muted);margin-top:5px}.check-icon{width:19px;height:19px;border-radius:50%;background:#faefdc;color:#9c773e;display:grid;place-items:center;font-size:11px}.check-icon.good{background:#deeddf;color:#407a4b}.scores{display:grid;grid-template-columns:1fr 1fr;gap:12px}.score-card{padding:16px;border:1px solid var(--line);border-radius:9px}.score-card strong{font-size:12px}.score-card small{display:block;margin:5px 0 10px;color:var(--muted)}.score-total{font-size:36px;font-weight:650}.file-drop{display:block;padding:30px;text-align:center;border:1px dashed #adc0b0;border-radius:10px;background:#f7faf5;cursor:pointer}.file-drop input{margin-top:18px}.file-drop p{font-size:12px;color:var(--muted);margin-top:7px}.comment{padding:15px;border:1px solid var(--line);border-radius:8px;margin:12px 0}.comment p{white-space:pre-wrap;font-size:13px;margin:9px 0}.comment small{font-size:11px;color:var(--muted)}dialog{border:0;border-radius:15px;padding:0;width:620px;max-width:calc(100vw - 30px);max-height:90vh;box-shadow:0 25px 100px #142e3255;color:var(--ink)}dialog::backdrop{background:#18372b66;backdrop-filter:blur(3px)}.modal-head{padding:24px 26px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-body{padding:24px 26px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#toast{position:fixed;right:24px;bottom:24px;background:var(--green);color:white;border-radius:10px;padding:15px 20px;max-width:460px;z-index:1000;box-shadow:0 8px 35px #173b3733;display:none;line-height:1.6}#toast.error{background:#853e35}.login{max-width:460px;margin:10vh auto;padding:35px}.login .brand{margin-bottom:28px}.boot{padding:40px}.source-card{font-size:12px;line-height:1.8}.source-card a{display:block;margin-top:8px}.warning-text{color:var(--red)}.mobile-title{display:none}.print-only{display:none}footer{font-size:11px;color:var(--muted);padding:22px 0 0}.nowrap{white-space:nowrap}.split{display:flex;justify-content:space-between;align-items:center;gap:15px}.dim{opacity:.6}.auth-info{font-size:11px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.readonly-note{margin-bottom:20px;font-size:12px;color:var(--muted)}
@media(min-width:1700px){.main-inner{padding-top:45px}.hero{padding:40px}}
@media(max-width:1180px){.metrics{grid-template-columns:repeat(2,1fr)}.two,.three{grid-template-columns:1fr 1fr}.editor{grid-template-columns:220px 1fr}.main-inner{padding:25px}.sidebar{width:220px}.shell{grid-template-columns:220px 1fr}.topbar{padding:0 25px}.kanban{grid-template-columns:1fr}.hero{grid-template-columns:1fr 160px}}
@media(max-width:820px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:16px;gap:15px}.sidebar>.brand,.sidebar-foot,.workspace{display:none}.nav{flex-direction:row;overflow-x:auto;gap:5px}.nav button{white-space:nowrap;font-size:12px}.nav button.active:before{display:none}.nav .count{display:none}.topbar{height:auto;min-height:60px;padding:15px;flex-wrap:wrap}.main-inner{padding:22px 16px}.page-head{flex-direction:column}h1{font-size:25px}.hero{grid-template-columns:1fr;padding:23px}.hero-art{display:none}.two,.three,.fields,.scores{grid-template-columns:1fr}.editor{display:block}.section-list{max-height:200px;margin-bottom:16px}.metrics{gap:10px}.metric{padding:16px}.metric strong{font-size:23px}.card{padding:18px}.top-actions{flex-wrap:wrap}.mobile-title{display:inline;font-weight:700}.crumb{display:none}.checkrow{grid-template-columns:20px 1fr}.checkrow>button{grid-column:2}.modal-body{padding:20px}.hero h2{font-size:24px}}
@media print{.sidebar,.topbar,.actions,button,.notice,.file-drop{display:none!important}.shell{display:block}.main-inner{padding:0}.print-only{display:block}.card{break-inside:avoid}.editor{display:block}body{background:white}.page-head{margin:20px 0}.hero-art{display:none}}
/* Anexos: mismos componentes que el espacio de formulación. */
.annex-card{margin-bottom:22px}.annex-card>p{font-size:13px;line-height:1.65;margin:12px 0}.annex-card ul{font-size:13px;line-height:1.8;padding-left:22px}.annex-card details{font-size:13px;margin-top:18px;border-top:1px solid var(--line,#e5e9e3);padding-top:14px}.annex-card summary{cursor:pointer;font-weight:600}.annex-card .section-head{flex-wrap:wrap;gap:10px}.annex-card .row .desc{min-width:0;overflow-wrap:anywhere}.annex-card .row{flex-wrap:wrap}.annex-card .desc small{white-space:normal;line-height:1.6}

@media(min-width:821px){.sidebar{overflow-y:auto;gap:20px}.nav button{padding-top:9px;padding-bottom:9px}}
