@font-face{font-family:Manrope;src:local('Manrope');font-display:swap}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font:15px Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17213c;background:#f7f8fd}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6588ff;outline-offset:3px}button{border:0;background:none}a{color:#3158d8;text-decoration:none}h1,h2,p{margin:0}#app{height:100%;min-height:100dvh}.shell{height:100dvh;display:flex;flex-direction:column;isolation:isolate;background:radial-gradient(ellipse at 95% -12%,#b2e8fa66,transparent 37%),radial-gradient(ellipse at 5% 110%,#b5b8ff44,transparent 42%),#f8f9ff}.topbar{height:72px;flex-shrink:0;display:flex;align-items:center;gap:12px;padding:10px 25px;border-bottom:1px solid #fff8}.brand{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:800;letter-spacing:-.5px;white-space:nowrap}.brand-mark{display:grid;place-items:center;font-size:28px;color:#456eff;filter:drop-shadow(0 3px 4px #3c88fc44)}.topbar .spacer{flex:1}.team-button{display:flex;align-items:center;gap:7px;border:1px solid #d8e0ef;background:#ffffffb0;border-radius:13px;padding:10px 13px;font-weight:650;font-size:13px;box-shadow:0 3px 12px #6a7dac08}.avatar{border:2px solid white;box-shadow:0 3px 12px #7d78b633;background:linear-gradient(145deg,#a3e8e4,#7477e7);height:38px;width:38px;display:grid;place-items:center;border-radius:50%;color:#fff;font-weight:750}.main{flex:1;overflow-y:auto;padding:20px 26px 24px;position:relative}.workspace-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.workspace-head select{border:0;background:transparent;font-size:15px;font-weight:700;color:#273b63;max-width:100%;padding:5px 20px 5px 0}.eyebrow{font-size:11px;letter-spacing:1.8px;color:#7b87a8;font-weight:750;text-transform:uppercase}.empty{max-width:410px;margin:clamp(40px,13vh,150px) auto 0;text-align:center;padding:15px 10px}.empty-orb{width:70px;height:70px;margin:0 auto 19px;display:grid;place-items:center;border-radius:23px;background:linear-gradient(145deg,#fff,#e9eeff);border:1px solid #fff;box-shadow:0 14px 28px #7b8bcc13,inset 0 0 0 5px #ffffff80;font-size:31px;color:#8496d1}.empty h1{font-size:24px;line-height:1.3;letter-spacing:-.7px;font-weight:750}.empty p{font-size:14px;line-height:1.7;color:#7b86a1;margin-top:10px}.quiet-button{color:#4164d4;background:#ecf0ff;border-radius:12px;padding:11px 18px;margin-top:18px;font-size:13px;font-weight:650}.dock{flex-shrink:0;display:flex;align-items:center;justify-content:space-around;gap:4px;margin:0 12px max(10px,env(safe-area-inset-bottom));padding:10px 7px 8px;border:1px solid #fff;border-radius:25px;background:linear-gradient(160deg,#fffefbde,#edf4ffe8);box-shadow:0 -4px 30px #8b9bcf12,0 8px 24px #475fae0b;backdrop-filter:blur(22px)}.dock-item{width:19%;min-width:0;display:flex;align-items:center;flex-direction:column;gap:6px;padding:0 2px;border-radius:15px;position:relative;touch-action:manipulation}.dock-label{font-size:11px;line-height:1.2;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:#7a86a2}.dock-slot{width:43px;height:43px;border:1.5px dashed #b8c5e5;border-radius:14px;display:grid;place-items:center;font-size:24px;color:#8ba0d4;background:#ffffff70;transition:.18s}.dock-item.drop-hover .dock-slot{background:#dfe9ff;border-color:#4277ff;transform:scale(1.12)}.dock-item.central{transform:translateY(-4px)}.central .dock-label{color:#4467e1;font-weight:750}.drawer-icon{height:56px;width:56px;border-radius:19px;background:linear-gradient(145deg,#54d5f1,#366aff 65%,#7a4ae4);border:3px solid #e5f7ff;display:grid;grid-template-columns:repeat(3,5px);grid-template-rows:repeat(3,5px);gap:4px;place-content:center;box-shadow:0 7px 15px #376bf547,inset 0 2px 5px #ffffffa8}.drawer-icon i{background:#fff;border-radius:2px;box-shadow:0 1px 3px #2f4aa725}.drawer-heading{font-size:25px;letter-spacing:-.6px;margin:8px 0 17px}.search{border:1px solid #dce3f1;background:#ffffffc0;padding:12px 15px;border-radius:15px;width:100%;font-size:14px;outline:none;box-shadow:0 4px 14px #718cc508}.apps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 17px;margin-top:27px}.app-tile{position:relative;text-align:center;min-width:0;padding:0;touch-action:pan-y}.app-icon{height:72px;width:72px;border-radius:21px;display:grid;place-items:center;font-size:30px;margin:auto auto 9px;color:#fff;background:linear-gradient(140deg,#76d5ff,#3869f5 60%,#5c42cf);box-shadow:inset 0 2px 3px #fff9,inset 0 -3px 7px #2138a642,0 9px 15px #536df429;border:1px solid #ffffff88;position:relative;overflow:hidden}.app-icon:before{content:"";position:absolute;inset:-20% 30% 45% -30%;background:#ffffff2b;transform:rotate(-40deg);pointer-events:none}.app-icon[data-kind=events]{background:linear-gradient(135deg,#ffb98b,#ff6b99 65%,#da3c88)}.app-icon[data-kind=business]{background:linear-gradient(135deg,#66dfc2,#11b895 55%,#298c9a)}.app-icon[data-kind=site]{background:linear-gradient(135deg,#68e5f7,#16b9d6 55%,#4189ed)}.app-icon[data-kind=video]{background:linear-gradient(135deg,#7bd8ff,#316bfc 60%,#b33dec)}.app-name{font-size:12px;line-height:1.35;display:block;font-weight:650;overflow-wrap:anywhere}.app-more{position:absolute;right:5px;top:-6px;border-radius:50%;height:22px;width:22px;background:#fff;border:1px solid #e4e8f2;box-shadow:0 2px 5px #475c8e13;color:#667da7;font-weight:800;padding:0}.hint{font-size:12px;color:#8792ab;text-align:center;margin:30px 0 7px}.team-head{display:flex;align-items:center;gap:10px;margin-bottom:22px}.back{border:1px solid #e0e5f0;border-radius:12px;width:35px;height:35px;background:#fff}.team-head h1{font-size:24px;letter-spacing:-.5px}.panel{background:#ffffffc9;border:1px solid #fff;border-radius:21px;padding:22px;box-shadow:0 8px 25px #617ba609;margin-bottom:18px}.panel h2{font-size:16px;margin-bottom:9px}.muted{color:#7986a0;font-size:13px;line-height:1.65}.field{display:block;font-size:12px;font-weight:700;color:#60708e;margin:17px 0 7px}.input{width:100%;border:1px solid #dbe3f0;border-radius:12px;background:#f9fbff;padding:12px 13px;min-height:44px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 17px;border-radius:13px;background:linear-gradient(135deg,#5b8af9,#6657e7);color:#fff;font-size:13px;font-weight:700;box-shadow:0 5px 12px #596ee932}.form-actions{margin-top:13px;display:flex;align-items:center;gap:10px}.person{display:flex;gap:11px;padding:13px 0;border-bottom:1px solid #edf0f7;align-items:center}.person:last-child{border-bottom:0}.person b{display:block;font-size:13px}.person small{font-size:11px;color:#8b95aa;overflow-wrap:anywhere}.person .info{flex:1;min-width:0}.pill{font-size:10px;padding:5px 8px;border-radius:8px;background:#eaf2ff;color:#5573b8}.invite-link{margin-top:17px;background:#f0f5ff;border:1px solid #dae6ff;border-radius:14px;padding:14px}.invite-link .input{font-size:12px;margin-top:8px}.danger{font-size:12px;color:#b05d74}.login{max-width:400px;margin:auto;padding:50px 25px;display:flex;flex-direction:column;justify-content:center;min-height:100dvh}.login h1{font-size:35px;letter-spacing:-1.3px;line-height:1.16;margin:35px 0 13px}.login p{color:#7b87a1;line-height:1.75;font-size:14px}.google-button{margin-top:30px;min-height:48px}.modal-backdrop{position:fixed;z-index:20;inset:0;background:#18295642;backdrop-filter:blur(5px);display:grid;place-items:end center;padding:14px}.modal{background:#fbfcff;border:1px solid white;border-radius:25px;padding:25px 22px;width:100%;max-width:460px;box-shadow:0 25px 70px #12214744;max-height:85dvh;overflow:auto}.modal h2{font-size:20px;letter-spacing:-.3px;margin-bottom:12px}.modal .option{display:flex;align-items:center;gap:12px;width:100%;padding:13px 10px;text-align:left;border-bottom:1px solid #e7ecf5;font-size:14px}.modal .option:last-child{border-bottom:0}.modal .app-icon{height:35px;width:35px;font-size:18px;border-radius:11px;margin:0}.modal-close{float:right;width:30px;height:30px;border-radius:50%;background:#edf0f8;color:#7685a3}.slot-choice{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:20px 0}.slot-choice button{background:#eef3ff;border:1px dashed #adbfeb;border-radius:13px;padding:16px 5px;color:#5777bf}.error{color:#b5546b;font-size:13px;line-height:1.6;margin-top:10px}.loading{text-align:center;padding:100px 25px;color:#8391af}#toast{position:fixed;z-index:40;bottom:115px;left:50%;transform:translateX(-50%);background:#273958;color:#fff;border-radius:12px;padding:12px 17px;max-width:90%;font-size:13px;display:none;box-shadow:0 6px 20px #13274326}.module-frame{border:0;width:100%;height:100%;border-radius:16px;background:#fff}.module-page{display:flex;flex-direction:column;height:100%;gap:12px}.module-page .team-head{margin-bottom:0}.module-page .frame-wrap{flex:1;min-height:0}.gm-accounts .person{padding:15px 0}@media(min-width:750px){.topbar{padding:12px 35px;height:78px}.main{width:100%;max-width:1100px;margin:auto;padding:25px 35px}.dock{width:480px;margin:0 auto 15px;padding:10px 15px 9px}.apps-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));max-width:850px;gap:32px 25px}.app-icon{width:82px;height:82px;border-radius:24px}.app-name{font-size:13px}.search{max-width:600px}.empty{margin-top:clamp(50px,16vh,190px)}.team-body{max-width:700px}.modal-backdrop{place-items:center}.login{max-width:440px}.module-page{height:100%}}@media(max-width:360px){.topbar{padding:10px 15px}.team-button{padding:9px}.brand{font-size:17px}.main{padding:17px}.dock-label{font-size:10px}.dock-slot{height:38px;width:38px}.drawer-icon{height:50px;width:50px}}

