.shared-shell{background:#f7f9fc;color:#242735}.shared-shell .shared-header{position:sticky;top:0;z-index:5;padding:14px 24px;background:white;border-bottom:1px solid #e3e6ef;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.shared-header a{color:#174c91;font-weight:700}.shared-header select{max-width:100%;min-width:180px}.shared-header .shared-user{margin-left:auto;font-size:13px;color:#626a7c}.shared-content{max-width:1400px;margin:auto;padding:26px}.shared-tabs{display:flex;flex-direction:row;gap:8px;margin:0 0 22px;overflow-x:auto}.shared-tabs button{white-space:nowrap}.shared-tabs button.active{background:#174c91;color:white}.shared-error{padding:14px;background:#fff0e8;border:1px solid #dfb3a3;border-radius:8px;color:#8b361c;line-height:1.6;margin-bottom:16px}.shared-info{padding:14px 18px;background:#edf4ff;color:#174c91;border:1px solid #d3e2f4;border-radius:10px;margin-bottom:20px;line-height:1.6}.shared-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.shared-grid label,.shared-form label{display:flex;flex-direction:column;gap:7px;color:#626a7c;font-size:13px;margin:10px 0}.shared-grid input,.shared-grid select,.shared-form input,.shared-form select{width:100%;min-width:0;padding:10px;border:1px solid #dce1eb;border-radius:7px;background:white}.shared-form .primary{margin-top:16px}.shared-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.shared-form fieldset{margin:16px 0;border:1px solid #dce1eb;border-radius:10px;padding:16px}.shared-form legend{color:#174c91;font-weight:600}.shared-order{margin:14px 0;padding:20px;border:1px solid #e1e6ee;border-radius:12px;background:white}.shared-order h3{font-size:17px;color:#174c91}.shared-order small{font-size:13px;line-height:1.6}.shared-summary{position:sticky;bottom:10px;z-index:2;background:white;border:1px solid #b9cde5;border-radius:12px;padding:18px;display:flex;justify-content:space-between;gap:16px;margin:18px 0}.shared-summary strong{display:block;font-size:23px;color:#174c91}.shared-code{font-size:30px;letter-spacing:.25em;text-align:center;background:#edf4ff;border-radius:10px;padding:22px;margin:16px 0;color:#174c91;font-variant-numeric:tabular-nums}.shared-shell dialog{max-width:900px;max-height:90vh;overflow:auto}.shared-shell .heading{flex-wrap:wrap}.shared-shell .card>h2{margin-bottom:14px}.shared-shell .tablewrap{max-width:100%}.shared-audit{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 monospace}.shared-login-note{text-align:center;max-width:600px;margin:20px auto;padding:0 20px;color:#626a7c;font-size:13px;line-height:1.6}.shared-login-note a{color:#174c91;text-decoration:underline}.shared-mini{font-size:12px;color:#687083}.shared-shell [hidden]{display:none!important}@media(max-width:700px){.shared-content{padding:20px 14px}.shared-grid{grid-template-columns:1fr}.shared-header .shared-user{margin-left:0;width:100%}.shared-header{padding:12px!important}.shared-header select{flex:1;min-width:0}.shared-summary{align-items:center;padding:14px}.shared-summary strong{font-size:20px}.shared-actions button{flex:1}.shared-shell dialog{padding:20px 16px}.shared-order{padding:16px}}

/* Approved PWA shell, with assigned server roles and shared records. */
.shared-shell #shared-root>.card{max-width:600px;margin:60px auto}.shared-shell .shared-main{min-height:100vh}.shared-main header .context{font-size:13px;flex-wrap:wrap;align-items:center}.shared-main header .context span{padding:8px 10px;background:#f7f9fc;border:1px solid #e3e6ef;border-radius:7px}.shared-main header select{max-width:280px}.shared-main .shared-order .shared-actions{margin-bottom:0}.shared-shell #nav button{width:100%}.shared-shell dialog:has(#productmasterform){max-width:1180px}.shared-shell .shared-form .switchlabel{flex-direction:row;align-items:center}.shared-shell .switchlabel input{width:auto}.shared-shell .shared-form .tierrow label{margin:0}.shared-shell .shared-form .tierrow input{margin-top:8px}.shared-shell .shared-form .tieridentity{display:grid;grid-template-columns:1fr 1fr}.shared-shell #shared-import-plan{margin-top:24px}.shared-shell #shared-import-apply{margin-top:20px}.shared-shell .shared-main .subtabs{display:flex;flex-direction:row}.shared-shell .task>div:first-child{flex:1}.shared-shell .shared-main footer{gap:12px}.shared-shell .shared-login-note{font-size:12px}.shared-shell #shared-root:has(.aryen-login-shell) main{margin:0}
@media(max-width:850px){.shared-main header .role{width:100%;display:flex;flex-wrap:wrap}.shared-main header select{max-width:100%;min-width:0;flex:1}.shared-main .context{flex:1}.shared-main #menu{display:block}.shared-main header{gap:10px}.shared-main .shared-summary{flex-wrap:wrap}.shared-shell .shared-form .tierrow{grid-template-columns:1fr 1fr}.shared-shell .shared-main #content{padding:22px 16px}.shared-shell .shared-main .heading .actions{width:100%}}

.workspace-options{position:relative}.workspace-options summary{display:none}.workspace-options:not([open])>.role{display:flex}.shared-shell .shared-main .subtabs button{border:1px solid #e3e6ef;color:#174c91;background:white}.shared-shell .shared-main .subtabs button.active{background:#174c91;color:white}.shared-shell .brand{cursor:pointer}
@media(max-width:850px){.workspace-options summary{display:block;cursor:pointer;border:1px solid #e3e6ef;border-radius:8px;padding:8px 12px;font-size:13px}.workspace-options:not([open])>.role{display:none}.workspace-options[open]>.role{position:absolute;right:0;top:100%;min-width:min(340px,calc(100vw - 32px));background:white;padding:14px;border:1px solid #e3e6ef;border-radius:10px;box-shadow:0 10px 30px #17264a20}.shared-main header>.context span:not(:first-child){display:none}.shared-main header .context span:first-child{background:none;border:0;padding:0}.shared-main header .context{font-size:12px}.shared-main header .workspace-options{margin-left:auto}.shared-shell .shared-form .shared-grid{grid-template-columns:1fr}.shared-shell .shared-summary{position:sticky;bottom:0}.shared-shell .shared-order .shared-actions button{flex:auto}.shared-main header #shared-membership{flex-basis:100%}}

@media(max-width:850px){.shared-main header{display:flex;flex-wrap:nowrap}.shared-main header>.context{min-width:0;flex:1}.shared-main header>.context span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-options{flex-shrink:0}.workspace-options summary{white-space:nowrap;font-size:12px}.shared-main header #menu{flex-shrink:0}}
.shared-shell .shared-main header>.workspace-options{display:block;flex:0 0 auto;border:0;background:transparent;position:relative}.shared-shell .shared-main header>.context{display:flex;gap:8px;flex-wrap:nowrap;min-width:0}.shared-shell .shared-main header>.workspace-options>.role{margin:0}.shared-shell .shared-main header>.workspace-options>summary{display:none}
@media(max-width:1200px) and (min-width:851px){.shared-main header>.context span:not(:first-child){display:none}.shared-main header #shared-membership{max-width:230px}}
@media(max-width:850px){.shared-shell .shared-main header>.workspace-options>summary{display:block;white-space:nowrap;font-size:12px;padding:8px 10px;min-height:0;list-style:none}.shared-shell .shared-main header>.workspace-options[open]>summary{border-bottom:1px solid #e3e6ef}.shared-shell .shared-main header>.context span:first-child{flex:1;min-width:0}.shared-shell .shared-main header>.workspace-options[open]>.role{margin:0}.shared-shell .shared-main .eyebrow{font-size:11px}.shared-shell .shared-main .heading .actions{align-items:flex-start}}
