:root,[data-theme=light]{--portal-bg-primary:#fff;--portal-bg-secondary:#f7f8fa;--portal-bg-card:#fff;--portal-text-primary:#0f1d32;--portal-text-secondary:#374151;--portal-text-tertiary:#6b7280;--portal-border:#00000014;--portal-border-hover:#00000026;--portal-accent:#0f1d32;--portal-accent-hover:#1a2d47;--portal-accent-10:#0f1d320f;--portal-accent-text:#fff;--portal-logo-filter:none;--portal-bg-sidebar:#f7f8fa;--portal-bg-status-success:#22c55e1a;--portal-bg-status-warning:#f59e0b1a;--portal-bg-status-error:#ef44441a;--portal-bg-status-info:#3b82f61a;--portal-text-status-success:#16a34a;--portal-text-status-warning:#d97706;--portal-text-status-error:#dc2626;--portal-text-status-info:#2563eb}[data-theme=dark]{--portal-bg-primary:#0f1d32;--portal-bg-secondary:#0a1628;--portal-bg-card:#162540;--portal-text-primary:#fff;--portal-text-secondary:#d1d5db;--portal-text-tertiary:#9ca3af;--portal-border:#ffffff14;--portal-border-hover:#ffffff26;--portal-accent:#fff;--portal-accent-hover:#ffffffd9;--portal-accent-10:#ffffff14;--portal-accent-text:#0f1d32;--portal-logo-filter:brightness(0) invert(1);--portal-bg-sidebar:#0a1628;--portal-bg-status-success:#22c55e26;--portal-bg-status-warning:#f59e0b26;--portal-bg-status-error:#ef444426;--portal-bg-status-info:#3b82f626;--portal-text-status-success:#4ade80;--portal-text-status-warning:#fbbf24;--portal-text-status-error:#f87171;--portal-text-status-info:#60a5fa}.portal-shell{color:var(--portal-text-primary);background-color:var(--portal-bg-primary);min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;line-height:1.5;transition:background-color .3s,color .3s}.portal-shell a{color:inherit;text-decoration:none}.portal-shell button{cursor:pointer;font-family:inherit;font-size:inherit;color:inherit;background:0 0;border:none}.portal-shell ul,.portal-shell ol{margin:0;padding:0;list-style:none}.portal-shell img{max-width:100%;display:block}.portal-shell input,.portal-shell select,.portal-shell textarea{font-family:inherit;font-size:inherit}.portal-shell h1{color:var(--portal-text-primary);font-size:28px;font-weight:600;line-height:1.2}.portal-shell h2{color:var(--portal-text-primary);font-size:22px;font-weight:500;line-height:1.3}.portal-shell h3{color:var(--portal-text-primary);font-size:18px;font-weight:500;line-height:1.4}.portal-shell h4{color:var(--portal-text-primary);font-size:16px;font-weight:500;line-height:1.4}.portal-shell .text-sm{font-size:13px}.portal-shell .text-xs{font-size:12px}.portal-shell .text-secondary{color:var(--portal-text-secondary)}.portal-shell .text-tertiary{color:var(--portal-text-tertiary)}.portal-shell .btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;text-decoration:none;transition:all .2s;display:inline-flex}.portal-shell .btn-primary{background-color:var(--portal-accent);color:var(--portal-accent-text)}.portal-shell .btn-primary:hover{background-color:var(--portal-accent-hover)}.portal-shell .btn-primary:disabled{opacity:.5;cursor:not-allowed}.portal-shell .btn-secondary{border:1px solid var(--portal-border);color:var(--portal-text-primary);background:0 0}.portal-shell .btn-secondary:hover{border-color:var(--portal-border-hover)}.portal-shell .btn-ghost{color:var(--portal-text-secondary);background:0 0;padding:8px 12px}.portal-shell .btn-ghost:hover{color:var(--portal-text-primary)}.portal-shell .btn-sm{padding:6px 14px;font-size:13px}.portal-shell .btn-icon{border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:flex}.portal-shell .portal{min-height:100vh;padding-top:64px;display:flex}.portal-shell .portal-header{background-color:var(--portal-bg-primary);border-bottom:1px solid var(--portal-border);z-index:100;height:64px;transition:background-color .3s,border-color .3s;position:fixed;top:0;left:0;right:0}.portal-shell .portal-header__inner{justify-content:space-between;align-items:center;height:100%;padding:0 24px;display:flex}.portal-shell .portal-header__left{align-items:center;gap:24px;display:flex}.portal-shell .portal-header__logo{width:auto;height:32px;filter:var(--portal-logo-filter);transition:filter .3s}.portal-shell .portal-header__logo-text{letter-spacing:-.02em;color:var(--portal-text-primary);font-size:18px;font-weight:700}.portal-shell .portal-header__mode-switch{background:var(--portal-bg-secondary);border:1px solid var(--portal-border);border-radius:10px;gap:4px;padding:4px;display:flex}.portal-shell .portal-header__mode-btn{color:var(--portal-text-secondary);border-radius:8px;align-items:center;gap:6px;padding:6px 16px;font-size:13px;font-weight:500;transition:all .2s;display:flex}.portal-shell .portal-header__mode-btn.is-active{background-color:var(--portal-accent);color:var(--portal-accent-text)}.portal-shell .portal-header__mode-btn svg{width:16px;height:16px}.portal-shell .portal-header__right{align-items:center;gap:8px;display:flex}.portal-shell .portal-header__notif{width:36px;height:36px;color:var(--portal-text-secondary);border-radius:8px;justify-content:center;align-items:center;transition:color .2s;display:flex;position:relative}.portal-shell .portal-header__notif:hover{color:var(--portal-text-primary)}.portal-shell .portal-header__notif svg{width:20px;height:20px}.portal-shell .portal-header__badge{background:var(--portal-text-status-error);border:2px solid var(--portal-bg-primary);border-radius:50%;width:8px;height:8px;position:absolute;top:6px;right:6px}.portal-shell .portal-header__theme{width:36px;height:36px;color:var(--portal-text-secondary);border-radius:8px;justify-content:center;align-items:center;transition:color .2s;display:flex}.portal-shell .portal-header__theme:hover{color:var(--portal-text-primary)}.portal-shell .portal-header__theme svg{width:18px;height:18px}.portal-shell [data-theme=light] .theme-icon--sun,[data-theme=light] .portal-shell .theme-icon--sun{display:none}.portal-shell [data-theme=light] .theme-icon--moon,[data-theme=light] .portal-shell .theme-icon--moon,.portal-shell [data-theme=dark] .theme-icon--sun,[data-theme=dark] .portal-shell .theme-icon--sun{display:block}.portal-shell [data-theme=dark] .theme-icon--moon,[data-theme=dark] .portal-shell .theme-icon--moon{display:none}.portal-shell .portal-header__avatar{position:relative}.portal-shell .portal-header__avatar-btn{background-color:var(--portal-accent);width:36px;height:36px;color:var(--portal-accent-text);border-radius:50%;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex}.portal-shell .portal-header__dropdown{background:var(--portal-bg-card);border:1px solid var(--portal-border);z-index:200;border-radius:12px;min-width:180px;display:none;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden}.portal-shell .portal-header__dropdown.is-open{display:block}.portal-shell .portal-header__dropdown-item{color:var(--portal-text-secondary);text-align:left;align-items:center;gap:10px;width:100%;padding:12px 16px;font-size:14px;transition:background-color .15s;display:flex}.portal-shell .portal-header__dropdown-item:hover{background-color:var(--portal-bg-secondary)}.portal-shell .portal-header__dropdown-item svg{flex-shrink:0;width:16px;height:16px}.portal-shell .portal-header__dropdown-divider{background:var(--portal-border);height:1px}.portal-shell .sidebar{background:var(--portal-bg-sidebar);border-right:1px solid var(--portal-border);z-index:50;width:240px;padding:16px 0;transition:background-color .3s,border-color .3s,width .3s;position:fixed;top:64px;bottom:0;left:0;overflow-y:auto}.portal-shell .sidebar__nav{flex-direction:column;gap:2px;padding:0 8px;display:flex}.portal-shell .sidebar__link{color:var(--portal-text-secondary);border-left:3px solid #0000;border-radius:8px;align-items:center;gap:12px;padding:10px 16px;font-size:14px;font-weight:400;text-decoration:none;transition:all .15s;display:flex}.portal-shell .sidebar__link:hover{background-color:var(--portal-bg-secondary);color:var(--portal-text-primary)}.portal-shell .sidebar__link.is-active{background-color:var(--portal-accent-10);color:var(--portal-accent);border-left-color:var(--portal-accent);font-weight:500}.portal-shell .sidebar__link svg{flex-shrink:0;width:20px;height:20px}.portal-shell .sidebar__link-text{white-space:nowrap;overflow:hidden}.portal-shell .sidebar__divider{background:var(--portal-border);height:1px;margin:12px 16px}.portal-shell .main-content{flex:1;min-height:calc(100vh - 64px);margin-left:240px;padding:32px;transition:margin-left .3s}.portal-shell .page-header{margin-bottom:32px}.portal-shell .page-header h1{margin-bottom:4px}.portal-shell .page-header p{color:var(--portal-text-tertiary);font-size:14px}.portal-shell .card{background:var(--portal-bg-card);border:1px solid var(--portal-border);border-radius:12px;padding:24px;transition:border-color .2s,background-color .3s}.portal-shell .card:hover{border-color:var(--portal-border-hover)}.portal-shell .card-grid{gap:16px;display:grid}.portal-shell .card-grid--2{grid-template-columns:repeat(2,1fr)}.portal-shell .card-grid--3{grid-template-columns:repeat(3,1fr)}.portal-shell .card-grid--4{grid-template-columns:repeat(4,1fr)}.portal-shell .card__header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.portal-shell .card__icon-wrap{background:var(--portal-accent-10);width:40px;height:40px;color:var(--portal-accent);border-radius:10px;justify-content:center;align-items:center;display:flex}.portal-shell .card__icon-wrap svg{width:20px;height:20px}.portal-shell .card__value{color:var(--portal-text-primary);margin-bottom:4px;font-size:28px;font-weight:600}.portal-shell .card__label{color:var(--portal-text-tertiary);font-size:13px}.portal-shell .badge{white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:500;display:inline-flex}.portal-shell .badge--success{background:var(--portal-bg-status-success);color:var(--portal-text-status-success)}.portal-shell .badge--warning{background:var(--portal-bg-status-warning);color:var(--portal-text-status-warning)}.portal-shell .badge--error{background:var(--portal-bg-status-error);color:var(--portal-text-status-error)}.portal-shell .badge--info{background:var(--portal-bg-status-info);color:var(--portal-text-status-info)}.portal-shell .badge--accent{background:var(--portal-accent-10);color:var(--portal-accent)}.portal-shell .badge--neutral{background:var(--portal-bg-secondary);color:var(--portal-text-tertiary)}.portal-shell .badge--active{background:var(--portal-accent-10);color:var(--portal-accent)}.portal-shell .badge__dot{background:currentColor;border-radius:50%;width:6px;height:6px}.portal-shell .alert-card{border:1px solid;border-radius:12px;align-items:flex-start;gap:12px;padding:16px;display:flex}.portal-shell .alert-card--warning{background:var(--portal-bg-status-warning);border-color:var(--portal-text-status-warning)}.portal-shell .alert-card--info{background:var(--portal-bg-status-info);border-color:var(--portal-text-status-info)}.portal-shell .alert-card--success{background:var(--portal-bg-status-success);border-color:var(--portal-text-status-success)}.portal-shell .alert-card__icon{flex-shrink:0;width:20px;height:20px}.portal-shell .alert-card__text{font-size:14px;line-height:1.5}.portal-shell .alert-card__text strong{font-weight:500}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.portal-shell .content-tabs{border-bottom:1px solid var(--portal-border);-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:4px;margin-bottom:24px;display:flex;overflow-x:auto}.portal-shell .content-tabs::-webkit-scrollbar{display:none}.portal-shell .content-tab{color:var(--portal-text-tertiary);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:10px 16px;font-size:14px;font-weight:500;transition:color .15s,border-color .15s;display:inline-flex}.portal-shell .content-tab:hover{color:var(--portal-text-primary)}.portal-shell .content-tab.is-active{color:var(--portal-accent);border-bottom-color:var(--portal-accent)}.portal-shell .content-tab svg{width:16px;height:16px}.portal-shell .content-tab__panel{display:none}.portal-shell .content-tab__panel.is-active{display:block}.portal-shell .detail-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.portal-shell .detail-grid--full{grid-column:1/-1}.portal-shell .detail-row{border-bottom:1px solid var(--portal-border);justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;display:flex}.portal-shell .detail-row:last-child{border-bottom:none}.portal-shell .detail-row__label{color:var(--portal-text-tertiary);font-size:13px}.portal-shell .detail-row__value{color:var(--portal-text-primary);text-align:right;font-size:14px;font-weight:500}.portal-shell .detail-row__value--emphasis{font-size:16px;font-weight:600}.portal-shell .data-table{border-collapse:collapse;width:100%}.portal-shell .data-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:var(--portal-text-tertiary);border-bottom:1px solid var(--portal-border);padding:12px 16px;font-size:12px;font-weight:500}.portal-shell .data-table td{color:var(--portal-text-secondary);border-bottom:1px solid var(--portal-border);vertical-align:middle;padding:14px 16px;font-size:14px}.portal-shell .data-table tr:hover td{background-color:var(--portal-bg-secondary)}.portal-shell .data-table tr{cursor:pointer;transition:background-color .15s}.portal-shell .data-table__method{align-items:center;gap:6px;display:flex}.portal-shell .data-table__method svg{width:16px;height:16px;color:var(--portal-text-tertiary)}.portal-shell .data-table__actions .btn{font-size:13px}.portal-shell .filters{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px;display:flex}.portal-shell .filter-group{background:var(--portal-bg-secondary);border:1px solid var(--portal-border);border-radius:8px;gap:4px;padding:3px;display:flex}.portal-shell .filter-btn{color:var(--portal-text-secondary);border-radius:6px;padding:6px 14px;font-size:13px;font-weight:500;transition:all .15s}.portal-shell .filter-btn.is-active{background:var(--portal-bg-card);color:var(--portal-text-primary);border:1px solid var(--portal-border)}.portal-shell .filter-search{flex:1;max-width:280px;position:relative}.portal-shell .filter-search__input{border:1px solid var(--portal-border);background:var(--portal-bg-card);width:100%;color:var(--portal-text-primary);border-radius:8px;padding:8px 12px 8px 36px;font-size:13px;transition:border-color .2s}.portal-shell .filter-search__input::placeholder{color:var(--portal-text-tertiary)}.portal-shell .filter-search__input:focus{border-color:var(--portal-accent);outline:none}.portal-shell .filter-search__icon{width:16px;height:16px;color:var(--portal-text-tertiary);position:absolute;top:50%;left:10px;transform:translateY(-50%)}.portal-shell .timeline{padding-left:32px;position:relative}.portal-shell .timeline:before{content:"";background:var(--portal-border);width:2px;position:absolute;top:0;bottom:0;left:11px}.portal-shell .timeline__item{padding-bottom:32px;position:relative}.portal-shell .timeline__item:last-child{padding-bottom:0}.portal-shell .timeline__dot{z-index:1;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex;position:absolute;top:2px;left:-32px}.portal-shell .timeline__dot--completed{background:var(--portal-accent)}.portal-shell .timeline__dot--completed svg{width:12px;height:12px;color:var(--portal-accent-text)}.portal-shell .timeline__dot--current{background:var(--portal-accent);animation:2s infinite portal-pulse-dot}.portal-shell .timeline__dot--current svg{width:12px;height:12px;color:var(--portal-accent-text)}@keyframes portal-pulse-dot{0%,to{box-shadow:0 0 #ff7a2366}50%{box-shadow:0 0 0 8px #ff7a2300}}.portal-shell .timeline__dot--future{background:var(--portal-bg-secondary);border:2px solid var(--portal-border)}.portal-shell .timeline__title{color:var(--portal-text-primary);margin-bottom:4px;font-size:14px;font-weight:500}.portal-shell .timeline__item--future .timeline__title{color:var(--portal-text-tertiary)}.portal-shell .timeline__date{color:var(--portal-text-tertiary);margin-bottom:8px;font-size:12px}.portal-shell .timeline__comment{color:var(--portal-text-secondary);background:var(--portal-bg-secondary);border-radius:8px;margin-top:8px;padding:8px 12px;font-size:13px}.portal-shell .timeline__photos{gap:8px;margin-top:8px;display:flex}.portal-shell .timeline__photo{border:1px solid var(--portal-border);cursor:pointer;border-radius:8px;width:64px;height:64px;transition:border-color .2s;overflow:hidden}.portal-shell .timeline__photo:hover{border-color:var(--portal-accent)}.portal-shell .timeline__photo img{object-fit:cover;width:100%;height:100%}.portal-shell .chat-layout{border:1px solid var(--portal-border);border-radius:12px;height:calc(100vh - 128px);display:flex;overflow:hidden}.portal-shell .chat-messages{flex-direction:column;flex:1;display:flex}.portal-shell .chat-messages__header{border-bottom:1px solid var(--portal-border);align-items:center;gap:12px;padding:16px 20px;display:flex}.portal-shell .chat-messages__header-avatar{background:var(--portal-accent);width:32px;height:32px;color:var(--portal-accent-text);border-radius:50%;justify-content:center;align-items:center;font-size:13px;font-weight:600;display:flex}.portal-shell .chat-messages__body{flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.portal-shell .chat-bubble{border-radius:12px;max-width:70%;padding:12px 16px;font-size:14px;line-height:1.5}.portal-shell .chat-bubble--user{background:var(--portal-accent-10);color:var(--portal-text-primary);align-self:flex-end}.portal-shell .chat-bubble--manager{background:var(--portal-bg-card);border:1px solid var(--portal-border);color:var(--portal-text-primary);align-self:flex-start}.portal-shell .chat-bubble__time{color:var(--portal-text-tertiary);margin-top:4px;font-size:11px}.portal-shell .chat-chips{gap:8px;padding:8px 20px;display:flex;overflow-x:auto}.portal-shell .chat-chip{border:1px solid var(--portal-border);color:var(--portal-text-secondary);white-space:nowrap;border-radius:16px;padding:6px 14px;font-size:13px;transition:all .15s;display:inline-flex}.portal-shell .chat-chip:hover{border-color:var(--portal-accent);color:var(--portal-accent)}.portal-shell .chat-input{border-top:1px solid var(--portal-border);align-items:center;gap:8px;padding:12px 20px;display:flex}.portal-shell .chat-input__field{border:1px solid var(--portal-border);background:var(--portal-bg-secondary);color:var(--portal-text-primary);border-radius:8px;flex:1;padding:10px 14px;font-size:14px;transition:border-color .2s}.portal-shell .chat-input__field::placeholder{color:var(--portal-text-tertiary)}.portal-shell .chat-input__field:focus{border-color:var(--portal-accent);outline:none}.portal-shell .chat-input__attach{width:36px;height:36px;color:var(--portal-text-tertiary);justify-content:center;align-items:center;transition:color .2s;display:flex}.portal-shell .chat-input__attach:hover{color:var(--portal-text-primary)}.portal-shell .chat-input__attach svg{width:20px;height:20px}.portal-shell .chat-input__send{background:var(--portal-accent);width:36px;height:36px;color:var(--portal-accent-text);border-radius:8px;justify-content:center;align-items:center;transition:background-color .2s;display:flex}.portal-shell .chat-input__send:hover{background:var(--portal-accent-hover)}.portal-shell .chat-input__send svg{width:18px;height:18px}.portal-shell .form-group{margin-bottom:20px}.portal-shell .form-label{color:var(--portal-text-secondary);margin-bottom:6px;font-size:13px;font-weight:500;display:block}.portal-shell .form-input{border:1px solid var(--portal-border);background:var(--portal-bg-card);width:100%;color:var(--portal-text-primary);border-radius:8px;padding:10px 14px;font-size:14px;transition:border-color .2s,background-color .3s}.portal-shell .form-input::placeholder{color:var(--portal-text-tertiary)}.portal-shell .form-input:focus{border-color:var(--portal-accent);outline:none}.portal-shell .form-input--error{border-color:var(--portal-text-status-error)}.portal-shell .form-input--success{border-color:var(--portal-text-status-success)}.portal-shell .form-error{color:var(--portal-text-status-error);margin-top:4px;font-size:12px}.portal-shell .form-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}.portal-shell .toggle{cursor:pointer;width:44px;height:24px;position:relative}.portal-shell .toggle input{display:none}.portal-shell .toggle__slider{background:var(--portal-border);border-radius:12px;transition:background-color .2s;position:absolute;inset:0}.portal-shell .toggle__slider:before{content:"";background:var(--portal-bg-primary);border-radius:50%;width:18px;height:18px;transition:transform .2s;position:absolute;top:3px;left:3px}.portal-shell .toggle input:checked+.toggle__slider{background:var(--portal-accent)}.portal-shell .toggle input:checked+.toggle__slider:before{transform:translate(20px)}.portal-shell .warehouse-card{border:1px solid var(--portal-border);background:var(--portal-bg-card);text-align:center;border-radius:16px;padding:32px;transition:border-color .3s,background-color .3s}.portal-shell .warehouse-card__label{text-transform:uppercase;letter-spacing:.05em;color:var(--portal-text-tertiary);margin-bottom:12px;font-size:12px;font-weight:500}.portal-shell .warehouse-card__address{color:var(--portal-text-primary);margin-bottom:4px;font-size:20px;font-weight:600}.portal-shell .warehouse-card__address-cn{color:var(--portal-text-tertiary);margin-bottom:16px;font-size:14px}.portal-shell .warehouse-card__id{color:var(--portal-accent);font-weight:600}.portal-shell .warehouse-card__actions{justify-content:center;gap:8px;margin-top:16px;display:flex}.portal-shell .quick-actions{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.portal-shell .quick-action{background:var(--portal-bg-card);border:1px solid var(--portal-border);text-align:center;cursor:pointer;border-radius:12px;flex-direction:column;align-items:center;gap:10px;padding:20px 12px;text-decoration:none;transition:border-color .2s;display:flex}.portal-shell .quick-action:hover{border-color:var(--portal-accent)}.portal-shell .quick-action__icon{background:var(--portal-accent-10);width:40px;height:40px;color:var(--portal-accent);border-radius:10px;justify-content:center;align-items:center;display:flex}.portal-shell .quick-action__icon svg{width:20px;height:20px}.portal-shell .quick-action__label{color:var(--portal-text-primary);font-size:13px;font-weight:500}.portal-shell .empty-state{text-align:center;padding:64px 24px}.portal-shell .empty-state__icon{width:48px;height:48px;color:var(--portal-text-tertiary);margin:0 auto 16px}.portal-shell .empty-state__title{color:var(--portal-text-primary);margin-bottom:8px;font-size:16px;font-weight:500}.portal-shell .empty-state__text{color:var(--portal-text-tertiary);max-width:360px;margin-bottom:20px;margin-left:auto;margin-right:auto;font-size:14px}.portal-shell .lightbox{z-index:3000;background:#000000d9;justify-content:center;align-items:center;display:none;position:fixed;inset:0}.portal-shell .lightbox.is-open{display:flex}.portal-shell .lightbox__img{border-radius:8px;max-width:90vw;max-height:90vh}.portal-shell .lightbox__close{color:#fff;opacity:.7;font-size:24px;transition:opacity .2s;position:absolute;top:20px;right:24px}.portal-shell .lightbox__close:hover{opacity:1}.portal-shell .lightbox__nav{color:#fff;opacity:.7;padding:16px;font-size:32px;transition:opacity .2s;position:absolute;top:50%;transform:translateY(-50%)}.portal-shell .lightbox__nav:hover{opacity:1}.portal-shell .lightbox__nav--prev{left:16px}.portal-shell .lightbox__nav--next{right:16px}.portal-shell .profile-avatar{background:var(--portal-accent);width:72px;height:72px;color:var(--portal-accent-text);border-radius:50%;justify-content:center;align-items:center;margin-bottom:16px;font-size:28px;font-weight:600;display:flex}.portal-shell .settings-group{margin-bottom:32px}.portal-shell .settings-group__title{text-transform:uppercase;letter-spacing:.05em;color:var(--portal-text-tertiary);border-bottom:1px solid var(--portal-border);margin-bottom:16px;padding-bottom:12px;font-size:14px;font-weight:500}.portal-shell .settings-item{border-bottom:1px solid var(--portal-border);justify-content:space-between;align-items:center;padding:14px 0;display:flex}.portal-shell .settings-item:last-child{border-bottom:none}.portal-shell .settings-item__left{align-items:center;gap:12px;display:flex}.portal-shell .settings-item__left svg{width:20px;height:20px;color:var(--portal-text-tertiary)}.portal-shell .settings-item__label{color:var(--portal-text-primary);font-size:14px;font-weight:400}.portal-shell .settings-item__desc{color:var(--portal-text-tertiary);margin-top:2px;font-size:12px}.portal-shell .doc-list{flex-direction:column;gap:8px;display:flex}.portal-shell .doc-item{border:1px solid var(--portal-border);border-radius:8px;align-items:center;gap:12px;padding:12px 16px;transition:border-color .2s;display:flex}.portal-shell .doc-item:hover{border-color:var(--portal-border-hover)}.portal-shell .doc-item__icon{background:var(--portal-bg-status-error);width:36px;height:36px;color:var(--portal-text-status-error);border-radius:8px;justify-content:center;align-items:center;display:flex}.portal-shell .doc-item__icon svg{width:18px;height:18px}.portal-shell .doc-item__info{flex:1}.portal-shell .doc-item__name{color:var(--portal-text-primary);font-size:14px;font-weight:500}.portal-shell .doc-item__meta{color:var(--portal-text-tertiary);font-size:12px}.portal-shell .doc-item__download{color:var(--portal-text-tertiary);transition:color .2s}.portal-shell .doc-item__download:hover{color:var(--portal-accent)}.portal-shell .doc-item__download svg{width:18px;height:18px}.portal-shell .section-block{margin-bottom:32px}.portal-shell .section-block__header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.portal-shell .section-block__title{font-size:16px;font-weight:500}.portal-shell .section-block__link{color:var(--portal-accent);font-size:13px;font-weight:500;transition:opacity .2s}.portal-shell .section-block__link:hover{opacity:.8}.portal-shell .portal-hamburger{cursor:pointer;flex-direction:column;justify-content:center;gap:5px;width:24px;height:24px;display:none}.portal-shell .portal-hamburger span{background:var(--portal-text-primary);border-radius:2px;height:2px;display:block}.portal-shell .bottom-tabs{background:var(--portal-bg-primary);border-top:1px solid var(--portal-border);z-index:100;height:56px;padding-bottom:env(safe-area-inset-bottom);display:none;position:fixed;bottom:0;left:0;right:0}.portal-shell .bottom-tabs__inner{height:100%;display:flex}.portal-shell .bottom-tab{color:var(--portal-text-tertiary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;font-size:10px;font-weight:500;text-decoration:none;transition:color .15s;display:flex;position:relative}.portal-shell .bottom-tab.is-active{color:var(--portal-accent)}.portal-shell .bottom-tab.is-active:before{content:"";background:var(--portal-accent);border-radius:0 0 2px 2px;height:2px;position:absolute;top:0;left:20%;right:20%}.portal-shell .bottom-tab svg{width:22px;height:22px}.portal-shell .bottom-tab__badge{background:var(--portal-text-status-error);border-radius:50%;width:6px;height:6px;position:absolute;top:4px;right:calc(50% - 16px)}.portal-shell .auth-page{background:var(--portal-bg-secondary);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.portal-shell .auth-card{background:var(--portal-bg-card);border:1px solid var(--portal-border);text-align:center;border-radius:16px;width:100%;max-width:420px;padding:40px}.portal-shell .auth-card__logo{height:36px;filter:var(--portal-logo-filter);margin:0 auto 32px}.portal-shell .auth-card__title{margin-bottom:8px;font-size:22px;font-weight:600}.portal-shell .auth-card__subtitle{color:var(--portal-text-tertiary);margin-bottom:32px;font-size:14px}.portal-shell .auth-card .form-group{text-align:left}.portal-shell .auth-card__footer{color:var(--portal-text-tertiary);margin-top:24px;font-size:14px}.portal-shell .auth-card__footer a{color:var(--portal-accent);font-weight:500}.portal-shell .auth-card__divider{color:var(--portal-text-tertiary);align-items:center;gap:12px;margin:24px 0;font-size:13px;display:flex}.portal-shell .auth-card__divider:before,.portal-shell .auth-card__divider:after{content:"";background:var(--portal-border);flex:1;height:1px}.portal-shell .onboarding-overlay{z-index:2000;background:#00000080;justify-content:center;align-items:center;display:none;position:fixed;inset:0}.portal-shell .onboarding-overlay.is-open{display:flex}.portal-shell .onboarding{background:var(--portal-bg-card);border:1px solid var(--portal-border);text-align:center;border-radius:16px;width:90%;max-width:520px;padding:40px}.portal-shell .onboarding__step-dots{justify-content:center;gap:8px;margin-bottom:24px;display:flex}.portal-shell .onboarding__dot{background:var(--portal-border);border-radius:50%;width:8px;height:8px}.portal-shell .onboarding__dot.is-active{background:var(--portal-accent)}@media (max-width:1024px){.portal-shell .sidebar{width:56px}.portal-shell .sidebar__link{border-left:none;justify-content:center;padding:10px}.portal-shell .sidebar__link-text{display:none}.portal-shell .main-content{margin-left:56px}.portal-shell .card-grid--4,.portal-shell .quick-actions{grid-template-columns:repeat(2,1fr)}.portal-shell .portal-header__mode-btn span{display:none}}@media (max-width:768px){.portal-shell .sidebar{display:none}.portal-shell .main-content{padding:20px 16px calc(72px + env(safe-area-inset-bottom,0px));margin-left:0}.portal-shell .bottom-tabs{display:block}.portal-shell .portal{padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))}.portal-shell .portal-header__mode-switch,.portal-shell .portal-hamburger{display:none}.portal-shell .bottom-tab{gap:2px;padding:4px 2px;font-size:9px}.portal-shell .bottom-tab svg{width:20px;height:20px}.portal-shell h1{font-size:22px}.portal-shell h2{font-size:18px}.portal-shell .card-grid--2,.portal-shell .card-grid--3,.portal-shell .card-grid--4,.portal-shell .detail-grid{grid-template-columns:1fr}.portal-shell .content-tab{padding:8px 12px;font-size:13px}.portal-shell .quick-actions{grid-template-columns:repeat(2,1fr)}.portal-shell .form-row{grid-template-columns:1fr}.portal-shell .filters{flex-direction:column;align-items:stretch}.portal-shell .filter-search{max-width:none}.portal-shell .data-table thead{display:none}.portal-shell .data-table tr{border:1px solid var(--portal-border);border-radius:12px;margin-bottom:12px;padding:16px;display:block}.portal-shell .data-table td{border-bottom:none;justify-content:space-between;padding:6px 0;font-size:13px;display:flex}.portal-shell .data-table td:before{content:attr(data-label);color:var(--portal-text-tertiary);font-size:12px;font-weight:500}.portal-shell .chat-layout{border:none;border-radius:0;height:calc(100vh - 120px)}.portal-shell .auth-card,.portal-shell .warehouse-card{padding:24px}.portal-shell .warehouse-card__address{font-size:16px}}
