@font-face{font-family:Noto;src:url('/noto-cyrillic.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0400-052F,U+2DE0-2DFF,U+A640-A69F,U+2116}
@font-face{font-family:Noto;src:url('/noto-latin.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Noto;src:url('/noto-cyrillic-600.woff2') format('woff2');font-style:normal;font-weight:600 800;font-display:swap;unicode-range:U+0400-052F,U+2DE0-2DFF,U+A640-A69F,U+2116}
@font-face{font-family:Noto;src:url('/noto-latin-600.woff2') format('woff2');font-style:normal;font-weight:600 800;font-display:swap}
:root{--radius:8px;--sidebar:228px;--shadow:0 20px 70px #20324824}
[hidden]{display:none!important}
.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}.profile .notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:9px;border-radius:8px;color:var(--ink);flex-shrink:0}.notification-bell>.icon{width:20px;height:20px;transform-origin:50% 12%}.profile .notification-count{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;min-width:17px;height:17px;border-radius:50%;padding:0 4px;background:#b6402d;color:#fff;font-size:9px;font-weight:600;line-height:1}.notification-bell.is-ringing>.icon{animation:notification-ring .65s ease-in-out 2}.notification-bell.is-ringing>.notification-count{animation:notification-badge .25s ease-out}.notifications-dialog .dialog-body{padding-top:0}.notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 0;border-bottom:1px solid var(--line);font-size:12px}.notification-toolbar button{font-size:11px;min-height:32px;padding:5px 8px}.notification-new{width:100%;margin:14px 0 0;white-space:normal;text-align:left;justify-content:flex-start;font-weight:400}.notification-item{padding:21px 0;border-bottom:1px solid var(--line)}.notification-item:last-child{border-bottom:0}.notification-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:12px;font-size:11px;color:var(--muted)}.notification-meta>div{min-width:0;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.notification-meta strong{font-weight:600;color:var(--ink)}.notification-meta time{flex-shrink:0;font-size:10px}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.notification-heading h3{font-size:15px}.notification-state{font-size:10px;color:var(--muted);flex-shrink:0}.is-unread .notification-state{background:var(--pale);color:var(--accent);padding:3px 7px;border-radius:4px;font-weight:600}.notification-product{margin-top:4px;font-size:12px;font-weight:600;overflow-wrap:anywhere}.notification-product>span{color:var(--muted);font-weight:400;font-size:10px}.notification-kind{font-size:10px;color:var(--muted);margin-top:4px}.notification-values{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.notification-values>div{background:#f1f5f8;padding:10px 12px;border-radius:6px;min-width:0}.notification-values>div>span{font-size:10px;color:var(--muted)}.notification-values p{margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:135px;overflow:auto;font-size:12px}.notification-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.notification-actions button{font-size:11px;min-height:32px;padding:5px 9px;font-weight:400}.notification-note{font-size:12px;color:var(--muted);margin-top:12px}.notification-empty{padding:55px 20px;text-align:center}.notification-empty>.icon{width:32px;height:32px;color:#758498;margin-bottom:12px}.notification-empty h3{font-size:16px}.notification-empty p{font-size:12px;color:var(--muted);max-width:360px;margin:8px auto 0}.notification-more{margin:15px auto 0;display:flex;font-size:12px}.notification-footer-note{font-size:10px;color:var(--muted);margin-right:auto;max-width:410px}@keyframes notification-ring{0%,100%{transform:rotate(0)}15%,45%{transform:rotate(-14deg)}30%,60%{transform:rotate(14deg)}75%{transform:rotate(-6deg)}}@keyframes notification-badge{from{transform:scale(.75)}to{transform:scale(1)}}@media(max-width:760px){.notification-meta{flex-direction:column;gap:5px}.notification-values{grid-template-columns:1fr}.notification-actions{gap:6px}.notification-actions button{font-size:10px}.notification-footer-note{max-width:190px}.notifications-dialog .dialog-foot{align-items:center}.notification-toolbar{gap:8px}.notification-product>span{display:block;margin-top:3px}.profile .notification-bell{min-width:36px;min-height:36px;padding:8px}}@media(prefers-reduced-motion:reduce){.notification-bell.is-ringing>.icon,.notification-bell.is-ringing>.notification-count{animation:none}}
.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:6px}.sidebar-header .brand{padding:0;min-width:0}.sidebar-toggle{padding:5px;min-width:28px;min-height:28px;flex-shrink:0}.sidebar nav{gap:4px}.sidebar nav button,.sidebar nav .wiki-link{line-height:1.15;padding-top:9px;padding-bottom:9px}.filter-chain{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 13px}.filter-chain-label{font-size:11px;color:var(--muted);margin-right:3px}.filter-chip{display:flex;align-items:center;max-width:100%;background:var(--pale);border-radius:6px}.filter-chip button{background:transparent;border:none;min-height:31px;font-size:11px;padding:5px 9px;font-weight:400}.filter-chip .filter-chip-label{display:block;min-width:0;max-width:370px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.filter-chip .filter-chip-remove{padding:5px;min-width:29px;flex-shrink:0}.filter-chip-remove .icon{width:13px;height:13px}.filter-chip button:hover{background:#d6e4f2}.reset-filters{font-size:11px;min-height:31px;color:var(--accent);padding:5px 9px}.bulk-preview-table{max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:7px}.bulk-preview-table td{white-space:pre-wrap;overflow-wrap:anywhere;max-width:250px}.bulk-preview-table th{position:sticky;top:0}.selection-bar{width:max-content;flex-wrap:wrap;justify-content:center}@media(min-width:761px){.shell.sidebar-collapsed{--sidebar:72px}.sidebar-collapsed .sidebar{padding-left:12px;padding-right:12px}.sidebar-collapsed .sidebar-header{flex-direction:column;gap:12px}.sidebar-collapsed .brand-word,.sidebar-collapsed .brand-note,.sidebar-collapsed .sidebar nav button span,.sidebar-collapsed .sidebar nav .wiki-link span,.sidebar-collapsed .demo-note,.sidebar-collapsed #connection-text{display:none}.sidebar-collapsed .sidebar nav button,.sidebar-collapsed .sidebar nav .wiki-link{justify-content:center;padding:10px}.sidebar-collapsed .sidebar nav button .icon,.sidebar-collapsed .sidebar nav .wiki-link .icon{width:20px;height:20px}.sidebar-collapsed .sidebar-bottom .live{justify-content:center;padding:16px 0 0}}@media(max-width:760px){.sidebar-toggle{display:none}.filter-chip .filter-chip-label{max-width:calc(100vw - 80px)}.selection-bar{width:calc(100vw - 24px);gap:8px;padding:9px}.selection-bar>span{width:100%;text-align:center}.selection-bar button{font-size:10px}}
.activity{position:fixed;top:72px;left:50%;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:11px;width:max-content;max-width:calc(100vw - 32px);padding:13px 18px;border-radius:9px;background:var(--paper);color:var(--ink);box-shadow:0 6px 24px #1f2d3f26;font-size:12px;font-weight:600;pointer-events:none}.throbber{display:inline-block;flex-shrink:0;width:20px;height:20px;border:2px solid #c8d5e4;border-top-color:var(--accent);border-radius:50%;animation:throbber-turn .75s linear infinite}.throbber.button-throbber{width:16px;height:16px;border-color:currentColor;border-right-color:transparent}.filter-values-note:has(.throbber){display:flex;align-items:center;gap:9px}.filter-values-note .throbber{width:15px;height:15px}button[aria-busy="true"]{cursor:progress}#app[aria-busy="true"]{cursor:progress}@keyframes throbber-turn{to{transform:rotate(360deg)}}@media(max-width:760px){.activity{top:12px;padding:11px 14px;font-size:11px}}@media(prefers-reduced-motion:reduce){.throbber{animation:none}}
.filter-value-wrap{position:relative;min-width:190px;max-width:340px;flex:1}.filter-value-wrap input{width:100%}.filter-values{position:absolute;top:calc(100% + 5px);left:0;right:0;max-height:280px;overflow:auto;z-index:10;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:5px;box-shadow:0 9px 24px #20324820}.filter-option{display:flex;justify-content:space-between;gap:12px;width:100%;padding:9px 10px;min-height:36px;border:0;border-radius:5px;font-size:12px;font-weight:400;text-align:left}.filter-option>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-option-count{flex-shrink:0;font-size:10px;color:var(--muted)}.filter-option.active,.filter-option:hover{background:var(--pale)}.filter-values-note{padding:11px 10px;font-size:11px;color:var(--muted)}
@media(max-width:760px){.filter-value-wrap{flex-basis:100%;max-width:none}}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Noto, sans-serif;font-size:13px;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus)}button{cursor:pointer;border:1px solid var(--line);background:var(--paper);border-radius:var(--radius);padding:9px 13px;display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap;min-height:38px;font-weight:600}button:hover{background:var(--hover-bg);border-color:var(--hover-border)}button:disabled{opacity:.48;cursor:not-allowed}button.primary{background:var(--accent);border-color:var(--accent);color:white}button.primary:hover{background:var(--accent-hover)}.quiet{background:transparent;border-color:transparent}.danger{color:var(--danger)}a{color:var(--accent);text-underline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;letter-spacing:-.025em;font-weight:600}h2{font-size:21px;letter-spacing:-.02em;font-weight:600}h3{font-size:15px;font-weight:600}.muted{color:var(--muted)}.small{font-size:11px}.mono{font-variant-numeric:tabular-nums;letter-spacing:.025em}.icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.loading-screen{display:grid;place-items:center;height:100dvh;color:var(--muted)}input,select,textarea{border:1px solid var(--control-border);background:var(--paper);padding:9px 11px;border-radius:6px;min-height:39px}input::placeholder,textarea::placeholder{color:#6b7681}input[type=checkbox]{appearance:none;width:16px;height:16px;min-height:16px;border:1px solid #b0bcc8;border-radius:4px;padding:0;cursor:pointer;vertical-align:middle;flex:none}input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8l3 3 5-6' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E")}textarea{resize:vertical;width:100%;min-height:110px}label{display:flex;flex-direction:column;gap:6px}::selection{background:#d0dff2;color:#22374e}*{scrollbar-color:#b6c4d4 #f4f6fb;scrollbar-width:thin}input,textarea{caret-color:var(--accent)}
.shell{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;background:var(--sidebar-bg);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 17px 17px;gap:30px}.brand{display:flex;align-items:center;gap:11px;padding:0 12px}.brand-symbol{width:31px;height:33px;display:grid;place-items:center;background:var(--accent);color:white;border-radius:7px}.brand-symbol .icon{width:21px;height:21px}.brand-word{font-size:23px;letter-spacing:-.05em;font-weight:600}.brand-note{padding-left:12px;color:var(--muted);font-size:11px;margin-top:-20px}nav{display:flex;flex-direction:column;gap:5px}.wiki-link{display:flex;align-items:center;min-height:38px;border:1px solid transparent;color:inherit;text-decoration:none}nav button,nav .wiki-link{justify-content:flex-start;white-space:normal;text-align:left;background:transparent;border-color:transparent;padding:11px 12px;gap:11px;font-size:12px;font-weight:400;border-radius:7px;line-height:1.4}nav button.active{background:var(--selected-bg);color:var(--selected-ink);font-weight:600}nav button:hover,nav .wiki-link:hover{background:#e0e8f4}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:15px}.demo-note{border-top:1px solid #cfdbe9;padding:16px 12px 0;font-size:11px;color:#4f6378}.demo-note strong{display:block;margin-bottom:5px;color:#3c516c;font-size:11px}.profile{display:flex;gap:9px;align-items:center;min-width:0;flex-shrink:0}.avatar{background:#d4e2f2;color:#375373;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;font-weight:600}.profile button{padding:0;min-height:auto;font-size:11px;display:block;background:none;border:none;text-align:left;white-space:normal}.profile span{font-size:10px;color:var(--muted)}.profile .logout{margin-left:4px;padding:9px;min-width:36px;min-height:36px}.profile-info{min-width:0}.profile .profile-name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-weight:600}.profile .profile-role{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-bottom .live{border-top:1px solid #cfdbe9;padding:16px 7px 0;font-size:11px;color:var(--muted);line-height:1.5}.live-dot{flex-shrink:0}.breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace{min-width:0}.topbar{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);background:#ffffffa0;color:var(--muted);font-size:11px}.live{display:flex;gap:8px;align-items:center}.live-dot{width:6px;height:6px;background:#46709e;border-radius:100%}.live.off .live-dot{background:#a35f26}.page{padding:32px 32px 22px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading p{color:var(--muted);margin-top:8px;font-size:12px}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.count{font-size:13px;background:#e8edf4;padding:3px 8px;border-radius:5px;vertical-align:middle;margin-left:8px;letter-spacing:0}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:13px}.search{position:relative;min-width:200px;flex:1;max-width:400px}.search>.icon{position:absolute;left:11px;top:11px;color:var(--muted);width:17px;height:17px}.search input{padding-left:36px;width:100%;border-color:var(--line)}.toolbar select{max-width:210px;font-size:12px;min-width:150px}.toolbar>.push{margin-left:auto}.table-wrap{border:1px solid var(--line);border-radius:9px;background:white;overflow:auto;max-height:calc(100dvh - 300px);min-height:200px}.registry{border-collapse:separate;border-spacing:0;width:100%;white-space:nowrap;font-size:12px}.registry th,.registry td{padding:0 15px;border-bottom:1px solid #eceff5;text-align:left;min-width:145px;height:64px;max-width:280px}.registry th{background:#f5f9fc;height:51px;position:sticky;top:0;z-index:3;border-bottom:1px solid var(--line);font-weight:400;font-size:9px;line-height:1.25;color:#546373;white-space:normal}.registry th:not(:last-child),.registry td:not(:last-child){border-right:1px solid #ebeef3}
.registry th:first-child,.registry td:first-child{min-width:42px;width:42px;padding:0 12px;position:sticky;left:0;z-index:2;background:white}.registry th:first-child{z-index:5;background:#f5f9fc}.registry th:nth-child(2),.registry td:nth-child(2){position:sticky;left:41px;z-index:2;background:white;border-right:1px solid var(--line);min-width:270px;max-width:310px}.registry th:nth-child(2){z-index:4;background:#f5f9fc}.registry tr:hover td{background:#f6fbfe}.registry tr.selected td{background:#eff5fc}.registry tr.selected:hover td{background:#e8f0fc}.registry tr:last-child td{border-bottom:0}.th-inner{display:flex;align-items:center;gap:8px}.th-inner button{border:none;background:none;padding:0;min-height:28px;color:inherit;font-weight:400;white-space:normal;text-align:left}
.registry .column-label{display:block;max-inline-size:96px;overflow-wrap:break-word;text-wrap:balance}
.th-inner .sort-direction{flex:none}
.th-inner .icon{width:13px;height:13px}.product-title{background:none;border:none;padding:0;min-height:24px;white-space:normal;text-align:left;font-weight:600;font-size:12px;line-height:1.25;justify-content:flex-start;max-width:265px}.product-title:hover{background:none;text-decoration:underline}.product-secondary{font-size:10px;color:var(--muted);margin-top:4px}.cell-button{display:flex;background:none;border:1px solid transparent;min-height:30px;padding:4px 0;max-width:250px;text-align:left;font-weight:400;justify-content:flex-start;width:100%;color:inherit}.cell-button>span:first-child,.cell-text{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-button:hover{background:#eaf3fc;border:1px solid #c1d5eb;padding:4px 6px;margin-left:-6px}.cell-button .icon{margin-left:auto;width:12px;height:12px;color:#446d9c}.badge{display:inline-flex;padding:3px 7px;background:#eaf2fb;color:#426081;font-size:10px;border-radius:4px}.formula-indicator{font-size:10px;color:#4f6c8b;font-style:italic;padding-left:7px}.cell-error{color:#98602d;font-size:11px}.table-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;font-size:11px;color:var(--muted)}.pagination{display:flex;gap:6px;align-items:center}.pagination button{padding:5px 9px;min-height:29px;font-size:11px}.pagination select{min-height:29px;padding:4px 6px;font-size:11px}.legend{display:flex;gap:17px;margin-top:20px;color:var(--muted);font-size:10px}.legend>span{display:flex;align-items:center;gap:5px}.legend .icon{width:12px;height:12px}.selection-bar{position:fixed;bottom:23px;left:calc(var(--sidebar) + (100% - var(--sidebar))/2);transform:translateX(-50%);z-index:8;background:#324761;color:#fff;padding:9px 11px 9px 18px;border-radius:10px;display:flex;align-items:center;gap:18px;box-shadow:0 7px 22px #27384b2b;max-width:90vw;font-size:12px}.selection-bar button{background:#fff;color:#324761;border:none;min-height:32px;font-size:11px}.selection-bar .quiet{background:transparent;color:#fff;padding:5px}.empty{padding:65px 25px;text-align:center;background:white}.empty h3{margin-bottom:8px}.empty p{color:var(--muted);max-width:450px;margin:auto}.empty button{margin-top:15px}
.scrim{position:fixed;inset:0;background:#1c2b3c45;z-index:20;display:flex;align-items:center;justify-content:center;padding:24px}.dialog{background:var(--paper);border-radius:12px;width:550px;max-width:100%;max-height:calc(100dvh - 48px);overflow:auto;box-shadow:var(--shadow)}.dialog.wide{width:850px}.dialog.drawer{width:650px;height:100dvh;max-height:100dvh;border-radius:0;margin-left:auto}.scrim:has(.drawer){padding:0}.dialog-head{padding:23px 26px 17px;display:flex;align-items:start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:3}.dialog-head p{font-size:11px;color:var(--muted);margin-top:5px}.dialog-head>.quiet{padding:5px;min-height:28px}.dialog-body{padding:22px 26px}.dialog-foot{padding:16px 26px;display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid var(--line);position:sticky;bottom:0;background:#fff;z-index:3}.form-stack{display:flex;flex-direction:column;gap:17px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .full{grid-column:1/-1}.hint{font-size:11px;color:var(--muted);margin-top:5px}.inline-error{font-size:12px;color:var(--danger);white-space:pre-wrap}.notice{background:#eef4fc;border-radius:6px;padding:12px 14px;font-size:12px;color:#4c6078}.notice.warn{background:#fff5e6;color:#885a24}.choice{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);padding:15px;border-radius:8px;cursor:pointer}.choice:has(input:checked){border-color:#557599;background:#eef5fd}.choice input{margin-top:3px;min-height:auto}.choice strong{display:block;font-size:13px}.choice span{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.check-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f6;font-size:12px}.check-line label{display:flex;flex-direction:row;align-items:center;gap:9px}.detail-row{display:grid;grid-template-columns:180px 1fr;gap:18px;padding:12px 0;border-bottom:1px solid #edf0f6;align-items:start}.detail-label{font-size:11px;color:var(--muted)}.detail-value{font-size:12px;overflow-wrap:anywhere}.detail-value button{padding:0;background:none;min-height:22px;border-color:transparent;text-align:left;justify-content:flex-start;font-weight:400;white-space:normal}.detail-value img{max-width:170px;max-height:130px;display:block;border-radius:6px;margin:8px 0}.detail-value .meta{margin-top:5px;font-size:9px;color:var(--muted)}.drawer-actions{display:flex;gap:6px;margin-top:16px}.formula-help{font-size:11px;padding:13px;background:#f2f5fb;border-radius:6px;color:#4e6075}.formula-help code,.key{font-family:ui-monospace,monospace;font-size:11px;color:#436387}.formula-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.formula-tags button{font-size:10px;min-height:25px;padding:4px 7px;font-weight:400}.file-input{width:100%;padding:12px}.list-table{width:100%;border-collapse:collapse;background:white;border-radius:8px;overflow:hidden;font-size:12px}.list-table th{text-align:left;color:var(--muted);font-size:11px;font-weight:400;background:#f2f5fb}.list-table th,.list-table td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}.list-table td p{margin-top:4px}.list-table .actions{display:flex;gap:6px}.list-table button{font-size:11px;min-height:30px;padding:5px 8px}.access-table{width:100%;border-collapse:collapse;font-size:12px}.access-table th,.access-table td{padding:9px;border-bottom:1px solid var(--line);text-align:left}.access-table th{font-size:11px;color:var(--muted);font-weight:400;position:sticky;top:0;background:white}.access-table th:not(:first-child),.access-table td:not(:first-child){text-align:center;width:95px}.access-table .section-row{background:#f2f6fd;font-weight:600}.access-tools{display:flex;gap:7px;margin-bottom:14px;flex-wrap:wrap}.access-tools button{font-size:11px;padding:5px 9px;min-height:30px}.history-event{border-bottom:1px solid var(--line);padding:18px 0}.history-meta{display:flex;gap:12px;font-size:11px;color:var(--muted);margin-bottom:6px}.history-values{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:10px;font-size:11px}.history-values>div{padding:10px;background:var(--hover-bg);border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto}.history-values .old{background:#f8f2ef}.recipe-summary{display:flex;gap:30px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--line);margin-top:10px}.recipe-summary span{font-size:11px;color:var(--muted);display:block}.recipe-summary strong{font-size:19px;font-weight:600}.cardlist{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white}.cardlist-row{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}.cardlist-row:last-child{border-bottom:0}.cardlist-row p{font-size:11px;color:var(--muted);margin-top:6px}.cardlist-row button{font-size:12px}.top-gap{margin-top:20px}#toast{position:fixed;bottom:22px;right:25px;max-width:390px;background:#2a3a4f;color:#fff;border-radius:8px;font-size:12px;padding:13px 18px;z-index:100;box-shadow:0 8px 25px #1f2d3f20;display:none}#toast.show{display:block}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-story{background:#e7eff8;padding:60px;display:flex;flex-direction:column;justify-content:space-between}.login-story .brand{padding:0}.login-story h1{font-size:45px;line-height:1.23;max-width:500px;margin-bottom:24px}.login-story p{max-width:390px;font-size:15px;color:#54667e}.login-lines{margin-top:40px;display:flex;gap:15px}.login-lines span{height:5px;background:#98b6da;flex:1}.login-lines span:nth-child(2){background:#537aa6}.login-lines span:nth-child(3){background:#345276}.login-story footer{font-size:11px;color:#596e86}.login-main{display:flex;justify-content:center;align-items:center;padding:40px}.login-form{width:340px;display:flex;flex-direction:column;gap:21px}.login-form h2{font-size:26px}.login-form>p{color:var(--muted);font-size:12px;margin-top:-10px}.login-form>label{font-size:12px}.login-form input{padding:12px}.login-form button{margin-top:3px;min-height:45px}.login-form .hint{margin:0;font-size:11px}.spin{opacity:.55;pointer-events:none}
@media(min-width:1700px){.page{padding:38px 42px}.topbar{padding:0 42px}.registry th,.registry td{height:69px}}
@media(max-width:1100px){:root{--sidebar:195px}.page{padding:25px 20px}.topbar{padding:0 20px}.heading-actions{gap:5px}.page-heading{align-items:flex-start}h1{font-size:25px}.heading-actions button{font-size:11px;padding:8px 10px}.toolbar .push{margin-left:0}.table-wrap{max-height:calc(100dvh - 330px)}}
@media(max-width:760px){:root{--sidebar:0px}.shell{display:block}.sidebar{position:relative;width:100%;height:auto;padding:15px;gap:15px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0}.brand-note,.sidebar-bottom{display:none}nav{flex-direction:row;overflow:auto;gap:4px}nav button,nav .wiki-link{padding:8px;flex:none;font-size:11px;min-height:37px}nav button .icon,nav .wiki-link .icon{width:15px;height:15px}nav button span,nav .wiki-link span{max-width:140px}.topbar{height:41px;font-size:10px;padding:0 16px}.page{padding:23px 16px 80px}.page-heading{flex-direction:column;gap:16px;margin-bottom:20px}.heading-actions{width:100%;justify-content:flex-start}.heading-actions button{font-size:11px}.toolbar{gap:7px}.search{max-width:none;flex-basis:100%}.toolbar select{flex:1;min-width:110px;font-size:11px;max-width:none}.toolbar button{font-size:11px;padding:8px}.table-wrap{max-height:62dvh}.registry th:nth-child(2),.registry td:nth-child(2){min-width:210px;max-width:230px}.registry th,.registry td{padding:0 11px;min-width:130px;height:61px}.product-title{font-size:11px;max-width:190px}.selection-bar{bottom:15px;left:50%;gap:10px;font-size:10px;padding-left:10px;width:max-content}.selection-bar button{font-size:10px}.legend{flex-wrap:wrap;gap:10px}.table-bottom{flex-wrap:wrap;gap:10px}.scrim{padding:12px}.dialog-head{padding:18px}.dialog-body{padding:18px}.dialog-foot{padding:13px 18px}.dialog.drawer{width:100%}.detail-row{grid-template-columns:120px 1fr;gap:12px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.list-table th,.list-table td{padding:10px;font-size:11px}.list-table .actions{flex-wrap:wrap}.history-values{grid-template-columns:1fr}.recipe-summary{gap:20px}.cardlist-row{padding:15px;align-items:start;gap:10px}.cardlist-row h3{font-size:13px}.cardlist-row button{font-size:10px;padding:6px 8px}.login{grid-template-columns:1fr}.login-story{padding:25px;gap:30px}.login-story h1{font-size:31px}.login-story p{font-size:12px}.login-story footer,.login-lines{display:none}.login-main{padding:35px 25px}.login-form{width:100%;max-width:380px}.access-table th:not(:first-child),.access-table td:not(:first-child){width:70px}.access-table{font-size:11px}}

@media(max-width:760px){.sidebar-bottom{display:flex;margin-top:0;gap:0}.sidebar-bottom .demo-note{display:none}.sidebar-bottom .live{padding:8px 0 0;font-size:10px}.topbar{height:54px;gap:10px}.breadcrumb-prefix,.profile .avatar,.profile .profile-role{display:none}.profile{gap:6px}.profile .profile-name{max-width:32vw;font-size:11px}.profile .logout{min-width:40px;min-height:40px;margin-left:0}.breadcrumb{max-width:42%}}
@media(prefers-reduced-motion:no-preference){.dialog{animation:appear .18s cubic-bezier(.16,1,.3,1)}@keyframes appear{from{transform:translateY(8px);opacity:.6}to{transform:translateY(0);opacity:1}}}

.selection-summary{display:flex;flex-direction:column;gap:3px;min-width:0}.selection-summary>small{font-size:10px;line-height:1.4;color:#dde6f3}.selection-bar .selection-clear{white-space:nowrap}@media(max-width:760px){.selection-bar{width:calc(100vw - 24px);max-width:calc(100vw - 24px);flex-wrap:wrap;justify-content:center;gap:8px;padding:9px}.selection-bar>.selection-summary{width:100%;text-align:center;align-items:center}.selection-bar button{min-height:36px}.selection-summary>small{font-size:10px}}

.password-generator{display:grid;gap:8px}.password-generator>label{margin:0}.password-entry{display:flex;align-items:stretch;gap:8px}.password-entry input{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.password-entry button{flex-shrink:0;min-width:80px;font-size:11px;padding:7px 10px}.password-tools{display:flex;gap:8px;flex-wrap:wrap}.password-tools button{font-size:11px;min-height:36px;padding:7px 10px}.password-status{min-height:16px;font-size:11px;line-height:1.4;color:var(--accent);margin:0}@media(max-width:480px){.password-tools button{flex:1 1 auto}.password-entry button{min-width:72px;padding:7px 8px}}

.trash-policy{margin-bottom:18px}.lifecycle-note{margin-bottom:18px}.checkbox-label{display:flex!important;flex-direction:row!important;align-items:center;gap:9px}.checkbox-label input{width:16px;min-height:16px;height:16px;flex:none}.destructive{background:#a73526;color:#fff;border-color:#a73526}.destructive:hover{background:#8d281d}.dialog.drawer .dialog-foot{flex-wrap:wrap;justify-content:flex-start}.selection-bar{flex-direction:column;align-items:stretch;gap:9px;padding:11px 14px}.selection-head{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%}.selection-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.selection-bar .selection-danger{background:#fff0eb;color:#912d20}.selection-head .selection-clear{min-width:90px}.selection-head .selection-summary{text-align:left;align-items:flex-start}@media(max-width:760px){.selection-bar{gap:8px;padding:10px}.selection-head{gap:8px}.selection-head .selection-summary{width:auto;text-align:left;align-items:flex-start}.selection-summary>small{font-size:9px}.selection-actions button{flex:1 1 auto}.selection-head .selection-clear{min-width:80px}.dialog-foot{flex-wrap:wrap}}

.field-choices{display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0}
.field-choices legend{margin-bottom:12px}
.field-issues{margin:8px 0 0;padding-left:20px}
.field-issues li+li{margin-top:6px}
.choice-badges,.cell-button>.choice-badges:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:4px;white-space:normal}
.choice-badges .badge{white-space:normal;overflow-wrap:anywhere}
.handling-icon,.detail-value .handling-icon{display:block;width:27px;height:27px;object-fit:contain;flex-shrink:0;margin:0;border-radius:0}
.registry .handling-icon{width:20px;height:20px}
.field-choices .handling-icon{width:35px;height:35px}
.marketing-excerpt{display:block;max-width:230px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marketing-copy{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 8px}
.marketing-attachments{min-width:0}
.marketing-attachments input{width:100%}
.marketing-files{list-style:none;margin:8px 0;padding:0;display:grid;gap:6px;overflow-wrap:anywhere}
.marketing-files:empty{display:none}
.detail-value .marketing-files li{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.field-file-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.field-file-actions>*{max-width:100%}
.field-file-actions>span{overflow-wrap:anywhere}
.file-delete{flex:none;font-size:12px}
.file-delete:hover{color:var(--danger);border-color:var(--danger);background:#fff5f4}
.marketing-attachments li{display:flex;align-items:center;justify-content:space-between;gap:8px}
.marketing-attachments li button{flex:none}
.normative-doc-values,.cell-button>.normative-doc-values:first-child{display:grid;gap:3px;white-space:normal;overflow-wrap:anywhere}
.artwork-upload{border-top:1px solid var(--line);padding-top:10px}
.artwork-set{margin-top:12px}
.artwork-status,.cell-button>.artwork-status:first-child{white-space:normal}
.artwork-status[data-state="pending"]{color:#735322;background:#f1eadb}

.dialog.technology-card-dialog{width:1440px;max-width:96vw}
.dialog.logistics-card-dialog{width:1000px;max-width:96vw}
.logistics-form{display:grid;gap:16px}
.logistics-intro{display:flex;align-items:center;justify-content:space-between;gap:16px}
.logistics-intro p{margin:0;max-width:680px}
.logistics-intro button{flex:none}
.logistics-header{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:16px}
.logistics-header label{display:grid;gap:7px;margin:0;min-width:0;font-size:12px;color:var(--muted)}
.logistics-header input{width:100%;min-width:0;font-size:13px}
.logistics-header input:disabled{opacity:1;color:var(--ink);background:#f3f6fc}
.logistics-header input[aria-invalid="true"]{border-color:#b44242}
.logistics-card-dialog .dialog-foot{flex-wrap:wrap}
.logistics-card-dialog [data-logistics-state]{margin-right:auto}
.logistics-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px}
.logistics-label-col{width:28%}.logistics-value-col{width:27%}
.logistics-table th,.logistics-table td{text-align:left;vertical-align:top;padding:12px 10px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.logistics-table thead th{font-size:11px;color:var(--muted);font-weight:500}
.logistics-table tbody th{font-weight:500}
.logistics-table label{display:block;margin:0}
.logistics-value{display:flex;align-items:center;gap:8px;min-width:0}
.logistics-value input{width:100%;min-width:0;font-size:13px}
.logistics-value input:disabled{opacity:1;color:var(--ink);background:#f3f6fc}
.logistics-value input[aria-invalid="true"]{border-color:#b44242}
.logistics-value output{font-variant-numeric:tabular-nums;font-weight:600}
.logistics-value .muted{flex:none;font-size:12px}
.logistics-kilograms{display:block;margin-top:4px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.logistics-calculated{display:block;font-size:11px;color:var(--accent)}
.logistics-formula{display:block;margin:4px 0;font-size:11px;color:var(--muted);white-space:normal}
.logistics-table .hint{display:block;font-size:11px;line-height:1.5}
.logistics-note{margin:8px 0 0;font-size:11px;line-height:1.5;color:var(--ink)}
@media(max-width:640px){
 .logistics-intro{align-items:flex-start;flex-direction:column}
 .logistics-header{grid-template-columns:minmax(0,1fr)}
 .logistics-table,.logistics-table tbody,.logistics-table tr{display:block;width:100%}
 .logistics-table colgroup,.logistics-table thead{display:none}
 .logistics-table tbody tr{padding:12px 0;border-bottom:1px solid var(--line)}
 .logistics-table tbody th,.logistics-table td{display:block;padding:5px 0;border:0}
 .logistics-value input{max-width:100%}
}
.tech-form{display:grid;gap:20px}
.tech-form-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:25px;align-items:start}
.tech-form-column{display:grid;gap:23px;min-width:0}
.tech-section{border-top:1px solid var(--line);padding-top:6px}
.tech-section legend{font-size:14px;font-weight:650;padding-right:10px}
.tech-section.tech-accordion{min-width:0;border:0;padding:0}
.tech-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#f3f6fc;font-size:13px;font-weight:600;cursor:pointer;list-style:none}
.tech-accordion>summary::-webkit-details-marker{display:none}
.tech-accordion>summary:hover{background:var(--pale)}
.tech-accordion>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tech-accordion>summary .icon{flex:none;transition:transform 260ms cubic-bezier(.2,0,.2,1)}
.tech-accordion:not([open])>summary .icon,.tech-accordion.is-closing>summary .icon{transform:rotate(-90deg)}
.tech-accordion>.tech-section-content{padding:14px 0 0}
@media(prefers-reduced-motion:reduce){.tech-accordion>summary .icon{transition:none}}
.tech-section label,.tech-section input,.tech-section textarea{min-width:0}
.tech-section input[readonly],.tech-section textarea[readonly]{background:#f5f8fa}
.tech-group{min-width:0}
.tech-group h4{margin:3px 0 6px;font-size:12px}
.tech-section>[data-tech-calc]{min-width:0}
.tech-table-scroll{max-width:100%;overflow-x:auto}
.tech-ingredients{border-collapse:collapse;width:100%;min-width:950px;table-layout:fixed}
.tech-ingredients th{text-align:left;color:var(--muted);font-size:10px;font-weight:500}
.tech-ingredients td,.tech-ingredients th{padding:5px;border:1px solid var(--line);white-space:normal;vertical-align:middle}
.tech-ingredients thead th{width:104px;background:#f1f5fa;position:static}
.tech-ingredients thead th:first-child{width:270px}
.tech-ingredients thead th:last-child:has(.sr-only){width:42px}
.tech-ingredients td:first-child,.tech-ingredients th:first-child{position:static}
.tech-ingredients tbody th{font-size:12px;color:var(--ink);text-align:left;font-weight:600}
.tech-ingredients output{display:block;font-size:12px;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tech-ingredients .tech-group-heading th{background:#edf3fb;padding:8px;font-size:12px}
.tech-total{background:#f6f8fb;font-weight:600}
.tech-yield{background:#fffbea}
.tech-negative,.tech-ingredients .tech-negative{color:#b42318;font-weight:650}
.tech-batch-title{display:flex;align-items:center;justify-content:space-between;min-height:30px;gap:3px}
.tech-batch-title button{padding:3px;min-height:24px}
.tech-batch-title svg{width:13px;height:13px}
.tech-calc-footer,.tech-template-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:10px}
.tech-include{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:400;margin-top:5px}
.tech-ingredients .tech-include input{width:14px;height:14px;min-height:14px;margin:0}
.tech-template-actions{margin:0}
.tech-template-actions .hint{flex-basis:100%}
.tech-section>label{display:grid;gap:6px;margin-bottom:16px}
.tech-ingredients input,.tech-amount-row input{width:100%;padding:5px 6px;min-height:32px}
.tech-ingredients [data-tech-remove]{padding:4px;min-height:30px}
.tech-add-row{margin:4px 0;padding:4px 0;min-height:29px}
.tech-amount-row{display:grid;grid-template-columns:minmax(0,1fr) 74px 74px;gap:6px;align-items:center;font-size:11px}
.tech-amount-head{color:var(--muted);font-size:10px}
.tech-save-state{margin-right:auto}
.tech-pdf-actions{display:flex;flex-wrap:wrap;gap:8px}
.tech-doc-link{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 9px;border:1px solid var(--line);border-radius:6px;text-decoration:none;color:var(--ink);font-size:12px}
.tech-doc-link:hover{background:#ecf3fb}
@media(max-width:780px){.tech-form-grid{grid-template-columns:minmax(0,1fr);gap:24px}.tech-save-state{width:100%}}
.nutrition-values{display:grid;grid-template-columns:repeat(2,minmax(max-content,1fr));gap:2px 10px;font-size:11px;white-space:nowrap}
.nutrition-values.nutrition-full{grid-template-columns:1fr;white-space:normal;gap:3px}
.nutrition-values:not(.nutrition-full) .nutrition-kj{display:block}
.nutrition-editor td,.nutrition-editor th{padding:8px 7px}
.nutrition-editor input{width:108px;max-width:100%}
@media(max-width:420px){.nutrition-editor td,.nutrition-editor th{padding:7px 4px}.nutrition-editor input{width:72px}}
.nutrient-preview{gap:6px}
.nutrient-table-scroll{overflow-x:auto}
.nutrient-table{table-layout:fixed;min-width:560px}
.nutrient-table-confirmed{min-width:690px}
.nutrient-table th:first-child{width:29%}
.nutrient-table td{overflow-wrap:anywhere}
.nutrient-table input{width:100%;min-width:0}
.nutrient-content-input{display:grid;grid-template-columns:minmax(0,1fr) 50px;gap:4px}
.nutrient-content-input [data-nutrient-column="unit"]{padding-inline:5px}
.nutrient-actions{display:flex;gap:8px;flex-wrap:wrap}
.nutrient-table th:last-child:empty{width:45px}
.nutrient-table td,.nutrient-table th{padding:8px}
.nutrient-table td:last-child button{padding:4px}
.nutrient-report-title{margin:0 0 8px;font-size:14px}
.protocol-file{display:inline-flex;max-width:100%;align-items:center;gap:8px;text-align:left}
.protocol-file-type{display:inline-flex;align-items:center;gap:4px;flex:none;font-size:10px;font-weight:600}
.protocol-file-name{overflow-wrap:anywhere}
.protocol-preview-image{display:block;max-width:100%;max-height:65dvh;margin:auto;object-fit:contain}
.protocol-pdf-pages{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:8px}
.protocol-pdf-pages[hidden],.protocol-pdf-viewport canvas[hidden]{display:none}
.protocol-pdf-viewport{max-height:62dvh;overflow:auto;background:var(--pale)}
.protocol-pdf-viewport canvas{display:block;max-width:100%;height:auto;margin:auto}
.field-order-group{margin-top:18px}
.field-order-group h2{margin:0 0 8px;font-size:16px}
.field-order-group .list-table{border-collapse:separate;border-spacing:0;overflow:visible}
.field-order-group .list-table thead th{position:sticky;top:0;z-index:1}
.field-order-group .list-table tbody th{font-weight:600;white-space:normal}
.field-order-controls{display:flex;align-items:center;gap:3px;width:max-content}
.field-order-controls button,.field-order-grip{display:grid;place-items:center;min-height:29px;padding:3px 5px}
.field-order-grip[draggable="true"]{cursor:grab}
.field-order-grip[draggable="false"]{opacity:.35}
.field-dragging{opacity:.55}
.field-drop-before>*{box-shadow:inset 0 2px var(--accent)}
.field-drop-after>*{box-shadow:inset 0 -2px var(--accent)}
.dialog.drawer[data-product-id]{width:calc(100% - clamp(40px,7vw,112px))}
@media(max-width:760px){.dialog.drawer[data-product-id]{width:100%}}
.certification-mark{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid var(--line);border-radius:5px;background:var(--pale);color:var(--accent)}
.certification-mark svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.product-section+.product-section{margin-top:14px}
.product-section>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#f3f6fc;font-size:13px;font-weight:600;cursor:pointer;list-style:none}
.product-section>summary::-webkit-details-marker{display:none}
.product-section>summary:hover{background:var(--pale)}
.product-section>summary .icon{transition:transform 260ms cubic-bezier(.2,0,.2,1)}
.product-section:not([open])>summary .icon,.product-section.is-closing>summary .icon{transform:rotate(-90deg)}
.product-section-content{display:flow-root}
.product-section-empty{padding:16px 12px;font-size:12px;color:var(--muted);line-height:1.5}
.product-details-columns{display:grid;gap:14px}
.product-details-column{min-width:0}
.product-details-column .detail-row{grid-template-columns:min(160px,32%) minmax(0,1fr) min(112px,25%);gap:12px}
.product-details-column .detail-label{overflow-wrap:anywhere}
.detail-audit{min-width:0;color:var(--muted);text-align:right;font-size:9px;line-height:1.3}
.detail-audit>span,.detail-audit>time{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cell-suggestions{position:static;max-height:215px;box-shadow:none}
.preset-list{padding:4px}
.preset-list option{padding:5px 8px}
@media (max-width:760px){
 .product-details-column .detail-row{grid-template-columns:min(120px,30%) minmax(0,1fr) min(100px,26%);gap:8px}
}
/* Reflow whole groups in reading order when the viewport becomes narrow or low. */
@media (min-width:1100px) and (min-height:560px){
 .product-details-columns{
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:24px;
  align-items:start;
 }
 .product-details-column:only-child{grid-column:1/-1}
}
@media (prefers-reduced-motion:reduce){.product-section>summary .icon{transition:none}}

.excel-file{max-width:100%;min-width:0;text-align:left}
.excel-original{display:flex;align-items:center;gap:12px;flex-wrap:wrap;overflow-wrap:anywhere}
.excel-original a{margin-left:auto}
.excel-upload{margin:20px 0 24px;padding:16px;border:1px solid var(--line);border-radius:8px}
.excel-upload button{align-self:flex-start}


/* Field group headings and the accumulated navigation rail share table geometry. */
.registry-stage{position:relative;--registry-frozen-width:312px;--group-tab-width:16px;--group-rail-width:0px;--group-line:#b6c8dd}
/* Fit short tables to their rows; keep scrolling tables usable in low windows. */
.registry-stage .table-wrap{min-height:0;max-height:max(200px,calc(100dvh - 300px))}
@media(max-width:1100px){.registry-stage .table-wrap{max-height:max(200px,calc(100dvh - 330px))}}
@media(max-width:760px){.registry-stage .table-wrap{max-height:max(200px,62dvh)}}
.has-field-groups .column-headings>th{top:22px}
.registry .group-headings>th{height:22px;min-width:0;max-width:none;width:auto;padding:0 10px;border-left:2px solid var(--group-line);border-bottom:1px solid var(--line);position:sticky;left:auto;top:0;z-index:6;background:#edf3fa;font-size:9px;line-height:1;white-space:nowrap}
.registry .group-headings>.group-pinned-space{left:0;z-index:8;border-left:0;padding:0;background:#f5f9fc}
.registry .group-headings>th:last-child{border-left:0}
.registry .group-headings button{position:sticky;left:calc(var(--registry-frozen-width) + var(--group-rail-width) + 10px);padding:0 3px;min-height:21px;max-width:100%;border:0;border-radius:2px;background:transparent;font-size:9px;line-height:1;font-weight:500;color:#486382}
.registry .group-headings button:hover{background:#dce8f6}
.registry .field-group-start{border-left:2px solid var(--group-line)}
.group-tab-rail{position:absolute;top:1px;left:calc(var(--registry-frozen-width) + 1px);z-index:9;display:flex;flex-direction:row;align-items:stretch;gap:0;padding:0;margin:0;max-width:calc(100% - var(--registry-frozen-width) - 1px);overflow:hidden;background:#eaf1f9;box-shadow:3px 0 5px #273c5412}
.group-tab-rail button{display:flex;align-items:center;justify-content:center;flex:0 0 var(--group-tab-width);width:var(--group-tab-width);min-width:0;min-height:0;max-height:100%;padding:4px 0;border:0;border-left:2px solid var(--group-line);border-radius:0;background:#eaf1f9;color:#405e80;font-size:8px;font-weight:500;line-height:1;overflow:hidden;white-space:nowrap}
.group-tab-rail button:hover{background:#d5e4f7;color:#233f63}
.group-tab-rail button:focus-visible{outline:2px solid var(--focus);outline-offset:-3px;background:#d5e4f7}
.group-tab-rail button span{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;max-height:100%;overflow:hidden;text-overflow:ellipsis}
.group-tab-rail[hidden],.group-tab-rail button[hidden]{display:none}
.normative-doc-compact{display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.normative-doc-compact button{min-height:23px;padding:1px 3px;gap:8px;font-size:11px;font-weight:400;line-height:1.3;white-space:nowrap}
.normative-doc-compact .icon{width:15px;height:15px}
.normative-document-number{font-size:16px;overflow-wrap:anywhere;user-select:text}
.nutrition-grid-value{display:flex;flex-direction:column;gap:2px;font-size:11px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums}
.registry .excel-file{gap:5px;padding:5px 3px;min-height:30px;font-size:11px;font-weight:400;white-space:nowrap}
.registry .excel-file .protocol-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.registry .excel-file>.icon{width:15px;height:15px}
.excel-file-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-left:auto}
.excel-file-actions a{display:inline-flex;align-items:center;gap:7px;margin-left:0;padding:8px 12px;border:1px solid var(--line);border-radius:6px;min-height:38px;text-decoration:none;font-weight:600;font-size:12px}
.excel-file-actions a:hover{background:var(--pale)}
@media(max-width:600px){.registry .column-headings>th:nth-child(2),.registry tbody td:nth-child(2){min-width:168px;max-width:190px}.registry .product-title{max-width:152px}}
.registry-stage .column-headings>th:nth-child(2),.registry-stage tbody td:nth-child(2){left:var(--registry-selection-width,41px)}
.photo-field-actions{display:inline-flex;align-items:center;gap:6px}
.photo-field-actions button{min-width:32px;min-height:32px;padding:5px}
.photo-field-actions .icon{width:18px;height:18px}
.photo-preview-image[hidden]{display:none}
.photo-preview-image{display:block;max-width:100%;max-height:65dvh;margin:auto;object-fit:contain}
@media(max-width:760px){
 .registry-stage .column-headings>th:nth-child(2){left:auto;z-index:3}
 .registry-stage tbody td:nth-child(2){position:static;left:auto;z-index:auto}
 .registry-stage .group-headings>.group-pinned-space{position:static}
}
.registry .group-headings>.is-folded>button{visibility:hidden}
.registry .artwork-status{font-size:10px;white-space:nowrap}
@media print{
 .product-id{display:none!important}
}

.admin-tabs{display:flex;gap:8px;margin:0 0 20px;border-bottom:1px solid var(--line);padding-bottom:12px}.admin-tabs [aria-selected="true"]{background:var(--accent);color:#fff}.role-help{max-width:850px;margin:0 0 20px;color:var(--muted)}.role-list td{vertical-align:top}.role-permission{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}.role-permission input{width:auto}.role-list+.hint{margin-top:16px}
