:root{--ink:#20343b;--muted:#7a888d;--rail:#173138;--orange:#ed7950;--orange-dark:#d8643e;--canvas:#f6f7f7;--line:#e8edee;--white:#fff;--green:#2f8870;--shadow:0 18px 65px rgba(19,43,49,.13);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:20px;height:20px;display:block;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ef9c77;outline-offset:3px}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:var(--rail);color:#b7c7c9;display:flex;flex-direction:column;padding:31px 19px 0;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:white;font-size:27px;font-weight:760;letter-spacing:3px;line-height:1.12;padding:0 12px}.brand small{display:block;font-size:9px;font-weight:500;letter-spacing:3px;margin-top:8px;color:#abc0c1}.brand-symbol{width:36px;height:36px;display:grid;grid-template-columns:1fr 1fr;gap:5px}.brand-symbol i{border:3px solid #fff;border-radius:3px}.brand-symbol i:last-child{border:0;background:var(--orange);width:12px;height:12px;align-self:end;justify-self:end}.workspace{display:flex;gap:11px;align-items:center;padding:17px 12px;margin-top:34px;border:1px solid #365057;border-radius:9px;font-size:13px;font-weight:600;color:#e4ebeb}.workspace-avatar,.admin-avatar,.topbar-avatar{display:grid;place-items:center;background:#35545a;border-radius:8px;width:32px;height:32px;flex-shrink:0;font-size:12px;color:#dbe8e9}.workspace small,.sidebar-bottom small{display:block;font-size:10px;font-weight:400;color:#8facaf;margin-top:2px}.nav-label{font-size:10px;color:#739196;margin:28px 13px 10px;letter-spacing:1px}.nav{display:grid;gap:6px}.nav-item{border:0;background:transparent;color:#a4bec1;display:flex;align-items:center;gap:13px;height:46px;padding:0 14px;border-radius:7px;text-align:left;font-size:13px;width:100%;transition:background .15s}.nav-item svg{width:18px;height:18px}.nav-item.active{color:#fff;background:#2d484e}.nav-item:hover{background:#28434a}.nav-item.active:before{content:"";position:absolute;left:19px;width:3px;height:20px;border-radius:2px;background:var(--orange)}.nav-item b{margin-left:auto;background:#415b61;color:#e4ebed;font-size:10px;line-height:20px;padding:0 7px;border-radius:5px;font-weight:500}.sidebar-tip{margin:auto 9px 33px;padding:19px 3px 0;border-top:1px solid #355056}.sidebar-tip svg{color:#82a5a7;width:25px;height:25px;margin-bottom:10px}.sidebar-tip strong{display:block;font-size:12px;color:#d5e3e4;font-weight:500}.sidebar-tip p{font-size:11px;color:#8ba6a9;line-height:1.9;margin:8px 0 0}.sidebar-bottom{margin:0 -19px;padding:20px 22px;border-top:1px solid #345057;display:flex;align-items:center;gap:10px;font-size:12px;color:#dbe5e6}.sidebar-bottom .icon-button{margin-left:auto;color:#8facaf}.workspace-main{margin-left:236px;width:calc(100% - 236px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:74px;padding:0 43px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;align-items:center;gap:12px;color:#899498;font-size:12px}.breadcrumb svg{height:13px;width:13px;color:#b7c0c2}.breadcrumb strong{font-weight:500;color:#3d535b}.topbar-right{display:flex;align-items:center;gap:22px}.connection-status{font-size:11px;color:#869497;display:flex;align-items:center;gap:7px}.connection-status i{width:6px;height:6px;border-radius:50%;background:#58a88b}.topbar-avatar{width:31px;height:31px;background:#f2ede8;color:#967865;border-radius:50%}main{padding:36px 43px 28px;width:100%;max-width:1660px;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading h1{font-size:25px;margin:0 0 5px;letter-spacing:-.7px;font-weight:650}.page-heading p{color:var(--muted);font-size:12px;margin:0}.heading-actions{display:flex;gap:10px;align-items:center}.button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:550;white-space:nowrap;min-height:38px;transition:background .15s,transform .15s}.button svg{width:16px;height:16px}.button:hover{background:#f6f8f8}.button.primary{background:var(--orange);color:#fff;border-color:var(--orange);box-shadow:0 4px 10px #ed795015}.button.primary:hover{background:var(--orange-dark)}.button.dark{background:var(--rail);border-color:var(--rail);color:#fff}.button.ghost{background:transparent;border-color:transparent;color:#6f8187}.button.danger{color:#bc5555}.button.small{font-size:11px;min-height:30px;padding:5px 10px}.icon-button{background:transparent;border:0;display:inline-grid;place-items:center;border-radius:5px;width:31px;height:31px;padding:0;color:#859297}.icon-button:hover{background:#f0f4f4;color:var(--ink)}.icon-button svg{width:17px;height:17px}.sidebar-bottom .icon-button:hover{background:#355058;color:#fff}.hero{display:flex;justify-content:space-between;align-items:center;background:#eaf0ee;border:1px solid #e2e9e5;border-radius:11px;padding:24px 29px;margin-bottom:23px;position:relative;overflow:hidden;gap:24px}.hero h2{font-size:20px;font-weight:600;margin:2px 0 7px;letter-spacing:-.5px}.hero p{font-size:12px;color:#68817d;margin:0}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#7b9a8f}.hero-illustration{display:flex;align-items:center;gap:12px;margin-right:10px}.hero-illustration>span{display:grid;place-items:center;width:50px;height:62px;background:#fff;border-radius:7px;box-shadow:0 5px 15px #2f584b10;transform:rotate(-9deg);color:#74968a}.hero-illustration>span svg{width:23px;height:23px}.hero-illustration>span:nth-child(2){width:78px;height:78px;color:#335a51;transform:rotate(7deg);background:#d9e6e0}.hero-illustration>span:nth-child(2) svg{width:48px;height:48px}.hero-illustration>span:nth-child(3){transform:rotate(12deg)}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:26px}.stat-card{padding:19px 21px;background:#fff;border:1px solid var(--line);border-radius:9px;display:flex;justify-content:space-between;align-items:center;gap:10px}.stat-label{font-size:11px;color:#7a8c92}.stat-number{font-size:28px;font-weight:650;line-height:1.35;letter-spacing:-1px;margin-top:6px;color:#273c44}.stat-number span{font-size:12px;font-weight:400;letter-spacing:0;color:#7f9196;margin-left:4px}.stat-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:#749487;background:#eff5f1}.stat-card:nth-child(2) .stat-icon{color:#b88669;background:#f9f1ea}.stat-card:nth-child(3) .stat-icon{color:#7883a3;background:#f0f1f7}.stat-card:nth-child(4) .stat-icon{color:#7390a0;background:#eef3f6}.stat-icon svg{width:20px;height:20px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px}.section-title h2{font-size:14px;margin:0;font-weight:600}.section-title p{font-size:11px;color:var(--muted);margin:0}.quick-types{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;margin-bottom:31px}.quick-type{background:#fff;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:8px;height:82px;min-width:0;font-size:11px;color:#6d7f86;transition:border-color .15s,transform .15s}.quick-type:hover{border-color:#e7a387;transform:translateY(-2px)}.quick-type .type-icon{width:31px;height:31px;background:transparent;border-radius:0}.quick-type svg{width:22px;height:22px}.type-icon{display:grid;place-items:center;background:var(--type-bg,#eef2f3);color:var(--type-color,#7b8b91);width:40px;height:40px;border-radius:9px;flex-shrink:0}.type-icon svg{width:21px;height:21px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px;border-bottom:1px solid var(--line)}.tabs{display:flex;align-items:center;gap:25px;align-self:stretch}.tab{background:transparent;border:0;color:#8b989d;padding:10px 0 15px;font-size:12px;position:relative;display:flex;gap:6px;align-items:center}.tab.active{color:#233e44;font-weight:600}.tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--orange)}.tab span{font-size:10px;background:#e9eeee;padding:0 5px;border-radius:4px;color:#819295}.tab.active span{color:#ad7558;background:#f7e9e1}.filters{display:flex;gap:10px;align-items:center;padding-bottom:10px}.search-box{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:0 10px;border-radius:6px;height:34px;color:#97a4a8}.search-box svg{width:15px;height:15px}.search-box input{border:0;background:transparent;width:164px;font-size:11px;padding:0;outline:0}.filter-select{border:1px solid var(--line);border-radius:6px;font-size:11px;padding:6px 25px 6px 9px;background:#fff;color:#667b83;height:34px}.view-switch{display:flex;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff}.view-switch button{border:0;background:transparent;color:#9aabad;width:32px;height:32px;display:grid;place-items:center}.view-switch button.active{color:#365951;background:#eaf0ed}.view-switch svg{width:15px;height:15px}.codes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.code-card{border:1px solid #e4e9eb;border-radius:10px;overflow:hidden;background:#fff;transition:box-shadow .2s,border-color .2s}.code-card:hover{box-shadow:0 7px 23px #16353e09;border-color:#cbd8d6}.card-cover{height:116px;background:var(--type-bg,#eff3f4);position:relative;overflow:hidden;padding:17px 18px;display:flex;align-items:center;gap:12px}.card-cover .cover-icon{width:57px;height:69px;background:#fff;border-radius:6px;box-shadow:0 4px 10px #243e4810;display:grid;place-items:center;color:var(--type-color);flex-shrink:0;transform:rotate(-5deg)}.cover-icon svg{width:30px;height:30px}.cover-copy{min-width:0}.cover-copy strong{display:block;font-size:11px;color:var(--type-color);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.cover-copy small{display:block;font-size:9px;margin-top:5px;color:#90a1a7}.cover-lines{display:grid;gap:5px;margin-top:9px}.cover-lines i{height:3px;background:var(--type-color);opacity:.15;width:92px;border-radius:3px}.cover-lines i:last-child{width:64px}.cover-badge{position:absolute;top:12px;right:12px;background:#ffffffc9;padding:2px 7px;font-size:9px;color:var(--type-color);border-radius:4px}.card-cover.image-cover{padding:0}.image-cover img{width:100%;height:100%;object-fit:cover;opacity:.95}.image-cover .cover-badge{color:#365958}.card-content{padding:17px 18px 12px}.card-title-row{display:flex;align-items:start;gap:10px;justify-content:space-between}.card-title{font-size:14px;font-weight:600;margin:0;color:#2c4249;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-description{color:#93a1a5;font-size:10px;margin:5px 0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:16px}.status-badge{font-size:9px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#548a70;border:1px solid #e1eee4;background:#f4f9f5;padding:1px 5px;border-radius:4px}.status-badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.status-badge.archived{color:#a1a8aa;border-color:#e8ebec;background:#f8f9f9}.card-meta{display:flex;gap:13px;align-items:center;font-size:10px;color:#8b9ba1}.card-meta>span{display:flex;gap:4px;align-items:center}.card-meta svg{width:12px;height:12px}.card-meta .secure{color:#b18c6a;margin-left:auto}.card-footer{border-top:1px solid #f0f3f4;display:flex;align-items:center;justify-content:space-between;padding:9px 17px;color:#9aa7ab;font-size:9px}.card-actions{display:flex;gap:3px}.card-actions .icon-button{width:25px;height:25px}.card-actions svg{width:14px;height:14px}.card-actions .qr-action{color:#527f73}.codes-list{display:grid;gap:9px}.codes-list .code-card{display:grid;grid-template-columns:91px 1fr 200px;align-items:center}.codes-list .card-cover{height:92px;padding:16px;border-radius:8px;margin:6px;justify-content:center}.codes-list .card-cover .cover-icon{width:42px;height:48px}.codes-list .cover-copy,.codes-list .cover-badge{display:none}.codes-list .card-content{padding:10px 20px}.codes-list .card-description{margin-bottom:7px}.codes-list .card-title-row{justify-content:start}.codes-list .card-footer{border:0;flex-direction:column;align-items:end;gap:9px;padding:16px}.app-footer{display:flex;justify-content:space-between;gap:12px;padding:18px 43px 23px;color:#a8b3b5;font-size:10px;max-width:1660px;width:100%;margin:0 auto}.empty-state{padding:50px 24px;text-align:center;background:#fff;border:1px dashed #dce5e5;border-radius:10px;color:#899a9e}.empty-state>svg{width:41px;height:41px;color:#bac9c7;margin:0 auto 14px}.empty-state h3{font-weight:500;font-size:15px;color:#617a81;margin:0 0 5px}.empty-state p{font-size:12px;margin:0 0 16px}.notice{background:#f5f8f7;border:1px solid #e2ebe6;border-radius:8px;color:#6e857e;display:flex;gap:10px;align-items:flex-start;padding:12px 15px;font-size:11px;line-height:1.8}.notice svg{width:16px;height:16px;margin-top:2px;flex-shrink:0}.notice.warning{background:#fff9ef;border-color:#f3e7cc;color:#a08754}.notice strong{color:inherit;font-weight:600}.content-panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px 24px;margin-bottom:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel-heading h2{font-size:15px;margin:0;font-weight:600}.panel-heading p{margin:3px 0 0;font-size:11px;color:var(--muted)}.capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.capability-card{border:1px solid var(--line);border-radius:9px;padding:21px}.capability-card>div{display:flex;justify-content:space-between;align-items:center}.capability-card h3{font-size:14px;margin:13px 0 6px;font-weight:600}.capability-card p{font-size:12px;color:#8b989e;margin:0;line-height:1.9}.tag{display:inline-block;background:#edf6f0;border-radius:4px;padding:2px 7px;font-size:10px;color:#59866d}.tag.off{color:#aa8c62;background:#f9f2e7}.tag.gray{background:#f0f3f4;color:#8b9b9e}.data-table-wrap{overflow:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}.data-table th{font-weight:500;color:#92a0a5;background:#f7f9f9;padding:11px 12px;white-space:nowrap;border-bottom:1px solid var(--line)}.data-table td{padding:14px 12px;border-bottom:1px solid #edf1f2;vertical-align:middle;color:#597079}.data-table tr:last-child td{border-bottom:0}.data-table .name-cell{color:#2d4952;font-weight:550}.table-empty{text-align:center;padding:42px!important;color:#9daaad!important}.member-groups{display:flex;gap:5px;flex-wrap:wrap}.group-chip{font-size:10px;background:#eef3f1;color:#688578;border-radius:5px;padding:3px 8px}.group-list{display:flex;gap:12px;flex-wrap:wrap}.group-list .group-chip{padding:8px 13px;font-size:12px;display:flex;align-items:center;gap:8px}.group-list svg{width:15px;height:15px}.record-toolbar{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:19px}.record-toolbar .field{min-width:240px;max-width:480px;flex:1}.records-counts{display:flex;gap:20px;margin:19px 0;color:#748a91;font-size:12px}.records-counts strong{color:#2e4e57;margin-left:6px;font-size:19px}.identity-note{font-size:11px;color:#9caaad;margin-top:15px}.modal-overlay{position:fixed;inset:0;background:#112b3673;backdrop-filter:blur(3px);z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .15s ease}.modal{background:#fff;border-radius:13px;box-shadow:var(--shadow);width:650px;max-width:100%;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden}.modal.editor{width:1120px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:21px 26px;border-bottom:1px solid var(--line);gap:16px}.modal-head h2{font-size:18px;font-weight:600;margin:0;letter-spacing:-.4px}.modal-head p{font-size:11px;color:var(--muted);margin:3px 0 0}.modal-head .icon-button{flex-shrink:0}.modal-body{padding:24px 26px;overflow:auto}.modal-footer{padding:15px 26px;border-top:1px solid var(--line);background:#fbfcfc;display:flex;align-items:center;justify-content:space-between;gap:20px}.modal-footer p{font-size:11px;color:#879b9d;margin:0;display:flex;align-items:center;gap:6px}.modal-footer p svg{width:13px;height:13px}.modal-footer>div{display:flex;gap:9px}.type-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.type-choice{border:1px solid var(--line);border-radius:9px;background:#fff;padding:16px;display:flex;gap:13px;align-items:center;text-align:left}.type-choice:hover{border-color:#e4a187;background:#fffcf9}.type-choice strong{font-size:13px;font-weight:600;display:block}.type-choice small{display:block;color:#94a2a6;font-size:10px;margin-top:3px}.editor-body{display:grid;grid-template-columns:minmax(0,1fr) 270px;min-height:0;overflow:auto;background:#fff}.editor-form{padding:25px 28px;min-width:0}.editor-section{margin-bottom:24px}.editor-section:last-child{margin-bottom:0}.editor-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:10px}.editor-section-head h3{font-size:13px;font-weight:650;margin:0;display:flex;align-items:center;gap:7px}.editor-section-head h3 svg{width:16px;height:16px;color:#8b9e9e}.editor-section-head span{font-size:10px;color:#93a2a6}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:500;color:#607981;min-width:0}.field input,.field textarea,.field select{width:100%;padding:9px 11px;border:1px solid #dfe7e8;background:#fff;border-radius:6px;font-size:12px;line-height:1.6;color:#29464e;min-height:38px;resize:vertical;font-weight:400}.field input::placeholder,.field textarea::placeholder{color:#b0babc;font-size:11px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#c79479;outline:0;box-shadow:0 0 0 3px #ef9c7710}.field textarea{min-height:80px}.field input:disabled,.field select:disabled{background:#f5f7f7;color:#9aabad}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field.full{grid-column:1/-1}.help-text{color:#92a1a5;font-size:10px;font-weight:400;line-height:1.8;margin:5px 0 0}.editor-section>.field+.field{margin-top:13px}.block-list{display:grid;gap:11px}.block-card{border:1px solid #e0e8e8;border-radius:8px;background:#fff;overflow:hidden}.block-head{display:flex;justify-content:space-between;align-items:center;padding:9px 13px;background:#f8faf9;border-bottom:1px solid #eaf0ee;gap:8px}.block-head>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#648079}.block-head>span svg{width:14px;height:14px}.block-head .icon-button{width:25px;height:25px}.block-head .icon-button svg{width:13px;height:13px}.block-controls{display:flex;gap:3px}.block-body{padding:13px}.dropzone{border:1px dashed #cadbd5;border-radius:7px;padding:25px 12px;background:#fbfdfc;text-align:center;position:relative;cursor:pointer;display:block}.dropzone:hover,.dropzone.dragover{border-color:#b47f64;background:#fdf8f3}.dropzone svg{width:26px;height:26px;color:#93b0a5;margin:0 auto 9px}.dropzone strong{font-size:12px;font-weight:500;display:block;color:#628479}.dropzone p{font-size:10px;color:#a0afae;margin:5px 0 0}.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.asset-attached{display:flex;gap:11px;align-items:center;padding:10px;background:#f6f9f7;border-radius:6px}.asset-attached .type-icon{width:33px;height:39px;background:#fff}.asset-attached strong{font-size:11px;font-weight:500;display:block;word-break:break-all}.asset-attached small{font-size:10px;color:#98a9ab}.asset-attached .button{margin-left:auto;position:relative}.asset-attached input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.block-add-row{display:flex;gap:8px;margin-top:11px}.block-add-row select{border:1px solid #e3e9e9;background:#fff;border-radius:6px;padding:5px 11px;font-size:11px;min-width:125px;flex:1}.form-fields{display:grid;gap:9px}.form-field-editor{background:#f8faf9;padding:10px;border:1px solid #e8eeeb;border-radius:6px}.form-field-editor .field-grid{grid-template-columns:1fr 95px;gap:8px}.form-field-editor .field input,.form-field-editor .field select{padding:6px 8px;min-height:30px;font-size:11px}.form-field-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.checkbox{display:flex;align-items:center;gap:7px;font-size:11px;color:#6b8187;font-weight:400;cursor:pointer}.checkbox input{accent-color:#537b6b;width:14px;height:14px;flex-shrink:0}.checkboxes{display:flex;gap:14px;flex-wrap:wrap;padding:8px 0}.settings-list{border:1px solid #e2e9e9;border-radius:8px;overflow:hidden}.setting-row{padding:13px 15px;border-bottom:1px solid #edf1f1}.setting-row:last-child{border-bottom:0}.setting-title{display:flex;justify-content:space-between;align-items:center;gap:14px}.setting-title label{display:flex;align-items:center;gap:9px;font-size:12px;color:#48656c;cursor:pointer}.setting-title label svg{width:16px;height:16px;color:#8aa099}.setting-title small{font-size:10px;color:#98a8ab}.setting-row>p{color:#9ca9ac;font-size:10px;margin:4px 0 0 25px;line-height:1.7}.setting-row .field-grid,.setting-row>.field,.setting-row .checkboxes{margin-top:12px}.switch{position:relative;display:inline-flex;width:32px;height:18px;flex-shrink:0;cursor:pointer}.switch input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;z-index:1;cursor:pointer}.switch span{position:absolute;inset:0;background:#d7e1e0;border-radius:10px;transition:background .15s}.switch span:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #1e3d3317;transition:transform .15s}.switch input:checked+span{background:#719581}.switch input:checked+span:after{transform:translateX(14px)}.switch input:disabled+span{opacity:.45}.editor-preview{background:#f4f7f6;border-left:1px solid #e4edeb;padding:25px 22px;display:flex;flex-direction:column;align-items:center;position:relative}.preview-caption{font-size:11px;color:#8b9e99;margin-bottom:18px;display:flex;gap:5px;align-items:center}.preview-caption svg{width:13px;height:13px}.phone-shell{width:209px;min-height:365px;max-height:520px;background:#fff;border:5px solid #d7e1dc;border-radius:25px;box-shadow:0 11px 25px #314e4010;padding:12px;overflow:auto}.phone-status{display:flex;justify-content:space-between;font-size:8px;color:#899b94;margin-bottom:22px}.phone-notch{background:#d6dfdb;width:46px;height:6px;border-radius:6px;position:absolute;margin-top:1px;left:50%;transform:translateX(-50%)}.phone-shell h4{font-size:13px;margin:0 0 5px;color:#34534d;word-break:break-word}.phone-shell>p{font-size:9px;color:#91a29d;line-height:1.7;margin:0 0 14px;word-break:break-word}.phone-block{background:#f6f9f7;border:1px solid #e9efeb;border-radius:6px;padding:10px;margin-bottom:8px;word-break:break-word;font-size:9px;color:#6f8980}.phone-block svg{width:16px;height:16px;color:#82a48f;margin-bottom:6px}.phone-block strong{font-size:9px;font-weight:500;display:block}.phone-block small{font-size:8px;color:#9baaa4;display:block;margin-top:3px}.phone-block img{width:100%;max-height:90px;object-fit:cover;border-radius:4px}.preview-footnote{font-size:10px;color:#9caaa4;line-height:1.9;margin:18px 5px 0;text-align:center}.preview-security{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px;justify-content:center}.preview-security span{font-size:9px;color:#7e9489;background:#e5ece7;padding:2px 5px;border-radius:3px}.form-error{color:#bf6060;font-size:12px;min-height:18px;margin:8px 0}.qr-dialog{width:520px}.qr-body{text-align:center;padding:29px}.qr-image{width:215px;height:215px;display:block;margin:0 auto 18px;border:12px solid #fff;box-shadow:0 0 0 1px #e5ece7;border-radius:9px}.qr-body h3{font-size:16px;margin:7px 0;font-weight:600}.qr-body p{font-size:11px;color:#94a3a6;margin:5px 0 20px}.copy-link{display:flex;gap:7px;margin:17px 0}.copy-link input{min-width:0;flex:1;padding:9px 11px;border:1px solid var(--line);background:#f9fbfa;border-radius:5px;font-size:11px;color:#819594}.qr-exports{display:flex;gap:9px;justify-content:center}.qr-body .notice{margin-top:23px;text-align:left;font-size:10px}.toast-root{position:fixed;bottom:28px;right:28px;z-index:90;display:grid;gap:9px;max-width:min(410px,calc(100vw - 40px))}.toast{background:#25433b;color:#fff;box-shadow:0 8px 30px #162f3326;padding:12px 18px;border-radius:8px;font-size:12px;display:flex;gap:10px;align-items:center;animation:fade-in .2s ease}.toast.error{background:#875046}.toast svg{width:17px;height:17px;flex-shrink:0}.initial-loading{height:100vh;display:grid;align-content:center;justify-items:center;color:#92a5a0;font-size:12px;gap:12px}.loader{width:25px;height:25px;border:2px solid #d8e4df;border-top-color:#638b79;border-radius:50%;animation:spin .75s linear infinite}.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-intro{background:var(--rail);padding:48px 70px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;min-height:100vh}.login-intro:after{content:"";width:470px;height:470px;border:1px solid #3f5e632c;border-radius:50%;position:absolute;right:-190px;bottom:-130px;box-shadow:0 0 0 70px #3f5e6315,0 0 0 140px #3f5e6310;pointer-events:none}.login-intro .brand{padding:0}.login-intro .eyebrow{color:#98b8b0}.login-intro h1{font-size:43px;letter-spacing:-1px;line-height:1.5;font-weight:500;margin:22px 0}.login-intro p{color:#9cb8b7;line-height:2;font-size:14px}.login-intro>small{color:#77999b;font-size:11px;letter-spacing:2px}.login-art{display:flex;gap:18px;align-items:center;margin-top:36px}.login-art span{background:#29474d;width:57px;height:67px;border-radius:8px;display:grid;place-items:center;color:#9bb5b1;transform:rotate(-8deg)}.login-art span:nth-child(2){width:97px;height:97px;background:#355b58;transform:rotate(7deg);color:#dce9e3}.login-art span:nth-child(2) svg{width:63px;height:63px}.login-art svg{width:28px;height:28px}.login-art span:nth-child(3){transform:rotate(11deg)}.login-side{display:flex;align-items:center;justify-content:center;padding:45px}.login-form{max-width:370px;width:100%}.login-form>.eyebrow{color:#cf936f}.login-form h2{font-size:25px;margin:13px 0 8px;font-weight:600}.login-form>p:first-of-type{font-size:12px;color:#96a4a7;margin:0 0 35px}.login-form .field{font-size:12px;gap:10px}.login-form .field input{padding:12px 13px;min-height:45px}.login-submit{width:100%;height:45px;margin-top:5px;justify-content:space-between;padding:0 15px}.login-footnote{font-size:10px;color:#aab5b7;margin-top:22px;text-align:center}.mobile-menu{display:none}.loading-area{min-height:180px;display:flex;align-items:center;justify-content:center;gap:12px;color:#8e9f9f;font-size:12px}.inline-error{padding:20px;background:#fff7f4;border:1px solid #f0ded5;border-radius:8px;color:#b87559;font-size:12px}.submission-answers{font-size:11px;line-height:1.8;word-break:break-word;max-width:380px}.code-select-note{font-size:10px;color:#9aabad;margin-top:5px}.compact-code-row{display:flex;align-items:center;gap:12px}.compact-code-row strong{font-size:12px;font-weight:500}.compact-code-row small{display:block;font-size:10px;color:#9eacaf}.short-loading{margin-left:5px;font-size:10px;color:#7e9389}.editor .notice{font-size:10px;margin-top:11px}.group-selection{max-height:150px;overflow:auto}.member-form{display:grid;gap:15px}.danger-content p{font-size:13px;color:#738b92;margin:0;line-height:1.9}.danger-content .notice{margin-top:16px}.version{font-size:9px;color:#9babae;background:#f4f7f7;padding:1px 5px;border-radius:3px;display:inline-block;margin-left:5px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.codes-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-types{gap:13px}.hero{padding:27px 32px}.card-cover{height:128px}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.workspace-main{margin-left:205px;width:calc(100% - 205px)}.topbar,main{padding-left:28px;padding-right:28px}.app-footer{padding-left:28px;padding-right:28px}.sidebar-bottom{margin-left:-15px;margin-right:-15px}.nav-item.active:before{left:15px}.codes-grid{gap:13px}.card-content{padding:15px}.card-footer{padding:8px 14px}.cover-copy strong{max-width:125px}.card-cover{padding:15px}.card-meta{gap:10px}.quick-types{gap:6px}.stats-grid{gap:11px}.stat-card{padding:16px}.editor-body{grid-template-columns:minmax(0,1fr) 245px}.editor-form{padding:22px}.editor-preview{padding:24px 14px}}
@media(max-width:1020px){.codes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-types{grid-template-columns:repeat(4,1fr)}.quick-type{height:71px}.hero h2{font-size:18px}.hero-illustration{gap:8px;margin-right:0}.hero-illustration>span{width:34px;height:47px}.hero-illustration>span:nth-child(2){width:57px;height:60px}.hero-illustration>span:nth-child(2) svg{width:35px;height:35px}.stats-grid{grid-template-columns:repeat(2,1fr)}.library-toolbar{flex-direction:column;align-items:stretch;gap:4px}.filters{justify-content:space-between}.filters .search-box{flex:1}.search-box input{width:100%}.editor-preview{display:none}.editor-body{display:block}.codes-list .code-card{grid-template-columns:80px 1fr 130px}.codes-list .card-footer{padding:10px}.page-heading h1{font-size:22px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:236px;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.workspace-main{margin-left:0;width:100%}.mobile-menu{display:grid}.topbar{height:61px;padding:0 20px}.connection-status{display:none}main{padding:25px 20px}.app-footer{padding:18px 20px;font-size:9px}.page-heading{align-items:start;gap:12px;margin-bottom:20px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;max-width:235px}.heading-actions .button{padding:8px 11px;font-size:11px}.heading-actions .button svg{width:14px;height:14px}.hero{padding:19px;margin-bottom:17px}.hero h2{font-size:16px;max-width:230px}.hero p{font-size:11px;max-width:230px}.hero .eyebrow{font-size:8px}.hero-illustration>span:first-child,.hero-illustration>span:last-child{display:none}.stats-grid{gap:9px;margin-bottom:21px}.stat-card{padding:15px}.stat-number{font-size:26px}.stat-icon{width:33px;height:33px}.quick-types{margin-bottom:24px}.quick-type{height:68px;font-size:10px}.quick-type svg{width:21px;height:21px}.quick-types{gap:7px}.section-title p{font-size:10px}.codes-grid{gap:12px}.cover-copy{display:none}.card-cover{height:99px;justify-content:center}.card-cover .cover-icon{width:48px;height:58px}.card-content{padding:13px 12px 9px}.card-title{font-size:12px;max-width:130px}.card-title-row{flex-wrap:wrap;gap:4px}.card-description{font-size:9px;margin:5px 0 9px}.card-meta{font-size:9px;gap:7px}.card-meta .secure{display:none}.card-footer{padding:7px 10px;align-items:start;gap:5px;flex-direction:column}.card-actions{width:100%;justify-content:end}.filters{gap:7px}.filter-select{padding-right:8px;max-width:95px;font-size:10px}.view-switch{display:none}.search-box input{width:100%;font-size:10px}.tabs{gap:23px}.tab{font-size:11px}.modal-overlay{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-head{padding:18px}.modal-head h2{font-size:16px}.modal-body{padding:18px}.modal-footer{padding:13px 18px;gap:10px}.modal-footer p{font-size:9px;max-width:160px}.modal-footer .button{font-size:11px;padding:7px 12px}.type-picker{gap:9px}.type-choice{padding:12px;gap:9px}.type-choice .type-icon{width:32px;height:32px}.type-choice strong{font-size:12px}.type-choice small{font-size:9px;line-height:1.6}.editor-form{padding:19px}.field-grid{gap:9px}.setting-title small{font-size:9px}.content-panel{padding:18px}.capability-grid{grid-template-columns:1fr}.record-toolbar{align-items:stretch;flex-direction:column}.record-toolbar .field{min-width:0;max-width:none}.record-toolbar .button{align-self:end}.records-counts{gap:13px;font-size:10px}.records-counts strong{font-size:17px}.panel-heading{align-items:start}.panel-heading h2{font-size:14px}.panel-heading p{font-size:10px}.codes-list .code-card{grid-template-columns:62px 1fr 86px}.codes-list .card-cover{height:65px;padding:8px}.codes-list .card-cover .cover-icon{width:31px;height:36px}.codes-list .card-content{padding:10px}.codes-list .card-footer>span{display:none}.codes-list .card-actions{flex-wrap:wrap}.login-screen{grid-template-columns:1fr}.login-intro{min-height:auto;padding:26px}.login-intro>div,.login-intro>small{display:none}.login-side{padding:44px 28px}.login-form h2{font-size:23px}.toast-root{right:18px;bottom:18px}.qr-image{width:190px;height:190px}.qr-body{padding:22px}.qr-exports{flex-wrap:wrap}.data-table th,.data-table td{font-size:11px;padding:11px 9px}.setting-row{padding:12px}.block-head{padding:8px 10px}.app-footer span:last-child{display:none}.modal-footer>div{gap:5px}.field input,.field textarea,.field select{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.connection-status.offline{color:#b77e6e}.connection-status.offline i{background:#c78875}

.delete-action{color:#b9685d}.button.danger{background:#ac4a40;color:white;border-color:#ac4a40}.qr-presets{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.qr-style-layout{display:grid;grid-template-columns:1fr 180px;gap:20px}.qr-live{display:flex;flex-direction:column;align-items:center;justify-content:center}.qr-live svg{width:170px;height:170px;stroke:none;fill:initial}.qr-live p{font-size:11px;text-align:center}.qr-logo-thumbnail{width:48px;height:48px;object-fit:contain;background:white;border-radius:6px}.qr-logo-upload{margin-top:16px;flex-wrap:wrap}.qr-logo-upload input[type=file]{display:none}@media(max-width:760px){.qr-style-layout{grid-template-columns:1fr}.qr-live svg{width:200px;height:200px}}
