@font-face{font-family:system-fallback;src:local("Segoe UI")}*{box-sizing:border-box} :root{font-family:"Segoe UI",system-ui,-apple-system,sans-serif;color:#26353e;background:#f5f7f9;font-synthesis:none;--ink:#26353e;--muted:#7a8790;--line:#e2e8ed;--accent:#236b68;--accent-dark:#195552;--accent-soft:#e9f3f1;--danger:#b84b49;--panel-width:330px}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,h4,p{margin:0}h1{font-size:28px;font-weight:630;letter-spacing:-.8px}h2{font-size:22px;font-weight:620;letter-spacing:-.5px}h3{font-size:15px;font-weight:620}h4{font-size:12px;font-weight:600;color:#667782;letter-spacing:.2px}.muted{color:var(--muted)}.small{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;padding:10px 15px;border-radius:7px;line-height:1.15;font-weight:560;font-size:13px;white-space:nowrap;transition:background .15s,border-color .15s;color:var(--ink);background:transparent}.button svg{width:17px;height:17px}.button.primary{color:white;background:var(--accent);border-color:var(--accent)}.button.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}.button.secondary{background:#fff;border-color:#dce3e8}.button.secondary:hover{background:#f5f8fa;border-color:#bdcbd3}.button.subtle{color:#637680}.button.subtle:hover{background:#edf2f5}.button.danger{color:#fff;background:var(--danger)}.button.danger:hover{background:#a23e3c}.button.text-danger{color:var(--danger)}.button.text-danger:hover{background:#fcf0ef}.button.small{padding:6px 9px}.button.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;color:#73838d;background:transparent;padding:9px;border-radius:6px;flex-shrink:0}.icon-button:hover{background:#edf2f5;color:var(--ink)}.icon-button.danger-hover:hover{background:#fcf0ef;color:var(--danger)}.app-header{height:90px;padding:0 30px;display:flex;align-items:center;gap:35px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;min-width:286px}.brand-mark{width:41px;height:41px;background:var(--accent-soft);border-radius:9px;padding:7px;color:var(--accent)}.brand-mark svg{width:100%;height:100%}.brand strong{display:block;font-weight:650;font-size:16px;letter-spacing:-.4px}.brand small{display:block;margin-top:5px;font-size:9px;letter-spacing:1.9px;color:#89959d;font-weight:600}.search-form{height:43px;flex:1;max-width:600px;display:flex;align-items:center;gap:11px;background:#f6f8fa;border:1px solid #e4e9ee;border-radius:7px;padding:0 13px;color:#94a0a8}.search-form:focus-within{border-color:#8bb8b2;box-shadow:0 0 0 3px #236b680c}.search-form input{width:100%;border:0;background:transparent;outline:none;color:var(--ink);font-size:13px}.search-form input::placeholder{color:#8a979f}.search-form kbd{border:1px solid #dce3e8;border-radius:4px;padding:2px 5px;font:11px "Segoe UI",sans-serif;color:#9ba6ad}.header-actions{margin-left:auto;display:flex;align-items:center;gap:6px}.header-actions>.primary{margin-left:7px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 8px var(--panel-width);height:calc(100vh - 90px);min-height:420px}.collection{padding:34px 30px 15px;overflow:auto;display:flex;flex-direction:column;min-width:0}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.collection-heading h1{margin:10px 0 8px}.breadcrumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;min-height:16px;font-size:11px;color:#8a969e}.breadcrumbs button{border:0;background:none;padding:0;color:#687e89;font-size:11px}.breadcrumbs button:hover{color:var(--accent)}.breadcrumbs svg{width:12px;height:12px}.collection-heading p{font-size:12px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:21px;align-content:start}.detail-card{display:block;width:100%;padding:0;background:#fff;border:1px solid #e2e8ed;border-radius:10px;text-align:left;overflow:hidden;transition:box-shadow .15s,transform .15s,border-color .15s}.detail-card:hover{border-color:#b6cfc9;box-shadow:0 5px 20px #243e4b0b;transform:translateY(-2px)}.card-preview{height:180px;padding:13px;background:#fff;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #edf1f4;position:relative}.card-preview img{max-width:100%;max-height:100%;object-fit:contain}.card-image-count{position:absolute;bottom:10px;right:10px;border:1px solid #e4e9ee;border-radius:4px;display:flex;align-items:center;gap:5px;padding:3px 6px;background:#ffffffec;font-size:10px;color:#6d7c85}.card-image-count svg{width:12px;height:12px}.card-body{padding:15px 16px}.card-id{font-size:13px;font-weight:650;color:#3c515e;letter-spacing:.3px}.card-comment{color:#7a8790;font-size:12px;line-height:1.55;margin-top:6px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:18px}.card-tags{display:flex;gap:5px;margin-top:12px;flex-wrap:wrap}.tag-chip{font-size:10px;color:#5e7c77;background:#edf5f3;border:1px solid #e3efeb;padding:3px 6px;border-radius:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pagination{display:flex;align-items:center;justify-content:center;gap:15px;padding:25px 0 10px;font-size:12px;color:var(--muted)}.collection-footer{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:30px;font-size:10px;color:#9aa5ad;min-height:50px}.local-dot{width:5px;height:5px;background:#71a99b;border-radius:50%}.footer-separator{padding:0 5px;color:#b5bec5}.footer-count{margin-left:auto}.panel-resizer{background:transparent;border-right:1px solid var(--line);cursor:col-resize;position:relative}.panel-resizer:hover,.panel-resizer:focus{background:#dfece9;outline:none}.panel-resizer:before{content:"";position:absolute;top:45%;left:3px;width:2px;height:40px;background:#cfd9df;border-radius:2px}.tag-panel{display:flex;flex-direction:column;padding:32px 21px 20px;background:#fff;overflow:auto}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.eyebrow{font-size:9px;letter-spacing:1.65px;font-weight:650;color:#87969f;display:block;margin-bottom:8px}.panel-heading h2{font-size:22px}.panel-heading .icon-button{border:1px solid #e3e9ee;padding:6px}.panel-heading svg{width:17px;height:17px}.panel-description{color:#929da5;font-size:11px;line-height:1.6;margin:16px 0 22px}.all-details{width:100%;display:flex;align-items:center;text-align:left;gap:9px;border:0;background:none;font-size:12px;padding:12px 10px;border-radius:6px;color:#586c76;font-weight:600;margin-bottom:10px}.all-details svg{width:16px;height:16px}.all-details .tree-count{margin-left:auto}.all-details.selected{background:var(--accent-soft);color:var(--accent)}.all-details:hover{background:#f0f5f4}.tag-tree{flex:1;min-height:130px}.tree-row{display:flex;align-items:center;min-height:38px;border-radius:5px;gap:3px;padding-left:var(--indent,0px);position:relative}.tree-row.selected{background:var(--accent-soft)}.tree-row:hover{background:#f4f7f8}.tree-row.selected:hover{background:var(--accent-soft)}.tree-expand{display:flex;align-items:center;justify-content:center;padding:4px;border:0;background:none;color:#9aa8b0;width:23px;height:27px;flex-shrink:0}.tree-expand svg{width:12px;height:12px}.tree-expand.empty{visibility:hidden}.tree-label{display:flex;align-items:center;gap:7px;text-align:left;min-width:0;flex:1;border:0;background:none;color:#5b6e78;font-size:12px;padding:8px 0}.tree-label .tag-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.tree-label svg{width:14px;height:14px;color:#b3c1c8}.selected .tree-label,.selected .tree-label svg{color:var(--accent);font-weight:600}.tree-count{font-size:10px;color:#94a2aa;font-weight:400;margin-right:5px}.tree-menu{padding:4px;opacity:0;display:flex;align-items:center;border:0;border-radius:3px;background:none;color:#90a0a8}.tree-menu svg{width:15px;height:15px}.tree-row:hover .tree-menu,.tree-row:focus-within .tree-menu{opacity:1}.tree-menu:hover{background:#e3ecef}.panel-footnote{margin-top:26px;padding-top:18px;border-top:1px solid #edf0f3;font-size:10px;line-height:1.7;color:#9aa6ae}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:380px;text-align:center;padding:36px 20px}.empty-symbol{width:76px;height:76px;border-radius:19px;background:#e9f1ee;display:flex;align-items:center;justify-content:center;color:#82a39b;margin-bottom:23px}.empty-symbol svg{width:36px;height:36px;stroke-width:1.2}.empty-state h2{font-size:20px;color:#405660;margin-bottom:11px}.empty-state p{max-width:360px;font-size:13px;line-height:1.8;color:#8a979e}.empty-state .button{margin-top:24px}.tree-empty{padding:34px 12px;text-align:center;border:1px dashed #dfe7e9;border-radius:7px;color:#a0acb2;font-size:12px;line-height:1.7}.tree-empty svg{display:block;margin:0 auto 10px;color:#a7beb7;width:28px;height:28px}.tree-empty .button{margin-top:12px}.notice{background:#edf5f3;color:#53766c;border:1px solid #d9eae4;padding:12px 15px;border-radius:6px;font-size:12px;line-height:1.6;margin-bottom:20px}.notice.warning{color:#886c37;background:#fff9eb;border-color:#efe2c4}.notice button{font:inherit;color:inherit;text-decoration:underline;border:0;background:none;cursor:pointer;padding:0 3px}.loading-state{grid-column:1/-1;min-height:180px;display:flex;justify-content:center;align-items:center;gap:10px;color:var(--muted);font-size:13px}.spinner{border:2px solid #dbe7e3;border-top-color:var(--accent);border-radius:50%;width:18px;height:18px;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:0;padding:0;color:var(--ink);border-radius:13px;box-shadow:0 25px 100px #21333d35;margin:auto}dialog::backdrop{background:#21333d50;backdrop-filter:blur(2px)}.modal{width:min(1040px,calc(100vw - 60px));max-height:calc(100vh - 50px);overflow:auto}.modal-top{padding:23px 27px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);background:#fff}.modal-top h2{font-size:22px}.modal-top .eyebrow{margin-bottom:6px}.modal-footer{padding:18px 27px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fafcfd}.modal-footer>div{display:flex;gap:9px;flex-shrink:0}.modal-body{padding:24px 27px}.small-dialog{width:min(470px,calc(100vw - 40px))}.wide-dialog{width:min(760px,calc(100vw - 40px))}.field-label{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:600;margin:24px 0 8px}.field-label span{font-size:11px;color:#9aa7ae;font-weight:400}input:not([type=checkbox]):not([type=file]):not([type=search]),textarea,select{width:100%;border:1px solid #dce4e9;border-radius:6px;padding:10px 12px;background:#fff;color:var(--ink)}textarea{resize:vertical;line-height:1.65;font-size:13px;min-height:95px}input:focus,textarea:focus,select:focus{border-color:#8ab6ac;outline:2px solid #236b680d;outline-offset:1px}textarea::placeholder,input::placeholder{color:#9aa7af}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.section-heading h3{display:flex;align-items:center;gap:8px}.count-pill{font-size:10px;background:#edf2f5;color:#81929b;border-radius:8px;padding:2px 6px;line-height:1.2}.required{font-size:10px;font-weight:400;color:#9a8070;margin-left:3px}.editor-main{display:grid;grid-template-columns:minmax(0,1fr) 280px}.editor-images{padding:24px 27px;border-right:1px solid var(--line);max-height:calc(100vh - 235px);overflow:auto}.editor-tags{padding:24px 20px;display:flex;flex-direction:column;max-height:calc(100vh - 235px)}.editor-tags>.small{line-height:1.7}.drop-zone{border:1.5px dashed #c8d8d3;border-radius:9px;background:#f8fbfa;display:flex;flex-direction:column;align-items:center;padding:23px 15px;text-align:center;transition:background .15s,border-color .15s;cursor:pointer}.drop-zone.dragging{background:#e9f4ee;border-color:var(--accent)}.upload-icon{margin-bottom:9px;color:#7d9d91}.upload-icon svg{width:30px;height:30px;stroke-width:1.4}.drop-zone strong{font-size:13px;font-weight:600;margin-bottom:6px;color:#47675d}.drop-zone>span:not(.upload-icon){font-size:11px;color:#95a59e}.drop-zone small{font-size:10px;color:#a5b0ab;margin-top:9px}.drop-zone .button{margin-top:15px;padding:7px 12px;font-size:11px}.editor-image-list{margin-top:15px;display:flex;flex-direction:column;gap:8px}.editor-image-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e2e9ec;background:#fff;border-radius:6px;cursor:grab}.editor-image-row.dragging{opacity:.5}.editor-image-row.drag-over{border-color:var(--accent);background:#edf7f3}.drag-handle{display:flex;color:#b5c0c6}.drag-handle svg{width:13px;height:17px}.editor-image-preview{width:66px;height:49px;object-fit:contain;background:#f8fafb;border:1px solid #edf0f3;border-radius:3px}.editor-image-description{flex:1;min-width:0}.editor-image-description strong{display:block;font-size:11px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.editor-image-description small{font-size:10px;color:#9aa6ae;display:block;margin-top:5px}.row-controls{display:flex;align-items:center;gap:2px}.row-controls .icon-button{padding:5px}.row-controls svg{width:15px;height:15px}.row-controls .cover-selected{color:var(--accent);background:var(--accent-soft)}.tag-selection-list{overflow:auto;flex:1;min-height:170px;padding-top:16px}.tag-checkbox{display:flex;align-items:center;gap:8px;padding:8px 5px;border-radius:4px;color:#687d87;font-size:12px;margin-left:var(--indent,0px)}.tag-checkbox:hover{background:#f3f7f8}.tag-checkbox input{accent-color:var(--accent);margin:0;width:14px;height:14px;flex-shrink:0}.tag-checkbox span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.selected-tag-count{margin-top:14px;border-top:1px solid var(--line);padding-top:13px;font-size:11px;color:#87978f}.form-error{color:var(--danger);font-size:12px;line-height:1.6}.form-error:not(:empty){margin-top:10px}.viewer-dialog{width:min(1350px,calc(100vw - 45px));overflow:hidden}.viewer-dialog .modal-top{padding:18px 22px}.viewer-heading{display:flex;align-items:center;gap:14px}.viewer-heading h2{font-size:20px}.viewer-top-actions{display:flex;align-items:center;gap:8px}.viewer-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;height:min(740px,calc(100vh - 130px))}.viewer-display{min-width:0;display:flex;flex-direction:column;background:#f0f3f5}.viewer-toolbar{height:49px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:#f8fafb;border-bottom:1px solid #e0e7eb}.viewer-toolbar>div{display:flex;align-items:center;gap:5px}.viewer-toolbar .icon-button{padding:6px}.viewer-toolbar svg{width:17px;height:17px}.zoom-label{font-size:11px;color:#83949d;width:41px;text-align:center}.toolbar-divider{height:18px;width:1px;background:#dce4e9;margin:0 5px}.image-viewport{flex:1;min-height:0;position:relative;overflow:hidden;cursor:grab;touch-action:none;background-color:#e9eef1;background-image:linear-gradient(45deg,#e5ebee 25%,transparent 25%),linear-gradient(-45deg,#e5ebee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5ebee 75%),linear-gradient(-45deg,transparent 75%,#e5ebee 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.image-viewport:active{cursor:grabbing}.image-viewport img{position:absolute;top:50%;left:50%;transform-origin:center center;max-width:none;max-height:none;user-select:none;box-shadow:0 2px 10px #2a3d4818;will-change:transform}.image-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:#83959e;background:#e9eef1}.viewer-thumbnails{height:87px;display:flex;align-items:center;gap:10px;padding:10px 15px;overflow-x:auto;border-top:1px solid #dfe6eb;background:#fafcfd;flex-shrink:0}.viewer-thumbnail{display:flex;flex-direction:column;align-items:center;justify-content:center;width:82px;height:64px;background:#fff;border:1px solid #dce5e9;border-radius:5px;padding:4px;flex-shrink:0;gap:3px}.viewer-thumbnail.selected{border:2px solid #6b9e91;background:#f7fcfa}.viewer-thumbnail img{width:70px;height:39px;object-fit:contain}.viewer-thumbnail span{font-size:8px;color:#82949c}.viewer-sidebar{padding:26px 20px;border-left:1px solid var(--line);overflow:auto;background:#fff}.viewer-sidebar h3{font-size:20px;letter-spacing:-.3px;margin-top:10px}.tag-chips{display:flex;flex-wrap:wrap;gap:5px;margin:15px 0 26px}.viewer-comment{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;color:#6e838f;margin-top:9px;max-height:180px;overflow:auto}.viewer-file-info{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#9aaaaf;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3;padding:12px 0;margin:22px 0}.viewer-downloads{display:flex;flex-direction:column;gap:9px}.viewer-sidebar .text-danger{font-size:11px;margin:14px 0}.viewer-sidebar>.small{font-size:10px;line-height:1.7}.record-list{display:flex;flex-direction:column;gap:10px;margin-top:22px}.record-row{display:flex;align-items:center;gap:12px;border:1px solid #e2e8ec;border-radius:8px;padding:12px 14px}.record-preview{width:57px;height:46px;object-fit:contain;background:#f7f9fa;border:1px solid #e8edf0;border-radius:4px}.record-info{flex:1;min-width:0}.record-info strong{font-size:12px;display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-info p{font-size:11px;color:#91a0a8;margin-top:5px;line-height:1.6}.record-actions{display:flex;gap:5px;align-items:center}.record-actions .button{padding:8px 10px;font-size:11px}.record-empty{padding:30px 15px;border:1px dashed #dfe6ea;border-radius:6px;text-align:center;color:#91a0a8;font-size:12px;line-height:1.8}.confirm-message{line-height:1.8;font-size:13px;white-space:pre-wrap}.toast-region{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}.toast{background:#2c4647;color:white;padding:12px 19px;border-radius:8px;box-shadow:0 4px 18px #1b394325;font-size:12px;display:flex;gap:9px;align-items:center;max-width:min(600px,90vw);animation:appear .2s ease;line-height:1.6}.toast.error{background:#a34d47}.toast svg{width:16px;height:16px}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.danger-note{color:var(--danger)}@media(min-width:1600px){.app-header{padding:0 45px}.collection{padding:34px 45px 15px}.cards{grid-template-columns:repeat(auto-fill,minmax(265px,1fr))}.card-preview{height:210px}}@media(max-width:1120px){.app-header{gap:20px;padding:0 22px}.brand{min-width:220px}.brand strong{font-size:14px}.brand small{font-size:8px;letter-spacing:1.3px}.collection{padding:26px 20px 15px}:root{--panel-width:285px}.card-preview{height:155px}.cards{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:15px}.header-actions{gap:0}.editor-main{grid-template-columns:minmax(0,1fr) 245px}}@media(max-width:850px){.app-header{height:auto;min-height:110px;flex-wrap:wrap;gap:10px;padding:15px 20px}.brand{flex:1}.search-form{order:3;max-width:none;flex-basis:100%;height:37px}.brand small{display:none}.workspace{height:calc(100vh - 111px);grid-template-columns:minmax(0,1fr) 6px 245px}.tag-panel{padding:24px 13px}.panel-description{margin:12px 0 16px}.collection{padding:23px 15px}.collection-heading h1{font-size:23px}.header-actions .button{font-size:11px;padding:9px 11px}.card-preview{height:145px}.cards{gap:11px;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.editor-main{grid-template-columns:minmax(0,1fr) 220px}.editor-images{padding:20px}.editor-tags{padding:20px 14px}.viewer-layout{grid-template-columns:minmax(0,1fr) 215px}.viewer-sidebar{padding:20px 14px}.viewer-heading{gap:8px;flex-wrap:wrap}.viewer-heading h2{font-size:17px}}@media(max-width:620px){.workspace{grid-template-columns:minmax(0,1fr) 5px 185px}.tag-panel{padding:20px 9px}.panel-heading h2{font-size:19px}.eyebrow{font-size:8px;letter-spacing:1px}.panel-footnote{display:none}.tree-label{font-size:11px}.tree-expand{width:17px;padding:2px}.tree-menu{opacity:1;padding:2px}.collection{padding:21px 12px}.cards{grid-template-columns:1fr}.collection-heading{align-items:flex-start}.collection-heading h1{font-size:21px}.collection-footer{flex-wrap:wrap}.footer-count{display:none}.brand-mark{width:33px;height:33px}.brand{gap:8px;min-width:0}.brand strong{font-size:12px}.app-header{padding:12px}.header-actions>.primary{margin-left:3px}.header-actions .icon-button{padding:6px}.header-actions .icon-button svg{width:16px;height:16px}.editor-main{display:flex;flex-direction:column}.editor-images{border-right:0;max-height:none}.editor-tags{border-top:1px solid var(--line);max-height:240px}.editor-dialog{max-height:calc(100vh - 25px);width:calc(100vw - 20px)}.editor-form{max-height:calc(100vh - 108px);overflow:auto}.editor-dialog .modal-footer{position:sticky;bottom:0}.modal-top,.modal-footer{padding:16px 18px}.viewer-layout{display:flex;flex-direction:column;height:calc(100vh - 140px)}.viewer-display{flex:1;min-height:220px}.viewer-sidebar{height:150px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.viewer-sidebar>h3,.viewer-sidebar>.eyebrow,.viewer-sidebar>h4,.viewer-comment,.viewer-file-info,.viewer-sidebar>.small,.viewer-sidebar>.text-danger{display:none}.viewer-tags{margin:0;width:100%}.viewer-downloads{flex-direction:row;flex-wrap:wrap;gap:5px}.viewer-downloads .button{width:auto;font-size:10px;padding:7px}.viewer-thumbnails{height:73px}.viewer-thumbnail{height:56px}.viewer-thumbnail img{height:33px}.record-row{flex-wrap:wrap}.record-actions{margin-left:auto}.modal-body{padding:20px}.row-controls{flex-wrap:wrap;max-width:90px}.editor-image-preview{width:52px}.empty-state{min-height:300px;padding:25px 5px}.empty-state h2{font-size:17px}.empty-state p{font-size:11px}}
.editor-image-placeholder{width:66px;height:49px;flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;background:#f1f5f7;border:1px solid #e2e9ed;border-radius:3px;color:#91a4ad}.editor-image-placeholder svg{width:18px;height:18px}.editor-image-placeholder small{font-size:8px}

/* Focused category navigation is shared by browsing, editing and destinations. */
.category-path{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin:10px 0 14px;font-size:11px;overflow-wrap:anywhere}.path-link{border:0;background:transparent;padding:3px 2px;color:#50776f;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere}.path-link:hover{text-decoration:underline}.path-link.current{font-weight:600;color:#254d44}.path-separator{color:#adbbbf}.category-row{display:flex;align-items:center;gap:4px;border-radius:6px;margin:3px 0}.category-label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:10px 7px;background:transparent;border:0;border-radius:6px;color:#58717e;text-align:left;font-size:12px;cursor:pointer}.category-label>svg{width:15px;height:15px;flex-shrink:0}.category-name{flex:1;overflow-wrap:anywhere}.category-next svg{width:12px;height:12px}.category-row:hover{background:#f0f5f4}.current-category{background:#eaf3f0;border:1px solid #c9ded7;margin-bottom:10px}.current-category .category-label{color:#2c6557;font-weight:600}.category-more{width:28px;flex-shrink:0;padding:5px}.category-more svg{width:18px;height:18px}.category-children{border-left:1px solid #dbe7e2;margin-left:10px;padding-left:8px}.category-add{display:flex;align-items:center;gap:7px;background:transparent;color:#367362;border:1px dashed #bed5cb;border-radius:5px;padding:9px 10px;width:100%;font-size:12px;cursor:pointer;margin-bottom:7px}.category-add svg{width:14px;height:14px}.category-empty{font-size:11px;color:#91a4ad;padding:9px 5px}.selected-tag-count,.readonly-path{overflow-wrap:anywhere;line-height:1.8}.tag-edit-help{margin-top:15px;font-size:10px;line-height:1.8}.readonly-path{padding:10px;border:1px solid #dbe6e1;background:#f7faf8;border-radius:5px;font-size:12px}.tag-context-menu{position:fixed;inset:auto;margin:0;width:200px;padding:7px;border:1px solid #d3dfdb;border-radius:7px;background:#fff;box-shadow:0 8px 28px #233b3325;color:#35534a}.tag-context-menu strong{display:block;font-size:11px;padding:7px 9px;overflow-wrap:anywhere}.tag-context-menu button{display:block;width:100%;text-align:left;padding:9px;border:0;border-radius:4px;background:transparent;color:inherit;font-size:12px;cursor:pointer}.tag-context-menu button:hover,.tag-context-menu button:focus{background:#eaf3ef}.tag-context-menu [data-tag-action=delete]{color:#ac4f46}.destination-tree{margin-top:15px;max-height:45vh;overflow:auto}.merge-conflicts{font-size:12px;line-height:1.8;overflow-wrap:anywhere;max-height:35vh;overflow:auto}.merge-conflicts p{margin-top:9px}.lifecycle-help{flex-basis:100%;font-size:10px;color:#80959b;line-height:1.7;margin-top:6px}.collection-footer{flex-wrap:wrap}.tag-selection-list{min-height:180px}.category-path:focus-within{outline-offset:2px}

/* Shared-library accounts and concurrency notices. */
body.signed-out{min-height:100vh;background:radial-gradient(ellipse at 30% 15%,#e7f1ed 0,transparent 55%),#f5f7f9}
body.signed-out>.app-header,body.signed-out>.workspace{display:none}
body.signed-out dialog:not(#login-dialog):not(#confirm-dialog){visibility:hidden}
.login-dialog{width:min(430px,calc(100vw - 30px));box-shadow:0 20px 65px #213c3625}
.login-dialog .modal-body>p:first-child{font-size:12px;line-height:1.7;margin-bottom:20px}
.login-dialog .modal-top{border-bottom:0;padding-bottom:0}
.login-dialog .form-error,#password-error{margin-top:16px}
#login-dialog input,#account-dialog input,.account-field input,.account-field select,.user-password-reset input,#user-create-password{width:100%;min-width:0;border:1px solid #dbe4e8;border-radius:6px;background:#fff;padding:10px 11px;color:var(--ink);font-size:13px}
#login-dialog input:focus,#account-dialog input:focus,.user-record input:focus,.user-record select:focus,.user-create-form input:focus{border-color:#8bb8b2;outline:2px solid #236b6814}
#login-dialog .field-label,#account-dialog .field-label{display:block;margin-top:17px;margin-bottom:8px}
#account-description{font-size:12px;line-height:1.7}
.password-help{margin-top:15px;line-height:1.7}
.account-control{max-width:150px;overflow:hidden}
#account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-meta{font-size:10px;line-height:1.8;color:#82969e;margin:12px 0;overflow-wrap:anywhere}
.editor-meta{padding:0 25px;margin:12px 0 0}
.stale-notice,.connection-notice{display:flex;align-items:center;gap:14px;justify-content:space-between}
.stale-notice{margin:12px 25px}
.stale-notice span,.connection-notice span{flex:1;line-height:1.7}
.local-dot.offline{background:#ba7661}
.admin-tabs{display:flex;gap:8px;padding:15px 25px 0;border-bottom:1px solid var(--line)}
.admin-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:8px 12px 12px;color:#7e9199;font-size:12px}
.admin-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}
.admin-dialog>.modal-body{max-height:calc(100vh - 210px);overflow:auto}
.user-list{display:flex;flex-direction:column;gap:14px;margin-top:23px}
.user-record{padding:17px;border:1px solid #dfe8e5;border-radius:8px;background:#fbfdfc}
.user-record-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.user-record-title strong{font-size:12px;overflow-wrap:anywhere}
.role-pill{padding:3px 7px;background:#eaf3ee;color:#547866;border-radius:4px;font-size:10px}
.role-pill.inactive{background:#f4ebe7;color:#a77765}
.user-fields{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.account-field{flex:1;min-width:130px}
.account-field .field-label{display:block;margin:0 0 7px;font-size:10px;color:#71878c}
.check-label{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap;min-height:36px}
.check-label input{width:15px;height:15px;accent-color:var(--accent)}
.user-password-reset{display:flex;align-items:center;gap:10px;margin-top:15px}
.user-password-reset input{flex:1}
.user-record .form-error{margin-top:9px}
.user-create-form{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
.user-create-form h3{margin-bottom:17px}
.user-create-form>.field-label{display:block;margin:15px 0 7px;font-size:11px}
.user-create-actions{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:15px}
.audit-list{display:flex;flex-direction:column;margin-top:15px}
.audit-record{display:grid;grid-template-columns:1fr auto;gap:7px;padding:13px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.audit-record strong{font-size:12px;font-weight:550}
.audit-record span{font-size:11px;color:#6d838e}
.audit-record small{grid-column:1/-1;font-size:10px;color:#91a2aa}
.latest-comment{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#6b818b;margin:9px 0 18px}
.latest-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:17px}
.latest-images figure{margin:0;border:1px solid var(--line);border-radius:6px;padding:10px}
.latest-images img{width:100%;height:180px;object-fit:contain}
.latest-images figcaption{font-size:10px;color:#7d939c;line-height:1.7;margin-top:8px}
#latest-content{max-height:65vh;overflow:auto}
@media(max-width:1120px){.brand{min-width:210px}.app-header{gap:15px}.account-control{max-width:100px}}
@media(max-width:850px){.account-control{max-width:110px}.stale-notice{margin:9px 18px}.user-password-reset{flex-wrap:wrap}}
@media(max-width:620px){.account-control{max-width:70px}.header-actions{flex-wrap:wrap}.stale-notice,.connection-notice{align-items:flex-start;flex-direction:column}.editor-meta{padding:0 18px}.user-fields{flex-direction:column;align-items:stretch}.account-field{min-width:0}.user-create-actions{flex-direction:column;align-items:stretch}.user-password-reset input{min-width:100%}.audit-record{grid-template-columns:1fr}.audit-record small{grid-column:auto}}
