:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#292929;background:#f8f8f8;--brand:#ec660a;--brand-soft:#fff0e6;font-synthesis:none;--brand-ink:#a83f00;--muted:#737373;--line:#e5e5e5;--ink:#292929}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{outline-offset:4px}
button{cursor:pointer;transition:background .15s,transform .15s}
button:disabled{cursor:not-allowed;opacity:.5}
button:hover:enabled{filter:brightness(.97)}
button:active:enabled{transform:translateY(1px)}
a{color:inherit;text-decoration:none}
[hidden]{display:none!important}
h1,h2,h3,p{margin-top:0}
h1{font-size:38px;line-height:1.17;letter-spacing:-1.4px;font-weight:650;margin-bottom:13px}
h2{font-size:19px;letter-spacing:-.4px;margin-bottom:7px}
h3{font-size:14px;margin-bottom:6px}
p{line-height:1.65}
label{display:block;font-size:12px;font-weight:600;margin:0 0 8px}
input,select,#saved-email-message{width:100%;border:1px solid #dcdcdc;border-radius:8px;padding:11px 12px;background:white;color:var(--ink);min-height:43px}
#saved-email-message{display:block;min-height:160px;resize:vertical;line-height:1.7;margin-bottom:20px}
#saved-email-message::placeholder{color:#909090}
input:focus,select:focus,textarea:focus{outline:2px solid #ec660a;border-color:transparent}
.primary,.secondary{border:0;border-radius:8px;padding:13px 19px;font-size:12px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:20px;min-height:43px}
.primary{background:var(--brand);color:#202020;box-shadow:0 3px 7px #ec660a20}
.secondary{background:white;color:var(--brand-ink);border:1px solid #efc8ad}
.full-width{width:100%;margin-top:20px}
.eyebrow{color:var(--brand-ink);font-size:10px;letter-spacing:1.7px;font-weight:750;margin-bottom:12px}
.helper{font-size:12px;color:var(--muted);line-height:1.7}
.wordmark{font-size:35px;font-weight:800;letter-spacing:-2px;display:flex;align-items:center;gap:3px}
.wordmark span{font-size:32px;line-height:1;color:#ec660a;font-weight:400;margin-top:5px}
.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}
.sidebar{background:#fff;color:var(--ink);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:35px 21px 0;position:fixed;inset:0 auto 0 0;width:244px;z-index:10}
.sidebar .wordmark{padding-left:13px}
.workspace-label{padding:35px 13px 19px;font-size:9px;letter-spacing:1.4px;color:#737373;line-height:1.9}
.workspace-label span{display:block;font-size:8px;color:#8a8a8a;letter-spacing:1.8px}
.nav-item{width:100%;border:0;background:none;color:#666666;display:flex;align-items:center;gap:12px;text-align:left;font-size:12px;border-radius:7px;padding:13px 12px;margin-bottom:7px;min-height:45px}
.nav-item>span:first-child{font-size:18px;width:20px}
.nav-item.active{background:var(--brand-soft);color:var(--brand-ink);box-shadow:inset 3px 0 0 var(--brand)}
.count{margin-left:auto;background:#ec660a12;padding:3px 5px;border-radius:4px;font-size:9px}
.sidebar-note{margin:auto 13px 35px;padding-top:55px}
.small-symbol{width:33px;height:33px;border:1px solid #efc8ad;border-radius:10px;color:#b24908;display:grid;place-items:center;margin-bottom:15px}
.sidebar-note strong{font-size:12px;line-height:1.8;font-weight:500}
.sidebar-note p{font-size:11px;color:#737373;margin-top:10px}
.account{margin:0 -21px;border-top:1px solid #e5e5e5;padding:22px 17px;display:flex;align-items:center;gap:9px}
.avatar{background:#f0f0f0;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:10px;color:#595959}
.account strong{font-size:10px;font-weight:500;display:block}
.account small{font-size:8px;display:block;color:#737373;margin-top:4px}
.icon-button{margin-left:auto;border:0;background:transparent;color:#666666;padding:5px}
.main-shell{grid-column:2;min-width:0}
.topbar{height:77px;display:flex;justify-content:space-between;align-items:center;padding:0 44px;border-bottom:1px solid var(--line);background:#fff;font-size:11px;color:var(--muted)}
.topbar strong{font-weight:500;color:#414141}
.breadcrumb{padding:0 12px;color:#b8b8b8}
.workspace-badge{display:flex;align-items:center;gap:7px;font-size:10px}
.dot{width:6px;height:6px;border-radius:50%;background:#7caa96}
main{padding:42px 44px 0;max-width:1530px;margin:auto}
.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
.page-heading>div>p:last-child{font-size:13px;color:var(--muted);margin-bottom:0}
.heading-mark{font-size:76px;color:#ffe6d4;margin-right:15px;font-family:Georgia,serif}
.steps{display:flex;list-style:none;padding:0;margin:0 0 28px;gap:31px}
.steps li{display:flex;align-items:center;gap:9px;font-size:10px;color:#858585}
.steps li span{display:grid;place-items:center;border:1px solid #dedede;width:22px;height:22px;border-radius:50%;font-size:9px}
.steps .current{color:var(--brand-ink);font-weight:600}
.steps .current span{background:#fff0e6;border-color:#f6d4bd}
.request-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:31px;align-items:start}
.request-column{min-width:0}
.card{border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 3px 12px #29292903}
.composer{padding:25px 24px 17px}
.card-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.card-heading h2{font-size:15px;letter-spacing:-.2px}
.card-heading p{font-size:11px;color:var(--muted);margin:0}
.feature-icon{display:grid;place-items:center;background:#fff0e6;color:var(--brand-ink);font-size:23px;border-radius:9px;width:39px;height:39px;flex-shrink:0}
.tag{display:inline-block;border:1px solid #f0d8c7;color:#985021;background:#fff9f4;padding:5px 8px;border-radius:5px;font-size:9px;white-space:nowrap}
.card-heading>.tag{margin-left:auto}
.composer textarea{border:0;resize:vertical;min-height:155px;width:100%;font-size:15px;line-height:1.9;padding:15px 1px;color:#373737;background:transparent}
.composer textarea::placeholder{color:#909090}
.composer-actions{border-top:1px solid #eeeeee;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.voice-button{border:0;background:#f3f3f3;color:#606060;border-radius:7px;padding:11px 12px;font-size:10px;display:inline-flex;gap:8px;align-items:center}
.voice-button span{font-size:17px}
.voice-button.listening{background:#fbe9ee;color:#ab385b}
#voice-status{font-size:10px;margin-left:7px;color:var(--brand-ink)}
#voice-help{font-size:10px;line-height:1.6;margin:10px 0 0;color:#737373}
.examples{margin-top:25px}
.examples>span{font-size:9px;letter-spacing:1.2px;color:#858585}
.examples>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.examples button{border:1px solid #dddddd;background:transparent;color:#737373;font-size:10px;border-radius:6px;padding:10px;display:flex;gap:15px}
.examples button span{color:#b1764b}
.request-aside{padding:27px 24px 24px;border:1px solid #f0d8c7;background:linear-gradient(140deg,#fff0e6,#fff9f4);border-radius:12px}
.aside-heading{display:flex;align-items:center;gap:8px;font-size:8px;color:#95623d;letter-spacing:1px;margin-bottom:25px}
.tiny-icon{font-size:16px}
.request-aside>h2{font-size:23px;line-height:1.4;font-weight:550;letter-spacing:-.7px;margin-bottom:12px}
.request-aside>p{font-size:11px;color:#737373;line-height:1.9;margin-bottom:28px}
.benefit{display:flex;gap:12px;margin-bottom:23px}
.benefit>span{font-size:9px;color:#b4784d;padding-top:3px}
.benefit h3{font-size:11px;font-weight:600;margin-bottom:6px}
.benefit p{font-size:10px;color:#737373;line-height:1.9;margin:0}
.catalog-link{padding-top:18px;border-top:1px solid #f0d8c7;margin-top:7px}
.catalog-link p{font-size:10px;color:#737373;margin-bottom:8px}
.text-button{border:0;background:none;padding:0;color:var(--brand-ink);font-size:11px;font-weight:600;display:flex;justify-content:space-between;width:100%}
.interpretation,.selection{margin-top:26px;padding:24px}
.interpretation>p:not(.eyebrow),.interpretation li{font-size:12px;line-height:1.8}
.interpretation ul{padding-left:19px;color:#8b6344}
.candidate-list{display:grid;gap:8px}
.candidate{padding:13px;border:1px solid var(--line);border-radius:8px;background:white;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.candidate strong{font-size:12px;font-weight:600}
.candidate small{font-size:10px;color:var(--muted);display:block;margin-top:5px}
.candidate.chosen{border-color:#ec660a;background:#fff8f2}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.section-heading .eyebrow{font-size:9px;margin-bottom:9px}
.section-heading h2{line-height:1.5}
.module-name{font-size:10px;color:#858585;overflow-wrap:anywhere;margin-bottom:10px}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}
details{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}
summary{font-size:11px;color:#945127;cursor:pointer;margin-bottom:10px}
details ul{font-size:11px;color:var(--muted);padding-left:20px;line-height:1.8;overflow-wrap:anywhere}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}
.form-grid>div{min-width:0}
.selection select,.selection input{font-size:11px}
.selection>.helper{margin-bottom:0}
fieldset{border:0;border-top:1px solid var(--line);padding:20px 0 0;margin:25px 0 0}
legend{float:left;font-size:12px;font-weight:600;width:100%;margin-bottom:5px}
fieldset>.helper{clear:both;font-size:10px;margin-bottom:0}
.optional{font-size:9px;color:#858585;font-weight:400;margin-left:5px}
.reference-details input{max-width:230px}
.review-heading{display:flex;gap:10px;align-items:center;margin:25px 0 10px;padding-top:23px;border-top:1px solid var(--line)}
.review-heading>span{border-radius:50%;width:23px;height:23px;background:#e5f3eb;color:#4e9674;display:grid;place-items:center;font-size:11px}
.review-heading h3{margin:0;font-size:13px}
.table-scroll{overflow:auto}
table{border-collapse:collapse;width:100%;font-size:10px}
th,td{text-align:left;padding:11px 8px;border-bottom:1px solid var(--line);max-width:250px;overflow-wrap:anywhere}
th{font-weight:500;color:#858585;background:#faf8f6}
.confirmation{display:flex;gap:10px;margin:18px 0 0;line-height:1.7;font-weight:400;color:#737373;font-size:11px}
.confirmation input{width:15px;height:15px;min-height:0;margin:3px 0 0;flex-shrink:0;accent-color:var(--brand)}
.alert{font-size:12px;padding:13px 16px;border-radius:8px;line-height:1.8;margin-bottom:22px}
.error{color:#a34554;background:#fff0f2}
.warning{background:#fff7e8;color:#89682b}
.catalog-filters{padding:20px;display:grid;grid-template-columns:1fr 220px;gap:20px}
.catalog-filters input,.catalog-filters select{font-size:12px}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.catalog-card{display:flex;flex-direction:column;padding:20px;min-height:200px;gap:12px}
.catalog-card h2{font-size:14px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.catalog-card .module-name{margin:0;font-size:9px}
.catalog-card .tags{margin:0}
.catalog-card .helper{font-size:10px;margin:0}
.catalog-card button{margin-top:auto;font-size:11px}
.catalog-card .card-status{font-size:9px;color:#858585;display:flex;align-items:center;gap:6px}
.card-status .dot{width:5px;height:5px}
.jobs-list{display:grid;gap:15px}
.job-card{padding:22px}
.job-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.job-header h2{font-size:15px;margin-bottom:7px}
.job-card p{font-size:11px;color:var(--muted);margin-bottom:10px;overflow-wrap:anywhere}
.job-status{border-radius:6px;background:#fff0e6;color:#a44b12;padding:6px 9px;font-size:10px;white-space:nowrap}
.job-status.running{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:28px}
.job-spinner{display:block;width:16px;height:16px;border:2px solid #f0d8c7;border-top-color:var(--brand);border-radius:50%;animation:job-spin .8s linear infinite}
@keyframes job-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.job-spinner{animation:none}}
.job-status.completed{background:#eaf4ee;color:#52836b}
.job-status.scheduled{background:#e9efff;color:#385ca4}
.job-statuses{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.report-description.scheduled{display:block;-webkit-line-clamp:unset}
.history-parameters{min-width:240px;max-width:480px;white-space:normal;overflow-wrap:anywhere}
.history-email-message{white-space:pre-wrap}
.history-parameters pre{white-space:pre-wrap;max-height:320px;overflow:auto}
.job-status.failed,.job-status.interrupted{background:#fff0f2;color:#a34554}
.empty-state{padding:55px 24px;text-align:center;color:#858585}
.empty-state h2{font-size:18px;color:#484848}
.empty-state p{font-size:12px}
footer{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);margin-top:65px;padding:22px 0;color:#858585;font-size:14px;font-weight:700;letter-spacing:-.5px}
footer span{font-size:9px;font-weight:400;letter-spacing:0}
footer span:last-child{margin-left:auto;text-align:right}
.login-view{min-height:100vh;display:grid;place-items:center;background:radial-gradient(at 20% 20%,#ffe6d4,transparent 60%),#f8f8f8;padding:25px}
.login-card{width:100%;max-width:440px;background:white;border:1px solid #ecdccf;border-radius:18px;padding:39px;box-shadow:0 20px 80px #2929290a}
.login-card .wordmark{color:var(--ink);margin-bottom:36px}
.login-card h1{font-size:32px;line-height:1.3}
.login-card>p:not(.eyebrow){font-size:12px;color:var(--muted);margin-bottom:25px}
.login-card>.primary{width:100%;margin-top:16px}
.login-card .error{font-size:12px;margin:12px 0 0;padding:0;background:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){main{padding-top:53px}
.composer textarea{min-height:190px}
.request-layout{grid-template-columns:minmax(0,1fr) 290px;gap:36px}
.request-aside{padding:30px}
}
@media(max-width:1200px){.sidebar{width:215px;padding-left:16px;padding-right:16px}
.app-shell{grid-template-columns:215px minmax(0,1fr)}
.account{margin:0 -16px}
.request-layout{grid-template-columns:minmax(0,1fr) 222px;gap:20px}
main{padding:32px 28px 0}
.topbar{padding:0 28px}
.request-aside{padding:22px 18px}
.card-heading>.tag{display:none}
.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.composer{padding:20px}
.composer-actions{flex-wrap:wrap}
.steps{gap:20px}
.steps li{font-size:9px}
}
@media(max-width:980px){.request-layout{grid-template-columns:1fr}
.request-aside{display:none}
.heading-mark{font-size:60px}
.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sidebar-note{margin-left:8px;margin-right:8px}
footer span:last-child{display:none}
}
@media(max-width:700px){.app-shell{display:block}
.sidebar{position:relative;width:auto;padding:15px 18px}
.sidebar .wordmark{font-size:26px;padding:0}
.sidebar .wordmark span{font-size:25px}
.workspace-label,.sidebar-note,.account{display:none}
.sidebar nav{display:flex;gap:7px;margin-top:17px}
.nav-item{font-size:10px;padding:9px 8px;justify-content:center;gap:5px;margin:0;min-height:37px}
.nav-item>span:first-child{font-size:15px;width:auto}
.count{display:none}
.main-shell{width:100%}
.topbar{height:54px;padding:0 20px;font-size:10px}
.workspace-badge{font-size:8px}
main{padding:29px 18px 0}
h1{font-size:30px}
.page-heading{margin-bottom:23px}
.page-heading>div>p:last-child{font-size:12px;max-width:300px}
.heading-mark{display:none}
.steps{gap:12px;justify-content:space-between}
.steps li{font-size:8px;gap:5px}
.steps li span{width:18px;height:18px}
.composer{padding:19px}
.composer textarea{font-size:14px;min-height:165px}
.composer-actions{gap:13px}
.composer-actions .primary{margin-left:auto}
.examples>div{gap:7px}
.examples button{font-size:9px}
.interpretation,.selection{padding:19px}
.form-grid{gap:10px}
.catalog-filters{grid-template-columns:1fr;padding:17px;gap:15px}
.catalog-grid{grid-template-columns:1fr}
.catalog-card{min-height:180px}
.page-heading>.secondary{font-size:10px;padding:10px}
.page-heading{gap:12px}
.job-header{flex-wrap:wrap}
.login-card{padding:28px}
footer{margin-top:40px;font-size:14px}
footer span{font-size:8px}
.section-heading h2{font-size:17px}
.tag{font-size:8px}
.reference-details .helper{font-size:10px}
}

:root{--report-border:#e8dfd8}
.report-tools{display:flex;justify-content:space-between;gap:20px;margin:24px 0}
.report-tools .text-button{width:auto}
.custom-sheet{border:1px solid var(--report-border);background:#fffdfb;border-radius:9px;padding:22px;margin:24px 0}
.custom-sheet h3{margin-bottom:0}
.custom-sheet .form-grid label>input,.custom-sheet .form-grid label>select{margin-top:8px}
.custom-sheet .form-grid label{margin-bottom:0}
.small-button{border:1px solid #e7d0bf;background:white;color:#a4490d;border-radius:6px;font-size:10px;padding:8px 10px}
.report-date-grid,.report-order-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:13px;margin:20px 0}
.report-date-grid label input,.report-date-grid label select,.report-order-grid label input,.report-order-grid label select{margin-top:8px}
.report-column-row{display:grid;grid-template-columns:1fr 1.25fr 1fr 60px;gap:10px;align-items:start;margin-bottom:9px}
.report-column-row input,.report-column-row select{width:100%;font-size:11px;font-weight:400}
.column-labels{font-size:10px;color:#858585;margin-bottom:9px}
.columns-title{margin:27px 0 12px!important}
.column-row-actions{display:flex;gap:4px;padding-top:6px}
.remove-control{border:1px solid #e4dbd4;background:white;color:#86634b;width:27px;height:30px;border-radius:6px;font-size:16px}
.sheet-filters{border-top:1px solid var(--report-border);padding-top:21px;margin-top:22px}
.sheet-filters>div>label{margin-top:12px}
.sheet-filters>.small-button{margin-top:12px}
.filter-expression{width:100%;margin-top:8px;border:1px solid #dcdcdc;border-radius:8px;padding:11px 12px;resize:vertical}
.filter-controls{display:grid;grid-template-columns:1fr 1fr 1.3fr .75fr auto;gap:8px;margin-top:12px;align-items:start}
.filter-controls input,.filter-controls select{font-size:10px;min-width:0}
.filter-controls button{font-size:10px;padding:11px}
.filter-value-control{min-width:0}
.filter-value-control>.small-button{margin-top:4px;padding:6px 8px}
.filter-value-picker{display:grid;gap:6px;margin-top:6px}
.filter-value-search{display:flex;gap:4px}
.filter-value-picker .helper{margin:0;font-size:11px}
.sample-section{padding:18px 0;border-top:1px solid var(--line);margin-top:15px}
.sample-section h3{font-size:15px}
.sample-table{max-height:370px;border:1px solid var(--line);border-radius:7px}
.sample-table thead th{position:sticky;top:0;z-index:1}
.sample-table td{min-width:100px;max-width:350px}
.sample-table td,.sample-table th{font-size:11px;padding:12px}
.sample-section>.helper{overflow-wrap:anywhere}
.report-message-questions li{font-size:13px;line-height:1.9}
#report-progress{color:var(--brand-ink)}
#create-view>.composer{max-width:none}
#create-view .composer textarea{min-height:150px}
#create-view .examples button{font-size:11px}
#report-editor>.helper{margin-top:18px}
#report-samples .section-heading h2{line-height:1.6}
@media(max-width:1100px){.filter-controls{grid-template-columns:1fr 1fr}
.filter-controls>input,.filter-value-control{grid-column:1/-1}
.report-column-row{grid-template-columns:1fr 1fr}
.column-labels{display:none}
.column-row-actions{justify-content:flex-end}
.report-date-grid,.report-order-grid{grid-template-columns:1fr 1fr}
.report-date-grid>div:first-child,.report-order-grid>div:first-child{grid-column:1/3}
}
@media(max-width:700px){.sidebar nav{overflow-x:auto;justify-content:flex-start;padding-bottom:4px}
.sidebar .nav-item{flex-shrink:0;width:auto;max-width:145px;min-width:100px}
.custom-sheet{padding:15px;margin-left:-5px;margin-right:-5px}
.report-column-row{padding:12px;border:1px solid var(--line);border-radius:8px;gap:9px;background:white}
.report-column-row>input{grid-column:1/3}
.report-column-row>div:nth-child(2){grid-column:1/3}
.filter-controls{gap:9px}
.report-tools{flex-wrap:wrap}
.report-tools .text-button{font-size:10px}
.report-date-grid,.report-order-grid{gap:9px}
.sample-table{max-height:300px}
}


/* Official Adjinn wordmark, served locally in its original colors. */
.wordmark{display:inline-flex;align-items:center;line-height:1;letter-spacing:normal}
.wordmark img{display:block;width:154px;height:auto;max-width:100%;object-fit:contain}
.sidebar .wordmark{padding-left:12px}
.login-card .wordmark{margin-bottom:28px}
.login-card .wordmark img{width:176px}
footer>img{display:block;width:76px;height:auto;flex-shrink:0}
.primary:hover:enabled{background:#f57519;filter:none}
.secondary:hover:enabled,.small-button:hover:enabled{background:#fff4eb}
.nav-item:hover:enabled{background:#fff7f0;filter:none}
.nav-item.active:hover:enabled{background:var(--brand-soft)}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--brand-ink)}
.sidebar .account{border-top:1px solid var(--line)}
@media(max-width:700px){
 .sidebar{border-right:0;border-bottom:1px solid var(--line)}
 .sidebar .wordmark{padding:0}
 .sidebar .wordmark img{width:124px}
 footer>img{width:65px}
}

.history-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.report-filters{padding:20px;margin-bottom:20px}
.report-access-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 16px;font-size:12px}
.report-access-chip{padding:5px 9px;border:1px solid var(--line);border-radius:6px;background:#f8f8f8;overflow-wrap:anywhere}
.report-run-actions{display:flex;flex-wrap:wrap;gap:10px;flex-basis:100%;width:100%}
.saved-report-card .history-actions button{margin:0}
.history-actions .secondary{font-size:11px}

.report-template-upload{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:12px;min-width:0}
.report-template-upload input[type=file]{width:100%;max-width:100%;font-size:13px}
#report-template-summary{min-width:0;max-width:100%}
#report-template-summary .sample-section{min-width:0;margin-top:14px}

.report-conversation{margin:24px 0;min-width:0}
#report-messages{display:flex;flex-direction:column;gap:16px}
.report-message{margin:0;padding:20px;max-width:94%;min-width:0;overflow-wrap:anywhere}
.report-message-user{align-self:flex-end;background:var(--brand-soft);border-color:#f5ceb2}
.report-message-assistant{align-self:flex-start;width:94%}
.report-message-text{white-space:pre-wrap;line-height:1.8;font-size:14px;margin-bottom:0}
.report-message-questions{padding-left:20px;margin-bottom:0}
.report-reply-form{margin-top:20px}
#create-view .report-reply-form textarea{min-height:110px;border:1px solid var(--line);border-radius:8px;padding:12px;margin-top:8px}
.report-reply-form .composer-actions{justify-content:flex-end}
.report-reply-form [role=alert]:empty,.report-reply-form [role=status]:empty{display:none}
.report-description{white-space:pre-line;font-size:13px;line-height:1.7;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.job-header>div:first-child{min-width:0;flex:1}
.report-title-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.report-title-line a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.generation-code-module{min-width:0;margin-top:16px}
.jobs-list{grid-template-columns:minmax(0,1fr)}
.job-card,.generation-code{min-width:0;max-width:100%}
.generation-code-module h3{font-size:12px;overflow-wrap:anywhere}
.generation-code pre{max-width:100%;max-height:560px;overflow:auto;padding:16px;border-radius:8px;background:#202124;color:#f1f3f4;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;tab-size:4}
.generation-code pre:focus-visible{outline:2px solid var(--brand-ink);outline-offset:3px}
@media(max-width:520px){.report-message{max-width:100%}.report-message-assistant{width:100%}}

.report-date-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) repeat(2,minmax(0,1fr))}
.report-date-grid>div{min-width:0}
.period-help{margin-top:-8px}
@media(max-width:1100px){.report-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-date-grid>div:first-child{grid-column:auto}}
@media(max-width:520px){.report-date-grid{grid-template-columns:minmax(0,1fr)}}

#users-list>.card,#audit-list>.card,#audit-view>.card{padding:22px;margin:16px 0;overflow-wrap:anywhere}
#password-form{max-width:620px}
#password-form>.primary,#create-user-form>.primary{margin-top:20px}
#account-name{overflow-wrap:anywhere}
#account-view>.secondary{margin-top:20px}
@media(max-width:700px){#users-list>.card,#audit-list>.card,#audit-view>.card{padding:16px}.sidebar nav{max-width:100%}}

.saved-report-card button,#saved-report-form>button{margin:12px 10px 0 0}
#report-access-form>button{margin:20px 10px 0 0}
.schedule-weekdays{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}
#saved-report-form fieldset{border:1px solid var(--line);border-radius:8px;margin:16px 0;padding:14px}

.report-description.has-latest{display:block;-webkit-line-clamp:unset}
#report-editor>.section-heading{flex-wrap:wrap}
.report-editor-mode{display:inline-block;flex-shrink:0;min-width:140px;padding:12px 22px;border:2px solid var(--brand-ink);border-radius:10px;background:var(--brand-soft);color:var(--brand-ink);font-size:20px;font-weight:800;line-height:1.3;text-align:center}
.report-description a{color:var(--brand-ink);text-decoration:underline;text-underline-offset:3px}
.report-description a:hover{color:var(--brand)}
.downloads-history tr:focus,.delivery-history tr:focus{outline:2px solid var(--brand-ink);outline-offset:-2px}
