.app-modal-overlay{z-index:1200;background:#00000073;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.app-modal{background:var(--surface,#fff);border:1px solid var(--border,#e9ecef);border-radius:2px;width:min(560px,100%);max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 18px 60px #0003}.app-modal-dialog{color:var(--ink,#343a40);outline:none}.app-modal-header{min-height:var(--app-header-height);border-bottom:1px solid var(--border,#e9ecef);justify-content:space-between;align-items:center;gap:16px;padding:5px 24px;display:flex}.app-modal-header h2{min-width:0;font-size:var(--font-size-title);white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;overflow:hidden}.app-modal-close{width:36px;height:36px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:2px;flex:0 0 36px;justify-content:center;align-items:center;margin-left:auto;padding:8px;display:inline-flex}.app-modal-body{overflow-wrap:anywhere;padding:20px 24px}.app-modal-body>:first-child{margin-top:0}.app-modal-footer{min-height:var(--app-footer-height);border-top:1px solid var(--border,#e9ecef);justify-content:flex-end;align-items:center;gap:var(--space-sm);flex-wrap:wrap;padding:3px 24px;display:flex}.app-modal-footer button{width:auto;height:var(--control-height);border:1px solid var(--border,#e9ecef);background:var(--surface,#fff);color:inherit;cursor:pointer;font:inherit;border-radius:2px;padding:6px 12px;line-height:20px}.app-modal-footer button.primary{background:var(--brand);border-color:var(--brand);color:var(--surface)}.app-modal-footer button.primary:hover:not(:disabled){background:var(--brand-dark);border-color:var(--brand-dark)}.app-modal-footer button.secondary:hover:not(:disabled){background:var(--background)}.app-modal :focus-visible{outline-offset:3px;outline:2px solid #7a4e1d}.form-error-list{margin:0;padding-left:20px}.form-error-list li+li{margin-top:12px}.form-error-link{color:#7a4e1d;font:inherit;text-align:left;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.form-control{min-width:0}.app-header{--header-background:var(--brand);--header-foreground:#fff;z-index:20;align-items:center;gap:var(--space-lg);height:var(--app-header-height);min-height:var(--app-header-height);border:1px solid var(--header-background);background:var(--header-background);color:var(--header-foreground);font-size:var(--font-size-header);border-radius:0;padding:5px 16px;display:flex;position:sticky}.app-header .brand{align-items:center;gap:var(--space-sm);width:auto;color:var(--header-foreground);text-align:left;background:0 0;border:0;border-radius:0;flex:none;padding:0;display:flex}.header-app-title{min-width:0;padding-left:var(--space-lg);color:var(--header-foreground);white-space:nowrap;text-overflow:ellipsis;font-family:var(--font-heading);font-size:var(--font-size-header);text-transform:capitalize;border-left:1px solid #fff6;font-weight:600;overflow:hidden}.header-account-actions{align-items:center;gap:var(--space-lg);flex:none;margin-left:auto;display:flex;position:relative}.account-menu{flex:none;position:relative}.account-menu>summary{align-items:center;gap:var(--space-sm);cursor:pointer;border-radius:30px;list-style:none;display:flex}.account-menu>summary::-webkit-details-marker{display:none}.account-avatar{border:1px solid var(--header-foreground);width:36px;height:36px;color:var(--header-foreground);font-size:var(--font-size-header);background:0 0;border-radius:50%;place-items:center;font-weight:600;display:grid}.account-popover{background:var(--surface);border:1px solid var(--line);overflow-wrap:anywhere;width:280px;max-width:calc(100vw - 32px);font-size:var(--font-size-body);color:var(--ink);border-radius:10px;flex-direction:column;gap:8px;padding:20px;display:flex;position:absolute;top:calc(100% + 14px);right:0;box-shadow:0 10px 32px #343a4018}.account-popover>span{font-size:var(--font-size-small);color:var(--muted)}.account-popover>button{margin-top:8px}.signout-confirm-actions{justify-content:flex-end;gap:var(--space-sm);flex-wrap:wrap;display:flex}.signout-confirm-actions button{width:auto}.signout-confirm-actions button[type=submit]{background:var(--brand);border-color:var(--brand);color:var(--surface)}.app-header .mobile-navigation-toggle{display:none}@media (width<=900px){.app-header{gap:var(--space-lg);padding:5px 16px}.header-app-title{padding-left:16px}}@media (width<=700px){.app-header{gap:var(--space-sm);padding:5px 8px;top:6px}.app-header .mobile-navigation-toggle{width:36px;height:36px;color:var(--header-foreground);background:0 0;border:1px solid #fff6;place-items:center;padding:0;display:grid}.header-account-actions{gap:var(--space-sm)}.header-app-title{flex:1;padding-left:8px}}.brand-logo{object-fit:contain;width:40px;height:40px;display:block}.brand-wordmark{font-family:var(--font-heading);flex-direction:column;line-height:1.25;display:flex}.brand-wordmark strong{font-size:var(--font-size-navigation);font-weight:600}.brand-wordmark>span{font-size:var(--font-size-caption);letter-spacing:3px}@media (width<=900px){.brand-wordmark strong{font-size:var(--font-size-section)}}@media (width<=700px){.app-header .brand{gap:6px}.brand-logo{width:38px;height:38px}.brand-wordmark strong{font-size:var(--font-size-body)}.brand-wordmark>span{font-size:var(--font-size-caption);letter-spacing:2px}}.app-header .brand-logo{filter:brightness(0)invert();width:36px;height:36px}.app-header .brand-wordmark{line-height:1.1}.app-header .brand-wordmark strong,.app-header .brand-wordmark>span{font-size:var(--font-size-header)}@media (width<=700px){.app-header .brand-wordmark{display:none}}.app-header .app-launcher-trigger,.app-header .utilities-menu>summary{color:var(--header-foreground)}.app-header .app-launcher-trigger:hover,.app-header .app-launcher-trigger[data-pressed],.app-header .utilities-menu>summary:hover,.app-header .utilities-menu[open]>summary,.app-header .mobile-navigation-toggle:hover{color:var(--header-foreground);background:#ffffff1f}.app-header .utility-panel{color:var(--ink)}.app-shell .app-header>button:focus-visible,.app-shell .app-header .utilities-menu>summary:focus-visible,.app-shell .app-header .account-menu>summary:focus-visible{outline-color:var(--header-foreground)}.app-utilities{align-items:center;gap:8px;display:flex}.utilities-menu{position:relative}.utilities-menu>summary{width:36px;height:36px;color:var(--brand);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;list-style:none;display:flex}.utilities-menu>summary:hover,.utilities-menu[open]>summary{color:var(--brand-dark);background:var(--background)}.utilities-menu summary::-webkit-details-marker{display:none}.utility-panel{z-index:1;background:var(--surface);border:1px solid var(--line);border-radius:8px;width:260px;max-width:calc(100vw - 32px);max-height:min(420px,55svh);padding:6px 16px;position:absolute;top:calc(100% + 10px);right:0;overflow:auto;box-shadow:0 6px 24px #343a4014}.utility-panel>*+*{border-top:1px solid var(--line)}.utility-config a{color:var(--ink);font-size:var(--font-size-body);padding:14px 0;text-decoration:none;display:block}.utility-config a:hover{color:var(--brand)}.utility-config a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.utility-reload button{color:var(--ink);font-size:var(--font-size-body);text-align:left;background:0 0;border:0;border-radius:0;padding:14px 0;font-weight:400}.utility-reload button:hover:not(:disabled){color:var(--brand)}.utility-help>summary{font-size:var(--font-size-body);cursor:pointer;padding:14px 0;list-style:none}.utility-help>div{font-size:var(--font-size-small);color:var(--muted);line-height:1.6}.utility-help a{color:var(--brand);text-underline-offset:3px}.utility-help a:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.utility-language{font-size:var(--font-size-body);justify-content:space-between;padding:14px 0;display:flex}.utility-language .language-select{width:100%}@media (width<=700px){.utilities-menu{position:static}.utility-panel{right:0}}.loading-element{color:var(--muted);font-size:var(--font-size-body);text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex}.loading-spinner{border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite loading-spin}@keyframes loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.loading-spinner{animation:none}}.app-header .app-launcher-trigger,.app-launcher-close{width:36px;height:36px;color:var(--brand);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;padding:0;display:grid}.app-header .app-launcher-trigger{width:32px;height:32px;color:var(--header-foreground,#fff);padding:0}.app-launcher-trigger>span{padding:0;line-height:0;display:flex}.app-launcher-trigger:hover,.app-launcher-trigger[data-pressed],.app-launcher-close:hover{background:var(--selected)}.app-launcher-trigger:focus-visible,.app-launcher-close:focus-visible,.company-app-tile:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.app-launcher-overlay{z-index:900;background:var(--surface);position:fixed;inset:0}.app-launcher-modal{background:var(--surface);width:100%;height:100dvh;overflow:hidden}.app-launcher-dialog{outline:none;flex-direction:column;height:100%;display:flex}.app-launcher-heading{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:12px;padding:12px 24px;display:flex}.app-launcher-heading .app-launcher-brand{color:var(--brand);font-family:var(--font-heading);font-size:var(--font-size-title);flex-wrap:wrap;align-items:center;gap:20px;margin:0;font-weight:600;display:flex}.app-launcher-logo{align-items:center;gap:11px;display:flex}.app-launcher-title{border-left:1px solid var(--line);text-transform:uppercase;padding-left:20px}.app-launcher-search{border:1px solid var(--line);width:100%;max-width:560px;color:var(--muted);border-radius:6px;flex:none;align-items:center;gap:8px;padding:0 10px;display:flex}.app-launcher-search:focus-within{outline:2px solid var(--brand);outline-offset:-1px}.app-launcher-search input{width:100%;min-width:0;box-shadow:none;background:0 0;border:0;outline:none;padding:9px 0}.app-launcher-search input:focus{box-shadow:none;outline:none}.app-launcher-count{color:var(--muted);font-size:var(--font-size-small);white-space:nowrap;margin:0}.app-directory-toolbar{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 24px;display:flex}.app-directory-refresh{flex:none;width:auto}.app-directory-status{text-align:center;color:var(--muted);flex:1;place-items:center;padding:24px;display:grid}.app-directory{flex:1;grid-template-columns:minmax(220px,19%) minmax(240px,20%) minmax(0,1fr);min-height:0;display:grid}.app-directory>section{flex-direction:column;min-width:0;min-height:0;padding:20px;display:flex}.app-directory h3{border-bottom:1px solid var(--line);color:var(--muted);font-size:var(--font-size-caption);letter-spacing:1px;text-transform:uppercase;flex:none;margin:0 0 18px;padding-bottom:14px;font-weight:600}.app-directory-departments{border-right:1px solid var(--line);background:#f8f9fa}.app-directory-modules{border-right:1px solid var(--line);background:#f1f3f5}.app-directory-scroll{overscroll-behavior:contain;min-height:0;margin:0;padding:3px;list-style:none;overflow-y:auto}.app-department-group+.app-department-group{margin-top:24px}.app-department-group h4{border-left:3px solid var(--brand);font-size:var(--font-size-small);color:var(--muted);text-transform:uppercase;margin:0 0 12px;padding-left:10px}.app-department-group ul{margin:0;padding:0;list-style:none}.app-directory-scroll li+li{margin-top:10px}.app-directory-option{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);text-align:left;overflow-wrap:anywhere;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:14px 12px;display:flex}.app-directory-option>svg{flex:none}.app-directory-option:hover{border-color:var(--brand);background:var(--selected)}.app-directory-option[aria-pressed=true]{border-color:var(--brand);background:var(--selected);color:var(--brand);box-shadow:inset 3px 0 var(--brand)}.app-directory-option:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.app-module-option{flex-direction:column;align-items:flex-start;gap:8px;padding:18px 14px}.app-module-option small{color:var(--muted);font-size:var(--font-size-caption);font-weight:400}.app-process-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:20px;display:flex}.app-process-summary>span{color:var(--muted);font-size:var(--font-size-small)}.app-process-list{margin:0;padding:0;list-style:none}.app-process-list>li{align-items:flex-start;gap:14px;padding-bottom:20px;display:flex;position:relative}.app-process-list>li:not(:last-child):before{content:"";background:var(--line);width:1px;position:absolute;top:36px;bottom:-22px;left:13px}.app-process-step{z-index:1;border:1px solid var(--line);background:var(--surface);width:28px;height:28px;color:var(--brand);font-size:var(--font-size-caption);border-radius:50%;flex:none;place-items:center;margin-top:14px;display:grid}.company-app-tile{min-width:0;color:var(--ink);text-align:left;border:1px solid #0000;border-radius:8px;flex:1;align-items:center;gap:14px;padding:12px;text-decoration:none;display:flex}a.company-app-tile:hover{background:var(--selected);border-color:var(--brand)}.company-app-icon{background:var(--selected);border-radius:10px;flex:none;place-items:center;width:44px;height:44px;font-size:26px;display:grid}.company-app-info{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.company-app-name{-webkit-line-clamp:2;overflow-wrap:anywhere;font-size:var(--font-size-body);-webkit-box-orient:vertical;font-weight:600;display:-webkit-box;overflow:hidden}.company-app-pending{font-size:var(--font-size-caption);color:var(--muted)}.app-launcher-empty{text-align:center;color:var(--muted);padding:24px 0}@media (width<=800px){.app-directory{flex-direction:column;display:flex;overflow-y:auto}.app-directory>section{border-right:0;border-bottom:1px solid var(--line);flex:none;padding:16px}.app-directory-scroll{overflow:visible}.app-directory-toolbar{flex-wrap:wrap}.app-launcher-search{min-width:0}}@media (width<=450px){.app-launcher-heading .app-launcher-brand{font-size:var(--font-size-section);gap:12px}.app-launcher-logo{gap:6px}.app-launcher-title{padding-left:12px}.app-launcher-heading,.app-directory-toolbar{padding:12px}.app-header .brand-wordmark{display:none}}button,select{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);border-radius:4px;padding:7px 12px}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button:hover:not(:disabled){border-color:var(--brand)}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.shell-layout{background:var(--surface);flex-direction:column;height:100dvh;min-height:0;display:flex}.shell-footer{border-top:1px solid var(--line);color:var(--muted);flex:none;padding:8px 24px}.auth-shell{place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-card{border:1px solid var(--line);background:var(--surface);text-align:center;width:min(100%,380px);padding:32px}.auth-logo{object-fit:contain;width:110px;height:110px}.auth-card h1{font-size:22px}.auth-card form,.auth-card select{margin:16px 0}.auth-card form button{width:100%}.signout-actions{gap:8px;padding:4px 0;display:flex}.shell-layout>.app-header{flex-shrink:0;top:0}.app-header .app-launcher-trigger{min-height:32px}.app-header button{border-color:#0000}.app-header :focus-visible{outline-color:#fff}.app-header .utility-panel :focus-visible,.app-header .account-popover :focus-visible{outline-color:var(--brand)}.language-select{justify-content:space-between;align-items:center;gap:8px;display:flex}.shell-app-content{flex-direction:column;flex:1;min-height:0;display:flex}.shell-app-frame{background:var(--background);border:0;flex:1;width:100%;min-height:0}.shell-embed-notice{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:8px 16px;display:flex}.shell-directory-overlay{top:var(--app-header-height)}.shell-directory-overlay .app-launcher-modal{height:100%}.shell-directory-overlay .app-launcher-heading{justify-content:space-between;padding:8px 16px}:root{--brand:#7a4e1d;--brand-dark:#5b3e1c;--brand-accent:#c89a5b;--selected:#e7d7c1;--ink:#343a40;--muted:#6c757d;--line:#e9ecef;--background:#f8f9fa;--surface:#fff;--scrollbar-size:6px;--scrollbar-thumb:#b4b9be;--font-family:"Segoe UI", "Segoe UI Variable", system-ui, -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;--font-heading:var(--font-family);--font-body:var(--font-family);--font-size-caption:13px;--font-size-small:13px;--font-size-body:13px;--font-size-section:13px;--font-size-navigation:16px;--font-size-header:16px;--font-size-title:13px;--font-size-page:22px;--line-height-body:20px;--line-height-caption:16px;--line-height-title:28px;--space-xs:4px;--space-sm:8px;--space-md:12px;--space-lg:16px;--space-xl:24px;--space-2xl:32px;--control-height:36px;--table-row-height:48px;--app-header-height:48px;--app-footer-height:44px}::-webkit-scrollbar{width:var(--scrollbar-size);height:var(--scrollbar-size)}::-webkit-scrollbar-track{background:var(--background)}::-webkit-scrollbar-corner{background:var(--background)}::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-size);background:var(--scrollbar-thumb)}::-webkit-scrollbar-thumb:hover{background:var(--muted)}::-webkit-scrollbar-button{width:0;height:0;display:none}@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--background)}}:root{font-family:var(--font-body);color:var(--ink);background:var(--background);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--font-size-body);line-height:1.53846}*{box-sizing:border-box}body{min-width:320px;margin:0}h1,h2,h3,h4,h5,h6,legend{font-family:var(--font-heading)}input,textarea,select,button{font:inherit}h2{font-size:var(--font-size-title)}h3,h4,h5,h6,legend{font-size:var(--font-size-section)}h1,h2,h3,h4,h5,h6,legend{font-weight:600;line-height:1.4}small{font-size:var(--font-size-small);line-height:var(--line-height-caption)}
