@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650&family=Noto+Sans+SC:wght@400;500;600&display=swap";:root{color-scheme:light dark;font-family:Inter,Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--bg: #ffffff;--sidebar: #f7f7f5;--surface: #ffffff;--surface-hover: #f7f7f5;--surface-active: #eeeeeb;--text: #202020;--text-strong: #111111;--muted: #787774;--faint: #a6a5a1;--line: #e9e9e7;--line-strong: #dededb;--accent: #2f6fdb;--accent-hover: #245fc0;--accent-soft: #eaf1fd;--danger: #c73e3e;--danger-soft: #fcecec;--shadow: 0 12px 38px rgba(15, 15, 15, .1), 0 2px 8px rgba(15, 15, 15, .05)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #191919;--sidebar: #202020;--surface: #252525;--surface-hover: #2c2c2c;--surface-active: #353535;--text: #dededc;--text-strong: #f1f1ef;--muted: #9b9a97;--faint: #6f6e6b;--line: #333333;--line-strong: #444444;--accent: #5b8def;--accent-hover: #74a0f5;--accent-soft: #27344d;--danger: #ef6b6b;--danger-soft: #422727;--shadow: 0 14px 45px rgba(0, 0, 0, .38), 0 2px 8px rgba(0, 0, 0, .25)}}:root[data-theme=dark]{--bg: #191919;--sidebar: #202020;--surface: #252525;--surface-hover: #2c2c2c;--surface-active: #353535;--text: #dededc;--text-strong: #f1f1ef;--muted: #9b9a97;--faint: #6f6e6b;--line: #333333;--line-strong: #444444;--accent: #5b8def;--accent-hover: #74a0f5;--accent-soft: #27344d;--danger: #ef6b6b;--danger-soft: #422727;--shadow: 0 14px 45px rgba(0, 0, 0, .38), 0 2px 8px rgba(0, 0, 0, .25)}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-width:320px;min-height:100vh;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.loading-page{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-page{min-height:100vh;display:grid;place-items:center;padding:32px 20px;background:var(--bg)}.auth-panel{width:min(390px,100%)}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:var(--text-strong);background:var(--surface-active);margin-bottom:28px}.brand-mark.small{width:30px;height:30px;margin:0;border-radius:7px}.eyebrow{margin:0 0 7px;color:var(--muted);font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.auth-panel h1{margin:0;color:var(--text-strong);font-size:28px;line-height:1.25;letter-spacing:-.03em}.auth-intro{margin:12px 0 28px;color:var(--muted);font-size:14px;line-height:1.7}.auth-form,.form-fields{display:grid;gap:18px}.auth-form label,.form-fields label{display:grid;gap:8px;color:var(--text);font-size:13px;font-weight:600}.form-fields label.checkbox-field{grid-template-columns:auto 1fr;align-items:center;column-gap:9px;row-gap:4px}.form-fields label.checkbox-field small{grid-column:2}input,select,textarea{width:100%;border:1px solid var(--line-strong);border-radius:7px;color:var(--text-strong);background:var(--surface);padding:10px 12px;transition:border-color .15s,box-shadow .15s}textarea{min-height:92px;resize:vertical}.inherit-toggle{display:flex!important;grid-template-columns:auto 1fr;align-items:center}.inherit-toggle input{width:auto}.selling-points-preview{display:grid;gap:4px;border-radius:6px;padding:9px 10px;color:var(--muted);background:var(--surface-hover);font-size:11px;font-weight:400}.mechanism-preview{display:grid;gap:10px;border:1px solid var(--line);border-radius:8px;padding:14px;background:var(--surface-hover)}.mechanism-preview>span{color:var(--muted);font-size:11px;font-weight:600}.mechanism-preview p{margin:0;color:var(--text);font-size:13px;line-height:1.7;white-space:pre-wrap}.mechanism-picker{min-width:0;display:grid;gap:9px;margin:0;border:0;padding:0}.mechanism-picker legend{margin-bottom:1px;color:var(--text);font-size:13px;font-weight:600}.mechanism-options-scroll{max-height:360px;display:grid;gap:9px;overflow-y:auto;padding:2px 4px 2px 2px;scrollbar-gutter:stable}.mechanism-option{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px!important;border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--surface);cursor:pointer}.mechanism-option:hover{border-color:var(--faint);background:var(--surface-hover)}.mechanism-option.selected{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 10%,transparent)}.mechanism-option.fixed{cursor:default;background:var(--surface-hover)}.mechanism-option>input{width:15px;height:15px;flex:none;margin:2px 0 0;accent-color:var(--accent)}.mechanism-option>span{min-width:0;display:grid;gap:5px}.mechanism-option strong{color:var(--text-strong);font-size:12px;line-height:1.55}.mechanism-option small{color:var(--muted);font-size:10px;font-weight:400}.mechanism-option-heading{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mechanism-option-heading strong{min-width:0}.mechanism-option-heading small{flex:none;padding-top:2px;font-variant-numeric:tabular-nums}.mechanism-gift-summary{overflow:hidden;color:var(--muted);font-size:11px;font-weight:400;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.fixed-mechanism-preview{border-bottom:1px solid var(--line);padding-bottom:18px}.fixed-mechanism-preview>div+div{margin-top:9px}input:hover,select:hover{border-color:var(--faint)}input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 13%,transparent);outline:0}input::placeholder{color:var(--faint)}.form-message{margin:-4px 0 0;padding:10px 12px;border-radius:7px;color:var(--danger);background:var(--danger-soft);font-size:12px;line-height:1.5}.button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:7px;padding:8px 14px;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,transform .1s}.button:active:not(:disabled){transform:translateY(1px)}.button:disabled{opacity:.55;cursor:not-allowed}.button.primary{color:#fff;background:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.button.secondary{border-color:var(--line-strong);color:var(--text);background:var(--surface)}.button.secondary:hover{background:var(--surface-hover)}.button.danger{color:#fff;background:var(--danger)}.button.full{width:100%}.text-button{display:block;margin:15px auto 0;border:0;padding:3px;color:var(--muted);background:transparent;font-size:12px;cursor:pointer}.text-button:hover{color:var(--text-strong)}.auth-links{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:15px}.auth-links .text-button{margin:0}.auth-divider{display:flex;align-items:center;gap:12px;margin:24px 0;color:var(--faint);font-size:11px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--line)}.auth-note{margin:13px 0 0;color:var(--faint);text-align:center;font-size:11px;line-height:1.5}.app-shell{height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr);overflow:hidden;background:var(--bg);transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed{grid-template-columns:68px minmax(0,1fr)}.sidebar{height:100vh;display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--sidebar);padding:15px 11px 12px;overflow:hidden}.sidebar-brand{display:flex;align-items:center;gap:10px;min-height:40px;padding:3px 7px;color:var(--text-strong);font-size:13px}.sidebar-brand strong{white-space:nowrap}.sidebar-collapse-button{margin-left:auto;width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer;transition:background .14s,color .14s,transform .18s}.sidebar-collapse-button:hover{color:var(--text);background:var(--surface-hover)}.sidebar-collapse-button svg{transform:rotate(90deg);transition:transform .18s}.sidebar-collapsed .sidebar-collapse-button{margin:0 auto}.sidebar-collapsed .sidebar-collapse-button svg{transform:rotate(-90deg)}.sidebar-nav{display:grid;gap:2px;margin-top:24px}.sidebar-nav-label{margin:16px 9px 6px;color:var(--faint);font-size:10px;font-weight:650;letter-spacing:.06em;text-transform:uppercase}.sidebar-nav-label:first-child{margin-top:0}.sidebar-nav button{width:100%;min-height:36px;display:flex;align-items:center;gap:10px;border:0;border-radius:7px;padding:8px 10px;color:var(--muted);background:transparent;font-size:13px;text-align:left;cursor:pointer;transition:color .14s,background .14s,transform .1s}.sidebar-nav button:hover{color:var(--text);background:var(--surface-hover)}.sidebar-nav button.active{color:var(--text-strong);background:var(--surface-active);font-weight:600}.sidebar-nav button:active{transform:scale(.985)}.sidebar-footer{position:relative;margin-top:auto;border-top:1px solid var(--line);padding-top:12px}.account{width:100%;display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:9px;border:0;border-radius:6px;padding:7px 10px;background:transparent;text-align:left;cursor:pointer}.account:hover,.account.active{background:var(--surface-hover)}.account>svg{color:var(--faint)}.status-dot{width:7px;height:7px;border-radius:50%;background:#36a269;box-shadow:0 0 0 3px color-mix(in srgb,#36a269 15%,transparent)}.account div{min-width:0}.account strong,.account small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account strong{color:var(--text);font-size:11px;font-weight:500}.account small{margin-top:3px;color:var(--faint);font-size:10px}.account-menu{position:absolute;z-index:40;right:0;bottom:calc(100% + 8px);width:150px;border:1px solid var(--line);border-radius:8px;padding:5px;background:var(--surface);box-shadow:var(--shadow)}.account-menu button{width:100%;display:flex;align-items:center;gap:9px;border:0;border-radius:5px;padding:8px 9px;color:var(--text);background:transparent;font-size:12px;cursor:pointer}.account-menu button:hover{background:var(--surface-hover)}.sidebar-collapsed .sidebar-brand{justify-content:center;padding-inline:0}.sidebar-collapsed .sidebar-brand strong,.sidebar-collapsed .brand-mark,.sidebar-collapsed .sidebar-nav-label,.sidebar-collapsed .sidebar-nav button span,.sidebar-collapsed .account div,.sidebar-collapsed .account>svg{display:none}.sidebar-collapsed .sidebar-nav{margin-top:24px}.sidebar-collapsed .sidebar-nav button{justify-content:center;padding:8px}.sidebar-collapsed .sidebar-nav button svg{flex:none}.sidebar-collapsed .sidebar-footer{display:grid;justify-items:center}.sidebar-collapsed .account{width:34px;height:34px;display:grid;grid-template-columns:1fr;place-items:center;padding:0}.sidebar-collapsed .account-menu{left:calc(100% + 8px);right:auto;bottom:0}.workspace{min-width:0;height:100vh;overflow-y:auto;padding:48px clamp(28px,5vw,76px) 80px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;max-width:1180px;margin:0 auto}.breadcrumb{margin:0 0 15px;color:var(--muted);font-size:12px}.page-header h1{margin:0;color:var(--text-strong);font-size:30px;line-height:1.2;letter-spacing:-.035em}.page-description{margin:9px 0 0;color:var(--muted);font-size:12px}.activity-summary-line{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.activity-summary-line span,.activity-summary-line strong,.activity-summary-card span,.activity-summary-card strong{width:max-content;border-radius:999px;padding:4px 8px;font-size:11px;line-height:1.4}.activity-summary-line span,.activity-summary-card span{color:var(--muted);background:var(--surface-active);font-weight:500}.activity-summary-line strong,.activity-summary-card strong{color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface));font-weight:650}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1180px;margin:30px auto 14px}.search-field{width:min(420px,100%);display:flex;align-items:center;gap:9px;border:1px solid var(--line-strong);border-radius:7px;padding:0 11px;color:var(--muted);background:var(--surface)}.search-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 13%,transparent)}.search-field input{min-width:0;height:38px;border:0;padding:0;box-shadow:none;background:transparent}.search-field input:focus{box-shadow:none}kbd{margin-left:auto;border:1px solid var(--line);border-radius:4px;padding:2px 5px;color:var(--faint);background:var(--surface-hover);font:10px/1.2 Inter,sans-serif}.filter-select{position:relative;display:flex;align-items:center;gap:8px;border:1px solid var(--line-strong);border-radius:7px;padding-left:11px;color:var(--muted);background:var(--surface);font-size:12px}.filter-select select{width:auto;height:38px;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 28px 0 0;background:transparent;box-shadow:none;font-size:12px}.filter-select>svg{position:absolute;right:9px;pointer-events:none}.table-wrap{max-width:1180px;min-height:360px;margin:0 auto;border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow-x:auto;overflow-y:visible}table{width:100%;border-collapse:collapse;table-layout:fixed}th{position:sticky;top:0;z-index:2;height:44px;border-bottom:1px solid var(--line);color:var(--muted);background:var(--surface);font-size:11px;font-weight:600;text-align:left}.product-table th:nth-child(1){width:12%}.product-table th:nth-child(2){width:17%}.product-table th:nth-child(3){width:25%}.product-table th:nth-child(4){width:23%}.product-table th:nth-child(5){width:15%}.product-table th:nth-child(6){width:44px}.sku-table th:nth-child(1){width:12%}.sku-table th:nth-child(2){width:22%}.sku-table th:nth-child(3){width:12%}.sku-table th:nth-child(4){width:38%}.sku-table th:nth-child(5){width:11%}.sku-table th:nth-child(6){width:44px}.gift-table th:nth-child(1){width:16%}.gift-table th:nth-child(2){width:42%}.gift-table th:nth-child(3){width:36%}.gift-table th:nth-child(4){width:44px}.mechanism-table th:nth-child(1){width:13%}.mechanism-table th:nth-child(2){width:34%}.mechanism-table th:nth-child(3){width:36%}.mechanism-table th:nth-child(4){width:11%}.mechanism-table th:nth-child(5){width:44px}.mechanism-copy-button{max-width:100%;white-space:normal;line-height:1.5;text-align:left}.mechanism-library-table th:nth-child(1){width:68%}.mechanism-library-table th:nth-child(2){width:26%}.mechanism-library-table th:nth-child(3){width:44px}.activity-table th:nth-child(1){width:12%}.activity-table th:nth-child(2){width:27%}.activity-table th:nth-child(3){width:24%}.activity-table th:nth-child(4){width:14%}.activity-table th:nth-child(5){width:17%}.activity-table th:nth-child(6){width:44px}.activity-sku-table{min-width:1080px}.activity-sku-table th:nth-child(1){width:10%}.activity-sku-table th:nth-child(2){width:20%}.activity-sku-table th:nth-child(3){width:25%}.activity-sku-table th:nth-child(4){width:18%}.activity-sku-table th:nth-child(5){width:23%}.activity-sku-table th:nth-child(6){width:44px}.preview-table{width:3088px;min-width:3088px}.preview-col-activity{width:130px}.preview-col-number{width:120px}.preview-col-name{width:330px}.preview-col-price{width:90px}.preview-col-official{width:110px}.preview-col-store,.preview-col-paid{width:120px}.preview-col-products{width:260px}.preview-col-selling{width:300px}.preview-col-member{width:190px}.preview-col-threshold-title,.preview-col-threshold-content,.preview-col-bound,.preview-col-gifts{width:220px}.preview-col-copy{width:438px}.preview-table td{height:auto;min-height:57px;padding:13px 12px 13px 0;line-height:1.55;white-space:pre-wrap;vertical-align:top}.preview-table th:nth-child(1),.preview-table td:nth-child(1){position:sticky;left:0;z-index:3;padding-left:14px;background:var(--surface)}.preview-table th:nth-child(2),.preview-table td:nth-child(2){position:sticky;left:130px;z-index:3;background:var(--surface)}.preview-table th:nth-child(3),.preview-table td:nth-child(3){position:sticky;left:250px;z-index:3;background:var(--surface);box-shadow:1px 0 0 var(--line)}.preview-table th:nth-child(1),.preview-table th:nth-child(2),.preview-table th:nth-child(3){z-index:4}.preview-table tbody tr:hover td:nth-child(1),.preview-table tbody tr:hover td:nth-child(2),.preview-table tbody tr:hover td:nth-child(3){background:var(--surface-hover)}.activity-copy-cell{color:var(--muted);line-height:1.5}.preview-summary{display:flex;align-items:center;gap:8px;margin-left:auto;color:var(--muted);font-size:12px}.preview-summary span{border-radius:999px;padding:5px 9px;background:var(--surface-hover)}.library-table-wrap{margin-top:42px}.library-name-button{display:inline-flex;align-items:center;gap:10px;border:0;padding:0;color:var(--text-strong);background:transparent;font-weight:500;cursor:pointer}.library-name-button svg{color:var(--muted)}.library-name-button:hover{text-decoration:underline;text-underline-offset:3px}.breadcrumb button{border:0;padding:0;color:inherit;background:transparent;font:inherit;cursor:pointer}.breadcrumb button:hover{color:var(--text)}th button{display:inline-flex;align-items:center;gap:5px;border:0;padding:0;color:inherit;background:transparent;cursor:pointer}tbody tr{transition:background .12s}tbody tr:hover{background:var(--surface-hover)}td{height:57px;border-bottom:1px solid var(--line);padding:0 10px 0 0;color:var(--text);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th:first-child,td:first-child{padding-left:14px}th:last-child,td:last-child{padding-right:14px}.number-cell{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.muted-cell{color:var(--muted)}.series-chip{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;border-radius:4px;padding:3px 7px;color:var(--muted);background:var(--surface-active);font-size:11px}.name-button{max-width:100%;overflow:hidden;text-overflow:ellipsis;border:0;padding:0;color:var(--text-strong);background:transparent;font-weight:500;text-align:left;cursor:pointer}.name-button:hover{text-decoration:underline;text-underline-offset:3px}.sku-name-cell{min-width:0;display:flex;align-items:center;gap:7px}.sku-name-cell .name-button{min-width:0}.duplicate-chip{flex:none;border-radius:4px;padding:2px 6px;color:#a45b16;background:#fff1dc;font-size:10px;font-weight:600}.sku-products-summary{display:flex;align-items:center;gap:6px;overflow:hidden}.sku-products-summary span{max-width:180px;overflow:hidden;text-overflow:ellipsis;border-radius:4px;padding:3px 7px;color:var(--muted);background:var(--surface-active);font-size:11px;white-space:nowrap}.action-cell{position:relative;overflow:visible;text-align:right}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;border:0;border-radius:6px;padding:0;color:var(--muted);background:transparent;cursor:pointer}.icon-button:hover{color:var(--text);background:var(--surface-active)}.danger-hover:hover{color:var(--danger);background:var(--danger-soft)}.row-menu{position:absolute;z-index:20;top:43px;right:4px;width:124px;border:1px solid var(--line);border-radius:8px;padding:5px;background:var(--surface);box-shadow:var(--shadow);text-align:left}.row-menu.wide-menu{width:156px}.row-menu button{width:100%;display:flex;align-items:center;gap:9px;border:0;border-radius:5px;padding:8px 9px;background:transparent;font-size:12px;cursor:pointer}.row-menu button:hover{background:var(--surface-hover)}.danger-text{color:var(--danger)!important}.table-state,.empty-state{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);text-align:center}.table-state{flex-direction:row;gap:10px;font-size:13px}.empty-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;color:var(--muted);background:var(--surface-active)}.empty-state h2{margin:14px 0 5px;color:var(--text);font-size:14px}.empty-state p{margin:0;font-size:12px}.series-list{max-width:900px;margin:42px auto 0;border-top:1px solid var(--line-strong)}.series-list-header,.series-row{display:grid;grid-template-columns:minmax(220px,1fr) 120px 90px 76px;align-items:center}.series-list-header{height:42px;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px}.series-row{min-height:58px;border-bottom:1px solid var(--line);font-size:13px}.series-row>div:first-child{display:flex;align-items:center;gap:10px;color:var(--muted)}.series-row strong{color:var(--text-strong);font-weight:500}.series-actions{display:flex;justify-content:flex-end;gap:2px}.settings-layer{position:fixed;z-index:70;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px}.settings-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;border:0;background:#0a0a0a5c;cursor:default}.settings-dialog{position:relative;width:min(820px,100%);height:min(640px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.settings-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:14px 16px 14px 22px}.settings-dialog-header h2{margin:0;color:var(--text-strong);font-size:18px;letter-spacing:0}.settings-dialog-body{min-height:0;display:grid;grid-template-columns:190px minmax(0,1fr)}.settings-tabs{border-right:1px solid var(--line);padding:12px;background:var(--sidebar)}.settings-tabs button{width:100%;display:flex;align-items:center;border:0;border-radius:7px;padding:9px 10px;color:var(--muted);background:transparent;font-size:13px;text-align:left;cursor:pointer}.settings-tabs button:hover{color:var(--text);background:var(--surface-hover)}.settings-tabs button.active{color:var(--text-strong);background:var(--surface-active);font-weight:600}.settings-content{min-height:0;overflow-y:auto;padding:22px 28px 24px}.settings-section-heading{margin-bottom:20px}.settings-section-heading h3{margin:0;color:var(--text-strong);font-size:17px;letter-spacing:0}.settings-section-heading p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.settings-block+.settings-block{margin-top:28px}.settings-heading{display:flex;justify-content:space-between;gap:24px;padding:24px 0 20px}.settings-heading h2{margin:0;color:var(--text-strong);font-size:15px}.settings-heading p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.settings-preview{display:grid;gap:8px;border:1px solid var(--line);border-radius:8px;padding:16px;background:var(--surface-hover)}.settings-preview span{color:var(--muted);font-size:11px}.settings-preview strong{color:var(--text-strong);font-size:15px;font-weight:600}.field-order-list{margin-top:22px;border-top:1px solid var(--line)}.field-order-row{min-height:58px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;border-bottom:1px solid var(--line)}.field-order-number{width:22px;height:22px;display:grid;place-items:center;border-radius:5px;color:var(--muted);background:var(--surface-active);font-size:11px}.field-order-row strong{color:var(--text);font-size:13px;font-weight:500}.field-order-row>div{display:flex;gap:2px}.field-order-row .icon-button:disabled{opacity:.25;cursor:not-allowed}.duplicate-settings-heading{margin-top:28px;border-top:1px solid var(--line)}.duplicate-settings-list{border-top:1px solid var(--line)}.toggle-row{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);cursor:pointer}.toggle-row span{display:grid;gap:5px}.toggle-row strong{color:var(--text);font-size:13px;font-weight:500}.toggle-row small{color:var(--muted);font-size:11px}.toggle-row input{width:38px;height:21px;accent-color:var(--accent);cursor:pointer}.profile-row,.settings-input-row,.settings-select-row{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:14px 0}.profile-row{justify-content:flex-start}.profile-avatar{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:8px;color:var(--text-strong);background:var(--surface-active)}.profile-row div:last-child,.settings-input-row>span,.settings-select-row>span{min-width:0;display:grid;gap:5px}.profile-row strong,.settings-input-row strong,.settings-select-row strong{overflow:hidden;color:var(--text);font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.profile-row small,.settings-input-row small,.settings-select-row small{color:var(--muted);font-size:11px;line-height:1.45}.settings-input-row input,.settings-select-row select{width:190px;flex:none}.settings-password-block{display:grid;gap:12px;border-top:1px solid var(--line);padding:4px 0 18px}.settings-password-block label{display:grid;gap:8px;color:var(--text);font-size:13px;font-weight:600}.settings-inline-message{margin:0;border-radius:7px;padding:10px 12px;color:var(--muted);background:var(--surface-hover);font-size:12px;line-height:1.5}.settings-save-row{position:sticky;bottom:-24px;display:flex;justify-content:flex-end;margin:24px -28px -24px;border-top:1px solid var(--line);padding:14px 28px;background:var(--surface)}.personal-save-row{position:static;margin:16px 0 0;border-top:0;padding:0}.compact-toggle{border-top:1px solid var(--line)}.mechanism-groups{display:grid;gap:30px}.mechanism-group-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}.mechanism-group-heading h2{margin:0;color:var(--text-strong);font-size:14px}.mechanism-group-heading p{margin:5px 0 0;color:var(--muted);font-size:11px}.mechanism-group-heading>span{min-width:24px;border-radius:999px;padding:3px 7px;color:var(--muted);background:var(--surface-active);font-size:11px;text-align:center}.fixed-chip{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:3px 7px;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface));font-size:10px;font-weight:600}.fixed-summary,.activity-mechanism-chip{display:inline-flex;align-items:center;width:max-content;border:1px solid color-mix(in srgb,white 18%,transparent);border-radius:999px;padding:3px 8px;color:#fff;background:color-mix(in srgb,white 8%,transparent);font-size:11px;font-weight:650;line-height:1.35}.activity-mechanism-chip{cursor:pointer}.activity-mechanism-chip:hover{background:color-mix(in srgb,white 13%,transparent);text-decoration:none}.activity-mechanism-stack,.activity-gift-lines{display:grid;gap:5px}.activity-bound-gifts,.activity-gift-lines{color:var(--muted);font-size:11px;line-height:1.5}.activity-summary-card{display:flex;flex-wrap:wrap;gap:8px;border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--surface-hover)}.drawer-layer,.dialog-layer{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0}.drawer-backdrop,.dialog-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;border:0;background:#0a0a0a3d;cursor:default}.drawer{position:absolute;inset:0 0 0 auto;width:min(440px,100%);display:flex;flex-direction:column;border-left:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);animation:drawer-in .2s ease-out}@keyframes drawer-in{0%{transform:translate(20px);opacity:.6}}.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:24px 24px 20px}.drawer-header h2{margin:0;color:var(--text-strong);font-size:18px;letter-spacing:-.02em}.drawer-header p{margin:7px 0 0;color:var(--muted);font-size:11px}.drawer-form{min-height:0;flex:1;display:flex;flex-direction:column}.form-fields{padding:26px 24px}.drawer-form>.form-fields{min-height:0;overflow-y:auto}.form-fields small{color:var(--faint);font-size:10px;font-weight:400}.generated-name-field{display:grid;gap:8px}.generated-name-field>span{color:var(--text);font-size:13px;font-weight:600}.generated-name-field output{min-height:42px;display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;padding:10px 12px;color:var(--text-strong);background:var(--surface-hover);font-size:13px;line-height:1.55}.duplicate-warning{display:grid;gap:5px;border:1px solid color-mix(in srgb,#c77a25 35%,var(--line));border-radius:7px;padding:11px 12px;color:#9a5a17;background:color-mix(in srgb,#f3a43b 10%,var(--surface));font-size:11px;line-height:1.55}.duplicate-warning strong{font-size:12px}.duplicate-warning small{color:inherit;font-weight:600}.duplicate-warning.confirming{border-color:#c77a25}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .duplicate-chip{color:#efb76f;background:#4a3420}}:root[data-theme=dark] .duplicate-chip{color:#efb76f;background:#4a3420}.composition-fieldset{min-width:0;margin:2px 0 0;border:0;padding:0}.composition-fieldset legend{margin-bottom:9px;color:var(--text);font-size:13px;font-weight:600}.composition-list{display:grid;gap:9px}.composition-row{display:grid;grid-template-columns:minmax(0,1fr) 76px 32px;align-items:end;gap:8px}.composition-row select{min-width:0}.quantity-input{gap:5px!important}.quantity-input span{color:var(--muted);font-size:10px;font-weight:500}.quantity-input input{padding-inline:9px;font-variant-numeric:tabular-nums}.remove-composition{margin-bottom:3px}.remove-composition:disabled{opacity:.28;cursor:not-allowed}.add-composition{display:inline-flex;align-items:center;gap:6px;margin-top:12px;border:0;padding:5px 0;color:var(--accent);background:transparent;font-size:12px;font-weight:600;cursor:pointer}.add-composition:hover:not(:disabled){color:var(--accent-hover)}.add-composition:disabled{color:var(--faint);cursor:not-allowed}.drawer-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:auto;border-top:1px solid var(--line);padding:16px 24px}.confirm-dialog{position:absolute;top:50%;left:50%;width:min(380px,calc(100% - 32px));transform:translate(-50%,-50%);border:1px solid var(--line);border-radius:10px;padding:24px;background:var(--surface);box-shadow:var(--shadow)}.danger-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;color:var(--danger);background:var(--danger-soft)}.confirm-dialog h2{margin:18px 0 7px;color:var(--text-strong);font-size:17px}.confirm-dialog p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.toast{position:fixed;z-index:80;left:50%;bottom:24px;transform:translate(-50%);display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:10px 14px;color:var(--text-strong);background:var(--surface);box-shadow:var(--shadow);font-size:12px}.toast svg{color:#36a269}@media(max-width:780px){.app-shell{min-height:100vh;height:auto;grid-template-columns:1fr;overflow:visible}.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar{position:sticky;z-index:30;width:100%;height:auto;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line);padding:8px 12px}.sidebar-brand strong,.sidebar-collapse-button,.sidebar-nav button span,.account div,.account>svg{display:none}.sidebar-nav{display:flex;margin:0 0 0 auto}.sidebar-nav-label{display:none}.sidebar-nav button{width:auto;padding:8px 10px}.sidebar-footer{flex:none;margin:0 0 0 4px;border-top:0;padding-top:0}.account{width:34px;height:34px;display:grid;grid-template-columns:1fr;place-items:center;padding:0}.account .status-dot{width:8px;height:8px}.account-menu{top:calc(100% + 9px);right:0;bottom:auto}.settings-layer{padding:12px;place-items:stretch}.settings-dialog{width:100%;height:calc(100vh - 24px);align-self:center}.settings-dialog-body{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.settings-tabs{display:flex;gap:6px;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px 12px}.settings-tabs button{width:auto;flex:none;padding:8px 10px;white-space:nowrap}.settings-content{padding:18px 18px 22px}.settings-input-row,.settings-select-row{align-items:flex-start;flex-direction:column}.settings-input-row input,.settings-select-row select{width:100%}.settings-save-row{bottom:-22px;margin:22px -18px -22px;padding:12px 18px}.workspace{height:auto;overflow-y:visible;padding:30px 18px 60px}.page-header{align-items:flex-start}.page-header h1{font-size:25px}.toolbar{align-items:stretch;flex-direction:column}.search-field{width:100%}.filter-select{align-self:flex-start}.table-wrap{overflow-x:auto}table{min-width:760px}.preview-table th:nth-child(1),.preview-table td:nth-child(1),.preview-table th:nth-child(2),.preview-table td:nth-child(2),.preview-table th:nth-child(3),.preview-table td:nth-child(3){position:static;box-shadow:none}.series-list{overflow-x:auto}.series-list-header,.series-row{min-width:620px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}table tbody tr{transition:background-color .12s ease}table tbody tr:hover{background:var(--surface-hover)}.sidebar-nav button+button{margin-top:1px}.sidebar-nav{gap:0}.toast{animation:toast-in .22s cubic-bezier(.22,1,.36,1)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.drawer{animation:drawer-slide .22s cubic-bezier(.22,1,.36,1)}@keyframes drawer-slide{0%{transform:translate(100%)}to{transform:translate(0)}}.confirm-dialog{animation:dialog-in .18s cubic-bezier(.22,1,.36,1)}@keyframes dialog-in{0%{opacity:0;transform:translate(-50%,-50%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.row-menu{animation:menu-in .12s cubic-bezier(.22,1,.36,1)}@keyframes menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.account-menu{animation:menu-in .12s cubic-bezier(.22,1,.36,1)}.settings-dialog{animation:settings-in .2s cubic-bezier(.22,1,.36,1)}@keyframes settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.name-button:hover{text-decoration:underline;text-underline-offset:2px}.library-name-button:hover{background:var(--surface-active)}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.button:active:not(:disabled){transform:scale(.97)}.icon-button:active:not(:disabled){transform:scale(.92)}.series-row{transition:background-color .12s ease}.series-row:hover{background:var(--surface-hover)}.mechanism-option{transition:border-color .12s,background-color .12s,box-shadow .12s}.table-wrap::-webkit-scrollbar,.mechanism-options-scroll::-webkit-scrollbar{height:6px;width:6px}.table-wrap::-webkit-scrollbar-track,.mechanism-options-scroll::-webkit-scrollbar-track{background:transparent}.table-wrap::-webkit-scrollbar-thumb,.mechanism-options-scroll::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:3px}.table-wrap::-webkit-scrollbar-thumb:hover,.mechanism-options-scroll::-webkit-scrollbar-thumb:hover{background:var(--faint)}.about-section{display:flex;flex-direction:column;align-items:center;padding:40px 0 24px;gap:8px}.about-logo{color:var(--accent);margin-bottom:8px}.about-name{margin:0;font-size:20px;font-weight:600;color:var(--text-strong)}.about-version{margin:0;font-size:13px;color:var(--muted)}.help-fab-container{position:fixed;z-index:60;right:24px;bottom:24px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.help-fab{width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:50%;color:#fff;background:var(--accent);cursor:pointer;box-shadow:0 4px 14px #0000002e,0 2px 6px #00000014;transition:background .15s,transform .15s,box-shadow .15s}.help-fab:hover{background:var(--accent-hover);box-shadow:0 6px 20px #00000038,0 2px 8px #0000001a}.help-fab:active{transform:scale(.93)}.help-fab.active{background:var(--muted)}.help-fab.active:hover{background:var(--faint)}.help-menu{width:220px;max-height:420px;overflow-y:auto;border:1px solid var(--line);border-radius:10px;padding:6px;background:var(--surface);box-shadow:var(--shadow);animation:help-menu-in .15s cubic-bezier(.22,1,.36,1)}.help-menu::-webkit-scrollbar{width:5px}.help-menu::-webkit-scrollbar-track{background:transparent}.help-menu::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:3px}.help-menu-item{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:7px;padding:9px 11px;color:var(--text);background:transparent;font-size:13px;text-align:left;cursor:pointer;transition:background .12s,color .12s}.help-menu-item:hover{background:var(--surface-hover);color:var(--text-strong)}.help-menu-item svg{flex:none;color:var(--muted)}.help-panel{width:min(400px,calc(100vw - 48px));max-height:min(520px,calc(100vh - 120px));display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden;animation:help-menu-in .15s cubic-bezier(.22,1,.36,1)}.help-panel-header{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:12px 14px}.help-panel-back{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer;transition:background .12s,color .12s}.help-panel-back:hover{background:var(--surface-hover);color:var(--text)}.help-panel-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-strong);font-size:14px;font-weight:600}.help-panel-close{width:28px!important;height:28px!important}.help-panel-body{min-height:0;flex:1;overflow-y:auto;padding:16px 18px 20px}.help-panel-body::-webkit-scrollbar{width:5px}.help-panel-body::-webkit-scrollbar-track{background:transparent}.help-panel-body::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:3px}.help-panel-content{display:grid;gap:6px}.help-panel-text{margin:0;color:var(--text);font-size:13px;line-height:1.7}.help-panel-images{display:grid;gap:12px;margin-top:16px}.help-panel-img{max-width:100%;border:1px solid var(--line);border-radius:8px;background:var(--surface-hover)}@keyframes help-menu-in{0%{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.help-menu-group{display:grid;gap:2px}.help-menu-group+.help-menu-group{margin-top:4px;border-top:1px solid var(--line);padding-top:4px}.help-menu-group-label{padding:4px 11px 2px;color:var(--faint);font-size:10px;font-weight:650;letter-spacing:.05em;text-transform:uppercase}.help-menu-item-highlight{background:var(--accent-soft);color:var(--accent);font-weight:600}.help-menu-item-highlight svg{color:var(--accent)}.help-menu-item-highlight:hover{background:color-mix(in srgb,var(--accent) 15%,var(--surface))}.help-menu-star{margin-left:auto;color:#f5a623;flex:none}.help-panel-wide{width:min(460px,calc(100vw - 48px));max-height:min(620px,calc(100vh - 100px))}.help-quickstart{display:grid;gap:0}.help-quickstart-intro{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.65}.help-step{display:grid;gap:8px;padding-bottom:14px}.help-step-header{display:flex;align-items:center;gap:10px}.help-step-number{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--accent);font-size:11px;font-weight:700;flex:none;line-height:1}.help-step-title{margin:0;color:var(--text-strong);font-size:13px;font-weight:600}.help-step-desc{margin:0;color:var(--text);font-size:12px;line-height:1.65;padding-left:32px}.help-step-thumb{width:100%;max-height:140px;object-fit:cover;border:1px solid var(--line);border-radius:6px;background:var(--surface-hover);cursor:zoom-in;transition:border-color .12s,box-shadow .12s;margin-top:4px}.help-step-thumb:hover{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.help-step-divider{height:1px;background:var(--line);margin-top:2px}.help-lightbox{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#000000b8;cursor:zoom-out;animation:lightbox-in .15s ease}.help-lightbox-img{max-width:90vw;max-height:85vh;border-radius:8px;box-shadow:0 20px 60px #0006}@keyframes lightbox-in{0%{opacity:0}to{opacity:1}}@media(max-width:780px){.help-fab-container{right:16px;bottom:16px}.help-panel{width:min(340px,calc(100vw - 32px));max-height:min(440px,calc(100vh - 100px))}.help-panel-wide{width:min(380px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 80px))}.help-menu{width:200px}}
