.ad-popup{--popup-ink:#172b3c;--popup-border:#263746;--popup-line:#d7dcd8;--popup-danger:#b13226;--popup-focus:#4389b6}.ad-popup.ad-popup{box-sizing:border-box;border:1px solid var(--popup-border);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--popup-ink);background:#fff;border-radius:0;padding:10px;font:11.5px/1.4 Segoe UI,Inter,Arial,sans-serif;overflow:auto;box-shadow:0 12px 34px #071b2c3d}.ad-popup::backdrop{background:#1e2c384d}.ad-popup.ad-popup .ad-popup-header,.ad-popup.ad-popup .ad-parameter-titlebar{border:0;border-bottom:1px solid var(--popup-line);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#fff;justify-content:space-between;align-items:center;gap:10px;min-height:32px;margin:0 0 10px;padding:0 0 8px;display:flex}.ad-popup.ad-popup .ad-popup-header:active{cursor:grabbing}.ad-popup.ad-popup .ad-popup-header h2,.ad-popup.ad-popup .ad-parameter-titlebar b{color:var(--popup-ink);margin:0;font:700 13px/1.3 Segoe UI,Inter,Arial,sans-serif}.ad-popup.ad-popup .ad-popup-header p{color:#69736d;margin:3px 0 0;font-size:10px;font-weight:500;line-height:1.3}.ad-popup.ad-popup button{box-sizing:border-box;border:1px solid var(--popup-border);min-height:32px;color:var(--popup-ink);cursor:pointer;background:#fff;border-radius:0;margin:0;padding:6px 10px;font:600 11px/1.3 Segoe UI,Inter,Arial,sans-serif}.ad-popup.ad-popup :is(button[type=submit],.ad-popup-primary,.ad-generate,.ad-parameter-update,.ad-cabinet-menu-actions button,.ad-materials-content button){background:var(--popup-ink);border-color:var(--popup-ink);color:#fff}.ad-popup.ad-popup :is(.is-delete,.ad-popup-danger){border-color:var(--popup-danger);color:var(--popup-danger);background:#fff}.ad-popup.ad-popup button:hover:not(:disabled){filter:brightness(.94)}.ad-popup.ad-popup button:disabled{opacity:.45;cursor:not-allowed}.ad-popup.ad-popup :is(button,.ad-popup-header):focus-visible{outline:2px solid var(--popup-focus);outline-offset:2px}.ad-popup.ad-popup :is(.ad-popup-close,.ad-parameter-close){width:26px;height:26px;min-height:26px;color:var(--popup-ink);background:#eef1ed;border:0;border-radius:0;flex:none;place-items:center;margin:0;padding:0;display:grid}.ad-popup.ad-popup :is(input,select,textarea){box-sizing:border-box;color:var(--popup-ink);background:#fff;border:1px solid #b9c0bb;border-radius:0;font:12px/1.3 Segoe UI,Inter,Arial,sans-serif}.ad-popup.ad-popup :is(input,select,textarea):focus{outline-offset:1px;border-color:#397ca9;outline:2px solid #86b8da}.ad-popup.ad-popup input[type=number]{text-align:right;font-variant-numeric:tabular-nums;width:76px;height:26px;padding:3px 5px}.ad-popup.ad-popup :is(.ad-parameter-body,.ad-workspace-dialog-content){padding:0}.ad-popup.ad-popup :is(footer,.ad-popup-actions){background:#fff;border:0;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin:10px 0 0;padding:0;display:flex}.ad-popup.ad-popup .ad-parameter-secondary{gap:6px;padding:8px 0 0}.ad-popup.ad-popup .ad-parameter-secondary button{height:auto}.ad-popup.ad-popup .ad-parameter-body{gap:8px}.ad-popup.ad-popup .ad-materials-content{gap:6px}.ad-popup.ad-popup .ad-materials-content button{text-align:left;min-height:48px;padding:10px}.ad-popup.ad-popup .ad-materials-content small{color:#d7e0e6;font-size:10px}.ad-popup.ad-popup .ad-decor-grid{gap:8px}.ad-popup.ad-popup .ad-decor-grid button{text-align:left;padding:8px}.ad-popup.ad-popup .ad-decor-grid button[aria-pressed=true]{border:2px solid var(--popup-ink);color:var(--popup-ink);background:#edf2f5}.ad-popup.ad-popup .ad-cabinet-menu-actions{gap:6px;margin-top:10px}.ad-popup.ad-popup .ad-cabinet-menu-actions button{min-height:34px;font-size:10px;font-weight:700}:is(.ad-popup.ad-popup>label:has(input[type=number]),.ad-popup.ad-popup>label:has(select)){grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:8px;margin:8px 0;font-size:11.5px;font-weight:400;display:grid}.ad-popup.ad-popup>label input[type=number]{width:76px;display:block}.ad-popup.ad-popup>label select{width:76px;height:26px;padding:3px}.ad-popup.ad-popup>p,.ad-popup.ad-popup>small{text-transform:none;letter-spacing:normal;color:#69736d;font:11px/1.4 Segoe UI,Inter,Arial,sans-serif}.ad-popup.ad-popup [role=alert]{color:var(--popup-danger)}.ad-popup-inline.ad-popup-inline{background:#fff;border:1px solid #263746;border-radius:0;box-shadow:0 12px 34px #071b2c3d}.ad-popup-inline.ad-popup-inline input{background:#fff;border-radius:0}@media print{.ad-popup,.ad-popup-inline{display:none!important}}.ad-popup.ad-workspace-dialog:has(.ad-materials-content){width:360px}.ad-popup.ad-popup .ad-parameter-update:hover{background:var(--popup-ink);border-color:var(--popup-ink)}[role=dialog] input[type=number]:focus,dialog input[type=number]:focus{font-weight:600}.ad-popup.ad-workspace-dialog:has(.ad-sheets){width:min(1180px,100vw - 32px);max-height:calc(100dvh - 32px)}.ad-sheets{font:12px/1.45 Segoe UI,sans-serif}.ad-sheet-tabs{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.ad-sheet-tabs label{gap:4px;margin-left:auto;display:grid}.ad-sheet-tabs select{min-width:210px;padding:6px}.ad-sheet-project{color:#405664;margin:0;padding:10px 0}.ad-sheet-release{background:#fbf1df;border-left:3px solid #bf9852;margin:0 0 12px;padding:9px 12px}.ad-sheet-release.is-released{background:#e9f3ec;border-color:#587e61}.ad-sheet-browser{grid-template-columns:240px minmax(0,1fr);gap:12px;display:grid}.ad-sheet-browser aside{flex-direction:column;gap:8px;min-width:0;display:flex}.ad-popup.ad-popup .ad-sheet-browser aside button{text-align:left;gap:3px;padding:6px;display:grid}.ad-sheet-browser small{color:#65747d;font-size:10px}.ad-popup.ad-popup .ad-sheet-browser button[aria-pressed=true]{background:#eaf0f3;border:2px solid #172b3c}.ad-sheet-preview{-webkit-user-select:none;user-select:none;background:#edf0f1;padding:8px}.ad-sheet-preview img{object-fit:contain;width:100%;height:auto;max-height:62vh;display:block}.ad-sheet-empty{aspect-ratio:420/297;text-align:center;color:#63747e;background:#f4f6f7;border:1px solid #d6dde0;place-content:center;font-size:16px;display:grid}.ad-sheet-note{color:#61717b;font-size:11px}.ad-sheet-capture,.ad-sheet-template{grid-template-columns:minmax(0,1fr) 270px;gap:18px;margin-top:10px;display:grid}.ad-sheet-template{grid-template-columns:1fr 1fr}.ad-sheet-fields{flex-direction:column;gap:10px;display:flex}.ad-sheet-fields label,.ad-sheet-fee form>label{gap:4px;display:grid}.ad-sheet-fields input:not([type=checkbox]):not([type=color]):not([type=number]),.ad-sheet-fields select,.ad-sheet-fee input:not([type=checkbox]),.ad-sheet-fee select{width:100%;height:32px;padding:5px 7px}:is(.ad-sheet-fields label:has(input[type=checkbox]),.ad-sheet-fee label:has(input[type=checkbox])){align-items:center;gap:8px;display:flex}.ad-sheet-fields input[type=file]{height:auto!important;font-size:11px!important}.ad-sheet-logo{object-fit:contain;width:150px;height:70px}.ad-sheet-crop{touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none;line-height:0;position:relative}.ad-sheet-crop img{pointer-events:none;width:100%;height:auto}.ad-sheet-crop span{box-sizing:border-box;pointer-events:none;background:#6ab5e626;border:2px solid #226990;position:absolute}.ad-sheet-fee{border-top:1px solid #d7dcd8;margin-top:16px;padding-top:10px}.ad-sheet-fee summary{cursor:pointer;font-weight:600}.ad-sheet-fee form{gap:10px;max-width:520px;padding-top:12px;display:grid}@media (width<=700px){.ad-sheet-browser,.ad-sheet-capture,.ad-sheet-template{grid-template-columns:1fr}.ad-sheet-browser .ad-sheet-list-items{max-height:220px}.ad-sheet-tabs label{margin-left:0}}@media print{.ad-sheets{display:none!important}}.ad-sheet-sort{gap:4px;font-weight:600;display:grid}.ad-sheet-sort select{width:100%;min-width:0;height:30px}.ad-sheet-list-items{scrollbar-gutter:stable;flex-direction:column;gap:6px;min-height:0;max-height:62vh;padding:2px;display:flex;overflow-y:auto}.ad-popup.ad-popup .ad-sheet-list-items .ad-sheet-list-page{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;text-align:left;border:2px solid #d2dbe0;flex:none;align-content:start;width:100%;height:auto;min-height:92px;padding:8px;line-height:1.4;overflow:visible}.ad-sheet-list-page b,.ad-sheet-list-page small,.ad-sheet-list-page time{white-space:normal;display:block}.ad-sheet-list-page time{color:#65747d;font-size:10px}.ad-sheet-browser section{min-width:0}.ad-sheet-context-menu{z-index:10;background:#fff;border:1px solid #172b3c;width:195px;padding:5px;position:fixed;box-shadow:0 4px 16px #172b3c30}.ad-popup.ad-popup .ad-sheet-context-menu button{text-align:left;width:100%;height:auto;min-height:32px}.ad-parameter-dialog{z-index:1000;box-sizing:border-box;color:#293d49;background:#fff;border:1px solid #b4c1ca;border-radius:5px;width:304px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:0;padding:0;font:11.5px/1.4 Segoe UI,Inter,sans-serif;position:fixed;overflow:auto;box-shadow:0 6px 22px #142b3b26,0 1px 3px #142b3b14}.ad-parameter-titlebar{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;background:#f5f7f9;border-bottom:1px solid #dce3e8;justify-content:space-between;align-items:center;gap:8px;min-height:32px;padding:0 4px 0 10px;display:flex}.ad-parameter-titlebar b{font-size:12px;font-weight:600}.ad-parameter-dialog.is-moving .ad-parameter-titlebar{cursor:grabbing}.ad-parameter-dialog .ad-parameter-close{color:#52636e;cursor:pointer;background:0 0;border:0;border-radius:3px;place-items:center;width:26px;height:26px;padding:0;display:grid}.ad-parameter-dialog .ad-parameter-close:hover{color:#fff;background:#c84242}.ad-parameter-body{gap:8px;padding:10px;display:grid}.ad-parameter-fields{gap:6px;display:grid}.ad-parameter-fields label{grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:8px;margin:0;font-size:11.5px;font-weight:400;line-height:1.35;display:grid}.ad-parameter-fields input,.ad-parameter-fields select{box-sizing:border-box;color:#243c4b;text-align:right;font-variant-numeric:tabular-nums;background:#fff;border:1px solid #becad3;border-radius:3px;width:76px;min-width:0;height:26px;padding:3px 5px;font:12px/1.2 Segoe UI,Inter,sans-serif}.ad-parameter-fields input:hover,.ad-parameter-fields select:hover{border-color:#819bac}.ad-parameter-fields input:focus,.ad-parameter-fields select:focus{outline-offset:1px;border-color:#397ca9;outline:2px solid #86b8da}.ad-parameter-dialog footer{background:#f8fafb;border-top:1px solid #e0e6e9;justify-content:flex-end;gap:6px;padding:8px 10px;display:flex}.ad-parameter-dialog footer button,.ad-parameter-secondary button{color:#2d4655;cursor:pointer;background:#fff;border:1px solid #b7c5ce;border-radius:3px;min-width:64px;height:27px;padding:3px 10px;font:500 11.5px/1.2 Segoe UI,Inter,sans-serif}.ad-parameter-dialog footer button:hover,.ad-parameter-secondary button:hover{background:#edf4f8;border-color:#7595a9}.ad-parameter-dialog footer .ad-parameter-update{color:#fff;background:#285974;border-color:#285974}.ad-parameter-dialog footer .ad-parameter-update:hover{background:#21495f}.ad-parameter-dialog button:focus-visible,.ad-parameter-titlebar:focus-visible{outline-offset:-2px;outline:2px solid #4389b6}.ad-parameter-body .ad-parameter-note{color:#627580;margin:0;font-size:10px;line-height:1.4}.ad-parameter-body .ad-parameter-error{color:#a12f2f;margin:0;font-size:11px}.ad-parameter-secondary{gap:6px;padding:0 10px 8px;display:flex}.ad-parameter-secondary button{height:25px;font-size:10.5px}@media print{.ad-parameter-dialog{display:none!important}}.ad-dimension-toolbar{color:#22536e}.ad-dimension-toolbar>button:not(.ad-cad-grip) svg{width:24px;height:24px}.ad-dimension-prompt{z-index:80;color:#23475a;pointer-events:none;background:#fffefa;border:1px solid #c6d4dc;border-radius:4px;max-width:calc(100% - 20px);padding:7px 10px;font:12px Inter Variable,sans-serif;position:absolute;bottom:10px;left:10px}.ad-cad-dimensions text:focus{outline:1px dashed #087d64}canvas.ad-dimension-drawing{cursor:crosshair!important}.ad-view .ad-dimension-toolbar:not(.is-vertical){max-width:var(--toolbar-available-width);scrollbar-width:thin;overflow:auto hidden}.ad-view .ad-dimension-toolbar.is-vertical{max-height:var(--toolbar-available-height);scrollbar-width:thin;overflow:hidden auto}.ad-dimension-layer-note{color:#667986;margin:4px 0;font-size:11px}.ad-dimension-settings.ad-parameter-dialog{width:336px}.ad-dimension-settings .ad-parameter-fields label{grid-template-columns:minmax(0,1fr) 160px}.ad-dimension-settings .ad-parameter-fields input,.ad-dimension-settings .ad-parameter-fields select{width:100%}.ad-dimension-settings .ad-parameter-fields input[type=number]{justify-self:end;width:76px}.ad-dimension-settings .ad-parameter-fields input[type=checkbox]{justify-self:end;width:18px;height:18px}.ad-dimension-settings .ad-parameter-fields>button{justify-self:end;min-width:90px}.ad-dimension-settings .ad-parameter-fields input[type=color]{cursor:pointer;justify-self:end;width:76px;height:26px;padding:2px}
