.invoice-identity,.invoice-tax{padding:24px;border:1px solid #deded5;border-radius:18px;background:#fafaf6;min-width:0}.invoice-section-title{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}.invoice-section-title h3{margin:0;font-size:20px}.invoice-section-title p,.invoice-hint{font-size:13px!important;line-height:1.5;color:#626b63;margin:6px 0 14px}.invoice-identity .form-grid{gap:14px}.invoice-identity input[type=file]{font-size:12px;padding:10px;max-width:100%;box-sizing:border-box}#invoice-brand-preview{flex-shrink:0;width:88px;min-height:50px;display:grid;place-items:center;color:#74796f;font-size:12px}#invoice-brand-preview img{max-width:88px;max-height:64px;object-fit:contain}.invoice-check{display:flex!important;align-items:center;gap:10px;margin:18px 0}.invoice-check input{width:18px;height:18px;flex-shrink:0}.invoice-check small{display:block;font-weight:400;margin-top:3px}.invoice-tax select{width:100%;padding:12px;border-radius:10px;border:1px solid #c9cec5;background:white;font:inherit;margin:8px 0 16px}.invoice-tax #invoice-tax-manual{max-width:220px}.invoice-preview-dialog{width:min(960px,96vw)!important;max-width:96vw!important;height:92vh;max-height:92vh;padding:16px!important}.invoice-preview-dialog .dialog-head{padding:0 8px 12px;margin:0}.invoice-preview-dialog h2{font-size:24px}.invoice-preview-dialog iframe{width:100%;height:calc(100% - 86px);border:1px solid #ddd;border-radius:10px;background:#eee}.li-row{position:relative}.li-save{grid-column:1/-1;justify-self:start;font-size:12px!important;padding:0!important}.item-suggestions{grid-column:1/-1;background:#fff;border:1px solid #cfd6ff;border-radius:10px;padding:5px;box-shadow:0 6px 16px #283e8614}.item-suggestions button{display:block;width:100%;padding:10px;text-align:left;border:0;background:transparent;font:inherit;font-size:13px;border-radius:6px;cursor:pointer}.item-suggestions button:hover,.item-suggestions button:focus{background:#e8edff}#invoice-preview-status{padding:12px;background:#edf1ff;border-radius:10px}#invoice-form .dialog-actions{flex-wrap:wrap}@media(max-width:600px){.invoice-identity,.invoice-tax{padding:16px}.invoice-identity .form-grid{grid-template-columns:1fr}.invoice-identity .span-2{grid-column:auto}.invoice-preview-dialog{padding:8px!important}.invoice-preview-dialog h2{font-size:18px}.invoice-preview-dialog .secondary{font-size:12px;padding:8px}.invoice-preview-dialog iframe{height:calc(100% - 78px)}}

.ai-panel{margin-bottom:24px}.ai-panel h2{font-size:26px;margin:8px 0}.ai-panel>p{max-width:650px}.ai-panel label{display:block;margin:20px 0 12px}.ai-panel input{width:100%;box-sizing:border-box;font-size:13px}.ai-example{padding:18px;background:#edf1ff;border-radius:12px;max-width:650px;color:#253ead}.ai-panel details{margin:20px 0;border-top:1px solid #deded5;padding-top:16px}.ai-panel summary{font-weight:750;cursor:pointer}.ai-panel li{margin-bottom:8px;max-width:650px}.ai-connection{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #ddd}.ai-connection small{display:block;font-size:13px;color:#626b63}.ai-panel .invoice-hint{margin-top:22px}

.ai-panel label{display:grid;gap:8px;font-weight:600;margin:22px 0 14px}.ai-panel input[readonly]{width:100%;box-sizing:border-box;min-width:0;border:1px solid #d8dad2;border-radius:12px;padding:14px;background:#f7f7f2;color:#202522;font:14px/1.5 ui-monospace,monospace}.ai-panel a{color:#3154ff;text-underline-offset:3px}

body.dp .branding-panel.ai-panel{display:block}body.dp .ai-panel>label{max-width:720px}body.dp .ai-panel>.primary{width:auto;min-height:48px;padding:13px 24px;margin-bottom:8px}body.dp .ai-panel>h2{margin:8px 0 18px}body.dp .ai-panel>p{line-height:1.55}body.dp .ai-panel>details{max-width:850px}
