.canvas-usage-export-layer{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(30,28,25,.28);font-family:var(--font-family,inherit);color:var(--text,#292724)}
.canvas-usage-export-layer *{box-sizing:border-box}
.cue-dialog{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;width:min(1320px,100%);height:min(900px,calc(100dvh - 48px));overflow:hidden;border:1px solid var(--admin-line,#e7e4df);border-radius:18px;background:var(--admin-surface,#fff);box-shadow:0 24px 90px rgba(28,24,19,.18)}
.cue-header{margin:0;min-width:0;min-height:0;flex:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 24px;border-bottom:1px solid var(--admin-line,#e7e4df)}
.cue-header h3{font-size:18px;line-height:1.4;margin:0;font-weight:650}.cue-header p{font-size:12px;margin:5px 0 0;color:var(--muted,#8d877e)}
.cue-close{width:32px;height:32px;border:0;border-radius:9px;background:transparent;font-size:25px;line-height:1;color:var(--muted,#8d877e);cursor:pointer}.cue-close:hover{background:#f3f1ed;color:#39352f}
.cue-body{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-columns:350px minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch}
.cue-settings{display:block;position:static;width:auto;max-width:none;height:auto;min-width:0;min-height:0;flex:none;margin:0;border-radius:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:19px 20px;border-right:1px solid var(--admin-line,#e7e4df);scrollbar-gutter:stable}
.cue-dates{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cue-dates label,.cue-field{min-width:0;display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted,#8d877e);margin:0 0 13px}
.cue-dates input,.cue-field input,.cue-field select{width:100%;min-width:0;height:35px;padding:7px 9px;border:1px solid var(--admin-line,#e7e4df);border-radius:8px;background:#fff;color:var(--text,#292724);font:inherit;font-size:12px;outline:none}.cue-field input:focus,.cue-dates input:focus,.cue-field select:focus{border-color:#eaa16e;box-shadow:0 0 0 2px rgba(239,130,58,.10)}
.cue-member-tools{display:flex;align-items:center;gap:10px;margin:-3px 0 8px;font-size:11px}.cue-member-tools button,.cue-reset-title{border:0;background:transparent;padding:0;color:var(--admin-accent,#c47d48);font:inherit;font-size:11px;cursor:pointer}.cue-member-tools span{margin-left:auto;color:var(--muted,#8d877e)}
.cue-members{height:190px;overflow:auto;border:1px solid var(--admin-line,#e7e4df);border-radius:9px;scrollbar-gutter:stable}
.cue-member{height:49px;display:flex;align-items:center;gap:10px;padding:7px 10px;cursor:pointer}.cue-member:hover{background:#faf8f5}.cue-member input,.cue-check input{width:14px;height:14px;flex:none;margin:0;accent-color:#ed8b4c}.cue-member span{min-width:0;display:flex;flex-direction:column;gap:3px}.cue-member b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:550}.cue-member small{font-size:10px;color:var(--muted,#8d877e)}
.cue-check{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--text,#4c4740);line-height:22px;cursor:pointer}.cue-zero{margin:10px 0 17px}.cue-columns{display:grid;grid-template-columns:1fr 1fr;gap:4px 7px;margin:0 0 17px;padding:10px 0 0;border:0;border-top:1px solid var(--admin-line,#e7e4df)}.cue-columns legend{font-size:12px;color:var(--muted,#8d877e);padding:0 8px 0 0}.cue-reset-title{margin-top:-3px}
.cue-preview-area{position:static;width:auto;max-width:none;height:auto;min-width:0;min-height:0;flex:none;margin:0;overflow:hidden;display:flex;flex-direction:column;background:#f5f4f1;padding:18px 23px}
.cue-preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 13px;font-size:12px}.cue-preview-head b{font-weight:550}.cue-preview-head span{font-size:11px;color:var(--muted,#8d877e)}
.cue-preview-scroll{min-height:0;flex:1;overflow:auto;scrollbar-gutter:stable}.cue-preview-scroll canvas{display:block;max-width:100%;width:100%;height:auto;box-shadow:0 2px 12px rgba(25,24,21,.05)}.cue-preview-scroll canvas[hidden]{display:none}
.cue-message{font-size:12px;line-height:1.7;color:var(--muted,#8d877e);padding:11px 13px;margin-bottom:12px;border:1px solid #e5e1d9;border-radius:9px;background:#fff}.cue-message.is-error{color:#aa573b;background:#fff8f4;border-color:#f0d8ca}.cue-message[hidden]{display:none}.cue-no-members{padding:10px;font-size:11px;color:var(--muted,#8d877e)}
.cue-footer{position:relative;z-index:1;flex:none;min-width:0;margin:0;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 23px;border-top:1px solid var(--admin-line,#e7e4df)}.cue-footer>span{font-size:12px;color:var(--muted,#8d877e)}.cue-footer>div{display:flex;gap:9px}.cue-footer button{min-height:34px;font-size:12px}.cue-footer button:disabled{cursor:default;opacity:.45}
.quota-usage-custom-export{height:35px;white-space:nowrap;flex:none}
@media(max-width:780px){.canvas-usage-export-layer{padding:10px}.cue-dialog{height:calc(100dvh - 20px);border-radius:12px}.cue-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,42%) minmax(0,1fr)}.cue-settings{border-right:0;border-bottom:1px solid var(--admin-line,#e7e4df)}.cue-preview-area{padding:14px}.cue-footer{padding:12px;flex-wrap:wrap}.cue-footer>div{margin-left:auto}.cue-header{padding:14px 17px}.cue-members{height:150px}}
@media(prefers-reduced-motion:reduce){.canvas-usage-export-layer *{scroll-behavior:auto!important}}

/* Semantic aside/main/header rules belong to the workspace shell, not this dialog. */
.cue-dates input[type="date"]{max-width:100%;padding-inline:6px;font-variant-numeric:tabular-nums}
.cue-dates input[type="date"]::-webkit-datetime-edit{padding:0}
.cue-dates input[type="date"]::-webkit-calendar-picker-indicator{flex:none;width:14px;margin:0;padding:1px}
.cue-settings,.cue-preview-scroll{scroll-padding-block:16px}
@media(min-width:781px) and (max-width:1050px){.cue-body{grid-template-columns:320px minmax(0,1fr)}}
@media(max-width:380px){.cue-dates{grid-template-columns:minmax(0,1fr)}.cue-footer>div{flex-wrap:wrap}}
