/* Sistema visual Mosaico 5.3. Sin dependencias ni cambios de lógica. */
:root{--ink:#302925;--muted:#776d64;--green:#b62140;--bg:#fdfaf6;--line:#e5dbcf;--sage:#f8ecdd;--orange:#b56a33;--red:#be2542;--tile:14px 7px 16px 8px / 11px 14px 10px 13px;--accent:#ffecd1}
body{font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}h1,h2,h3{font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:-.6px}h1{font-size:32px;line-height:1.15;letter-spacing:-1px}h2{font-size:19px}p{line-height:1.6}button,a,input,select,textarea{font-family:inherit}a,button{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.projects-view :focus-visible,.profile-panel :focus-visible{outline:3px solid #9b2946;outline-offset:3px}
button,.primary,.text-button,.projects-view button,.projects-view a.text-button,.projects-view a.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border:1px solid #dfd1c1;border-radius:var(--tile);background:#fff;color:#654c3c;font-size:13px;font-weight:600;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;text-decoration:none;cursor:pointer;transition:background-color .15s,transform .15s}
.primary,.projects-view .primary{background:var(--red);color:#fff;border-color:var(--red)}button:hover:not(:disabled),a.text-button:hover{background:#fbefdf}.primary:hover:not(:disabled),.projects-view .primary:hover{background:#a51e38}button:active:not(:disabled),a:active{transform:translateY(1px)}button:disabled,.projects-view button:disabled,.profile-panel button:disabled{opacity:.5;cursor:not-allowed}.destructive,.projects-view .destructive,.projects-view [data-delete-post],.projects-view [data-participant-remove],[data-user-state="bloqueado"],[data-user-role="miembro"]{background:#fff9f8;color:#a32e44;border-color:#e1bdc5}
.panel{background:#fff;border-color:var(--line);border-radius:18px;box-shadow:none}.eyebrow{font-size:10px;color:#997759;letter-spacing:1.6px}.badge{background:#f9eddc;color:#886136;border-radius:12px;padding:5px 9px}.avatar,.project-avatar{background:var(--accent);color:#8b5836}.brand{display:flex;align-items:center;gap:9px;letter-spacing:-.5px;font-size:20px;white-space:normal;font-weight:700}.brand .mark,.logo-m{display:inline-block;flex:0 0 36px;width:36px;height:42px;font-size:0;background:url('logo-mosaico.png') left center/116px auto no-repeat}.brand .portal{display:none}.mobile-brand{display:none}aside{background:#fffcf8;border-color:var(--line);padding:28px 20px}nav{gap:6px}nav a{border:1px solid transparent;border-radius:var(--tile);color:#77695c;min-height:44px;font-size:13px}nav a:hover{background:#fbf0e3}nav a.active{color:#ac2942;background:#f9ead8;border-color:#efddc6}.nav-icon{display:inline-flex;align-items:center;color:#bf2848}.nav-icon svg{width:21px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-label{color:#9a846f;letter-spacing:1.8px}.small{color:#8a7b6c}.profile{border-color:var(--line)}header{background:var(--bg);border-color:var(--line);gap:12px}.header-right{gap:9px}#notifications,#logout,#menu{min-width:44px;min-height:44px;padding:8px;border:1px solid #e8ddce;border-radius:var(--tile);background:#fff;color:#765441;font-size:13px}#notifications{font-size:21px}.demo{background:#fff3e2;color:#8e6345;border:0;border-radius:12px;padding:7px 10px}.breadcrumb{font-size:12px}.intro{margin-bottom:22px}.intro h1{margin:0}.quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:32px}.quick a{display:flex;flex-direction:column;justify-content:space-between;min-height:176px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;min-width:0;transition:border-color .15s,transform .15s}.quick a:hover{border-color:#c89e7d;transform:translateY(-2px)}.quick .icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;background:var(--accent);color:#ce2546;border-radius:17px 10px 18px 9px / 12px 18px 10px 17px;margin-bottom:24px}.quick .icon svg{width:26px;height:28px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.quick strong{font-size:18px;font-weight:700;letter-spacing:-.5px;line-height:1.2;overflow-wrap:anywhere}.quick small{font-size:12px;line-height:1.5;color:var(--muted);margin-top:9px}.quick a:last-child{grid-column:span 2}.columns{gap:26px}.section-head{align-items:center}.section-head h2{font-size:19px}.section-head .text-button{font-size:12px}.calendar{background:#fff0d7;border-radius:var(--tile);color:#946435}.calendar strong{font-family:inherit;font-weight:700}.activity p,.news p{color:var(--muted)}.news .eyebrow{color:#a25745}.internal-notifications{padding:18px;background:#fbefdf;margin:0 0 23px;border-color:#eddfcc;border-radius:15px}.internal-notifications h2{font-size:15px}.internal-notifications:has([data-notification-list]:empty):has([data-notification-status]:empty){display:none}.notification-item{width:100%;justify-content:flex-start;text-align:left;background:#fffaf2;border:1px solid #e7d7c4;margin-top:10px;padding:13px 15px;font-size:13px;line-height:1.55}.notification-item:hover{background:#ffebcf}.internal-notifications [data-notification-status]{font-size:12px;color:#806347;margin-bottom:0}
input:not([type=checkbox]):not([type=radio]),select,textarea,.projects-view input,.projects-view select,.projects-view textarea,.profile-panel input:not([type=radio]),.profile-panel select{border:1px solid #ddcebc;border-radius:9px;background:#fff;color:var(--ink);font-size:16px;padding:12px;max-width:100%;min-width:0}input[type=checkbox],input[type=radio]{accent-color:var(--red)}textarea{line-height:1.6}input[readonly],.profile-panel input[readonly]{background:#f7f2e9;color:#7d6b59}.profile-panel fieldset{border-color:var(--line);border-radius:10px}.profile-panel,.form-panel{padding:24px}.profile-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.profile-actions>*{min-width:0}.profile-actions>button{width:100%}.profile-photo-box{background:#fff0d7;border-color:var(--line)}.admin-user{gap:10px;border-color:var(--line)}.admin-user>.text-button,.admin-user>button{flex:1 1 150px}.admin-user>div{flex:1 0 100%}#rotate-invitation button{margin:8px 8px 0 0}.login-panel{padding:32px;box-shadow:none}.login-panel .brand{margin-bottom:35px}.login-panel h1{font-size:31px}.login-panel .demo-notice{font-size:14px;line-height:1.7}.login-panel button{width:100%}#google-signin{min-height:44px;margin-top:24px}dialog{border-color:var(--line);border-radius:20px;padding:25px;background:#fffefa;box-shadow:0 18px 80px #39251b25}dialog::backdrop{background:#38271d66}.modal-top button{background:#f9efdf;border:1px solid #eadbc6;min-height:44px;min-width:44px}#toast{background:#713543;border-radius:var(--tile);line-height:1.5}footer{border-color:var(--line);color:#9b8672}
.projects-menu>a,.projects-detail-actions>button{min-height:48px}.projects-menu [aria-current]{background:#f8e8d4;border-color:#d5af84;color:#8b4a32}.projects-overview{background:transparent;border:0;padding:0!important;margin:20px 0 24px}.projects-overview h1{font-family:inherit;font-size:32px;letter-spacing:-1px}.projects-overview p{color:#8a725c;font-size:13px}.projects-detail-actions{margin:0 0 12px}.projects-management{gap:9px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:22px}.projects-management>button{font-size:12px;background:transparent}.projects-management>.destructive{color:#a52e42;border-color:#ddbfc6}.projects-view #project-description-panel{background:#f7eee2;border-color:#e7d6c0;border-radius:15px}.projects-card{border-radius:18px;border-color:var(--line);padding:22px}.projects-card-deleted{background:#fff7f5;border-color:#dfbfc5}.projects-card-deleted .badge{background:#f7e5e8;color:#9f2d42}.projects-post{padding:22px;border-color:var(--line);border-radius:18px}.projects-post-head p{color:#967e69}.projects-history-entry{border-left-color:#d9b28e;background:#fbf5eb}.project-member-choice{border-color:var(--line);border-radius:12px}.project-member-choice:has(input:checked){background:#fff0d9;border-color:#c99a75}.projects-view .projects-post>button.text-button{width:calc((100% - 28px)/3);min-width:0;padding:11px 9px;font-size:12px}.project-highlight{outline-color:#c83250}
@media(max-width:1050px){.quick{grid-template-columns:repeat(3,minmax(0,1fr))}.quick a:last-child{grid-column:1/-1;min-height:112px}.columns{grid-template-columns:1fr}}
@media(max-width:650px){header{height:76px;padding:0 14px;gap:6px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:7px;margin-right:auto;font-size:18px;letter-spacing:-.7px;font-weight:700;white-space:nowrap}.mobile-brand .logo-m{flex-basis:30px;width:30px;height:36px;background-size:98px auto}#menu{min-width:34px;width:34px;min-height:44px;padding:4px;border:0;background:transparent;font-size:19px}.header-right{gap:4px}#auth-role{display:none}#notifications{min-width:32px;width:32px;border:0;background:transparent}#logout{min-width:40px;font-size:11px;padding:7px}main{padding:24px 18px}h1,.intro h1{font-size:28px}.intro{margin-bottom:22px}.quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.quick a{padding:18px 17px;min-height:176px}.quick .icon{margin-bottom:24px}.quick a:last-child{grid-column:1/-1;min-height:104px;display:grid;grid-template-columns:44px 1fr;align-items:center;gap:16px}.quick a:last-child .icon{margin-bottom:0}.quick strong{font-size:18px}.columns{gap:26px}.section-head{gap:8px}.section-head h2{font-size:17px}.section-head .text-button{font-size:11px;padding:10px}.profile-panel,.form-panel{padding:20px}.profile-actions{grid-template-columns:1fr}.login-panel{padding:25px}.projects-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.projects-detail-actions>.primary{grid-column:1/-1}.projects-management{grid-template-columns:repeat(2,minmax(0,1fr))}.projects-management>button:first-child:not(:only-child){grid-column:1/-1}.projects-management>button:only-child{grid-column:1/-1}.projects-menu{grid-template-columns:1fr;gap:10px}.projects-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.projects-view .projects-actions>button{width:100%;margin:0}.projects-overview h1{font-size:28px}.projects-post{padding:18px}.projects-view .projects-post>button.text-button{display:inline-flex;width:calc((100% - 12px)/2);margin:8px 8px 0 0;font-size:11px;padding:10px 7px}.projects-view .projects-post>button.text-button:nth-of-type(even){margin-right:0}.projects-view .projects-post>button[data-delete-post]{width:100%;margin-right:0}.projects-participation>.text-button{width:100%}.projects-participants li{grid-template-columns:minmax(0,1fr) auto}.projects-view .projects-form,.projects-view .projects-edit{padding:18px}.projects-card .text-button{width:100%}}
@media(max-width:370px){.mobile-brand{font-size:16px;gap:5px}.mobile-brand .logo-m{width:27px;flex-basis:27px;background-size:88px auto}header{padding:0 10px;gap:3px}.header-right{gap:1px}#menu{width:30px;min-width:30px}.quick a{padding:17px 14px}.quick strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
.quick a:last-child>.icon{grid-row:1/3}.quick a:last-child>strong,.quick a:last-child>small{grid-column:2}.quick a:last-child>small{margin-top:0}
@media(max-width:650px){.quick a{min-height:196px}.quick a:last-child{min-height:104px;grid-template-rows:auto auto;row-gap:2px}.quick a:last-child>strong{align-self:end}.quick a:last-child>small{align-self:start}#menu,#notifications,#logout{width:44px;min-width:44px;min-height:44px}.header-right{gap:0}.mobile-brand{font-size:17px}}
@media(max-width:370px){.mobile-brand{font-size:15px}.mobile-brand .logo-m{width:25px;flex-basis:25px;background-size:82px auto}header{padding:0 9px;gap:2px}}
.quick a{justify-content:flex-start}.quick strong{min-height:43px;display:flex;align-items:flex-end}.quick a:last-child>strong{min-height:0}
