/* Capa visual publica inspirada en Kali/Xfce. Las variables se leen de Configuracion > Temas. */
:root{--ts-surface:#0a1425;--ts-edge:color-mix(in srgb,var(--primary-color) 38%,#36516a);--ts-accent:var(--primary-color);--ts-accent2:var(--secondary-color)}
body.gp-home{background-image:linear-gradient(#02081430,#02081460),url('') !important;background-image:linear-gradient(#02081430,#02081460),var(--ts-public-wallpaper) !important;background-position:center!important;background-size:cover!important;background-attachment:fixed!important;color:#e8efff}
body.gp-home>.fixed.inset-0.bg-black\/40{background:rgba(2,6,16,.16)!important;pointer-events:none}
.ts-public-panel{height:46px;position:fixed;top:0;left:0;right:0;z-index:1200;display:flex;align-items:center;justify-content:space-between;padding:0 13px;gap:12px;background:rgba(8,15,30,.96);border-bottom:1px solid var(--ts-edge);color:#e6f0ff;box-shadow:0 2px 18px #0008;font-size:13px;backdrop-filter:blur(16px)}
.ts-panel-left,.ts-panel-right{display:flex;align-items:center;gap:10px;min-width:0}.ts-panel-left{flex:1}.ts-panel-right{justify-content:flex-end}.ts-public-panel a,.ts-public-panel button{color:#e7effb}.ts-panel-action{display:inline-flex;align-items:center;gap:9px;padding:8px 10px;border-radius:5px;white-space:nowrap}.ts-panel-action:hover,.ts-panel-action:focus-visible,.ts-launcher:hover{background:color-mix(in srgb,var(--ts-accent) 45%,#172940)}.ts-panel-name{opacity:.75;padding-left:13px;border-left:1px solid #52627a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ts-launcher{width:35px;height:35px;display:grid;place-items:center;flex:none;border:1px solid var(--ts-edge);border-radius:6px;background:#142b4a;overflow:hidden}.ts-launcher img{width:29px;height:29px;object-fit:contain}.ts-launcher i{color:#a6d9ff;font-size:21px}.ts-panel-clock{color:#a8d4ff;white-space:nowrap;font-variant-numeric:tabular-nums}
.ts-start-menu,.ts-public-dropdown{position:fixed;z-index:1250;background:#0e1a2ded;color:#ecf4ff;border:1px solid var(--ts-edge);border-radius:9px;box-shadow:0 15px 60px #000c;backdrop-filter:blur(18px);overflow:auto}.ts-start-menu{left:10px;top:50px;width:min(328px,calc(100vw - 20px));max-height:calc(100vh - 120px);padding:9px}.ts-start-title{display:flex;align-items:center;gap:14px;padding:12px;border-bottom:1px solid #52627a;margin-bottom:8px;color:#a6d9ff;font-weight:700}.ts-start-title i{font-size:27px}.ts-start-title small{display:block;font-size:11px;font-weight:400;color:#a7bbd4}.ts-start-menu a,.ts-start-menu button,.ts-public-dropdown a{display:flex;align-items:center;text-align:left;gap:12px;width:100%;padding:10px 13px;border-radius:5px;color:#eff6ff;text-decoration:none}.ts-start-menu i,.ts-public-dropdown i{width:20px;color:#86caff}.ts-start-menu a:hover,.ts-start-menu button:hover,.ts-public-dropdown a:hover{background:color-mix(in srgb,var(--ts-accent) 45%,#15283f)}.ts-public-dropdown{position:absolute;right:0;left:auto;top:40px;min-width:215px;padding:7px}.ts-start-menu[hidden],.ts-public-dropdown[hidden],.ts-public-window[hidden],#tsPublicPageFrame[hidden],#tsPublicPageList[hidden],#tsPublicRunning[hidden]{display:none!important}
.ts-desktop-shortcuts{position:relative;z-index:12;display:flex;align-items:flex-start;gap:14px;margin:64px 0 -120px 24px;max-width:380px}.ts-desktop-shortcuts a,.ts-desktop-shortcuts button{width:82px;min-height:85px;display:flex;align-items:center;flex-direction:column;gap:9px;padding:10px 5px;text-align:center;color:white;font-size:12px;border:1px solid transparent;border-radius:7px;text-shadow:0 2px 4px #000}.ts-desktop-shortcuts i{font-size:35px;color:#8fcaff;filter:drop-shadow(0 4px 5px #0007)}.ts-desktop-shortcuts a:hover,.ts-desktop-shortcuts button:hover{border-color:#86bafa80;background:#1a355783}
.ts-public-taskbar{position:fixed;z-index:1150;bottom:0;left:0;right:0;height:52px;display:flex;align-items:center;gap:8px;padding:6px 12px;background:#081429ef;border-top:1px solid var(--ts-edge);backdrop-filter:blur(15px);color:#e6f2ff}.ts-public-taskbar a,.ts-public-taskbar button{height:38px;min-width:40px;padding:0 12px;background:#1c324b;border:1px solid #ffffff12;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#e8efff}.ts-public-taskbar a:hover,.ts-public-taskbar button:hover{background:var(--ts-accent)}.ts-taskbar-tail{margin-left:auto;opacity:.72;font-size:12px}
.ts-public-window{position:fixed;z-index:1180;top:12%;left:12%;width:min(960px,82vw);height:min(690px,75vh);min-width:305px;min-height:245px;background:#14263b;border:1px solid var(--ts-edge);box-shadow:0 25px 75px #000c;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;resize:both;color:#eaf4ff}.ts-public-window.maximized{inset:50px 8px 57px!important;width:auto!important;height:auto!important;resize:none}.ts-window-heading{height:41px;flex-shrink:0;background:linear-gradient(95deg,var(--ts-accent),color-mix(in srgb,var(--ts-accent2) 40%,#192c43));padding:0 10px 0 14px;display:flex;align-items:center;justify-content:space-between;cursor:move;user-select:none;font-size:13px;font-weight:600}.ts-window-controls{display:flex;gap:5px}.ts-window-controls button{width:29px;height:26px;background:#ffffff24;border-radius:4px}.ts-window-controls button:hover{background:#ffffff50}.ts-window-controls button:last-child:hover{background:#b52b43}.ts-window-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 13px;background:#1d314b;color:#cce5ff;font-size:12px}.ts-window-toolbar button:hover,.ts-window-toolbar a:hover{color:#8fd0ff}.ts-window-content{flex:1;min-height:0;background:#e9f0f8;overflow:auto}.ts-window-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:16px;padding:23px;align-content:start;color:#2b415d}.ts-page-entry{display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px 7px;color:#244161;border-radius:7px;overflow-wrap:anywhere}.ts-page-entry i{font-size:40px;color:var(--ts-accent)}.ts-page-entry span{text-align:center;font-size:12px}.ts-page-entry:hover,.ts-page-entry:focus-visible{background:#c6e0f7}#tsPublicPageFrame{height:100%;width:100%;border:0;background:#fff}.ts-window-status{font-size:11px;padding:5px 12px;color:#b1cbe4;background:#192b43}
/* Mantener secciones y formularios originales, ahora como ventanas y paneles del escritorio. */
body.gp-home main{padding-top:145px!important;padding-bottom:90px!important}body.gp-home main .glass-card{background:#0d1d31cf!important;border:1px solid var(--ts-edge)!important;box-shadow:0 10px 38px #0004;backdrop-filter:blur(14px)}body.gp-home main .hero-gradient{background:linear-gradient(135deg,var(--ts-accent),var(--ts-accent2))!important}body.gp-home main .gp-hero h1{ text-shadow:0 4px 18px #0009}body.gp-home footer{margin-bottom:52px;background:#081429de!important;border-top:1px solid var(--ts-edge)!important}body.gp-home main input,body.gp-home main select,body.gp-home main textarea{color-scheme:dark}
@media(max-width:760px){.ts-panel-name,.ts-taskbar-tail{display:none}.ts-public-panel{gap:6px;padding:0 7px}.ts-panel-action{padding:7px}.ts-public-window{top:60px;left:3vw;width:94vw;height:73vh}.ts-desktop-shortcuts{gap:5px;margin:62px 0 -90px 8px}.ts-desktop-shortcuts a,.ts-desktop-shortcuts button{width:71px}.ts-desktop-shortcuts i{font-size:29px}body.gp-home main{padding-top:120px!important}}
