.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.split-wide { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(420px, .75fr); gap: 14px; align-items: start; }
.three-col { display: grid; grid-template-columns: 260px minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.stack { display: grid; gap: 12px; }
.split > *, .split-wide > *, .three-col > *, .two-col > *, .stack > * { min-width: 0; }
.sticky { position: sticky; top: 68px; }
.summary-strip { min-height: 70px; padding: 13px 16px; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.summary-item { min-width: 0; padding-right: 10px; border-right: 1px solid var(--gray-200); }
.summary-item:last-child { border-right: 0; }
.summary-label { color: var(--gray-500); font-size: 11px; }
.summary-value { margin-top: 5px; color: var(--gray-800); font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section { padding: 16px; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.section, .panel { min-width: 0; }
.section + .section { margin-top: 12px; }
.section-title { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--gray-800); font-size: 14px; font-weight: 600; }
.section-title::before { content: ""; width: 3px; height: 15px; border-radius: 2px; background: var(--blue-600); margin-right: 7px; }
.section-title > span:first-child { display: flex; align-items: center; }
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px 18px; }
.detail dt { color: var(--gray-500); font-size: 11px; margin-bottom: 5px; }
.detail dd { margin: 0; color: var(--gray-800); font-size: 13px; line-height: 1.5; }
.side-menu { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.side-menu button { width: 100%; min-height: 40px; padding: 8px 13px; border: 0; border-bottom: 1px solid #eef0f3; background: white; text-align: left; color: var(--gray-600); cursor: pointer; }
.side-menu button:last-child { border-bottom: 0; }
.side-menu button.active { color: var(--blue-600); background: var(--blue-50); font-weight: 600; box-shadow: inset 3px 0 var(--blue-600); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 92vw); background: white; z-index: 80; box-shadow: -12px 0 36px rgb(15 23 42 / 16%); display: none; flex-direction: column; }
.drawer.open { display: flex; }
.drawer-head { min-height: 54px; padding: 0 18px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.drawer-body { padding: 18px; overflow: auto; flex: 1; }
.drawer-foot { min-height: 58px; padding: 11px 18px; border-top: 1px solid var(--gray-200); display: flex; justify-content: flex-end; gap: 8px; }
.form-actions { position: sticky; bottom: 0; z-index: 20; margin-top: 12px; padding: 12px 0; border-top: 1px solid var(--gray-200); background: white; display: flex; justify-content: flex-end; gap: 8px; }
.modal-backdrop { position: fixed; inset: 0; background: rgb(15 23 42 / 42%); z-index: 70; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal { width: min(520px, 100%); background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.modal-head { min-height: 52px; padding: 0 18px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.modal-body { padding: 18px; }
.modal-foot { padding: 11px 18px; border-top: 1px solid var(--gray-200); display: flex; justify-content: flex-end; gap: 8px; }
.close { width: 30px; height: 30px; border: 0; background: transparent; color: var(--gray-500); cursor: pointer; font-size: 18px; }
.toast { position: fixed; top: 66px; left: 50%; transform: translate(-50%, -12px); padding: 9px 14px; border-radius: var(--radius); background: var(--gray-950); color: white; z-index: 120; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; font-size: 12px; box-shadow: var(--shadow-md); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