.invite-footnote{margin-top:12px}

.whatsapp{background:linear-gradient(135deg,#23bc7a,#0b9666);box-shadow:0 5px 12px #159b7025}.form-actions .quiet-button{margin-top:0}.team-head h1{overflow-wrap:anywhere;font-size:21px}

.drawer-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.drawer-title .quiet-button{margin:0 0 10px;white-space:nowrap;font-size:11px;padding:9px 12px}.app-icon[data-kind=space]{background:linear-gradient(135deg,#c6acff,#8660ec 60%,#5b72e8)}

.app-icon svg{width:75%;height:75%;position:relative}.app-icon[data-kind=whatsapp]{background:linear-gradient(145deg,#77eb94,#1ac883 58%,#0d9c73)}.dock-item .app-icon{width:43px;height:43px;border-radius:14px;margin:0}.dock-item .app-icon svg{width:78%;height:78%}.dock-item.drop-hover{background:#dfe9ff}

.app-icon[data-kind=team]{background:linear-gradient(140deg,#bba7ff,#795de9 55%,#5b49cf)}.drag-ghost{position:fixed!important;z-index:1000!important;width:60px!important;height:60px!important;margin:0!important;transform:translate(-50%,-50%) scale(1.08);pointer-events:none!important;opacity:.9;box-shadow:0 12px 35px #243b8155}.app-tile [data-open],.dock-item{touch-action:none;user-select:none;-webkit-user-select:none}.app-icon svg{pointer-events:none}

/* The client launcher has a phone-sized 4 x 6 grid; GM styles are untouched. */
.shell{max-width:480px;margin-inline:auto}.topbar{height:56px;padding:8px 20px}.brand{font-size:18px}.brand-mark{font-size:26px}.avatar{width:32px;height:32px}.team-button{font-size:12px;padding:8px 11px}
.main{padding:16px 20px 12px;max-width:none;min-height:0}.launcher{height:100%;display:flex;flex-direction:column;min-height:0}.drawer-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.drawer-heading{font-size:22px;margin:0;line-height:1.25}.app-context{font-size:11px;color:#7887a6;margin-top:4px}.search{padding:10px 13px;min-height:40px;flex-shrink:0}
#app-results{flex:1;min-height:0;container-type:size}.apps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));grid-auto-rows:calc(100% / 6);align-items:start;height:calc(100% - 12px);margin:12px 0 0;gap:0 6px;max-width:none;padding-top:8px}.app-tile{min-height:0;min-width:0}.app-tile .app-icon{--side:clamp(30px,min(48px,calc(100cqw / 4 - 24px),calc((100cqh - 12px) / 6 - 25px)),48px);width:var(--side);height:var(--side);border-radius:calc(var(--side) * .28);margin:0 auto 5px}.app-name{font-size:10px;line-height:1.25;font-weight:650;max-width:82px}.app-more{width:18px;height:18px;font-size:11px;top:-5px;right:0}.hint{font-size:10px;margin:8px 0 0;flex-shrink:0}.dock{width:calc(100% - 16px);margin:0 auto max(8px,env(safe-area-inset-bottom));padding:8px 5px 6px;min-height:76px;border-radius:23px}.dock-item .app-icon,.dock-slot{width:38px;height:38px;border-radius:12px}.drawer-icon{width:49px;height:49px;border-radius:17px}.dock-label{font-size:10px}.dock-item.central{transform:translateY(-2px)}
#module-layer{position:fixed;z-index:4;overflow:hidden;border-radius:15px;background:white}#module-layer[hidden],#module-layer iframe[hidden]{display:none!important}#module-layer iframe{display:block;width:100%;height:100%;border:0}.module-page{gap:9px}.module-page .team-head{gap:9px}.module-page .team-head h1{font-size:18px}.module-page .back{width:30px;height:30px}.module-page .frame-wrap{min-height:0}.empty{margin-top:clamp(35px,10vh,100px)}

.launcher-pages{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:8px}.launcher-pages button{font-size:12px;color:#6888dc;padding:0 5px}.apps-grid:has(+.launcher-pages){height:calc(100% - 30px)}

/* Studio occupies the available application area; unrelated modules retain their layout. */
html.studio-module,html.studio-module body{height:100%;overflow:hidden}
html.studio-module .shell{height:var(--workspace-height,100dvh);max-width:none;background:white}
html.studio-module .topbar,html.studio-module .dock,html.studio-module .module-page>.team-head{display:none}
html.studio-module .main{padding:0;overflow:hidden;width:100%;min-height:0;max-width:none}
html.studio-module .module-page{gap:0}
html.studio-module #module-layer{border-radius:0}
@media(max-width:760px){
 html.studio-module .dock{min-height:54px;height:54px;margin:0 8px max(3px,env(safe-area-inset-bottom));padding:6px;flex-shrink:0;width:calc(100% - 16px);border-radius:16px}
 html.studio-module .dock-label{display:none}
 html.studio-module .drawer-icon{width:38px;height:38px;border-radius:13px;border-width:2px;grid-template-columns:repeat(3,4px);grid-template-rows:repeat(3,4px);gap:3px;box-shadow:0 3px 9px #376bf52b}
 html.studio-module .dock-slot,html.studio-module .dock-item .app-icon{width:34px;height:34px;border-radius:10px}
 html.studio-module.studio-typing .dock{display:none}
}

/* Notifications are available before opening any application module. */
.topbar{gap:8px;padding-inline:14px}.topbar .brand{font-size:17px}.notifications-button{width:32px;height:32px;border:1px solid #dbe3f4;border-radius:11px;background:#ffffffa8;display:grid;place-items:center;position:relative;flex-shrink:0}.notifications-button svg{width:20px;height:20px;stroke:#536fbb;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.notifications-button i{position:absolute;right:5px;top:4px;width:5px;height:5px;border-radius:50%;background:#ed8265}.notifications-button i[hidden]{display:none}.notifications-button[data-state=active] svg{stroke:#09895e}.topbar .team-button{padding:7px 9px;font-size:11px}

/* Existing launcher: business module palette. */
.app-icon[data-kind=reservations]{background:linear-gradient(145deg,#ffd080,#f39a51 60%,#ef7464)}.app-icon[data-kind=games]{background:linear-gradient(145deg,#77c9ff,#3978e3 65%,#4642bc)}.app-icon[data-kind=pingpong]{background:linear-gradient(145deg,#ffb1cf,#ee6a9e 65%,#c3478b)}.app-icon[data-kind=site]{background:linear-gradient(145deg,#74e6ed,#1bb5d2 65%,#1687c8)}

.gm-previewbar{height:36px;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 15px;background:#f0f3ff;border-bottom:1px solid #e5eafb;font-size:11px}.gm-previewbar a{color:#354d83;font-weight:650}.gm-previewbar span{font-size:10px;color:#75829f}


/* Reserve the final Google control area while its official iframe loads. */
.google-button{position:relative;width:min(100%,320px);height:44px;min-height:44px;flex-shrink:0;overflow:hidden;isolation:isolate}
.google-button>*,.google-button[data-ready="error"]>*{visibility:hidden}
.google-button::before{content:"Se pregătește conectarea…";position:absolute;inset:2px 0;display:flex;align-items:center;justify-content:center;border:1px solid #dce3f1;border-radius:22px;background:#fff;color:#7b87a1;font-size:13px;line-height:20px;white-space:nowrap}
.google-button[data-ready="true"]::before,.google-button[data-ready="inline"]::before,.google-button[data-ready="error"]::before{display:none}

/* A hidden inline placeholder must not hide the provider iframe itself. */
.google-button iframe{visibility:hidden}
.google-button[data-ready="true"] iframe{visibility:visible}

/* Only the final official iframe is shown; its inline placeholder never paints. */
.google-button>div>:not(iframe){visibility:hidden!important}
.google-button[data-ready="inline"]>div,.google-button[data-ready="inline"]>div>:not(iframe){visibility:visible!important}

/* Respect HTML hidden even when an option has an explicit display rule. */
[hidden]{display:none!important}

/* Administration reuses the common launcher and member invitation flow. */
.admin-body{max-width:560px;margin-inline:auto;padding-bottom:8px}.admin-body .team-head{margin-bottom:19px}.admin-body .team-head h1{font-size:22px}.admin-body .team-head .muted{font-size:11px;margin-top:3px}.admin-body .panel{padding:18px;border-color:#e9edf9;box-shadow:0 6px 22px #667aa00a}.invite-heading{display:flex;align-items:center;gap:13px}.invite-heading .app-icon{width:45px;height:45px;border-radius:14px;margin:0;flex-shrink:0}.invite-heading h2{margin-bottom:3px}.invite-primary{width:100%;margin-top:18px;min-height:46px}.members-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.members-heading h2{margin:0}.member-count{font-size:11px;background:#eef0fa;padding:3px 7px;border-radius:8px;margin-left:5px;color:#7a86a0}.text-button{font-size:11px;color:#697ba5;padding:8px 0 8px 8px}.admin-body .person{min-height:65px;gap:10px}.admin-body .person .avatar{flex-shrink:0;width:34px;height:34px}.admin-body .person b{overflow-wrap:anywhere}.access-button{display:flex;align-items:center;gap:14px;min-height:40px;font-size:12px;font-weight:650;color:#626dc8;background:#f0f2ff;border-radius:11px;padding:9px 12px}.access-button span{font-size:20px;line-height:14px}.admin-body .pill{font-size:9px}.access-profile{text-align:center;margin:25px 0 23px}.access-profile .avatar{width:56px;height:56px;margin:0 auto 13px;font-size:23px}.access-profile h2{font-size:21px;line-height:1.4;letter-spacing:-.5px;overflow-wrap:anywhere}.access-profile p{margin:8px auto 0;max-width:290px;font-size:12px}.access-options{padding:4px 16px!important}.access-row{display:flex;align-items:center;gap:12px;min-height:70px;position:relative;border-bottom:1px solid #edf0f7;cursor:pointer}.access-row:last-child{border-bottom:0}.access-row .app-icon{width:39px;height:39px;border-radius:12px;margin:0;flex-shrink:0;font-size:21px}.access-label{flex:1;min-width:0;font-size:14px;font-weight:650;overflow-wrap:anywhere}.access-label small{display:block;font-size:10px;font-weight:400;color:#929ab0;margin-top:4px}.access-row input{position:absolute;right:0;width:44px;height:26px;margin:0;opacity:0;cursor:pointer;z-index:1}.access-switch{width:43px;height:25px;border-radius:20px;background:#dbe0ec;position:relative;transition:background .15s;flex-shrink:0}.access-switch:after{content:"";position:absolute;width:19px;height:19px;top:3px;left:3px;border-radius:50%;background:white;box-shadow:0 1px 4px #4e5c7b33;transition:transform .15s}.access-row input:checked+.access-switch{background:#7662e8}.access-row input:checked+.access-switch:after{transform:translateX(18px)}.access-row input:focus-visible+.access-switch{outline:3px solid #8b9cf7;outline-offset:4px}.access-locked{cursor:default;opacity:.6}.access-locked>.app-icon{filter:grayscale(.4)}.access-save{text-align:center;margin-top:22px}.access-save .primary{width:100%;min-height:47px}.access-save p{font-size:10px;margin-top:10px}.access-body .error:empty,.invite-panel .error:empty{display:none}.invite-link .form-actions{flex-wrap:wrap}.invite-link .form-actions>*{flex:1;white-space:nowrap}.invite-link .primary,.invite-link .quiet-button{font-size:11px;padding:11px 9px}@media(max-width:360px){.admin-body .panel{padding:14px}.access-profile h2{font-size:19px}.admin-body .team-head h1{font-size:20px}}

.access-lock{width:20px;height:20px;fill:none;stroke:#8b92aa;stroke-width:1.8;flex-shrink:0}

/* Approved AiServicii brain identity, preserving the common launcher layout. */
.brand .brand-brain{display:block;width:42px;height:42px;object-fit:contain;flex:0 0 auto;filter:none}.brand{color:#081746}.topbar .brand{gap:8px}.login .brand-brain{width:52px;height:52px}

/* Login recovery stays in normal flow; it cannot cover Google's hit target. */
.login-recovery{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:14px}.login-recovery .quiet-button{margin:0;font-size:13px;padding:10px 13px}.login .login-progress{font-size:13px;line-height:1.5;text-align:center;max-width:320px;min-height:0;margin-top:12px}

/* Keep the existing update offer in Applications, clear of module and dialog controls. */
#module-layer:not([hidden]) ~ #ai-servicii-update, #modal-root:not(:empty) ~ #ai-servicii-update{display:none!important}

/* Business applications live inside the personal AiServicii shell. */
.application-contexts{display:flex;gap:7px;padding:5px;background:#e8edf9;border-radius:14px;margin:0 0 18px}.application-contexts button{flex:1;min-height:40px;border-radius:10px;font-size:13px;font-weight:700}.application-contexts button[aria-pressed=true]{background:white;box-shadow:0 2px 6px #465d8c16}
.application-overview{height:100%;overflow:auto;padding:3px 1px 18px}.application-overview>.team-head{align-items:center;margin:5px 0 26px;gap:10px}.application-overview h1{font-size:23px;letter-spacing:-.6px}.application-overview .muted{font-size:12px;line-height:1.5;margin-top:5px}.application-heading-icon>.app-icon{width:49px;height:49px;margin:0;border-radius:15px}.application-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.application-card{text-align:left;min-height:142px;padding:18px 16px;background:#ffffffdd;border:1px solid #e6eaf7;border-radius:22px;box-shadow:0 6px 24px #687fac09;display:flex;align-items:flex-start;flex-direction:column;gap:9px}.application-card>.app-icon{width:44px;height:44px;margin:0 0 3px;border-radius:14px}.application-card>span:not(.app-icon){font-weight:750;font-size:14px;overflow-wrap:anywhere}.application-card>small{font-size:11px;color:#7d89a7}.application-pending{margin-top:24px}.app-icon[data-kind=pizza]{background:linear-gradient(145deg,#ffb86f,#f2784d 63%,#df634f)}.app-icon[data-kind=orders],.app-icon[data-kind=history]{background:linear-gradient(145deg,#a1c3ff,#7297e2 62%,#587cc5)}.app-icon[data-kind=loyalty]{background:linear-gradient(145deg,#ffdc90,#e9b24e 63%,#d59b35)}.app-icon[data-kind=finance]{background:linear-gradient(145deg,#9ee9cb,#6eb99e 62%,#479e85)}.app-icon[data-kind=customers]{background:linear-gradient(145deg,#c1c8ff,#959ee9 63%,#717ed0)}
@media(max-width:360px){.application-card{padding:15px 12px;min-height:129px}.application-cards{gap:10px}.application-overview h1{font-size:21px}.application-heading-icon>.app-icon{width:41px;height:41px}.application-overview>.team-head{gap:7px}}

/* Keep the full four-column label width on narrow phones. */
.app-tile>[data-open]{padding-inline:0;width:100%}.app-name{text-wrap:balance}

/* GM profile entry occupies the complete available viewport. */
.gm-users.shell,.gm-profile.shell{max-width:none}.gm-users .main,.gm-profile .main{width:100%;padding-inline:clamp(20px,4vw,64px)}.gm-users .apps-grid,.gm-profile .apps-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr))}.gm-users .app-more{display:none}.gm-badge{font-size:12px;font-weight:800;color:#514bcb;background:#e6e6ff;padding:6px 10px;border-radius:12px}.gm-users .app-icon[data-kind=person]{background:linear-gradient(145deg,#a4b9ff,#7761e4 60%,#5554c6)}.gm-users .app-tile:nth-child(4n+1) .app-icon{background:linear-gradient(145deg,#87e2ad,#36ba8e 60%,#239b83)}.gm-users .app-tile:nth-child(4n+3) .app-icon{background:linear-gradient(145deg,#ffcc78,#f39a4d 60%,#e7863b)}.gm-users .app-tile:nth-child(4n) .app-icon{background:linear-gradient(145deg,#ffafd0,#e976b9 60%,#cb5da8)}.gm-users .dock{max-width:620px}.gm-profile .gm-previewbar{flex-shrink:0}.gm-profile .application-overview{max-width:none}.gm-users .app-name,.gm-profile .app-name{margin-inline:auto}@media(min-width:700px){.gm-users .topbar,.gm-profile .topbar{padding-inline:clamp(24px,4vw,64px)}.gm-users .drawer-heading,.gm-profile .drawer-heading{font-size:26px}.gm-users .app-name,.gm-profile .app-name{font-size:12px;max-width:170px}.gm-users .app-tile .app-icon,.gm-profile .app-tile .app-icon{--side:48px}}

/* One responsive shell for the client and its GM presentation. */
.shell{max-width:none}.dock{max-width:620px}@media(min-width:700px){.shell>.main{padding-inline:clamp(24px,4vw,64px);width:100%}.shell>.topbar{padding-inline:clamp(24px,4vw,64px)}.shell .app-name{font-size:12px;max-width:170px;margin-inline:auto}.shell .app-tile .app-icon{--side:48px}}

/* Google uses a sibling hit target around its iframe in Safari. Keep the
   provider wrapper interactive once ready; only its inline placeholder hides. */
.google-button[data-ready="true"]>div>div:has(>iframe){visibility:visible!important}

/* One compact common navigation; application contents own the remaining screen. */
.topbar{height:48px;min-height:48px;padding:5px 12px;gap:8px}.brand .brand-brain{width:32px;height:32px}.topbar .brand{font-size:16px;gap:6px}.topbar .avatar,.notifications-button{width:30px;height:30px}.gm-return{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:36px;height:32px;flex-shrink:0;color:#354d83;font-size:22px;font-weight:700}.gm-return span{font-size:10px}.main{padding-top:10px;padding-bottom:8px}.dock{min-height:62px;padding:5px 4px 4px;margin-bottom:max(5px,env(safe-area-inset-bottom));border-radius:19px}.dock-item .app-icon,.dock-slot{width:32px;height:32px;border-radius:10px}.drawer-icon{width:40px;height:40px;border-radius:13px;grid-template-columns:repeat(3,4px);grid-template-rows:repeat(3,4px);gap:3px;border-width:2px}.dock-label{font-size:10px}.application-overview{overflow:visible;padding:0;min-height:0}.application-title{justify-content:flex-start;gap:9px;margin-bottom:10px}.application-title .drawer-heading{font-size:21px;margin:0}.application-contexts{margin-bottom:9px}.application-pending{margin-top:20px}.application-overview #app-results{position:relative}.application-overview .apps-grid{max-width:none}
html.module-open,html.module-open body{height:100%;overflow:hidden}html.module-open .shell{height:var(--workspace-height,100dvh);max-width:none;background:white}html.module-open .shell>.topbar,html.module-open .shell>.dock{display:none}html.module-open .main{padding:0!important;margin:0;overflow:hidden;width:100%;max-width:none;min-height:0}html.module-open .module-page{gap:0}html.module-open #module-layer{border-radius:0}.module-toolbar{height:44px;min-height:44px;flex-shrink:0;display:flex;align-items:center;gap:8px;padding:4px 8px;background:#f7f8ff;border-bottom:1px solid #e7ecf6}.module-toolbar h1{font-size:16px;font-weight:750;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.module-toolbar .back{width:32px;height:32px;flex-shrink:0;font-size:21px}.module-apps{width:32px;height:32px;display:grid;grid-template-columns:repeat(3,4px);grid-template-rows:repeat(3,4px);gap:3px;place-content:center;border-radius:10px;background:#e8eeff;flex-shrink:0}.module-apps i{width:4px;height:4px;border-radius:1px;background:#5068bc}html.studio-module .module-toolbar{display:none}
@media(min-width:700px){.topbar{height:48px}.shell .app-tile .app-icon,.gm-users .app-tile .app-icon,.gm-profile .app-tile .app-icon{--side:48px}.gm-profile .main,.gm-users .main{padding-top:10px}.application-title .drawer-heading{font-size:22px}}

.dock-item{gap:3px}

/* GM presents the same client sizing; only its return control differs. */
.gm-profile .drawer-heading{font-size:22px}.gm-profile .main{padding-inline:20px}@media(min-width:700px){.gm-profile .main{padding-inline:clamp(24px,4vw,64px)}}
