.portal-sidebar{color:#e5e7eb;background:#0f172a;border-right:1px solid #ffffff14;flex-direction:column;width:228px;min-width:228px;height:100vh;transition:width .25s,min-width .25s;display:flex;position:relative;overflow:visible}.portal-sidebar.is-collapsed{width:64px;min-width:64px}.portal-sidebar__top,.portal-sidebar__bottom{padding:12px 8px}.portal-sidebar__scroll{flex:1;padding:0 8px 12px;overflow-y:auto}.portal-sidebar__brand-row{justify-content:space-between;align-items:center;min-height:40px;display:flex;position:relative}.portal-sidebar__brand{color:inherit;align-items:center;gap:10px;min-width:0;text-decoration:none;display:flex}.portal-sidebar__brand-mark{color:#fff;letter-spacing:.08em;background:linear-gradient(135deg,#1d4ed8,#0f766e);border-radius:10px;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:10px;font-weight:800;display:grid}.portal-sidebar__brand-copy{flex-direction:column;min-width:0;display:flex}.portal-sidebar__brand-title{text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;font-size:10px}.portal-sidebar__brand-project{color:#f8fafc;font-size:13px;font-weight:700}.portal-sidebar__collapse-btn{color:#f8fafc;cursor:pointer;background:#ffffff14;border:none;border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;transition:background .2s,transform .2s,border-radius .2s,right .2s;display:grid}.portal-sidebar__collapse-btn:hover{background:#ffffff24;transform:translateY(-1px)}.portal-sidebar.is-collapsed .portal-sidebar__brand-row{justify-content:center}.portal-sidebar.is-collapsed .portal-sidebar__collapse-btn{z-index:30;background:#1e293b;border-radius:0 14px 14px 0;width:36px;height:56px;position:absolute;top:0;right:-44px;box-shadow:8px 0 18px #00000038}.portal-sidebar.is-collapsed .portal-sidebar__collapse-btn:hover{background:#334155;transform:none}.portal-sidebar__section+.portal-sidebar__section{margin-top:14px}.portal-sidebar__section-title{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:8px;padding:0 6px;font-size:10px;font-weight:700}.portal-sidebar__section-links{flex-direction:column;gap:4px;display:flex}.portal-sidebar__link{color:#cbd5e1;border-radius:10px;align-items:center;gap:10px;min-height:38px;padding:0 10px;text-decoration:none;transition:background .2s,color .2s;display:flex}.portal-sidebar__link:hover{color:#fff;background:#ffffff0f}.portal-sidebar__link.is-active{color:#fff;background:#3b82f629}.portal-sidebar__link-icon{flex-shrink:0;place-items:center;width:18px;height:18px;display:grid}.portal-sidebar__link-label{flex:1;min-width:0;font-size:12px;font-weight:600}.portal-sidebar__link-badge{background:#ffffff14;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:700}.portal-sidebar.is-collapsed .portal-sidebar__link{justify-content:center;padding:0}.portal-sidebar__support-card{background:#ffffff0d;border-radius:14px;align-items:flex-start;gap:10px;margin-top:18px;padding:12px;display:flex}.portal-sidebar__support-card.is-collapsed{justify-content:center;padding:10px 6px}.portal-sidebar__support-icon{background:#ffffff14;border-radius:10px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.portal-sidebar__support-content{min-width:0}.portal-sidebar__support-title{color:#f8fafc;font-size:13px;font-weight:700}.portal-sidebar__support-text{color:#94a3b8;margin:4px 0 8px;font-size:12px;line-height:1.4}.portal-sidebar__support-link{color:#bfdbfe;font-size:12px;font-weight:700;text-decoration:none}.portal-sidebar__user-card{background:#ffffff0a;border-radius:12px;align-items:center;gap:10px;padding:10px;display:flex}.portal-sidebar.is-collapsed .portal-sidebar__user-card{justify-content:center;padding:8px 4px}.portal-sidebar__avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e);border-radius:999px;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:11px;font-weight:800;display:grid}.portal-sidebar__user-copy{flex-direction:column;min-width:0;display:flex}.portal-sidebar__user-name{color:#f8fafc;font-size:12px;font-weight:700}.portal-sidebar__user-role{color:#94a3b8;font-size:11px}.portal-sidebar__footer-actions{flex-direction:column;gap:6px;margin-top:10px;display:flex}.portal-sidebar__footer-actions.is-collapsed{align-items:center}.portal-sidebar__footer-link,.portal-sidebar__logout{color:#cbd5e1;cursor:pointer;min-height:38px;font:inherit;background:0 0;border:none;border-radius:10px;align-items:center;gap:10px;padding:0 10px;font-size:12px;text-decoration:none;display:flex}.portal-sidebar__footer-link:hover,.portal-sidebar__logout:hover{color:#fff;background:#ffffff0f}.portal-sidebar.is-collapsed .portal-sidebar__footer-link,.portal-sidebar.is-collapsed .portal-sidebar__logout{justify-content:center;width:100%;padding:0}@media (width<=960px){.portal-sidebar{width:58px;min-width:58px;height:100vh}.portal-sidebar:not(.is-collapsed){z-index:100;width:228px;min-width:228px;position:fixed;inset:0 auto 0 0;box-shadow:20px 0 50px #0f172a4d}.portal-sidebar.is-collapsed .portal-sidebar__brand-copy,.portal-sidebar.is-collapsed .portal-sidebar__section-title,.portal-sidebar.is-collapsed .portal-sidebar__link-label,.portal-sidebar.is-collapsed .portal-sidebar__link-badge,.portal-sidebar.is-collapsed .portal-sidebar__user-copy,.portal-sidebar.is-collapsed .portal-sidebar__footer-link span,.portal-sidebar.is-collapsed .portal-sidebar__logout span{display:none}.portal-sidebar.is-collapsed .portal-sidebar__brand-row,.portal-sidebar.is-collapsed .portal-sidebar__brand{justify-content:center}.portal-sidebar.is-collapsed .portal-sidebar__link,.portal-sidebar.is-collapsed .portal-sidebar__footer-link,.portal-sidebar.is-collapsed .portal-sidebar__logout{justify-content:center;padding:0}.portal-sidebar.is-collapsed .portal-sidebar__user-card{justify-content:center}}@media (width<=520px){.portal-sidebar,.portal-sidebar.is-collapsed{width:52px;min-width:52px}}.portal-layout{color:#0f172a;background:#f8fafc;align-items:stretch;min-height:100vh;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;display:flex}.portal-layout__sidebar{background:var(--sidebar-bg);z-index:50;flex-shrink:0;height:100vh;position:sticky;top:0}.portal-layout__main{flex-direction:column;flex:1;min-width:0;min-height:100vh;display:flex}.portal-layout__topbar{z-index:20;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:0 24px;display:flex;position:sticky;top:0}.portal-layout__topbar-left{text-align:center;justify-content:center;align-items:center;gap:14px;width:100%;min-width:0;display:flex}.portal-layout__topbar-right{align-items:center;gap:12px;display:flex}.portal-layout__title-group{min-width:0}.portal-layout__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:4px;font-size:.72rem;font-weight:700;display:inline-block}.portal-layout__title{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:1.25rem;line-height:1.1;overflow:hidden}.portal-layout__content{flex-direction:column;flex:1;gap:24px;padding:24px;display:flex}.portal-layout__content--flush{gap:0;padding:0}.portal-layout__container{width:100%;max-width:1440px;margin:0 auto}.portal-layout__panel{background:#fff;border:1px solid #e2e8f0;padding:20px}.portal-layout__grid{gap:18px;display:grid}.portal-layout__grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-layout__grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-layout__search{width:min(100%,320px)}.portal-layout__search .input{min-height:42px}.portal-layout__icon-btn{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;justify-content:center;align-items:center;min-width:40px;height:40px;padding:0;transition:background .2s,border-color .2s;display:inline-flex}.portal-layout__icon-btn:hover{background:#f8fafc}.portal-layout__status{color:#334155;background:#fff;border:1px solid #cbd5e1;align-items:center;min-height:36px;padding:6px 12px;font-size:.85rem;font-weight:600;display:inline-flex}.portal-layout__status-dot{background:#22c55e;flex-shrink:0;width:8px;height:8px;margin-right:8px}.portal-layout__user{align-items:center;gap:10px;display:flex}.portal-layout__avatar{color:#0f172a;background:#fff;border:1px solid #cbd5e1;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:.82rem;font-weight:700;display:grid}.portal-layout__user-copy{flex-direction:column;min-width:0;display:flex}.portal-layout__user-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:600;overflow:hidden}.portal-layout__user-role{color:#64748b;font-size:.8rem}@media (width<=1100px){.portal-layout__grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-layout__topbar-left{justify-content:flex-start;align-items:center;gap:14px;width:auto;min-width:0;display:flex}}@media (width<=960px){.portal-layout{flex-direction:row}.portal-layout__sidebar{width:52px;min-width:52px}.portal-layout__topbar{min-height:64px;padding:0 16px}.portal-layout__content{padding:18px}.portal-layout__status,.portal-layout__user-copy{display:none}.portal-layout__topbar-left{justify-content:flex-start;align-items:center;gap:14px;width:auto;min-width:0;display:flex}}@media (width<=720px){.portal-layout__topbar{padding:12px}.portal-layout__content{gap:16px;padding:14px}.portal-layout__grid--2,.portal-layout__grid--3{grid-template-columns:1fr}.portal-layout__search{width:100%}.portal-layout__topbar-left{justify-content:flex-start;align-items:center;gap:14px;width:auto;min-width:0;display:flex}}.portal-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 10px 30px #0f172a0f}.portal-card__header{padding:24px 24px 0}.portal-card__header h2{color:#111827;margin:0;font-size:22px}.portal-card__header p{color:#6b7280;margin:6px 0 0}.portal-page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.portal-page-header__eyebrow{letter-spacing:.08em;text-transform:uppercase;opacity:.7;margin-bottom:8px;font-size:12px;font-weight:700;display:inline-block}.portal-page-header h1{margin:0;font-size:32px;line-height:1.1}.portal-page-header p{color:#6b7280;margin:8px 0 0}.portal-field span{font-size:14px;font-weight:600}.portal-field input,.portal-field select,.portal-field textarea{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:12px 14px}.portal-field input:focus,.portal-field select:focus,.portal-field textarea:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 4px #3b82f61f}.portal-checkbox{align-items:center;gap:10px;min-height:46px;font-weight:600;display:flex}.portal-btn{appearance:none;font:inherit;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:700;transition:background .2s,color .2s,transform .15s,opacity .2s,box-shadow .2s;display:inline-flex}.portal-btn:hover{transform:translateY(-1px)}.portal-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}.portal-btn--primary{color:#fff;background:#111827}.portal-btn--primary:hover{background:#1f2937}.portal-btn--ghost:hover{background:#e5e7eb}.portal-btn--danger{color:#991b1b;background:#fee2e2}.portal-btn--danger:hover{background:#fecaca}.portal-btn--small{padding:8px 12px;font-size:13px}.portal-form-grid{grid-template-columns:1fr 1fr;align-items:end;gap:16px;display:grid}.portal-badge{border-radius:999px;align-items:center;padding:6px 10px;font-size:12px;font-weight:700;display:inline-flex}.portal-badge--success{color:#166534;background:#dcfce7}.portal-badge--muted{color:#4b5563;background:#f3f4f6}.portal-table{border-collapse:collapse;width:100%}.portal-table th,.portal-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e5e7eb;padding:14px 12px}.portal-table th{text-transform:uppercase;letter-spacing:.04em;color:#6b7280;font-size:13px}.portal-table__subtext{color:#6b7280;margin-top:4px;font-size:13px}.portal-table__empty{text-align:center;color:#6b7280;padding:30px 12px}@media (width<=700px){.portal-page-header{flex-direction:column}.portal-form-grid{grid-template-columns:1fr}}.portal-auth{background:linear-gradient(135deg,#0e1116 0%,#131821 40%,#0f141b 100%);justify-content:center;align-items:center;min-height:100vh;padding:20px;font-family:Satoshi,sans-serif;display:flex}.portal-auth__card{background:#151b24;border:1px solid #ffffff0d;border-radius:20px;width:100%;max-width:420px;padding:32px;position:relative;box-shadow:0 20px 60px #0009}.portal-auth__card:before{content:"";background:linear-gradient(90deg,#4f7cff,#7ce0ff);border-radius:20px 20px 0 0;height:2px;position:absolute;inset:0 0 auto}.portal-auth__header{margin-bottom:28px}.portal-auth__eyebrow{letter-spacing:1px;text-transform:uppercase;color:#6f7c91;margin-bottom:8px;font-size:12px;display:block}.portal-auth__header h1{color:#fff;margin:0 0 6px;font-size:22px}.portal-auth__header p{color:#8b97aa;margin:0;font-size:14px;line-height:1.5}.portal-auth .portal-field span{color:#7e8a9e}.portal-auth .portal-field input{color:#fff;background:#0f141b;border-color:#222a35}.portal-auth .portal-field input:focus{border-color:#4f7cff;box-shadow:0 0 0 1px #4f7cff}.portal-auth__submit{color:#fff;background:linear-gradient(135deg,#4f7cff,#3b5edb);margin-top:6px}.portal-auth__submit:hover{filter:brightness(1.08)}.portal-auth__footer{border-top:1px solid #ffffff0f;margin-top:22px;padding-top:18px}.portal-auth__links{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.portal-auth__links a{color:#93c5fd;font-size:14px;text-decoration:none}.portal-auth__links a:hover{color:#bfdbfe;text-decoration:underline}.portal-auth{background:radial-gradient(circle at top,#1b1f2a,#0e1117);justify-content:center;align-items:center;min-height:100vh;padding:2rem;display:flex}.portal-auth__card{background:#141820f2;border:1px solid #ffffff0f;border-radius:14px;width:100%;max-width:520px;padding:2rem;box-shadow:0 20px 60px #00000080}.portal-auth__header{text-align:center;margin-bottom:1.5rem}.portal-auth__eyebrow{letter-spacing:.08em;opacity:.6;text-transform:uppercase;font-size:.75rem}.portal-auth__header h1{margin:.35rem 0 .5rem;font-size:1.6rem}.portal-auth__header p{opacity:.7;font-size:.9rem}.portal-auth__form{flex-direction:column;gap:1rem;display:flex}.portal-auth__grid{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.portal-field{flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.portal-field span{opacity:.7}.portal-field input{color:#fff;background:#0c0e14e6;border:1px solid #ffffff14;border-radius:6px;padding:.6rem .75rem;font-size:.9rem;transition:border .15s,box-shadow .15s}.portal-field input:focus{border-color:#508cffcc;outline:none;box-shadow:0 0 0 1px #508cff66}.portal-auth__submit{cursor:pointer;color:#fff;background:linear-gradient(135deg,#3b5cff,#6b8cff);border:none;border-radius:6px;margin-top:.5rem;padding:.7rem;font-weight:600;transition:transform .1s,box-shadow .15s}.portal-auth__submit:hover{transform:translateY(-1px);box-shadow:0 8px 20px #3c5aff4d}.portal-auth__submit:disabled{opacity:.6;cursor:not-allowed}.portal-auth__error{color:#ffb3b3;background:#c83c3c26;border:1px solid #c83c3c4d;border-radius:6px;padding:.75rem;font-size:.85rem}.portal-auth__success{color:#bdf5d0;background:#3ca06426;border:1px solid #3ca0644d;border-radius:6px;padding:.75rem;font-size:.85rem}.portal-auth__footer{text-align:center;opacity:.85;margin-top:1.25rem;font-size:.9rem}.portal-auth__footer a{margin-left:.35rem;font-weight:600;text-decoration:none}.portal-auth__footer a:hover{text-decoration:underline}@media (width<=640px){.portal-auth__grid{grid-template-columns:1fr}.portal-auth__card{padding:1.5rem}}.portal-dashboard-page{flex-direction:column;gap:24px;display:flex}.portal-dashboard-hero{background:radial-gradient(circle at 100% 0,#2563eb21,#0000 34%),#fff;border:1px solid #0f172a1a;border-radius:24px;justify-content:space-between;align-items:center;gap:18px;padding:24px;display:flex;box-shadow:0 16px 38px #0f172a12}.portal-dashboard-hero h2{margin:0 0 8px}.portal-dashboard-hero p{color:#64748b;margin:0}.portal-dashboard-hero__stat{color:#fff;text-align:center;background:#0f172a;border-radius:18px;min-width:150px;padding:16px}.portal-dashboard-hero__stat strong{font-size:2rem;line-height:1;display:block}.portal-dashboard-hero__stat span{color:#cbd5e1;margin-top:6px;font-size:.85rem;display:block}.portal-dashboard-sections{flex-direction:column;gap:28px;display:flex}.portal-dashboard-section{flex-direction:column;gap:14px;display:flex}.portal-dashboard-section__header h3{margin:0 0 4px;font-size:1.15rem}.portal-dashboard-section__header p{color:#64748b;margin:0}.portal-dashboard-flex,.portal-dashboard-grid{flex-wrap:wrap;align-items:stretch;gap:16px;display:flex}.portal-dashboard-tile{background:#fff;border:1px solid #0f172a1a;border-radius:22px;flex-direction:column;flex:260px;justify-content:space-between;max-width:420px;min-height:220px;padding:18px;display:flex;box-shadow:0 14px 34px #0f172a0f}.portal-dashboard-tile--large,.portal-dashboard-tile--wide,.portal-dashboard-tile--medium,.portal-dashboard-tile--small{flex:260px}.portal-dashboard-tile__top{align-items:center;gap:14px;display:flex}.portal-dashboard-tile__icon{color:#2563eb;background:#2563eb14;border-radius:16px;flex-shrink:0;place-items:center;width:46px;height:46px;display:grid}.portal-dashboard-tile h4{margin:0 0 4px;font-size:1rem}.portal-dashboard-tile p{color:#64748b;margin:0}.portal-dashboard-tile__body{margin-top:18px}.portal-dashboard-tile__number{letter-spacing:-.04em;font-size:2.15rem;font-weight:850;line-height:1;display:block}.portal-dashboard-tile__recent{gap:8px;margin-top:14px;display:grid}.portal-dashboard-tile__recent span{text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-size:.78rem;font-weight:800}.portal-dashboard-tile__item{color:#334155;white-space:nowrap;text-overflow:ellipsis;background:#f8fafc;border-radius:12px;padding:9px 10px;font-size:.9rem;overflow:hidden}.portal-dashboard-tile__empty{margin-top:14px;font-size:.9rem}.portal-dashboard-tile__actions{justify-content:flex-end;margin-top:16px;display:flex}.portal-mini-btn{color:#0f172a;background:#f1f5f9;border-radius:12px;align-items:center;gap:7px;padding:9px 12px;font-size:.9rem;font-weight:750;text-decoration:none;display:inline-flex}.portal-mini-btn--primary{color:#fff;background:#2563eb}.portal-alert{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:12px 14px}@media (width<=760px){.portal-dashboard-hero{flex-direction:column;align-items:stretch}.portal-dashboard-hero__stat{width:100%}.portal-dashboard-flex,.portal-dashboard-grid{flex-direction:column}.portal-dashboard-tile{max-width:none}}.orders{padding:28px}.orders__header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.orders__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:8px;font-size:.76rem;font-weight:700;display:inline-block}.orders__header h1{color:#0f172a;margin:0 0 10px;font-size:2rem;line-height:1.1}.orders__header p{color:#475569;max-width:680px;margin:0;line-height:1.6}.orders__header-actions{flex-wrap:wrap;gap:10px;display:flex}.orders__stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.orders-stat{background:#fff;border:1px solid #e2e8f0;padding:18px}.orders-stat__label{color:#64748b;margin-bottom:8px;font-size:.82rem;display:block}.orders-stat__value{color:#0f172a;font-size:1.8rem;line-height:1}.orders__toolbar{justify-content:space-between;gap:16px;margin-bottom:20px;display:flex}.orders__search{flex:1}.orders__filters{gap:12px;display:flex}.orders__filters .input,.orders__search .input{min-height:44px}.orders__content-grid{grid-template-columns:minmax(0,2fr) 320px;gap:18px;display:grid}.orders__table-card,.orders__panel{background:#fff;border:1px solid #e2e8f0}.orders__card-head{padding:18px 18px 0}.orders__card-head h2{color:#0f172a;margin:0;font-size:1.05rem}.orders-table-wrap{padding:18px;overflow-x:auto}.orders-table{border-collapse:collapse;width:100%;min-width:760px}.orders-table th,.orders-table td{text-align:left;color:#0f172a;border-bottom:1px solid #e2e8f0;padding:14px 12px;font-size:.94rem}.orders-table th{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.78rem}.orders-table tbody tr:hover{background:#f8fafc}.orders-table__action{color:#0f172a;cursor:pointer;background:0 0;border:1px solid #cbd5e1;min-height:34px;padding:6px 12px}.orders-badge{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;justify-content:center;align-items:center;min-height:30px;padding:4px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.orders-badge.is-open{color:#0f172a}.orders-badge.is-processing{color:#334155}.orders-badge.is-ready{color:#1e293b}.orders-badge.is-completed{color:#475569}.orders__side-column{gap:18px;display:grid}.orders__action-list{gap:10px;padding:18px;display:grid}.orders__action-btn{color:#0f172a;text-align:left;cursor:pointer;background:0 0;border:1px solid #cbd5e1;min-height:42px;padding:10px 12px}.orders__action-btn:hover,.orders-table__action:hover{background:#f8fafc}.orders__info-list{gap:14px;padding:18px;display:grid}.orders__info-item{gap:4px;display:grid}.orders__info-label{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.78rem;font-weight:700}.orders__info-value{color:#0f172a;line-height:1.5}@media (width<=1200px){.orders__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.orders__content-grid{grid-template-columns:1fr}.orders__side-column{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.orders{padding:20px}.orders__header,.orders__toolbar{flex-direction:column}.orders__filters{flex-direction:column;width:100%}.orders__side-column{grid-template-columns:1fr}}@media (width<=640px){.orders{padding:16px}.orders__stats{grid-template-columns:1fr}.orders__header-actions{flex-direction:column}.orders__table-card,.orders__panel{overflow:hidden}}.quotes{padding:28px}.quotes__header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.quotes__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:8px;font-size:.76rem;font-weight:700;display:inline-block}.quotes__header h1{color:#0f172a;margin:0 0 10px;font-size:2rem;line-height:1.1}.quotes__header p{color:#475569;max-width:680px;margin:0;line-height:1.6}.quotes__header-actions{flex-wrap:wrap;gap:10px;display:flex}.quotes__stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.quotes-stat{background:#fff;border:1px solid #e2e8f0;padding:18px}.quotes-stat__label{color:#64748b;margin-bottom:8px;font-size:.82rem;display:block}.quotes-stat__value{color:#0f172a;font-size:1.8rem;line-height:1}.quotes__toolbar{justify-content:space-between;gap:16px;margin-bottom:20px;display:flex}.quotes__search{flex:1}.quotes__filters{gap:12px;display:flex}.quotes__filters .input,.quotes__search .input{min-height:44px}.quotes__content-grid{grid-template-columns:minmax(0,2fr) 320px;gap:18px;display:grid}.quotes__table-card,.quotes__panel{background:#fff;border:1px solid #e2e8f0}.quotes__card-head{padding:18px 18px 0}.quotes__card-head h2{color:#0f172a;margin:0;font-size:1.05rem}.quotes-table-wrap{padding:18px;overflow-x:auto}.quotes-table{border-collapse:collapse;width:100%;min-width:760px}.quotes-table th,.quotes-table td{text-align:left;color:#0f172a;border-bottom:1px solid #e2e8f0;padding:14px 12px;font-size:.94rem}.quotes-table th{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.78rem}.quotes-table tbody tr:hover{background:#f8fafc}.quotes-table__action{color:#0f172a;cursor:pointer;background:0 0;border:1px solid #cbd5e1;min-height:34px;padding:6px 12px}.quotes-badge{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;justify-content:center;align-items:center;min-height:30px;padding:4px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.quotes-badge.is-open{color:#0f172a}.quotes-badge.is-pending{color:#334155}.quotes-badge.is-approved{color:#1e293b}.quotes-badge.is-expired{color:#64748b}.quotes__side-column{gap:18px;display:grid}.quotes__action-list{gap:10px;padding:18px;display:grid}.quotes__action-btn{color:#0f172a;text-align:left;cursor:pointer;background:0 0;border:1px solid #cbd5e1;min-height:42px;padding:10px 12px}.quotes__action-btn:hover,.quotes-table__action:hover{background:#f8fafc}.quotes__info-list{gap:14px;padding:18px;display:grid}.quotes__info-item{gap:4px;display:grid}.quotes__info-label{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.78rem;font-weight:700}.quotes__info-value{color:#0f172a;line-height:1.5}.quotes-form{gap:1.5rem;display:grid}.quotes-form__item{border:1px solid var(--portal-border,#e5e7eb);background:var(--portal-surface-soft,#f9fafb);border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1rem;display:grid}@media (width<=760px){.quotes-form__grid,.quotes-form__item{grid-template-columns:1fr}}@media (width<=1200px){.quotes__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quotes__content-grid{grid-template-columns:1fr}.quotes__side-column{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.quotes{padding:20px}.quotes__header,.quotes__toolbar{flex-direction:column}.quotes__filters{flex-direction:column;width:100%}.quotes__side-column{grid-template-columns:1fr}}@media (width<=640px){.quotes{padding:16px}.quotes__stats{grid-template-columns:1fr}.quotes__header-actions{flex-direction:column}.quotes__table-card,.quotes__panel{overflow:hidden}}.quotes-form-page,.quotes-form{gap:1.5rem;display:grid}.quotes-form__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.quotes-form__items{gap:1rem;display:grid}.quotes-form__item{border:1px solid var(--portal-border,#e5e7eb);background:var(--portal-surface-soft,#f9fafb);border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1.2rem;transition:border .2s,transform .15s;display:grid}.quotes-form__item:hover{border-color:var(--portal-accent,#3b82f6);transform:translateY(-1px)}.quotes-form__item-actions{grid-column:1/-1;justify-content:flex-end;display:flex}.quotes-form__summary{background:var(--portal-surface-soft,#f9fafb);border:1px solid var(--portal-border,#e5e7eb);border-radius:14px;justify-content:space-between;align-items:center;padding:1rem 1.2rem;display:flex}.quotes-form__summary span{text-transform:uppercase;letter-spacing:.08em;color:var(--portal-muted,#64748b);font-size:.85rem}.quotes-form__summary strong{color:var(--portal-heading,#111827);font-size:1.4rem}.quotes-form-page .quotes__header{margin-bottom:.5rem}@media (width<=760px){.quotes-form__grid,.quotes-form__item{grid-template-columns:1fr}}.customers{color:#0f172a;padding:28px}.customers__header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.customers__header-copy{min-width:0}.customers__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:#475569;margin-bottom:8px;font-size:.72rem;font-weight:700;display:inline-block}.customers__header h1{letter-spacing:-.04em;margin:0;font-size:clamp(1.75rem,3vw,2.15rem);line-height:1.05}.customers__header p{color:#0f172a;margin:18px 0 0;line-height:1.5}.customers__actions{flex:none;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}.customers-top-btn,.customers-toolbar-btn{color:#0f172a;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #dbe3ed;justify-content:center;align-items:center;padding:0 18px;font-size:.9rem;font-weight:700;transition:background .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.customers-top-btn:hover,.customers-toolbar-btn:hover{transform:translateY(-1px)}.customers-top-btn:disabled,.customers-toolbar-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.customers-top-btn--secondary{color:#0f172a;background:#f8fafc}.customers-top-btn--secondary:hover{background:#eef2f7;border-color:#cbd5e1}.customers-top-btn--primary{color:#fff;background:#111;border-color:#111}.customers-top-btn--primary:hover{background:#020617;border-color:#020617}.customers__stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.customers-stat{background:#fff;border:1px solid #e2e8f0;padding:16px}.customers-stat span{color:#64748b;margin-bottom:8px;font-size:.82rem;font-weight:700;display:block}.customers-stat strong{font-size:1.55rem;line-height:1;display:block}.customers__toolbar{grid-template-columns:minmax(0,1fr) 220px auto;gap:12px;margin-bottom:20px;display:grid}.customers__toolbar .input{width:100%}.customers__grid{grid-template-columns:minmax(0,1fr) 340px;gap:18px;display:grid}.customers__table-card,.customers-panel{background:#fff;border:1px solid #e2e8f0}.customers__table-card{min-width:0;padding:18px}.customers__card-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.customers__card-head h2,.customers-panel h2{letter-spacing:-.02em;margin:0;font-size:1.05rem}.customers-table-wrap{width:100%;overflow-x:auto}.customers-table{border-collapse:collapse;width:100%}.customers-table th,.customers-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:13px 12px}.customers-table th{text-transform:uppercase;letter-spacing:.07em;color:#64748b;background:#f8fafc;font-size:.75rem}.customers-table tbody tr{transition:background .15s}.customers-table tbody tr:hover,.customers-table tbody tr.is-selected{background:#f8fafc}.customers-sub{color:#64748b;margin-top:4px;font-size:.8rem}.customers-badge{background:#fff;border:1px solid #cbd5e1;align-items:center;min-height:26px;padding:0 10px;font-size:.75rem;font-weight:800;display:inline-flex}.customers-badge.is-active{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.customers-badge.is-muted{color:#64748b;background:#f8fafc}.customers-table-actions{justify-content:flex-end;gap:8px;display:flex}.customers-action{cursor:pointer;background:#fff;border:1px solid #cbd5e1;padding:7px 10px;font-size:.82rem;font-weight:700}.customers-action:hover{background:#f8fafc}.customers__side{flex-direction:column;gap:18px;min-width:0;display:flex}.customers-panel{padding:16px}.customers-info{gap:12px;margin-top:14px;display:grid}.customers-info div{gap:4px;display:grid}.customers-info span{text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-size:.75rem;font-weight:800}.customers-info strong{overflow-wrap:anywhere;font-size:.95rem;line-height:1.35}.customers-side-actions{margin-top:8px}.customers-btn{text-align:left;cursor:pointer;background:#fff;border:1px solid #cbd5e1;width:100%;margin-bottom:10px;padding:11px 12px;font-weight:700}.customers-btn:hover{background:#f8fafc}.customers-btn--danger{color:#b91c1c;background:#fff1f2;border-color:#fecaca}.customers-modal{z-index:1000;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.customers-modal__backdrop{cursor:pointer;background:#0f172a9e;border:0;position:absolute;inset:0}.customers-modal__panel{z-index:1;background:#fff;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;width:min(820px,100%);max-height:86vh;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 70px #0f172a38}.customers-modal__header{background:#fff;border-bottom:1px solid #e2e8f0;flex:none;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px;display:flex}.customers-modal__header h2{margin:0;font-size:1.25rem}.customers-modal__close{cursor:pointer;background:#fff;border:1px solid #cbd5e1;width:38px;height:38px;font-size:1.5rem;line-height:1}.customers-modal__close:hover{background:#f8fafc}.customers-modal__form{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-height:0;padding:22px;display:grid;overflow-y:auto}.customers-type-toggle{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.customers-type-toggle button{color:#0f172a;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;font-size:.9rem;font-weight:800;transition:background .15s,border-color .15s,color .15s,transform .15s}.customers-type-toggle button:hover{background:#f8fafc;transform:translateY(-1px)}.customers-type-toggle button.is-active{color:#fff;background:#111;border-color:#111}.customers-modal__actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:14px;padding-top:8px;display:flex}.customers-modal__actions-right{gap:10px;display:flex}.portal-btn{min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;justify-content:center;align-items:center;padding:0 16px;font-weight:800;display:inline-flex}.portal-btn--primary{color:#fff;background:#111;border-color:#111}.portal-btn--ghost{color:#0f172a;background:#fff}.portal-btn--danger{color:#b91c1c;background:#fff1f2;border-color:#fecaca}@media (width<=1000px){.customers__header{align-items:flex-start}.customers__grid{grid-template-columns:1fr}.customers__stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.customers{padding:18px}.customers__header{flex-direction:column}.customers__actions{width:100%}.customers-top-btn{flex:1}.customers__toolbar,.customers__stats{grid-template-columns:1fr}.customers-modal{padding:12px}.customers-modal__form{grid-template-columns:1fr}.customers-modal__actions{flex-direction:column-reverse;align-items:stretch}.customers-modal__actions-right{flex-direction:column-reverse}.customers-modal__actions-right .portal-btn,.customers-modal__actions>.portal-btn{width:100%}}.customer-view{color:#0f172a;padding:28px}.customer-view-header{align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.customer-view-back{cursor:pointer;background:#fff;border:1px solid #cbd5e1;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex}.customer-view-eyebrow{color:#64748b;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px;font-size:.72rem;font-weight:800;display:inline-block}.customer-view-header h1{letter-spacing:-.04em;margin:0 0 10px;font-size:clamp(1.8rem,3vw,2.3rem)}.customer-view-header p{color:#64748b;margin:0}.customer-view-grid{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px;display:grid}.customer-view-main,.customer-view-side{gap:18px;display:grid}.customer-view-card{background:#fff;border:1px solid #e2e8f0;padding:18px}.customer-view-card h2{margin:0;font-size:1.05rem}.customer-view-card p{color:#64748b}.customer-view-card-header{align-items:center;gap:10px;margin-bottom:18px;display:flex}.customer-view-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.customer-view-info{gap:5px;min-width:0;display:grid}.customer-view-info.is-full{grid-column:1/-1}.customer-view-info span,.customer-view-feature span{color:#64748b;letter-spacing:.06em;text-transform:uppercase;font-size:.74rem;font-weight:900}.customer-view-info strong{color:#0f172a;overflow-wrap:anywhere;white-space:pre-wrap;font-size:.96rem;line-height:1.4}.customer-view-feature{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:12px;padding:12px 0;display:flex}.customer-view-feature:last-child{border-bottom:0}.customer-view-feature strong{color:#64748b}.customer-view-feature.is-enabled strong{color:#166534}.customer-view-action{color:#0f172a;border:1px solid #cbd5e1;align-items:center;gap:8px;min-height:42px;margin-top:10px;padding:0 12px;font-weight:800;text-decoration:none;display:flex}.customer-view-action:hover{background:#f8fafc}.customer-view-empty{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;padding:14px}.customer-view-timeline{gap:10px;display:grid}.customer-view-timeline-item{background:#f8fafc;border:1px solid #e2e8f0;gap:4px;padding:13px;display:grid}.customer-view-timeline-item span{color:#64748b;font-size:.88rem}@media (width<=980px){.customer-view-grid{grid-template-columns:1fr}}@media (width<=700px){.customer-view{padding:18px}.customer-view-header{flex-direction:column}.customer-view-info-grid{grid-template-columns:1fr}}.invoices{padding:28px}.invoices__header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.invoices__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:8px;font-size:.76rem;font-weight:700;display:inline-block}.invoices__header h1{color:#0f172a;margin:0 0 10px;font-size:2rem;line-height:1.1}.invoices__header p{color:#475569;max-width:680px;margin:0;line-height:1.6}.invoices__header-actions{flex-wrap:wrap;gap:10px;display:flex}.invoices__stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.invoices-stat{background:#fff;border:1px solid #e2e8f0;padding:18px}.invoices-stat__label{color:#64748b;margin-bottom:8px;font-size:.82rem;display:block}.invoices-stat__value{color:#0f172a;font-size:1.8rem;line-height:1}.invoices__toolbar{justify-content:space-between;gap:16px;margin-bottom:20px;display:flex}.invoices__search{flex:1}.invoices__filters{gap:12px;display:flex}.invoices__filters .input,.invoices__search .input{min-height:44px}.invoices__content-grid{grid-template-columns:minmax(0,2fr) 320px;gap:18px;display:grid}.invoices__table-card,.invoices__panel{background:#fff;border:1px solid #e2e8f0}.invoices__card-head{padding:18px 18px 0}.invoices__card-head h2{color:#0f172a;margin:0;font-size:1.05rem}.invoices-table-wrap{padding:18px;overflow-x:auto}.invoices-table{border-collapse:collapse;width:100%;min-width:760px}.invoices-table th,.invoices-table td{text-align:left;color:#0f172a;border-bottom:1px solid #e2e8f0;padding:14px 12px;font-size:.94rem}.invoices-table th{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.78rem}.invoices-table tbody tr:hover{background:#f8fafc}.invoices-table__action{color:#0f172a;cursor:pointer;background:0 0;border:1px solid #cbd5e1;min-height:34px;padding:6px 12px}.invoices-badge{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;justify-content:center;align-items:center;min-height:30px;padding:4px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.invoices-badge.is-outstanding{color:#0f172a}.invoices-badge.is-paid{color:#334155}.invoices-badge.is-overdue{color:#64748b}.invoices__side-column{gap:18px;display:grid}.invoices__action-list{gap:10px;padding:18px;display:grid}.invoices__action-btn{color:#0f172a;text-align:left;cursor:pointer;background:0 0;border:1px solid #cbd5e1;min-height:42px;padding:10px 12px}.invoices__action-btn:hover,.invoices-table__action:hover{background:#f8fafc}.invoices__info-list{gap:14px;padding:18px;display:grid}.invoices__info-item{gap:4px;display:grid}.invoices__info-label{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.78rem;font-weight:700}.invoices__info-value{color:#0f172a;line-height:1.5}@media (width<=1200px){.invoices__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.invoices__content-grid{grid-template-columns:1fr}.invoices__side-column{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.invoices{padding:20px}.invoices__header,.invoices__toolbar{flex-direction:column}.invoices__filters{flex-direction:column;width:100%}.invoices__side-column{grid-template-columns:1fr}}@media (width<=640px){.invoices{padding:16px}.invoices__stats{grid-template-columns:1fr}.invoices__header-actions{flex-direction:column}.invoices__table-card,.invoices__panel{overflow:hidden}}.invoice-form-page,.invoice-form{gap:1.5rem;display:grid}.invoice-form__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.invoice-form__items{gap:1rem;display:grid}.invoice-form__item{border:1px solid var(--portal-border,#e5e7eb);background:var(--portal-surface-soft,#f9fafb);border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1.2rem;display:grid}.invoice-form__item-actions{grid-column:1/-1;justify-content:flex-end;display:flex}.invoice-form__summary{background:var(--portal-surface-soft,#f9fafb);border:1px solid var(--portal-border,#e5e7eb);border-radius:14px;justify-content:space-between;align-items:center;padding:1rem 1.2rem;display:flex}.invoice-form__summary span{text-transform:uppercase;letter-spacing:.08em;color:var(--portal-muted,#64748b);font-size:.85rem}.invoice-form__summary strong{color:var(--portal-heading,#111827);font-size:1.4rem}.portal-field--full{grid-column:1/-1}@media (width<=760px){.invoice-form__grid,.invoice-form__item{grid-template-columns:1fr}}.portal-products-page{color:#0f172a;gap:16px;width:100%;display:grid}.portal-products-page *,.portal-products-page :before,.portal-products-page :after{box-sizing:border-box}.portal-products-page button,.portal-products-page input,.portal-products-page textarea,.portal-products-page select{font:inherit}.portal-products-page__header{background:radial-gradient(circle at 100% 0,#2563eb1a,#0000 34%),#fff;border:1px solid #0f172a1a;border-radius:18px;gap:18px;padding:18px;display:grid;box-shadow:0 10px 28px #0f172a0f}.portal-products-page__eyebrow{color:#2563eb;letter-spacing:.1em;text-transform:uppercase;width:fit-content;margin-bottom:8px;font-size:.72rem;font-weight:900;display:inline-flex}.portal-products-page__title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.portal-products-page__header h1{margin:0;font-size:1.55rem;line-height:1.1}.portal-products-page__header p{color:#64748b;margin:8px 0 0;line-height:1.5}.portal-products-page__actions{gap:10px;display:grid}.portal-products-page__actions button{justify-content:center;width:100%}.portal-products-save-btn,.portal-products-secondary-btn,.portal-products-danger-btn,.portal-products-upload{cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;min-height:42px;padding:10px 14px;font-weight:850;display:inline-flex}.portal-products-save-btn{color:#fff;background:#2563eb}.portal-products-save-btn:hover{background:#1d4ed8}.portal-products-secondary-btn,.portal-products-upload{color:#0f172a;background:#e2e8f0}.portal-products-secondary-btn:hover,.portal-products-upload:hover{background:#cbd5e1}.portal-products-danger-btn{color:#991b1b;background:#fee2e2}.portal-products-danger-btn:hover{background:#fecaca}.portal-products-save-btn:disabled,.portal-products-secondary-btn:disabled,.portal-products-danger-btn:disabled{opacity:.55;cursor:not-allowed}.portal-products-message{border-radius:12px;margin:12px 0 0;padding:11px 12px;font-size:.88rem;font-weight:800}.portal-products-message.is-error{color:#991b1b;background:#fee2e2}.portal-products-message.is-success{color:#166534;background:#dcfce7}.portal-products-status,.portal-products-badge{text-transform:capitalize;border-radius:999px;align-items:center;width:fit-content;padding:5px 9px;font-size:.72rem;font-weight:850;display:inline-flex}.portal-products-status--warn{color:#92400e;background:#fef3c7}.portal-products-badge{color:#334155;background:#e2e8f0}.portal-products-badge--good{color:#166534;background:#dcfce7}.portal-products-badge--featured{color:#3730a3;background:#eef2ff}.portal-products-badge--muted{color:#991b1b;background:#fee2e2}.portal-products-badges{flex-wrap:wrap;gap:7px;display:flex}.portal-products-stats{grid-template-columns:1fr;gap:12px;display:grid}.portal-products-stat-card{background:#fff;border:1px solid #0f172a1a;border-radius:16px;gap:7px;padding:16px;display:grid;box-shadow:0 8px 22px #0f172a0d}.portal-products-stat-card span{color:#64748b;font-size:.86rem;font-weight:650}.portal-products-stat-card strong{letter-spacing:-.04em;font-size:1.55rem;line-height:1}.portal-products-toolbar{background:#fff;border:1px solid #0f172a1a;border-radius:18px;gap:12px;padding:16px;display:grid;box-shadow:0 8px 22px #0f172a0d}.portal-products-toolbar__top,.portal-products-toolbar__bottom{gap:10px;display:grid}.portal-products-toolbar__meta{color:#64748b;font-size:.86rem;font-weight:750}.portal-products-search,.portal-products-select,.portal-products-field input,.portal-products-field textarea{width:100%;font:inherit;color:#0f172a;background:#fff;border:1px solid #0f172a24;border-radius:12px;padding:11px 12px}.portal-products-search:focus,.portal-products-select:focus,.portal-products-field input:focus,.portal-products-field textarea:focus{border-color:#2563eb;outline:3px solid #2563eb24}.portal-products-select--full{max-width:none}.portal-products-layout{gap:16px;display:grid}.portal-products-sidebar,.portal-products-editor,.portal-products-loading{background:#fff;border:1px solid #0f172a1a;border-radius:18px;overflow:hidden;box-shadow:0 8px 22px #0f172a0d}.portal-products-sidebar__head{border-bottom:1px solid #0f172a14;padding:16px}.portal-products-sidebar__head h2{margin:0 0 4px;font-size:1.05rem}.portal-products-sidebar__head span{color:#64748b;font-size:.92rem;line-height:1.45}.portal-products-list{grid-template-columns:1fr;gap:10px;max-height:620px;padding:12px;display:grid;overflow-y:auto}.portal-products-list__item{text-align:left;cursor:pointer;background:#f8fafc;border:1px solid #0f172a14;border-radius:16px;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:92px;padding:10px;display:grid}.portal-products-list__item:hover{background:#f1f5f9}.portal-products-list__item.is-active{background:#eef2ff;border-color:#2563eb59}.portal-products-list__thumb{background:#e2e8f0;border-radius:14px;width:70px;height:70px;overflow:hidden}.portal-products-list__thumb img{object-fit:cover;width:100%;height:100%}.portal-products-list__placeholder{color:#64748b;text-align:center;place-items:center;width:100%;height:100%;font-size:.68rem;font-weight:850;display:grid}.portal-products-list__meta{gap:7px;min-width:0;display:grid}.portal-products-list__top{justify-content:space-between;align-items:center;gap:8px;display:flex}.portal-products-list__top strong,.portal-products-list__meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-products-list__top strong{color:#0f172a;font-size:.92rem;font-weight:900}.portal-products-list__top small,.portal-products-list__meta span{color:#64748b;font-size:.78rem;font-weight:750}.portal-products-editor{display:grid}.portal-products-editor__preview{background:#f8fafc;border-bottom:1px solid #0f172a14;gap:12px;padding:16px;display:grid}.portal-products-preview-box{background:#fff;border:1px solid #0f172a14;border-radius:16px;place-items:center;min-height:280px;padding:14px;display:grid}.portal-products-preview-box img{object-fit:contain;border-radius:14px;max-width:100%;max-height:420px;display:block}.portal-products-editor__placeholder{color:#64748b;text-align:center;background:#fff;border:1px dashed #0f172a2e;border-radius:16px;place-items:center;width:100%;min-height:240px;font-weight:850;display:grid}.portal-products-upload{width:100%;position:relative;overflow:hidden}.portal-products-upload input{opacity:0;cursor:pointer;position:absolute;inset:0}.portal-products-editor__form{gap:14px;padding:16px;display:grid}.portal-products-editor__heading{border-bottom:1px solid #0f172a14;padding-bottom:14px}.portal-products-editor__heading h3,.portal-products-editor__empty h3,.portal-products-loading h3{margin:0 0 4px;font-size:1.05rem}.portal-products-editor__heading p,.portal-products-editor__empty p{color:#64748b;margin:0;font-size:.92rem;line-height:1.45}.portal-products-grid{grid-template-columns:1fr;gap:12px;display:grid}.portal-products-field{color:#0f172a;gap:7px;font-weight:800;display:grid}.portal-products-field span{font-size:.86rem}.portal-products-field textarea{resize:vertical;min-height:110px;line-height:1.5}.portal-products-checkbox{color:#0f172a;background:#f8fafc;border:1px solid #0f172a14;border-radius:14px;align-items:center;gap:10px;min-height:42px;padding:12px;font-weight:800;display:flex}.portal-products-checkbox input{width:auto;min-height:auto}.portal-products-editor__controls{grid-template-columns:1fr;gap:10px;padding-top:8px;display:grid}.portal-products-empty,.portal-products-editor__empty,.portal-products-loading{color:#64748b;padding:16px}.portal-products-editor__empty{text-align:center;place-items:center;min-height:260px;display:grid}@media (width>=700px){.portal-products-page{gap:18px}.portal-products-page__header{padding:20px}.portal-products-page__actions,.portal-products-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-products-toolbar__top{grid-template-columns:minmax(0,1fr) auto;align-items:center}.portal-products-toolbar__bottom{grid-template-columns:repeat(2,minmax(0,240px))}.portal-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-products-editor__controls{flex-wrap:wrap;display:flex}}@media (width>=1100px){.portal-products-page{gap:22px}.portal-products-page__header{border-radius:22px;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:24px}.portal-products-page__header h1{font-size:1.85rem}.portal-products-page__actions{justify-content:flex-end;align-items:center;display:flex}.portal-products-page__actions button{width:auto}.portal-products-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.portal-products-stat-card{border-radius:18px}.portal-products-toolbar{border-radius:22px;padding:20px}.portal-products-layout{grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;gap:22px}.portal-products-sidebar,.portal-products-editor{border-radius:22px}.portal-products-sidebar{position:sticky;top:18px}.portal-products-list{max-height:calc(100vh - 230px)}.portal-products-editor{grid-template-columns:minmax(300px,390px) minmax(0,1fr);min-height:680px}.portal-products-editor__preview{border-bottom:0;border-right:1px solid #0f172a14;align-content:start;padding:20px}.portal-products-preview-box{min-height:420px}.portal-products-editor__form{padding:20px}}@media (width>=1400px){.portal-products-layout{grid-template-columns:minmax(340px,400px) minmax(0,1fr)}.portal-products-editor{grid-template-columns:minmax(360px,440px) minmax(0,1fr)}}@media (width<=520px){.portal-products-list__item{grid-template-columns:64px minmax(0,1fr)}.portal-products-list__thumb{width:64px;height:64px}.portal-products-save-btn,.portal-products-secondary-btn,.portal-products-danger-btn,.portal-products-upload,.portal-products-search,.portal-products-select{width:100%}}.portal-categories-page{flex-direction:column;gap:24px;display:flex}.portal-categories-layout{grid-template-columns:360px minmax(0,1fr);align-items:start;gap:24px;display:grid}.portal-card__header--row{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.portal-category-form{flex-direction:column;gap:16px;padding:24px;display:flex}.portal-categories-toolbar{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.portal-categories-toolbar input{border:1px solid #d1d5db;border-radius:12px;min-width:220px;padding:10px 12px}.portal-categories-table-wrap{padding:20px 24px 24px;overflow-x:auto}.portal-category-name{align-items:flex-start;gap:8px;display:flex}.portal-category-name__branch{color:#9ca3af;flex:none;line-height:1.4}.portal-table__actions{flex-wrap:wrap;gap:8px;display:flex}.portal-modal-backdrop{z-index:1200;background:#0f172a8f;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.portal-modal{background:#fff;border:1px solid #94a3b83d;border-radius:24px;width:min(1080px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 30px 80px #0f172a38}.portal-modal__header,.portal-modal__footer{justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;display:flex}.portal-modal__header{border-bottom:1px solid #e5e7eb}.portal-modal__footer{border-top:1px solid #e5e7eb;justify-content:flex-end;align-items:center}.portal-bulk-modal__grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:20px;padding:24px;display:grid}.portal-bulk-modal__pane{min-width:0}.portal-bulk-textarea{resize:vertical;width:100%;min-height:340px;font:inherit;border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;line-height:1.5}.portal-bulk-help{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;margin-top:12px;padding:14px 16px}.portal-bulk-help p{color:#475569;margin:0;line-height:1.6}.portal-bulk-help code{color:#0f172a;font-family:inherit;font-weight:600}.portal-bulk-preview-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden}.portal-bulk-preview-card__header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.portal-bulk-preview-card__header h3,.portal-bulk-warnings h4{margin:0}.portal-bulk-preview-list{flex-direction:column;gap:10px;max-height:360px;padding:16px 18px;display:flex;overflow:auto}.portal-bulk-preview-item{align-items:flex-start;gap:8px;min-width:0;display:flex}.portal-bulk-preview-item strong{color:#111827;display:block}.portal-bulk-warnings{background:#fffdf7;border-top:1px solid #e5e7eb;padding:16px 18px 18px}.portal-bulk-warnings ul{color:#92400e;margin:10px 0 0;padding-left:18px}.portal-bulk-warnings li+li{margin-top:6px}@media (width<=1100px){.portal-categories-layout,.portal-bulk-modal__grid{grid-template-columns:1fr}}@media (width<=700px){.portal-card__header--row{flex-direction:column}.portal-categories-toolbar input{width:100%;min-width:0}.portal-modal-backdrop{padding:12px}.portal-modal__header,.portal-modal__footer,.portal-bulk-modal__grid{padding:16px}.portal-modal__footer{flex-direction:column-reverse;align-items:stretch}.portal-modal__footer .portal-btn{width:100%}}.booking{padding:12px}.booking__calendar-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.booking__calendar-card--full{width:100%}.booking__eyebrow,.booking__side-label{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:6px;font-size:.7rem;font-weight:800;display:inline-block}.booking__calendar-header{gap:14px;margin-bottom:16px;display:grid}.booking__calendar-header h1{color:#0f172a;margin:0 0 8px;font-size:1.55rem}.booking__calendar-header p{color:#475569;margin:0;font-size:.92rem;line-height:1.5}.booking__header-actions{gap:10px;display:grid}.booking__month-controls{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:42px 1fr 42px;align-items:center;gap:6px;padding:6px;display:grid}.booking__month-btn{color:#334155;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;height:38px}.booking__month-btn:hover{background:#fff;border-color:#e2e8f0}.booking__month-label{text-align:center;color:#0f172a;font-size:.9rem;font-weight:800}.booking__legend-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:12px;margin-bottom:14px;padding:12px;display:grid}.booking__legend-list{flex-wrap:wrap;gap:8px;display:flex}.booking__legend-item{color:#475569;background:#fff;border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.booking__dot{border-radius:999px;flex-shrink:0;width:9px;height:9px}.booking__filter-wrap{gap:7px;display:grid}.booking__filter-label{color:#475569;font-size:.82rem;font-weight:800}.booking__filter-select{width:100%}.booking__showing{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:12px;padding:11px 12px;font-size:.84rem}.booking__calendar-scroll{width:100%;padding-bottom:8px;overflow-x:auto}.booking__weekday-row,.booking__month-grid{min-width:760px}.booking__weekday-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-bottom:6px;display:grid}.booking__weekday{text-align:center;text-transform:uppercase;color:#64748b;padding:8px 2px;font-size:.68rem;font-weight:800}.booking__month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.booking__day{text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;min-height:106px;padding:8px}.booking__day:hover{background:#f8fafc;border-color:#cbd5e1}.booking__day.is-selected{color:#fff;background:#0f172a;border-color:#0f172a}.booking__day.is-outside-month{opacity:.42}.booking__day.is-muted-by-filter{opacity:.5}.booking__day-top{justify-content:space-between;gap:6px;display:flex}.booking__day-number{color:#0f172a;background:#f1f5f9;border-radius:8px;place-items:center;width:28px;height:28px;font-size:.78rem;font-weight:800;display:grid}.booking__day-number.is-today{color:#fff;background:#0f172a}.booking__day-number.is-selected{color:#fff;background:#ffffff24}.booking__day-count{color:#334155;background:#f1f5f9;border-radius:999px;min-height:22px;padding:3px 7px;font-size:.66rem;font-weight:800}.booking__day.is-selected .booking__day-count{color:#fff;background:#ffffff24}.booking__preview-list{flex-direction:column;gap:5px;margin-top:8px;display:flex}.booking__preview-item{white-space:nowrap;text-overflow:ellipsis;border-radius:7px;padding:5px 7px;font-size:.68rem;font-weight:700;line-height:1.3;overflow:hidden}.booking__preview-more{color:#64748b;font-size:.68rem;font-weight:800}.booking-modal-backdrop{z-index:999;background:#0f172a94;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.booking-modal{background:#fff;border-radius:18px;width:min(100%,620px);max-height:92vh;overflow:auto;box-shadow:0 24px 80px #0f172a4d}.booking-modal--wide{width:min(100%,860px)}.booking-modal__header{z-index:2;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:14px;padding:16px;display:flex;position:sticky;top:0}.booking-modal__header h2{color:#0f172a;margin:0;font-size:1.25rem}.booking-modal__close{cursor:pointer;background:#f1f5f9;border:0;border-radius:12px;width:38px;height:38px;font-size:1.5rem}.booking-modal__body{gap:14px;padding:16px;display:grid}.booking__modal-actions,.booking__modal-footer{gap:10px;display:grid}.booking__form-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:14px;padding:14px;display:flex}.booking__form-card--modal{background:0 0;border:0;padding:0}.booking__field{flex-direction:column;gap:7px;display:flex}.booking__field-label{color:#334155;font-size:.8rem;font-weight:800}.booking__two-col{grid-template-columns:1fr;gap:10px;display:grid}.booking__event-list{flex-direction:column;gap:10px;display:flex}.booking__event-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:12px;padding:14px;display:grid}.booking__event-badges{margin-bottom:6px}.booking__event-badge{border-radius:999px;padding:4px 8px;font-size:.7rem;font-weight:800;display:inline-flex}.booking__event-title{color:#0f172a;font-size:.92rem;font-weight:800}.booking__event-time{color:#64748b;margin-top:4px;font-size:.82rem}.booking__event-actions{grid-template-columns:1fr;gap:8px;display:grid}.booking__remove-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;min-height:38px;padding:8px 12px;font-size:.76rem;font-weight:800}.booking__remove-btn:hover{background:#f8fafc}.booking__dot.is-blue{background:#3b82f6}.booking__dot.is-green{background:#22c55e}.booking__dot.is-amber{background:#f59e0b}.booking__dot.is-rose{background:#f43f5e}.booking__dot.is-violet{background:#8b5cf6}.booking__preview-item.is-blue,.booking__event-badge.is-blue{color:#1d4ed8;background:#dbeafe}.booking__preview-item.is-green,.booking__event-badge.is-green{color:#15803d;background:#dcfce7}.booking__preview-item.is-amber,.booking__event-badge.is-amber{color:#b45309;background:#fef3c7}.booking__preview-item.is-rose,.booking__event-badge.is-rose{color:#be123c;background:#ffe4e6}.booking__preview-item.is-violet,.booking__event-badge.is-violet{color:#6d28d9;background:#ede9fe}.booking__preview-item.is-blue-selected{color:#eff6ff;background:#60a5fa38}.booking__preview-item.is-green-selected{color:#f0fdf4;background:#4ade8033}.booking__preview-item.is-amber-selected{color:#fffbeb;background:#fbbf2438}.booking__preview-item.is-rose-selected{color:#fff1f2;background:#f43f5e38}.booking__preview-item.is-violet-selected{color:#f5f3ff;background:#8b5cf63d}.booking__event-card.is-blue-border{border-color:#bfdbfe}.booking__event-card.is-green-border{border-color:#bbf7d0}.booking__event-card.is-amber-border{border-color:#fde68a}.booking__event-card.is-rose-border{border-color:#fecdd3}.booking__event-card.is-violet-border{border-color:#ddd6fe}@media (width<=640px){.booking__calendar-scroll{overflow-x:visible}.booking__weekday-row,.booking__month-grid{gap:4px;min-width:0}.booking__day{border-radius:8px;min-height:52px;padding:5px}.booking__day-number{width:24px;height:24px;font-size:.72rem}.booking__day-count{min-height:18px;padding:2px 5px;font-size:.6rem}.booking__preview-list{display:none}.booking__weekday{padding:6px 0;font-size:.58rem}.booking__day{min-height:64px;padding:6px;overflow:visible}.booking__day-top{flex-direction:column;align-items:flex-start;gap:4px}.booking__day-count{max-width:100%;min-height:18px;padding:2px 6px;font-size:.62rem;line-height:1}}@media (width>=980px){.booking{padding:24px}.booking__calendar-card{border-radius:16px;padding:20px}.booking__calendar-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px}.booking__header-actions{justify-content:flex-end;align-items:center;display:flex}.booking__month-controls{min-width:250px}.booking__legend-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.booking__filter-wrap{grid-template-columns:auto 220px;align-items:center}.booking__calendar-scroll{overflow-x:visible}.booking__weekday-row,.booking__month-grid{gap:8px;min-width:0}.booking__day{min-height:128px;padding:10px}.booking__day-number{width:32px;height:32px}.booking__event-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.booking__event-actions{align-items:center;display:flex}}.memberships-page{gap:16px;display:grid}.memberships-hero{background:#fff;border:1px solid #0f172a1a;border-radius:18px;gap:18px;padding:18px;display:grid;box-shadow:0 10px 28px #0f172a0f}.memberships-hero h2{margin:0 0 8px;font-size:1.55rem;line-height:1.1}.memberships-hero p{color:#64748b;margin:0;line-height:1.5}.memberships-hero__actions{gap:10px;display:grid}.memberships-hero__actions button{justify-content:center;width:100%}.memberships-stats{grid-template-columns:1fr;gap:12px;display:grid}.memberships-stat-card{background:#fff;border:1px solid #0f172a1a;border-radius:16px;gap:7px;padding:16px;display:grid;box-shadow:0 8px 22px #0f172a0d}.memberships-stat-card svg{color:#2563eb}.memberships-stat-card span{color:#64748b;font-size:.86rem;font-weight:650}.memberships-stat-card strong{letter-spacing:-.04em;font-size:1.55rem;line-height:1}.memberships-layout{gap:16px;display:grid}.memberships-panel{background:#fff;border:1px solid #0f172a1a;border-radius:18px;padding:16px;box-shadow:0 8px 22px #0f172a0d}.memberships-panel__header{margin-bottom:14px}.memberships-panel__header h3{margin:0 0 4px;font-size:1.05rem}.memberships-panel__header p{color:#64748b;margin:0;font-size:.92rem;line-height:1.45}.memberships-panel__header--split{gap:12px;display:grid}.memberships-panel__header--split button{justify-content:center;width:100%}.membership-category-grid{grid-template-columns:1fr;gap:12px;display:grid}.membership-category-card{background:#f8fafc;border:1px solid #0f172a14;border-radius:16px;gap:12px;padding:14px;display:grid}.membership-category-card__top{gap:10px;display:grid}.membership-category-card h4,.membership-plan-card h4,.membership-empty-box h4{margin:0 0 4px}.membership-category-card p,.membership-plan-card p,.membership-empty-box p{color:#64748b;margin:0;line-height:1.45}.membership-category-meta{flex-wrap:wrap;gap:8px;display:flex}.membership-category-meta span{color:#334155;background:#e2e8f0;border-radius:999px;padding:6px 8px;font-size:.74rem;font-weight:750}.membership-category-sections{gap:18px;display:grid}.membership-plan-category-section{gap:12px;display:grid}.membership-plan-category-title{border-bottom:1px solid #0f172a14;justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;display:flex}.membership-plan-category-title h4{margin:0;font-size:.98rem}.membership-plan-category-title span{color:#64748b;font-size:.82rem;font-weight:750}.memberships-plan-grid{grid-template-columns:1fr;gap:12px;display:grid}.membership-plan-card{background:#f8fafc;border:1px solid #0f172a14;border-radius:16px;flex-direction:column;gap:12px;padding:14px;display:flex}.membership-plan-card__top{gap:10px;display:grid}.membership-category-pill{color:#3730a3;text-transform:uppercase;letter-spacing:.06em;background:#eef2ff;border-radius:999px;width:fit-content;margin-bottom:8px;padding:5px 9px;font-size:.68rem;font-weight:850;display:inline-flex}.membership-plan-card__price strong{letter-spacing:-.04em;font-size:1.55rem}.membership-plan-card__price span{color:#64748b;margin-left:4px}.membership-perks{gap:8px;margin:0;padding:0;list-style:none;display:grid}.membership-perks li{color:#334155;align-items:center;gap:8px;font-size:.88rem;line-height:1.35;display:flex}.membership-perks svg{color:#16a34a;flex-shrink:0}.membership-empty-text{color:#64748b;margin:0;font-size:.88rem}.membership-stripe-note{color:#3730a3;word-break:break-word;background:#eef2ff;border-radius:12px;padding:9px 10px;font-size:.78rem}.membership-status{text-transform:capitalize;color:#334155;background:#e2e8f0;border-radius:999px;align-items:center;width:fit-content;padding:5px 9px;font-size:.72rem;font-weight:850;display:inline-flex}.membership-status.is-active{color:#166534;background:#dcfce7}.membership-status.is-paused{color:#92400e;background:#fef3c7}.membership-status.is-cancelled,.membership-status.is-expired,.membership-status.is-muted{color:#991b1b;background:#fee2e2}.membership-card-actions{flex-wrap:wrap;gap:8px;margin-top:auto;display:flex}.membership-card-actions button,.membership-table__actions button{color:#0f172a;cursor:pointer;background:#e2e8f0;border:0;border-radius:10px;align-items:center;gap:6px;min-height:36px;padding:8px 10px;font-weight:800;display:inline-flex}.membership-card-actions button:hover,.membership-table__actions button:hover{background:#cbd5e1}.membership-table{gap:10px;display:grid}.membership-table__head{display:none}.membership-table__row{background:#f8fafc;border:1px solid #0f172a12;border-radius:16px;gap:8px;padding:14px;display:grid}.membership-table__row>span{color:#334155;justify-content:space-between;gap:12px;font-size:.92rem;display:flex}.membership-table__row>span:first-child:before{content:"Customer";color:#64748b;font-weight:800}.membership-table__row>span:nth-child(2):before{content:"Plan";color:#64748b;font-weight:800}.membership-table__row>span:nth-child(3):before{content:"Status";color:#64748b;font-weight:800}.membership-table__row>span:nth-child(4):before{content:"Dates";color:#64748b;font-weight:800}.membership-table__actions{gap:8px;margin-top:4px;justify-content:flex-start!important;display:flex!important}.membership-table__actions:before{display:none}.membership-empty-box{background:#f8fafc;border:1px dashed #0f172a2e;border-radius:16px;padding:16px}.membership-modal-backdrop{z-index:50;background:#0f172a8f;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.membership-modal{background:#fff;border-radius:18px;width:min(720px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 70px #0f172a40}.membership-modal__header{z-index:2;background:#fff;border-bottom:1px solid #0f172a14;justify-content:space-between;align-items:center;padding:16px;display:flex;position:sticky;top:0}.membership-modal__header h3{margin:0}.membership-modal__header button{cursor:pointer;background:#f1f5f9;border:0;border-radius:12px;width:36px;height:36px}.membership-form{gap:14px;padding:16px;display:grid}.membership-form label{color:#0f172a;gap:7px;font-weight:800;display:grid}.membership-form input,.membership-form textarea,.membership-form select{width:100%;font:inherit;color:#0f172a;background:#fff;border:1px solid #0f172a24;border-radius:12px;padding:11px 12px}.membership-form textarea{resize:vertical;min-height:96px}.membership-form__grid{grid-template-columns:1fr;gap:12px;display:grid}.membership-checkbox{flex-direction:row;align-items:center;gap:10px!important;display:flex!important}.membership-checkbox input{width:auto}.membership-form__actions{grid-template-columns:1fr;gap:10px;padding-top:8px;display:grid}.membership-form__actions button{cursor:pointer;border:0;border-radius:12px;min-height:42px;padding:10px 14px;font-weight:850}.membership-form__actions button[type=button]{color:#0f172a;background:#e2e8f0}.membership-form__actions button[type=submit]{color:#fff;background:#2563eb}@media (width>=700px){.memberships-page{gap:18px}.memberships-hero{padding:20px}.memberships-hero__actions,.memberships-stats,.membership-category-grid,.memberships-plan-grid,.membership-form__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.membership-form__actions{justify-content:flex-end;display:flex}.membership-form__actions button{min-width:130px}}@media (width>=1100px){.memberships-page{gap:22px}.memberships-hero{background:radial-gradient(circle at 100% 0,#2563eb1a,#0000 32%),#fff;border-radius:22px;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:24px}.memberships-hero h2{font-size:1.85rem}.memberships-hero__actions{justify-content:flex-end;align-items:center;max-width:560px;display:flex}.memberships-hero__actions button{width:auto}.memberships-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.memberships-stat-card{border-radius:18px}.memberships-layout{gap:22px}.memberships-panel{border-radius:22px;padding:20px}.memberships-panel__header--split{justify-content:space-between;align-items:flex-start;display:flex}.memberships-panel__header--split button{width:auto}.membership-category-grid,.memberships-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.membership-category-card__top,.membership-plan-card__top{justify-content:space-between;align-items:flex-start;display:flex}.membership-card-actions{justify-content:flex-end}.membership-table__head,.membership-table__row{grid-template-columns:1.5fr 1.2fr .8fr 1.2fr auto;align-items:center;gap:12px;display:grid}.membership-table__head{color:#64748b;text-transform:uppercase;letter-spacing:.06em;padding:0 12px 8px;font-size:.76rem;font-weight:850}.membership-table__row>span{display:block}.membership-table__row>span:before{display:none}.membership-table__actions{margin-top:0;justify-content:flex-end!important}}@media (width>=1400px){.memberships-plan-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.payments{padding:28px}.payments__header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.payments__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:8px;font-size:.76rem;font-weight:700;display:inline-block}.payments__header h1{color:#0f172a;margin:0 0 10px;font-size:2rem;line-height:1.1}.payments__header p{color:#475569;max-width:680px;margin:0;line-height:1.6}.payments__header-actions{flex-wrap:wrap;gap:10px;display:flex}.payments__stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.payments-stat{background:#fff;border:1px solid #e2e8f0;padding:18px}.payments-stat__label{color:#64748b;margin-bottom:8px;font-size:.82rem;display:block}.payments-stat__value{color:#0f172a;font-size:1.8rem;line-height:1}.payments__toolbar{justify-content:space-between;gap:16px;margin-bottom:20px;display:flex}.payments__search{flex:1}.payments__filters{gap:12px;display:flex}.payments__filters .input,.payments__search .input{min-height:44px}.payments__content-grid{grid-template-columns:minmax(0,2fr) 360px;gap:18px;display:grid}.payments__table-card,.payments__panel{background:#fff;border:1px solid #e2e8f0}.payments__card-head{padding:18px 18px 0}.payments__card-head h2{color:#0f172a;margin:0;font-size:1.05rem}.payments-table-wrap{padding:18px;overflow-x:auto}.payments-table{border-collapse:collapse;width:100%;min-width:820px}.payments-table th,.payments-table td{text-align:left;color:#0f172a;border-bottom:1px solid #e2e8f0;padding:14px 12px;font-size:.94rem}.payments-table th{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.78rem}.payments-table tbody tr:hover,.payments-table tbody tr.is-selected{background:#f8fafc}.payments-table__action{color:#0f172a;cursor:pointer;background:0 0;border:1px solid #cbd5e1;min-height:34px;padding:6px 12px}.payments-table__action:hover{background:#f8fafc}.payments-badge{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;justify-content:center;align-items:center;min-height:30px;padding:4px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.payments__side-column{align-content:start;gap:18px;display:grid}.payments-form,.payments__info-list{gap:14px;padding:18px;display:grid}.payments__info-item{gap:4px;display:grid}.payments__info-label{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.78rem;font-weight:700}.payments__info-value{color:#0f172a;word-break:break-word;line-height:1.5}.payments__action-list{gap:10px;padding:18px;display:grid}.payments__action-btn{color:#0f172a;text-align:left;cursor:pointer;background:0 0;border:1px solid #cbd5e1;min-height:42px;padding:10px 12px}.payments__action-btn:hover{background:#f8fafc}.payments__action-btn:disabled,.payments-table__action:disabled{opacity:.55;cursor:not-allowed}@media (width<=1200px){.payments__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.payments__content-grid{grid-template-columns:1fr}.payments__side-column{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.payments{padding:20px}.payments__header,.payments__toolbar{flex-direction:column}.payments__filters{flex-direction:column;width:100%}.payments__side-column{grid-template-columns:1fr}}@media (width<=640px){.payments{padding:16px}.payments__stats{grid-template-columns:1fr}.payments__header-actions{flex-direction:column}.payments__table-card,.payments__panel{overflow:hidden}}.btn{cursor:pointer;border-radius:var(--radius-md);border:none;justify-content:center;align-items:center;gap:.5rem;font-family:inherit;font-weight:600;transition:all .2s;display:inline-flex}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-sm{min-height:36px;padding:0 1rem;font-size:.875rem}.btn-md{min-height:44px;padding:0 1.25rem;font-size:.95rem}.btn-lg{min-height:52px;padding:0 1.75rem;font-size:1rem}.btn-primary{background:linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));color:#fff;box-shadow:var(--shadow-sm)}.btn-primary:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}.btn-secondary{color:var(--primary-color);border:1px solid var(--primary-color);background:0 0}.btn-secondary:hover{background:#ffffff0d}.btn-ghost{color:var(--color-text);background:0 0}.btn-ghost:hover{background:#ffffff0d}.btn-success{background:var(--color-success);color:#fff}.btn-danger{background:var(--color-danger);color:#fff}.btn-full{width:100%}.classes-page{background:#f8fafc;min-height:100%;padding:14px}.classes-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;max-width:1440px;margin:0 auto;padding:16px;box-shadow:0 18px 50px #0f172a0d}.classes-header{gap:14px;margin-bottom:16px;display:grid}.classes-eyebrow{color:#64748b;letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px;font-size:.68rem;font-weight:900;display:inline-block}.classes-header h1,.classes-day-panel-header h2{color:#0f172a;margin:0}.classes-header h1{margin-bottom:8px;font-size:1.6rem}.classes-header p,.classes-day-panel-header p{color:#475569;margin:0;font-size:.92rem;line-height:1.5}.classes-actions,.classes-modal-actions{gap:10px;display:grid}.classes-tabs{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;padding:6px;display:grid}.classes-tabs button{color:#475569;cursor:pointer;background:0 0;border:0;border-radius:11px;min-height:42px;font-weight:900}.classes-tabs button.is-active{color:#fff;background:#0f172a}.classes-message{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:12px;padding:12px 13px;font-size:.86rem}.classes-monthbar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;margin-bottom:14px;padding:7px;display:grid}.classes-monthbar button{color:#334155;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;height:40px;font-size:1.1rem}.classes-monthbar button:hover{background:#fff;border-color:#e2e8f0}.classes-monthbar strong{color:#0f172a;text-align:center;font-size:1rem}.classes-monthbar-title{justify-content:center;align-items:center;gap:.75rem;display:flex}.classes-today-button{width:auto;padding:.35rem .7rem;font-weight:900;color:#0f172a!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:999px!important;height:auto!important;font-size:.78rem!important}.classes-planner{gap:14px;display:grid}.classes-day-sidebar{grid-auto-columns:minmax(82px,1fr);grid-auto-flow:column;gap:8px;padding-bottom:6px;display:grid;overflow-x:auto}.classes-day-row{color:#0f172a;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:5px;min-height:88px;padding:10px;display:grid;position:relative}.classes-day-row:hover{background:#f8fafc;border-color:#cbd5e1}.classes-day-row span{color:#64748b;letter-spacing:.06em;text-transform:uppercase;font-size:.68rem;font-weight:900}.classes-day-row strong{color:inherit;font-size:1.35rem}.classes-day-row em{color:#64748b;font-size:.72rem;font-style:normal;font-weight:800}.classes-day-row.is-today{background:#eff6ff;border-color:#93c5fd}.classes-day-row.is-today:before{content:"";background:#2563eb;border-radius:999px;width:8px;height:8px;position:absolute;top:10px;right:10px}.classes-day-row.is-selected,.classes-day-row.is-active{color:#fff;background:#0f172a;border-color:#0f172a;box-shadow:0 12px 30px #0f172a2e}.classes-day-row.is-selected span,.classes-day-row.is-selected em,.classes-day-row.is-active span,.classes-day-row.is-active em{color:#ffffffb8}.classes-day-row.is-selected.is-today:before,.classes-day-row.is-active.is-today:before{background:#fff}.classes-day-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;gap:14px;min-height:420px;padding:14px;display:grid}.classes-day-panel-header{gap:12px;display:grid}.classes-day-session-list{gap:10px;display:grid}.classes-day-session-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;gap:12px;padding:14px;display:grid}.classes-session-main{gap:6px;display:grid}.classes-session-main h3{color:#0f172a;margin:0}.classes-session-main p{color:#64748b;margin:0;font-size:.86rem;font-weight:700}.classes-session-stats{justify-items:start;gap:2px;display:grid}.classes-session-stats strong{color:#0f172a;font-size:1.15rem}.classes-session-stats span{color:#64748b;font-size:.76rem;font-weight:800}.classes-empty-state{text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:18px;place-items:center;gap:10px;min-height:280px;padding:22px;display:grid}.classes-empty-state strong{color:#0f172a;font-size:1.05rem}.classes-empty-state p{color:#64748b;margin:0}.classes-template-list{grid-template-columns:1fr;gap:12px;display:grid}.classes-template-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;gap:12px;padding:14px;display:grid}.classes-template-card h3{color:#0f172a;margin:0 0 5px}.classes-template-card p{color:#475569;margin:0 0 8px}.classes-template-card span{color:#64748b;font-size:.82rem}.classes-modal-backdrop{z-index:999;background:#0f172a94;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.classes-modal{background:#fff;border-radius:20px;width:min(100%,620px);max-height:92vh;overflow:auto;box-shadow:0 24px 80px #0f172a4d}.classes-modal--wide{width:min(100%,920px)}.classes-modal-header{z-index:2;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:14px;padding:16px;display:flex;position:sticky;top:0}.classes-modal-header span{color:#64748b;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:.7rem;font-weight:900;display:inline-block}.classes-modal-header h2{color:#0f172a;margin:0;font-size:1.25rem}.classes-modal-header button{cursor:pointer;background:#f1f5f9;border:0;border-radius:12px;width:38px;height:38px;font-size:1.5rem}.classes-modal-body{gap:14px;padding:16px;display:grid}.classes-field{flex-direction:column;gap:7px;display:flex}.classes-field span{color:#334155;font-size:.8rem;font-weight:900}.classes-two-col{grid-template-columns:1fr;gap:10px;display:grid}.classes-check-row{color:#334155;align-items:center;gap:.55rem;margin-top:.75rem;font-weight:800;display:flex}.classes-check-row input{width:16px;height:16px}.classes-price-helper{color:#64748b;font-size:.78rem;font-weight:700}.input{color:#0f172a;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px}.input:focus{border-color:#0f172a;outline:2px solid #0f172a29}.classes-signup-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;align-items:center;gap:8px;padding:14px;display:flex}.classes-signup-summary strong{color:#0f172a;font-size:1.5rem}.classes-signup-summary span{color:#475569;font-weight:700}.classes-signup-list{gap:10px;display:grid}.classes-signup-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;gap:12px;padding:14px;display:grid}.classes-signup-info{gap:4px;display:grid}.classes-signup-info strong{color:#0f172a}.classes-signup-info span{color:#64748b;font-size:.82rem}.classes-signup-payment-controls{gap:8px;display:grid}.classes-status{text-transform:capitalize;background:#fef3c7;border-radius:999px;place-self:start;padding:5px 9px;font-weight:900;color:#b45309!important;font-size:.7rem!important}.classes-status.is-paid,.classes-status.is-completed{background:#dcfce7;color:#15803d!important}.classes-status.is-unpaid,.classes-status.is-cancelled{background:#fee2e2;color:#b91c1c!important}.classes-status.is-pending,.classes-status.is-scheduled{background:#dbeafe;color:#1d4ed8!important}.classes-status.is-refunded{background:#e0e7ff;color:#4338ca!important}.classes-modal-actions--split{border-bottom:1px solid #e2e8f0;gap:10px;padding-bottom:14px;display:grid}.classes-stats-grid{gap:12px;margin-bottom:16px;display:grid}.classes-stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px}.classes-stat-card span{color:#64748b;font-size:.8rem;font-weight:700;display:block}.classes-stat-card strong{color:#0f172a;margin-top:6px;font-size:1.75rem;display:block}.classes-capacity-bar{background:#e2e8f0;border-radius:999px;width:100%;height:8px;margin-top:8px;overflow:hidden}.classes-capacity-bar span{background:#0f172a;height:100%;display:block}.classes-template-meta{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px;display:grid}.classes-template-meta div{text-align:center;background:#f8fafc;border-radius:12px;padding:10px}.classes-template-meta strong{color:#0f172a;font-size:1rem;display:block}.classes-template-meta span{color:#64748b;margin-top:4px;font-size:.72rem;display:block}@media (width>=760px){.classes-page{padding:22px}.classes-card{padding:20px}.classes-header{grid-template-columns:minmax(0,1fr) auto;align-items:start}.classes-actions,.classes-modal-actions{justify-content:flex-end;display:flex}.classes-two-col{grid-template-columns:1fr 1fr}.classes-day-panel-header{grid-template-columns:minmax(0,1fr) auto;align-items:center}.classes-day-session-card{grid-template-columns:minmax(0,1fr) 90px auto;align-items:center}.classes-signup-card{grid-template-columns:minmax(0,1fr) 260px;align-items:start}.classes-modal-actions--split{justify-content:space-between;align-items:center;display:flex}.classes-template-list{grid-template-columns:repeat(2,minmax(0,1fr))}.classes-stats-grid{grid-template-columns:repeat(4,1fr)}}@media (width>=1080px){.classes-planner{grid-template-columns:250px minmax(0,1fr);align-items:start}.classes-day-sidebar{grid-auto-flow:row;grid-auto-columns:initial;max-height:680px;padding-right:4px;overflow:hidden auto}.classes-day-row{grid-template-columns:42px 38px minmax(0,1fr);align-items:center;min-height:auto}.classes-day-row strong{text-align:center}.classes-template-list{grid-template-columns:repeat(3,minmax(0,1fr))}.classes-template-card{align-content:space-between;min-height:190px}}.portal-gallery-page{color:#0f172a;background:#f8fafc;min-height:100%;padding:14px}.portal-gallery-page *,.portal-gallery-page :before,.portal-gallery-page :after{box-sizing:border-box}.portal-gallery-page button,.portal-gallery-page input,.portal-gallery-page textarea,.portal-gallery-page select{font:inherit}.portal-gallery-page__header,.portal-gallery-toolbar,.portal-gallery-sidebar,.portal-gallery-editor{background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 18px 50px #0f172a0d}.portal-gallery-page__header{gap:14px;max-width:1440px;margin:0 auto 14px;padding:16px;display:grid}.portal-gallery-page__eyebrow{color:#64748b;letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px;font-size:.68rem;font-weight:900;display:inline-block}.portal-gallery-page__title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.portal-gallery-page__header h1{color:#0f172a;margin:0;font-size:1.6rem}.portal-gallery-page__header p{color:#475569;max-width:760px;margin:8px 0 0;font-size:.92rem;line-height:1.5}.portal-gallery-page__actions{gap:10px;display:grid}.portal-gallery-upload,.portal-gallery-save-btn,.portal-gallery-secondary-btn,.portal-gallery-danger-btn{cursor:pointer;border:1px solid #0000;border-radius:12px;min-height:42px;padding:0 14px;font-weight:900}.portal-gallery-upload{color:#0f172a;background:#f8fafc;border-color:#e2e8f0;justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:hidden}.portal-gallery-upload input{opacity:0;cursor:pointer;position:absolute;inset:0}.portal-gallery-save-btn{color:#fff;background:#0f172a}.portal-gallery-secondary-btn{color:#0f172a;background:#fff;border-color:#e2e8f0}.portal-gallery-danger-btn{color:#b91c1c;background:#fee2e2;border-color:#fecaca}.portal-gallery-upload:hover,.portal-gallery-secondary-btn:hover{background:#f8fafc;border-color:#cbd5e1}.portal-gallery-save-btn:hover{background:#1e293b}.portal-gallery-danger-btn:hover{background:#fecaca}.portal-gallery-save-btn:disabled,.portal-gallery-secondary-btn:disabled,.portal-gallery-danger-btn:disabled{opacity:.55;cursor:not-allowed}.portal-gallery-upload:has(input:disabled){opacity:.55;cursor:not-allowed}.portal-gallery-message{border-radius:14px;margin:12px 0 0;padding:12px 13px;font-size:.86rem;font-weight:800}.portal-gallery-message--error{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca}.portal-gallery-message--success{color:#15803d;background:#dcfce7;border:1px solid #bbf7d0}.portal-gallery-toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:18px;gap:12px;max-width:1440px;margin:0 auto 14px;padding:14px;display:grid;box-shadow:0 18px 50px #0f172a0d}.portal-gallery-toolbar__top,.portal-gallery-toolbar__bottom,.portal-gallery-toolbar__actions{gap:10px;display:grid}.portal-gallery-search,.portal-gallery-select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:12px;width:100%;min-height:42px;padding:10px 12px}.portal-gallery-toggle{color:#334155;white-space:nowrap;align-items:center;gap:8px;width:fit-content;min-height:42px;padding:0 4px;font-weight:800;display:inline-flex}.portal-gallery-toggle input{width:16px;height:16px;min-height:unset;flex:none;margin:0;padding:0}.portal-gallery-toggle span{line-height:1.1}.portal-gallery-layout{gap:14px;max-width:1440px;margin:0 auto;display:grid}.portal-gallery-sidebar,.portal-gallery-editor{overflow:hidden}.portal-gallery-sidebar__head{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:10px;padding:16px;display:flex}.portal-gallery-sidebar__head h2{color:#0f172a;margin:0;font-size:1.15rem}.portal-gallery-sidebar__head span{color:#64748b;font-size:.85rem;font-weight:700}.portal-gallery-list{gap:10px;max-height:520px;padding:12px;display:grid;overflow-y:auto}.portal-gallery-list__item-wrap{cursor:grab;background:#fff;border:1px solid #e2e8f0;border-radius:16px;grid-template-columns:34px 1fr;display:grid}.portal-gallery-list__item-wrap:hover{background:#f8fafc;border-color:#cbd5e1}.portal-gallery-list__item-wrap.is-active{color:#fff;background:#0f172a;border-color:#0f172a;box-shadow:0 12px 30px #0f172a2e}.portal-gallery-list__checkbox{justify-content:center;padding-top:16px;display:flex}.portal-gallery-list__item{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:82px minmax(0,1fr);gap:12px;width:100%;padding:10px;display:grid}.portal-gallery-list__thumb{background:#e2e8f0;border-radius:12px;width:82px;height:82px;overflow:hidden}.portal-gallery-list__thumb img{object-fit:cover;width:100%;height:100%}.portal-gallery-list__meta{gap:6px;min-width:0;display:grid}.portal-gallery-list__top{justify-content:space-between;gap:8px;display:flex}.portal-gallery-list__top strong,.portal-gallery-list__meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-gallery-list__top strong{color:#0f172a;font-size:.9rem;font-weight:900}.portal-gallery-list__item-wrap.is-active strong{color:#fff}.portal-gallery-list__top small,.portal-gallery-list__meta span{color:#64748b;font-size:.78rem;font-weight:700}.portal-gallery-list__item-wrap.is-active small,.portal-gallery-list__item-wrap.is-active .portal-gallery-list__meta span{color:#ffffffb3}.portal-gallery-badges,.portal-gallery-quality{flex-wrap:wrap;gap:6px;display:flex}.portal-gallery-status,.portal-gallery-badge{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:.7rem;font-weight:900;display:inline-flex}.portal-gallery-status--good,.portal-gallery-badge--new{color:#15803d;background:#dcfce7;border-color:#bbf7d0}.portal-gallery-status--warn,.portal-gallery-badge--warn{color:#b45309;background:#fef3c7;border-color:#fde68a}.portal-gallery-badge--featured{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.portal-gallery-editor{display:grid}.portal-gallery-editor__preview{background:#f8fafc;border-bottom:1px solid #e2e8f0;place-items:center;min-height:320px;padding:14px;display:grid}.portal-gallery-editor__preview img{object-fit:contain;background:#fff;border-radius:16px;max-width:100%;max-height:520px;display:block;box-shadow:0 18px 50px #0f172a14}.portal-gallery-editor__form{gap:14px;padding:16px;display:grid}.portal-gallery-editor__heading{gap:12px;display:grid}.portal-gallery-editor__heading h3{color:#0f172a;margin:0 0 6px;font-size:1.25rem}.portal-gallery-editor__heading p{color:#64748b;margin:0;line-height:1.5}.portal-gallery-editor__mini-actions,.portal-gallery-editor__controls{flex-wrap:wrap;gap:10px;display:flex}.portal-gallery-grid{gap:10px;display:grid}.portal-field{gap:7px;display:grid}.portal-field textarea{resize:vertical;min-height:120px}.portal-field input:disabled{color:#64748b;background:#f8fafc}.portal-gallery-empty,.portal-gallery-editor__empty{color:#64748b;padding:28px}.portal-gallery-editor__empty h3{color:#0f172a;margin:0 0 8px}@media (width>=760px){.portal-gallery-page{padding:22px}.portal-gallery-page__header{grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:20px}.portal-gallery-page__actions{justify-content:flex-end;display:flex}.portal-gallery-toolbar__top{grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:center}.portal-gallery-toolbar__actions{flex-wrap:wrap;justify-content:flex-end;display:flex}.portal-gallery-toolbar__bottom{grid-template-columns:180px auto;justify-content:start;align-items:center}.portal-gallery-search{width:320px}.portal-gallery-select{width:180px}.portal-gallery-grid{grid-template-columns:1fr 1fr}.portal-gallery-editor__heading{grid-template-columns:minmax(0,1fr) auto;align-items:start}}@media (width>=1080px){.portal-gallery-layout{grid-template-columns:360px minmax(0,1fr);align-items:start}.portal-gallery-sidebar{min-height:680px}.portal-gallery-list{max-height:608px}.portal-gallery-editor{grid-template-columns:minmax(320px,520px) minmax(0,1fr);min-height:680px}.portal-gallery-editor__preview{border-bottom:0;border-right:1px solid #e2e8f0;min-height:680px}.portal-gallery-editor__form{align-content:start;padding:20px}}@media (width<=759px){.portal-gallery-upload,.portal-gallery-save-btn,.portal-gallery-secondary-btn,.portal-gallery-danger-btn,.portal-gallery-search,.portal-gallery-select{width:100%}.portal-gallery-editor__controls{display:grid}}.showcase-page{flex-direction:column;gap:24px;display:flex}.showcase-grid{grid-template-columns:minmax(0,1fr);gap:24px;display:grid}.showcase-toolbar{grid-template-columns:minmax(220px,1fr) 180px auto;align-items:end;gap:14px;padding:20px 24px;display:grid}.showcase-search{position:relative}.showcase-search svg{color:#6b7280;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.showcase-search input{padding-left:38px}.showcase-table-wrap{padding:0 24px 12px;overflow-x:auto}.showcase-actions{justify-content:flex-end;gap:8px;display:flex}.showcase-pagination{justify-content:space-between;align-items:center;gap:12px;padding:16px 24px 24px;display:flex}.showcase-form,.showcase-section-form{padding:24px}.showcase-form-actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.showcase-notice,.showcase-error{border-radius:14px;padding:14px 16px;font-weight:700}.showcase-notice{color:#166534;background:#dcfce7}.showcase-error{color:#991b1b;background:#fee2e2}.showcase-sections{border-top:1px solid #e5e7eb}.showcase-sections__header{padding:24px 24px 0}.showcase-sections__header h3{margin:0;font-size:20px}.showcase-sections__header p{color:#6b7280;margin:6px 0 0}.showcase-section-list{flex-direction:column;gap:10px;padding:0 24px 24px;display:flex}.showcase-section-row{background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.showcase-section-row span{color:#6b7280;margin-top:4px;font-size:13px;display:block}.showcase-image-preview{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:420px;overflow:hidden}.showcase-image-preview img{object-fit:cover;width:100%;height:220px;display:block}@media (width<=800px){.showcase-toolbar{grid-template-columns:1fr}.showcase-section-row{flex-direction:column;align-items:flex-start}.showcase-actions{justify-content:flex-start}}.portal-testimonials-page{box-sizing:border-box;flex-direction:column;gap:14px;min-width:0;padding:12px;display:flex}.portal-testimonials-page *,.portal-testimonials-page :before,.portal-testimonials-page :after{box-sizing:border-box}.portal-testimonials-page button,.portal-testimonials-page input,.portal-testimonials-page textarea,.portal-testimonials-page select{font:inherit}.portal-testimonials-page__header,.portal-testimonials-toolbar,.portal-testimonials-sidebar,.portal-testimonials-editor{background:#fff;border:1px solid #dbe3ee;border-radius:12px;box-shadow:0 8px 24px #0f172a0a}.portal-testimonials-page__header{flex-direction:column;gap:16px;padding:16px;display:flex}.portal-testimonials-page__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin-bottom:8px;font-size:11px;font-weight:800;display:inline-block}.portal-testimonials-page__title-row{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.portal-testimonials-page__header h1{color:#0f172a;margin:0;font-size:1.65rem;line-height:1.05}.portal-testimonials-page__header p{color:#475569;margin:10px 0 0;font-size:.94rem;line-height:1.5}.portal-testimonials-page__actions,.portal-testimonials-toolbar__group,.portal-testimonials-editor__controls,.portal-testimonials-upload-grid{flex-direction:column;gap:10px;display:flex}.portal-testimonials-save-btn,.portal-testimonials-secondary-btn,.portal-testimonials-danger-btn{appearance:none;cursor:pointer;border:1px solid #0000;border-radius:10px;width:100%;min-height:42px;padding:0 14px;font-weight:700;transition:background .2s,border-color .2s,color .2s,transform .15s,box-shadow .2s}.portal-testimonials-save-btn:hover,.portal-testimonials-secondary-btn:hover,.portal-testimonials-danger-btn:hover{transform:translateY(-1px)}.portal-testimonials-save-btn{color:#fff;background:#0f172a;box-shadow:0 8px 18px #0f172a24}.portal-testimonials-secondary-btn{color:#0f172a;background:#eff4fa;border-color:#d7e1ee}.portal-testimonials-danger-btn{color:#be123c;background:#fff1f2;border-color:#fecdd3}.portal-testimonials-save-btn:disabled,.portal-testimonials-secondary-btn:disabled,.portal-testimonials-danger-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.portal-testimonials-toolbar{padding:14px}.portal-testimonials-search,.portal-testimonials-select,.portal-field input,.portal-field textarea,.portal-field select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;width:100%}.portal-testimonials-search,.portal-testimonials-select,.portal-field input,.portal-field select{min-height:42px;padding:0 12px}.portal-field textarea{resize:vertical;min-height:120px;padding:12px;line-height:1.5}.portal-testimonials-message{border-radius:10px;margin:12px 0 0;padding:12px;font-size:13px;font-weight:600}.portal-testimonials-message--error{color:#be123c;background:#fff1f2;border:1px solid #fecdd3}.portal-testimonials-message--success{color:#166534;background:#ecfdf5;border:1px solid #bbf7d0}.portal-testimonials-status,.portal-testimonials-badge{white-space:nowrap;color:#475569;background:#f8fafc;border:1px solid #dbe3ee;border-radius:999px;justify-content:center;align-items:center;min-height:26px;padding:0 9px;font-size:11px;font-weight:800;display:inline-flex}.portal-testimonials-badge--featured{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.portal-testimonials-badge--warn{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.portal-testimonials-layout{grid-template-columns:1fr;gap:14px;min-width:0;display:grid}.portal-testimonials-sidebar{flex-direction:column;display:flex;overflow:hidden}.portal-testimonials-sidebar__head{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:10px;padding:14px;display:flex}.portal-testimonials-sidebar__head h2{color:#0f172a;margin:0;font-size:1rem}.portal-testimonials-sidebar__head span{color:#64748b;font-size:12px}.portal-testimonials-list{scroll-snap-type:x mandatory;gap:10px;padding:10px;display:flex;overflow-x:auto}.portal-testimonials-list__item{text-align:left;cursor:pointer;scroll-snap-align:start;background:0 0;border:1px solid #0000;border-radius:12px;flex:0 0 260px;grid-template-columns:64px minmax(0,1fr);gap:10px;width:100%;padding:10px;display:grid}.portal-testimonials-list__item:hover{background:#f8fafc;border-color:#dbe3ee}.portal-testimonials-list__item.is-active{background:#eff6ff;border-color:#93c5fd;box-shadow:0 8px 20px #3b82f614}.portal-testimonials-list__thumb{background:#e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:64px;height:64px;display:flex;overflow:hidden}.portal-testimonials-list__thumb img,.portal-testimonials-list__thumb video{object-fit:cover;width:100%;height:100%}.portal-testimonials-list__thumb span{color:#64748b;font-size:1.6rem;font-weight:900}.portal-testimonials-list__meta{flex-direction:column;gap:6px;min-width:0;display:flex}.portal-testimonials-list__top{justify-content:space-between;gap:8px;display:flex}.portal-testimonials-list__top strong,.portal-testimonials-list__meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-testimonials-list__top strong{color:#0f172a;font-size:.9rem}.portal-testimonials-list__top small,.portal-testimonials-list__meta span{color:#64748b;font-size:.8rem}.portal-testimonials-badges{flex-wrap:wrap;gap:5px;display:flex}.portal-testimonials-editor{grid-template-columns:1fr;display:grid;overflow:hidden}.portal-testimonials-editor__preview{background:linear-gradient(#f8fafc 0%,#f1f5f9 100%);border-bottom:1px solid #e2e8f0;justify-content:center;align-items:center;min-width:0;padding:14px;display:flex}.portal-testimonials-editor__preview img,.portal-testimonials-editor__preview video{aspect-ratio:16/9;object-fit:cover;object-position:center;background:#000;border-radius:12px;width:100%;max-height:320px;display:block;box-shadow:0 16px 30px #0f172a14}.portal-testimonials-preview-card{background:#fff;border:1px solid #dbe3ee;border-radius:14px;width:100%;padding:20px;box-shadow:0 16px 30px #0f172a14}.portal-testimonials-preview-card span{color:#cbd5e1;font-size:3rem;line-height:.75;display:block}.portal-testimonials-preview-card p{color:#334155;line-height:1.55}.portal-testimonials-preview-card strong{color:#0f172a}.portal-testimonials-editor__form{flex-direction:column;gap:16px;min-width:0;padding:16px;display:flex}.portal-testimonials-editor__heading h3{color:#0f172a;margin:0 0 6px;font-size:1.15rem}.portal-testimonials-editor__heading p{color:#64748b;margin:0;font-size:.92rem}.portal-testimonials-grid{grid-template-columns:1fr;gap:14px;display:grid}.portal-field{flex-direction:column;gap:7px;display:flex}.portal-field span{color:#334155;font-size:13px;font-weight:800}.portal-checkbox{color:#334155;align-items:center;gap:10px;min-height:40px;font-size:.92rem;font-weight:700;display:inline-flex}.portal-checkbox input{width:17px;height:17px}.portal-testimonials-empty,.portal-testimonials-editor__empty{color:#64748b;padding:24px 16px}.portal-testimonials-editor__empty h3{color:#0f172a;margin:0 0 8px}.portal-testimonials-screen-loader{z-index:99999;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172a9e;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.portal-testimonials-screen-loader__card{text-align:center;background:#fff;border:1px solid #dbe3ee;border-radius:16px;width:min(100%,340px);padding:24px;box-shadow:0 28px 80px #0f172a47}.portal-testimonials-screen-loader__card strong{color:#0f172a;margin-top:14px;font-size:1rem;display:block}.portal-testimonials-screen-loader__card p{color:#64748b;margin:8px 0 0;line-height:1.5}.portal-testimonials-screen-spinner{border:5px solid #dbe3ee;border-top-color:#0f172a;border-radius:999px;width:46px;height:46px;animation:.8s linear infinite portalTestimonialsScreenSpin;display:inline-block}.portal-testimonials-mobile-select{color:#0f172a;width:calc(100% - 20px);min-height:42px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:10px;margin:10px;padding:0 12px}.portal-testimonials-list{display:none}@media (width>=1100px){.portal-testimonials-mobile-select{display:none}.portal-testimonials-list{flex-direction:column;gap:10px;padding:10px;display:flex;overflow:hidden auto}}@keyframes portalTestimonialsScreenSpin{to{transform:rotate(360deg)}}@media (width>=720px){.portal-testimonials-page{gap:18px;padding:18px}.portal-testimonials-page__header{flex-direction:row;justify-content:space-between;align-items:flex-start;padding:20px}.portal-testimonials-page__title-row{flex-direction:row;align-items:center}.portal-testimonials-page__header h1{font-size:2rem}.portal-testimonials-page__actions,.portal-testimonials-toolbar__group,.portal-testimonials-editor__controls,.portal-testimonials-upload-grid{flex-flow:wrap;align-items:center}.portal-testimonials-save-btn,.portal-testimonials-secondary-btn,.portal-testimonials-danger-btn{width:auto}.portal-testimonials-toolbar{padding:16px}.portal-testimonials-search{width:min(100%,320px)}.portal-testimonials-select{width:200px}.portal-testimonials-grid{grid-template-columns:1fr 1fr}.portal-testimonials-editor__preview,.portal-testimonials-editor__form{padding:20px}}@media (width>=1100px){.portal-testimonials-page{gap:20px;padding:24px}.portal-testimonials-layout{grid-template-columns:320px minmax(0,1fr);gap:20px}.portal-testimonials-sidebar{min-height:680px}.portal-testimonials-list{flex-direction:column;overflow:hidden auto}.portal-testimonials-list__item{flex:initial;grid-template-columns:74px minmax(0,1fr)}.portal-testimonials-list__thumb{width:74px;height:74px}.portal-testimonials-editor{grid-template-columns:minmax(300px,460px) minmax(0,1fr);min-height:680px}.portal-testimonials-editor__preview{border-bottom:none;border-right:1px solid #e2e8f0}.portal-testimonials-editor__preview img,.portal-testimonials-editor__preview video{max-height:560px}}@media (width>=1380px){.portal-testimonials-layout{grid-template-columns:360px minmax(0,1fr)}.portal-testimonials-editor{grid-template-columns:minmax(320px,520px) minmax(0,1fr)}.portal-testimonials-list__item{grid-template-columns:88px minmax(0,1fr)}.portal-testimonials-list__thumb{width:88px;height:88px}}.agreements-page{flex-direction:column;gap:1.5rem;padding:1.5rem;display:flex}.agreements-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.agreements-eyebrow{letter-spacing:.08em;text-transform:uppercase;color:#8a6b3f;margin:0 0 .35rem;font-size:.78rem;font-weight:800}.agreements-header h1{color:#17202b;margin:0;font-size:clamp(1.8rem,3vw,2.4rem)}.agreements-header p{color:#667085;max-width:720px;margin:.45rem 0 0}.agreements-current-card{text-align:left;cursor:pointer;background:linear-gradient(135deg,#fffaf2,#fff);border:1px solid #d8b17a73;border-radius:18px;min-width:260px;padding:1rem;box-shadow:0 16px 35px #17202b14}.agreements-current-card span{color:#8a6b3f;text-transform:uppercase;margin-bottom:.35rem;font-size:.8rem;font-weight:800;display:block}.agreements-current-card strong{color:#17202b}.agreements-alert{border-radius:14px;padding:.9rem 1rem;font-weight:700}.agreements-alert.error{color:#9f1c1c;background:#fff1f1;border:1px solid #ffd2d2}.agreements-alert.success{color:#17673a;background:#effaf3;border:1px solid #ccefd8}.agreements-grid{grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);align-items:flex-start;gap:1.5rem;display:grid}.agreements-panel{background:#fff;border:1px solid #e6e8ec;border-radius:22px;overflow:hidden;box-shadow:0 20px 45px #17202b0f}.agreements-panel-header{background:#fbfcfd;border-bottom:1px solid #eef0f3;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.25rem;display:flex}.agreements-panel-header h2{color:#17202b;margin:0;font-size:1.15rem}.agreements-panel-header p{color:#667085;margin:.3rem 0 0;font-size:.92rem}.agreements-form{flex-direction:column;gap:1rem;padding:1.25rem;display:flex}.agreements-form label{color:#344054;flex-direction:column;gap:.45rem;font-size:.9rem;font-weight:700;display:flex}.agreements-form input,.agreements-form textarea{color:#17202b;width:100%;font:inherit;background:#fff;border:1px solid #d9dee7;border-radius:14px;outline:none;padding:.85rem .95rem;transition:border-color .2s,box-shadow .2s}.agreements-form input:focus,.agreements-form textarea:focus{border-color:#d8b17a;box-shadow:0 0 0 4px #d8b17a2e}.agreements-form textarea{resize:vertical}.agreements-section-title{justify-content:space-between;align-items:center;gap:1rem;display:flex}.agreements-section-title h3{color:#17202b;margin:0;font-size:1rem}.agreements-section-title button,.publish-btn,.primary-btn,.view-btn{cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:.45rem;font-weight:800;transition:transform .15s,opacity .15s,box-shadow .15s;display:inline-flex}.agreements-section-title button{color:#17202b;background:#f1f3f6;padding:.6rem .85rem}.agreements-section-title button:hover,.publish-btn:hover,.primary-btn:hover,.view-btn:hover{transform:translateY(-1px)}.agreements-sections-editor{flex-direction:column;gap:1rem;display:flex}.agreements-section-editor{background:#fbfcfd;border:1px solid #e6e8ec;border-radius:18px;flex-direction:column;gap:.9rem;padding:1rem;display:flex}.agreements-section-editor-top{justify-content:space-between;align-items:center;display:flex}.agreements-section-editor-top strong{color:#17202b}.icon-danger{color:#b42318;cursor:pointer;background:#fff1f1;border:0;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.icon-danger:disabled{opacity:.45;cursor:not-allowed}.agreement-checkbox{color:#344054;cursor:pointer;align-items:center;flex-direction:row!important}.agreement-checkbox input{width:auto}.primary-btn{color:#fff;background:#1a242e;align-self:flex-start;padding:.8rem 1.1rem;box-shadow:0 14px 25px #1a242e2e}.primary-btn:disabled,.publish-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.agreements-empty{color:#667085;text-align:center;padding:2rem}.agreements-list{flex-direction:column;gap:1rem;padding:1.25rem;display:flex}.agreement-card{background:#fff;border:1px solid #e6e8ec;border-radius:18px;padding:1rem}.agreement-card-top{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.agreement-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.agreement-card h3{color:#17202b;margin:.45rem 0 .15rem}.agreement-card p{color:#667085;margin:0}.agreement-status{text-transform:uppercase;border-radius:999px;align-items:center;gap:.4rem;width:fit-content;padding:.35rem .65rem;font-size:.75rem;font-weight:900;display:inline-flex}.agreement-status.current{color:#17673a;background:#effaf3}.agreement-status.draft{color:#6941c6;background:#f4f0ff}.agreement-status.archived{color:#475467;background:#f2f4f7}.publish-btn{color:#1a242e;background:#d8b17a;padding:.65rem .9rem}.view-btn{color:#17202b;background:#f1f3f6;padding:.65rem .9rem}.agreement-description{border-top:1px solid #eef0f3;padding-top:.85rem;margin-top:.85rem!important}.agreement-meta,.agreement-viewer-meta{flex-wrap:wrap;gap:.5rem;margin-top:.9rem;display:flex}.agreement-meta span,.agreement-viewer-meta span{color:#475467;background:#f6f7f9;border-radius:999px;padding:.35rem .6rem;font-size:.78rem;font-weight:700}.agreement-viewer-meta{border-bottom:1px solid #eef0f3;margin:0;padding:1rem 1.4rem}.agreement-sections-preview{flex-direction:column;gap:.45rem;margin-top:.9rem;display:flex}.agreement-preview-row{background:#fbfcfd;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem .75rem;display:flex}.agreement-preview-row span{color:#17202b;font-weight:700}.agreement-preview-row small{color:#667085;font-weight:800}.agreement-viewer{z-index:80;background:#0f172a7a;justify-content:center;align-items:flex-start;padding:3rem 1rem;display:flex;position:fixed;inset:0;overflow-y:auto}.agreement-viewer-card{background:#fff;border-radius:24px;width:min(900px,100%);overflow:hidden;box-shadow:0 24px 80px #0f172a47}.agreement-viewer-header{background:#fbfcfd;border-bottom:1px solid #eef0f3;justify-content:space-between;gap:1rem;padding:1.4rem;display:flex}.agreement-viewer-header h2{color:#17202b;margin:.65rem 0 .2rem}.agreement-viewer-header p{color:#667085;margin:0}.agreement-viewer-close{color:#17202b;cursor:pointer;background:#f1f3f6;border:0;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.agreement-viewer-description{color:#667085;border-bottom:1px solid #eef0f3;margin:0;padding:1.25rem 1.4rem}.agreement-viewer-sections{flex-direction:column;gap:1rem;padding:1.4rem;display:flex}.agreement-viewer-section{background:#fff;border:1px solid #e6e8ec;border-radius:18px;padding:1rem}.agreement-viewer-section-title{justify-content:space-between;gap:1rem;margin-bottom:.75rem;display:flex}.agreement-viewer-section-title h3{color:#17202b;margin:0}.agreement-viewer-section-title span{color:#475467;white-space:nowrap;background:#f6f7f9;border-radius:999px;height:fit-content;padding:.35rem .65rem;font-size:.78rem;font-weight:800}.agreement-viewer-section p{color:#344054;white-space:pre-wrap;margin:0;line-height:1.65}.agreement-viewer-footer{background:#fbfcfd;border-top:1px solid #eef0f3;justify-content:flex-end;padding:1.25rem 1.4rem;display:flex}@media (width<=1050px){.agreements-grid{grid-template-columns:1fr}.agreements-header{flex-direction:column}.agreements-current-card{width:100%}}@media (width<=640px){.agreements-page,.agreements-panel-header,.agreements-form,.agreements-list{padding:1rem}.agreement-card-top{flex-direction:column}.agreement-card-actions,.publish-btn,.primary-btn,.view-btn{width:100%}.agreements-section-title{flex-direction:column;align-items:stretch}.agreement-viewer{padding:1rem}.agreement-viewer-header{align-items:flex-start}.agreement-viewer-section-title{flex-direction:column}}.portal-settings-page{flex-direction:column;gap:24px;display:flex}.portal-settings-layout{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:24px;display:grid}.portal-settings-sidebar__inner{flex-direction:column;gap:8px;padding:16px;display:flex}.portal-settings-tab{color:#374151;width:100%;min-height:46px;font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:14px;align-items:center;gap:10px;padding:0 14px;font-weight:600;transition:all .18s;display:flex}.portal-settings-tab:hover{background:#f3f4f6}.portal-settings-tab.is-active{color:#1d4ed8;background:#e8f0ff}.portal-settings-header-stack{gap:10px;min-width:300px;display:grid}.portal-tenant-card{color:#1e3a8a;background:linear-gradient(135deg,#f8fbff,#eff6ff);border:1px solid #dbeafe;border-radius:16px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.portal-tenant-card__icon{color:#1d4ed8;background:#dbeafe;border-radius:13px;flex:none;place-items:center;width:38px;height:38px;display:grid}.portal-tenant-card__content{gap:4px;min-width:0;display:grid}.portal-tenant-card__content span{color:#2563eb;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:900}.portal-tenant-card__content strong{color:#0f172a;font-size:.98rem;line-height:1.2}.portal-tenant-card__content code{color:#1d4ed8;overflow-wrap:anywhere;background:#fff;border-radius:999px;width:fit-content;max-width:100%;padding:4px 9px;font-size:.8rem;font-weight:800}.portal-tenant-card__content small{color:#475569;overflow-wrap:anywhere;font-size:.78rem;line-height:1.35}.portal-settings-form{flex-direction:column;display:flex}.portal-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px;display:grid}.portal-settings-actions{justify-content:flex-end;padding:0 24px 24px;display:flex}.portal-settings-actions--split{flex-wrap:wrap;justify-content:space-between;gap:12px}.portal-settings-actions--inline{padding:0}.portal-settings-note{color:#1e3a8a;background:#f8fbff;border:1px solid #dbeafe;border-radius:14px;padding:14px 16px;font-size:14px;line-height:1.55}.portal-settings-note strong{font-weight:700}.portal-settings-note code{overflow-wrap:anywhere;background:#ffffffbf;border-radius:8px;padding:2px 6px;font-family:inherit;font-weight:700}.button-frame{padding:1rem}@media (width<=980px){.portal-settings-layout,.portal-settings-grid{grid-template-columns:1fr}.portal-settings-header-stack{width:100%;min-width:0}}@media (width<=700px){.portal-settings-page{gap:18px}.portal-settings-sidebar__inner{flex-direction:row;padding:12px;overflow-x:auto}.portal-settings-tab{white-space:nowrap;flex:none;width:auto}.portal-settings-grid{padding:18px}.portal-settings-actions{padding:0 18px 18px}.portal-settings-actions--split{flex-direction:column}.portal-settings-actions--split .portal-btn{justify-content:center;width:100%}.portal-tenant-card{padding:13px}}.help-page{flex-direction:column;gap:22px;display:flex}.help-hero{background:radial-gradient(circle at 100% 0,#3b82f624,#0000 34%),#fff;border:1px solid #e5e7eb;border-radius:24px;justify-content:space-between;gap:20px;padding:28px;display:flex;box-shadow:0 12px 34px #0f172a0f}.help-eyebrow{color:#4b5563;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:8px;margin-bottom:10px;font-size:12px;font-weight:800;display:inline-flex}.help-hero h1{color:#111827;margin:0;font-size:clamp(30px,4vw,44px);line-height:1.05}.help-hero p{color:#6b7280;max-width:720px;margin:10px 0 0;line-height:1.6}.help-hero-card{color:#fff;background:#111827;border-radius:18px;flex-direction:column;justify-content:center;align-self:stretch;gap:9px;min-width:260px;padding:18px;display:flex}.help-hero-card span{color:#ffffffb8;font-size:14px;line-height:1.5}.help-search-card,.help-section,.help-empty,.help-feature-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 10px 30px #0f172a0d}.help-feature-card{justify-content:space-between;align-items:center;gap:18px;padding:20px;display:flex}.help-feature-card h2{color:#111827;margin:0;font-size:22px}.help-feature-list{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.help-feature-pill{color:#334155;white-space:nowrap;background:#f8fafc;border:1px solid #dbe3ee;border-radius:999px;align-items:center;gap:8px;min-height:34px;padding:0 12px;font-size:13px;font-weight:800;display:inline-flex}.help-feature-pill svg{color:#111827}.help-search-card{padding:20px}.help-search-card label{flex-direction:column;gap:8px;display:flex}.help-search-card label>span{color:#111827;font-weight:800}.help-search-input{position:relative}.help-search-input svg{color:#6b7280;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.help-search-input input{width:100%;font:inherit;border:1px solid #d1d5db;border-radius:14px;padding:13px 15px 13px 44px}.help-search-input input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 4px #3b82f61f}.help-sections{grid-template-columns:1fr;gap:18px;display:grid}.help-section{padding:22px}.help-section__header{align-items:flex-start;gap:10px;margin-bottom:14px;display:flex}.help-section__header>span{color:#111827;background:#f3f4f6;border-radius:12px;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.help-section h2{color:#111827;margin:0;font-size:22px}.help-section__header p{color:#6b7280;margin:6px 0 0;line-height:1.5}.help-faq-list{flex-direction:column;gap:10px;display:flex}.help-faq{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}.help-faq button{color:#111827;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:14px;padding:16px;font-weight:800;display:flex}.help-faq button svg{flex:none;transition:transform .2s}.help-faq.is-open button svg{transform:rotate(180deg)}.help-faq p{color:#4b5563;margin:0;padding:0 16px 16px;line-height:1.65}.help-empty{text-align:center;padding:28px}.help-empty h2{color:#111827;margin:0}.help-empty p{color:#6b7280;margin:8px 0 0}@media (width>=1080px){.help-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.help-hero,.help-feature-card{flex-direction:column;align-items:stretch}.help-hero-card{min-width:0}.help-feature-list{justify-content:flex-start}}.automations-page{color:#0f172a;gap:16px;display:grid}.automations-page *,.automations-page :before,.automations-page :after{box-sizing:border-box}.automations-page button,.automations-page input{font:inherit}.automations-hero{background:radial-gradient(circle at 100% 0,#2563eb1a,#0000 32%),#fff;border:1px solid #0f172a1a;border-radius:18px;gap:18px;padding:18px;display:grid;box-shadow:0 10px 28px #0f172a0f}.automations-eyebrow{color:#2563eb;letter-spacing:.1em;text-transform:uppercase;width:fit-content;margin-bottom:8px;font-size:.72rem;font-weight:900;display:inline-flex}.automations-hero h2{margin:0 0 8px;font-size:1.55rem;line-height:1.1}.automations-hero p{color:#64748b;margin:0;line-height:1.5}.automations-hero__actions{gap:10px;display:grid}.automations-hero__actions button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:12px;width:100%;min-height:42px;padding:10px 14px;font-weight:850}.automations-hero__actions button:hover{background:#1d4ed8}.automations-notice{color:#166534;background:#dcfce7;border-radius:14px;padding:12px 14px;font-weight:800}.automations-stats{grid-template-columns:1fr;gap:12px;display:grid}.automations-stat-card{background:#fff;border:1px solid #0f172a1a;border-radius:16px;gap:7px;padding:16px;display:grid;box-shadow:0 8px 22px #0f172a0d}.automations-stat-card span{color:#64748b;font-size:.86rem;font-weight:650}.automations-stat-card strong{letter-spacing:-.04em;font-size:1.55rem;line-height:1}.automations-layout{grid-template-columns:1fr;gap:12px;display:grid}.automation-card{background:#fff;border:1px solid #0f172a1a;border-radius:18px;gap:14px;padding:16px;display:grid;box-shadow:0 8px 22px #0f172a0d}.automation-card.is-enabled{border-color:#2563eb38}.automation-card__top{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.automation-card h3{margin:0 0 5px;font-size:1.05rem}.automation-card p{color:#64748b;margin:0;font-size:.92rem;line-height:1.45}.automation-card__body{gap:12px;display:grid}.automation-field{gap:7px;font-weight:800;display:grid}.automation-field span{color:#0f172a;font-size:.86rem}.automation-field input{color:#0f172a;background:#fff;border:1px solid #0f172a24;border-radius:12px;width:100%;padding:11px 12px}.automation-field input:focus{border-color:#2563eb;outline:3px solid #2563eb24}.automation-channel-grid{grid-template-columns:1fr;gap:10px;display:grid}.automation-channel-grid label,.automation-checkbox{background:#f8fafc;border:1px solid #0f172a14;border-radius:14px;align-items:center;gap:10px;min-height:42px;padding:12px;font-weight:800;display:flex}.automation-channel-grid label small{color:#64748b;margin-left:auto;font-size:.74rem;font-weight:750}.automation-channel-grid label.is-muted{background:#f8fafc}.automation-channel-grid input,.automation-checkbox input{width:auto}.automation-switch{flex:none;width:52px;height:30px;position:relative}.automation-switch input{opacity:0;pointer-events:none;position:absolute}.automation-switch span{cursor:pointer;background:#cbd5e1;border-radius:999px;transition:background .2s;position:absolute;inset:0}.automation-switch span:after{content:"";background:#fff;border-radius:999px;width:22px;height:22px;transition:transform .2s;position:absolute;top:4px;left:4px;box-shadow:0 4px 10px #0f172a2e}.automation-switch input:checked+span{background:#2563eb}.automation-switch input:checked+span:after{transform:translate(22px)}@media (width>=700px){.automations-page{gap:18px}.automations-hero{padding:20px}.automations-stats,.automation-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1100px){.automations-page{gap:22px}.automations-hero{border-radius:22px;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:24px}.automations-hero h2{font-size:1.85rem}.automations-hero__actions{justify-content:flex-end;display:flex}.automations-hero__actions button{width:auto}.automations-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.automations-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.automation-card{border-radius:22px;padding:20px}}@media (width>=1500px){.automations-layout{grid-template-columns:repeat(3,minmax(0,1fr))}}.invoice-template-page{color:#111827;padding:24px}.invoice-template-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.invoice-template-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:#6b7280;margin-bottom:6px;font-size:12px;font-weight:800;display:block}.invoice-template-header h1{letter-spacing:-.04em;margin:0;font-size:30px}.invoice-template-header p{color:#6b7280;margin:6px 0 0}.invoice-template-actions{flex-wrap:wrap;gap:10px;display:flex}.invoice-template-status{color:#1e3a8a;background:#eff6ff;border:1px solid #dbeafe;border-radius:14px;margin-bottom:16px;padding:12px 14px}.invoice-template-shell{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:18px;display:grid}.invoice-template-sidebar{gap:14px;display:grid;position:sticky;top:16px}.template-panel{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px;box-shadow:0 12px 30px #0f172a0f}.template-panel h2{margin:0 0 14px;font-size:15px}.template-panel label{gap:6px;margin-bottom:12px;display:grid}.template-panel label span{color:#4b5563;font-size:12px;font-weight:700}.template-panel input,.template-panel select,.template-panel textarea{width:100%;min-height:38px;font:inherit;border:1px solid #d1d5db;border-radius:12px;padding:8px 10px}.template-panel input[type=file]{background:#fff;padding:7px}.template-add-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.template-add-grid button,.template-selected-top button,.template-align-row button{cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;border-radius:12px;justify-content:center;align-items:center;gap:7px;min-height:38px;font-weight:700;display:inline-flex}.template-muted{color:#6b7280;margin:0;font-size:14px}.template-selected-top{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.template-editor-fields{gap:10px;display:grid}.template-field-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.template-align-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.template-image-editor{gap:10px;display:grid}.template-image-preview{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;place-items:center;min-height:90px;padding:10px;display:grid}.template-image-preview img{object-fit:contain;max-width:100%;max-height:140px}.invoice-template-canvas-wrap{background:#e5e7eb;border:1px solid #d1d5db;border-radius:22px;max-height:calc(100vh - 150px);padding:32px;overflow:auto}.invoice-template-canvas{margin:0 auto;position:relative;overflow:hidden;box-shadow:0 24px 70px #0f172a38}.template-rnd{outline:1px dashed #0000}.template-rnd:hover{outline-color:#93c5fd}.template-rnd.is-selected{outline:2px solid #2563eb}.template-block-content{white-space:pre-wrap;width:100%;height:100%;padding:8px;overflow:hidden}.template-image-block{color:#9ca3af;justify-content:center;align-items:center;display:flex}.template-image-block img{object-fit:contain;max-width:100%;max-height:100%}.template-items-table{width:100%;height:100%;font-size:12px;overflow:hidden}.template-items-row{border-bottom:1px solid #e5e7eb;display:flex}.template-items-row>div{padding:8px;overflow:hidden}.template-items-head{font-weight:800}.template-totals-box{width:100%;height:100%;padding:12px}.template-totals-box div{justify-content:space-between;padding:5px 0;display:flex}.template-totals-box__total{border-top:1px solid #d1d5db;margin-top:6px;font-size:16px;padding-top:10px!important}@media (width<=1100px){.invoice-template-shell{grid-template-columns:1fr}.invoice-template-sidebar{position:static}.invoice-template-canvas-wrap{max-height:none}}:root{--sidebar-width:280px;--sidebar-collapsed-width:90px;--sidebar-bg:#0f172a;--sidebar-surface:#ffffff0a;--sidebar-border:#ffffff14;--sidebar-text:#e5e7eb;--sidebar-muted:#e5e7ebad;--sidebar-hover:#ffffff0f;--sidebar-active:#ffffff1c;--sidebar-accent:#fff;--sidebar-avatar-bg:#ffffff1f;--primary-color-light:#334155;--primary-color:#0f172a;--primary-color-dark:#020617;--primary-hover:#1e293b;--primary-active:#334155;--secondary-color:#475569;--secondary-hover:#64748b;--secondary-active:#94a3b8;--accent-color:#2563eb;--accent-hover:#1d4ed8;--accent-active:#1e40af;--background-color:#f8fafc;--surface-color:#fff;--surface-alt:#f1f5f9;--card-background:#fff;--card-hover:#f8fafc;--border-color:#e2e8f0;--border-light:#f1f5f9;--border-dark:#cbd5e1;--text-color:#0f172a;--text-secondary:#475569;--text-muted:#64748b;--text-disabled:#94a3b8;--text-inverse:#fff;--success-color:#22c55e;--success-background:#dcfce7;--success-text:#15803d;--warning-color:#f59e0b;--warning-background:#fef3c7;--warning-text:#b45309;--danger-color:#ef4444;--danger-background:#fee2e2;--danger-text:#b91c1c;--info-color:#3b82f6;--info-background:#dbeafe;--info-text:#1d4ed8;--input-background:#fff;--input-border:#cbd5e1;--input-border-focus:#2563eb;--input-text:#0f172a;--input-placeholder:#94a3b8;--button-primary-bg:var(--primary-color);--button-primary-hover:var(--primary-hover);--button-primary-text:#fff;--button-secondary-bg:#fff;--button-secondary-hover:#f8fafc;--button-secondary-border:#cbd5e1;--button-secondary-text:#334155;--button-danger-bg:#ef4444;--button-danger-hover:#dc2626;--button-danger-text:#fff;--button-success-bg:#22c55e;--button-success-hover:#16a34a;--button-success-text:#fff;--radius-xs:6px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-full:9999px;--shadow-xs:0 1px 2px #0f172a0d;--shadow-sm:0 1px 3px #0f172a14, 0 1px 2px #0f172a0a;--shadow-md:0 4px 6px #0f172a14, 0 2px 4px #0f172a0a;--shadow-lg:0 10px 15px #0f172a14, 0 4px 6px #0f172a0a;--shadow-xl:0 20px 25px #0f172a14, 0 10px 10px #0f172a0a;--transition-fast:.15s ease;--transition-base:.25s ease;--transition-slow:.35s ease}body{box-sizing:border-box;margin:0;padding:0}*{box-sizing:border-box}textarea,input,select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;width:100%}input,select{min-height:46px;padding:0 14px}
