:root{--bg:#f4f6fa;--surface:#fff;--surface-2:#f8f9fc;--text:#1d263c;--text-2:#56617b;--muted:#8490a3;--line:#e7ebf2;--accent:#7264eb;--accent-dark:#5c50d8;--accent-tint:#efedff;--shadow:0 12px 45px rgba(27,42,85,.035);--radius:20px;--font-scale:1;font-family:'DM Sans',system-ui,-apple-system,Segoe UI,sans-serif;color-scheme:light}
:root[data-accent="blue"]{--accent:#387de0;--accent-dark:#2869ca;--accent-tint:#e9f2ff}
:root[data-accent="teal"]{--accent:#178d82;--accent-dark:#08776f;--accent-tint:#e5f7f3}
:root[data-accent="orange"]{--accent:#dd8444;--accent-dark:#c36d2e;--accent-tint:#fff1e6}
:root[data-accent="rose"]{--accent:#cf6387;--accent-dark:#b64e73;--accent-tint:#ffedf4}
:root[data-accent="slate"]{--accent:#566981;--accent-dark:#42556d;--accent-tint:#edf1f5}
:root[data-theme="dark"]{--bg:#171c2b;--surface:#222a3b;--surface-2:#252f42;--text:#edf1fa;--text-2:#b4bfd1;--muted:#8c9ab0;--line:#343e52;--accent-tint:#353250;--shadow:0 14px 50px rgba(4,9,25,.13);color-scheme:dark}
*{box-sizing:border-box}
html{min-height:100%;font-size:calc(16px*var(--font-scale));scrollbar-gutter:stable}
body{margin:0;background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}svg{display:block;width:100%;height:100%}input,select{outline:none}::selection{background:var(--accent-tint)}
.container{max-width:1392px;width:calc(100% - 88px);margin:0 auto}
.topbar{display:flex;align-items:center;justify-content:space-between;min-height:96px;gap:16px}
.brand{display:inline-flex;align-items:center;gap:12px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;color:#fff;background:linear-gradient(145deg,#958bff,var(--accent));box-shadow:0 7px 18px rgba(103,91,221,.16)}.brand-mark svg{width:25px;height:25px}.brand strong{display:block;font-family:'Manrope',sans-serif;font-size:1.33rem;letter-spacing:-.085em;line-height:1.1;font-weight:800}.brand-dot{color:var(--accent)}.brand small{display:block;font-size:.68rem;color:var(--muted);letter-spacing:.032em;margin-top:3px}
.topbar-actions{display:flex;align-items:center;gap:10px}.private-indicator{display:flex;align-items:center;gap:9px;color:var(--text-2);font-weight:650;font-size:.77rem;margin-right:10px}.online-dot{width:7px;height:7px;border-radius:50%;background:#55bfa5;box-shadow:0 0 0 4px rgba(85,191,165,.12)}
.icon-button{border:1px solid var(--line);background:var(--surface);color:var(--text-2);width:42px;height:42px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;transition:background .16s,transform .16s,border-color .16s}.icon-button:hover{background:var(--accent-tint);color:var(--accent);border-color:transparent}.icon-button svg{width:19px;height:19px}.logout-form{display:flex}
.hero{min-height:230px;border:1px solid #e1e5f4;border-radius:25px;background:linear-gradient(111deg,#f1f0ff 0%,#eef3ff 58%,#e7f4fa 100%);display:flex;justify-content:space-between;position:relative;overflow:hidden;padding:30px 45px;box-shadow:0 12px 38px rgba(78,87,164,.04)}
:root[data-theme="dark"] .hero{background:linear-gradient(120deg,#303456,#293c57 64%,#263c4c);border-color:#424664}
.hero-copy{position:relative;z-index:2}.eyebrow{color:var(--accent);font-size:.64rem;letter-spacing:.18em;font-weight:800}.eyebrow-line{display:inline-block;width:14px;height:2px;background:var(--accent);vertical-align:middle;margin-right:8px}.hero h1{font-family:'Manrope',sans-serif;font-weight:800;letter-spacing:-.056em;font-size:clamp(1.8rem,2.9vw,2.75rem);line-height:1.18;margin:13px 0 10px}.hero h1 span{color:var(--accent)}.hero p{color:#66738c;font-size:.88rem;margin:0}.hero-count{font-weight:600;color:#6a718b;font-size:.75rem;margin-top:25px}.hero-count span:first-child,.hero-count span:nth-child(3){font-weight:800;color:var(--text)}.hero-separator{margin:0 10px;color:#b0b6c5}
:root[data-theme="dark"] .hero p,:root[data-theme="dark"] .hero-count{color:#bec6df}
.hero-art{position:absolute;right:6%;top:0;bottom:0;width:310px;display:grid;place-items:center;opacity:.98}.art-orbit{position:absolute;border:1px solid rgba(117,115,201,.15);border-radius:50%;width:245px;height:245px}.orbit-2{width:360px;height:360px;border-color:rgba(117,115,201,.08)}.art-center{width:76px;height:76px;border-radius:24px;display:grid;place-items:center;background:var(--surface);color:var(--accent);box-shadow:0 15px 40px rgba(82,82,154,.16);transform:rotate(-8deg)}.art-center svg{width:36px;height:36px}.art-tile{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:var(--surface);box-shadow:0 12px 30px rgba(72,78,135,.12);position:absolute}.art-tile svg{width:25px;height:25px}.tile-a{top:20px;left:60px;color:#dc9c5b;transform:rotate(-12deg)}.tile-b{top:48px;right:25px;color:#4dace1;transform:rotate(12deg)}.tile-c{bottom:30px;right:40px;color:#7775d7;transform:rotate(-9deg)}.tile-d{bottom:25px;left:38px;color:#6abdac;transform:rotate(9deg)}
.workspace{padding-top:33px}.workspace-head{display:flex;justify-content:space-between;align-items:end;gap:16px}.section-eyebrow{color:var(--muted);margin-bottom:7px}.workspace h2{font-family:'Manrope',sans-serif;font-size:1.4rem;letter-spacing:-.035em;line-height:1.25;margin:0;font-weight:800;display:flex;align-items:center;gap:11px}.count-pill{font:700 .7rem 'DM Sans',sans-serif;padding:5px 9px;border-radius:8px;background:var(--accent-tint);color:var(--accent);letter-spacing:0}
.button{border:0;display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:42px;padding:0 16px;font-weight:750;font-size:.8rem;border-radius:12px;transition:transform .16s,background .16s,color .16s}.button:hover{transform:translateY(-1px)}.button svg{width:17px;height:17px}.button.primary{background:var(--accent);color:#fff;box-shadow:0 6px 15px rgba(101,82,222,.12)}.button.primary:hover{background:var(--accent-dark)}.button.ghost{background:var(--surface-2);color:var(--text-2);border:1px solid var(--line)}.button.danger{color:#b94754;background:#fff0f2}.button.danger:hover{background:#ffe3e9}
.toolbar{display:flex;align-items:center;gap:20px;margin:22px 0 19px;justify-content:space-between}.search-wrap{position:relative;flex:0 1 310px;min-width:200px}.search-wrap>[data-icon]{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:var(--muted);pointer-events:none}.search-wrap>[data-icon] svg{width:17px;height:17px}.search-wrap input{border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);height:44px;padding:0 41px;width:100%;font-size:.78rem;transition:border-color .18s,box-shadow .18s}.search-wrap input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint)}.search-wrap input::placeholder{color:#a0a9b8}.search-wrap kbd{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:.67rem;color:#a6afbd;border:1px solid var(--line);border-radius:5px;padding:2px 6px;background:var(--surface-2)}.filter-scroller{min-width:0;overflow-x:auto;scrollbar-width:none}.filter-scroller::-webkit-scrollbar{display:none}.filters{display:flex;gap:6px;align-items:center;justify-content:flex-end;min-width:max-content}.filter{border:0;background:transparent;border-radius:10px;padding:10px 13px;color:var(--text-2);font-size:.77rem;font-weight:700;transition:background .16s,color .16s;white-space:nowrap}.filter:hover{background:var(--surface)}.filter.active{background:var(--accent-tint);color:var(--accent)}
.app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.app-card{background:var(--surface);border:1px solid var(--line);border-radius:19px;padding:18px 18px 14px;display:flex;flex-direction:column;min-height:184px;box-shadow:var(--shadow);transition:transform .16s,border-color .16s,box-shadow .16s}.app-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--accent) 27%,var(--line));box-shadow:0 15px 40px rgba(39,42,90,.08)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.app-symbol{width:45px;height:45px;display:grid;place-items:center;border-radius:13px;flex-shrink:0}.app-symbol svg{height:22px;width:22px;stroke-width:1.95}.tone-violet{background:#efedff;color:#7865da}.tone-blue{background:#e9f3ff;color:#4386d9}.tone-teal{background:#e4f6f2;color:#289987}.tone-orange{background:#fff1e4;color:#d78944}.tone-rose{background:#fff0f4;color:#d5708e}.tone-slate{background:#edf0f5;color:#66768f}.card-flag{font-size:.62rem;letter-spacing:.02em;font-weight:700;border:1px solid var(--line);border-radius:7px;color:var(--muted);padding:5px 7px}.card-actions-top{display:flex;gap:5px;align-items:center}.mini-action{display:inline-grid;place-items:center;width:29px;height:29px;border:0;background:transparent;border-radius:8px;color:var(--muted)}.mini-action svg{width:16px;height:16px}.mini-action:hover{background:var(--surface-2);color:var(--accent)}.mini-action.favorited{color:#e4a34c}.mini-action.favorited svg{fill:currentColor}
.app-card h3{font-weight:800;letter-spacing:-.025em;font-size:.91rem;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-description{color:var(--muted);font-size:.71rem;line-height:1.5;margin:0;min-height:34px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px}.card-category{font-size:.63rem;color:var(--muted);font-weight:700;display:inline-flex;align-items:center;gap:6px}.category-dot{width:6px;height:6px;background:#9dace1;border-radius:50%}.category-dot.sites{background:#d99aba}.category-dot.servidor{background:#8d93d8}.category-dot.ferramentas{background:#80b2d3}.category-dot.automacao{background:#7ac4a7}.category-dot.projetos{background:#ddac7b}.card-links{display:flex;align-items:center;gap:4px}.card-link{display:inline-flex;align-items:center;gap:5px;border-radius:8px;padding:7px 9px;font-size:.68rem;font-weight:800;color:var(--accent);background:var(--accent-tint)}.card-link:hover{filter:brightness(.95)}.card-link svg{height:13px;width:13px}.card-link.disabled{color:var(--muted);background:var(--surface-2);pointer-events:none}.card-link.secondary{padding:7px;border:1px solid var(--line);background:transparent;color:var(--text-2)}.card-link.secondary svg{width:14px;height:14px}.loading-state{grid-column:1/-1;text-align:center;padding:75px 0;color:var(--muted)}
.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:70px 20px;color:var(--muted)}.empty-state[hidden]{display:none}.empty-symbol{display:grid;place-items:center;border-radius:18px;background:var(--accent-tint);color:var(--accent);height:60px;width:60px;margin-bottom:15px}.empty-symbol svg{width:28px;height:28px}.empty-state h3{font-size:1rem;color:var(--text);margin:0 0 5px}.empty-state p{font-size:.78rem;margin:0 0 20px}
.footer{margin-top:28px;margin-bottom:23px;display:flex;justify-content:space-between;gap:15px;font-size:.68rem;color:var(--muted);font-weight:600}.footer-em{color:var(--accent);font-weight:900}
.modal-root{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:15px}.modal-root[hidden]{display:none}.modal-scrim{position:absolute;inset:0;background:rgba(13,22,44,.44);backdrop-filter:blur(5px)}.modal-panel{width:min(100%,540px);position:relative;z-index:1;max-height:min(90vh,790px);overflow:auto;border-radius:23px;padding:25px;background:var(--surface);box-shadow:0 35px 90px rgba(15,24,48,.21)}.modal-heading{display:flex;justify-content:space-between;gap:10px;align-items:start;margin-bottom:20px}.modal-heading h2{font-family:Manrope,sans-serif;font-size:1.3rem;letter-spacing:-.04em;margin:6px 0 0}.modal-x{background:var(--surface-2);border:0;width:35px;height:35px;border-radius:10px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.field label{font-size:.73rem;font-weight:800;color:var(--text-2)}.field input,.field select{height:42px;min-width:0;border-radius:11px;padding:0 12px;color:var(--text);background:var(--surface-2);border:1px solid var(--line);font-size:.8rem}.field input:focus,.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint)}.field small{font-size:.65rem;color:var(--muted);line-height:1.5}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.form-actions-right{display:flex;gap:8px;margin-left:auto}.form-error{color:#b94754;font-size:.75rem;min-height:1em}.setting-group{margin:0 0 19px}.setting-label{font-size:.8rem;font-weight:800;margin-bottom:10px}.segmented{display:flex;gap:6px;flex-wrap:wrap}.segment{border:1px solid var(--line);background:var(--surface-2);color:var(--text-2);font-size:.75rem;border-radius:10px;font-weight:700;padding:9px 13px}.segment.active{border-color:var(--accent);background:var(--accent-tint);color:var(--accent)}.color-options{display:flex;gap:10px}.color-option{width:30px;height:30px;border-radius:50%;border:4px solid var(--surface);box-shadow:0 0 0 1px var(--line);padding:0}.color-option.selected{box-shadow:0 0 0 2px var(--text)}.settings-divider{border:0;border-top:1px solid var(--line);margin:23px 0}.settings-foot{display:flex;justify-content:space-between;align-items:center;gap:8px}.settings-foot small{color:var(--muted);font-size:.68rem}.input-check{display:flex;align-items:center;gap:9px;font-weight:700;font-size:.77rem;color:var(--text-2)}.input-check input{accent-color:var(--accent)}.stack{display:grid;gap:8px}.stack .button{width:max-content}.reorder-controls{display:flex;align-items:center;gap:6px;margin-top:10px}.reorder-controls .button{font-size:.69rem;min-height:33px;padding:0 10px}.toast{position:fixed;bottom:24px;right:24px;z-index:200;display:flex;align-items:center;gap:8px;background:#1f2d45;color:#fff;font-size:.77rem;font-weight:700;padding:12px 17px;border-radius:13px;box-shadow:0 14px 50px rgba(0,0,0,.18);transform:translateY(80px);opacity:0;pointer-events:none;transition:transform .25s,opacity .25s}.toast.visible{opacity:1;transform:translateY(0)}
.auth-shell{min-height:100vh;display:grid;place-items:center;padding:32px 20px;background:radial-gradient(ellipse at 30% 10%,#e8e8ff 0%,transparent 38%),radial-gradient(ellipse at 90% 95%,#e3f3fa 0%,transparent 35%),var(--bg)}:root[data-theme="dark"] .auth-shell{background:var(--bg)}.auth-card{width:min(100%,435px);padding:36px;background:var(--surface);border:1px solid var(--line);border-radius:25px;box-shadow:0 25px 75px rgba(39,51,92,.08)}.auth-brand{margin-bottom:40px}.auth-symbol{height:52px;width:52px;border-radius:16px;background:var(--accent-tint);color:var(--accent);display:grid;place-items:center;margin-bottom:23px}.auth-symbol svg{width:25px;height:25px}.auth-card h1{font-family:Manrope,sans-serif;font-size:1.65rem;line-height:1.25;letter-spacing:-.05em;margin:10px 0}.auth-card p{color:var(--muted);font-size:.82rem;line-height:1.65;margin:0 0 25px}.auth-error{background:#fff0f1;color:#b94754;padding:10px 12px;font-size:.75rem;border-radius:10px;margin-bottom:16px}.auth-form{display:flex;flex-direction:column;gap:9px}.auth-form label{font-size:.74rem;font-weight:800}.auth-form input{height:46px;padding:0 14px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);color:var(--text);margin-bottom:9px}.auth-form input:focus{border-color:var(--accent)}.auth-submit{margin-top:8px;min-height:46px;justify-content:space-between;padding:0 17px}.auth-foot{margin-top:28px;font-size:.66rem;color:var(--muted);text-align:center}
@media(max-width:1190px){.app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.toolbar{align-items:flex-start;flex-direction:column;gap:12px}.search-wrap{flex:auto;width:min(100%,390px)}.filters{justify-content:flex-start}.filter-scroller{width:100%}}
@media(max-width:820px){.container{width:calc(100% - 36px)}.topbar{min-height:82px}.hero{padding:28px;min-height:223px}.hero-art{right:-65px;transform:scale(.8);opacity:.43}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.private-indicator{display:none}}
@media(max-width:560px){.container{width:calc(100% - 28px)}.topbar{min-height:77px}.brand-mark{height:39px;width:39px}.brand strong{font-size:1.2rem}.brand small{font-size:.6rem}.topbar-actions{gap:6px}.icon-button{height:39px;width:39px}.hero{padding:25px 22px;min-height:223px;border-radius:20px}.hero h1{font-size:1.8rem}.hero p{max-width:245px;line-height:1.5}.hero-count{margin-top:19px}.hero-art{right:-140px;opacity:.2}.workspace{padding-top:27px}.workspace h2{font-size:1.19rem}.workspace-head{align-items:end}.add-button{min-height:38px;padding:0 10px}.add-button span:nth-child(2){display:none}.toolbar{margin:17px 0 15px}.search-wrap{width:100%}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-card{padding:13px 12px 12px;min-height:193px;border-radius:15px}.app-symbol{width:39px;height:39px;border-radius:12px}.app-symbol svg{height:20px;width:20px}.card-top{margin-bottom:10px}.card-flag{display:none}.app-card h3{font-size:.82rem}.card-description{font-size:.68rem;min-height:42px;-webkit-line-clamp:3}.card-bottom{gap:5px;align-items:flex-start;flex-direction:column}.card-links{align-self:flex-end}.footer span:last-child{display:none}.modal-panel{padding:21px 17px;max-height:95vh;border-radius:19px}.field-row{gap:10px}}
@media(max-width:365px){.app-grid{grid-template-columns:1fr}.app-card{min-height:165px}.card-bottom{flex-direction:row;align-items:center}.add-button{padding:0 9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

@media(max-width:560px){.app-card h3{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.32;min-height:2.2em}.card-description{min-height:38px}}
