.ui-feedback-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid var(--line,#d4e1e5);border-radius:12px;color:var(--text,#173f4d);background:var(--surface,#fff);box-shadow:0 18px 48px #173f4d26;overflow:auto}.ui-feedback-dialog::backdrop{background:#102e3d66}.ui-feedback-dialog h2{margin:0;font-size:20px;line-height:1.4}.ui-feedback-dialog p{margin:16px 0 24px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.ui-feedback-dialog label{display:block;margin-bottom:8px;font-size:14px}.ui-feedback-dialog input{box-sizing:border-box;width:100%;height:42px;padding:8px 12px;border:1px solid #a9c4ce;border-radius:6px;font:inherit;color:inherit;background:#fff}.ui-feedback-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.ui-feedback-dialog button{min-height:40px;padding:8px 18px;border:1px solid #d4e1e5;border-radius:6px;font:inherit;color:inherit;background:#fff;cursor:pointer}.ui-feedback-dialog button.primary{background:#0e7975;border-color:#0e7975;color:#fff}.ui-feedback-dialog :focus-visible{outline:2px solid #0e7975;outline-offset:2px}.ui-feedback-dialog .ui-feedback-error{margin:8px 0;color:#b3261e}.ui-feedback-toast{position:fixed;z-index:10000;bottom:28px;left:50%;transform:translate(-50%);max-width:calc(100vw - 32px);padding:10px 18px;border-radius:6px;background:#173f4d;color:#fff;font-size:14px;box-shadow:0 6px 20px #173f4d26;pointer-events:none}:root{color:#17212b;background:#f5f7f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #f5f7f8;--surface: #ffffff;--surface-strong: #f9fbfb;--text: #17212b;--muted: #60717d;--subtle: #dbe3e7;--line: #d7e0e4;--primary: #0f766e;--primary-dark: #0b5f59;--primary-soft: #e4f4f2;--blue: #2563eb;--amber: #b45309;--amber-soft: #fff4df;--red: #be123c;--red-soft: #ffe7ed;--green: #15803d;--green-soft: #e8f6ee;--slate-soft: #eef3f5;--shadow: 0 18px 48px rgba(16, 35, 45, .12);--scrollbar-thumb: rgba(15, 118, 110, .26);--scrollbar-thumb-hover: rgba(15, 118, 110, .46)}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{min-width:44px;min-height:44px;border:2px solid transparent;border-radius:999px;background:var(--scrollbar-thumb);background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:padding-box}*::-webkit-scrollbar-button{display:none;width:0;height:0}*::-webkit-scrollbar-corner{background:transparent}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden;background:linear-gradient(180deg,#ffffffd1,#f5f7f8fa),var(--bg)}body.standalone-page{overflow:auto}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(15,118,110,.28);outline-offset:2px}.app-shell{display:grid;grid-template-columns:320px minmax(0,1fr);height:100vh;min-height:100vh;overflow:hidden;transition:grid-template-columns .22s ease}.sidebar{display:flex;flex-direction:column;gap:18px;min-height:0;border-right:1px solid var(--line);background:#ffffffeb;padding:22px 18px 14px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}.customer-sidebar{gap:16px;transition:padding .22s ease}.sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.sidebar-brand-row .brand,.brand-copy{min-width:0}.sidebar-toggle{display:inline-grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:1px solid var(--line);border-radius:7px;background:var(--surface-strong);color:var(--muted);padding:0;transition:border-color .16s ease,background .16s ease,color .16s ease}.sidebar-toggle:hover{border-color:#8ac6bd;background:var(--primary-soft);color:var(--primary-dark)}.nav-list{display:grid;gap:18px;padding-top:14px}.nav-section{display:grid;gap:3px}.nav-section-title{display:flex;align-items:center;gap:10px;margin:0 0 5px;color:var(--muted);padding:0 10px 4px;font-size:.76rem;font-weight:750;letter-spacing:.02em;white-space:nowrap}.nav-section-title:after{width:100%;height:1px;flex:1 1 auto;background:#e1e8ea;content:""}.nav-item{display:grid;min-height:48px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text);padding:8px 10px;text-align:left;transition:background .16s ease,color .16s ease}.nav-item svg{color:#4b6270}.nav-item span{font-weight:760}.nav-item strong{min-width:28px;border-radius:999px;background:#f1f4f5;color:var(--muted);padding:2px 7px;font-size:.78rem;text-align:center}.nav-item:hover,.nav-item.active{border-color:transparent;background:#f1f8f7}.nav-item.active{box-shadow:inset 3px 0 0 var(--primary);color:var(--primary-dark)}.nav-item.active svg{color:var(--primary)}.nav-item.active strong{background:#e4f4f2;color:var(--primary-dark)}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;width:52px;height:52px;place-items:center;border:1px solid #b7d9d5;border-radius:8px;color:var(--primary);background:var(--primary-soft)}.brand h1,.workspace-header h2,.modal-header h2{margin:0;color:var(--text);font-size:1.36rem;line-height:1.2}.eyebrow{margin:0 0 4px;color:var(--muted);font-size:.75rem;font-weight:700;text-transform:uppercase}.collection-form{display:grid;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}.sidebar-settings-entry{margin-top:auto;border-top:1px solid var(--line);padding-top:12px}.sidebar-settings-entry .nav-item{width:100%}.sidebar-account-menu{position:relative;margin-top:8px}.sidebar-account-menu>summary{display:grid;min-height:48px;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:8px;border-radius:10px;color:var(--text);cursor:pointer;list-style:none}.sidebar-account-menu>summary::-webkit-details-marker{display:none}.sidebar-account-menu>summary:hover{background:var(--primary-soft)}.sidebar-account-menu>summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sidebar-account-menu>summary img,.sidebar-account-avatar{width:32px;height:32px;border-radius:50%}.sidebar-account-menu>summary img{object-fit:cover}.sidebar-account-avatar{display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-weight:750}.sidebar-account-name{overflow:hidden;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.sidebar-account-chevron{transition:transform .16s ease}.sidebar-account-menu[open] .sidebar-account-chevron{transform:rotate(90deg)}.sidebar-account-popover{position:absolute;z-index:50;right:0;bottom:calc(100% + 8px);left:0;display:grid;gap:4px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 14px 32px #12313a1f}.sidebar-account-popover .nav-item{display:flex;align-items:center;justify-content:flex-start;min-height:42px;padding:9px 12px}.sidebar-account-popover a{text-decoration:none}.sidebar-account-popover .notification-bell{width:100%;justify-content:flex-start;border:0;border-radius:8px}.contract-intake-motion-shell{position:relative;width:100%;min-height:44px;isolation:isolate;will-change:transform,opacity}.contract-intake-motion-shell .contract-intake-entry{position:relative;z-index:1}@media(min-width:1101px){.app-shell.sidebar-collapsed{grid-template-columns:80px minmax(0,1fr)}.sidebar-collapsed .customer-sidebar{gap:14px;padding:22px 12px 14px;scrollbar-gutter:auto}.sidebar-collapsed .sidebar-brand-row{flex-direction:column;gap:10px}.sidebar-collapsed .brand{justify-content:center}.sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-section-title,.sidebar-collapsed .nav-item span,.sidebar-collapsed .nav-item strong,.sidebar-collapsed .contract-intake-entry span{display:none}.sidebar-collapsed .brand-mark{width:44px;height:44px}.sidebar-collapsed .sidebar-toggle{width:44px;height:32px;flex-basis:32px}.sidebar-collapsed .nav-list{gap:10px;padding-top:12px}.sidebar-collapsed .nav-section{gap:5px}.sidebar-collapsed .nav-tools-section{border-top:1px solid var(--line);padding-top:10px}.sidebar-collapsed .nav-item{width:44px;min-height:44px;grid-template-columns:1fr;place-items:center;gap:0;margin:0 auto;padding:0}.sidebar-collapsed .contract-intake-entry{width:44px;min-height:44px;justify-content:center;margin:0 auto;padding:0}.sidebar-collapsed .contract-intake-motion-shell{width:44px;margin:0 auto}.sidebar-collapsed .sidebar-settings-entry{padding-top:10px}.sidebar-collapsed .sidebar-settings-entry .nav-item{width:44px;min-height:44px;margin:0 auto}.sidebar-collapsed .sidebar-account-menu>summary{width:44px;grid-template-columns:32px;justify-content:center;margin:0 auto;padding:6px}.sidebar-collapsed .sidebar-account-name,.sidebar-collapsed .sidebar-account-chevron{display:none}.sidebar-collapsed .sidebar-account-popover{bottom:0;left:54px;right:auto;width:210px}}.form-row,.field,.select-control{display:grid;gap:7px}.form-row label,.field span,.select-control span,.search-control label{color:#31424d;font-size:.82rem;font-weight:700}input,select,textarea{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:10px 12px}textarea{resize:vertical}.accent-picker{display:flex;gap:8px}.accent-button{width:32px;height:32px;min-height:32px;border:2px solid transparent;border-radius:999px;background:var(--accent)}.accent-button.active{border-color:#111827;box-shadow:0 0 0 3px #1118271a}.button,.icon-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:10px 14px;font-weight:750;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.button span{white-space:nowrap}.button:hover:not(:disabled),.icon-button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{background:var(--primary);color:#fff}.button.primary:hover:not(:disabled){background:var(--primary-dark)}.button.secondary{border-color:#b7d9d5;background:var(--primary-soft);color:var(--primary-dark)}.button.ghost{border-color:var(--line);background:#fff;color:#33434d}.button.compact{min-height:34px;padding:7px 10px;font-size:.82rem}.button.full{width:100%}.danger-action{color:var(--red)}.collection-list{display:grid;gap:8px;min-height:0;overflow:auto}.collection-item{display:grid;min-height:48px;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text);padding:10px;text-align:left}.collection-item:hover,.collection-item.active{border-color:#bdd7d4;background:var(--primary-soft)}.collection-dot{width:10px;height:10px;border-radius:999px}.collection-name{overflow:hidden;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.collection-count{min-width:28px;border-radius:999px;background:#fffc;color:var(--muted);padding:2px 7px;font-size:.78rem;font-weight:800;text-align:center}.workspace{display:flex;min-width:0;min-height:0;flex-direction:column;gap:20px;overflow:hidden;padding:28px}.business-workspace{transition:gap .22s ease}.business-workspace.is-settings-workspace{display:grid;grid-template-rows:auto minmax(0,1fr)}.business-workspace.is-settings-workspace .system-settings-page{min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:8px;padding-bottom:28px;overscroll-behavior:contain;scrollbar-gutter:stable}.business-workspace.is-documents-workspace{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:20px}.business-workspace.is-resource-pack-workbench{display:grid;grid-template-rows:auto minmax(0,1fr);gap:20px}.business-workspace.is-electronic-seal-workspace{display:block}.audit-filter-panel,.audit-list-panel{min-width:0;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft)}.audit-filter-panel{padding:16px}.audit-filter-form{display:grid;grid-template-columns:minmax(230px,1.5fr) repeat(3,minmax(130px,.72fr)) repeat(2,minmax(142px,.78fr)) auto;align-items:end;gap:12px}.audit-filter-form .field{min-width:0}.audit-filter-actions{display:flex;align-items:center;gap:8px;padding-bottom:1px}.audit-list-panel{min-height:0;overflow:auto}.audit-event-list{display:grid}.audit-event-card+.audit-event-card{border-top:1px solid var(--line)}.audit-event-card.expanded{background:#fbfcfd}.audit-event-summary{display:grid;width:100%;min-height:66px;grid-template-columns:24px 142px 74px minmax(180px,1.15fr) 86px 128px minmax(150px,1fr);align-items:center;gap:12px;border:0;border-radius:0;background:transparent;color:var(--ink);padding:12px 18px;text-align:left;transition:background-color .18s ease}.audit-event-summary:hover{background:#f4f7f8}.audit-event-summary:focus-visible{position:relative;z-index:1;outline:3px solid rgba(22,93,74,.22);outline-offset:-3px}.audit-expand-icon{display:inline-grid;color:var(--muted);place-items:center;transition:transform .18s ease}.audit-event-card.expanded .audit-expand-icon{transform:rotate(90deg)}.audit-event-time,.audit-source-label,.audit-change-summary{color:var(--muted);font-size:.82rem}.audit-event-time{font-variant-numeric:tabular-nums;white-space:nowrap}.audit-event-record{display:grid;min-width:0;gap:2px}.audit-event-record strong,.audit-event-record small,.audit-change-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-event-record strong{font-size:.9rem}.audit-event-record small{color:var(--muted)}.audit-source-label{color:#465966;font-weight:750}.audit-event-detail{border-top:1px solid var(--line);padding:6px 18px 16px 54px}.audit-change-list{display:grid}.audit-change-row{display:grid;grid-template-columns:minmax(130px,.55fr) minmax(180px,1fr) 24px minmax(180px,1fr);align-items:center;gap:12px;min-height:48px;border-bottom:1px dashed #dfe6e9;font-size:.86rem}.audit-change-row:last-child{border-bottom:0}.audit-change-row>svg{color:#8a9aa3}.audit-value{min-width:0;overflow-wrap:anywhere;border-radius:8px;padding:7px 9px;white-space:pre-wrap}.audit-value.before{background:#fff1f0;color:#96352d}.audit-value.after{background:#eaf7f1;color:#176247}.audit-system-note{margin:12px 0;color:var(--muted)}.audit-event-meta{display:flex;flex-wrap:wrap;gap:6px 18px;border-top:1px solid var(--line);margin-top:8px;padding-top:12px;color:#6a7b85;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem}.audit-load-more{display:flex;justify-content:center;border-top:1px solid var(--line);padding:16px}@media(max-width:1440px){.audit-filter-form{grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(120px,1fr))}.audit-filter-actions{grid-column:3 / -1;justify-content:flex-end}.audit-event-summary{grid-template-columns:24px 138px 70px minmax(170px,1fr) 82px 116px}.audit-change-summary{display:none}}@media(max-width:900px){.audit-filter-panel,.audit-list-panel{margin-top:14px}.audit-list-panel{overflow:visible}.audit-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-search-field,.audit-filter-actions{grid-column:1 / -1}.audit-event-summary{grid-template-columns:24px minmax(0,1fr) auto;gap:8px 10px;padding:14px}.audit-event-time{grid-column:2;grid-row:2}.audit-event-summary>.status-chip.neutral{display:none}.audit-event-record{grid-column:2;grid-row:1}.audit-event-summary>.status-chip:not(.neutral){grid-column:3;grid-row:1}.audit-source-label{grid-column:3;grid-row:2;text-align:right}.audit-event-detail{padding:4px 14px 14px}.audit-change-row{grid-template-columns:1fr 24px 1fr;gap:8px;padding:10px 0}.audit-change-row strong{grid-column:1 / -1}}@media(max-width:560px){.audit-filter-form{grid-template-columns:1fr}.audit-filter-form>*,.audit-search-field,.audit-filter-actions{grid-column:1}.audit-filter-actions .button{flex:1}.audit-change-row{grid-template-columns:1fr}.audit-change-row>svg{transform:rotate(90deg);justify-self:center}}.business-workspace.is-documents-workspace .document-workspace,.business-workspace.is-resource-pack-workbench .document-workspace{min-height:0;height:100%}.workspace-header{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:18px;max-height:96px;overflow:hidden;transition:max-height .24s ease,opacity .22s ease,transform .22s ease,margin-bottom .22s ease}.workspace-header p{max-width:740px;margin:8px 0 0;color:var(--muted)}.header-actions,.row-actions,.modal-actions{display:flex;align-items:center;gap:10px}.icon-button{width:44px;padding:0;border-color:var(--line);background:#fff;color:#344450}.icon-button.small{width:38px;min-height:38px}.icon-button.danger{color:var(--red)}.sort-text{font-size:.76rem;font-weight:850}.metrics{display:grid;flex:0 0 auto;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;max-height:120px;overflow:hidden;transition:max-height .24s ease,opacity .2s ease,transform .24s ease,margin .24s ease}.metric{display:flex;align-items:center;gap:12px;min-height:94px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:16px;transition:min-height .24s ease,padding .24s ease,background-color .18s ease,border-color .18s ease}.metric svg{color:var(--primary);flex:0 0 auto;transition:transform .22s ease}.metric span{color:var(--muted);font-size:.84rem;font-weight:700}.metric strong{display:block;margin-top:4px;color:var(--text);font-size:1.5rem;line-height:1.1;transition:font-size .22s ease}.toolbar{display:grid;flex:0 0 auto;grid-template-columns:minmax(260px,1fr) 140px 140px 150px 52px auto;align-items:end;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:14px}.customer-toolbar{grid-template-columns:minmax(320px,1fr) 190px 0px}.customer-toolbar-primary{max-height:112px;overflow:hidden;transform-origin:center top;will-change:transform,opacity}.customer-table-section .section-heading>div:first-child{flex:0 0 112px}.customer-toolbar-dock{display:none;flex:1 1 auto;grid-template-columns:minmax(280px,1fr) 180px minmax(330px,auto);align-items:center;gap:10px;min-width:0;transform-origin:center top;will-change:transform,opacity}.customer-toolbar-dock .search-control{gap:0}.customer-toolbar-dock .search-control>svg{top:50%;bottom:auto;transform:translateY(-50%)}.customer-toolbar-dock input,.customer-toolbar-dock select,.customer-toolbar-dock .button{min-height:40px}.customer-toolbar-dock .toolbar-metrics{display:flex;justify-content:flex-end}.business-toolbar-primary{max-height:124px;overflow:hidden;transform-origin:center top;will-change:transform,opacity}.business-table-section .section-heading>div:first-child{flex:0 0 112px}.business-toolbar-dock{display:none;flex:1 1 auto;align-items:center;gap:9px;min-width:0;transform-origin:center top;will-change:transform,opacity}.business-toolbar-dock .search-control{gap:0}.business-toolbar-dock .search-control>svg{top:50%;bottom:auto;transform:translateY(-50%)}.business-toolbar-dock input,.business-toolbar-dock select,.business-toolbar-dock .button{min-height:40px}.business-toolbar-dock .toolbar-metrics{display:flex;justify-content:flex-end}.order-toolbar-dock,.device-toolbar-dock,.certificate-toolbar-dock{grid-template-columns:minmax(280px,1fr) 180px minmax(330px,auto)}@media(min-width:1280px){.customer-scroll-workspace.is-customer-toolbar-docked{gap:10px!important}.customer-scroll-workspace.is-customer-toolbar-docked .workspace-header{max-height:0!important;margin-bottom:-20px!important;opacity:0!important;visibility:hidden!important;transform:translateY(-18px) scale(.99)!important}.customer-scroll-workspace.is-customer-toolbar-docked .metrics{max-height:0!important;margin-block:-10px!important;opacity:0!important;visibility:hidden!important;transform:translateY(-16px)!important}.customer-scroll-workspace.is-customer-toolbar-docked .customer-toolbar-primary{max-height:0!important;padding-block:0!important;border-width:0!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(26px) scale(.985)!important}.customer-scroll-workspace.is-customer-toolbar-docked .customer-toolbar-dock{display:grid!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate(0) scale(1)!important}.customer-scroll-workspace.is-customer-toolbar-docked .customer-table-section{box-shadow:0 10px 26px #0f172a17!important}.managed-scroll-workspace.is-managed-toolbar-docked{gap:10px!important}.managed-scroll-workspace.is-managed-toolbar-docked .workspace-header{max-height:0!important;margin-bottom:-20px!important;opacity:0!important;visibility:hidden!important;transform:translateY(-18px) scale(.99)!important}.managed-scroll-workspace.is-managed-toolbar-docked .metrics{max-height:0!important;margin-block:-10px!important;opacity:0!important;visibility:hidden!important;transform:translateY(-16px)!important}.managed-scroll-workspace.is-managed-toolbar-docked .business-toolbar-primary{max-height:0!important;padding-block:0!important;border-width:0!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(26px) scale(.985)!important}.managed-scroll-workspace.is-managed-toolbar-docked .business-toolbar-dock{display:grid!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate(0) scale(1)!important}.managed-scroll-workspace.is-managed-toolbar-docked .business-table-section{box-shadow:0 10px 26px #0f172a17!important}}.order-toolbar,.device-toolbar,.certificate-toolbar{grid-template-columns:minmax(320px,1fr) 190px 0px}.toolbar-metrics{display:none;width:max-content;align-items:center;justify-self:end;gap:8px;min-width:max-content;white-space:nowrap}.import-panel{display:grid;flex:0 0 auto;gap:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:14px}.import-panel-main{display:flex;align-items:center;justify-content:space-between;gap:16px}.import-panel-copy{min-width:0}.import-panel-copy h3{margin:0;font-size:1rem}.import-panel-copy p:not(.eyebrow){margin:4px 0 0;color:var(--muted);font-size:.86rem}.import-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.import-actions .button,.import-actions .icon-button{min-height:38px}.import-file-input{display:none}.export-format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.export-format-card{display:grid;grid-template-columns:auto auto minmax(0,1fr);width:100%;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:inherit;font:inherit;padding:14px;text-align:left;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.export-format-card:hover,.export-format-card.selected{border-color:color-mix(in srgb,var(--primary) 45%,var(--line));box-shadow:0 12px 28px #0f172a14;transform:translateY(-1px)}.export-format-card input{width:16px;height:16px;accent-color:var(--primary)}.export-format-card svg{color:var(--primary)}.export-format-card span{display:grid;min-width:0;gap:4px}.export-format-card strong{color:var(--text);font-size:.96rem}.export-format-card em{color:var(--muted);font-size:.82rem;font-style:normal;line-height:1.4}.export-sync-panel{display:grid;gap:12px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px}.export-sync-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.export-sync-head strong{display:block;color:var(--text);font-size:.92rem}.export-sync-head p{margin:4px 0 0;overflow-wrap:anywhere;color:var(--muted);font-size:.82rem}.delete-confirm-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:20px}.delete-confirm-body svg{color:#b42318}.delete-confirm-body p{margin:0;color:var(--muted);line-height:1.65}.delete-confirm-body p+p{margin-top:8px}.delete-confirm-body strong{color:var(--text)}.delete-confirm-detail-list{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-strong)}.delete-confirm-detail-list div{min-width:0}.delete-confirm-detail-list dt{margin:0 0 3px;color:var(--muted);font-size:.72rem;font-weight:850}.delete-confirm-detail-list dd{margin:0;overflow:hidden;color:var(--text);font-size:.82rem;font-weight:850;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.delete-confirm-actions{border-top:1px solid var(--line);padding:0 20px 20px}.modal-backdrop.confirm-backdrop{align-items:center;justify-content:center;padding:20px}.delete-confirm-modal{width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:14px;background:var(--surface);box-shadow:0 24px 70px #0f172a47}.update-modal{width:min(640px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:14px;background:var(--surface);box-shadow:0 24px 70px #0f172a47}.system-risk-modal{max-width:540px}.system-risk-fields{display:grid;gap:18px}.system-risk-fields>p:first-child{margin:0;color:var(--muted);line-height:1.7}.system-risk-fields label{display:grid;gap:8px;font-weight:650}.system-risk-fields input{min-height:46px;width:100%;border:1px solid var(--line);border-radius:10px;padding:0 13px;background:var(--surface);color:var(--text);font:inherit}.system-risk-fields input:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 22%,transparent);border-color:var(--primary)}.delete-confirm-modal.is-replace{width:min(900px,100%)}.device-code-test-modal{width:min(820px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:14px;background:var(--surface);box-shadow:0 24px 70px #0f172a47}.device-code-test-modal-actions{justify-content:flex-end;border-top:1px solid var(--line);padding:14px 22px}.update-modal-body{display:grid;gap:14px;padding:20px}.update-status-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);padding:14px}.update-status-strip.available{border-color:#8ac6bd;background:var(--primary-soft)}.update-status-strip.failed{border-color:#f3b8c6;background:var(--red-soft)}.update-status-strip strong,.update-status-strip span{display:block}.update-status-strip strong{font-size:1rem}.update-status-strip span{margin-top:2px;color:var(--muted);font-size:.82rem;font-weight:800}.update-status-strip svg{flex:0 0 auto;color:var(--primary)}.update-version-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.update-version-grid div{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);padding:12px}.update-version-grid .span-2{grid-column:1 / -1}.update-version-grid dt{margin:0 0 4px;color:var(--muted);font-size:.76rem;font-weight:850}.update-version-grid dd{margin:0;overflow:hidden;color:var(--text);font-weight:850;text-overflow:ellipsis;white-space:nowrap}.update-alert{margin:0;border:1px solid #b7d9d5;border-radius:8px;background:var(--primary-soft);color:var(--primary-dark);padding:12px;font-size:.88rem;font-weight:750}.update-alert.error{border-color:#f3b8c6;background:var(--red-soft);color:var(--red)}.update-log{display:grid;gap:8px;border:1px solid var(--line);border-radius:8px;background:#0f172a;color:#e5edf2;padding:12px}.update-log strong{font-size:.82rem}.update-log ol{display:grid;gap:4px;max-height:180px;margin:0;overflow:auto;padding-left:18px;color:#cbd5e1;font-family:Consolas,SFMono-Regular,monospace;font-size:.76rem;line-height:1.55}.update-actions{border-top:1px solid var(--line);padding:0 20px 20px}.button.danger{border-color:#b42318;background:#b42318;color:#fff}.button.danger:hover:not(:disabled){background:#912018}.import-modal-body{display:grid;gap:14px;padding:20px}.import-method{display:grid;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);padding:14px}.import-method-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.import-method-title{display:flex;min-width:0;align-items:flex-start;gap:10px}.import-method-title svg{flex:0 0 auto;color:var(--primary)}.import-method-title h3{margin:0;color:var(--text);font-size:1rem}.import-method-title p{margin:4px 0 0;color:var(--muted);font-size:.86rem}.sync-stage-list{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:8px}.sync-stage-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid var(--line);background:#fff;padding:10px 12px}.sync-stage-row:last-child{border-bottom:0}.sync-stage-row strong,.sync-stage-row span{display:block}.sync-stage-row strong{color:var(--text);font-size:.9rem}.sync-stage-row div>span{margin-top:3px;color:var(--muted);font-size:.8rem;line-height:1.35}.sync-status-badge{display:inline-flex;min-height:26px;align-items:center;border:1px solid transparent;border-radius:999px;padding:3px 9px;font-size:.76rem;font-weight:850;white-space:nowrap}.sync-status-badge.success{border-color:#16a34a47;background:#dcfce7d9;color:#15803d}.sync-status-badge.error{border-color:#dc26264d;background:#fee2e2e6;color:var(--red)}.sync-status-badge.skip{border-color:#64748b3d;background:#f1f5f9e6;color:#475569}.feishu-settings-panel{display:grid;gap:12px;border-top:1px solid var(--line);padding-top:12px}.settings-loading-row{display:inline-flex;min-height:30px;align-items:center;gap:8px;color:var(--muted);font-size:.84rem;font-weight:750}.feishu-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feishu-setting-field{display:grid;min-width:0;gap:6px}.feishu-setting-field span{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;color:var(--text);font-size:.78rem;font-weight:850}.feishu-setting-field em{flex:0 0 auto;border:1px solid rgba(15,118,110,.22);border-radius:999px;background:#f0fdfad9;color:var(--primary);padding:2px 7px;font-style:normal;font-size:.7rem;font-weight:850}.feishu-setting-field em.locked{border-color:#47556938;background:#f1f5f9e6;color:#475569}.feishu-setting-field input{width:100%;min-width:0;height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:0 10px;font:inherit;font-size:.84rem}.feishu-setting-field input:disabled{background:#f8fafc;color:#64748b;cursor:not-allowed}.feishu-secret-clear{display:inline-flex;width:fit-content;align-items:center;gap:8px;color:var(--muted);font-size:.82rem;font-weight:750}.feishu-secret-clear input{width:16px;height:16px;accent-color:var(--primary)}.feishu-settings-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.feishu-settings-actions>span{color:var(--muted);font-size:.8rem;line-height:1.45}.feishu-bridge-method{display:grid;align-content:start;gap:16px}.feishu-bridge-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;border-bottom:1px solid var(--line);padding:2px 0 16px}.feishu-bridge-heading-copy{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.feishu-bridge-heading-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid #b7d9d5;border-radius:8px;background:var(--primary-soft);color:var(--primary-dark)}.feishu-bridge-heading-text{min-width:0}.feishu-bridge-eyebrow{display:block;margin-bottom:3px;color:var(--primary-dark);font-size:.7rem;font-weight:800;letter-spacing:0}.feishu-bridge-heading h3{margin:0;color:var(--text);font-size:1.04rem;line-height:1.3}.feishu-bridge-heading p{max-width:430px;margin:4px 0 0;color:var(--muted);font-size:.8rem;line-height:1.5}.feishu-bridge-heading-actions{display:flex;align-items:center;gap:8px;border-left:1px solid var(--line);padding-left:20px}.feishu-bridge-settings-button{width:40px;height:40px;border-color:var(--line);background:#fff;color:var(--muted)}.feishu-bridge-settings-button:hover:not(:disabled){border-color:#b7d9d5;background:var(--primary-soft);color:var(--primary-dark)}.feishu-bridge-compare-button{min-width:116px;min-height:40px;justify-content:center}.feishu-bridge-settings{border:1px solid var(--line);border-radius:8px;background:#fbfdfd;padding:14px}.feishu-bridge-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feishu-bridge-actions article{display:grid;align-content:space-between;gap:16px;min-height:132px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:14px}.feishu-bridge-actions article>div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;color:var(--primary)}.feishu-bridge-actions article>div span{display:grid;min-width:0;gap:4px}.feishu-bridge-actions article strong{color:var(--text);font-size:.94rem}.feishu-bridge-actions article em{color:var(--muted);font-size:.78rem;font-style:normal;line-height:1.45}.feishu-bridge-actions .button{width:100%;justify-content:center}.feishu-bridge-stage-list{margin-top:0}.system-settings-page{display:grid;width:100%;grid-template-columns:220px minmax(0,1fr);align-items:start;align-content:start;gap:16px;min-height:0}.system-settings-nav{position:sticky;top:0;display:grid;gap:6px;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.system-settings-nav button,.system-settings-nav-link{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:58px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);padding:9px 10px;text-align:left;text-decoration:none}.system-settings-nav button:hover,.system-settings-nav button:focus-visible,.system-settings-nav-link:hover,.system-settings-nav-link:focus-visible{border-color:#d7e7e5;background:#f6faf9;color:var(--primary-dark)}.system-settings-nav button.active{border-color:#b9d9d5;background:var(--primary-soft);color:var(--primary-dark)}.system-settings-nav button>span:not(.settings-nav-count),.system-settings-nav-link>span:not(.settings-nav-count){display:grid;min-width:0;gap:2px}.system-settings-nav strong,.system-settings-nav small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-settings-nav strong{color:var(--text);font-size:.88rem}.system-settings-nav small{color:var(--muted);font-size:.73rem}.settings-nav-count{display:grid;min-width:24px;height:24px;border-radius:6px;place-items:center;background:#fff;color:var(--primary-dark);font-size:.74rem;font-weight:850}.system-settings-content{min-width:0;width:100%}.system-settings-card{display:grid;width:100%;gap:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.settings-last-updated{color:var(--muted);font-size:.82rem;font-weight:750;white-space:nowrap}.system-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:20px 22px 18px}.system-settings-head div{display:grid;gap:2px}.system-settings-head span:not(.status-chip){color:var(--muted);font-size:.78rem;font-weight:850}.system-settings-head strong{color:var(--text);font-size:1.15rem}.system-settings-body{display:grid}.system-settings-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;border-bottom:1px solid var(--line);background:#fbfdfd}.system-settings-meta>div{display:flex;align-items:center;gap:11px;min-width:0;padding:18px 22px}.system-settings-meta>div+div{border-left:1px solid var(--line)}.system-settings-meta svg{flex:0 0 auto;color:var(--primary)}.system-settings-meta dt{margin:0 0 4px;color:var(--muted);font-size:.76rem;font-weight:850}.system-settings-meta dd{margin:0;overflow:hidden;color:var(--text);font-size:.96rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.system-update-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border-bottom:1px solid var(--line);background:#fff;padding:18px 22px}.system-update-status-icon{display:grid;width:44px;height:44px;border:1px solid #c8e4df;border-radius:8px;place-items:center;background:#eef9f6;color:var(--primary)}.system-update-status-icon.available{border-color:#8ac6bd;background:var(--primary-soft)}.system-update-status>div{min-width:0}.system-update-status h3{margin:0;color:var(--text);font-size:1rem}.system-update-status small{display:block;margin-top:3px;color:var(--muted);font-size:.8rem}.system-audit-card .audit-filter-panel,.system-audit-card .audit-list-panel{border:0;border-radius:0;box-shadow:none}.system-audit-card .audit-filter-panel{border-bottom:1px solid var(--line);padding:18px}.system-audit-card .audit-list-panel{overflow:visible}.system-audit-card .audit-filter-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.system-audit-card .audit-filter-actions{grid-column:3 / -1;justify-content:flex-end}.system-audit-card .audit-filter-actions .button{min-width:92px;justify-content:center}@media(max-width:1500px){.system-audit-card .audit-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.system-audit-card .audit-filter-actions{grid-column:1 / -1}}.system-settings-form{display:grid}.system-settings-form-section{display:grid;gap:18px;padding:24px 22px 22px}.system-settings-form-section+.system-settings-form-section{border-top:1px solid var(--line)}.system-settings-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.system-settings-section-head .eyebrow{margin-bottom:2px}.system-settings-section-head h3{margin:0;color:var(--text);font-size:1.16rem;line-height:1.25}.settings-required{border:1px solid #c8e4df;border-radius:999px;background:#eef9f6;color:var(--primary-dark);padding:4px 8px;font-size:.74rem;font-weight:800;white-space:nowrap}.settings-required.pending{border-color:#edc99e;background:#fff8ef;color:#9a5a17}.system-settings-section-copy{margin:-8px 0 0;color:var(--muted);font-size:.9rem}.system-setting-field{display:grid;gap:7px}.system-setting-field span{color:var(--text);font-size:.82rem;font-weight:850}.system-setting-field input{width:100%;min-width:0;height:46px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);padding:0 12px;font:inherit}.system-setting-field small{color:var(--muted);font-size:.8rem;line-height:1.45}.system-token-input{position:relative}.system-token-input input{padding-right:46px}.token-visibility-button{position:absolute;top:50%;right:6px;display:grid;width:34px;height:34px;border:0;border-radius:6px;place-items:center;transform:translateY(-50%);background:transparent;color:var(--muted)}.token-visibility-button:hover:not(:disabled){background:var(--slate-soft);color:var(--primary-dark)}.system-setting-field input:disabled{background:#f8fafc;color:#64748b;cursor:not-allowed}.system-secret-clear{display:flex;width:100%;align-items:center;gap:12px;border:1px solid #f0d4bd;border-radius:6px;background:#fffaf6;color:#9a4e12;padding:13px 14px;font-size:.84rem;font-weight:750}.system-secret-clear.selected{border-color:#e9a26e;background:#fff4ea}.system-secret-clear input{flex:0 0 auto;width:16px;height:16px;accent-color:var(--primary)}.system-secret-clear>span{display:grid;gap:3px}.system-secret-clear strong{color:#9a4e12}.system-secret-clear small{color:#8c674b;font-size:.78rem;font-weight:650;line-height:1.4}.system-settings-warning{display:flex;align-items:flex-start;gap:9px;margin:0;border:1px solid #f2dcc7;border-radius:6px;background:#fffdf8;color:#825b3b;padding:12px 13px;font-size:.84rem;line-height:1.5}.system-settings-warning svg{flex:0 0 auto;margin-top:1px;color:var(--amber)}.system-settings-note{margin:0 22px 22px;border:1px solid #c8e4df;border-radius:6px;background:#f1faf8;color:var(--primary-dark);padding:12px 13px;font-size:.84rem;font-weight:700}.system-settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);background:#fbfcfc;padding:16px 22px}.numbering-settings-card .system-settings-section-copy{margin:22px 22px 0}.numbering-settings-card .system-settings-form{gap:14px;padding-top:20px}.numbering-rule-card{display:grid;gap:14px;margin:0 22px;border:1px solid var(--line);border-radius:8px;background:#fbfdfd;padding:16px}.numbering-rule-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.numbering-rule-head>div{display:grid;gap:3px}.numbering-rule-head strong{color:var(--text);font-size:.98rem}.numbering-rule-head small{color:var(--muted);font-size:.74rem}.numbering-rule-example{border:1px solid #c8e4df;border-radius:6px;background:#f1faf8;color:var(--primary-dark);padding:7px 10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.8rem;font-weight:800;white-space:nowrap}.device-code-replace-body{display:grid;gap:20px;padding:24px}.device-code-replace-hero{display:grid;grid-template-columns:minmax(0,1fr) 126px;align-items:center;gap:24px}.device-code-replace-code{min-width:0}.device-code-replace-code>span,.device-code-replace-checksum>span,.device-code-replace-comparison-row span{color:var(--muted);font-size:.78rem;font-weight:800}.device-code-replace-code>div{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:16px;margin-top:9px}.device-code-replace-code .button{border-color:#b7d9d5;background:#fff}.device-code-replace-code code{min-width:0;color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:850;letter-spacing:.055em;overflow-wrap:anywhere}.device-code-replace-checksum{display:grid;min-height:92px;place-items:center;align-content:center;gap:7px;border-left:1px solid var(--line);color:var(--primary-dark)}.device-code-replace-checksum strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:3rem;line-height:1}.device-code-replace-parts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;border:1px solid var(--line);border-radius:8px;background:#fbfcfd;padding:14px 0}.device-code-replace-parts>div{min-width:0;border-left:1px solid var(--line);padding:0 16px}.device-code-replace-parts>div:first-child{border-left:0}.device-code-replace-parts dt{color:var(--muted);font-size:.72rem;font-weight:800}.device-code-replace-parts dd{margin:6px 0 0;color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9rem;font-weight:850;white-space:nowrap}.device-code-replace-proof{display:flex;align-items:center;gap:10px;margin:0;border:1px solid #b9d9d5;border-radius:7px;background:#f2f8f7;color:#48615f;padding:11px 14px;font-size:.82rem;font-weight:700;line-height:1.55}.device-code-replace-proof svg{flex:0 0 auto;color:var(--primary)}.device-code-replace-comparison h3{margin:0 0 10px;color:var(--text);font-size:.9rem}.device-code-replace-comparison-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;border:1px solid var(--line);border-radius:8px;padding:14px 18px}.device-code-replace-comparison-row>div{display:grid;min-width:0;gap:7px}.device-code-replace-comparison-row>svg{color:#82939d}.device-code-replace-comparison-row code{color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(1rem,2vw,1.2rem);font-weight:850;letter-spacing:.02em;white-space:nowrap}.device-code-replace-comparison-row mark{border-radius:5px;background:#dff2ee;color:var(--primary-dark);padding:2px 3px}.device-code-replace-comparison-row>div:first-child mark{background:#fde8e6;color:#b42318}.device-code-replace-warning{display:flex;align-items:flex-start;gap:10px;color:var(--muted)}.device-code-replace-warning svg{flex:0 0 auto;color:#b42318}.device-code-replace-warning p{margin:0;font-size:.84rem;line-height:1.55}.delete-confirm-modal.is-replace .delete-confirm-actions{padding-top:16px}@media(max-width:620px){.device-code-replace-hero{grid-template-columns:1fr}.device-code-replace-checksum{min-height:auto;grid-template-columns:auto auto;justify-content:start;border-top:1px solid var(--line);border-left:0;padding-top:14px}.device-code-replace-checksum strong{font-size:2rem}.device-code-replace-parts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 0}.device-code-replace-parts>div:nth-child(odd){border-left:0}.device-code-replace-comparison-row{grid-template-columns:1fr}.device-code-replace-comparison-row>svg{transform:rotate(90deg)}.device-code-replace-comparison-row code{white-space:normal;overflow-wrap:anywhere}}@media(max-width:480px){.device-code-replace-body{padding:18px}.device-code-replace-code>div{align-items:stretch;flex-direction:column}.device-code-replace-parts{grid-template-columns:1fr}.device-code-replace-parts>div{border-left:0}}.numbering-rule-head>.numbering-rule-head-tools{display:flex;flex:0 0 auto;align-items:center;gap:8px}.numbering-token-list{display:grid;gap:8px}.numbering-token-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:8px}.numbering-token-row>select,.numbering-token-row>input,.numbering-sequence-field input{width:100%;min-width:0;height:38px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);padding:0 10px;font:inherit;font-size:.82rem}.numbering-sequence-field{display:flex;align-items:center;gap:7px}.numbering-sequence-field span{color:var(--muted);font-size:.76rem;white-space:nowrap}.numbering-sequence-field input{width:88px}.numbering-token-row .icon-button{flex:0 0 auto}.numbering-token-actions{display:flex;gap:4px}.system-settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.system-settings-form-grid .field{display:grid;gap:6px;min-width:0}.system-settings-form-grid .field>span{color:var(--text);font-size:.78rem;font-weight:800}.system-settings-form-grid .field input,.system-settings-form-grid .field select{width:100%;min-width:0;height:40px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);padding:0 10px;font:inherit;font-size:.82rem}.device-code-test-body{display:grid;gap:18px;padding:22px}.device-code-test-body>.system-settings-section-copy{margin:0;max-width:860px;line-height:1.6}.device-code-test-form{display:grid;gap:14px;border:1px solid var(--line);border-radius:8px;background:#fbfdfd;padding:18px}.device-code-test-segment-grid{display:grid;grid-template-columns:.85fr 1fr 1.1fr .8fr;gap:10px}.device-code-segment-field{display:grid;min-width:0;gap:7px}.device-code-segment-field>span{color:var(--text);font-size:.78rem;font-weight:800}.device-code-test-help{color:var(--muted);font-size:.78rem}.device-code-segment-field input{width:100%;min-width:0;height:48px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--text);padding:0 14px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.02rem;font-weight:750;letter-spacing:.055em;transition:border-color .18s ease,box-shadow .18s ease}.device-code-segment-field input:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 3px #0f766e1f}.device-code-segment-field.readonly input{background:#f1f5f9;color:#334155;cursor:default}.device-code-test-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.device-code-test-actions .button{justify-content:center;white-space:nowrap}.device-code-test-error{display:flex;align-items:center;gap:8px;margin:0;border:1px solid #edc4bf;border-radius:7px;background:#fff7f6;color:#a13f35;padding:12px 14px;font-size:.86rem;font-weight:700}.device-code-test-error svg{flex:0 0 auto}.device-code-test-result{display:grid;grid-template-columns:148px minmax(0,1fr);overflow:hidden;border:1px solid #b9d9d5;border-radius:8px;background:#fff}.device-code-checksum-card{display:grid;place-items:center;align-content:center;gap:6px;border-right:1px solid #b9d9d5;background:var(--primary-soft);color:var(--primary-dark);padding:22px}.device-code-checksum-card span,.device-code-result-main>span{color:var(--muted);font-size:.76rem;font-weight:850}.device-code-checksum-card strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:3rem;line-height:1}.device-code-result-main{display:grid;min-width:0;gap:12px;padding:20px}.device-code-result-value{display:flex;align-items:center;justify-content:space-between;gap:14px}.device-code-result-value code{min-width:0;color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(1.05rem,2vw,1.45rem);font-weight:850;letter-spacing:.045em;overflow-wrap:anywhere}.device-code-result-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.device-code-result-parts>div{min-width:0;border:1px solid var(--line);border-radius:6px;background:#f8fafc;padding:9px 10px}.device-code-result-parts dt{color:var(--muted);font-size:.7rem;font-weight:800}.device-code-result-parts dd{margin:3px 0 0;overflow:hidden;color:var(--text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.82rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.numbering-rule-head>.numbering-rule-head-tools,.device-code-test-result{grid-template-columns:1fr}.numbering-rule-head>.numbering-rule-head-tools{display:grid;width:100%}.numbering-rule-example{overflow:hidden;text-overflow:ellipsis}.device-code-test-actions{justify-content:flex-end}.device-code-test-segment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.device-code-checksum-card{border-right:0;border-bottom:1px solid #b9d9d5}.device-code-result-value{align-items:stretch;flex-direction:column}.device-code-result-parts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.device-code-test-segment-grid{grid-template-columns:1fr}}.device-motor-settings-list{display:grid;gap:6px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.motor-catalog-card{gap:12px;background:#f8fbfb}.motor-catalog-head{align-items:center}.numbering-rule-head>.motor-catalog-title,.numbering-rule-head>.motor-catalog-actions{display:flex;align-items:center;gap:10px}.motor-catalog-title{min-width:0}.motor-catalog-title>div{display:grid;min-width:0;gap:2px}.motor-catalog-title strong,.motor-catalog-title small{display:block;line-height:1.35}.motor-catalog-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.motor-catalog-actions{flex:0 0 auto}.motor-catalog-icon{display:grid;width:32px;height:32px;flex:0 0 auto;border:1px solid #b8ddd8;border-radius:8px;background:#eaf7f5;color:var(--primary-dark);place-items:center}.motor-catalog-count{border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);padding:5px 9px;font-size:.74rem;font-weight:800;white-space:nowrap}.device-motor-table-head,.device-motor-settings-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.8fr) minmax(110px,.8fr) auto auto;align-items:center;gap:8px}.device-motor-table-head{min-height:34px;border-bottom:1px solid var(--line);background:#f6f9f9;color:var(--muted);padding:0 12px;font-size:.72rem;font-weight:850;letter-spacing:.02em}.device-motor-settings-row{min-height:68px;padding:8px 12px}.device-motor-settings-row+.device-motor-settings-row{border-top:1px solid #edf2f2}.device-motor-settings-row:hover{background:#fbfefe}.motor-field{display:grid;min-width:0;gap:5px}.motor-field>span{display:none;color:var(--muted);font-size:.7rem;font-weight:800}.motor-field input{width:100%;min-width:0;height:38px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);padding:0 10px;font:inherit;font-size:.82rem}.motor-input-with-unit{position:relative;min-width:0}.motor-input-with-unit input{padding-right:40px}.motor-input-with-unit em{position:absolute;top:50%;right:10px;transform:translateY(-50%);color:var(--muted);font-size:.7rem;font-style:normal;font-weight:800;pointer-events:none}.device-motor-enabled{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-width:66px;color:var(--muted);font-size:.76rem;font-weight:800;white-space:nowrap}.device-motor-enabled input{width:16px;height:16px;accent-color:var(--primary)}.motor-delete-button{color:#8a5b5b}.motor-delete-button:hover{border-color:#edcaca;background:#fff6f6;color:var(--red)}.motor-catalog-empty{display:flex;align-items:center;justify-content:center;gap:8px;min-height:82px;border:1px dashed #bdd7d4;border-radius:8px;background:#fbfefe;color:var(--muted);font-size:.8rem}.motor-catalog-tip{display:flex;align-items:center;gap:6px;margin:0;color:var(--muted);font-size:.74rem}.motor-catalog-tip svg{flex:0 0 auto;color:var(--primary)}.numbering-token-actions .icon-button{width:30px;height:30px;font-size:.84rem}.numbering-rule-actions{display:flex;flex-wrap:wrap;gap:7px}.feishu-compare-body{display:grid;gap:14px;padding:20px}.feishu-compare-summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;border:1px solid rgba(220,38,38,.22);border-radius:8px;background:#fef2f2e0;padding:14px}.feishu-compare-summary.passed{border-color:#16a34a3d;background:#f0fdf4e6}.feishu-compare-summary svg{color:#b42318}.feishu-compare-summary.passed svg{color:#15803d}.feishu-compare-summary strong,.feishu-compare-summary span{display:block}.feishu-compare-summary strong{color:var(--text);font-size:1rem}.feishu-compare-summary span{margin-top:4px;color:var(--muted);font-size:.86rem}.feishu-compare-section{display:grid;gap:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);padding:12px}.feishu-compare-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.feishu-compare-section-head strong,.feishu-compare-section-head span{display:block}.feishu-compare-section-head strong{color:var(--text);font-size:.94rem}.feishu-compare-section-head span{color:var(--muted);font-size:.8rem;text-align:right}.feishu-diff-list{display:grid;gap:10px}.feishu-diff-card{display:grid;gap:9px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px}.feishu-diff-card header{display:flex;min-width:0;align-items:center;gap:8px}.feishu-diff-card header strong{min-width:0;overflow-wrap:anywhere;color:var(--text);font-size:.9rem}.feishu-diff-card p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}.feishu-field-diffs{display:grid;gap:6px}.feishu-field-diffs div{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:start;border-radius:6px;background:#f8fafc;padding:8px}.feishu-field-diffs span,.feishu-field-diffs strong,.feishu-field-diffs em{min-width:0;overflow-wrap:anywhere;font-size:.8rem;line-height:1.45}.feishu-field-diffs span{color:var(--muted);font-weight:850}.feishu-field-diffs strong{color:var(--text);font-weight:750}.feishu-field-diffs em{color:#b42318;font-style:normal;font-weight:750}.import-file-row{display:flex;min-width:0;min-height:32px;align-items:center;gap:8px;color:var(--muted);font-size:.84rem}.import-file-row svg{flex:0 0 auto;color:var(--primary)}.import-file-row span,.import-file-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.import-file-row strong{color:var(--text);font-weight:800}.excel-import-method{align-content:start;gap:14px}.excel-import-heading{align-items:center;border-bottom:1px solid var(--line);padding-bottom:16px}.excel-import-heading .import-actions{flex:0 0 auto}.excel-import-file-panel{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:78px;border:1px solid var(--line);border-radius:8px;background:#f8fbfb;padding:12px}.excel-import-file-panel.is-loading{border-color:#b7d9d5;background:#f3faf9}.excel-import-file-panel.is-error{border-color:#be123c52;background:#fff8fa}.excel-import-file-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid #b7d9d5;border-radius:8px;background:var(--primary-soft);color:var(--primary-dark)}.excel-import-file-copy{display:grid;min-width:0;gap:2px}.excel-import-file-copy strong{overflow:hidden;color:var(--text);font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}.excel-import-file-copy p{margin:0;color:var(--muted);font-size:.76rem;line-height:1.45}.excel-import-file-status{display:inline-flex;min-height:28px;align-items:center;gap:5px;border:1px solid #a9d8b9;border-radius:999px;background:var(--green-soft);color:var(--green);padding:4px 9px;font-size:.74rem;font-weight:800;white-space:nowrap}.excel-import-file-status.is-loading{border-color:#b7d9d5;background:var(--primary-soft);color:var(--primary-dark)}.excel-import-file-status.is-error{border-color:#be123c47;background:var(--red-soft);color:var(--red)}.excel-import-file-actions{display:flex;align-items:center;gap:8px}.excel-import-file-actions .button{min-height:38px;white-space:nowrap}.json-import-compatibility{flex:0 0 auto;border:1px solid #c5d6df;border-radius:999px;background:#eef5f8;color:#486579;padding:4px 9px;font-size:.72rem;font-weight:800;white-space:nowrap}.json-import-file-panel{background:#f7fafc}.json-import-file-icon{border-color:#c5d6df;background:#eaf3f7;color:#315f72}.json-import-preview-table{min-width:720px}.json-import-preview-table td:nth-child(2) strong{color:#315f72;white-space:nowrap}.import-preview{display:grid;gap:10px}.import-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.import-preview-head>div{display:grid;gap:2px}.import-preview-head span{color:var(--muted);font-size:.74rem;font-weight:800}.import-preview-head strong{color:var(--text);font-size:.9rem}.import-preview-head .button{flex:0 0 auto}.import-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(90px,1fr));gap:8px}.import-summary-item{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dbe7e5;border-radius:8px;background:#f8fbfb;padding:8px 10px}.import-summary-item span{color:var(--muted);font-size:.78rem;font-weight:800}.import-summary-item strong{color:var(--text);font-size:1.12rem}.import-summary-item.danger{border-color:#dc26264d;background:#fef2f2cc}.import-summary-item.danger strong{color:var(--red)}.import-preview-table-shell{max-height:230px;overflow:auto;border:1px solid var(--line);border-radius:8px}.import-preview-table{width:100%;min-width:780px;border-collapse:collapse;font-size:.84rem}.import-preview-table th,.import-preview-table td{border-bottom:1px solid var(--line);padding:9px 10px;text-align:left;vertical-align:top}.import-preview-table th{position:sticky;top:0;z-index:1;background:#f7faf9;color:var(--muted);font-size:.76rem;font-weight:850}.import-preview-table tr:last-child td{border-bottom:0}.import-preview-table tr.has-error td{background:#fef2f2b3}.import-action-badge{display:inline-flex;min-height:24px;align-items:center;border:1px solid transparent;border-radius:999px;padding:3px 8px;font-size:.76rem;font-weight:850;white-space:nowrap}.import-action-badge.insert{border-color:#16a34a47;background:#dcfce7d9;color:#15803d}.import-action-badge.update{border-color:#2563eb3d;background:#dbeafed1;color:#1d4ed8}.import-action-badge.skip{border-color:#64748b3d;background:#f1f5f9e6;color:#475569}.import-action-badge.error{border-color:#dc26264d;background:#fee2e2e6;color:var(--red)}.import-error-cell{min-width:260px;color:var(--red);line-height:1.45}.import-result-note{margin:0;border:1px solid rgba(22,163,74,.28);border-radius:8px;background:#dcfce7bf;color:#166534;padding:9px 10px;font-size:.86rem;font-weight:750}.metric-chip{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;min-height:34px;min-width:0;border:1px solid #bdd7d4;border-radius:999px;background:var(--primary-soft);color:var(--primary-dark);padding:6px 10px;white-space:nowrap}.metric-chip svg{flex:0 0 auto}.metric-chip strong{color:var(--text);font-size:.94rem;line-height:1}.metric-chip span{overflow:visible;color:var(--muted);font-size:.76rem;font-weight:850;text-overflow:clip}.search-control{position:relative;display:grid;gap:7px}.search-control>svg{position:absolute;bottom:13px;left:12px;color:var(--muted)}.search-control input{padding-left:38px}.table-section{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden;transition:border-color .18s ease,box-shadow .22s ease}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:16px 18px}.section-heading h3{margin:0;font-size:1rem}.section-heading p{margin:2px 0 0;color:var(--muted);font-size:.88rem}.section-heading.compact{border-bottom:0;padding:0}.table-shell{width:100%;min-height:0;flex:1 1 auto;overflow:auto;scroll-behavior:smooth}@media(max-width:1360px){.customer-scroll-workspace .toolbar-metrics .metric-chip:nth-child(n+3),.managed-scroll-workspace .toolbar-metrics .metric-chip:nth-child(n+3){display:none}.device-toolbar{grid-template-columns:minmax(260px,1fr) 180px 0px}}@media(min-width:1280px)and (max-width:1600px){.customer-scroll-workspace .toolbar-metrics .metric-chip>span,.managed-scroll-workspace .toolbar-metrics .metric-chip>span{display:none}.customer-toolbar-dock{grid-template-columns:minmax(220px,1fr) 180px minmax(190px,auto);gap:8px}.customer-table-section .section-heading>div:first-child{flex-basis:104px}.business-table-section .section-heading>div:first-child{flex-basis:104px}.order-toolbar-dock{grid-template-columns:minmax(220px,1fr) 180px minmax(180px,auto);gap:7px}.device-toolbar-dock{grid-template-columns:minmax(220px,1fr) 180px minmax(140px,auto);gap:7px}.certificate-toolbar-dock{grid-template-columns:minmax(220px,1fr) 180px minmax(170px,auto);gap:7px}}.records-table{width:100%;min-width:900px;border-collapse:collapse}.customer-table{min-width:1040px;table-layout:fixed}.customer-table th:nth-child(1),.customer-table td:nth-child(1){width:280px}.customer-table th:nth-child(2),.customer-table td:nth-child(2){width:330px}.customer-table th:nth-child(3),.customer-table td:nth-child(3){width:140px}.customer-table th:nth-child(4),.customer-table td:nth-child(4){width:140px}.customer-table th:nth-child(5),.customer-table td:nth-child(5){width:96px}.customer-table th:last-child,.customer-table td:last-child{width:116px}.order-table{min-width:1160px;table-layout:fixed}.order-table th:last-child,.order-table td:last-child{width:112px}.order-table th,.order-table td{padding:12px 13px}.order-table th:nth-child(1),.order-table td:nth-child(1){width:310px}.order-table th:nth-child(2),.order-table td:nth-child(2){width:130px}.order-table th:nth-child(3),.order-table td:nth-child(3){width:118px}.order-table th:nth-child(4),.order-table td:nth-child(4){width:154px}.order-table th:nth-child(5),.order-table td:nth-child(5){width:104px}.order-table th:nth-child(6),.order-table td:nth-child(6){width:122px}.order-table th:nth-child(7),.order-table td:nth-child(7){width:116px}.order-table th:nth-child(8),.order-table td:nth-child(8){width:106px}.order-table .wide-cell{max-width:180px;min-width:150px}.device-table{min-width:980px;table-layout:fixed}.device-table th,.device-table td{padding:12px 14px}.device-table th:nth-child(1),.device-table td:nth-child(1){width:164px}.device-table th:nth-child(2),.device-table td:nth-child(2){width:178px}.device-table th:nth-child(3),.device-table td:nth-child(3){width:144px}.device-table th:nth-child(4),.device-table td:nth-child(4){width:168px}.device-table th:nth-child(5),.device-table td:nth-child(5){width:82px}.device-table th:nth-child(6),.device-table td:nth-child(6){width:84px}.device-table th:nth-child(7),.device-table td:nth-child(7){width:78px}.device-table th:nth-child(8),.device-table td:nth-child(8){width:116px}.device-table .wide-cell{max-width:196px;min-width:0}.device-table .mono-value{overflow-wrap:anywhere}.certificate-table{min-width:900px;table-layout:fixed}.certificate-table th,.certificate-table td{padding:12px 10px}.certificate-table th:nth-child(1),.certificate-table td:nth-child(1){width:198px}.certificate-table th:nth-child(2),.certificate-table td:nth-child(2){width:154px}.certificate-table th:nth-child(3),.certificate-table td:nth-child(3){width:126px}.certificate-table th:nth-child(4),.certificate-table td:nth-child(4){width:96px}.certificate-table th:nth-child(5),.certificate-table td:nth-child(5){width:96px}.certificate-table th:nth-child(6),.certificate-table td:nth-child(6){width:104px}.certificate-table th:last-child,.certificate-table td:last-child{width:96px}.certificate-table .wide-cell{max-width:132px;min-width:0}.certificate-table .mono-value{overflow-wrap:anywhere}.certificate-table td[data-label=更新]{white-space:nowrap}.certificate-table .row-actions{gap:6px}.certificate-table .icon-button.small{width:34px;min-height:34px}.records-table th,.records-table td{border-bottom:1px solid var(--line);padding:14px 16px;text-align:left;vertical-align:top}.records-table th{position:sticky;top:0;z-index:2;background:var(--surface-strong);color:#40515c;font-size:.78rem;font-weight:850}.records-table .interactive-row{cursor:pointer;transition:background-color .16s ease,box-shadow .16s ease}.records-table .interactive-row:hover,.records-table .interactive-row:focus-visible{background:#f8fbfb;box-shadow:inset 3px 0 0 var(--primary)}.records-table .interactive-row:focus-visible{outline:3px solid rgba(15,118,110,.18);outline-offset:-3px}.records-table a{color:var(--primary-dark);font-weight:750;text-decoration:none}.records-table a:hover{text-decoration:underline}.mono-value{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.9rem}.wide-cell{max-width:280px;min-width:220px}.stacked-cell{display:grid;gap:4px}.stacked-cell.compact{gap:2px}.stacked-cell span,.address-text{color:var(--muted)}.truncate-line{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-list{display:grid;gap:4px;min-width:0}.detail-list span{display:block;color:var(--muted);overflow-wrap:anywhere}.detail-list.compact{gap:3px}.address-text{display:block;max-width:320px}.amount-value{color:#0b5f59;white-space:nowrap}.order-table td[data-label=订单信息] .stacked-cell>strong,.order-table td[data-label=订单来源] .stacked-cell>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-table .mono-value,.order-table td[data-label=订单日期],.order-table td[data-label=更新]{white-space:nowrap}.remark-text{display:block;max-width:300px;color:var(--muted)}.qr-cell{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border:1px solid var(--line);border-radius:8px;background:#fff}.qr-cell img{display:block;width:54px;height:54px}.qr-cell.large{width:112px;height:112px}.qr-cell.large img{width:96px;height:96px}.records-table tr:last-child td{border-bottom:0}.title-cell{display:grid;gap:7px}.title-cell strong{color:var(--text)}.tag-row{display:flex;flex-wrap:wrap;gap:6px}.task-summary-cell{display:grid;justify-items:start;gap:7px}.task-summary-cell .tag-row{gap:5px}.muted-inline{color:var(--muted);font-size:.86rem}.tag{border-radius:999px;background:var(--slate-soft);color:#41515c;padding:3px 8px;font-size:.76rem;font-weight:700}.status-chip,.priority-chip{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:850;white-space:nowrap}.status-chip.info{background:#e8efff;color:var(--blue)}.status-chip.success{background:var(--green-soft);color:var(--green)}.status-chip.warning{background:var(--amber-soft);color:var(--amber)}.status-chip.danger{background:var(--red-soft);color:var(--red)}.status-chip.muted,.status-chip.neutral,.priority-chip.neutral{background:var(--slate-soft);color:#51616c}.priority-chip.warning{background:var(--amber-soft);color:var(--amber)}.priority-chip.danger{background:var(--red-soft);color:var(--red)}.state-block{display:grid;min-height:260px;place-items:center;gap:14px;color:var(--muted);padding:32px;text-align:center}.spinning{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;display:flex;align-items:stretch;justify-content:flex-end;background:#0f172a7a;padding:0;z-index:20}.record-modal{width:min(640px,100%);height:100vh;max-height:100vh;overflow:auto;border-radius:12px 0 0 12px;background:var(--surface);box-shadow:var(--shadow)}.customer-modal{width:min(640px,100%)}.device-modal{width:min(760px,100%)}.device-number-modal{width:min(620px,100%);height:auto;max-height:calc(100vh - 40px);border-radius:14px}.device-modal-backdrop{align-items:center;justify-content:center;padding:24px}.device-modal-backdrop .device-modal{width:min(980px,100%);height:min(900px,calc(100vh - 48px));max-height:calc(100vh - 48px);border-radius:12px}.device-modal-backdrop .device-edit-modal{display:grid;width:min(1120px,100%);grid-template-rows:auto minmax(0,1fr);overflow:hidden}.modal-subtitle{margin:5px 0 0;color:var(--muted);font-size:.82rem}.device-form-sections{display:contents}.record-form.device-edit-form{display:grid;height:100%;max-height:100%;min-height:0;align-items:stretch;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;gap:0;overflow:hidden;padding:0}.device-edit-nav{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);background:var(--surface);padding:0 24px}.device-edit-nav-items{display:flex;min-width:0;align-items:center;gap:12px;overflow-x:auto;scrollbar-width:none}.device-edit-nav-items::-webkit-scrollbar{display:none}.device-edit-nav button{position:relative;min-height:54px;border:0;background:transparent;color:#52636e;padding:0 10px;font-size:.84rem;font-weight:800;white-space:nowrap;cursor:pointer}.device-edit-nav button:after{position:absolute;right:8px;bottom:0;left:8px;height:2px;border-radius:999px 999px 0 0;background:transparent;content:""}.device-edit-nav button:hover,.device-edit-nav button:focus-visible,.device-edit-nav button.active{color:var(--primary-dark)}.device-edit-nav button.active:after{background:var(--primary)}.device-edit-nav button:focus-visible{outline:2px solid var(--primary);outline-offset:-4px}.device-edit-change-count{flex:0 0 auto;color:var(--muted);font-size:.8rem;font-weight:750;white-space:nowrap}.device-edit-change-count strong{color:var(--primary-dark);font-size:.94rem}.device-edit-sections{display:grid;min-height:0;align-content:start;gap:18px;overflow:auto;padding:20px 28px 32px;scroll-behavior:smooth;scrollbar-gutter:stable;scrollbar-color:#9fc6c2 transparent;scrollbar-width:thin}.device-edit-sections::-webkit-scrollbar{width:9px}.device-edit-sections::-webkit-scrollbar-track{background:transparent}.device-edit-sections::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#9fc6c2;background-clip:padding-box}.device-edit-sections .form-fieldset{scroll-margin-top:16px;border:0;border-top:1px solid var(--line);border-radius:0;padding:18px 0 2px}.device-edit-sections .field{align-content:start}.device-edit-sections #device-edit-device-basic{grid-template-columns:repeat(4,minmax(0,1fr))}.device-edit-sections #device-edit-device-basic .device-order-field,.device-edit-sections #device-edit-device-basic .device-code-edit-field,.device-edit-sections #device-edit-device-basic .device-name-field,.device-edit-sections #device-edit-device-basic .device-model-field,.device-edit-sections #device-edit-device-basic .device-production-field,.device-edit-sections #device-edit-device-basic .device-install-environment-field{grid-column:span 2}.device-edit-sections #device-edit-device-basic .device-install-address-field{grid-column:1 / -1}.device-edit-sections .form-fieldset:first-child{padding-top:14px}.device-edit-sections .form-fieldset legend{background:var(--surface);color:var(--text);padding:0 14px 0 0;font-size:.96rem}.device-edit-sections .device-remark-fieldset{min-height:250px}.device-edit-sections .device-remark-fieldset textarea{min-height:132px;resize:vertical}.device-code-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.device-code-input-row:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #0f766e29}.device-code-input-row>input{min-width:0;border:0;border-radius:0;background:transparent}.device-code-input-row>input:focus,.device-code-input-row>input:focus-visible{outline:0;box-shadow:none}.device-code-generate-button{min-height:44px;border:0;border-left:1px solid var(--line);border-radius:0;background:var(--primary-soft);padding-inline:12px;white-space:nowrap}.device-code-generate-button:hover:not(:disabled){background:#d7efeb}.device-code-legacy-chip{display:inline-flex;min-height:22px;align-items:center;border-radius:999px;background:var(--primary-soft);color:var(--primary-dark)!important;padding:2px 8px;font-size:.72rem!important;font-weight:850!important}.device-production-input-row{display:grid;height:44px;grid-template-columns:minmax(0,1fr) auto;gap:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.device-production-field>label{color:#31424d;font-size:.82rem;font-weight:700}.device-production-input-row:focus-within,.device-production-input-row.selected{border-color:var(--primary);box-shadow:0 0 0 3px #0f766e24}.device-production-input-row>input[type=date]{min-width:0;min-height:42px;height:42px;border:0;border-radius:0;background:transparent}.device-production-input-row>input[type=date]:focus,.device-production-input-row>input[type=date]:focus-visible{outline:0;box-shadow:none}.device-production-sync-toggle{display:inline-flex;min-height:42px;height:42px;align-items:center;gap:7px;border-left:1px solid var(--line);background:var(--primary-soft);color:var(--primary-dark);padding:0 12px;font-size:.82rem;font-weight:800;white-space:nowrap;cursor:pointer;transition:background .16s ease}.device-production-sync-toggle:hover{background:#d7efeb}.device-production-sync-toggle>input{width:15px;height:15px;accent-color:var(--primary)}.device-code-validation-body{min-height:170px}.device-code-validation-result.invalid{border-color:#efc2c2}.device-code-validation-result.invalid .device-code-checksum-card{border-color:#efc2c2;background:#fff1f1;color:#b42318}.device-code-validation-status{display:inline-flex;width:fit-content;align-items:center;gap:7px;border-radius:999px;padding:5px 10px;font-size:.8rem}.device-code-validation-status.valid{background:var(--primary-soft);color:var(--primary-dark)}.device-code-validation-status.invalid{background:#fff1f1;color:#b42318}.device-code-validation-issues{display:grid;gap:5px;margin:0;color:#b42318;padding-left:20px;font-size:.82rem}.device-code-validation-expected{display:grid;gap:5px;border:1px solid #efc2c2;border-radius:8px;background:#fff8f8;padding:10px 12px}.device-code-validation-expected>span{color:#7a271a;font-size:.78rem;font-weight:700}.device-code-validation-expected code{color:#7a271a;font-size:clamp(.9rem,2vw,1.1rem);font-weight:850;letter-spacing:.04em;overflow-wrap:anywhere}.device-code-comparison-value>span{border-radius:4px}.device-code-comparison-value>.changed{display:inline-block;margin:0 2px;padding:1px 4px;line-height:1.4;letter-spacing:.045em}.device-code-comparison-value.original>.changed{background:#fee4e2;color:#b42318}.device-code-validation-expected .device-code-comparison-value.expected{color:var(--text)}.device-code-comparison-value.expected>.changed{background:#d9f2ed;color:#08766d}.device-edit-form>.modal-actions{z-index:3;min-height:72px;align-items:center;gap:10px;margin:0;border-top:1px solid var(--line);background:var(--surface);padding:13px 24px;box-shadow:0 -8px 20px #0f172a09}.device-edit-save-state{display:inline-flex;align-items:center;gap:8px;margin-right:auto;color:var(--muted);font-size:.82rem}.device-edit-save-state i{width:8px;height:8px;border-radius:50%;background:#94a3b8}.device-edit-save-state i.changed{background:var(--amber)}@media(max-width:900px){.device-edit-sections #device-edit-device-basic{grid-template-columns:repeat(2,minmax(0,1fr))}.device-edit-sections #device-edit-device-basic .device-model-field,.device-edit-sections #device-edit-device-basic .device-production-field,.device-edit-sections #device-edit-device-basic .device-install-environment-field{grid-column:auto}}@media(max-width:620px){.device-edit-nav{padding-inline:12px}.device-edit-nav-items{gap:2px}.device-edit-nav button{padding-inline:7px}.device-edit-change-count{display:none}.device-edit-sections{padding:18px 18px 28px}.device-edit-sections #device-edit-device-basic{grid-template-columns:1fr}.device-edit-sections #device-edit-device-basic .device-order-field,.device-edit-sections #device-edit-device-basic .device-code-edit-field,.device-edit-sections #device-edit-device-basic .device-name-field,.device-edit-sections #device-edit-device-basic .device-model-field,.device-edit-sections #device-edit-device-basic .device-production-field,.device-edit-sections #device-edit-device-basic .device-install-environment-field,.device-edit-sections #device-edit-device-basic .device-install-address-field{grid-column:1}.device-code-input-row{grid-template-columns:1fr}.device-code-generate-button{width:100%}.device-edit-form>.modal-actions{padding-inline:18px}.device-edit-save-state{width:100%}}.record-modal.import-modal{width:min(880px,100%)}.record-modal.feishu-compare-modal{width:min(980px,100%)}.record-modal.export-modal{width:min(640px,100%)}.record-modal.feishu-bridge-compare-modal{width:min(1120px,calc(100vw - 36px))}.feishu-bridge-compare-body{min-height:0;overflow:auto}.feishu-bridge-bulkbar{position:sticky;top:-20px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);background:#fffffff5;padding:12px 0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.feishu-bridge-bulkbar>span{color:var(--muted);font-size:.84rem;font-weight:750}.feishu-bridge-bulkbar>span strong{color:var(--text)}.feishu-bridge-bulkbar>div,.feishu-diff-actions,.feishu-diff-select{display:flex;align-items:center;gap:8px}.feishu-bridge-diff-card header>strong{flex:1 1 auto}.feishu-diff-select{flex:0 0 auto;cursor:pointer}.feishu-diff-select input{width:16px;height:16px;margin:0;accent-color:var(--primary)}.feishu-diff-actions{margin-left:auto}.feishu-diff-actions .icon-button{width:36px;height:36px}.sync-entry-button{min-width:88px}.record-modal.sync-drawer{display:flex;width:min(780px,100%);flex-direction:column;overflow:hidden;border-radius:8px 0 0 8px}.sync-drawer-header{position:static;flex:0 0 auto;align-items:center;padding:18px 20px 16px}.sync-drawer-header>div{display:grid;gap:2px}.sync-drawer-header h2{margin:0}.sync-drawer-header>div>span{color:var(--muted);font-size:.8rem;font-weight:750}.sync-mode-switch{display:grid;flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;border-bottom:1px solid var(--line);background:var(--surface);padding:12px 20px}.qibook-credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.qibook-capability-section{background:#fbfdfd}.qibook-capability-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qibook-capability-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;min-height:84px;border:1px solid var(--line);border-radius:8px;background:#fff;color:inherit;font:inherit;padding:14px;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.qibook-capability-item:hover:not(:disabled){border-color:#aaccc7}.qibook-capability-item.enabled{border-color:#b9d9d5;background:#f5fbfa;box-shadow:inset 3px 0 0 var(--primary)}.qibook-capability-item:focus-visible{outline:3px solid rgba(15,118,110,.18);outline-offset:2px}.qibook-capability-item:disabled{cursor:not-allowed;opacity:.62}.qibook-capability-icon{display:grid;flex:0 0 auto;width:38px;height:38px;border-radius:7px;place-items:center;background:var(--primary-soft);color:var(--primary-dark)}.qibook-capability-item>span:nth-child(2){display:grid;min-width:0;gap:4px}.qibook-capability-item strong{color:var(--text);font-size:.9rem}.qibook-capability-item small{color:var(--muted);font-size:.78rem;line-height:1.45}.qibook-capability-control{display:grid;justify-items:end;gap:6px;color:var(--muted);font-size:.72rem;font-weight:800;white-space:nowrap}.qibook-capability-item.enabled .qibook-capability-control{color:var(--primary-dark)}.qibook-switch-track{display:block;position:relative;width:42px;height:24px;border:1px solid #b8c7c5;border-radius:999px;background:#dfe7e6;transition:background .16s ease,border-color .16s ease}.qibook-switch-track>span{display:block;position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a38;transition:transform .16s ease}.qibook-capability-item.enabled .qibook-switch-track{border-color:var(--primary);background:var(--primary)}.qibook-capability-item.enabled .qibook-switch-track>span{transform:translate(18px)}.qibook-test-panel{display:grid;gap:12px;margin:0 22px 22px;border:1px solid var(--line);border-radius:8px;background:#f8fbfb;padding:16px}.qibook-test-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.qibook-test-head>div{display:grid;gap:4px}.qibook-test-panel strong{color:var(--text);font-size:.9rem}.qibook-test-panel small{color:var(--muted);font-size:.78rem;line-height:1.45}.qibook-test-mode{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border:1px solid var(--line);border-radius:7px;background:#eef3f3;padding:4px}.qibook-test-mode button{min-width:0;min-height:34px;border:0;border-radius:5px;background:transparent;color:var(--muted);font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}.qibook-test-mode button.active{background:#fff;color:var(--primary-dark);box-shadow:0 1px 3px #0f172a1a}.qibook-test-mode button:focus-visible{outline:3px solid rgba(15,118,110,.18);outline-offset:1px}.qibook-test-mode button:disabled{cursor:not-allowed;opacity:.62}.qibook-test-description{margin:-2px 0 0;color:var(--muted);font-size:.76rem;line-height:1.45}.qibook-test-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.qibook-test-controls input{min-width:0;height:40px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);padding:0 11px;font:inherit}.qibook-test-controls input:focus-visible,.system-setting-field input:focus-visible{border-color:var(--primary);outline:3px solid rgba(15,118,110,.14)}.qibook-test-result{display:flex;align-items:flex-start;gap:8px;margin:0;border-radius:6px;padding:10px 11px;font-size:.82rem;font-weight:750}.qibook-test-result>svg{flex:0 0 auto}.qibook-test-result>span{display:grid;gap:3px}.qibook-test-result.success{background:#edf8f4;color:#176b54}.qibook-test-result.pending{background:#edf5f7;color:#2e6672}.qibook-test-result.danger{background:#fff1f1;color:#a63737}.sync-mode-button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;background:#f4f8f8;color:var(--muted);font:inherit;font-size:.9rem;font-weight:850;cursor:pointer}.sync-mode-button:hover:not(:disabled){color:var(--primary)}.sync-mode-button.active{border-color:color-mix(in srgb,var(--primary) 52%,var(--line));background:#fff;color:var(--primary);box-shadow:inset 0 -2px 0 var(--primary)}.sync-mode-button:disabled{cursor:not-allowed;opacity:.55}.sync-drawer .import-modal-body{min-height:0;flex:1 1 auto}.sync-import-layout{display:grid;grid-template-columns:184px minmax(0,1fr);gap:0;overflow:hidden;padding:0}.sync-method-nav{display:grid;align-content:start;gap:2px;border-right:1px solid var(--line);background:#f8fbfb;padding:14px 10px}.sync-method-nav button{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:10px;min-height:64px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);padding:10px;text-align:left;cursor:pointer}.sync-method-nav button:hover,.sync-method-nav button.active{border-color:color-mix(in srgb,var(--primary) 22%,var(--line));background:#fff;color:var(--primary)}.sync-method-nav button.active{box-shadow:inset 3px 0 0 var(--primary)}.sync-method-nav span{display:grid;min-width:0;gap:3px}.sync-method-nav strong{color:var(--text);font-size:.88rem}.sync-method-nav em{overflow:hidden;color:var(--muted);font-size:.72rem;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.sync-import-content{min-width:0;overflow:auto;padding:18px 20px 24px}.sync-import-content .import-method{border:0;background:transparent;padding:0}.sync-stepper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.sync-stepper div{position:relative;display:flex;min-width:0;align-items:center;gap:7px;color:var(--muted);font-size:.78rem}.sync-stepper div+div:before{width:18px;height:1px;margin-right:4px;background:var(--line);content:""}.sync-stepper span{display:inline-grid;width:24px;height:24px;flex:0 0 auto;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:.72rem;font-weight:850}.sync-stepper .active,.sync-stepper .done{color:var(--text)}.sync-stepper .active span,.sync-stepper .done span{border-color:var(--primary);background:var(--primary);color:#fff}.sync-export-body{overflow:hidden;padding:0}.sync-export-layout{display:grid;height:100%;min-height:0;grid-template-columns:184px minmax(0,1fr);overflow:hidden}.sync-export-layout .export-format-grid{display:grid;align-content:start;grid-template-columns:1fr;gap:2px;border-right:1px solid var(--line);background:#f8fbfb;padding:14px 10px}.sync-export-layout .export-format-card{grid-template-columns:22px minmax(0,1fr);gap:10px;min-height:64px;border-color:transparent;border-radius:6px;background:transparent;padding:10px;box-shadow:none;transform:none}.sync-export-layout .export-format-card:hover,.sync-export-layout .export-format-card.selected{border-color:color-mix(in srgb,var(--primary) 22%,var(--line));background:#fff;box-shadow:inset 3px 0 0 var(--primary);transform:none}.sync-export-layout .export-format-card svg{width:20px;height:20px}.sync-export-layout .export-format-card strong{font-size:.88rem}.sync-export-layout .export-format-card em{font-size:.72rem}.sync-export-detail{display:grid;height:100%;min-width:0;min-height:0;grid-template-rows:auto auto minmax(0,1fr) auto;gap:16px;overflow:auto;padding:20px}.sync-export-detail-head{border-bottom:1px solid var(--line);padding-bottom:16px}.sync-export-detail-head .import-method-title h3{font-size:1.06rem}.sync-export-summary{display:grid;gap:6px;border-bottom:1px solid var(--line);padding-bottom:16px}.sync-export-summary span{color:var(--muted);font-size:.76rem;font-weight:850}.sync-export-summary strong{color:var(--text);font-size:.94rem}.sync-export-summary p{margin:2px 0 0;color:var(--muted);font-size:.84rem;line-height:1.55}.export-scope-field{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:16px}.export-scope-field select{width:100%;min-height:40px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);padding:7px 34px 7px 11px;cursor:pointer}.export-scope-field select:hover:not(:disabled){border-color:#9dcac5}.export-scope-field select:disabled{cursor:not-allowed;opacity:.6}.sync-export-detail>.modal-actions{position:sticky;bottom:-20px;grid-row:4;margin:0 -20px -20px;border-top:1px solid var(--line);background:var(--surface);padding:14px 20px}.sync-export-detail>.export-sync-panel{grid-row:3;align-self:start}.modal-header{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);background:var(--surface);padding:20px}.drawer-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px}.drawer-subtitle{margin:4px 0 0;color:var(--muted);font-size:.82rem}.drawer-detail{display:grid;gap:16px;padding:20px}.detail-section{border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);padding:16px}.detail-section h3{margin:0 0 14px;color:var(--text);font-size:.95rem}.detail-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.detail-section-head h3{margin:0}.detail-section-head span{color:var(--muted);font-size:.78rem;font-weight:850;white-space:nowrap}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;margin:0}.detail-grid div{min-width:0}.detail-grid .span-2,.detail-grid .span-3{grid-column:1 / -1}.detail-grid dt{color:var(--muted);font-size:.76rem;font-weight:850}.detail-grid dd{margin:4px 0 0;color:var(--text);overflow-wrap:anywhere}.drawer-detail .detail-grid dd:not(.detail-no-copy){cursor:pointer;-webkit-user-select:text;user-select:text;transition:color .16s ease,text-decoration-color .16s ease}.drawer-detail .detail-grid dd:not(.detail-no-copy):hover{color:var(--primary);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--primary) 45%,transparent);text-underline-offset:3px}.drawer-detail .detail-grid dd.detail-no-copy{cursor:default}.copy-detail-value{cursor:pointer;-webkit-user-select:text;user-select:text;transition:color .16s ease,text-decoration-color .16s ease}.copy-detail-value:hover{color:var(--primary);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--primary) 45%,transparent);text-underline-offset:3px}.copy-detail-value:focus-visible{color:var(--primary);outline:2px solid color-mix(in srgb,var(--primary) 32%,transparent);outline-offset:3px;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--primary) 45%,transparent);text-underline-offset:3px}.customer-identity-section{padding:20px}.customer-identity-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:22px}.customer-identity-icon{display:grid;width:48px;height:48px;border-radius:50%;place-items:center;background:var(--primary-soft);color:var(--primary)}.customer-identity-name{min-width:0;color:var(--text);font-size:1.2rem;line-height:1.35}.customer-identity-number{border:1px solid var(--line);border-radius:7px;color:var(--muted);padding:7px 10px;font-size:.84rem;white-space:nowrap}.customer-identity-grid{grid-template-columns:1.35fr .85fr .85fr;gap:16px 20px}.customer-identity-grid .span-3{border-top:1px solid var(--line);padding-top:16px}.customer-identity-grid .customer-legal-id-field{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--primary-soft) 48%,#ffffff);padding:12px 14px}.customer-legal-id-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-legal-id-value{appearance:none;min-width:0;border:0;background:transparent;color:var(--text);padding:0;font:inherit;text-align:left;overflow-wrap:anywhere}.customer-legal-id-visibility{display:inline-grid;flex:0 0 auto;width:32px;height:32px;border:0;border-radius:7px;place-items:center;background:transparent;color:var(--muted);cursor:pointer;transition:background .16s ease,color .16s ease}.customer-legal-id-visibility:hover{background:color-mix(in srgb,var(--primary-soft) 72%,#ffffff);color:var(--primary)}.customer-legal-id-visibility:focus-visible{outline:2px solid color-mix(in srgb,var(--primary) 32%,transparent);outline-offset:2px;color:var(--primary)}.customer-contact-section{padding:18px 20px}.customer-contact-list{display:grid;margin:0}.customer-contact-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:12px 0}.customer-contact-row:first-child{padding-top:0}.customer-contact-row:last-child{padding-bottom:0}.customer-contact-row+.customer-contact-row{border-top:1px solid var(--line)}.customer-contact-row dt{color:var(--muted);font-size:.76rem;font-weight:850}.customer-contact-row dd{margin:4px 0 0;color:var(--text);overflow-wrap:anywhere}.customer-contact-row .customer-contact-phone{color:var(--primary);font-variant-numeric:tabular-nums}.customer-identity-section~.relation-section{border:0;background:transparent;padding:0}.certificate-detail{gap:16px;padding:10px 28px 24px}.certificate-modal>.modal-header{align-items:center;padding:21px 28px 15px}.certificate-modal>.modal-header h2{font-size:1.5rem}.certificate-modal .drawer-header-actions .button{min-height:48px;padding-right:20px;padding-left:20px}.certificate-modal .drawer-header-actions .icon-button{width:48px;height:48px}.certificate-status-summary{display:grid;overflow:hidden;border:1px solid #cfe1e2;border-radius:9px;background:#f8fbfb;grid-template-columns:repeat(3,minmax(0,1fr))}.certificate-status-item{display:flex;min-width:0;min-height:72px;align-items:center;justify-content:center;gap:9px;padding:13px 12px;color:var(--text);font-size:.86rem;white-space:nowrap}.certificate-status-item+.certificate-status-item{border-left:1px solid #dbe7e8}.certificate-status-item>span{color:var(--muted);font-weight:750}.certificate-status-item strong{min-width:0;font-size:.96rem}.certificate-next-inspection strong{overflow:hidden;color:var(--primary-dark);font-size:1rem;text-overflow:ellipsis}.certificate-detail .detail-section{padding:20px}.certificate-detail .detail-section h3{margin-bottom:20px;font-size:1.05rem}.certificate-device-grid,.certificate-info-grid{gap:20px 28px}.certificate-detail .detail-grid dt{font-size:.8rem}.certificate-detail .detail-grid dd{margin-top:6px;font-size:1rem;line-height:1.42}.certificate-link-row{display:flex;align-items:center;gap:10px;margin-top:20px;border:1px solid #cfe1e2;border-radius:9px;background:#fbfdfd;padding:10px 12px}.certificate-link-row>a{display:flex;min-width:0;flex:1;align-items:center;gap:12px;color:var(--text);text-decoration:none}.certificate-link-row>a:hover strong{color:var(--primary-dark)}.certificate-link-icon{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border:1px solid #bedadb;border-radius:8px;background:#f2f9f8;color:var(--primary-dark)}.certificate-link-copy,.certificate-qr-copy{display:grid;min-width:0;gap:3px}.certificate-link-copy strong,.certificate-qr-copy strong{overflow:hidden;font-size:.98rem;text-overflow:ellipsis;white-space:nowrap}.certificate-link-copy small,.certificate-qr-copy small{color:var(--muted);font-size:.8rem}.certificate-copy-link{width:38px;height:38px;flex:0 0 auto;color:var(--text-soft)}.certificate-qr-panel{display:flex;align-items:center;gap:18px;margin-top:12px;border:1px solid #d6e3e4;border-radius:9px;background:var(--surface);padding:12px;color:var(--text);text-decoration:none}.certificate-qr-panel:hover{border-color:#9dc9c8;background:#fbfefe}.certificate-qr-image{display:grid;width:120px;height:120px;flex:0 0 auto;place-items:center;overflow:hidden;border:1px solid #d8e1e3;border-radius:7px;background:#fff;color:var(--primary-dark);padding:6px}.certificate-qr-image img{display:block;width:100%;height:100%;object-fit:contain}.certificate-qr-copy strong{font-size:1.05rem}.certificate-qr-copy small{white-space:normal}.business-workspace.is-device-detail-workspace{display:block;overflow:hidden;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.device-detail-page{height:100%;overflow-x:hidden;overflow-y:auto;padding:24px 28px 32px;overscroll-behavior:contain;scrollbar-gutter:stable}.mobile-app-bar,.mobile-sidebar-backdrop,.mobile-sidebar-close{display:none}.device-detail-page>*{width:min(100%,1200px);margin-right:auto;margin-left:auto}.device-detail-breadcrumb{display:flex;align-items:center;gap:5px;margin-bottom:12px;color:var(--muted);font-size:.82rem}.device-detail-breadcrumb button{border:0;background:transparent;color:var(--primary-dark);padding:4px 0;font-weight:750}.device-detail-breadcrumb button:hover{text-decoration:underline;text-underline-offset:3px}.device-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.device-detail-heading{display:flex;min-width:0;align-items:flex-start;gap:14px}.device-detail-heading h2{margin:0 0 8px;color:var(--text);font-size:clamp(1.55rem,2.2vw,2.1rem);line-height:1.2;overflow-wrap:anywhere}.device-detail-back{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);padding:0;transition:border-color .18s ease,background .18s ease,color .18s ease}.device-detail-back:hover{border-color:#8ac6bd;background:var(--primary-soft);color:var(--primary-dark)}.device-detail-meta,.device-detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.device-detail-meta>span:first-child{color:var(--muted);font-size:.88rem;font-weight:650}.device-key-metrics{margin-bottom:18px}.device-key-metrics>h3{margin:0 0 10px;color:var(--text);font-size:.94rem}.device-key-metric-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1.65fr) minmax(0,1fr) minmax(0,1fr);gap:14px}.device-key-metric{display:flex;min-width:0;min-height:98px;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:18px 20px}.device-key-metric[role=button]{cursor:copy;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.device-key-metric[role=button]:hover{border-color:#8ac6bd;background:#fbfefd;box-shadow:0 8px 22px #0f766e14}.device-key-metric[role=button]:focus-visible{outline:3px solid rgba(15,118,110,.25);outline-offset:2px}.device-key-metric>svg{flex:0 0 auto;color:var(--primary)}.device-key-metric div{display:grid;min-width:0;gap:7px}.device-key-metric span{color:var(--muted);font-size:.8rem;font-weight:800}.device-key-metric strong{color:var(--text);font-size:clamp(1.12rem,1.6vw,1.4rem);line-height:1.3;overflow-wrap:anywhere}.device-detail-content{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,1fr);gap:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.device-detail-card{min-width:0;border:0;border-radius:0;background:transparent;padding:18px 20px}.device-detail-card-wide{grid-column:1 / -1;border-bottom:1px solid var(--line)}.device-notice-card{border-right:1px solid var(--line)}.device-relation-card{padding-top:9px;padding-bottom:9px}.device-relation-card .device-detail-section-head{border-bottom:0}#device-technical{padding-top:8px;padding-bottom:8px}.device-notice-card,.device-installation-card{padding-top:14px;padding-bottom:14px}.device-detail-section-head{margin-bottom:0;border-bottom:1px solid #e8edef;padding-bottom:8px}.device-detail-section-head h3{margin:0;color:var(--text);font-size:1rem}.device-detail-data-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px}.device-detail-data-grid>div{padding:14px 0 12px}.device-detail-data-grid .device-detail-address{grid-column:1 / -1}.device-detail-card-wide .device-detail-data-grid>div:nth-child(n+4){border-top:1px solid #edf1f2}#device-technical .device-detail-data-grid{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:2px}#device-technical .device-detail-data-grid>div:nth-child(-n+4){border-top:0}#device-technical .device-detail-data-grid>div:nth-child(n+5){border-top:0}#device-technical .device-detail-data-grid>div{padding-top:10px;padding-bottom:9px}#device-technical .device-detail-buffer-field{grid-row:span 2;border-left:1px solid #e2e9ea;padding-left:20px}.device-detail-data-grid dt{color:#526673;font-size:.74rem;font-weight:750}.device-detail-data-grid dd{margin-top:5px;font-size:.94rem;line-height:1.45}.device-detail-identifier-list{display:grid;width:fit-content;grid-template-columns:repeat(2,max-content);gap:0 18px}.device-detail-identifier-list>span{min-width:88px;padding:0 0 5px;font-variant-numeric:tabular-nums;white-space:nowrap}.device-detail-identifier-list:has(>span:nth-child(3))>span:nth-child(-n+2){border-bottom:1px solid #dfe7e8}.device-detail-identifier-list>span:nth-child(n+3){padding-top:5px;padding-bottom:0}.device-detail-data-grid dd:not(.detail-no-copy){cursor:pointer;transition:color .16s ease}.device-detail-data-grid dd:not(.detail-no-copy):hover{color:var(--primary-dark)}.device-detail-relations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:5px}.device-detail-relations button{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #d7e4e3;border-radius:6px;background:#fff;color:var(--primary-dark);min-height:56px;padding:12px 16px;text-align:left;transition:border-color .18s ease,background .18s ease}.device-detail-relations button:hover{border-color:#9bcac5;background:var(--primary-soft)}.device-notice-grid,.device-installation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.device-notice-grid>div,.device-installation-grid>div{padding-top:7px;padding-bottom:7px}.device-notice-grid dt,.device-installation-grid dt{line-height:1.25}.device-notice-grid dd,.device-installation-grid dd{line-height:1.35}.device-notice-grid>div:nth-child(n+3){border-top:1px solid #edf1f2}.device-installation-grid .span-2{grid-column:1 / -1}.device-detail-remark dd{white-space:pre-wrap;overflow-wrap:anywhere}.device-certificate-link{display:inline-flex;max-width:100%;align-items:center;gap:5px;border:0;background:transparent;padding:0;color:var(--primary-dark);font:inherit;font-weight:750;text-align:left;cursor:pointer}.device-certificate-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-certificate-link svg{flex:0 0 auto}.device-certificate-link:hover span{text-decoration:underline;text-underline-offset:3px}.device-certificate-link:focus-visible{border-radius:4px;outline:3px solid rgba(15,118,110,.22);outline-offset:3px}.device-installation-grid>div:nth-child(n+3){border-top:1px solid #edf1f2}.device-detail-relations button>span{display:grid;min-width:0;gap:2px}.device-detail-relations small,.device-detail-relations em{color:var(--muted);font-size:.76rem;font-style:normal}.device-detail-relations strong{color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-detail-empty{height:100%}@media(max-width:1020px){.device-key-metric-grid,.device-detail-data-grid,#device-technical .device-detail-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.device-detail-card-wide .device-detail-data-grid>div:nth-child(n+3),#device-technical .device-detail-data-grid>div:nth-child(n+3){border-top:1px solid #edf1f2}}@media(max-width:760px){.business-workspace.is-device-detail-workspace{overflow:visible}.device-detail-page{height:auto;overflow:visible;padding:18px}.device-detail-hero,.device-detail-section-head{align-items:flex-start;flex-direction:column}.device-detail-actions,.device-detail-actions .button{width:100%}.device-key-metric-grid,.device-detail-content,.device-detail-data-grid,.device-detail-relations{grid-template-columns:1fr}.device-detail-data-grid .span-2,.device-detail-card-wide,.device-installation-grid .span-2{grid-column:auto}.device-detail-data-grid>div:nth-child(n+2),#device-technical .device-detail-data-grid>div:nth-child(n+2){border-top:1px solid #edf1f2}#device-technical .device-detail-buffer-field{grid-row:auto;border-left:0;padding-left:0}.device-detail-card-wide,.device-notice-card{border-right:0;border-bottom:1px solid var(--line)}}.relation-back-button{max-width:180px}.relation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.relation-grid.compact{grid-template-columns:1fr;margin-bottom:14px}.relation-card{display:grid;gap:12px;min-width:0;border:1px solid #b7d9d5;border-radius:8px;background:var(--primary-soft);padding:12px}.relation-card-head{display:flex;min-width:0;align-items:flex-start;gap:10px}.relation-card-head svg{flex:0 0 auto;color:var(--primary);margin-top:2px}.relation-card-head div{display:grid;min-width:0;gap:3px}.relation-card-head span,.relation-group h4{color:var(--muted);font-size:.76rem;font-weight:850}.relation-card-head strong{overflow:hidden;color:var(--text);font-size:.98rem;text-overflow:ellipsis;white-space:nowrap}.relation-card-head small,.relation-row-main small{overflow:hidden;color:var(--muted);font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.relation-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.relation-group{display:grid;min-width:0;gap:9px}.relation-group h4{margin:0}.relation-list{display:grid;gap:8px}.relation-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:9px 10px;text-align:left;transition:background .16s ease,border-color .16s ease,color .16s ease}.relation-row:hover,.relation-row:focus-visible{border-color:#b7d9d5;background:#f4fbfa}.relation-row>svg{color:var(--primary)}.relation-row-main{display:grid;min-width:0;gap:3px}.relation-row-main strong{overflow:hidden;font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}.relation-empty{margin:0;border:1px dashed var(--line);border-radius:8px;color:var(--muted);padding:12px;font-size:.86rem;text-align:center}.relation-empty.compact{padding:9px 10px;text-align:left}.customer-relation-flow{display:grid;gap:10px}.customer-relation-card{overflow:hidden;border:1px solid #c6dad8;border-radius:8px;background:#fff}.customer-relation-order{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;background:linear-gradient(180deg,#f4fbfa,#eef8f7);border-bottom:1px solid #d4e4e2;padding:12px}.relation-icon-tile{display:grid;width:36px;height:36px;border:1px solid #b7d9d5;border-radius:8px;place-items:center;background:#fff;color:var(--primary)}.customer-relation-title{display:grid;min-width:0;gap:3px}.customer-relation-title span,.customer-relation-subhead span{color:var(--muted);font-size:.74rem;font-weight:850}.customer-relation-title strong{overflow:hidden;color:var(--text);font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.customer-relation-title small{overflow:hidden;color:var(--muted);font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.customer-relation-devices{display:grid;gap:8px;padding:10px 12px 12px}.customer-relation-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px}.customer-relation-subhead strong{color:var(--text);font-size:.8rem}.customer-device-list{display:grid;gap:7px}.customer-device-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;width:100%;border:1px solid #e1e9e8;border-radius:7px;background:#fbfdfd;color:var(--text);padding:8px 10px;text-align:left;transition:background .16s ease,border-color .16s ease}.customer-device-row:hover,.customer-device-row:focus-visible{border-color:#b7d9d5;background:#f4fbfa}.customer-device-row>svg{color:var(--primary)}.record-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px}.customer-form{align-items:start}.customer-company-assist{display:grid;grid-column:1 / -1;gap:10px;border:1px solid #c8e2de;border-radius:8px;background:#f4faf9;padding:13px 14px}.customer-company-assist-title{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px}.customer-company-assist-title>span:nth-child(2){display:grid;min-width:0;gap:2px}.customer-company-assist-title strong{color:var(--text);font-size:.88rem}.customer-company-assist-title small{color:var(--muted);font-size:.77rem;line-height:1.45}.customer-company-assist-title>svg{color:var(--primary)}.customer-company-match{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid #b9d9d5;border-radius:7px;background:#fff;padding:12px}.customer-company-match.duplicate{border-color:#efcfaa;background:#fffaf4}.customer-company-match>div:first-child{display:grid;min-width:0;justify-items:start;gap:5px}.customer-company-match strong,.customer-company-match small,.customer-company-match p{overflow-wrap:anywhere}.customer-company-match strong{color:var(--text);font-size:.94rem}.customer-company-match small{color:var(--muted);font-size:.78rem}.customer-company-match p{margin:2px 0 0;color:#93561d;font-size:.8rem;font-weight:750}.customer-company-match-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.customer-company-query-time{color:#466a66!important;font-variant-numeric:tabular-nums}.customer-company-field-picker{display:grid;width:100%;gap:7px;margin:6px 0 0;border:0;padding:0}.customer-company-field-picker legend{margin-bottom:3px;color:var(--text);font-size:.78rem;font-weight:750}.customer-company-field-picker label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:9px;width:100%;border:1px solid #d8e6e4;border-radius:7px;background:#fbfdfd;padding:8px 9px;cursor:pointer}.customer-company-field-picker label.conflict{border-color:#ecd2ad;background:#fffaf3}.customer-company-field-picker input{width:17px;height:17px;margin-top:2px;accent-color:var(--primary)}.customer-company-field-picker label>span:nth-child(2){display:grid;min-width:0;gap:2px}.customer-company-field-picker label strong{font-size:.82rem}.customer-company-field-picker label small{line-height:1.4}.customer-company-candidates{display:grid;gap:8px;border-top:1px solid #c8e2de;padding-top:10px}.customer-company-candidates>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-company-candidates>header>div{display:grid;min-width:0;gap:2px}.customer-company-candidates strong{color:var(--text);font-size:.85rem}.customer-company-candidates small{color:var(--muted);font-size:.76rem;line-height:1.45}.customer-company-candidate-list{display:grid;max-height:230px;overflow-y:auto;border-top:1px solid #d9e8e5}.customer-company-candidate-list>button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;border:0;border-bottom:1px solid #d9e8e5;background:transparent;color:inherit;padding:10px 4px;text-align:left;cursor:pointer}.customer-company-candidate-list>button:hover{background:#edf7f5}.customer-company-candidate-list>button>span:first-child{display:grid;min-width:0;gap:3px}.customer-company-candidate-list strong,.customer-company-candidate-list small{overflow-wrap:anywhere}.customer-company-candidate-action{display:inline-flex;align-items:center;gap:4px;color:var(--primary);font-size:.76rem;font-weight:800;white-space:nowrap}.customer-company-assist-error,.company-profile-error{display:flex;align-items:flex-start;gap:8px;margin:0;border:1px solid #f2caca;border-radius:6px;background:#fff5f5;color:#a63737;padding:9px 10px;font-size:.8rem;line-height:1.5}.customer-company-assist-error>svg,.company-profile-error>svg{flex:0 0 auto;margin-top:1px}.company-profile-section .detail-section-head>div{display:grid;gap:4px}.company-profile-section .detail-section-head p{margin:0;color:var(--muted);font-size:.78rem;line-height:1.45}.company-profile-result{display:grid;gap:8px}.company-profile-result>header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.76rem;font-weight:750}.company-profile-module{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff}.company-profile-module summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:42px;cursor:pointer;padding:10px 12px;list-style:none}.company-profile-module summary::-webkit-details-marker{display:none}.company-profile-module summary:hover,.company-profile-module summary:focus-visible{background:#f6faf9}.company-profile-module summary strong{color:var(--text);font-size:.84rem}.company-profile-module summary span{color:var(--muted);font-size:.74rem;font-weight:750}.company-profile-module dl{display:grid;max-height:380px;margin:0;overflow:auto;border-top:1px solid var(--line)}.company-profile-module dl>div{display:grid;grid-template-columns:minmax(118px,.42fr) minmax(0,1fr);gap:12px;padding:9px 12px}.company-profile-module dl>div+div{border-top:1px solid #edf1f1}.company-profile-module dt,.company-profile-module dd{margin:0;overflow-wrap:anywhere;font-size:.78rem;line-height:1.5}.company-profile-module dt{color:var(--muted);font-weight:750}.company-profile-module dd{color:var(--text)}.order-form .field{align-content:start}.form-fieldset{display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;margin:0;border:1px solid var(--line);border-radius:8px;padding:16px}.form-fieldset legend{padding:0 8px;color:var(--muted);font-size:.84rem;font-weight:850}.field.span-2{grid-column:1 / -1}.field small{color:var(--muted);font-size:.78rem}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.field-label-row>label{color:#31424d;font-size:.82rem;font-weight:700}.field-inline-action{display:inline-flex;align-items:center;gap:5px;min-height:28px;border:0;border-radius:6px;background:transparent;color:var(--primary);padding:3px 6px;font-size:.78rem;font-weight:800;cursor:pointer;transition:background-color .18s ease,color .18s ease}.field-inline-action:hover:not(:disabled){background:var(--primary-soft)}.field-inline-action:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.field-inline-action:disabled{cursor:not-allowed;opacity:.55}.relation-picker{position:relative;min-width:0}.relation-picker-control{position:relative;display:flex;min-width:0;align-items:center}.relation-picker-search-icon{position:absolute;left:12px;z-index:1;color:var(--muted);pointer-events:none}.relation-picker-input{width:100%;min-width:0;min-height:46px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:10px 66px 10px 36px;color:var(--text)}.relation-picker-input::placeholder{color:#7a8991}.relation-picker-input::-webkit-search-cancel-button,.relation-picker-input::-webkit-search-decoration{display:none;appearance:none}.relation-picker-input::-ms-clear,.relation-picker-input::-ms-reveal{display:none;width:0;height:0}.relation-picker.is-open .relation-picker-input,.relation-picker-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #0f766e1f;outline:none}.relation-picker-clear,.relation-picker-chevron{position:absolute;top:50%;color:var(--muted);transform:translateY(-50%)}.relation-picker-clear{right:32px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:0;border-radius:5px;background:transparent;padding:0}.relation-picker-clear:hover{background:var(--slate-soft);color:var(--text)}.relation-picker-chevron{right:10px;pointer-events:none;transition:transform .16s ease}.relation-picker.is-open .relation-picker-chevron{transform:translateY(-50%) rotate(180deg)}.relation-picker-menu{position:absolute;top:calc(100% + 6px);right:0;left:0;z-index:30;display:flex;flex-direction:column;max-height:300px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 16px 30px #10232d29;padding:6px}.relation-picker-selection{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;margin:-1px -1px 5px;border-bottom:1px solid var(--line);padding:8px 8px 10px}.relation-picker-selection-copy{display:grid;min-width:0;gap:2px}.relation-picker-selection-copy strong,.relation-picker-selection-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relation-picker-selection-copy strong{color:var(--primary);font-size:.86rem;font-weight:850}.relation-picker-selection-copy span{color:var(--muted);font-size:.74rem}.relation-picker-selection-clear{flex:0 0 auto;border:1px solid var(--line);border-radius:5px;background:var(--surface);padding:5px 8px;color:var(--muted);font-size:.72rem;font-weight:700}.relation-picker-selection-clear:hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.relation-picker-options{display:grid;flex:1 1 auto;gap:2px;min-height:0;overflow-y:auto}.relation-picker-menu-footer{display:flex;flex-wrap:wrap;gap:10px;margin:5px -1px -1px;border-top:1px solid var(--line);padding:8px 7px 2px;color:var(--muted);font-size:.7rem}.relation-picker-menu-footer span{display:inline-flex;align-items:center;gap:3px}.relation-picker-menu-footer kbd{min-width:17px;border:1px solid var(--line);border-radius:3px;background:var(--slate-soft);padding:1px 3px;color:var(--text);font:inherit;font-size:.68rem;text-align:center}.relation-picker-option{display:grid;min-width:0;gap:2px;border:0;border-radius:6px;background:transparent;padding:9px 10px;text-align:left}.relation-picker-option:hover,.relation-picker-option.highlighted,.relation-picker-option.selected{background:var(--primary-soft)}.relation-picker-option.highlighted{box-shadow:inset 2px 0 0 var(--primary);outline:none}.relation-picker-option-main{overflow:hidden;color:var(--text);font-size:.9rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.relation-picker-option-meta{overflow:hidden;color:var(--muted);font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.relation-picker-empty{margin:0;padding:18px 12px;color:var(--muted);font-size:.82rem;text-align:center}.checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.checkbox-grid.disabled{opacity:.62}.checkbox-card{display:flex;min-height:44px;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px 12px;color:var(--text);font-weight:750}.checkbox-card:has(input:checked){border-color:#b7d9d5;background:var(--primary-soft)}.checkbox-card input{width:18px;min-height:18px;accent-color:var(--primary)}.form-field-action{display:flex;grid-column:1 / -1;justify-content:flex-start}.certificate-match-note{display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid var(--line);border-radius:8px;background:#f8fbfb;padding:12px}.certificate-match-note div{display:grid;min-width:0;gap:4px}.certificate-match-note .span-2{grid-column:1 / -1}.certificate-match-note span{color:var(--muted);font-size:.76rem;font-weight:850}.certificate-match-note strong{overflow-wrap:anywhere;color:var(--text);font-size:.88rem}.certificate-adoption-fields{display:grid;gap:9px;border-bottom:1px solid rgba(148,163,184,.3);padding-bottom:12px}.certificate-adoption-heading{display:grid;gap:3px}.certificate-adoption-heading small{color:var(--muted);font-size:.8rem;line-height:1.5}.certificate-adoption-field{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;border:1px solid rgba(148,163,184,.32);border-radius:8px;background:#ffffffc7;padding:10px;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}.certificate-adoption-field:hover{border-color:#0d948885}.certificate-adoption-field:focus-within{outline:3px solid rgba(13,148,136,.18);outline-offset:1px}.certificate-adoption-field.conflict{border-color:#d977066b;background:#fffbebeb}.certificate-adoption-field input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--primary)}.certificate-adoption-copy{display:grid;gap:3px;min-width:0}.certificate-adoption-copy small{overflow-wrap:anywhere;color:var(--muted);font-size:.8rem;line-height:1.45}.certificate-adoption-copy em{width:fit-content;border-radius:999px;background:#fef3c7;padding:2px 7px;color:#92400e;font-size:.72rem;font-style:normal;font-weight:800}.certificate-adoption-action{justify-self:start}.certificate-match-detail p,.certificate-match-actions p{margin:0;color:var(--text);font-size:.86rem;line-height:1.55}.certificate-match-candidates ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.certificate-match-candidates li{display:grid;grid-template-columns:minmax(110px,auto) minmax(0,1fr) minmax(120px,auto);gap:10px;align-items:center;border:1px solid rgba(148,163,184,.28);border-radius:8px;background:#ffffffa3;padding:8px 10px}.certificate-match-candidates em,.certificate-match-candidates small{min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:.82rem;font-style:normal;font-weight:750}.certificate-match-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(148,163,184,.28);padding-top:10px}.certificate-match-note.success{border-color:#16a34a47;background:#f0fdf4d1}.certificate-match-note.warning{border-color:#d9770647;background:#fffbebe6}.certificate-match-note.error{border-color:#dc262642;background:#fef2f2db}.certificate-backfill-modal{width:min(820px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;border-radius:14px;background:var(--surface);box-shadow:0 24px 70px #0f172a47}.certificate-backfill-form{grid-template-columns:repeat(2,minmax(0,1fr))}.linked-customer-card{border:1px solid #b7d9d5;border-radius:8px;background:var(--primary-soft);padding:12px}.linked-customer-card strong{color:var(--text);font-size:1rem}.linked-customer-card small{overflow-wrap:anywhere;color:var(--muted);font-size:.82rem}.qr-preview{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);padding:14px 16px}.qr-preview div{display:grid;gap:3px}.qr-preview span{color:var(--muted);font-size:.84rem;font-weight:850}.qr-preview img{width:112px;height:112px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px}.modal-actions{grid-column:1 / -1;justify-content:flex-end;border-top:1px solid var(--line);padding-top:16px}.toast{position:fixed;top:20px;left:50%;display:flex;min-height:44px;max-width:min(420px,calc(100vw - 40px));align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:12px 14px;box-shadow:0 14px 36px #0f172a29;transform:translate(-50%);z-index:100;animation:toast-lifecycle 2.6s ease both}@keyframes toast-lifecycle{0%{opacity:0;transform:translate(-50%,-10px)}8%,88%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-6px)}}.toast.success svg{color:var(--green)}.toast.error svg{color:var(--red)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.toast{animation:none!important}}@media(max-width:1100px){.sidebar-toggle{display:none}body.mobile-sidebar-open{overflow:hidden}.mobile-app-bar{position:sticky;top:0;z-index:50;display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);background:#fffffff5;padding:10px 18px;box-shadow:0 4px 18px #0f172a0f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-app-brand{display:flex;min-width:0;align-items:center;gap:11px}.mobile-app-brand .brand-mark{width:40px;height:40px;flex:0 0 40px}.mobile-app-brand>span:last-child{display:grid;min-width:0;gap:1px}.mobile-app-brand small{color:var(--muted);font-size:.66rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.mobile-app-brand strong{color:var(--text);font-size:1rem}.mobile-menu-button,.mobile-sidebar-close{width:42px;height:42px;flex:0 0 42px;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text)}.mobile-menu-button,.mobile-sidebar-close{display:inline-grid}.mobile-menu-button:hover,.mobile-sidebar-close:hover{border-color:#8ac6bd;background:var(--primary-soft);color:var(--primary-dark)}.mobile-sidebar-backdrop{position:fixed;inset:0;z-index:55;display:block;width:100%;height:100%;border:0;background:#0f172a6b;padding:0;animation:mobile-sidebar-backdrop-in .18s ease both}.system-settings-page{grid-template-columns:1fr}.system-settings-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.qibook-test-panel{grid-template-columns:1fr}body{overflow:auto}.app-shell{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:visible}.sidebar{position:fixed;inset:0 auto 0 0;z-index:60;width:min(340px,calc(100vw - 44px));height:100dvh;border-right:1px solid var(--line);border-bottom:0;box-shadow:18px 0 44px #0f172a29;overflow-x:hidden;overflow-y:auto;transform:translate(-105%);transition:transform .22s ease}.sidebar.mobile-open{transform:translate(0)}.workspace{overflow:visible}@keyframes mobile-sidebar-backdrop-in{0%{opacity:0}to{opacity:1}}.business-workspace{gap:16px}.import-panel-main,.import-method-heading{align-items:stretch;flex-direction:column}.import-actions{justify-content:flex-start}.import-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.export-format-grid{grid-template-columns:1fr}.business-workspace .toolbar{position:sticky;top:0;z-index:5;box-shadow:0 10px 24px #0f172a14}.toolbar-metrics{display:none!important}.table-section{flex:none}.table-shell{max-height:68vh}.collection-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.metrics,.toolbar,.customer-toolbar,.order-toolbar,.device-toolbar,.certificate-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.customer-toolbar,.order-toolbar,.device-toolbar,.certificate-toolbar,.system-settings-nav,.qibook-credential-grid,.qibook-capability-list,.qibook-test-controls{grid-template-columns:1fr}.system-settings-nav button,.system-settings-nav-link{min-height:52px}.system-audit-card .audit-filter-form{grid-template-columns:1fr}.system-audit-card .audit-filter-actions{grid-column:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.system-audit-card .audit-filter-actions .button{width:100%;min-width:0}.system-update-status{grid-template-columns:auto minmax(0,1fr)}.system-update-status .button{grid-column:1 / -1;width:100%;justify-content:center}.motor-catalog-actions{align-items:stretch;flex-direction:column}.motor-catalog-actions .button{width:100%;justify-content:center}.device-motor-settings-row{grid-template-columns:1fr 1fr}.device-motor-enabled{grid-column:1}.motor-delete-button{grid-column:2;justify-self:end}.qibook-test-panel{margin-right:18px;margin-left:18px}.qibook-test-controls .button{width:100%}.customer-company-match{grid-template-columns:1fr}.customer-company-match-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.customer-company-match-actions .button{width:100%}.customer-company-candidates>header{align-items:stretch;flex-direction:column}.customer-company-candidates>header .button{width:100%}.customer-company-candidate-list>button{grid-template-columns:minmax(0,1fr) auto}.company-profile-section .detail-section-head,.company-profile-result>header{align-items:stretch;flex-direction:column}.company-profile-section .detail-section-head .button{width:100%}.company-profile-module dl>div{grid-template-columns:1fr;gap:3px}.record-modal.sync-drawer{width:100%;border-radius:0}.sync-drawer-header{padding:14px 16px}.sync-mode-switch{padding:10px 16px}.sync-import-layout,.sync-export-layout{grid-template-columns:1fr;overflow:auto}.sync-import-layout,.sync-export-layout{display:block}.feishu-bridge-heading{grid-template-columns:1fr;gap:14px}.feishu-bridge-heading-actions{width:100%;border-left:0;padding-left:0}.feishu-bridge-compare-button{flex:1 1 auto}.export-scope-field{grid-template-columns:1fr;gap:7px}.excel-import-file-panel{grid-template-columns:38px minmax(0,1fr)}.excel-import-file-icon{width:38px;height:38px}.excel-import-file-status{grid-column:2;justify-self:start}.excel-import-file-actions{grid-column:1 / -1}.excel-import-file-actions .button{flex:1 1 auto}.json-import-compatibility{align-self:flex-start}.import-preview-head{align-items:stretch;flex-direction:column}.import-preview-head .button{width:100%;justify-content:center}.sync-method-nav,.sync-export-layout .export-format-grid{position:sticky;top:0;z-index:1;grid-auto-columns:minmax(92px,1fr);grid-auto-flow:column;grid-template-columns:none;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px}.sync-method-nav{display:flex;min-height:75px;align-items:stretch;gap:2px;overflow-y:hidden}.sync-method-nav button{flex:0 0 92px;grid-template-columns:1fr;min-height:58px;justify-items:center;gap:5px;padding:7px 5px;text-align:center}.sync-method-nav button.active,.sync-export-layout .export-format-card.selected{box-shadow:inset 0 -3px 0 var(--primary)}.sync-method-nav em,.sync-export-layout .export-format-card em,.sync-export-layout .export-format-card input{display:none}.sync-import-content,.sync-export-detail{overflow:visible;padding:16px}.sync-stepper strong{font-size:.7rem}.sync-stepper div+div:before{width:8px}.sync-export-layout .export-format-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sync-export-layout .export-format-card{grid-template-columns:1fr;min-height:60px;justify-items:center;gap:5px;padding:7px 4px;text-align:center}.sync-export-detail>.modal-actions{bottom:-16px;margin:auto -16px -16px;padding:12px 16px}.workspace,.sidebar{padding:18px}.customer-sidebar{gap:12px;padding:14px 16px}.customer-sidebar .brand-mark{width:42px;height:42px}.customer-sidebar .nav-list{grid-template-columns:1fr;gap:12px;padding-top:12px}.customer-sidebar .nav-section{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.customer-sidebar .nav-section-title{grid-column:1 / -1;margin-bottom:1px;padding:0 4px 7px}.customer-sidebar .nav-item{min-height:44px;gap:7px;padding:8px}.customer-sidebar .nav-item span{overflow:hidden;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}.customer-sidebar .nav-item strong{min-width:24px;padding:2px 5px;font-size:.72rem}.customer-sidebar .sidebar-settings-entry{margin-top:0}.workspace-header,.header-actions{align-items:stretch;flex-direction:column}.header-actions .button,.header-actions .icon-button{width:100%}.metrics,.toolbar,.import-summary-grid,.feishu-settings-grid,.system-settings-meta,.record-form,.form-fieldset,.detail-grid,.relation-grid,.relation-split{grid-template-columns:1fr}.customer-identity-head{grid-template-columns:auto minmax(0,1fr)}.customer-identity-number{grid-column:2;justify-self:start}.customer-identity-grid,.customer-contact-row,.delete-confirm-detail-list{grid-template-columns:1fr}.import-actions{display:grid;grid-template-columns:1fr}.import-actions .button,.import-actions .icon-button{width:100%}.sync-stage-row{grid-template-columns:1fr}.sync-status-badge{justify-self:flex-start}.feishu-compare-section-head,.feishu-diff-card header{align-items:flex-start;flex-direction:column}.feishu-compare-section-head span{text-align:left}.feishu-field-diffs div{grid-template-columns:1fr}.feishu-settings-actions{align-items:stretch;flex-direction:column}.feishu-bridge-actions{grid-template-columns:1fr}.feishu-bridge-bulkbar{position:static;align-items:stretch;flex-direction:column}.feishu-bridge-bulkbar>div{display:grid;grid-template-columns:1fr}.feishu-bridge-bulkbar .button{width:100%}.feishu-bridge-diff-card header{display:grid;grid-template-columns:minmax(0,1fr) auto}.feishu-bridge-diff-card header>strong{grid-column:1 / -1}.feishu-diff-actions{grid-column:2;grid-row:1}.system-settings-card{width:100%}.system-settings-actions{align-items:stretch;flex-direction:column-reverse}.system-settings-actions .button{width:100%}.system-settings-meta>div+div{border-top:1px solid var(--line);border-left:0}.system-settings-form-section,.system-settings-head,.system-settings-actions{padding-right:18px;padding-left:18px}.system-settings-note,.numbering-settings-card .system-settings-section-copy,.numbering-rule-card{margin-right:18px;margin-left:18px}.numbering-rule-head{align-items:flex-start;flex-direction:column}.numbering-token-row{grid-template-columns:minmax(0,1fr) auto}.numbering-token-row>select,.numbering-token-row>input,.numbering-token-row>.numbering-sequence-field{grid-column:1}.numbering-token-row>.numbering-token-actions{grid-column:2;grid-row:1}.system-settings-form-grid{grid-template-columns:1fr}.motor-catalog-head{align-items:flex-start}.motor-catalog-actions{flex-direction:row;align-items:center;width:100%;justify-content:space-between}.motor-catalog-actions .button{width:auto;flex:0 0 auto}.device-motor-table-head{display:none}.device-motor-settings-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;gap:10px;padding:12px}.motor-field>span{display:block}.motor-model-field{grid-column:1 / -1}.device-motor-enabled{align-self:end;min-height:38px}.motor-delete-button{align-self:end}.system-settings-section-head{align-items:flex-start;flex-direction:column}.export-sync-head{align-items:stretch;flex-direction:column}.export-sync-head .button,.feishu-settings-actions .button{width:100%}.field.span-2,.detail-grid .span-2{grid-column:auto}.certificate-status-summary{grid-template-columns:1fr}.certificate-status-item{min-height:54px;justify-content:space-between;padding:10px 13px}.certificate-status-item+.certificate-status-item{border-top:1px solid #dbe7e8;border-left:0}.certificate-qr-panel{align-items:flex-start}.certificate-qr-image{width:104px;height:104px}.relation-row{grid-template-columns:auto minmax(0,1fr) auto}.relation-row .status-chip{display:none}.customer-relation-order{grid-template-columns:auto minmax(0,1fr)}.customer-relation-order .button{grid-column:1 / -1;width:100%}.customer-device-row{grid-template-columns:auto minmax(0,1fr) auto}.customer-device-row .status-chip{display:none}.modal-backdrop{align-items:stretch}.record-modal,.customer-modal,.device-modal{width:100%;border-radius:0}.modal-header{align-items:flex-start}.drawer-header-actions{flex-wrap:wrap;justify-content:flex-end}.checkbox-grid{grid-template-columns:1fr}.modal-actions{flex-direction:column-reverse}.modal-actions .button{width:100%}.certificate-match-note{grid-template-columns:1fr}.certificate-match-note .span-2{grid-column:auto}.certificate-adoption-action{width:100%}.certificate-match-candidates li{grid-template-columns:1fr}.certificate-match-actions{align-items:stretch;flex-direction:column}.certificate-match-actions .button{width:100%}.modal-backdrop.confirm-backdrop.certificate-backfill-backdrop{align-items:stretch;padding:0}.certificate-backfill-modal{width:100%;max-height:100vh;border-radius:0}.modal-backdrop.confirm-backdrop.update-backdrop,.modal-backdrop.confirm-backdrop.device-code-test-backdrop{align-items:stretch;padding:0}.update-modal,.device-code-test-modal{width:100%;max-height:100vh;border-radius:0}.update-version-grid{grid-template-columns:1fr}.update-version-grid .span-2{grid-column:auto}.qr-preview{align-items:flex-start;flex-direction:column}.customer-table,.order-table,.device-table,.certificate-table{min-width:0}.customer-table thead,.order-table thead,.device-table thead,.certificate-table thead{display:none}.customer-table,.order-table,.device-table,.certificate-table,.customer-table tbody,.order-table tbody,.device-table tbody,.certificate-table tbody,.customer-table tr,.order-table tr,.device-table tr,.certificate-table tr,.customer-table td,.order-table td,.device-table td,.certificate-table td{display:block;width:100%}.customer-table tr,.order-table tr,.device-table tr,.certificate-table tr{border-bottom:1px solid var(--line);padding:8px 0}.customer-table tr:last-child,.order-table tr:last-child,.device-table tr:last-child,.certificate-table tr:last-child{border-bottom:0}.customer-table td,.order-table td,.device-table td,.certificate-table td{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:start;gap:12px;border-bottom:0;padding:10px 16px}.customer-table tbody tr>td:nth-child(n),.order-table tbody tr>td:nth-child(n),.device-table tbody tr>td:nth-child(n),.certificate-table tbody tr>td:nth-child(n){width:100%;max-width:none;min-width:0}.order-table th:last-child,.order-table td:last-child,.order-table th:nth-child(8),.order-table td:nth-child(8),.certificate-table th:last-child,.certificate-table td:last-child,.certificate-table th:nth-child(7),.certificate-table td:nth-child(7){position:static;box-shadow:none}.customer-table .stacked-cell,.order-table .stacked-cell,.device-table .stacked-cell,.certificate-table .stacked-cell{min-width:0}.customer-table td:before,.order-table td:before,.device-table td:before,.certificate-table td:before{content:attr(data-label);color:var(--muted);font-size:.78rem;font-weight:850}.customer-table .row-actions,.order-table .row-actions,.device-table .row-actions,.certificate-table .row-actions{justify-content:flex-start}.wide-cell,.address-text,.remark-text{max-width:none;min-width:0}}@media print{body{overflow:visible;background:#fff;print-color-adjust:exact;-webkit-print-color-adjust:exact}.sidebar,.workspace-header,.document-toolbar,[data-print=ignore],[data-document-pack-print-exclude=active],.document-package-style-inspector,.document-package-inspector-highlight,.toast,.modal-backdrop{display:none!important}.app-shell,.workspace,.business-workspace,.document-workspace,.document-package-workspace,.document-preview-panel,.document-package-preview-panel,.document-preview-shell,.document-package-preview-shell{display:block!important;width:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;border:0!important;background:#fff!important}.workspace>:not(.document-workspace){display:none!important}}.machine-file-drawing-backdrop{align-items:stretch;justify-content:center;padding:18px;z-index:25}.machine-file-drawing-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1440px,100%);height:calc(100vh - 36px);min-height:0;overflow:hidden;border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.machine-file-drawing-header{position:relative}.machine-file-pdf-upload{position:relative;overflow:hidden}.machine-file-pdf-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.machine-file-drawing-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:0}.machine-file-drawing-viewer{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;border-right:1px solid var(--line);background:#edf3f5}.machine-file-drawing-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);background:#fff;padding:8px 10px}.machine-file-drawing-file,.machine-file-drawing-controls{display:inline-flex;min-width:0;align-items:center;gap:8px}.machine-file-drawing-file span{min-width:0;overflow:hidden;color:var(--text);font-size:.84rem;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.machine-file-drawing-controls strong,.machine-file-drawing-controls span{color:var(--muted);font-size:.82rem;font-weight:850;white-space:nowrap}.machine-file-drawing-stage{min-width:0;min-height:0;overflow:auto;padding:18px}.machine-file-drawing-empty{display:grid;min-height:360px;place-items:center;align-content:center;gap:10px;border:1px dashed #b8cbd1;border-radius:8px;background:#fff;color:var(--muted);font-size:.92rem;font-weight:850}.machine-file-drawing-canvas-wrap{position:relative;width:max-content;margin:0 auto;background:#fff;box-shadow:0 8px 24px #0f172a29}.machine-file-pdf-canvas{display:block;cursor:crosshair;-webkit-user-select:none;user-select:none}.machine-file-drawing-selection{position:absolute;border:2px solid #0f766e;background:#14b8a624;box-shadow:0 0 0 9999px #0f172a29;pointer-events:none}.machine-file-drawing-rendering{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:8px;background:#ffffffb8;color:var(--muted);font-weight:850}.machine-file-drawing-side{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;background:#fff;padding:14px}.machine-file-drawing-side-scroll{display:grid;align-content:start;gap:12px;min-height:0;overflow:auto;padding-right:2px}.machine-file-drawing-panel{display:grid;gap:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);padding:12px}.machine-file-drawing-panel h3{margin:0;color:var(--text);font-size:.92rem}.machine-file-drawing-panel label{display:grid;gap:6px}.machine-file-drawing-panel label>span{color:var(--muted);font-size:.76rem;font-weight:850}.machine-file-drawing-panel input,.machine-file-drawing-panel select{width:100%;min-width:0;height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);padding:8px 9px;font:inherit;font-size:.84rem}.machine-file-drawing-status{display:grid;gap:6px;border:1px solid #d7e3e7;border-radius:8px;background:#fff;padding:9px}.machine-file-drawing-status span{color:var(--muted);font-size:.76rem;font-weight:850}.machine-file-drawing-status strong{min-width:0;overflow-wrap:anywhere;color:var(--text);font-size:.82rem;line-height:1.35}.machine-file-drawing-meta{display:grid;gap:6px}.machine-file-drawing-meta span{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:.82rem;font-weight:800}.machine-file-drawing-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:56px;background:#fff;border-top:1px solid var(--line);padding-top:12px}.document-toolbar{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(320px,1fr) 220px auto;align-items:end;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:14px;position:relative;z-index:4;transition:padding .22s ease,box-shadow .22s ease,border-color .18s ease,transform .22s ease}.document-package-workbench-toolbar{grid-template-columns:minmax(220px,280px) minmax(320px,1fr) auto}.document-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;min-height:0;overflow:hidden}.document-workspace.is-standard-document-pack{grid-template-columns:minmax(0,1fr)}.document-preview-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;overflow:hidden}.document-package-toolbar-note{display:inline-flex;align-items:center;justify-content:center;justify-self:end;min-height:38px;border:1px solid #bdd7d4;border-radius:8px;background:var(--primary-soft);color:var(--primary-dark);padding:0 12px;font-size:.82rem;font-weight:900}.resource-pack-manager{display:grid;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:14px;min-height:0}.resource-pack-manager-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.resource-pack-manager-head>div{display:grid;gap:3px}.resource-pack-manager-head strong{color:var(--text);font-size:.96rem}.resource-pack-manager-head span:not(.status-chip){color:var(--muted);font-size:.8rem;font-weight:700}.resource-pack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;min-width:0}.resource-pack-card{position:relative;display:grid;align-content:start;gap:12px;min-width:0;border:1px solid #cfe0df;border-radius:8px;background:linear-gradient(180deg,#fff,#fbfdfd);padding:13px;box-shadow:0 1px 2px #1540480d;transition:border-color .16s ease,box-shadow .16s ease,opacity .16s ease}.resource-pack-card.is-active{border-color:#70c9bd;box-shadow:inset 0 0 0 1px #b5e2dd,0 8px 22px #0f766e14}.resource-pack-card.is-active:before{position:absolute;inset:8px auto 8px 0;width:3px;border-radius:0 999px 999px 0;background:var(--primary-dark);content:""}.resource-pack-card.is-disabled{opacity:.62}.resource-pack-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;min-width:0}.resource-pack-title{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-width:0}.resource-pack-title-icon{display:grid;width:34px;height:34px;place-items:center;border:1px solid #c8e6e1;border-radius:8px;background:#effaf8;color:var(--primary-dark)}.resource-pack-title div{display:grid;gap:2px;min-width:0}.resource-pack-title strong,.resource-pack-title span,.resource-pack-meta dd{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-pack-title strong{color:var(--text);font-size:.96rem}.resource-pack-title span{color:var(--muted);font-size:.75rem;font-weight:750}.resource-pack-description{display:-webkit-box;min-height:40px;margin:0;overflow:hidden;color:var(--muted);font-size:.8rem;font-weight:650;line-height:1.48;-webkit-box-orient:vertical;-webkit-line-clamp:2}.resource-pack-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;overflow:hidden;border-top:1px solid #e1eceb;border-bottom:1px solid #e1eceb}.resource-pack-meta div{display:grid;gap:3px;min-width:0;padding:8px 10px}.resource-pack-meta div:nth-child(2n){border-left:1px solid #e1eceb}.resource-pack-meta div:nth-child(n+3){border-top:1px solid #e1eceb}.resource-pack-meta dt{color:var(--muted);font-size:.7rem;font-weight:850}.resource-pack-meta dd{margin:0;color:var(--text);font-size:.82rem;font-weight:800}.resource-pack-capabilities{display:flex;flex-wrap:wrap;gap:6px;min-height:28px}.resource-pack-capabilities span{display:inline-flex;align-items:center;min-height:22px;border-radius:999px;border:1px solid #e1eceb;background:#f7fbfa;color:#51616c;padding:3px 8px;font-size:.72rem;font-weight:800}.resource-pack-version-control{display:grid;gap:8px;border:1px solid #d7e7e5;border-radius:8px;background:#f8fbfb;padding:10px}.resource-pack-version-control>header{display:flex;align-items:start;justify-content:space-between;gap:10px}.resource-pack-version-control>header>div{display:grid;gap:2px;min-width:0}.resource-pack-version-control>header strong{color:var(--text);font-size:.82rem}.resource-pack-version-control>header small{color:var(--muted);font-size:.7rem;font-weight:650;line-height:1.4}.resource-pack-version-control>header>span{flex:0 0 auto;border-radius:999px;background:#e8f4f2;color:var(--primary-dark);padding:3px 7px;font-size:.67rem;font-weight:850}.resource-pack-version-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.resource-pack-version-option{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;border:1px solid #d7e3e2;border-radius:7px;background:#fff;color:var(--text);padding:8px;text-align:left;cursor:pointer}.resource-pack-version-option:hover,.resource-pack-version-option:focus-visible{border-color:#83cfc5;outline:none}.resource-pack-version-option.is-selected{border-color:var(--primary);background:#eef9f7;box-shadow:inset 0 0 0 1px #a9ddd6}.resource-pack-version-option-copy{display:grid;gap:2px;min-width:0}.resource-pack-version-option-copy strong{font-size:.8rem}.resource-pack-version-option-copy small{overflow:hidden;color:var(--muted);font-size:.67rem;font-weight:650;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.resource-pack-version-option-state{flex:0 0 auto;color:#7a858d;font-size:.68rem;font-weight:850}.resource-pack-version-option.is-selected .resource-pack-version-option-state{color:var(--primary-dark)}.resource-pack-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;margin-top:auto;border-top:1px solid #e1eceb;padding-top:10px}.resource-pack-switch{display:inline-flex;align-items:center;gap:7px;min-height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#33434d;padding:6px 9px;font-size:.8rem;font-weight:850;white-space:nowrap}.resource-pack-switch input{width:17px;min-height:17px;accent-color:var(--primary)}.resource-pack-command-group{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.resource-pack-start-button{min-width:86px}.resource-pack-asset-button{min-width:104px}.resource-pack-workbench-section.document-workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:14px;min-height:0;overflow:hidden}.resource-pack-asset-manager{display:grid;gap:0;grid-template-rows:auto minmax(0,1fr);min-height:max(560px,calc(100vh - 190px));border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}.resource-pack-asset-manager:has(.resource-pack-asset-error){grid-template-rows:auto auto minmax(0,1fr)}.resource-pack-asset-manager .resource-pack-manager-head{align-items:center;min-height:64px;padding:12px 18px;border-bottom:1px solid var(--line);background:#fbfdfd}.resource-pack-assets-header{margin-bottom:4px}.resource-pack-assets-header p{margin-top:5px}.resource-pack-asset-pack-summary{display:flex;align-items:center;gap:11px;min-width:0}.resource-pack-asset-pack-icon,.resource-pack-asset-group-icon{display:inline-grid;flex:0 0 auto;place-items:center;color:#087b74;background:#e4f4f1}.resource-pack-asset-pack-icon{width:34px;height:34px;border:1px solid #b7ded8;border-radius:8px}.resource-pack-asset-pack-summary>div{display:grid;gap:3px;min-width:0}.resource-pack-asset-pack-summary strong{color:var(--text);font-size:.92rem}.resource-pack-asset-pack-summary span:not(.resource-pack-asset-pack-icon){overflow:hidden;color:var(--muted);font-size:.78rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.resource-pack-asset-stats{display:flex;align-items:stretch;margin:0;border:1px solid #cfe4e0;border-radius:7px;background:#fff}.resource-pack-asset-stats>div{display:grid;min-width:68px;padding:6px 10px}.resource-pack-asset-stats>div+div{border-left:1px solid #dceae7}.resource-pack-asset-stats dt{color:var(--muted);font-size:.7rem;font-weight:750}.resource-pack-asset-stats dd{margin:2px 0 0;color:var(--text);font-size:.96rem;font-weight:850}.resource-pack-asset-workspace{display:grid;grid-template-columns:208px minmax(0,1fr);min-height:0;background:#fff}.resource-pack-asset-type-tabs{display:grid;align-content:start;gap:6px;min-width:0;padding:14px 12px;border-right:1px solid var(--line);background:#f7fbfa}.resource-pack-asset-nav-label{padding:1px 8px 8px;color:#6b8187;font-size:.7rem;font-weight:850}.resource-pack-asset-type-tab{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:54px;border:1px solid transparent;border-radius:6px;background:transparent;color:#48636a;padding:8px;text-align:left;font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}.resource-pack-asset-type-icon{display:grid;width:30px;height:30px;place-items:center;border:1px solid #d9e8e6;border-radius:6px;background:#fff;color:#3e7370}.resource-pack-asset-type-copy{display:grid;min-width:0;gap:1px}.resource-pack-asset-type-copy strong{overflow:hidden;color:inherit;text-overflow:ellipsis;white-space:nowrap}.resource-pack-asset-type-copy small{color:#819197;font-size:.68rem;font-weight:750}.resource-pack-asset-type-tab em{display:inline-grid;min-width:24px;height:24px;place-items:center;border-radius:999px;background:#e9f2f1;color:#35625f;font-size:.72rem;font-style:normal;font-weight:850}.resource-pack-asset-type-tab:hover,.resource-pack-asset-type-tab:focus-visible{border-color:#c0ddd8;background:#edf7f5;outline:none}.resource-pack-asset-type-tab.is-active{border-color:#b7ddd8;background:#dff1ed;color:#0c625d}.resource-pack-asset-type-tab.is-active .resource-pack-asset-type-icon{border-color:#0f766e;background:#0f766e;color:#fff}.resource-pack-asset-type-tab.is-active .resource-pack-asset-type-copy small{color:#39706c}.resource-pack-asset-type-tab.is-active em{background:#0f766e;color:#fff}.resource-pack-asset-error{margin:12px 14px 0;border:1px solid #fecdd3;border-radius:8px;background:var(--red-soft);color:var(--red);padding:10px 12px;font-size:.82rem;font-weight:800}.resource-pack-asset-group{display:grid;grid-template-rows:auto minmax(0,1fr);gap:18px;min-width:0;padding:20px 22px 22px;overflow-y:auto;background:#fff}.resource-pack-asset-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.resource-pack-asset-group>header>div{display:grid;gap:3px;min-width:0}.resource-pack-asset-group-heading{display:flex!important;align-items:center;gap:10px}.resource-pack-asset-group-icon{width:36px;height:36px;border-radius:7px}.resource-pack-asset-group strong{color:var(--text);font-size:.96rem}.resource-pack-asset-group span{color:var(--muted);font-size:.78rem;font-weight:750}.resource-pack-asset-upload{position:relative;overflow:hidden}.resource-pack-asset-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.resource-pack-asset-state.state-block{min-height:220px;margin:0;border:1px dashed #bdd7d4;background:var(--surface-strong)}.resource-pack-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));align-content:start;align-items:start;justify-content:start;gap:14px}.resource-pack-asset-card{display:grid;grid-template-rows:142px 34px;align-items:stretch;gap:0;justify-self:start;width:100%;max-width:198px;min-width:0;height:176px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.resource-pack-asset-card:hover{border-color:#90c5bf;box-shadow:0 4px 12px #0f766e1a;transform:translateY(-1px)}.resource-pack-asset-preview{display:grid;width:100%;height:142px;min-height:0;place-items:center;border-bottom:1px solid #e1eaed;overflow:hidden;background:linear-gradient(45deg,#f1f5f9 25%,transparent 25%),linear-gradient(-45deg,#f1f5f9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f1f5f9 75%),linear-gradient(-45deg,transparent 75%,#f1f5f9 75%),#fff;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.resource-pack-asset-preview-inner{display:grid;width:calc(100% - 12px);height:calc(100% - 12px);place-items:center;overflow:hidden}.resource-pack-asset-preview-inner img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.resource-pack-asset-card.is-portrait-asset{grid-template-rows:minmax(0,1fr) 34px;min-height:0;height:100%}.resource-pack-asset-card.is-portrait-asset .resource-pack-asset-preview{width:100%;height:100%;aspect-ratio:auto;background:#edf1f0}.resource-pack-asset-card.is-portrait-asset .resource-pack-asset-preview-inner{width:100%;height:100%}.resource-pack-asset-card.is-portrait-asset .resource-pack-asset-preview-inner img{width:100%;height:100%;box-sizing:border-box;object-fit:contain;padding:6px}.resource-pack-asset-info{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;height:34px;padding:0 8px 0 12px;border-top:0;background:#fff}.resource-pack-asset-info strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-pack-asset-card .icon-button{flex:0 0 auto;width:30px;min-height:30px;border-color:transparent;background:#fff8f8}.resource-pack-asset-group.is-personnel-photos .resource-pack-asset-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));grid-auto-rows:195px;gap:10px}.resource-pack-asset-group.is-personnel-photos .resource-pack-asset-card{height:195px;max-width:132px}.resource-pack-asset-group.is-personnel-photos .resource-pack-asset-info{padding:0 6px 0 10px}.resource-pack-workbench-section>.state-block{border:1px solid var(--line);border-radius:8px;background:var(--surface)}.document-package-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;min-height:0;height:100%;overflow:hidden}.document-package-workspace.has-config-region,.document-package-workspace.has-sidebar-region{grid-template-columns:minmax(280px,340px) minmax(0,1fr)}.document-package-sidebar{min-width:0;min-height:0;overflow:auto}.document-package-side-state{display:grid;place-items:center;gap:10px;min-height:220px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);padding:20px;text-align:center}.document-package-preview-panel,.document-package-shell-controls{min-width:0}.document-package-preview-shell{display:grid;align-content:start;gap:14px}.document-package-status{display:inline-flex;align-items:center;min-height:34px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);color:var(--muted);padding:0 10px;font-size:.8rem;font-weight:850;white-space:nowrap}.document-package-status.is-success{border-color:#95d5b2;background:#e8f7ee;color:#166534}.document-package-status.is-error{max-width:min(360px,32vw);overflow:hidden;border-color:#fecaca;background:#fef2f2;color:#b91c1c;text-overflow:ellipsis}.document-package-export-menu-wrap{position:relative;display:inline-flex}.document-package-export-toggle.active{border-color:#0369a1;background:#e0f2fe;color:#075985}.document-package-export-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:45;display:grid;gap:4px;width:250px;padding:8px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 16px 36px #0f172a2e}.document-package-export-menu-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:5px 7px 8px;border-bottom:1px solid #e2e8f0}.document-package-export-menu-heading strong{color:#0f172a;font-size:.84rem}.document-package-export-menu-heading span{color:#64748b;font-size:.72rem;white-space:nowrap}.document-package-export-menu>button{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:48px;padding:7px 8px;border:0;border-radius:6px;background:transparent;color:#334155;cursor:pointer;text-align:left;transition:background-color .16s ease,color .16s ease}.document-package-export-menu>button:hover,.document-package-export-menu>button:focus-visible{background:#f0f9ff;color:#075985;outline:none}.document-package-export-menu>button>span{display:grid;gap:2px;min-width:0}.document-package-export-menu>button strong{font-size:.82rem}.document-package-export-menu>button small{color:#64748b;font-size:.72rem}.document-package-debug-toggle.active{border-color:#0f766e;background:#ccfbf1;color:#0f766e}.document-package-mark-editor-toggle.active{border-color:#7c2d12;background:#ffedd5;color:#9a3412}.document-package-mark-menu-wrap{position:relative;display:inline-flex}.document-package-mark-toggle.active{border-color:#0f766e;background:#ccfbf1;color:#0f766e}.document-package-mark-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:40;display:grid;gap:6px;width:150px;padding:8px;border:1px solid #bdd7d4;border-radius:8px;background:#fff;box-shadow:0 14px 34px #0f172a29}.document-package-mark-menu-item{display:flex;align-items:center;gap:8px;min-height:30px;padding:4px 6px;border-radius:6px;color:#111827;cursor:pointer;font-size:.82rem;font-weight:800;white-space:nowrap}.document-package-mark-menu-item:hover{background:#f0fdfa}.document-package-mark-menu-item input{width:14px;height:14px;accent-color:#0f766e}.document-package-region{min-width:0}.document-package-state{min-height:360px}.document-package-preview-shell.is-template-inspector-enabled{cursor:crosshair}.document-package-mark-edit-layer{position:fixed;inset:0;z-index:1190;pointer-events:none}.document-package-mark-edit-box{position:absolute;display:block;border:1px dashed #9a3412;background:transparent;padding:0;cursor:move;pointer-events:auto;touch-action:none}.document-package-mark-edit-box.active{border-color:#0f766e;outline:2px solid rgb(15 118 110 / 18%);background:transparent}.document-package-mark-edit-label{position:absolute;left:0;bottom:calc(100% + 4px);display:none;max-width:180px;overflow:hidden;border-radius:4px;background:#111827;color:#fff;padding:3px 6px;font-size:11px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.document-package-mark-edit-box.active .document-package-mark-edit-label{display:block}.document-package-mark-edit-handle{position:absolute;right:-8px;bottom:-8px;display:none;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #0f766e;border-radius:4px;background:#fff;color:#0f766e;cursor:nwse-resize}.document-package-mark-edit-box.active .document-package-mark-edit-handle{display:inline-flex}.document-package-mark-control-panel{position:absolute;z-index:1192;display:grid;gap:10px;box-sizing:border-box;padding:10px;border:1px solid #99f6e4;border-radius:8px;background:#fffffff7;box-shadow:0 14px 34px #0f172a29;color:#111827;pointer-events:auto}.document-package-mark-control-panel header,.document-package-mark-control-panel footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.document-package-mark-control-panel header{padding-bottom:8px;border-bottom:1px solid #ccfbf1}.document-package-mark-control-panel header strong,.document-package-mark-control-panel header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-package-mark-control-panel header strong{color:#111827;font-size:13px;line-height:1.25}.document-package-mark-control-panel header span{flex:0 0 auto;color:#0f766e;font-size:12px;font-weight:850}.document-package-mark-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.document-package-mark-control-grid label{display:grid;gap:5px;min-width:0}.document-package-mark-control-grid label.span-2{grid-column:span 2}.document-package-mark-control-grid span{color:#667085;font-size:11px;font-weight:850;line-height:1.2}.document-package-mark-control-grid input{width:100%;min-width:0;height:32px;box-sizing:border-box;border:1px solid #bdd7d4;border-radius:6px;background:#fff;color:#111827;padding:5px 7px;font:inherit;font-size:12px}.document-package-mark-control-batch{display:grid;gap:8px;padding-top:8px;border-top:1px solid #ccfbf1}.document-package-mark-control-batch-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.document-package-mark-control-batch-heading strong{color:#111827;font-size:12px;line-height:1.25}.document-package-mark-control-batch-heading span{flex:0 0 auto;color:#0f766e;font-size:11px;font-weight:850}.document-package-mark-control-batch-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.document-package-mark-control-batch-mode button{min-width:0;min-height:32px;border:1px solid #bdd7d4;border-radius:6px;background:#fff;color:#334155;padding:5px 6px;cursor:pointer;font:inherit;font-size:11px;font-weight:850;line-height:1.2}.document-package-mark-control-batch-mode button.active{border-color:#0f766e;background:#ccfbf1;color:#0f766e}.document-package-mark-control-pages{display:grid;gap:5px}.document-package-mark-control-pages span{color:#667085;font-size:11px;font-weight:850}.document-package-mark-control-pages input{width:100%;min-width:0;height:32px;box-sizing:border-box;border:1px solid #bdd7d4;border-radius:6px;background:#fff;color:#111827;padding:5px 7px;font:inherit;font-size:12px}.document-package-mark-control-batch-apply{width:100%;justify-content:center}.document-package-mark-control-panel footer{justify-content:flex-end;padding-top:8px;border-top:1px solid #ccfbf1}.document-package-mark-editor-panel{display:grid;align-content:start;gap:12px;width:100%;min-width:0;box-sizing:border-box;overscroll-behavior:contain;padding:12px;border:1px solid #fed7aa;border-radius:8px;background:#fff;color:#111827}.document-package-mark-editor-panel header{display:grid;gap:3px;padding-bottom:8px;border-bottom:1px solid #ffedd5}.document-package-mark-editor-panel header strong{font-size:15px;line-height:1.3}.document-package-mark-editor-panel header span,.document-package-mark-editor-empty,.document-package-mark-editor-summary{margin:0;color:#667085;font-size:12px;line-height:1.45}.document-package-mark-editor-panel section{display:grid;gap:8px}.document-package-mark-editor-panel h3,.document-package-mark-editor-panel h4{margin:0;color:#9a3412;font-size:12px;line-height:1.3}.document-package-mark-editor-assets{display:grid;gap:6px}.document-package-mark-editor-assets>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.document-package-mark-editor-asset,.document-package-mark-editor-row{min-width:0;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#111827;cursor:pointer;font:inherit}.document-package-mark-editor-asset{display:grid;grid-template-rows:58px auto;gap:6px;padding:8px}.document-package-mark-editor-asset:hover,.document-package-mark-editor-row:hover,.document-package-mark-editor-row.active{border-color:#fb923c;background:#ffedd5}.document-package-mark-editor-asset img{display:block;max-width:100%;max-height:58px;margin:0 auto;object-fit:contain}.document-package-mark-editor-asset span{overflow:hidden;font-size:12px;font-weight:800;text-align:center;text-overflow:ellipsis;white-space:nowrap}.document-package-mark-editor-heading-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.document-package-mark-editor-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;text-align:left}.document-package-mark-editor-row strong,.document-package-mark-editor-row span{overflow:hidden;font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.document-package-mark-editor-row span{color:#667085}.document-package-inspector-highlight{position:fixed;z-index:1200;border:2px solid #0f766e;background:#14b8a61a;box-shadow:0 0 0 1px #ffffffe5,0 0 0 9999px #0f172a0a;pointer-events:none}.document-package-style-inspector{position:fixed;z-index:1201;display:grid;gap:10px;width:min(320px,calc(100vw - 24px));max-height:min(430px,calc(100vh - 24px));overflow:auto;overscroll-behavior:contain;padding:12px;border:1px solid #0f766e;border-radius:8px;background:#fffffff5;box-shadow:0 16px 38px #0f172a33;color:#111827;pointer-events:auto}.document-package-style-inspector header{display:grid;gap:2px;padding-bottom:8px;border-bottom:1px solid #d1fae5}.document-package-style-inspector strong{font-size:15px;line-height:1.3}.document-package-style-inspector span{color:#667085;font-size:12px}.document-package-inspector-code-button{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;width:100%;padding:8px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;color:#0f766e;cursor:copy;font:inherit;text-align:left}.document-package-inspector-code-button span{display:grid;gap:2px;min-width:0}.document-package-inspector-code-button small{color:#0f766e;font-size:11px;font-weight:800}.document-package-inspector-code-button b{color:#111827;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.35;overflow-wrap:anywhere}.document-package-inspector-code-button svg{color:#0f766e}.document-package-inspector-code-button em{color:#0f766e;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}.document-package-style-inspector section{display:grid;gap:4px}.document-package-style-inspector h3{margin:0;color:#0f766e;font-size:12px;line-height:1.3}.document-package-style-inspector p{margin:0;color:#111827;font-size:12px;line-height:1.45}.document-preview-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;background:var(--surface);padding:8px 10px}.document-preview-page-status{display:inline-flex;align-items:center;justify-content:center;min-width:118px;min-height:36px;margin-right:auto;border:1px solid #bdd7d4;border-radius:8px;background:#fff;color:#005f63;padding:0 12px;font-size:.88rem;font-weight:850;white-space:nowrap}.document-mark-toggle.active{border-color:#f2a3b5;background:#ffe7ed;color:#8f1234}.document-mark-toggle.active svg{color:#be123c}.preview-zoom-group{display:inline-flex;align-items:center;gap:8px;min-height:36px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);padding:0 6px}.preview-zoom-group strong{min-width:46px;color:var(--text);font-size:.84rem;text-align:center}.document-preview-shell{--document-preview-zoom: .82;min-width:0;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:0 0 8px 8px;background:#dfe7eb;padding:20px}.document-preview-frame{width:calc(210mm * var(--document-preview-zoom));margin:0 auto;overflow:visible}.document-preview-canvas{position:relative;width:210mm;margin:0;transform:scale(var(--document-preview-zoom));transform-origin:top left}@media(max-width:1100px){.document-toolbar,.document-workspace,.document-package-workspace,.document-package-workspace.has-config-region,.document-package-workspace.has-sidebar-region{grid-template-columns:1fr}.resource-pack-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}.resource-pack-asset-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.resource-pack-manager-head,.resource-pack-asset-group>header,.resource-pack-card-head{align-items:flex-start;flex-direction:column}.resource-pack-card-head,.resource-pack-actions{grid-template-columns:1fr}.resource-pack-command-group{justify-content:flex-start}.document-preview-controls{flex-wrap:wrap;justify-content:flex-start}.document-preview-shell{overflow-x:auto}}@media(max-width:700px){.document-toolbar,.resource-pack-grid{grid-template-columns:1fr}.resource-pack-command-group{width:100%}.resource-pack-command-group>.button{flex:1 1 100%;justify-content:center}}@media(max-width:640px){.resource-pack-asset-manager .resource-pack-manager-head{align-items:flex-start;flex-direction:column;gap:10px}.resource-pack-asset-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.resource-pack-asset-type-tabs{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line)}.resource-pack-asset-nav-label,.resource-pack-asset-type-copy small{display:none}.resource-pack-asset-type-tab{grid-template-columns:28px minmax(0,1fr) auto;flex:0 0 auto;min-height:42px;padding:6px 8px}.resource-pack-asset-type-icon{width:28px;height:28px}.resource-pack-asset-group{gap:14px;padding:16px}.resource-pack-asset-group>header{align-items:flex-start;flex-direction:column}.resource-pack-asset-grid,.resource-pack-asset-group.is-personnel-photos .resource-pack-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--ui-bg: #f4f7f8;--ui-surface: #ffffff;--ui-text: #183038;--ui-muted: #52666f;--ui-border: #d7e1e4;--ui-primary: #0f766e;--ui-primary-hover: #095b55;--ui-primary-soft: #e6f3ef;--ui-danger: #b42332;--ui-danger-soft: #fff0f1;--ui-focus: #007b8b;--ui-radius: 8px;--ui-panel-radius: 12px;--ui-control-height: 44px;--ui-space-1: 4px;--ui-space-2: 8px;--ui-space-3: 12px;--ui-space-4: 16px;--ui-space-6: 24px;--ui-space-8: 32px;--bg: var(--ui-bg);--surface: var(--ui-surface);--text: var(--ui-text);--muted: var(--ui-muted);--line: var(--ui-border);--primary: var(--ui-primary);--primary-dark: var(--ui-primary-hover);--primary-soft: var(--ui-primary-soft)}body.standalone-page{background:var(--ui-bg);overflow-x:clip;overflow-y:auto}body :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}body.standalone-page :is(.request-app,.account-page,.codes-page,.permissions-page,.integration-page,.fs-page,.data-page,.backup-app){color:var(--ui-text);background:var(--ui-bg);min-height:100dvh;--r-bg: var(--ui-bg);--r-text: var(--ui-text);--r-muted: var(--ui-muted);--r-border: var(--ui-border);--r-primary: var(--ui-primary);--r-soft: var(--ui-primary-soft)}body.standalone-page :is(.request-app,.account-page,.codes-page,.permissions-page,.integration-page,.fs-page,.data-page,.backup-app) button{min-height:var(--ui-control-height);border-radius:var(--ui-radius);font-weight:600;transition:background-color .16s,border-color .16s,color .16s}body.standalone-page :is(.primary,.r-primary){background:var(--ui-primary);border-color:var(--ui-primary);color:#fff}body.standalone-page :is(.primary,.r-primary):hover:not(:disabled){background:var(--ui-primary-hover);border-color:var(--ui-primary-hover)}body.standalone-page :is(.secondary,.r-danger){background:var(--ui-surface)}body.standalone-page .r-danger{color:var(--ui-danger)}body.standalone-page button:disabled{cursor:not-allowed}body.standalone-page :is(.request-app,.account-page,.codes-page,.permissions-page,.integration-page,.fs-page,.data-page,.backup-app) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){min-height:var(--ui-control-height);border:1px solid #acbfc6;border-radius:var(--ui-radius);padding:10px 12px;color:var(--ui-text);background:var(--ui-surface);max-width:100%;font:inherit}body.standalone-page :is(input[type=checkbox],input[type=radio]){accent-color:var(--ui-primary)}body.standalone-page textarea{resize:vertical}body.standalone-page :is(.request-header,.page-head,.account-content>header,.codes-content>header,.permissions-content>header) h1{font-size:clamp(26px,2.4vw,30px);line-height:1.3;letter-spacing:-.02em}body.standalone-page :is(.panel,.request-panel,.permission-panel){border-color:var(--ui-border);border-radius:var(--ui-panel-radius);box-shadow:none}body.standalone-page :is(p.error,.request-error,.feedback.error){padding:12px 16px;border:1px solid #edb9be;border-radius:var(--ui-radius);color:var(--ui-danger);background:var(--ui-danger-soft);overflow-wrap:anywhere}body.standalone-page :is(.request-success,.feedback.success){padding:12px 16px;border-radius:var(--ui-radius);color:#125d49;background:var(--ui-primary-soft);overflow-wrap:anywhere}body.standalone-page :is(.table-wrap,.table-scroll){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}body.standalone-page :is(.table-wrap,.table-scroll) th{background:#f9fbfc;color:var(--ui-muted);font-size:12px;font-weight:600}body.standalone-page :is(.table-wrap,.table-scroll) :is(th,td){padding:13px 12px;border-bottom-color:var(--ui-border)}body.standalone-page dialog,body.standalone-page [role=dialog]{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border-radius:var(--ui-panel-radius);color:var(--ui-text)}body.standalone-page dialog::backdrop{background:#132f3d70}body.standalone-page .account-dialog :is(input,select,textarea):focus{outline:none;box-shadow:none;border-color:var(--ui-primary)}body.standalone-page .permissions-content .search-box:focus-within{outline:none;box-shadow:none;border-color:var(--ui-primary)}body.standalone-page #app .account-drawer{height:100dvh;max-height:100dvh;border-bottom-left-radius:0;border-bottom-right-radius:0}body.standalone-page :is(dialog,[role=dialog]) h2{font-size:22px;line-height:1.4}body:has(dialog[open]),body:has(.overlay [role=dialog]){overflow:hidden}@media(max-width:760px){body.standalone-page :is(.request-main,.account-content,.codes-content,.permissions-content,.integration-content,.fs-content,.data-content){min-width:0;padding:20px 16px 32px}body.standalone-page :is(.actions,.request-actions,.permission-toolbar){flex-wrap:wrap;gap:var(--ui-space-2);min-width:0}body.standalone-page :is(.request-sidebar,.account-nav,.codes-page>aside,.permissions-page>aside){min-width:0;max-width:100%}body.standalone-page :is(.request-app,.account-page,.codes-page,.permissions-page,.integration-page,.fs-page,.data-page,.backup-app){overflow-wrap:anywhere}body.standalone-page :is(dialog,[role=dialog]){max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}body.standalone-page #app .workspace-sidebar{width:232px;padding:24px 16px;position:sticky;top:0;height:100dvh;overflow-y:auto;flex-direction:column;gap:20px}body.standalone-page :is(.request-main,.account-content,.codes-content,.permissions-content,.integration-content,.fs-content,.data-content,.audit-content,.backup-app>.content){min-width:0;width:100%;max-width:1480px;margin-inline:auto;padding:24px 32px 48px}body.standalone-page :is(.request-header,.page-head,.fs-head,.account-content>header,.codes-content>header,.permissions-content>header){margin-top:0;margin-bottom:24px}body.standalone-page :is(.page-head,.fs-head,.permissions-content>header) h1{font-size:clamp(26px,2.4vw,30px);line-height:1.3}body.standalone-page .permissions-content>header{display:block}body.standalone-page .permissions-content a{color:var(--ui-primary)}body.standalone-page :is(.permission-panel,.panel)>h2{font-size:20px;line-height:1.4;margin:0 0 12px}body.standalone-page :is(.audit-page,.fs-page){color:var(--ui-text);background:var(--ui-bg)}body.standalone-page :is(.audit-page,.fs-page) button{border-radius:var(--ui-radius)}body.standalone-page .fs-primary{background:var(--ui-primary);border-color:var(--ui-primary)}body.standalone-page .notification-bell[aria-current=page]{background:var(--ui-primary-soft);color:var(--ui-primary);border-color:var(--ui-primary)}body.standalone-page :is(.request-topline,.backup-app .topline){display:none}@media(max-width:760px){body.standalone-page :is(.request-app,.account-page,.codes-page,.permissions-page,.integration-page,.fs-page,.data-page,.audit-page,.backup-app){display:block}body.standalone-page #app .workspace-sidebar{position:static;width:100%;height:auto;padding:16px;gap:12px;border-right:0;border-bottom:1px solid var(--ui-border)}body.standalone-page :is(.request-main,.account-content,.codes-content,.permissions-content,.integration-content,.fs-content,.data-content,.audit-content,.backup-app>.content){padding:20px 16px 32px}body.standalone-page .workspace-breadcrumb{margin-bottom:20px}body.standalone-page .filter-panel{grid-template-columns:minmax(0,1fr)}body.standalone-page .filter-panel :is(.wide,.filter-actions){grid-column:auto}}@media screen{.customer-shell .sidebar-account-menu>summary{grid-template-columns:32px minmax(0,1fr) 32px 18px;gap:6px;position:relative}.sidebar-account-notice-slot{width:32px;display:flex;justify-content:center}.sidebar-account-notice{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:10px;color:#fff;background:var(--ui-danger);font-size:11px;font-weight:700;line-height:1}.customer-shell .sidebar-account-popover .account-menu-item{background:transparent;color:var(--ui-text);border:0;border-radius:8px}.customer-shell .sidebar-account-popover .account-menu-item:is(:hover,:active,:focus-visible){background:var(--ui-primary-soft);color:var(--ui-primary)}.customer-shell .sidebar-account-popover .account-menu-item:focus-visible{outline:2px solid var(--ui-primary);outline-offset:-2px}.customer-shell{height:100dvh;min-height:100dvh}.customer-shell .customer-sidebar{padding:24px 16px 16px;background:var(--ui-surface)}.customer-shell .brand h1{font-size:19px;line-height:1.4}.customer-shell .brand-mark{width:44px;height:44px;border-radius:12px}.customer-shell .nav-item{border-radius:var(--ui-radius)}.customer-shell .workspace{padding:24px 32px;gap:20px}.customer-shell :is(.workspace-header,.order-workbench-header) h2{font-size:30px;line-height:1.3}.customer-shell :is(.workspace-header,.order-workbench-header) p{color:var(--ui-muted);font-size:14px}.customer-shell :is(.header-actions,.row-actions){flex-wrap:wrap}.customer-shell :is(.button,input,select,textarea){border-radius:var(--ui-radius)}.customer-shell .button{min-height:44px}.customer-shell .row-actions :is(.button,.icon-button){min-height:36px}.customer-shell .button.primary{background:var(--ui-primary);border-color:var(--ui-primary)}.customer-shell .button.primary:hover:not(:disabled){background:var(--ui-primary-hover);border-color:var(--ui-primary-hover)}.customer-shell :is(.table-section,.metric-card,.order-workbench-context,.workbench-panel,.workbench-summary>div){border-radius:var(--ui-panel-radius);border-color:var(--ui-border)}.customer-shell :is(.customer-table,.order-table,.device-table,.certificate-table) th{font-size:12px;color:var(--ui-muted)}.customer-shell .table-shell{overscroll-behavior:contain}.customer-shell :is(.record-modal,.device-detail-drawer){height:100dvh;max-height:100dvh;overscroll-behavior:contain}.customer-shell .modal-header h2{font-size:22px;line-height:1.4}.customer-shell .task-modal{border-radius:var(--ui-panel-radius)}.customer-shell .task-modal header h3{font-size:22px;line-height:1.4}body:has(.task-modal-backdrop){overflow:hidden}.customer-shell:has(.task-modal-backdrop) .workspace{overflow:hidden}}@media screen{.business-workspace.is-resource-pack-workbench:has(>.development-environment-note){grid-template-rows:auto auto minmax(0,1fr)}.resource-pack-workbench-section.document-workspace:has(>.state-block){grid-template-rows:auto auto;align-content:start}.resource-pack-workbench-section.document-workspace>.state-block{min-height:240px;height:auto}}@media screen and (min-width:1101px){.customer-shell.sidebar-collapsed .sidebar-account-menu>summary{grid-template-columns:32px}.customer-shell.sidebar-collapsed .sidebar-account-notice-slot{position:absolute;right:-6px;top:-2px;width:auto}.customer-shell:not(.sidebar-collapsed){grid-template-columns:232px minmax(0,1fr)}}@media screen and (max-width:1100px){.customer-shell{height:auto}.customer-shell .workspace{padding:20px 24px 32px}.customer-shell .workspace-header{max-height:none}.customer-shell :is(.metrics,.customer-toolbar-primary,.business-toolbar-primary){max-height:none;overflow:visible}.customer-shell .workspace-header h2{font-size:28px}}@media screen and (max-width:700px){.customer-shell .workspace{padding:20px 16px 32px}.customer-shell :is(.workspace-header,.order-workbench-header) h2{font-size:26px}.customer-shell .header-actions{width:100%;gap:8px}.customer-shell .toolbar{min-width:0}.customer-shell .record-modal{max-width:100vw}.customer-shell .task-modal-backdrop{padding:12px}.customer-shell .task-modal{max-height:calc(100dvh - 24px);padding:18px}}input.ui-file-input[type=file]{max-width:100%;font:inherit;color:var(--ui-muted);cursor:pointer}input.ui-file-input::file-selector-button{margin-right:12px;padding:9px 14px;border:1px solid transparent;border-radius:6px;background:var(--ui-primary-soft);color:var(--ui-primary);font:inherit;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}input.ui-file-input:not(:disabled)::file-selector-button:hover{background:var(--ui-primary-soft);border-color:var(--ui-primary)}input.ui-file-input:focus-visible{outline:2px solid var(--ui-primary);outline-offset:3px}input.ui-file-input:disabled{opacity:.55;cursor:not-allowed}input.ui-file-input:disabled::file-selector-button{cursor:not-allowed}@media(prefers-reduced-motion:reduce){input.ui-file-input::file-selector-button{transition:none}}
