.tool-manager-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 42px 36px}.tool-manager-grid .admin-card{margin:0}.tool-manager-grid .admin-card>header>b{margin-left:auto;font-size:12px;color:#2563eb}.tool-preset-list{padding:14px;display:grid;gap:10px}.tool-preset-card{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:13px;border:1px solid #d9e2ed;background:#fbfcff;padding:13px}.tool-preset-card.disabled{opacity:.62}.tool-preset-shape{width:52px;height:52px;background:#172944;color:#93c5fd;display:grid;place-items:center;font-size:27px}.tool-preset-shape.wedge{color:#fbbf24}.tool-preset-card small,.tool-preset-card h3,.tool-preset-card p{display:block;margin:0}.tool-preset-card small{font-size:10px;color:#2563eb}.tool-preset-card h3{font-size:14px;margin-top:3px}.tool-preset-card p{font-size:11px;color:#718198;margin-top:4px}.tool-preset-card em{display:inline-block;font-size:10px;font-style:normal;color:#247052;margin-top:5px}.tool-preset-card.disabled em{color:#8a5b5b}.tool-preset-card>button{border:1px solid #aac1df;background:#fff;color:#245fbd;padding:8px 10px;font-size:12px}.tool-preset-form .form-grid{margin-top:12px}.cut-preset-library header{padding:4px 2px 15px;border-bottom:1px solid #35435a}.cut-preset-library header small{font-size:10px;color:#60a5fa;letter-spacing:.12em}.cut-preset-library header h3{font-size:16px;margin:6px 0}.cut-preset-library header p{font-size:11px;color:#8a9ab0;line-height:1.55;margin:0}.cut-preset-choice{width:100%;display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;border:1px solid #3b4c63;background:#222e40;color:#d2deec;padding:10px;margin-top:8px;text-align:left}.cut-preset-choice:hover,.cut-preset-choice.active{border-color:#3b82f6;background:#263a58}.cut-preset-choice>i{grid-row:1/3;width:42px;height:42px;background:#172337;color:#60a5fa;display:grid;place-items:center;font-style:normal}.cut-preset-choice>i .flat-icon{width:23px}.cut-preset-choice>span b,.cut-preset-choice>span small{display:block}.cut-preset-choice>span b{font-size:12px}.cut-preset-choice>span small{font-size:10px;color:#8da0b8;margin-top:3px}.cut-preset-choice>em{grid-column:2;font-size:10px;color:#93c5fd;font-style:normal}.cut-preset-library footer{position:sticky;bottom:-14px;background:#172337;color:#9eb0c5;border-top:1px solid #3a4b63;padding:12px;margin:14px -14px -14px;font-size:11px;line-height:1.55}.cut-model-readonly{border:1px solid #3c5270;background:#1b2b40;padding:12px;margin-bottom:14px}.cut-model-readonly span,.cut-model-readonly b,.cut-model-readonly small{display:block}.cut-model-readonly span{font-size:10px;color:#7890ad}.cut-model-readonly b{font-size:14px;color:#dbeafe;margin-top:5px}.cut-model-readonly small{font-size:11px;color:#93c5fd;margin-top:4px}.wedge-base-preview{fill:#f59e0b73;stroke:#fbbf24;stroke-width:2}.wedge-outline{fill:transparent;stroke:#fbbf24;stroke-width:2;stroke-dasharray:7 4;pointer-events:all}.wedge-object.selected .wedge-outline{filter:drop-shadow(0 0 4px #fbbf24)}
.cut-tool-submenu{position:absolute;z-index:35;left:66px;top:58px;width:276px;max-height:calc(100vh - 96px);overflow:hidden;background:#172337;border:1px solid #405574;box-shadow:0 18px 42px #050b1499;color:#dbe7f5}.cut-tool-submenu[hidden]{display:none}.cut-tool-submenu header{height:58px;padding:0 12px 0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #354863;background:#1c2c43}.cut-tool-submenu header span small,.cut-tool-submenu header span b{display:block}.cut-tool-submenu header span small{font-size:9px;letter-spacing:.13em;color:#6d8caf}.cut-tool-submenu header span b{font-size:13px;margin-top:3px}.cut-tool-submenu header button{width:28px;height:28px;border:0;background:transparent;color:#a9bdd5;font-size:20px}.cut-submenu-list{padding:10px;display:grid;gap:7px;max-height:calc(100vh - 196px);overflow:auto}.cut-submenu-item{width:100%;display:grid;grid-template-columns:38px 1fr;align-items:center;gap:10px;padding:9px;border:1px solid #344760;background:#202f44;color:#d5e2f1;text-align:left}.cut-submenu-item:hover,.cut-submenu-item.active{border-color:#3b82f6;background:#294367}.cut-submenu-item>i{width:38px;height:38px;display:grid;place-items:center;background:#152238;color:#6eaeff;font-style:normal}.cut-submenu-item>i .flat-icon{width:22px}.cut-submenu-item span b,.cut-submenu-item span small,.cut-submenu-item span em{display:block}.cut-submenu-item span b{font-size:12px}.cut-submenu-item span small{font-size:10px;color:#92a5bc;margin-top:2px}.cut-submenu-item span em{font-size:10px;color:#75b4ff;font-style:normal;margin-top:4px}.cut-tool-submenu footer{padding:10px 14px;border-top:1px solid #354863;background:#1b293c;color:#8fa4bd;font-size:10px}.cut-submenu-empty{padding:24px 12px;text-align:center;color:#8fa4bd;font-size:11px;line-height:1.6}.cut-tool-hint{text-align:center;padding:34px 14px;color:#9cafc4}.cut-tool-hint>i{width:54px;height:54px;margin:auto;display:grid;place-items:center;background:#203451;color:#69aaff}.cut-tool-hint>i .flat-icon{width:28px}.cut-tool-hint h3{font-size:15px;color:#dce8f5;margin:14px 0 7px}.cut-tool-hint p{font-size:11px;line-height:1.6;margin:0}.cut-tool-hint>div{margin-top:18px;padding:12px;border:1px solid #3c5270;background:#1b2b40;text-align:left}.cut-tool-hint>div small,.cut-tool-hint>div b,.cut-tool-hint>div span{display:block}.cut-tool-hint>div small{font-size:9px;color:#7890ad}.cut-tool-hint>div b{font-size:12px;color:#dbeafe;margin-top:5px}.cut-tool-hint>div span{font-size:10px;color:#93c5fd;margin-top:4px}.cut-model-switch{display:block;margin-bottom:10px}.cut-model-switch>span{display:block;font-size:10px;color:#8da3bd;margin-bottom:5px}.cut-model-select{width:100%;height:34px;border:1px solid #52719a;background:#142238;color:#e0ebf8;padding:0 9px;font-size:11px}.cut-model-select:focus{outline:1px solid #3b82f6;border-color:#3b82f6}
.implant-submenu-controls{padding:10px 10px 0;display:grid;gap:8px}.implant-submenu-controls label{display:grid;gap:4px;color:#8fa4bd;font-size:9px}.implant-submenu-controls select,.implant-submenu-controls input{height:31px;box-sizing:border-box;border:1px solid #405574;background:#142238;color:#e0ebf8;padding:0 8px;font:inherit}.implant-submenu-controls input::placeholder{color:#7289a4}.implant-tool-submenu .cut-submenu-list{max-height:calc(100vh - 285px)}
.wedge-object-panel{display:grid;gap:8px}.wedge-object-panel header{margin:0}.wedge-object-panel header h3{margin:3px 0 0;font-size:14px}.wedge-object-panel .wedge-panel-status{margin:0!important;padding:5px 8px!important;border:1px solid #9a6b25;background:#392b16;color:#fbbf24!important;font-size:10px!important;line-height:1.25}.wedge-object-panel .wedge-panel-status.confirmed{border-color:#276749;background:#153b31;color:#6ee7b7!important}.wedge-object-panel .wedge-panel-status.drawing{border-color:#2563eb;background:#172f55;color:#93c5fd!important}.wedge-object-panel .wedge-inline-control{gap:4px;margin:0!important;font-size:10px}.wedge-object-panel input[type="range"]{min-height:18px}.wedge-object-panel .ring-start-supplement{margin:0;padding:8px;font-size:10px}.wedge-object-panel .ring-confirm-actions{grid-template-columns:1fr;gap:6px}.wedge-object-panel .ring-confirm-actions button{padding:7px 6px;font-size:10px;line-height:1.25}.wedge-object-panel .measurement-label-controls{margin:0!important;gap:6px}.wedge-object-panel .measurement-label-controls input[type="number"]{padding:6px}.wedge-object-panel .object-actions{margin-top:0;gap:6px}.wedge-object-panel .object-actions button{padding:7px 6px;font-size:10px}.cut-model-field{padding:8px;border:1px solid #3c5270;background:#1b2b40;margin-bottom:14px}.wedge-object-panel .cut-model-field{margin:0}.cut-model-select-field,.cut-model-static{display:grid!important;gap:4px!important;margin:0!important;color:#8da3bd!important;font-size:10px!important}.cut-model-select-field .cut-model-select{height:30px;padding:0 8px!important;font-size:10px!important;line-height:1.2}.cut-model-static b{color:#e0ebf8;font-size:11px;line-height:1.25}.cut-model-spec{display:block;margin-top:6px;color:#93c5fd;font-size:9px;line-height:1.35}

/* Tool management is a dense operating surface: one header and one data plane. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.admin-shell .tool-manager-page{min-width:0;padding:0 42px 40px}
.admin-shell .tool-manager-page .tool-manager-page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0;padding:0 0 20px}
.admin-shell .tool-manager-heading{display:flex;align-items:center;gap:20px;min-width:0}
.admin-shell .tool-manager-heading h1{margin:0;color:#1d292c;font-size:25px;font-weight:750;line-height:1.2;letter-spacing:-.025em}
.admin-shell .tool-manager-summary{display:flex;align-items:center;gap:6px;margin:0;padding:0}
.admin-shell .tool-manager-summary span{display:inline-flex;align-items:center;gap:5px;min-height:27px;margin:0;padding:0 9px;border:1px solid #d7e0e8;border-radius:4px;background:#f8fafc;color:#697984;font-size:10px;line-height:1;white-space:nowrap}
.admin-shell .tool-manager-summary b{margin:0;color:#224f87;font-size:12px;font-variant-numeric:tabular-nums}
.admin-shell .tool-manager-create{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-width:126px;height:34px!important;padding:0 14px!important;color:#fff!important;font-family:Manrope,"Noto Sans SC","Microsoft YaHei",sans-serif!important;font-size:12px!important;font-weight:500!important;line-height:1!important}
.admin-shell .tool-manager-create span{color:inherit;font:inherit;line-height:1}
.admin-shell .tool-manager-create .flat-icon{width:15px;height:15px}
.admin-shell .tool-preset-table-shell{min-width:0;margin:0;border:1px solid #d7dfdc;border-radius:4px;background:#fff;box-shadow:0 8px 24px rgb(31 45 48 / 5%);overflow:hidden}
.admin-shell .tool-preset-table-wrap{width:100%;overflow-x:auto;scrollbar-color:#b7c4cf #f3f6f8;scrollbar-width:thin}
.admin-shell .tool-preset-table{width:100%;min-width:940px;border:0;border-collapse:collapse;border-spacing:0;table-layout:fixed;color:#253235;font-size:11px}
.admin-shell .tool-preset-table thead{display:table-header-group}
.admin-shell .tool-preset-table tbody{display:table-row-group}
.admin-shell .tool-preset-table tr{display:table-row}
.admin-shell .tool-preset-table th{box-sizing:border-box;height:42px;padding:0 12px;border:0;border-bottom:1px solid #dde5e2;background:#f5f7f6;color:#6f7d7b;font-size:9px;font-weight:700;letter-spacing:.02em;line-height:1;text-align:left;white-space:nowrap}
.admin-shell .tool-preset-table th:first-child{width:24%}.admin-shell .tool-preset-table th:nth-child(2){width:7%}.admin-shell .tool-preset-table th:nth-child(3),.admin-shell .tool-preset-table th:nth-child(4){width:10%}.admin-shell .tool-preset-table th:nth-child(5){width:10%}.admin-shell .tool-preset-table th:nth-child(6){width:12%}.admin-shell .tool-preset-table th:nth-child(7){width:9%}.admin-shell .tool-preset-table th:nth-child(8){width:8%}.admin-shell .tool-preset-table th:last-child{width:74px}
.admin-shell .tool-preset-table td{box-sizing:border-box;height:58px;padding:8px 12px;border:0;border-bottom:1px solid #e7ecea;background:transparent;color:#263537;font-size:10px;line-height:1.35;vertical-align:middle}
.admin-shell .tool-preset-table tbody tr:last-child td{border-bottom:0}
.admin-shell .tool-preset-row{transition:background-color .14s ease}
.admin-shell .tool-preset-row:hover{background:#f7faff}
.admin-shell .tool-preset-row.disabled{background:#fafbfb;color:#7d8987}
.admin-shell .tool-preset-identity{min-width:0}
.admin-shell .tool-preset-identity strong,.admin-shell .tool-preset-identity small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-shell .tool-preset-identity strong{color:#1b292c;font-size:12px;font-weight:700}
.admin-shell .tool-preset-identity small{margin-top:4px;color:#3971b3;font-size:9px;font-variant-numeric:tabular-nums}
.admin-shell .tool-preset-row.disabled .tool-preset-identity strong{color:#687472}
.admin-shell .tool-preset-number{font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-shell .tool-preset-status{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:20px;padding:0 7px;border-radius:3px;font-size:9px;font-weight:700;line-height:1;white-space:nowrap}
.admin-shell .tool-preset-status.available{background:#e2f2ed;color:#237563}.admin-shell .tool-preset-status.unavailable{background:#eef0ef;color:#747e7c}
.admin-shell .tool-preset-action{text-align:right}
.admin-shell .tool-preset-table .tool-preset-edit{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:62px;height:28px;margin:0;padding:0 8px;border:1px solid #b8c9de;border-radius:4px;background:#fff;color:#285f9f;font-size:10px;white-space:nowrap;cursor:pointer}
.admin-shell .tool-preset-table .tool-preset-edit:hover{border-color:#7fa3cf;background:#edf5ff;color:#1f57a3}.admin-shell .tool-preset-table .tool-preset-edit:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
.admin-shell .tool-preset-table .tool-preset-edit .flat-icon{width:13px;height:13px}

@media(max-width:1180px){
  .admin-shell .tool-manager-page{padding-inline:24px}.admin-shell .tool-manager-page .tool-manager-page-head{padding-bottom:16px}.admin-shell .tool-preset-table{min-width:900px}
}
@media(max-width:720px){
  .admin-shell .tool-manager-page{padding:0 14px 28px}.admin-shell .tool-manager-page .tool-manager-page-head{align-items:stretch;flex-direction:column;gap:14px}.admin-shell .tool-manager-heading{align-items:flex-start;flex-direction:column;gap:10px}.admin-shell .tool-manager-create{width:100%}
  .admin-shell .tool-preset-table-shell{border:0;background:transparent;box-shadow:none;overflow:visible}.admin-shell .tool-preset-table-wrap{overflow:visible}.admin-shell .tool-preset-table,.admin-shell .tool-preset-table tbody{display:block;min-width:0}.admin-shell .tool-preset-table thead{display:none}.admin-shell .tool-preset-table tbody{display:grid;gap:10px}.admin-shell .tool-preset-table tr.tool-preset-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #d8e0dd;border-radius:4px;background:#fff;overflow:hidden}.admin-shell .tool-preset-table td{display:grid;align-content:center;min-width:0;height:auto;min-height:48px;padding:8px 12px;border-right:1px solid #edf0ef;border-bottom:1px solid #edf0ef}.admin-shell .tool-preset-table td:nth-child(even){border-right:0}.admin-shell .tool-preset-table td::before{content:attr(data-label);margin-bottom:4px;color:#899491;font-size:8px}.admin-shell .tool-preset-table .tool-preset-identity{grid-column:1/-1;min-height:58px;border-right:0}.admin-shell .tool-preset-table .tool-preset-action{text-align:left;border-bottom:0}.admin-shell .tool-preset-table .tool-preset-action .tool-preset-edit{justify-self:start}
}
