.warranty-resume-design{font-size:12px;margin-top:13px;padding:9px 13px;border:1px solid #c6e2d2;border-radius:6px;background:#fff;color:#318165;min-height:40px}
dialog:has(.warranty-design-editor){max-width:1260px;width:calc(100% - 32px)}
.warranty-design-editor .warranty-profile-identity{padding:13px 17px}
.warranty-design-editor .warranty-profile-details{margin-block:15px;grid-template-columns:76px minmax(0,1fr) 70px minmax(120px,.8fr)}
.warranty-design-storage{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 12px;border:1px solid #e1ebe4;border-radius:7px;font-size:12px;line-height:1.8;color:#70917d;background:#f8fbf9;margin-bottom:17px;overflow-wrap:anywhere}
.warranty-design-storage.is-error{color:#a47b50;background:#fffaf3;border-color:#efdfc9}
.warranty-design-storage button[hidden]{display:none}
.warranty-editor-form{margin:0;min-width:0}
.warranty-editor-layout{display:grid;grid-template-columns:295px minmax(0,1fr);gap:24px;align-items:start}
.warranty-edit-controls{margin:0;padding:0;border:0;min-width:0;max-height:560px;overflow-y:auto;overscroll-behavior:contain;padding-right:10px;scrollbar-gutter:stable}
.warranty-edit-controls>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.warranty-edit-section+.warranty-edit-section{border-top:1px solid #e6eee8;margin-top:20px;padding-top:18px}
.warranty-edit-section h3{font-size:13px;color:#476e59;font-weight:600;margin:0 0 14px}
.warranty-edit-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0 0 14px}
.warranty-edit-field>span{font-size:12px;color:#809889;line-height:1.6}
.warranty-edit-field :is(input,textarea,select){width:100%;min-width:0;font-size:12px;margin:0;border-radius:6px}
.warranty-edit-field :is(input,select){height:39px}
.warranty-edit-field textarea{resize:vertical;line-height:1.75;min-height:65px}
.warranty-edit-field small,.warranty-edit-hint{font-size:11px;color:#9aaba0;line-height:1.8;margin:0 0 9px}
.warranty-edit-field small{margin:0}
.warranty-color-control{display:flex;gap:9px;min-width:0;align-items:center}
.warranty-color-control input[type=color]{padding:3px;width:43px;flex-shrink:0;cursor:pointer}
.warranty-color-control input:not([type=color]){font-variant-numeric:tabular-nums}
.warranty-font-control{display:flex;align-items:center;gap:12px}
.warranty-font-control input[type=range]{height:27px;padding:0;border:0;accent-color:#328266}
.warranty-font-control output{font-size:12px;color:#69917a;min-width:39px;text-align:right}
.warranty-edit-preview{min-width:0;position:sticky;top:0}
.warranty-edit-preview .warranty-custom-previews{gap:14px;margin:0}
.warranty-edit-preview .warranty-custom-previews figure{padding:12px;display:flex;flex-direction:column;align-self:start}
.warranty-edit-preview .warranty-custom-previews img{max-height:450px;object-fit:contain}
.warranty-edit-preview .warranty-preview-status{padding-top:0;min-height:34px}
.warranty-design-editor .warranty-download-actions{justify-content:flex-end;gap:9px;margin-top:20px;padding-top:16px}
.warranty-editor-actions .warranty-package-hint{width:100%;margin-right:auto}
.warranty-editor-actions button{min-width:0;padding-inline:14px;white-space:nowrap}
.warranty-editor-actions .text-button{color:#8ca193;background:transparent}
.warranty-editor-tabs{display:none}
.warranty-design-editor[aria-busy=true] .warranty-custom-previews{opacity:.65}
.warranty-design-editor :is(button,input,textarea,select):focus-visible{outline:2px solid #299473;outline-offset:3px}
@media(max-width:1050px){.warranty-editor-layout{grid-template-columns:260px minmax(0,1fr);gap:18px}.warranty-edit-preview .warranty-custom-previews{grid-template-columns:1fr}.warranty-edit-preview .warranty-custom-previews img{max-height:300px}.warranty-design-editor .warranty-profile-details{grid-template-columns:76px minmax(0,1fr)}}
@media(max-width:650px){dialog:has(.warranty-design-editor){width:calc(100% - 20px);padding:20px 16px}.warranty-design-editor .warranty-profile-details{grid-template-columns:1fr;gap:3px}.warranty-editor-tabs{display:flex;border:1px solid #dce9e0;background:#f4f8f5;border-radius:7px;padding:3px;gap:4px;margin-bottom:16px}.warranty-editor-tabs button{flex:1;min-height:42px;font-size:12px;border:0;background:transparent;color:#819989;border-radius:5px}.warranty-editor-tabs button[aria-selected=true]{background:#fff;color:#277956;box-shadow:0 1px 4px #1e3d2c10}.warranty-editor-layout{grid-template-columns:1fr;gap:0}.warranty-edit-controls{max-height:none;padding:0;overflow:visible}.warranty-edit-preview{position:static}.warranty-design-editor[data-pane=edit] .warranty-edit-preview,.warranty-design-editor[data-pane=preview] .warranty-edit-controls{display:none}.warranty-edit-preview .warranty-custom-previews{grid-template-columns:1fr}.warranty-edit-preview .warranty-custom-previews img{max-height:460px}.warranty-edit-field :is(input,select){min-height:44px}.warranty-design-editor .warranty-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.warranty-editor-actions .warranty-package-hint{grid-column:1/-1;text-align:left;margin:0 0 3px}.warranty-design-editor .warranty-editor-actions button{width:100%;min-height:44px;margin:0;font-size:11px;padding-inline:8px}.warranty-design-storage .content-inline-button{min-height:40px}.warranty-resume-design{min-height:44px}.warranty-design-editor .warranty-profile-identity{padding:12px}}
