/* HUIDI Docs Community Local RC16.28 — Table-first Interaction Closure */
body.workspace-r6{--r6-row:42px;--r6-field-h:38px;--r6-gap:10px}
body.workspace-r6 .table-wrap{border:1px solid var(--line);border-radius:12px;overflow:visible;background:var(--panel);box-shadow:none}
body.workspace-r6 table{border-collapse:separate;border-spacing:0;width:100%;font-variant-numeric:tabular-nums}
body.workspace-r6 thead th{height:34px;padding:0 10px;background:#f7f8fa;border-bottom:1px solid var(--line);font-size:10px;font-weight:650;color:#6e7781;white-space:nowrap}
body.workspace-r6 tbody td{min-height:var(--r6-row);padding:7px 10px;border-bottom:1px solid #eef0f3;vertical-align:middle;font-size:11px}
body.workspace-r6 tbody tr:last-child td{border-bottom:0}body.workspace-r6 tbody tr.workspace-r1-clickable{cursor:pointer}body.workspace-r6 tbody tr.workspace-r1-clickable:hover td{background:#f8fbff}
body.workspace-r6 .filterbar{gap:8px;margin-bottom:8px}body.workspace-r6 .filterbar .input{min-width:260px}
body.workspace-r6 .section-head{margin-bottom:10px}body.workspace-r6 .section-head h3{font-size:17px}body.workspace-r6 .section-head p{font-size:10px;max-width:760px}
body.workspace-r6 .row-actions{gap:6px;align-items:center;flex-wrap:nowrap}
body.workspace-r6 .workspace-r6-row-more{position:relative}body.workspace-r6 .workspace-r6-row-more>summary{list-style:none;width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;color:#6e7781;font-weight:700;letter-spacing:1px}body.workspace-r6 .workspace-r6-row-more>summary::-webkit-details-marker{display:none}
body.workspace-r6 .workspace-r6-row-menu{position:absolute;right:0;top:34px;z-index:80;min-width:116px;padding:5px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.14)}body.workspace-r6 .workspace-r6-row-menu button{display:block;width:100%;height:32px;border:0;background:transparent;text-align:left;border-radius:7px;padding:0 9px;color:var(--text);cursor:pointer}body.workspace-r6 .workspace-r6-row-menu button:hover{background:#f2f6fb}
body.workspace-r6 dialog#appDialog .workspace-r6-modal{width:min(860px,calc(100vw - 36px));max-height:min(88vh,860px);border-radius:16px;overflow:hidden}
body.workspace-r6 dialog#appDialog .workspace-r6-modal .modal-head{padding:14px 16px 11px}body.workspace-r6 dialog#appDialog .workspace-r6-modal .modal-head h3{font-size:17px}body.workspace-r6 dialog#appDialog .workspace-r6-modal .modal-head p{font-size:9.5px;margin-top:2px}
body.workspace-r6 dialog#appDialog .workspace-r6-modal form{padding:12px 16px 0;overflow:auto;max-height:calc(88vh - 76px)}
body.workspace-r6 dialog#appDialog .workspace-r6-modal .field{min-width:0}body.workspace-r6 dialog#appDialog .workspace-r6-modal .field label{font-size:10px;font-weight:620;color:#374151;margin-bottom:5px}
body.workspace-r6 dialog#appDialog .workspace-r6-modal .input,body.workspace-r6 dialog#appDialog .workspace-r6-modal .select,body.workspace-r6 dialog#appDialog .workspace-r6-modal input:not([type=checkbox]):not([type=file]),body.workspace-r6 dialog#appDialog .workspace-r6-modal select{height:var(--r6-field-h);min-height:var(--r6-field-h);border-radius:9px;padding:0 10px;font-size:11px;background:#fff}
body.workspace-r6 dialog#appDialog .workspace-r6-modal textarea{min-height:68px;border-radius:9px;padding:9px 10px;font-size:11px;line-height:1.5;resize:vertical}
body.workspace-r6 dialog#appDialog .workspace-r6-modal .modal-foot{position:sticky;bottom:0;z-index:6;margin:14px -16px 0;padding:10px 16px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-top:1px solid var(--line)}
body.workspace-r6 .workspace-r3-form-note{margin:0 0 10px;padding:8px 10px;border-radius:9px;font-size:10px}
body.workspace-r6 .workspace-r3-basic-grid,body.workspace-r6 .workspace-r6-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px var(--r6-gap)}body.workspace-r6 .workspace-r3-basic-grid .field.full,body.workspace-r6 .workspace-r6-form-grid .field.full{grid-column:1/-1}
body.workspace-r6 .workspace-r3-smart-paste{margin:0 0 10px;border:1px solid #e4ebf5;background:#f7fbff}.workspace-r6 .workspace-r3-smart-paste>summary{min-height:38px;padding:0 10px;font-size:10.5px}
body.workspace-r6 .workspace-r3-form-section,body.workspace-r6 .workspace-r6-section{margin-top:8px;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:visible}
body.workspace-r6 .workspace-r3-form-section>summary,body.workspace-r6 .workspace-r6-section>summary{min-height:40px;padding:0 10px;display:grid;grid-template-columns:1fr auto;align-items:center;list-style:none;cursor:pointer;background:#fff;border-radius:10px;font-size:10.5px}body.workspace-r6 .workspace-r6-section>summary::-webkit-details-marker{display:none}body.workspace-r6 .workspace-r6-section>summary span{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}body.workspace-r6 .workspace-r6-section>summary small{font-size:9.5px;color:var(--muted);font-weight:400;white-space:nowrap}body.workspace-r6 .workspace-r6-section>summary i{font-style:normal;color:#8b95a1;transition:.16s}body.workspace-r6 .workspace-r6-section[open]>summary i{transform:rotate(180deg)}
body.workspace-r6 .workspace-r3-advanced-grid,body.workspace-r6 .workspace-r6-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 10px;padding:10px;background:#f8f9fb;border-top:1px solid var(--line)}body.workspace-r6 .workspace-r6-section-grid .field.full{grid-column:1/-1}
body.workspace-r6 .workspace-r6-deal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 10px}body.workspace-r6 .workspace-r6-deal-grid .field:has([data-f="title"]),body.workspace-r6 .workspace-r6-deal-grid .workspace-r6-full{grid-column:1/-1}
body.workspace-r6 .workspace-r6-deal-grid .field:has([data-f="requirements"]){grid-column:1/-1}body.workspace-r6 .workspace-r6-deal-grid .field:has([data-f="requirements"]) textarea{min-height:84px}
body.workspace-r6 .workspace-r6-related-products,body.workspace-r6 .workspace-r6-notes{margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fafbfc}body.workspace-r6 .workspace-r6-related-products .choice-grid{max-height:150px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body.workspace-r6 .workspace-r6-customer .workspace-r3-form-section:not([open]) .workspace-r3-advanced-grid,body.workspace-r6 .workspace-r6-product .workspace-r3-form-section:not([open]) .workspace-r3-advanced-grid{display:none}
body.workspace-r6 .workspace-r6-customer .workspace-r3-form-section>summary,body.workspace-r6 .workspace-r6-product .workspace-r3-form-section>summary{min-height:40px}
body.workspace-r6 .workspace-r6-product .image-editor{grid-template-columns:64px minmax(0,1fr)!important;padding:8px!important}body.workspace-r6 .workspace-r6-product .image-preview{width:64px!important;height:64px!important}
body.workspace-r6 .workspace-r4-dims{grid-template-columns:1fr auto 1fr auto 1fr!important}
body.workspace-r6 #view-catalog .catalog-local-grid{grid-template-columns:minmax(0,1fr) 300px;gap:10px}body.workspace-r6 #view-catalog .panel{min-height:0}body.workspace-r6 #view-catalog .next-list{gap:5px}
body.workspace-r6 #view-mail .table-wrap:has(.empty-rich),body.workspace-r6 #view-mail .table-wrap:has(.empty){min-height:180px}
body.workspace-r6 .workspace-nav-count[hidden]{display:none!important}
@media(max-width:900px){body.workspace-r6 dialog#appDialog .workspace-r6-modal{width:min(720px,calc(100vw - 20px))}body.workspace-r6 .workspace-r3-basic-grid,body.workspace-r6 .workspace-r6-form-grid,body.workspace-r6 .workspace-r6-deal-grid,body.workspace-r6 .workspace-r3-advanced-grid,body.workspace-r6 .workspace-r6-section-grid{grid-template-columns:1fr}body.workspace-r6 .workspace-r6-deal-grid .field{grid-column:1!important}body.workspace-r6 #view-catalog .catalog-local-grid{grid-template-columns:1fr}}
