
/* García Cando Arquitectos · V75 Etapa 1 · Chat persistente */
:root{--gc75-rail-w:286px;--gc75-chat-bg:#0b0e0f;--gc75-line:rgba(255,255,255,.10)}
.gc60-tab[data-gc60-tab="messages"],.gc60-pane[data-gc60-pane="messages"]{display:none!important}

.gc75-chat-launcher{
 position:fixed;right:22px;bottom:86px;z-index:19500;width:52px;height:52px;border-radius:50%;
 border:1px solid rgba(255,255,255,.17);background:linear-gradient(145deg,#e8ecee,#8d979c);
 color:#101314;display:grid;place-items:center;box-shadow:0 16px 50px rgba(0,0,0,.32);cursor:pointer;
}
.gc75-chat-launcher svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
.gc75-chat-launcher .gc75-badge{position:absolute;right:-4px;top:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ed3148;color:#fff;display:grid;place-items:center;font:700 9px/1 Arial}
.gc75-chat-launcher .gc75-badge[hidden]{display:none!important}

.gc75-chat-rail{
 position:fixed;right:0;top:74px;bottom:0;z-index:17500;width:var(--gc75-rail-w);
 border-left:1px solid var(--gc75-line);background:rgba(8,10,11,.94);backdrop-filter:blur(22px);
 display:none;grid-template-rows:auto auto 1fr;box-shadow:-22px 0 60px rgba(0,0,0,.22);
}
body.gc75-has-chat-rail .gc75-chat-rail{
 display:grid;
 transform:translateX(102%);
 transition:transform .28s ease;
}
body.gc75-has-chat-rail.gc75-chat-rail-open .gc75-chat-rail{transform:translateX(0)}
.gc75-rail-head{padding:16px;border-bottom:1px solid var(--gc75-line);display:flex;align-items:center;justify-content:space-between;gap:10px}
.gc75-rail-head strong{font-size:14px}.gc75-rail-head small{display:block;color:#849096;font-size:9px;margin-top:3px}
.gc75-rail-toggle{
 display:grid;place-items:center;width:34px;height:34px;padding:0;flex:0 0 auto;
 border:1px solid var(--gc75-line);background:#111617;color:#fff;border-radius:10px;
 cursor:pointer;font-size:19px;line-height:1
}
.gc75-rail-search{padding:10px 12px;border-bottom:1px solid var(--gc75-line)}
.gc75-rail-search input{width:100%;border:1px solid rgba(255,255,255,.10);background:#121617;color:#fff;border-radius:12px;padding:10px 11px;outline:none}
.gc75-rail-scroll{overflow:auto;padding:8px}
.gc75-group-title{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:#66747a;padding:11px 9px 5px}
.gc75-contact{
 width:100%;border:0;background:transparent;color:#e7ebed;display:grid;grid-template-columns:40px 1fr;gap:10px;
 text-align:left;align-items:center;padding:8px;border-radius:13px;cursor:pointer
}
.gc75-contact:hover{background:rgba(255,255,255,.055)}
.gc75-avatar{width:38px;height:38px;border-radius:50%;position:relative;overflow:visible;background:#161b1d;display:grid;place-items:center}
.gc75-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.gc75-online{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;border:2px solid #0b0e0f;background:#596369}
.gc75-online.on{background:#40d17c}
.gc75-contact strong,.gc75-contact small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc75-contact strong{font-size:11px;font-weight:500}.gc75-contact small{font-size:9px;color:#819097;margin-top:3px}
.gc75-team-thread{display:block;width:100%;text-align:left;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);color:#e2e7e9;border-radius:12px;padding:9px;margin:5px 0;cursor:pointer}
.gc75-team-thread strong{display:block;font-size:10px}.gc75-team-thread span{display:block;color:#78858b;font-size:9px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.gc75-chat-windows{
 position:fixed;right:20px;bottom:16px;z-index:19000;display:flex;flex-direction:row-reverse;align-items:flex-end;gap:10px;pointer-events:none
}
body.gc75-has-chat-rail.gc75-chat-rail-open .gc75-chat-windows{right:calc(var(--gc75-rail-w) + 12px)}
.gc75-chat-window{
 width:360px;height:500px;max-height:calc(100vh - 110px);border:1px solid rgba(255,255,255,.14);border-radius:22px;
 background:rgba(9,12,13,.98);box-shadow:0 26px 90px rgba(0,0,0,.48);overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;
 pointer-events:auto
}
.gc75-chat-window.minimized{height:54px;grid-template-rows:54px;overflow:hidden}
.gc75-chat-window.minimized .gc75-thread,.gc75-chat-window.minimized .gc75-compose,.gc75-chat-window.minimized .gc75-observer-note{display:none!important}
.gc75-chat-head{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;padding:8px 10px;border-bottom:1px solid var(--gc75-line);background:#101415}
.gc75-chat-head img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#151a1c}
.gc75-chat-head strong,.gc75-chat-head small{display:block}.gc75-chat-head strong{font-size:11px}.gc75-chat-head small{font-size:8px;color:#839096;margin-top:2px}
.gc75-chat-tools{display:flex;gap:5px}.gc75-chat-tools button{width:30px;height:30px;border-radius:9px;border:1px solid rgba(255,255,255,.08);background:#171b1d;color:#fff;cursor:pointer}
.gc75-thread{overflow:auto;padding:12px;display:flex;flex-direction:column;gap:9px}
.gc75-msg{display:grid;grid-template-columns:28px minmax(0,1fr);gap:7px;max-width:90%;align-items:end}
.gc75-msg.mine{align-self:flex-end;grid-template-columns:minmax(0,1fr);max-width:82%}
.gc75-msg.mine>img{display:none}.gc75-msg img{width:27px;height:27px;border-radius:50%;object-fit:cover}
.gc75-bubble{background:#151a1c;border:1px solid rgba(255,255,255,.07);border-radius:14px 14px 14px 4px;padding:8px 10px}
.gc75-msg.mine .gc75-bubble{background:#e5e9ea;color:#15191a;border-radius:14px 14px 4px 14px}
.gc75-bubble b{display:block;font-size:9px;margin-bottom:4px}.gc75-bubble p{margin:0;white-space:pre-wrap;word-break:break-word;font-size:11px;line-height:1.45}.gc75-bubble small{display:block;font-size:7px;opacity:.62;margin-top:5px}
.gc75-compose{display:grid;grid-template-columns:1fr auto;gap:7px;padding:9px;border-top:1px solid var(--gc75-line);background:#0e1213}
.gc75-compose textarea{resize:none;min-height:44px;max-height:110px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:#151a1c;color:#fff;padding:10px;outline:none}
.gc75-compose button{border:0;border-radius:12px;background:#e6eaeb;color:#131719;padding:0 14px;font-weight:700;cursor:pointer}
.gc75-observer-note{padding:9px 12px;border-top:1px solid var(--gc75-line);color:#9ca7ab;font-size:9px;background:#101415}

.gc75-profile-chats{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.09)}
.gc75-profile-chats h3{margin:0 0 9px}
.gc75-profile-chat-btn{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#111617;color:#fff;padding:10px;margin:6px 0;text-align:left;cursor:pointer}
.gc75-profile-chat-btn small{display:block;color:#7e8b90;margin-top:3px}

.gc75-notice-more{width:100%;margin:10px 0 2px;border:1px solid rgba(255,255,255,.10);background:#121617;color:#e7ebed;border-radius:12px;padding:10px;cursor:pointer}

@media(min-width:1100px){
 body.gc75-has-chat-rail .portal.active{
   padding-right:0;
   transition:padding-right .28s ease;
 }
 body.gc75-has-chat-rail.gc75-chat-rail-open .portal.active{
   padding-right:var(--gc75-rail-w);
 }
}
@media(max-width:1099px){
 .gc75-chat-rail{top:0;width:min(88vw,330px);transform:translateX(102%);transition:transform .28s ease}
 body.gc75-has-chat-rail .gc75-chat-rail{display:grid;transform:translateX(102%)}
 body.gc75-has-chat-rail.gc75-chat-rail-open .gc75-chat-rail{transform:translateX(0)}
 .gc75-rail-toggle{display:grid}
 .gc75-chat-windows,body.gc75-has-chat-rail .gc75-chat-windows{right:8px}
 .gc75-chat-launcher{right:14px;bottom:78px}
}
@media(max-width:620px){
 .gc75-chat-windows,.gc75-chat-windows:has(.gc75-chat-window:not(.minimized)){left:6px;right:6px;bottom:6px}
 .gc75-chat-window{width:100%;height:min(68svh,560px);max-height:none}
 .gc75-chat-window.minimized{width:min(88vw,360px);margin-left:auto}
}


/* V78.4 · launcher desplazable verticalmente */
.gc75-chat-launcher{
 touch-action:none;
 user-select:none;
 -webkit-user-select:none;
 transition:box-shadow .18s ease,transform .18s ease;
}
.gc75-chat-launcher.gc784-dragging{
 cursor:grabbing;
 transform:scale(1.04);
 box-shadow:0 20px 60px rgba(0,0,0,.42);
}
.gc75-chat-launcher::after{
 content:"";
 position:absolute;
 left:50%;top:7px;
 width:16px;height:2px;border-radius:999px;
 background:rgba(10,14,16,.28);
 transform:translateX(-50%);
 pointer-events:none;
}


/* García Cando Arquitectos · V78.5 · gestión de múltiples conversaciones */
.gc75-contact-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;align-items:center}
.gc785-contact-profile{border:0;background:transparent;color:#87959b;font-size:8px;padding:8px 5px;cursor:pointer}
.gc785-contact-profile:hover{color:#fff;text-decoration:underline}
.gc75-chat-head{grid-template-columns:38px minmax(0,1fr) auto}
.gc785-chat-person-avatar{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;cursor:default}
.gc785-chat-person-avatar[data-gc785-open-profile],.gc785-chat-person[data-gc785-open-profile]{cursor:pointer}
.gc785-chat-person-avatar img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#151a1c}
.gc785-chat-person{min-width:0}
.gc785-chat-person strong,.gc785-chat-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc785-chat-person[data-gc785-open-profile]:hover strong{text-decoration:underline;text-underline-offset:3px}
.gc75-chat-window.gc785-docked{display:none!important}
.gc75-chat-window.minimized{width:148px;height:48px;grid-template-rows:48px;border-radius:15px}
.gc75-chat-window.minimized .gc75-chat-head{grid-template-columns:minmax(0,1fr) auto;padding:6px 7px}
.gc75-chat-window.minimized .gc785-chat-person-avatar,.gc75-chat-window.minimized .gc785-chat-person small{display:none!important}
.gc75-chat-window.minimized .gc785-chat-person strong{font-size:10px}
.gc75-chat-window.minimized .gc75-chat-tools button{width:27px;height:27px}

.gc785-chat-dock{position:fixed;z-index:19450;display:flex;flex-direction:column;align-items:center;gap:0;pointer-events:auto}
.gc785-chat-dock[hidden]{display:none!important}
.gc785-dock-bubble{position:relative;width:38px;height:38px;border-radius:50%;padding:0;border:2px solid #101415;background:#171c1e;overflow:visible;box-shadow:0 7px 22px rgba(0,0,0,.28);cursor:pointer;margin-top:-8px}
.gc785-dock-bubble:first-child{margin-top:0}
.gc785-dock-bubble img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.gc785-dock-bubble i{display:none;position:absolute;right:-2px;top:-2px;width:10px;height:10px;border-radius:50%;background:#ed3148;border:2px solid #0b0e0f}
.gc785-dock-bubble.unread i{display:block}
.gc785-dock-more{margin-top:4px;min-width:40px;min-height:34px;border-radius:15px;border:1px solid rgba(255,255,255,.14);background:#121719;color:#fff;font-size:9px;cursor:pointer;padding:5px 7px}
.gc785-dock-more small{display:block;font-size:6px;color:#859298;margin-top:1px}

@media(max-width:620px){
 .gc75-chat-windows{left:6px!important;right:6px!important;bottom:6px!important;display:flex;flex-direction:column-reverse;align-items:stretch;gap:7px}
 .gc75-chat-window{width:100%;height:min(55svh,500px)}
 .gc75-chat-window.minimized{width:150px;align-self:flex-end;height:46px}
 .gc75-chat-window:not(.minimized)+.gc75-chat-window:not(.minimized){height:min(38svh,350px)}
 .gc785-chat-dock{z-index:19480}
}
