:root{--ink:#17201b;--muted:#69736d;--paper:#f4f5f1;--card:#fff;--line:#dfe3de;--accent:#15724b;--accent-dark:#0c5134;--soft:#e7f2ec;--danger:#a33232;--shadow:0 20px 55px rgba(20,35,27,.1);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100vh;background:radial-gradient(circle at 80% 0,rgba(201,224,210,.55),transparent 34rem),var(--paper)}button,input,select{font:inherit}.shell{width:min(1180px,calc(100% - 40px));min-height:100vh;margin:auto;display:flex;flex-direction:column}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(90,105,96,.18)}.brand{display:inline-flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:17px;letter-spacing:.06em}.brand strong{font-weight:500;color:var(--muted)}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--ink);color:#fff;font-weight:800}.top-actions{display:flex;align-items:center;gap:8px}.language,.button{border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.75);color:var(--ink);padding:10px 13px}.button{font-weight:700;cursor:pointer;transition:.18s ease}.button:hover{transform:translateY(-1px);border-color:#aeb8b1}.button:disabled{cursor:wait;opacity:.65;transform:none}.button-primary{background:var(--accent);border-color:var(--accent);color:white}.button-primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}.button-wide{width:100%;padding:13px}.button-quiet{background:transparent}main{flex:1;display:grid;align-items:center;padding:64px 0}.state-card{justify-self:center;text-align:center;color:var(--muted)}.spinner{display:inline-block;width:30px;height:30px;border:3px solid #d5ddd7;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-layout{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:clamp(50px,10vw,145px);align-items:center}.intro{max-width:610px}.eyebrow{margin:0 0 18px;text-transform:uppercase;letter-spacing:.15em;color:var(--accent);font-size:12px;font-weight:800}.intro h1,.dashboard h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(46px,6vw,76px);line-height:1.02;letter-spacing:-.04em;margin:0 0 24px;font-weight:500}.lead{font-size:18px;line-height:1.65;color:var(--muted);max-width:650px;margin:0}.trust-line{display:flex;gap:10px;align-items:center;margin-top:30px;color:#536059;font-size:14px}.trust-line span:first-child{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--soft);color:var(--accent);font-weight:800}.login-card{background:rgba(255,255,255,.9);border:1px solid rgba(199,207,201,.8);border-radius:22px;padding:36px;box-shadow:var(--shadow);backdrop-filter:blur(12px)}.login-card h2{font-family:Georgia,serif;font-size:31px;margin:0 0 26px;font-weight:500}.login-card label{display:block;font-size:13px;font-weight:700;margin:18px 0 7px}.login-card input{width:100%;border:1px solid #cfd5d0;border-radius:10px;padding:12px 13px;background:#fff;color:var(--ink);outline:none}.login-card input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(21,114,75,.12)}.message{margin:16px 0 0;padding:11px 12px;border-radius:9px;background:#fbeaea;color:var(--danger);font-size:13px;line-height:1.45}.login-card .button{margin-top:22px}.forgot{display:block;text-align:center;margin-top:18px;color:var(--accent-dark);font-size:13px;font-weight:650}.dashboard{width:100%;align-self:start}.dashboard-head{display:flex;justify-content:space-between;gap:32px;align-items:flex-end;margin-bottom:42px}.dashboard h1{font-size:clamp(38px,5vw,62px);margin-bottom:14px}.dashboard h1 span:last-child{color:var(--accent)}.account-chip{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.7)}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--ink);color:white;font-weight:800}.account-chip strong,.account-chip small{display:block;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-chip strong{font-size:13px}.account-chip small{font-size:11px;color:var(--muted);margin-top:2px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.module-card{min-height:190px;padding:23px;display:flex;flex-direction:column;background:rgba(255,255,255,.78);border:1px solid var(--line);border-radius:18px;color:var(--ink);text-decoration:none;transition:.2s ease}.module-card:hover{background:#fff;border-color:#b7c4bb;transform:translateY(-3px);box-shadow:0 14px 38px rgba(21,42,29,.08)}.module-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--soft);color:var(--accent)}.module-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.module-copy{display:block;margin:19px 0 18px}.module-copy strong,.module-copy small{display:block}.module-copy strong{font-family:Georgia,serif;font-size:23px;font-weight:500}.module-copy small{font-size:13px;line-height:1.45;color:var(--muted);margin-top:7px}.module-open{display:flex;justify-content:space-between;align-items:center;margin-top:auto;font-size:12px;font-weight:800;color:var(--accent);text-transform:uppercase;letter-spacing:.08em}.empty{text-align:center;color:var(--muted);padding:50px}footer{min-height:78px;border-top:1px solid rgba(90,105,96,.18);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}footer nav{display:flex;gap:20px}footer a{color:inherit;text-decoration:none}footer a:hover{color:var(--ink)}.skip-link{position:fixed;top:-100px;left:20px;z-index:10;background:var(--ink);color:#fff;padding:10px}.skip-link:focus{top:10px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:900px){.login-layout{grid-template-columns:1fr;gap:45px}.intro{max-width:700px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-head{align-items:flex-start;flex-direction:column}.account-chip{order:-1}}@media(max-width:600px){.shell{width:min(100% - 24px,1180px)}.topbar{height:72px}.brand{font-size:14px}.brand-mark{width:30px;height:30px}.language{max-width:115px}.button-quiet{padding:10px}.login-card{padding:25px 20px}.intro h1{font-size:43px}.lead{font-size:16px}main{padding:42px 0}.module-grid{grid-template-columns:1fr}.module-card{min-height:165px}.dashboard h1{font-size:38px}footer{padding:22px 0;align-items:flex-start;gap:18px;flex-direction:column}footer nav{flex-wrap:wrap}}

.dashboard-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dashboard-actions .button{text-decoration:none;white-space:nowrap}@media(max-width:600px){.dashboard-actions{width:100%}.dashboard-actions .button{width:100%;text-align:center}}

.tenant-switcher{max-width:230px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:7px;font-size:12px}.account-chip:has(.tenant-switcher:not([hidden])){flex-wrap:wrap;max-width:360px}

/* PHEREXO WORKSPACE LOGIN LINKS V1 */
#tenant-switcher{display:none!important}
