:root{--bg: #f8f8f8;--surface: #ffffff;--surface-alt: #f2f2f2;--ink: #111111;--muted: #666666;--subtle: #8a8a8a;--border: rgba(17, 17, 17, .09);--border-strong: rgba(17, 17, 17, .18);--radius-sm: 8px;--radius-md: 16px;--radius-lg: 22px;--font-display: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;--font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;--st-green-bg: #e7f6ec;--st-green-ink: #146c37;--st-blue-bg: #e8f0fe;--st-blue-ink: #1a56db;--st-amber-bg: #fef3dc;--st-amber-ink: #9a5b08;--st-red-bg: #fde8e8;--st-red-ink: #b91c1c;--st-gray-bg: #efefef;--st-gray-ink: #444444}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;margin:0;letter-spacing:-.02em}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:var(--surface);padding:20px 14px;display:flex;flex-direction:column;gap:18px;box-shadow:inset -1px 0 0 var(--border);overflow-y:auto}.sidebar__brand{display:flex;align-items:center;justify-content:space-between;padding:6px 10px}.sidebar__logo{height:28px;width:auto;display:block}.sidebar__tag{font-size:11px;font-weight:500;color:var(--muted);background:var(--bg);padding:3px 8px;border-radius:var(--radius-sm)}.sidebar__nav{display:flex;flex-direction:column;gap:4px;flex:1}.nav-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;background:transparent;border-radius:var(--radius-sm);font-size:14px;font-weight:500;color:var(--muted);text-align:left;transition:background .16s ease,color .16s ease}.nav-item:hover{background:var(--bg);color:var(--ink)}.nav-item--active{background:var(--ink);color:#fff}.nav-item--active:hover{background:#222;color:#fff}.nav-item__count{margin-left:auto;font-size:11px;font-weight:600;padding:2px 7px;border-radius:999px;background:var(--st-green-bg);color:var(--st-green-ink)}.nav-item--active .nav-item__count{background:#fff3;color:#fff}.sidebar__user{display:flex;align-items:center;gap:10px;padding:10px;border-radius:var(--radius-md);background:var(--bg)}.avatar{width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;font-family:var(--font-display);font-size:12px;font-weight:600;display:grid;place-items:center;flex-shrink:0}.sidebar__user-info{min-width:0;flex:1}.sidebar__user-name{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar__user-email{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main-area{padding:28px 32px 64px;max-width:1360px;width:100%;margin:0 auto}.page-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.page-head h1{font-size:26px;line-height:1.15}.page-head p{margin:4px 0 0;color:var(--muted);font-size:14px}.page-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);font-size:13px;font-weight:500;transition:background .15s ease,border-color .15s ease,transform .1s ease}.btn:hover:not(:disabled){background:var(--surface-alt)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn--primary{background:var(--ink);color:#fff;border-color:var(--ink)}.btn--primary:hover:not(:disabled){background:#272727}.btn--green{background:#15803d;color:#fff;border-color:#15803d}.btn--green:hover:not(:disabled){background:#166534}.btn--danger{background:var(--st-red-bg);color:var(--st-red-ink);border-color:transparent}.btn--danger:hover:not(:disabled){background:#fbd5d5}.btn--ghost{border-color:transparent;background:transparent}.btn--ghost:hover:not(:disabled){background:var(--surface-alt)}.btn--sm{padding:6px 10px;font-size:12px}.btn--icon{padding:7px;width:32px;height:32px}.card{background:var(--surface);border-radius:var(--radius-md);padding:20px;box-shadow:0 1px 2px #1111110a}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:24px}.kpi-card{background:var(--surface);border-radius:var(--radius-md);padding:18px 20px;display:flex;flex-direction:column;gap:8px}.kpi-card__label{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.kpi-card__value{font-family:var(--font-display);font-size:26px;font-weight:600;letter-spacing:-.02em}.kpi-card__sub{font-size:12px;color:var(--subtle)}.split-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tabs{display:inline-flex;flex-wrap:wrap;gap:6px;background:var(--surface);padding:5px;border-radius:10px;margin-bottom:18px}.tab-btn{border:0;background:transparent;padding:7px 14px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;color:var(--muted)}.tab-btn--active{background:var(--ink);color:#fff}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}.input,.select,.textarea{width:100%;padding:9px 12px;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);font-size:13px;outline:none;transition:border-color .15s ease}.input:focus,.select:focus,.textarea:focus{border-color:var(--ink)}.textarea{resize:vertical;min-height:82px}.search-wrap{position:relative;flex:1;min-width:210px;max-width:360px}.search-wrap svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--subtle);pointer-events:none}.search-wrap .input{padding-left:34px}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap}.status-pill--green{background:var(--st-green-bg);color:var(--st-green-ink)}.status-pill--blue{background:var(--st-blue-bg);color:var(--st-blue-ink)}.status-pill--amber{background:var(--st-amber-bg);color:var(--st-amber-ink)}.status-pill--red{background:var(--st-red-bg);color:var(--st-red-ink)}.status-pill--gray{background:var(--st-gray-bg);color:var(--st-gray-ink)}.status-pill--black{background:var(--ink);color:#fff}.table-wrap{background:var(--surface);border-radius:var(--radius-md);overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:13px}.table th{text-align:left;padding:12px 14px;font-size:11px;font-weight:600;color:var(--muted);background:var(--bg)}.table td{padding:11px 14px;vertical-align:middle}.table tbody tr+tr td{box-shadow:inset 0 1px 0 var(--border)}.table tbody tr:hover td{background:#fafafa}.thumb{width:48px;height:48px;border-radius:var(--radius-sm);object-fit:cover;background:var(--bg);display:block}.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:12px;font-weight:500;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.switch{display:inline-flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;-webkit-user-select:none;user-select:none}.switch input{width:16px;height:16px;accent-color:var(--ink)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1111117a;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:18px;z-index:60;overflow-y:auto}.modal{background:var(--surface);border-radius:var(--radius-lg);width:100%;max-width:820px;max-height:92dvh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 60px #00000038}.modal--narrow{max-width:520px}.modal__head{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface);box-shadow:inset 0 -1px 0 var(--border)}.modal__body{padding:20px 22px;overflow-y:auto;display:flex;flex-direction:column;gap:18px}.modal__foot{padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--bg)}.dropzone{border:1.5px dashed var(--border-strong);border-radius:var(--radius-md);padding:20px;text-align:center;background:var(--bg);cursor:pointer;transition:border-color .15s ease,background .15s ease}.dropzone:hover{border-color:var(--ink);background:#f1f1f1}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:12px}.photo-tile{background:var(--bg);border-radius:var(--radius-sm);overflow:hidden;display:flex;flex-direction:column}.photo-tile img{width:100%;aspect-ratio:1 / 1;object-fit:cover;display:block}.photo-tile__bar{display:flex;align-items:center;justify-content:space-between;padding:6px;gap:4px}.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.project-card{background:var(--surface);border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.project-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #11111114}.project-card__cover{height:150px;background:var(--bg);position:relative;overflow:hidden;display:grid;place-items:center;color:var(--subtle)}.project-card__cover img{width:100%;height:100%;object-fit:cover}.project-card__body{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1}.timeline{display:flex;flex-direction:column;gap:12px}.timeline-item{background:var(--bg);border-radius:var(--radius-md);padding:14px 16px;display:flex;flex-direction:column;gap:8px}.timeline-item__photo{max-width:100%;max-height:360px;border-radius:var(--radius-sm);object-fit:cover}.promo-preview-box{background:#e9e9e9;border-radius:var(--radius-md);padding:24px;display:flex;justify-content:flex-end;align-items:flex-end;min-height:148px}.promo-toast{background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:var(--radius-sm);padding:10px 12px;display:flex;align-items:center;gap:12px;box-shadow:0 10px 28px #1111111f;max-width:390px}.promo-toast img{width:54px;height:54px;border-radius:6px;object-fit:cover}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:var(--bg)}.auth-card{width:100%;max-width:440px;background:var(--surface);border-radius:var(--radius-lg);padding:32px;display:flex;flex-direction:column;gap:18px;box-shadow:0 12px 40px #1111110f}.toast-banner{position:fixed;right:20px;bottom:20px;background:var(--ink);color:#fff;padding:11px 16px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;z-index:90;box-shadow:0 10px 28px #00000038}.error-box{background:var(--st-red-bg);color:var(--st-red-ink);padding:10px 14px;border-radius:var(--radius-sm);font-size:13px}.empty-state{background:var(--surface);border-radius:var(--radius-md);padding:40px 20px;text-align:center;color:var(--muted)}.bulk-bar{position:sticky;top:12px;z-index:30;background:var(--ink);color:#fff;border-radius:var(--radius-md);padding:12px 16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;box-shadow:0 14px 32px #11111138}.bulk-bar .select,.bulk-bar .input{background:#ffffff1f;border-color:#ffffff38;color:#fff;width:auto;padding:6px 10px}.bulk-bar .select option{color:#111;background:#fff}.bulk-cell-input{width:100%;min-width:72px;padding:6px 8px;border-radius:6px;border:1px solid transparent;background:var(--bg);font-size:13px}.bulk-cell-input:focus{border-color:var(--ink);background:#fff;outline:none}.bulk-row--dirty td{background:#f2fbf5!important}.mobile-cards{display:none}.desktop-table{display:block}.liquid-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;background:#11111157;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:flex-end;padding:12px}.liquid-sheet{width:100%;background:#ffffffdb;-webkit-backdrop-filter:blur(30px) saturate(190%);backdrop-filter:blur(30px) saturate(190%);border-radius:26px;padding:14px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:inset 0 1px #fffffff2,0 24px 60px #11111138;display:flex;flex-direction:column;gap:10px;animation:sheetUp .24s cubic-bezier(.22,1.15,.36,1)}.liquid-sheet__handle{width:38px;height:4px;border-radius:99px;background:#1113;margin:0 auto 6px}.liquid-sheet__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.liquid-sheet__item{display:flex;align-items:center;gap:10px;padding:14px;border-radius:16px;border:1px solid rgba(17,17,17,.08);background:#ffffffc7;font-size:13px;font-weight:500;text-align:left}.liquid-sheet__item--active{background:var(--ink);color:#fff;border-color:var(--ink)}@keyframes sheetUp{0%{transform:translateY(28px);opacity:0}to{transform:translateY(0);opacity:1}}.mobile-nav,.mobile-topbar{display:none}@media(max-width:920px){.app-shell{grid-template-columns:1fr}.sidebar,.desktop-table{display:none}.mobile-cards{display:flex;flex-direction:column;gap:12px}.mobile-topbar{position:sticky;top:0;z-index:40;background:#f8f8f8d1;-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);padding:calc(10px + env(safe-area-inset-top)) 16px 10px;display:flex;align-items:center;justify-content:space-between;box-shadow:inset 0 -1px #1111110f}.main-area{padding:16px 14px 112px}.page-head{margin-bottom:16px}.page-head h1{font-size:22px}.split-2,.form-grid,.form-grid--3{grid-template-columns:1fr}.span-2,.span-3{grid-column:span 1}.mobile-nav{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:50;background:#ffffffb8;-webkit-backdrop-filter:blur(28px) saturate(195%);backdrop-filter:blur(28px) saturate(195%);border-radius:26px;border:1px solid rgba(255,255,255,.72);box-shadow:inset 0 1px #fffffff5,inset 0 -1px #1111110d,0 14px 36px #11111124;display:grid;grid-template-columns:repeat(6,1fr);padding:6px;gap:2px}.mobile-nav button{position:relative;border:0;background:transparent;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 2px;font-size:10px;font-weight:500;color:#1111119e;transition:background .22s cubic-bezier(.22,1.28,.36,1),color .18s ease,transform .15s ease;-webkit-tap-highlight-color:transparent}.mobile-nav button:active{transform:scale(.92)}.mobile-nav button.active{background:var(--ink);color:#fff;box-shadow:0 6px 16px #11111138}.mobile-nav__badge{position:absolute;top:4px;right:10px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#15803d;color:#fff;font-size:10px;font-weight:600;display:grid;place-items:center}.modal-backdrop{padding:0;align-items:flex-end}.modal{border-radius:24px 24px 0 0;max-height:92dvh}.toast-banner{bottom:92px;left:14px;right:14px}}html[data-theme=dark]{--bg: #0e0e10;--surface: #17171b;--surface-alt: #222228;--ink: #f5f5f7;--muted: #a1a1aa;--subtle: #767680;--border: rgba(255, 255, 255, .08);--border-strong: rgba(255, 255, 255, .16);--st-green-bg: rgba(34, 197, 94, .16);--st-green-ink: #4ade80;--st-blue-bg: rgba(59, 130, 246, .18);--st-blue-ink: #60a5fa;--st-amber-bg: rgba(245, 158, 11, .18);--st-amber-ink: #fbbf24;--st-red-bg: rgba(239, 68, 68, .18);--st-red-ink: #f87171;--st-gray-bg: #24242b;--st-gray-ink: #d4d4d8;color-scheme:dark}html[data-theme=dark] .sidebar__logo,html[data-theme=dark] .mobile-topbar__logo{filter:invert(1) brightness(1.06)}html[data-theme=dark] .nav-item--active,html[data-theme=dark] .tab-btn--active,html[data-theme=dark] .btn--primary,html[data-theme=dark] .status-pill--black,html[data-theme=dark] .avatar,html[data-theme=dark] .liquid-sheet__item--active,html[data-theme=dark] .mobile-nav button.active{background:#f5f5f7;color:#0e0e10;border-color:#f5f5f7}html[data-theme=dark] .nav-item--active:hover,html[data-theme=dark] .btn--primary:hover:not(:disabled){background:#e4e4e7;color:#0e0e10}html[data-theme=dark] .nav-item--active .nav-item__count{background:#0e0e1024;color:#0e0e10}html[data-theme=dark] .table tbody tr:hover td{background:#1d1d22}html[data-theme=dark] .dropzone:hover{background:#202026}html[data-theme=dark] .bulk-bar{background:#222228;color:#f5f5f7;border:1px solid rgba(255,255,255,.12)}html[data-theme=dark] .bulk-cell-input:focus{background:#17171b}html[data-theme=dark] .bulk-row--dirty td{background:#22c55e1f!important}html[data-theme=dark] .promo-preview-box{background:#222228}html[data-theme=dark] .promo-toast{background:#17171bf0;color:#f5f5f7}html[data-theme=dark] .toast-banner{background:#f5f5f7;color:#0e0e10}html[data-theme=dark] .mobile-topbar{background:#0e0e10d6;box-shadow:inset 0 -1px #ffffff14}html[data-theme=dark] .mobile-nav{background:#17171bdb;border-color:#ffffff1f;box-shadow:inset 0 1px #ffffff14,0 16px 40px #00000073}html[data-theme=dark] .mobile-nav button{color:#f5f5f7a6}html[data-theme=dark] .liquid-sheet{background:#17171bf0;box-shadow:inset 0 1px #ffffff1a,0 24px 60px #0000008c}html[data-theme=dark] .liquid-sheet__handle{background:#ffffff38}html[data-theme=dark] .liquid-sheet__item{background:#222228db;border-color:#ffffff14;color:#f5f5f7}.confirm-fx{position:fixed;left:50%;top:calc(20px + env(safe-area-inset-top));transform:translate(-50%);z-index:120;pointer-events:none;animation:confirmPop .34s cubic-bezier(.22,1.25,.36,1)}.confirm-fx__card{display:inline-flex;align-items:center;gap:10px;padding:10px 16px 10px 11px;border-radius:999px;background:var(--ink);color:var(--surface);box-shadow:0 16px 40px #0000003d;font-size:13px;font-weight:600}.confirm-fx__circle{width:26px;height:26px;border-radius:50%;background:#16a34a;color:#fff;display:grid;place-items:center;animation:confirmCheck .42s cubic-bezier(.22,1.35,.36,1)}@keyframes confirmPop{0%{opacity:0;transform:translate(-50%,-14px) scale(.92)}to{opacity:1;transform:translate(-50%) scale(1)}}@keyframes confirmCheck{0%{transform:scale(.4);opacity:0}65%{transform:scale(1.14);opacity:1}to{transform:scale(1);opacity:1}}.progress-wrap{display:flex;flex-direction:column;gap:6px;width:100%}.progress-wrap--compact{gap:4px}.progress-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.progress-label{color:var(--muted)}.progress-val{font-size:12px;font-weight:600}.progress-track{width:100%;height:7px;border-radius:999px;background:var(--surface-alt);overflow:hidden}.progress-wrap--compact .progress-track{height:5px}.progress-fill{height:100%;border-radius:999px;transition:width .36s cubic-bezier(.22,1,.36,1)}.progress-fill--ink{background:var(--ink)}.progress-fill--green{background:#16a34a}.catalogue-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px}.catalogue-card--compact{padding:14px 16px}.catalogue-card__info{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 260px}.catalogue-card__icon{width:42px;height:42px;border-radius:12px;background:var(--bg);display:grid;place-items:center;flex-shrink:0}.catalogue-card__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pro-workspace{display:flex;flex-direction:column;gap:12px;height:calc(100dvh - 88px)}.pro-workspace--fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:95;height:100dvh;background:var(--bg);padding:calc(8px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom));gap:8px}.pro-fullscreen-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--surface);padding:6px 8px;border-radius:12px;box-shadow:0 4px 18px #0000001a}.pro-fullscreen-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1}.pro-fullscreen-tabs::-webkit-scrollbar{display:none}.pro-iframe-wrap{padding:0;flex:1;overflow:hidden;min-height:460px}.pro-iframe{width:100%;height:100%;border:0;display:block}.tabs--scroll{max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tabs--scroll::-webkit-scrollbar{display:none}.tabs--scroll .tab-btn{white-space:nowrap;flex-shrink:0}@media(max-width:920px){.main-area{padding:14px 12px calc(104px + env(safe-area-inset-bottom))}.btn{min-height:38px}.btn--sm{min-height:34px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi-card{padding:14px}.kpi-card__value{font-size:21px}.cards-grid{grid-template-columns:1fr}.pro-workspace{height:calc(100dvh - 156px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.pro-iframe-wrap{min-height:360px;border-radius:14px}.catalogue-card{padding:14px}.catalogue-card__actions{width:100%}.catalogue-card__actions .btn{flex:1}}
