.atq-portal-body{background:#f3f4f6;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827}
.atq-portal-shell{min-height:100vh}
.atq-portal-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 22px;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:40;transition:transform .22s ease,box-shadow .22s ease;box-shadow:0 1px 0 rgba(17,24,39,.04)}
.atq-portal-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#111827;min-width:0}.atq-portal-brand img{height:34px;width:auto;display:block}.atq-portal-brand strong{display:block;font-size:17px;line-height:1.15}.atq-portal-brand span{display:block;color:#6b7280;font-size:12px;margin-top:2px}
.atq-portal-user{font-size:13px;color:#6b7280;white-space:nowrap}.atq-portal-user a{text-decoration:none}
.atq-portal-main{padding:22px;max-width:1280px;margin:0 auto}
.atq-portal-body--login{background:radial-gradient(circle at 50% 0,rgba(236,224,212,.82),transparent 42%),linear-gradient(180deg,#f7f2eb 0,#ede3d8 100%)}
.atq-portal-shell--login{min-height:100vh;display:flex;flex-direction:column}
.atq-portal-auth{flex:1 0 auto;display:flex;align-items:center;justify-content:center;padding:42px 18px 26px;min-height:0}
.atq-portal-auth__stage{width:min(100%,500px);display:grid;gap:18px}
.atq-portal-auth__brand{display:flex;justify-content:center;margin:0}
.atq-portal-auth__brand-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#2d2622;padding:6px 0}
.atq-portal-auth__brand-link img{height:48px;width:auto;display:block}
.atq-portal-auth__card{width:min(100%,480px);padding:34px 32px 30px;border:1px solid rgba(137,103,77,.13);border-radius:28px;background:rgba(255,252,248,.97);box-shadow:0 28px 80px rgba(79,57,40,.10),inset 0 1px 0 rgba(255,255,255,.72)}
.atq-portal-auth__head{margin-bottom:20px}
.atq-portal-auth__head h1{margin:8px 0 10px;font-size:32px;line-height:1.04;letter-spacing:-.035em;color:#2d2622}
.atq-portal-auth__head p{margin:0;max-width:34ch;color:#6f665f;font-size:14px;line-height:1.6}
.atq-portal-auth__form{gap:15px}
.atq-portal-auth__form label{display:grid;gap:6px}
.atq-portal-auth__form span{font-size:12px;font-weight:600;color:#5d564f}
.atq-portal-auth__form input{width:100%;padding:13px 14px;border:1px solid #d9d1c8;border-radius:14px;background:#fff;color:#2d2622;font-size:14px;line-height:1.2}
.atq-portal-auth__form input:focus{outline:none;border-color:#8a5a44;box-shadow:0 0 0 3px rgba(138,90,68,.12)}
.atq-portal-auth__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}
.atq-portal-auth__actions .button.button-primary{min-height:44px;padding:0 20px;border:none;border-radius:999px;background:#8a5a44;color:#fff;box-shadow:none}
.atq-portal-auth__actions .button.button-primary:hover{background:#744733;color:#fff}
.atq-portal-auth__helper{color:#8a5a44;text-decoration:none;font-weight:600;font-size:13px}
.atq-portal-auth__helper:hover{text-decoration:underline}
.atq-portal-auth__notice{margin:0 0 16px;padding:12px 14px;border-radius:14px;border:1px solid rgba(138,90,68,.18);background:rgba(255,247,240,.9);color:#6f4023;font-size:13px;line-height:1.5}
.atq-portal-pagehead{margin-bottom:16px}.atq-portal-pagehead h1{margin:0 0 6px;font-size:28px;line-height:1.08}.atq-portal-pagehead p{margin:0;color:#6b7280;font-size:14px}.atq-portal-back{display:inline-block;margin-bottom:8px;text-decoration:none;font-weight:600}
.atq-portal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.atq-portal-kpi,.atq-portal-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.03)}.atq-portal-kpi{padding:16px;text-decoration:none;color:inherit;display:block}.atq-portal-kpi strong{display:block;font-size:24px;line-height:1}.atq-portal-kpi span{display:block;margin-top:6px;color:#6b7280;font-size:13px}
.atq-portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.atq-portal-card{padding:16px}.atq-portal-card__head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.atq-portal-card__head h2{margin:0;font-size:18px}.atq-portal-card__head a{text-decoration:none;font-weight:600;font-size:14px}
.atq-portal-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.atq-portal-filters a{background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:7px 11px;text-decoration:none;color:#374151;font-weight:600;font-size:13px}.atq-portal-filters a.is-active{background:#111827;color:#fff;border-color:#111827}
.atq-portal-table{table-layout:auto}.atq-portal-table th,.atq-portal-table td{vertical-align:middle;padding-top:10px;padding-bottom:10px}.atq-portal-table th{font-size:12px;text-transform:uppercase;letter-spacing:.02em;color:#6b7280}.atq-portal-table a{text-decoration:none}.atq-portal-rowlink{color:#111827}.atq-portal-rowlink:hover{color:#8b5e3c}
.atq-portal-entry{max-width:1100px}
.atq-project-tabs[data-atq-portal-tabs]{margin-top:18px}.atq-project-tabs[data-atq-portal-tabs] [data-atq-portal-panel]{display:none}.atq-project-tabs[data-atq-portal-tabs] [data-atq-portal-panel].is-active{display:block}.atq-project-tabs__nav--portal{justify-content:flex-start;display:flex;gap:8px;flex-wrap:wrap}.atq-project-tabs__nav--portal .atq-project-tab{flex:0 0 auto}
.atq-files-group+.atq-files-group{margin-top:18px;padding-top:18px;border-top:1px solid #e5e7eb}.atq-files-group h3{margin:0 0 10px;font-size:15px}.atq-files-list{margin:0;padding-left:18px}.atq-files-list li+li{margin-top:6px}
@media (max-width: 980px){.atq-portal-header{padding:12px 16px;gap:12px}.atq-portal-main{padding:16px}.atq-portal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.atq-portal-grid{grid-template-columns:1fr}.atq-portal-brand strong{font-size:16px}}
@media (max-width: 860px){.atq-portal-header{flex-wrap:wrap;align-items:flex-start}.atq-portal-user{order:2;width:100%;white-space:normal}.atq-portal-brand{order:1}}
@media (max-width: 680px){.atq-portal-kpis{grid-template-columns:1fr}.atq-portal-main{padding:14px}.atq-portal-pagehead h1{font-size:24px}.atq-portal-card{padding:14px}.atq-portal-kpi{padding:14px}.atq-portal-table{font-size:13px}.atq-portal-table th:nth-child(3),.atq-portal-table td:nth-child(3),.atq-portal-table th:nth-child(4),.atq-portal-table td:nth-child(4){display:none}}
@media (max-width: 680px){.atq-portal-auth{padding:26px 14px 18px}.atq-portal-auth__stage{gap:14px}.atq-portal-auth__brand-link img{height:42px}.atq-portal-auth__card{padding:24px 20px 22px;border-radius:22px}.atq-portal-auth__head h1{font-size:27px}.atq-portal-auth__head p{max-width:none}.atq-portal-auth__actions{align-items:stretch}.atq-portal-auth__actions .button.button-primary{width:100%;justify-content:center}.atq-portal-auth__helper{width:100%}}


/* 3.2.1 portal polish */
.atq-portal-main{max-width:1180px;padding:18px 20px}
.atq-portal-pagehead h1{font-size:22px}.atq-portal-pagehead p{font-size:13px}
.atq-portal-kpis{gap:12px}.atq-portal-kpi{padding:14px}.atq-portal-kpi strong{font-size:18px}.atq-portal-kpi span{font-size:12px;margin-top:4px}
.atq-portal-card{padding:14px}.atq-portal-card__head h2{font-size:16px}.atq-portal-card__head a{font-size:13px}
.atq-portal-table{font-size:14px}.atq-portal-table th{font-size:11px}.atq-portal-table td,.atq-portal-table th{padding-top:8px;padding-bottom:8px}
.atq-portal-grid--dashboard{grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-bottom:16px}.atq-portal-grid--full{grid-template-columns:1fr}.atq-portal-grid--full .atq-portal-card{width:100%}
.atq-portal-filtermenu{margin:0 0 14px}.atq-portal-filtermenu>summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:8px 14px;font-weight:600;color:#374151}.atq-portal-filtermenu[open]>summary{margin-bottom:12px}.atq-portal-filtermenu__form{display:flex;gap:12px;flex-wrap:wrap;align-items:end;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px}.atq-portal-filtermenu__form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#6b7280}.atq-portal-filtermenu__form select{min-width:180px}.atq-portal-filtermenu__actions{display:flex;gap:8px;align-items:center}
.atq-portal-table--entries th:nth-child(4),.atq-portal-table--entries td:nth-child(4){display:table-cell}
@media (max-width:980px){.atq-portal-grid--dashboard{grid-template-columns:1fr}.atq-portal-main{padding:16px}}
@media (max-width:680px){.atq-portal-main{padding:14px}.atq-portal-table--entries th:nth-child(4),.atq-portal-table--entries td:nth-child(4){display:none}.atq-portal-filtermenu__form{flex-direction:column;align-items:stretch}.atq-portal-filtermenu__form select{min-width:0;width:100%}}


/* 3.2.2 portal project typography */
.atq-portal-project .atq-project-banner{padding:18px 20px;border-radius:18px}
.atq-portal-project .atq-project-banner__title{font-size:18px;line-height:1.2;margin-bottom:4px}
.atq-portal-project .atq-project-banner__meta{font-size:13px;line-height:1.45}
.atq-portal-project .atq-project-banner__progress-head strong,
.atq-portal-project .atq-project-banner__progress-head span{font-size:13px}
.atq-portal-project .atq-project-segment{height:10px}
.atq-portal-project .atq-project-tabs[data-atq-portal-tabs]{margin-top:16px}
.atq-portal-project .atq-project-grid{gap:14px}
.atq-portal-project .atq-project-card{padding:16px 18px;border-radius:16px}
.atq-portal-project .atq-project-card h2{font-size:15px;line-height:1.25;margin-bottom:10px}
.atq-portal-project .atq-project-card,
.atq-portal-project .atq-project-card p,
.atq-portal-project .atq-project-card li,
.atq-portal-project .atq-project-card td,
.atq-portal-project .atq-project-card th{font-size:13px;line-height:1.5}
.atq-portal-project .atq-project-facts li{padding:7px 0}
.atq-portal-project .atq-budget-head{gap:14px;margin:0 0 14px}
.atq-portal-project .atq-budget-head__label{font-size:14px}
.atq-portal-project .atq-budget-head__hint{font-size:11px}
.atq-portal-project .atq-budget-signal{min-height:44px;gap:6px}
.atq-portal-project .atq-budget-signal__bar{width:14px;border-radius:5px}
.atq-portal-project .atq-budget-signal__bar--1{height:14px}
.atq-portal-project .atq-budget-signal__bar--2{height:21px}
.atq-portal-project .atq-budget-signal__bar--3{height:28px}
.atq-portal-project .atq-budget-signal__bar--4{height:35px}
.atq-portal-project .atq-budget-signal__bar--5{height:42px}
.atq-portal-project .atq-project-card .widefat td,
.atq-portal-project .atq-project-card .widefat th,
.atq-portal-project .atq-portal-table td,
.atq-portal-project .atq-portal-table th{padding-top:8px;padding-bottom:8px}
.atq-portal-project .atq-files-group h3{font-size:14px}
@media (max-width: 860px){
  .atq-portal-project .atq-project-banner{padding:16px}
  .atq-portal-project .atq-project-banner__title{font-size:17px}
}


/* 3.2.3 portal project typography tightening */
.atq-portal-project .atq-project-banner__title{font-size:16px;line-height:1.2;margin-bottom:2px}
.atq-portal-project .atq-project-banner__meta{font-size:12px;line-height:1.35}
.atq-portal-project .atq-project-banner__progress-head span{font-size:12px}
.atq-portal-project .atq-project-card{padding:14px 16px}
.atq-portal-project .atq-project-card h2{font-size:13px;line-height:1.2;margin:0 0 8px}
.atq-portal-project .atq-project-card,
.atq-portal-project .atq-project-card p,
.atq-portal-project .atq-project-card li,
.atq-portal-project .atq-project-card td,
.atq-portal-project .atq-project-card th,
.atq-portal-project .atq-project-card .atq-project-facts strong,
.atq-portal-project .atq-project-card .atq-project-facts span{font-size:12px;line-height:1.45}
.atq-portal-project .atq-project-card .widefat td,
.atq-portal-project .atq-project-card .widefat th{padding-top:7px;padding-bottom:7px}
.atq-portal-project .atq-budget-head{gap:12px;align-items:center}
.atq-portal-project .atq-budget-head__label{font-size:13px}
.atq-portal-project .atq-budget-head__hint{font-size:10px}
.atq-portal-project .atq-budget-signal{gap:8px}
.atq-portal-project .atq-budget-signal__bar{width:18px}
.atq-portal-project .atq-files-group h3{font-size:13px}
.atq-portal-project .atq-project-grid{gap:14px}
@media (max-width: 680px){
  .atq-portal-project .atq-project-banner__title{font-size:15px}
  .atq-portal-project .atq-project-banner__meta{font-size:11px}
  .atq-portal-project .atq-project-card,
  .atq-portal-project .atq-project-card p,
  .atq-portal-project .atq-project-card li,
  .atq-portal-project .atq-project-card td,
  .atq-portal-project .atq-project-card th{font-size:11px;line-height:1.4}
}


/* 3.2.5 portal project typography hard reset */
.atq-portal-project,
.atq-portal-project *{box-sizing:border-box}
.atq-portal-project{font-size:14px;line-height:1.45}
.atq-portal-project .atq-project-banner__main,
.atq-portal-project .atq-project-banner__progress,
.atq-portal-project .atq-project-tabpanel,
.atq-portal-project .atq-project-card{font-size:13px;line-height:1.45}
.atq-portal-project .atq-project-banner__title{font-size:15px;font-weight:700}
.atq-portal-project .atq-project-banner__meta,
.atq-portal-project .atq-project-banner__progress-head strong,
.atq-portal-project .atq-project-banner__progress-head span{font-size:12px;line-height:1.35}
.atq-portal-project .atq-project-card h2,
.atq-portal-project .atq-project-card h3{font-size:13px;line-height:1.25;font-weight:700}
.atq-portal-project .atq-project-card strong,
.atq-portal-project .atq-project-card b{font-size:inherit;line-height:inherit;font-weight:700}
.atq-portal-project .atq-project-card span,
.atq-portal-project .atq-project-card p,
.atq-portal-project .atq-project-card li,
.atq-portal-project .atq-project-card a,
.atq-portal-project .atq-project-card td,
.atq-portal-project .atq-project-card th,
.atq-portal-project .atq-project-card div{font-size:inherit;line-height:inherit}
.atq-portal-project .atq-project-facts li{padding:6px 0}
.atq-portal-project .atq-project-card table{font-size:12px}
.atq-portal-project .atq-project-card table th{font-size:11px;letter-spacing:.02em;text-transform:uppercase}
.atq-portal-project .atq-project-card table td,
.atq-portal-project .atq-project-card table th{padding-top:7px;padding-bottom:7px}
@media (max-width: 680px){
  .atq-portal-project{font-size:13px}
  .atq-portal-project .atq-project-banner__title{font-size:14px}
  .atq-portal-project .atq-project-card,
  .atq-portal-project .atq-project-card p,
  .atq-portal-project .atq-project-card li,
  .atq-portal-project .atq-project-card td,
  .atq-portal-project .atq-project-card th{font-size:11px;line-height:1.4}
}


/* 3.2.7 compact portal tweaks */
.atq-project-banner__actions .button{padding:8px 14px;font-size:13px;line-height:1.2;border-radius:10px;min-height:auto}
.atq-portal-project .atq-project-banner__actions .button{padding:8px 14px;font-size:13px}
.atq-portal-table td strong{font-size:inherit}

.atq-entry-badge{display:inline-block;margin-left:8px;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:600;vertical-align:middle}.atq-entry-badge.is-read{background:#e8f6ef;color:#1e7a4a}.atq-entry-badge.is-unread{background:#fff0e7;color:#b85b17}.atq-portal-filtermenu.is-open{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;margin-bottom:16px;box-shadow:0 1px 2px rgba(0,0,0,.03)}.atq-portal-filtermenu.is-open .atq-portal-filtermenu__form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.atq-portal-filtermenu.is-open label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#6b7280}.atq-portal-filtermenu.is-open select{min-width:180px}.atq-portal-filtermenu.is-open .atq-portal-filtermenu__actions{display:flex;gap:8px;align-items:end}@media (max-width:680px){.atq-portal-filtermenu.is-open .atq-portal-filtermenu__form{flex-direction:column;align-items:stretch}.atq-portal-filtermenu.is-open select{min-width:0;width:100%}.atq-entry-badge{display:inline-block;margin-left:0;margin-top:4px}}

.atq-portal-form{display:block}
.atq-portal-form--stack textarea,
.atq-portal-form--stack input[type="text"],
.atq-portal-form--stack input[type="date"],
.atq-portal-form--stack input[type="time"],
.atq-portal-form--stack select{width:100%;max-width:100%;padding:12px 14px;border:1px solid #d8dbe3;border-radius:10px;background:#fff;box-sizing:border-box}
.atq-portal-form--stack textarea{min-height:120px;resize:vertical}
.atq-portal-form--stack label span{display:block;font-size:12px;font-weight:600;color:#667085;margin:0 0 6px}
.atq-portal-form--stack > * + *{margin-top:12px}
.atq-portal-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.atq-portal-form__grid--thirds{grid-template-columns:repeat(3,minmax(0,1fr))}
.atq-portal-form__grid--quad{grid-template-columns:repeat(4,minmax(0,1fr))}
.atq-project-log-list,.atq-report-list,.atq-report-comments__list{display:grid;gap:12px}
.atq-project-log-item,.atq-report-comment{padding:14px 16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.atq-project-log-item__meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;font-size:13px;color:#667085}
.atq-project-log-item__content p:last-child{margin-bottom:0}
.atq-report-item{border:1px solid #e5e7eb;border-radius:16px;background:#fff;overflow:hidden}
.atq-report-item summary{list-style:none;cursor:pointer;padding:16px 18px;display:flex;justify-content:space-between;gap:16px;align-items:center;background:#f8f8fa}
.atq-report-item summary::-webkit-details-marker{display:none}
.atq-report-item summary small{display:block;color:#667085;font-size:12px;margin-top:4px}
.atq-report-item__body{padding:18px}
.atq-report-journal{border-color:#ece7df;background:#fcfaf7}
.atq-report-journal__summary{background:transparent}
.atq-report-journal__main{min-width:0;display:grid;gap:10px;flex:1 1 auto}
.atq-report-journal__top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.atq-report-journal__eyebrow,.atq-report-journal__badges,.atq-report-journal__meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.atq-report-journal__type{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#efe7dd;color:#7a563b;font-size:11px;font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.03em}
.atq-report-journal__title{display:block;font-size:17px;line-height:1.3;color:#111827}
.atq-report-journal__meta{font-size:12px;line-height:1.4;color:#667085}
.atq-report-journal__summarytext{margin:0;font-size:14px;line-height:1.6;color:#374151}
.atq-report-journal__takeaways{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.atq-report-journal__takeaways li{position:relative;padding-left:16px;font-size:13px;line-height:1.55;color:#111827}
.atq-report-journal__takeaways li::before{content:'';position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:999px;background:#b07b53}
.atq-report-journal__footer{display:flex;align-items:center;justify-content:flex-start}
.atq-report-journal__link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#8b5e3c;text-decoration:none}
.atq-report-journal__link:hover{color:#6f482c}
.atq-report-journal[open]{background:#fff}
.atq-report-journal[open] .atq-report-journal__summary{border-bottom:1px solid #eceef3}
.atq-report-comments{margin-top:18px;padding-top:18px;border-top:1px solid #eceef3}
.atq-report-comments h3{margin:0 0 12px;font-size:16px}
.atq-portal-form--comment textarea{min-height:90px}
@media (max-width: 860px){.atq-portal-form__grid{grid-template-columns:1fr}.atq-project-log-item__meta,.atq-report-item summary{display:block}.atq-report-journal__top{display:block}.atq-report-journal__badges{margin-top:10px}.atq-report-journal__title{font-size:16px}}


.atq-project-composer{border:1px solid #e5e7eb;border-radius:16px;background:#fff;overflow:hidden}
.atq-project-composer summary{list-style:none;cursor:pointer;padding:16px 18px;background:#f8f8fa;font-weight:700}
.atq-project-composer summary::-webkit-details-marker{display:none}
.atq-project-composer__body{padding:18px}
.atq-project-log-item__title{font-weight:700;margin-bottom:8px}
.atq-project-log-item__footer{margin-top:12px}
.atq-portal-editor .wp-editor-wrap{border:1px solid #d8dbe3;border-radius:10px;overflow:hidden}
.atq-portal-editor .mce-top-part::before{box-shadow:none}
.atq-portal-editor textarea.wp-editor-area{min-height:220px}
.atq-report-editor{gap:0}
.atq-report-editor__intro{margin:0 0 6px;color:#667085;font-size:12px;line-height:1.5}
.atq-report-modehead{display:flex;justify-content:space-between;gap:16px;align-items:flex-end}
.atq-report-modehead__content{min-width:0}
.atq-report-modehead__content h2{margin:0 0 4px}
.atq-report-modehead__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.atq-report-editor__notice{margin:0 0 14px;padding:12px 14px;border-radius:14px;border:1px solid #f1c7bf;background:#fff7f5;color:#9f3c2a;font-size:13px;line-height:1.5}
.atq-report-editor__notice strong{display:block;margin-bottom:6px}
.atq-report-editor__notice ul{margin:0;padding-left:18px}
.atq-report-editor__legend{margin:0 0 14px;color:#667085;font-size:12px;line-height:1.5}
.atq-report-editor__toolbar{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin:0 0 18px;padding:14px 16px;border:1px solid #ece7df;border-radius:16px;background:#fcfaf7}
.atq-report-editor__toolbar-status{display:grid;gap:6px}
.atq-report-editor__toolbar-status span{font-size:11px;line-height:1.2;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#7a7f89}
.atq-report-editor__toolbar-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.atq-report-editor input,.atq-report-editor select,.atq-report-editor textarea,.atq-report-editor .button{font-size:13px;line-height:1.45}
.atq-report-editor input::placeholder,.atq-report-editor textarea::placeholder{font-size:12px;color:#98a2b3}
.atq-report-editor label > span{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 6px;font-size:12px;line-height:1.35;color:#6b7280}
.atq-report-editor__section + .atq-report-editor__section{margin-top:18px;padding-top:18px;border-top:1px solid #eceef3}
.atq-report-editor__section h3{margin:0 0 10px;font-size:15px;line-height:1.3}
.atq-report-editor__hint{display:flex;align-items:flex-end;color:#667085;font-size:12px;line-height:1.5}
.atq-report-editor__blocks{display:grid;gap:12px}
.atq-report-editor__folds{display:grid;gap:12px}
.atq-report-editor__fold{border:1px solid #e5e7eb;border-radius:14px;background:#fafbfc;overflow:hidden}
.atq-report-editor__fold summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px}
.atq-report-editor__fold summary::-webkit-details-marker{display:none}
.atq-report-editor__fold summary > span:first-child{min-width:0;display:flex;flex-direction:column;gap:4px}
.atq-report-editor__fold summary strong{font-size:13px;line-height:1.3;color:#111827}
.atq-report-editor__fold summary small{font-size:11px;line-height:1.35;color:#667085}
.atq-report-editor__fold summary > span:last-child{font-size:11px;line-height:1.35;color:#667085;white-space:nowrap}
.atq-report-editor__fold[open] summary{background:#fff}
.atq-report-editor__fold-body{padding:0 16px 16px}
.atq-report-editor__fold-body > * + *{margin-top:12px}
.atq-report-editor__block{padding:14px;border:1px solid #eceef3;border-radius:14px;background:#fafbfc}
.atq-report-editor__block-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 10px}
.atq-report-editor__block-head strong{font-size:13px;line-height:1.3;color:#111827}
.atq-report-editor__block-head span{font-size:11px;line-height:1.3;color:#667085}
.atq-report-editor__block > label + label,.atq-report-editor__block > .atq-portal-form__grid + label{margin-top:12px}
.atq-report-editor__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.atq-report-editor__legacy{margin-top:18px}
.atq-report-editor__legacy summary{font-size:13px}
.atq-report-editor__required{color:#d92d20;font-weight:700}
.atq-report-editor__required-note{display:inline-flex;align-items:center;margin-left:6px;padding:2px 6px;border-radius:999px;background:#f4ebe3;color:#8b5e3c;font-size:10px;line-height:1.2;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.atq-report-send-preview{padding:16px;border:1px solid #ece7df;border-radius:16px;background:#fff;line-height:1.65;color:#1f2b3b}
.atq-report-send-preview > :first-child{margin-top:0}
.atq-report-send-preview > :last-child{margin-bottom:0}
.atq-report-send-option{display:inline-flex;align-items:center;gap:8px;font-size:13px;line-height:1.45;color:#374151}
.atq-portal-editor--report-rich textarea.wp-editor-area{min-height:180px}
@media (max-width:860px){.atq-report-modehead{flex-direction:column;align-items:flex-start}.atq-report-modehead__actions{width:100%}.atq-report-editor__toolbar{flex-direction:column}.atq-report-editor__toolbar-actions{width:100%;justify-content:flex-start}}

.atq-file-meta{color:#667085;font-size:12px}

/* 3.5.0 portal tabs and files polish */
.atq-portal-project .button,
.atq-portal-project input,
.atq-portal-project select,
.atq-portal-project textarea{font-size:12px;line-height:1.35}
.atq-portal-project input[type="file"]{font-size:12px;max-width:100%}
.atq-portal-project input[type="file"]::file-selector-button{font:inherit;padding:8px 12px;border:1px solid #d8dbe3;border-radius:10px;background:#fff;color:#111827;margin-right:10px;cursor:pointer}
.atq-portal-project input[type="file"]::-webkit-file-upload-button{font:inherit;padding:8px 12px;border:1px solid #d8dbe3;border-radius:10px;background:#fff;color:#111827;margin-right:10px;cursor:pointer}
.atq-portal-project .atq-project-tabpanel .button{padding:8px 14px;min-height:auto;border-radius:10px}
.atq-portal-project .atq-files-list{display:grid;gap:8px;padding-left:18px}
.atq-portal-project .atq-files-list li{margin:0}
.atq-portal-project .atq-file-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;list-style:disc}
.atq-portal-project .atq-file-row__main{min-width:0;flex:1 1 auto}
.atq-portal-project .atq-file-delete-form{margin:0;flex:0 0 auto}
.atq-portal-project .atq-file-delete{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#667085;cursor:pointer;font-size:16px;line-height:1;padding:0}
.atq-portal-project .atq-file-delete:hover{color:#111827;border-color:#98a2b3}
.atq-documents-section__head{margin-bottom:14px}
.atq-documents-section__head h2{margin:0 0 6px}
.atq-document-list{display:grid;gap:12px}
.atq-document-card{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:16px;border:1px solid #e7e4de;border-radius:16px;background:#fcfaf7}
.atq-document-card__main{min-width:0;flex:1 1 auto}
.atq-document-card__top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.atq-document-card__title{margin:0;font-size:15px;line-height:1.4;color:#111827}
.atq-document-card__badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#efe7dd;color:#7a563b;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}
.atq-document-card__meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;color:#667085;font-size:12px;line-height:1.45}
.atq-document-card__meta span{display:inline-flex;align-items:center;gap:6px}
.atq-document-card__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.atq-document-card__delete{margin:0}
.atq-document-card__action{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #d8dbe3;border-radius:10px;background:#fff;color:#8b5e3c;font-size:12px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap}
.atq-document-card__action:hover{color:#6f482c;border-color:#c9cdd7}
.atq-document-card__action--danger{color:#9f3c2a;border-color:#efc7bf;background:#fff7f5;cursor:pointer}
.atq-document-upload{border-style:dashed;border-color:#ddd5ca;background:#faf8f4}
.atq-document-upload summary{position:relative;list-style:none;cursor:pointer;padding:16px 48px 16px 18px;font-weight:700;color:#3c4654}
.atq-document-upload summary::-webkit-details-marker{display:none}
.atq-document-upload summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:22px;line-height:1;color:#8b5e3c}
.atq-document-upload[open] summary::after{content:"−"}
.atq-document-upload__body{padding:0 18px 18px}


/* 3.6.4 dashboard reports table polish */
.atq-portal-table--reports{width:100%;border-collapse:collapse;font-size:13px;line-height:1.35}
.atq-portal-table--reports thead th{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:#6b7280;padding:10px 14px;border-bottom:1px solid #e5e7eb;white-space:nowrap}
.atq-portal-table--reports tbody td{font-size:13px;line-height:1.35;padding:12px 14px;border-top:1px solid #eef0f3;vertical-align:middle;color:#111827}
.atq-portal-table--reports tbody tr:first-child td{border-top:none}
.atq-portal-table--reports a{font-size:13px;line-height:1.35;color:#8b5e3c;font-weight:500;text-decoration:none}
.atq-portal-table--reports a:hover{color:#6f482c}
.atq-portal-table--reports .atq-entry-badge{margin-left:0;font-size:11px;line-height:1;padding:4px 8px;vertical-align:middle}
.atq-portal-table--reports td:nth-child(1),
.atq-portal-table--reports td:nth-child(3),
.atq-portal-table--reports td:nth-child(5),
.atq-portal-table--reports td:nth-child(6){white-space:nowrap}
@media (max-width: 860px){
  .atq-portal-table--reports{font-size:12px}
  .atq-portal-table--reports thead th,
  .atq-portal-table--reports tbody td{padding:10px 12px}
}
@media (max-width: 680px){
  .atq-portal-table--reports thead th:nth-child(4),
  .atq-portal-table--reports tbody td:nth-child(4),
  .atq-portal-table--reports thead th:nth-child(6),
  .atq-portal-table--reports tbody td:nth-child(6){display:none}
  .atq-portal-table--reports thead th,
  .atq-portal-table--reports tbody td{font-size:12px;padding:9px 10px}
  .atq-document-card{display:block}
  .atq-document-card__top{display:block}
  .atq-document-card__badge{margin-top:8px}
  .atq-document-card__actions{margin-top:12px;justify-content:flex-start}
  .atq-document-card__action{padding:8px 11px}
}

/* 3.7.1 summary split and client summary polish */
.atq-portal-project .atq-project-grid--summary{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.atq-portal-project .atq-project-grid--summary .atq-project-card{min-height:100%}
.atq-summary-files-group + .atq-summary-files-group{margin-top:14px;padding-top:14px;border-top:1px solid #e5e7eb}
.atq-summary-files-group h3,.atq-summary-files-group h4{margin:0 0 8px}
.atq-project-log-item__title a{color:#8b5e3c;text-decoration:none}
.atq-project-log-item__title a:hover{color:#6f482c}
@media (max-width: 860px){
  .atq-portal-project .atq-project-grid--summary{grid-template-columns:1fr}
}

/* 3.8.0 portal summary refactor */
.atq-portal-project .atq-project-grid--summary-client{grid-template-columns:1.1fr .9fr;align-items:start}
.atq-portal-project .atq-project-grid--summary-admin{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.atq-portal-project .atq-summary-card{min-height:100%}
.atq-portal-project .atq-summary-card--project{grid-column:1/-1}
.atq-project-facts--summary li{padding:7px 0}
.atq-summary-report-list{display:flex;flex-direction:column;gap:10px}
.atq-summary-report-item{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:12px 14px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.atq-summary-report-item__main{min-width:0;flex:1 1 auto}
.atq-summary-report-item__meta{display:flex;flex-wrap:wrap;gap:8px;color:#667085;font-size:12px;margin-bottom:6px}
.atq-summary-report-item__title{font-size:14px;font-weight:700;line-height:1.35}
.atq-summary-report-item__title a{color:#8b5e3c;text-decoration:none}
.atq-summary-report-item__title a:hover{color:#6f482c}
.atq-summary-report-item__side{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px}
.atq-summary-report-item__comments{color:#667085}
.atq-summary-card--files .atq-summary-files-group h3,.atq-summary-card--files .atq-summary-files-group h4{font-size:13px;line-height:1.35}
.atq-files-list--summary li{padding:4px 0}
.atq-summary-card--notes .atq-project-log-item__content{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width: 960px){
  .atq-portal-project .atq-project-grid--summary-client,
  .atq-project-grid--summary-admin{grid-template-columns:1fr}
  .atq-summary-card--project{grid-column:auto}
}
@media (max-width: 680px){
  .atq-summary-report-item{display:block}
  .atq-summary-report-item__side{margin-top:8px;justify-content:flex-start;flex-wrap:wrap}
}


/* 3.8.2 summary cleanup */
.atq-portal-project .atq-summary-card__title{font-size:16px;line-height:1.25;font-weight:700;margin:0 0 12px;color:#111827}
.atq-portal-project .atq-summary-files-group__title{font-size:13px;line-height:1.3;font-weight:700;margin:0 0 8px;color:#374151}
.atq-portal-project .atq-summary-files-group__subtitle{font-size:12px;line-height:1.35;font-weight:700;margin:0 0 6px;color:#111827}
.atq-summary-card--files .atq-files-list--summary{display:grid;gap:8px;padding-left:18px;margin:0}
.atq-portal-project .atq-summary-card--files .atq-files-list--summary li{margin:0;font-size:12px;line-height:1.45}
.atq-portal-project .atq-summary-card--files .atq-file-meta{font-size:11px;color:#667085}
.atq-summary-files-group + .atq-summary-files-group{margin-top:14px;padding-top:14px;border-top:1px solid #e5e7eb}
.atq-summary-report-list{display:grid;gap:10px}
.atq-summary-report-item{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:14px 16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.atq-summary-report-item__main{min-width:0;flex:1 1 auto}
.atq-portal-project .atq-summary-report-item__meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:#667085;margin-bottom:6px}
.atq-portal-project .atq-summary-report-item__title a{font-size:13px;line-height:1.4;font-weight:700;color:#8b5e3c;text-decoration:none}
.atq-summary-report-item__title a:hover{color:#6f482c}
.atq-portal-project .atq-summary-report-item__side{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px;color:#374151}
.atq-portal-project .atq-summary-report-item__comments{font-size:12px;color:#374151}
.atq-portal-project .atq-summary-card--project .atq-project-facts--summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;padding:0;margin:0;list-style:none}
.atq-portal-project .atq-summary-card--project .atq-project-facts--summary li{display:flex;flex-direction:column;gap:2px;padding:0}
.atq-portal-project .atq-summary-card--project .atq-project-facts--summary strong{font-size:11px;line-height:1.3;text-transform:uppercase;letter-spacing:.02em;color:#6b7280}
.atq-portal-project .atq-summary-card--project .atq-project-facts--summary span{font-size:12px;line-height:1.45;color:#111827}
.atq-portal-project .atq-project-grid--summary-client .atq-summary-card--project{grid-column:1/-1}
@media (max-width:860px){.atq-summary-card--project .atq-project-facts--summary{grid-template-columns:1fr}.atq-summary-report-item{display:block}.atq-summary-report-item__side{margin-top:10px}}

/* 3.8.3 portal CSS consolidation */
.atq-portal-project .atq-summary-card h2.atq-summary-card__title,
.atq-portal-project .atq-summary-card h3.atq-summary-files-group__title,
.atq-portal-project .atq-summary-card h4.atq-summary-files-group__subtitle{letter-spacing:normal;text-transform:none}
.atq-portal-project .atq-summary-card--files .atq-files-list--summary a{display:inline-block;margin-right:4px}


/* 4.0.0 portal polish */
.atq-portal-brand{display:flex;align-items:center;gap:14px;min-width:0}
.atq-portal-brand__logo{color:#111827;text-decoration:none;display:block}
.atq-portal-brand__logo img{height:34px;width:auto;display:block}
.atq-portal-table th,.atq-portal-table td{padding:12px 16px}
.atq-portal-table th:first-child,.atq-portal-table td:first-child{padding-left:18px}
.atq-portal-table th:last-child,.atq-portal-table td:last-child{padding-right:18px}
.atq-project-card,.atq-portal-card,.atq-summary-card,.atq-report-item{overflow:hidden}
.atq-summary-report-item,.atq-project-log-item,.atq-report-comment,.atq-project-card .atq-files-group{padding:14px 16px}
.atq-project-log-item + .atq-project-log-item,.atq-report-comment + .atq-report-comment{margin-top:10px}
.atq-project-log-item__meta,.atq-summary-report-item__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#667085;font-size:12px;line-height:1.35}
.atq-project-log-item__meta strong,.atq-summary-report-item__title{font-weight:700}
.atq-project-log-item__content{margin-top:6px;line-height:1.55}
.atq-entry-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700;line-height:1;border:1px solid transparent;white-space:nowrap}
.atq-entry-badge.is-draft{background:#eef2ff;border-color:#d6def7;color:#3554a5}
.atq-entry-badge.is-read{background:#e7f5ec;border-color:#cfe8d8;color:#1d6a43}
.atq-entry-badge.is-unread{background:#fff1e7;border-color:#f2d1b6;color:#b55b19}
.atq-report-item summary{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px}
.atq-report-item summary > span:last-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.atq-report-item__count,.atq-summary-report-item__comments,.atq-file-meta{color:#667085;font-size:12px;line-height:1.35}
.atq-report-item__actions{margin:10px 0 0;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.atq-file-row{padding:4px 0}
.atq-file-row__main,.atq-summary-files-group li{line-height:1.5}
.atq-portal-form--stack > * + *{margin-top:14px}
.atq-portal-form--stack textarea + div,.atq-portal-editor + div{margin-top:14px}
.atq-portal-form--comment textarea + div{margin-top:14px}
.atq-summary-card__title{margin:0 0 14px;font-size:18px;line-height:1.2}
.atq-summary-files-group__title{margin:0 0 10px;font-size:14px;line-height:1.3;font-weight:700}
.atq-summary-files-group__subtitle{margin:0 0 8px;font-size:13px;line-height:1.35;font-weight:700}
.atq-summary-files-group{padding:0}
.atq-summary-report-list,.atq-project-log-list,.atq-report-comments__list{display:flex;flex-direction:column;gap:10px}
.atq-summary-report-item{padding:14px 16px}
.atq-project-grid--summary-client{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)}
.atq-summary-card--files .atq-files-list,.atq-summary-card--notes .atq-project-log-list{margin:0;padding:0;list-style:none}
.atq-summary-card--files li + li{margin-top:6px}
.atq-summary-card--project .atq-project-facts--summary{margin:0;padding:0;list-style:none}
.atq-summary-card--project .atq-project-facts--summary li{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:8px 0;border-bottom:1px solid #eef0f3}
.atq-summary-card--project .atq-project-facts--summary li:last-child{border-bottom:0}
.atq-summary-card--project .atq-project-facts--summary strong{font-size:12px;color:#6b7280;text-transform:uppercase;letter-spacing:.02em}
.atq-summary-card--project .atq-project-facts--summary span{font-size:14px;color:#111827}
.atq-portal-card__head h2,.atq-project-card h2{line-height:1.2}
.atq-report-comments h3,.atq-files-group h3{margin:0 0 10px;font-size:15px;line-height:1.3}
.atq-list-muted{margin:0;color:#6b7280;line-height:1.5}
@media (max-width: 860px){
  .atq-project-grid--summary-client{grid-template-columns:1fr}
  .atq-report-item summary{display:block}
  .atq-report-item summary > span:last-child{margin-top:8px;justify-content:flex-start}
  .atq-portal-table th,.atq-portal-table td{padding:10px 12px}
}


/* 4.0.1 mobile portal layout */
@media (max-width: 860px){
  .atq-portal-project .atq-project-banner{
    display:block;
    padding:16px 16px 18px;
  }
  .atq-portal-project .atq-project-banner__main,
  .atq-portal-project .atq-project-banner__progress{
    width:100%;
    max-width:none;
    min-width:0;
  }
  .atq-portal-project .atq-project-banner__progress{
    margin-top:14px;
  }
  .atq-portal-project .atq-project-banner__progress-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 10px;
  }
  .atq-portal-project .atq-project-banner__progress-head span{
    white-space:nowrap;
  }
  .atq-portal-project .atq-project-segments{
    width:100%;
  }
  .atq-portal-project .atq-project-grid,
  .atq-portal-project .atq-project-grid--summary,
  .atq-portal-project .atq-project-grid--summary-client,
  .atq-portal-project .atq-project-grid--summary-admin{
    grid-template-columns:1fr;
  }
  .atq-portal-project .atq-summary-card,
  .atq-portal-project .atq-project-card,
  .atq-portal-project .atq-report-item,
  .atq-portal-project .atq-project-log-item,
  .atq-portal-project .atq-report-comment{
    width:100%;
    min-width:0;
  }
  .atq-portal-project .atq-summary-card--project,
  .atq-portal-project .atq-project-grid--summary-client .atq-summary-card--project{
    grid-column:auto;
  }
}

@media (max-width: 680px){
  .atq-portal-project .atq-project-banner{
    padding:14px 14px 16px;
    border-radius:18px;
  }
  .atq-portal-project .atq-project-banner__title{
    font-size:15px;
    line-height:1.2;
  }
  .atq-portal-project .atq-project-banner__meta,
  .atq-portal-project .atq-project-banner__meta--address{
    font-size:12px;
    line-height:1.45;
  }
  .atq-portal-project .atq-project-banner__progress-head strong,
  .atq-portal-project .atq-project-banner__progress-head span{
    font-size:12px;
    line-height:1.2;
  }
  .atq-portal-project .atq-summary-report-item,
  .atq-portal-project .atq-project-log-item,
  .atq-portal-project .atq-report-comment,
  .atq-portal-project .atq-project-card,
  .atq-portal-project .atq-summary-card{
    padding:14px;
  }
  .atq-portal-project .atq-summary-report-item__meta,
  .atq-portal-project .atq-project-log-item__meta{
    gap:6px;
  }
}

/* 4.0.2 portal redesign */
.atq-portal-body{
  background:linear-gradient(180deg,#f7f2ec 0%,#f5f1ea 100%);
  color:#1e2430;
}
.atq-portal-header{
  background:rgba(250,247,243,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(139,94,60,.10);
  box-shadow:0 10px 30px rgba(40,32,24,.04);
}
.atq-portal-pagehead h1,
.atq-portal-hero h1,
.atq-project-hero h1{
  color:#1d2430;
}
.atq-portal-user{
  color:#7a7f89;
  font-weight:500;
}
.atq-portal-user a{color:#8b5e3c;font-weight:600}
.atq-portal-main{
  max-width:1240px;
  padding:28px 22px 40px;
}
.atq-portal-eyebrow,
.atq-portal-card__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#8b5e3c;
  font-weight:700;
}
.atq-portal-hero{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);
  gap:18px;
  margin-bottom:18px;
}
.atq-portal-hero__content,
.atq-portal-hero__aside,
.atq-project-hero,
.atq-portal-kpi,
.atq-portal-card,
.atq-project-card,
.atq-summary-card,
.atq-report-item{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(139,94,60,.12);
  box-shadow:0 14px 35px rgba(40,32,24,.06);
}
.atq-portal-hero__content,
.atq-portal-hero__aside{
  border-radius:24px;
  padding:24px 26px;
}
.atq-portal-hero__content{
  background:linear-gradient(135deg,rgba(255,255,255,.94) 0%,rgba(247,239,230,.96) 100%);
}
.atq-portal-hero h1,
.atq-project-hero h1{
  margin:8px 0 10px;
  font-size:34px;
  line-height:1.02;
  letter-spacing:-.03em;
}
.atq-portal-hero p,
.atq-project-hero__subtitle{
  margin:0;
  font-size:15px;
  line-height:1.65;
  color:#5d6673;
  max-width:62ch;
}
.atq-portal-hero__chips,
.atq-project-hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.atq-portal-chip,
.atq-project-hero__chip{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(139,94,60,.10);
  color:#6f482c;
  font-size:13px;
  font-weight:600;
}
.atq-portal-hero__aside{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:linear-gradient(160deg,#1f2b3b 0%,#273548 100%);
  color:#fff;
}
.atq-portal-hero__aside-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:rgba(255,255,255,.7);
  font-weight:700;
}
.atq-portal-hero__aside-value{
  margin-top:12px;
  font-size:56px;
  line-height:.95;
  font-weight:800;
}
.atq-portal-hero__aside-text{
  margin-top:10px;
  font-size:14px;
  line-height:1.5;
  color:rgba(255,255,255,.78);
}
.atq-portal-kpis{
  gap:16px;
  margin-bottom:20px;
}
.atq-portal-kpi{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  border-radius:20px;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.atq-portal-kpi:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(40,32,24,.08);
  border-color:rgba(139,94,60,.22);
}
.atq-portal-kpi__icon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(139,94,60,.18),rgba(31,43,59,.12));
  position:relative;
}
.atq-portal-kpi__icon::before{
  content:'';
  position:absolute;
  inset:11px;
  border-radius:10px;
  border:2px solid rgba(111,72,44,.55);
}
.atq-portal-kpi__body{display:block}
.atq-portal-kpi strong{
  display:block;
  font-size:30px;
  line-height:1;
  color:#1f2b3b;
  letter-spacing:-.03em;
}
.atq-portal-kpi span{
  display:block;
  margin-top:6px;
  color:#667085;
  font-size:13px;
}
.atq-portal-kpi[data-kpi="reponses-non-lues"] .atq-portal-kpi__icon,
.atq-portal-kpi[data-kpi="reponses-recentes"] .atq-portal-kpi__icon{
  background:linear-gradient(135deg,rgba(31,43,59,.18),rgba(92,122,156,.14));
}
.atq-portal-kpi[data-kpi="prospects"] .atq-portal-kpi__icon{
  background:linear-gradient(135deg,rgba(139,94,60,.18),rgba(186,139,108,.14));
}
.atq-portal-grid{gap:18px}
.atq-portal-grid--dashboard-v2{grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr)}
.atq-portal-card,
.atq-project-card,
.atq-summary-card,
.atq-report-item{
  border-radius:22px;
  padding:18px;
}
.atq-portal-card--compact{padding:16px;}
.atq-portal-card--soft{
  background:rgba(255,255,255,.86);
}
.atq-portal-card__head{
  align-items:flex-start;
  margin-bottom:14px;
}
.atq-portal-card__head h2{
  margin:4px 0 0;
  font-size:20px;
  line-height:1.1;
  letter-spacing:-.02em;
}
.atq-portal-card__head a,
.atq-entry-list-item__link,
.atq-step-card__action a,
.atq-summary-report-item__title a,
.atq-project-hero__address a{
  color:#8b5e3c;
  font-weight:700;
  text-decoration:none;
}
.atq-portal-card__head a:hover,
.atq-entry-list-item__link:hover,
.atq-step-card__action a:hover,
.atq-summary-report-item__title a:hover,
.atq-project-hero__address a:hover{color:#6f482c}
.atq-report-linked-file{margin:10px 0 0;font-size:14px;line-height:1.5;color:#5f6471}.atq-report-linked-file a{color:#8b5e3c;font-weight:700;text-decoration:none}.atq-report-linked-file a:hover{text-decoration:underline}
.atq-report-detail{display:grid;gap:18px}
.atq-report-detail__section{display:grid;gap:10px}
.atq-report-detail__section h3,.atq-report-detail__info-card h3{margin:0;font-size:15px;line-height:1.3;color:#1f2b3b}
.atq-report-detail__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}
.atq-report-detail__meta-item{padding:14px 16px;border:1px solid rgba(139,94,60,.10);border-radius:16px;background:rgba(249,247,243,.72)}
.atq-report-detail__meta-item span,.atq-report-detail__facts dt{display:block;margin:0 0 6px;font-size:11px;line-height:1.35;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#7a7f89}
.atq-report-detail__meta-item strong,.atq-report-detail__facts dd{display:block;margin:0;color:#1f2b3b;font-size:14px;line-height:1.55}
.atq-report-detail__meta-item--wide{grid-column:1/-1}
.atq-report-detail__meta-text{color:#1f2b3b;line-height:1.65}
.atq-report-detail__summary,.atq-report-detail__callout,.atq-report-detail__info-card{padding:18px 20px;border:1px solid rgba(139,94,60,.10);border-radius:18px;background:rgba(255,251,246,.86)}
.atq-report-detail__callout{border-left:4px solid #c77d42}
.atq-report-detail__rich,.atq-report-detail__summary,.atq-report-detail__callout,.atq-report-detail__info-body{color:#2b3240;line-height:1.72}
.atq-report-detail__rich > :first-child,.atq-report-detail__summary > :first-child,.atq-report-detail__callout > :first-child,.atq-report-detail__info-body > :first-child{margin-top:0}
.atq-report-detail__rich > :last-child,.atq-report-detail__summary > :last-child,.atq-report-detail__callout > :last-child,.atq-report-detail__info-body > :last-child{margin-bottom:0}
.atq-report-detail__rich ul,.atq-report-detail__rich ol,.atq-report-detail__summary ul,.atq-report-detail__summary ol{padding-left:20px}
.atq-report-detail__rich blockquote,.atq-report-detail__summary blockquote{margin:0;padding-left:14px;border-left:3px solid rgba(139,94,60,.18);color:#5f6471}
.atq-report-detail__followups{display:grid;gap:10px}
.atq-report-detail__followup{padding:14px 16px;border:1px solid rgba(139,94,60,.10);border-radius:16px;background:rgba(249,247,243,.72)}
.atq-report-detail__followup-title{display:block;color:#1f2b3b;font-size:14px;line-height:1.5}
.atq-report-detail__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.atq-report-detail__chip{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#f2e8dd;color:#6f482c;font-size:11px;line-height:1.2;font-weight:700}
.atq-report-detail__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.atq-report-detail__facts{display:grid;gap:10px;margin:14px 0 0}
.atq-report-detail__facts div{display:grid;gap:4px;padding-top:10px;border-top:1px solid rgba(139,94,60,.10)}
.atq-report-detail__facts div:first-child{padding-top:0;border-top:0}
@media (max-width: 860px){
  .atq-report-detail__meta,
  .atq-report-detail__grid{grid-template-columns:1fr}
  .atq-report-detail__summary,
  .atq-report-detail__callout,
  .atq-report-detail__info-card{padding:16px}
}
.atq-portal-pagehead--listing{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.atq-pagehead-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  min-width:130px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(139,94,60,.10);
}
.atq-pagehead-meta__value{
  font-size:28px;
  line-height:1;
  font-weight:800;
  color:#1f2b3b;
}
.atq-pagehead-meta__label{
  margin-top:6px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#7a7f89;
}
.atq-portal-filtermenu>summary{
  background:rgba(255,255,255,.84);
  border-color:rgba(139,94,60,.14);
  box-shadow:0 8px 20px rgba(40,32,24,.04);
}
.atq-portal-filtermenu__form{
  background:rgba(255,255,255,.88);
  border-color:rgba(139,94,60,.12);
  border-radius:20px;
  box-shadow:0 10px 25px rgba(40,32,24,.05);
}
.atq-project-list,
.atq-prospect-list,
.atq-entry-list,
.atq-step-list{
  display:grid;
  gap:12px;
}
.atq-project-list-item,
.atq-prospect-card,
.atq-entry-list-item,
.atq-step-card{
  border:1px solid rgba(139,94,60,.12);
  background:rgba(250,248,245,.86);
  border-radius:18px;
  padding:14px 16px;
}
.atq-project-list-item__head,
.atq-prospect-card__head,
.atq-entry-list-item__head,
.atq-step-card{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.atq-project-list-item h3,
.atq-prospect-card h3,
.atq-entry-list-item h3{
  margin:0;
  font-size:17px;
  line-height:1.14;
  letter-spacing:-.02em;
}
.atq-project-list-item__titlebar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.atq-project-list-item__secondary{
  margin-top:6px;
}
.atq-project-list-item__alert{
  display:inline-flex;
  align-items:flex-start;
  gap:7px;
  min-height:0;
  padding:0;
  border:0;
  background:none;
  color:#6f482c;
  font-size:12px;
  line-height:1.45;
  font-weight:600;
  letter-spacing:.01em;
  text-decoration:none;
  white-space:normal;
}
.atq-project-list-item__alert::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:999px;
  background:currentColor;
  opacity:.52;
  flex:0 0 auto;
  transform:translateY(1px);
}
.atq-project-list-item__alert.is-pending{
  color:#8a5a30;
}
.atq-project-list-item__alert.is-overdue{
  color:#6f4023;
}
.atq-project-list-item__alert:hover,
.atq-project-list-item__alert:focus-visible{
  color:#55311c;
  text-decoration:underline;
}
.atq-project-list-item__meta,
.atq-prospect-card__meta,
.atq-entry-list-item__meta,
.atq-step-card__meta,
.atq-project-hero__address{
  margin-top:4px;
  font-size:12px;
  line-height:1.5;
  color:#6b7280;
}
.atq-project-list-item__progress{
  margin-top:12px;
}
.atq-project-list-item__progress-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.atq-project-list-item__progress-top span,
.atq-project-list-item__next span,
.atq-project-list-item__aside span,
.atq-prospect-card__grid span,
.atq-step-card__top span{
  font-size:11px;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#7a7f89;
  font-weight:700;
}
.atq-project-list-item__progress-top strong,
.atq-project-list-item__next strong,
.atq-project-list-item__aside strong,
.atq-prospect-card__grid strong,
.atq-step-card__top strong,
.atq-project-hero__side-value{
  font-size:14px;
  line-height:1.4;
  color:#1f2b3b;
}
.atq-project-list-item__footer,
.atq-entry-list-item__footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
}
.atq-project-list-item__next,
.atq-project-list-item__aside{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.atq-progress-track{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(0,1fr));
  gap:8px;
}
.atq-progress-track__segment{
  height:10px;
  border-radius:999px;
  background:#ddd8d1;
}
.atq-progress-track__segment.is-done{background:#8b5e3c}
.atq-progress-track__segment.is-current{background:#d7b798}
.atq-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(139,94,60,.14);
  background:rgba(139,94,60,.10);
  color:#6f482c;
  font-size:13px;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
}
.atq-status-badge.is-actif,
.atq-status-badge.is-pause{background:rgba(31,43,59,.08);color:#243447;border-color:rgba(31,43,59,.10)}
.atq-status-badge.is-termine{background:rgba(26,127,92,.12);color:#16674d;border-color:rgba(26,127,92,.16)}
.atq-status-badge.is-abandonne{background:rgba(93,102,115,.10);color:#55606d;border-color:rgba(93,102,115,.15)}
.atq-prospect-card__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}
.atq-prospect-card__grid div,
.atq-step-card__body{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.atq-entry-list-item__footer{
  align-items:center;
}
.atq-entry-list-item__context{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 11px;
  border-radius:999px;
  background:rgba(31,43,59,.06);
  color:#55606d;
  font-size:12px;
  line-height:1;
  font-weight:700;
}
.atq-step-card{
  grid-template-columns:56px minmax(0,1fr) auto;
  align-items:center;
}
.atq-step-card__index{
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f0e5d9;
  color:#6f482c;
  font-weight:800;
}
.atq-step-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.atq-step-card__top strong{font-size:16px}
.atq-step-card__action{
  padding-left:16px;
  white-space:nowrap;
}
.atq-step-card.is-done .atq-step-card__index{background:rgba(26,127,92,.14);color:#16674d}
.atq-step-card.is-current{border-color:rgba(139,94,60,.26);box-shadow:0 10px 24px rgba(111,72,44,.08)}
.atq-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.atq-section-head span{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#7a7f89;
  font-weight:700;
}
.atq-project-hero{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);
  gap:18px;
  margin-bottom:18px;
  border-radius:26px;
  padding:24px 26px;
  background:linear-gradient(140deg,rgba(255,255,255,.92) 0%,rgba(244,235,226,.94) 100%);
}
.atq-project-hero__content{min-width:0}
.atq-project-hero__subtitle{margin-top:8px}
.atq-project-hero__address{margin-top:14px;display:block;width:100%}
.atq-project-hero__side{
  border-radius:22px;
  padding:20px;
  background:linear-gradient(160deg,#1f2b3b 0%,#273548 100%);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.atq-project-hero__side-label,
.atq-project-hero__side-meta{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:rgba(255,255,255,.72);
  font-weight:700;
}
.atq-project-hero__side-value{
  margin-top:10px;
  font-size:28px;
  line-height:1.1;
  color:#fff;
  letter-spacing:-.03em;
}
.atq-project-hero__next{
  margin-top:16px;
  font-size:14px;
  line-height:1.6;
  color:rgba(255,255,255,.86);
}
.atq-project-hero__next strong{color:#fff}
.atq-project-journey{
  margin-bottom:18px;
  padding:18px 20px;
  border-radius:22px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(139,94,60,.10);
  box-shadow:0 10px 25px rgba(40,32,24,.05);
}
.atq-project-journey__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.atq-project-journey__head h2{
  margin:0;
  font-size:18px;
  line-height:1.15;
}
.atq-project-journey__head span{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#7a7f89;
  font-weight:700;
}
.atq-project-journey__list{
  display:flex;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.atq-project-journey__list::-webkit-scrollbar{display:none}
.atq-project-journey__item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:18px;
  background:rgba(249,247,243,.9);
  border:1px solid rgba(139,94,60,.10);
  flex:0 0 min(260px,72vw);
  scroll-snap-align:start;
}
.atq-project-journey__item.is-current{border-color:rgba(139,94,60,.26);box-shadow:0 10px 22px rgba(111,72,44,.08)}
.atq-project-journey__item.is-done .atq-project-journey__index{background:#8b5e3c;color:#fff}
.atq-project-journey__index{
  width:38px;
  height:38px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ede2d6;
  color:#6f482c;
  font-weight:800;
}
.atq-project-journey__body{display:flex;flex-direction:column;gap:2px}
.atq-project-journey__body strong{font-size:14px;line-height:1.35;color:#1f2b3b}
.atq-project-journey__body span{font-size:12px;color:#7a7f89}
.atq-project-journey__status{display:inline-flex;align-items:center;width:max-content;margin-top:2px;padding:4px 8px;border-radius:999px;background:#efe7dd;color:#6f482c;font-size:11px;line-height:1.2;font-weight:700}
.atq-project-journey__timing{margin-top:6px;font-size:11px;line-height:1.45;color:#667085}
.atq-project-journey__warning{margin:8px 0 0;font-size:12px;line-height:1.5;color:#374151}
.atq-project-journey__link{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;width:100%}
.atq-project-journey__item.is-selected{border:2px solid rgba(31,43,59,.28);box-shadow:0 0 0 3px rgba(31,43,59,.06)}
.atq-phase-block + .atq-phase-block{margin-top:18px}
.atq-phase-block h3{margin:0 0 8px;font-size:15px}
.atq-step-panel{border-color:rgba(139,94,60,.12);background:linear-gradient(145deg,rgba(255,252,248,.98) 0%,rgba(249,244,237,.94) 100%)}
.atq-step-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.atq-step-panel__head h2{margin:4px 0 0}
.atq-step-panel__eyebrow{display:inline-block;font-size:11px;line-height:1.3;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#7a7f89}
.atq-step-panel__state{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;border:1px solid rgba(139,94,60,.14);background:#fff;color:#6f482c;font-size:11px;line-height:1.2;font-weight:700;white-space:nowrap}
.atq-step-panel__state.is-current{background:#efe7dd;border-color:rgba(139,94,60,.24)}
.atq-step-panel__state.is-done{background:#f4eee8;color:#6a4a31}
.atq-step-panel__timing{margin:12px 0 0;font-size:13px;line-height:1.5;color:#667085}
.atq-step-panel__summary{margin:12px 0 0;font-size:17px;line-height:1.7;color:#1f2b3b;font-weight:400;max-width:none}
.atq-step-panel__focus,.atq-step-panel__warning{margin-top:16px;padding:14px 16px;border-radius:16px;border:1px solid rgba(139,94,60,.10);background:rgba(255,255,255,.72)}
.atq-step-panel__focus h3,.atq-step-panel__warning h3,.atq-step-panel__resource-group h3{margin:0 0 8px;font-size:14px;line-height:1.35}
.atq-step-panel__focus p,.atq-step-panel__warning p{margin:0;line-height:1.6}
.atq-step-panel__warning{background:rgba(248,241,232,.9)}
.atq-step-panel__resources{margin-top:18px;border-top:1px solid rgba(139,94,60,.10);padding-top:18px}
.atq-step-panel__resources summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:700;color:#1f2b3b}
.atq-step-panel__resources summary::-webkit-details-marker{display:none}
.atq-step-panel__resources summary small{font-size:11px;line-height:1.35;color:#7a7f89;font-weight:600}
.atq-step-panel__resources-body{display:grid;gap:14px;margin-top:14px}
.atq-step-panel__resource-group{padding:14px 16px;border:1px solid rgba(139,94,60,.10);border-radius:16px;background:rgba(255,255,255,.76)}
.atq-step-panel__resource-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.atq-step-panel__resource-list li{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;font-size:13px;line-height:1.5}
.atq-step-panel__resource-list li span{flex:0 0 auto;color:#6b7280;font-size:12px;line-height:1.4;white-space:nowrap}
.atq-step-panel__resource-list a{color:#8b5e3c;text-decoration:none;font-weight:600}
.atq-step-panel__resource-list a:hover{color:#6f482c}
.atq-step-panel__history{margin-top:14px;border-top:1px solid rgba(139,94,60,.10);padding-top:14px}
.atq-step-panel__history summary{list-style:none;cursor:pointer;font-size:13px;line-height:1.35;font-weight:700;color:#1f2b3b}
.atq-step-panel__history summary::-webkit-details-marker{display:none}
.atq-step-panel__history-list{display:grid;gap:10px;margin-top:12px}
.atq-step-panel__history-item{padding:12px 14px;border:1px solid rgba(139,94,60,.10);border-radius:14px;background:rgba(255,255,255,.72)}
.atq-step-panel__history-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.atq-step-panel__history-head a{color:#8b5e3c;text-decoration:none;font-weight:600}
.atq-step-panel__history-head a:hover{color:#6f482c}
.atq-step-panel__history-head span{font-size:12px;line-height:1.4;color:#6b7280;white-space:nowrap}
.atq-step-panel__history-item p{margin:8px 0 0;color:#1f2b3b;line-height:1.6}
.atq-step-panel__empty{margin-top:16px}
.atq-project-tabs__nav--portal{
  gap:10px;
  margin-bottom:14px;
  flex-wrap:nowrap;
  align-items:center;
  overflow-x:auto;
  padding-bottom:2px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.atq-project-tabs__nav--portal::-webkit-scrollbar{display:none}
.atq-project-tabs__group{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  min-width:0;
}
.atq-project-tabs__group--primary{
  flex-wrap:nowrap;
}
.atq-project-tabs__group--admin{
  margin-left:auto;
  padding:4px 6px 4px 14px;
  border-left:1px solid rgba(31,43,59,.12);
  background:rgba(248,244,238,.92);
  border-radius:999px;
}
.atq-project-tabs__group-label{
  display:inline-block;
  padding-right:2px;
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7a7f89;
}
.atq-project-tabs__nav--portal .atq-project-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(139,94,60,.12);
  background:rgba(255,255,255,.7);
  color:#5f6471;
  font-weight:600;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
  scroll-snap-align:start;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.atq-project-tabs__nav--portal .atq-project-tab:hover{
  background:rgba(255,255,255,.96);
  color:#1f2b3b;
  border-color:rgba(139,94,60,.18);
  box-shadow:0 1px 2px rgba(31,43,59,.06);
}
.atq-project-tabs__nav--portal .atq-project-tab.is-active{
  background:#fff;
  color:#1f2b3b;
  border-color:rgba(31,43,59,.20);
  box-shadow:inset 0 -2px 0 #8b5e3c,0 1px 2px rgba(31,43,59,.08);
}
.atq-summary-card__title{font-size:20px}
.atq-portal-project .atq-summary-card--project .atq-project-facts--summary strong{
  color:#7a7f89;
}
.atq-summary-report-item,
.atq-project-log-item,
.atq-report-comment{
  border-radius:18px;
  background:rgba(249,247,243,.86);
  border:1px solid rgba(139,94,60,.10);
}
@media (max-width: 1080px){
  .atq-portal-grid--dashboard-v2,
  .atq-project-hero,
  .atq-project-journey__list,
  .atq-prospect-card__grid{
    grid-template-columns:1fr 1fr;
  }
  .atq-project-journey__list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 860px){
  .atq-portal-main{padding:18px 16px 30px}
  .atq-portal-hero,
  .atq-project-hero,
  .atq-portal-pagehead--listing,
  .atq-portal-grid--dashboard-v2,
  .atq-prospect-card__grid,
  .atq-project-journey__list{
    grid-template-columns:1fr;
  }
  .atq-pagehead-meta{align-items:flex-start}
  .atq-project-list-item__footer,
  .atq-entry-list-item__footer,
  .atq-step-card,
  .atq-step-card__top,
  .atq-project-journey__head{
    display:block;
  }
  .atq-project-list-item__titlebar{
    display:block;
  }
  .atq-project-list-item__secondary{
    margin-top:8px;
  }
  .atq-step-card__action,
  .atq-entry-list-item__link,
  .atq-project-list-item__aside{
    margin-top:12px;
    padding-left:0;
  }
  .atq-portal-hero h1,
  .atq-project-hero h1{font-size:28px}
  .atq-portal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .atq-project-tabs__group--admin{margin-left:12px}
}
@media (max-width: 640px){
  .atq-portal-kpis{grid-template-columns:1fr}
  .atq-portal-hero__content,
  .atq-portal-hero__aside,
  .atq-project-hero,
  .atq-portal-card,
  .atq-project-card,
  .atq-summary-card,
  .atq-report-item,
  .atq-project-list-item,
  .atq-prospect-card,
  .atq-entry-list-item,
  .atq-step-card{
    padding:16px;
    border-radius:18px;
  }
  .atq-portal-hero h1,
  .atq-project-hero h1{font-size:24px}
  .atq-portal-kpi strong{font-size:26px}
  .atq-project-list-item h3,
  .atq-prospect-card h3,
  .atq-entry-list-item h3{font-size:18px}
  .atq-project-hero__side-value{font-size:24px}
}

/* 4.0.3 refinements */
.atq-portal-grid--dashboard-v2 + .atq-portal-grid--full,
.atq-portal-grid--full + .atq-portal-grid--full{
  margin-top:18px;
}
.atq-project-hero .atq-portal-back{
  display:block;
  margin:0 0 14px;
}
.atq-project-hero .atq-portal-eyebrow{
  display:block;
  margin-bottom:10px;
}
.atq-entry-list-item__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}
.atq-entry-list-item__comments{
  font-size:12px;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#7a7f89;
  font-weight:700;
}
@media (max-width: 860px){
  .atq-entry-list-item__actions{
    width:100%;
    justify-content:space-between;
  }
}


/* 4.1.5 layout refinements */
.atq-project-journey__item.is-current{background:rgba(244,235,226,.95);border-color:rgba(139,94,60,.24)}
.atq-project-journey__item.is-done{background:rgba(246,240,233,.95)}
.atq-project-journey__item.is-done .atq-project-journey__body span{color:#6f482c}
@media (max-width: 640px){
  .atq-project-hero{position:relative;padding:18px 18px 16px;gap:14px}
  .atq-project-hero__content{padding-right:132px}
  .atq-project-hero__side{position:absolute;top:18px;right:18px;width:116px;min-height:0;padding:12px 12px 10px;border-radius:18px}
  .atq-project-hero__side-label{font-size:10px;letter-spacing:.08em}
  .atq-project-hero__side-value{margin-top:6px;font-size:18px;line-height:1.1}
  .atq-project-hero__side-meta{margin-top:4px;font-size:10px}
  .atq-project-hero__next--phase{display:none}
  .atq-project-hero__next--action{display:none}
  .atq-project-journey{padding:16px}
  .atq-project-journey__head{margin-bottom:10px}
  .atq-project-journey__head h2{font-size:16px}
  .atq-project-journey__head span{display:none}
  .atq-project-journey__list{gap:10px}
  .atq-project-journey__item{padding:12px 14px;border-radius:16px}
  .atq-project-journey__index{width:34px;height:34px;border-radius:11px}
  .atq-project-journey__body strong{font-size:13px}
  .atq-project-journey__body span{font-size:11px}
  .atq-project-journey__timing,.atq-project-journey__warning{font-size:11px}
  .atq-step-panel__head{display:block}
  .atq-step-panel__state{margin-top:10px}
  .atq-step-panel__summary{font-size:15px}
  .atq-step-panel__resource-list li{display:block}
  .atq-step-panel__resource-list li span{display:block;margin-top:4px;white-space:normal}
  .atq-project-list-item{padding:12px 14px}
  .atq-project-list-item h3{font-size:16px}
  .atq-project-list-item__meta{font-size:11px;line-height:1.45}
  .atq-project-list-item__progress{margin-top:10px}
  .atq-project-list-item__progress-top{margin-bottom:6px}
  .atq-project-list-item__progress-top span{font-size:10px}
  .atq-project-list-item__progress-top strong{font-size:12px}
  .atq-progress-track{gap:6px}
  .atq-progress-track__segment{height:8px}
  .atq-project-list-item__footer,.atq-project-list-item__next,.atq-project-list-item__aside{display:none !important}
  .atq-portal-grid--dashboard-v2{gap:14px}
  .atq-project-card h2{font-size:14px}
}

@media (min-width: 641px){.atq-project-journey__item{flex-basis:280px}}

.atq-project-journey{overflow:hidden}
.atq-project-journey__list{padding-bottom:2px;margin-bottom:-2px}
.atq-project-journey__item{flex:0 0 min(260px,74vw)}
.atq-project-journey__body strong{font-size:13px}
.atq-project-journey__body span{font-size:11px}
.atq-project-hero__address{word-break:break-word}
.atq-entry-list-item__actions:empty{display:none}
@media (min-width: 861px){
}
@media (max-width: 640px){
  .atq-project-tabs__nav--portal{display:grid;gap:10px;padding-bottom:0;margin-bottom:10px;overflow:visible;scroll-snap-type:none}
  .atq-project-tabs__group{min-width:0}
  .atq-project-tabs__group--primary,
  .atq-project-tabs__group--admin{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .atq-project-tabs__group--primary::-webkit-scrollbar,
  .atq-project-tabs__group--admin::-webkit-scrollbar{display:none}
  .atq-project-tabs__group--admin{
    margin-left:0;
    padding:0 2px 2px;
    border-left:0;
    border-radius:0;
    background:transparent;
  }
  .atq-project-tabs__group-label{
    font-size:9px;
    padding-right:4px;
    white-space:nowrap;
  }
  .atq-project-tabs__nav--portal .atq-project-tab{min-height:38px;padding:8px 12px;font-size:12px}
  .atq-project-journey__item{flex-basis:82vw;padding:12px 12px}
}


.atq-project-hero .atq-portal-back{font-size:13px;line-height:1.2}
.atq-project-hero h1{font-size:44px}
.atq-project-hero__subtitle{font-size:18px}
.atq-summary-card--full{width:100%;grid-column:1/-1}
.atq-summary-actions{display:flex;flex-wrap:wrap;gap:10px}
.atq-summary-action{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#f6f1ea;color:#8b5e3c;text-decoration:none;font-weight:600}
.atq-summary-action:hover{text-decoration:none;background:#efe7dd}
.atq-project-grid--summary-dashboard{align-items:start;grid-template-columns:minmax(0,1fr)}
.atq-project-grid--summary-dashboard > *{grid-column:1/-1}
.atq-summary-card--overview{grid-column:1/-1}
.atq-summary-retain__summary{max-width:none;color:#1f2b3b;font-size:clamp(18px,2.2vw,26px);line-height:1.6;font-weight:400;letter-spacing:-.01em}
.atq-summary-retain__summary > :first-child{margin-top:0}
.atq-summary-retain__summary > :last-child{margin-bottom:0}
.atq-summary-retain__points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.atq-summary-retain__point{padding:15px 16px;border:1px solid rgba(139,94,60,.10);border-radius:16px;background:rgba(249,247,243,.78)}
.atq-summary-retain__point p{margin:0;color:#1f2b3b;line-height:1.65;font-weight:400}
.atq-summary-updates{display:grid;gap:10px}
.atq-summary-updates__item{display:grid;gap:4px;padding:14px 16px;border:1px solid rgba(139,94,60,.10);border-radius:16px;background:rgba(249,247,243,.78);color:#1f2b3b;text-decoration:none}
.atq-summary-updates__item:hover{background:#fff}
.atq-summary-updates__eyebrow{font-size:11px;line-height:1.2;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8b5e3c}
.atq-summary-updates__item strong{font-size:15px;line-height:1.45}
.atq-summary-updates__item small{font-size:12px;line-height:1.4;color:#6b7280}
.atq-summary-current__list{display:grid;gap:10px}
.atq-summary-current__item{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:8px;padding:14px 16px;border:1px solid rgba(139,94,60,.10);border-radius:16px;background:rgba(249,247,243,.78)}
.atq-summary-current__item.is-highlight{border-color:rgba(139,94,60,.22);background:linear-gradient(145deg,rgba(255,252,248,.98) 0%,rgba(246,238,228,.96) 100%);box-shadow:0 10px 24px rgba(111,72,44,.06)}
.atq-summary-current__head{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:flex-start}
.atq-summary-current__title,.atq-summary-journal__title{display:block;color:#1f2b3b;font-size:15px;line-height:1.5;font-weight:600}
.atq-summary-current__meta,.atq-summary-current__status{grid-column:1;margin:8px 0 0;font-size:12px;line-height:1.45;color:#667085}
.atq-summary-current__status{font-weight:700;color:#8b5e3c}
.atq-summary-current__due{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#f7f0e7;color:#8b5e3c;font-size:11px;line-height:1.2;font-weight:700;white-space:nowrap}
.atq-summary-current__due.is-soon{background:#f5ead8;color:#9a6a32}
.atq-summary-current__due.is-overdue{background:#f8e2db;color:#9f3c2a}
.atq-summary-current__due.is-done{background:#e6f0ea;color:#2f6b4f}
.atq-summary-current__actions{grid-column:2;grid-row:2 / span 2;align-self:start;justify-self:end;display:flex;flex-wrap:wrap;gap:8px;margin-top:0}
.atq-summary-current__action,.atq-summary-current__action-form button{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:7px 12px;border:1px solid rgba(139,94,60,.16);border-radius:999px;background:#fff;color:#6f482c;font-size:12px;line-height:1.2;font-weight:600;text-decoration:none;cursor:pointer}
.atq-summary-current__action:hover,.atq-summary-current__action-form button:hover{border-color:rgba(139,94,60,.26);color:#5d3a24}
.atq-summary-current__action-form{margin:0}
.atq-summary-current__action-form button{background:#e6f0ea;border-color:#cfe1d5;color:#2f6b4f}
.atq-summary-current__action-form button:hover{background:#dcebe2;border-color:#bdd3c4;color:#255840}

.atq-summary-card--next-meeting .atq-summary-card__body{font-size:17px;font-weight:600;line-height:1.5}
.atq-summary-card--next-meeting .atq-summary-card__facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.atq-summary-card__body{color:#2b3240;line-height:1.65}
.atq-summary-card__body > :first-child{margin-top:0}
.atq-summary-card__body > :last-child{margin-bottom:0}
.atq-summary-card__facts{display:grid;gap:10px;margin:14px 0 0}
.atq-summary-card__facts div{display:grid;gap:4px;padding-top:10px;border-top:1px solid rgba(139,94,60,.10)}
.atq-summary-card__facts div:first-child{padding-top:0;border-top:0}
.atq-summary-card__facts dt{margin:0;font-size:11px;line-height:1.35;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#7a7f89}
.atq-summary-card__facts dd{margin:0;color:#1f2b3b;font-size:14px;line-height:1.55}
.atq-summary-journal__date{margin:0 0 8px;font-size:12px;line-height:1.4;color:#6b7280}
.atq-summary-journal__title{margin:0 0 14px}
.atq-summary-journal--link{display:block;color:inherit;text-decoration:none}
.atq-summary-journal__document{margin:0;color:#6b7280;font-size:12px;line-height:1.45}
.atq-summary-journal__document span{color:#1f2b3b;font-weight:600}
.atq-summary-budget-status{display:grid;gap:4px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(139,94,60,.10)}
.atq-summary-budget-status span{font-size:11px;line-height:1.35;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#7a7f89}
.atq-summary-budget-status strong{color:#1f2b3b;font-size:14px;line-height:1.45}
.atq-summary-pending p{margin:0 0 6px}
.atq-summary-card--pending{border-color:rgba(139,94,60,.18);background:linear-gradient(145deg,rgba(255,252,248,.98) 0%,rgba(246,238,228,.96) 100%)}
.atq-summary-card--pending .atq-summary-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.atq-summary-card--pending .atq-summary-card__title{margin:0}
.atq-summary-state{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;border:1px solid rgba(139,94,60,.18);background:rgba(255,255,255,.72);color:#6f482c;font-size:11px;line-height:1;font-weight:700;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.atq-summary-state--soon{background:rgba(201,159,109,.14);border-color:rgba(168,126,74,.28);color:#8a5a30}
.atq-summary-state--overdue{background:rgba(155,102,63,.18);border-color:rgba(123,78,46,.42);color:#6f4023;box-shadow:0 0 0 1px rgba(123,78,46,.10)}
.atq-summary-card--pending .atq-summary-pending{max-width:780px}
.atq-summary-pending__text{margin:0;font-size:clamp(21px,2.4vw,30px);line-height:1.28;font-weight:700;letter-spacing:-.02em;color:#1f2b3b}
.atq-summary-pending__meta{margin:12px 0 0;font-size:13px;line-height:1.5;color:#6b7280}
.atq-summary-pending__meta span{color:#374151;font-weight:600}
.atq-summary-card--pending.is-soon{border-width:2px;border-color:rgba(168,126,74,.42);background:linear-gradient(145deg,rgba(255,250,244,.98) 0%,rgba(244,233,219,.96) 100%);box-shadow:0 0 0 3px rgba(201,159,109,.12),0 16px 36px rgba(111,72,44,.08)}
.atq-summary-card--pending.is-overdue{border-width:3px;border-color:rgba(123,78,46,.46);background:linear-gradient(145deg,rgba(253,245,238,.99) 0%,rgba(236,217,202,.97) 100%);box-shadow:0 0 0 4px rgba(155,102,63,.14),inset 0 0 0 1px rgba(123,78,46,.12),0 20px 42px rgba(95,61,36,.12)}
.atq-summary-card--pending.is-overdue .atq-summary-pending__text{color:#5d3a24}
.atq-summary-card--pending.is-empty{padding-top:14px;padding-bottom:14px;background:rgba(255,255,255,.72);border-style:dashed}
.atq-summary-card--pending.is-empty .atq-summary-card__head{margin-bottom:6px}
.atq-summary-card--pending.is-empty .atq-summary-card__title{font-size:15px}
.atq-summary-pending__empty{font-size:13px}
.atq-summary-card--compact{padding-top:14px;padding-bottom:14px}
.atq-summary-card--compact .atq-summary-card__title{margin-bottom:10px}
.atq-summary-card--files .atq-summary-actions{gap:8px}
.atq-summary-card--files .atq-summary-action{padding:9px 13px}
.atq-project-journey{overflow:hidden}
.atq-project-journey__list{scrollbar-width:none}
@media (min-width: 981px){
  .atq-project-journey__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:16px;padding-bottom:0;margin-bottom:0}
  .atq-project-journey__item{min-width:0;flex:initial}
}
@media (max-width: 980px){
  .atq-project-journey__list{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media (max-width: 640px){
  .atq-project-hero h1{font-size:34px}
  .atq-project-hero__subtitle{font-size:16px}
  .atq-summary-retain__points{grid-template-columns:1fr}
  .atq-summary-card--next-meeting .atq-summary-card__facts{grid-template-columns:1fr}
  .atq-summary-current__item{display:block}
  .atq-summary-current__head{display:block}
  .atq-summary-current__due{margin-top:8px}
  .atq-summary-current__actions{justify-self:auto;margin-top:12px}
  .atq-step-panel__history-head{display:block}
  .atq-step-panel__history-head span{display:block;margin-top:4px;white-space:normal}
  .atq-summary-card--pending .atq-summary-card__head{display:block}
  .atq-summary-state{margin-top:8px}
  .atq-summary-pending__text{font-size:24px}
}
@media (max-width: 520px){
  .atq-project-hero{padding:16px;gap:12px}
  .atq-project-hero__content{padding-right:0}
  .atq-project-hero__side{
    position:static;
    top:auto;
    right:auto;
    width:auto;
    min-height:0;
    margin-top:2px;
    padding:12px 14px;
    border-radius:16px;
  }
  .atq-project-hero__side-label{font-size:9px}
  .atq-project-hero__side-value{font-size:18px;line-height:1.1}
  .atq-project-hero__side-meta{font-size:10px}
}

/* 4.1.9 refinements */
.atq-portal-project .atq-project-tabs__nav--portal{gap:8px;margin-bottom:10px}
.atq-portal-project .atq-project-tabs__nav--portal .atq-project-tab{padding:6px 12px;font-size:12px;line-height:1;border-radius:15px}
.atq-project-journey{overflow:hidden}
.atq-project-journey__list{scrollbar-width:none;-ms-overflow-style:none}
.atq-project-journey__list::-webkit-scrollbar{display:none}
.atq-project-journey__item{min-width:0}
.atq-project-journey__item.is-launch{border-style:dashed}
.atq-project-journey__item.is-launch .atq-project-journey__body span{color:#8b5e3c}
.atq-project-card--stack .atq-portal-form textarea{width:100%}
.atq-project-card--stack .atq-portal-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.atq-project-card--stack .atq-portal-form__grid label span{display:block;margin:0 0 6px;font-size:12px;color:#6b7280}
.atq-project-card--stack .atq-report-editor .atq-portal-form__grid label > span{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
@media (max-width: 782px){
  .atq-project-card--stack .atq-portal-form__grid{grid-template-columns:1fr}
  .atq-portal-project .atq-project-tabs__nav--portal .atq-project-tab{padding:7px 12px;font-size:12px}
}

/* 5.0.1 budget portal */
.atq-budget-view-switch{
  display:inline-flex;
  gap:6px;
  align-items:center;
}
.atq-budget-view-switch__link{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #d7d9dd;
  color:#5d564f;
  text-decoration:none;
  font-weight:600;
  font-size:12px;
}
.atq-budget-view-switch__link.is-active{
  background:#8a5a44;
  border-color:#8a5a44;
  color:#fff;
}
.atq-summary-card--budget{
  overflow:visible;
  --atq-budget-paid:#1f365d;
  --atq-budget-invoiced:#7e96b3;
  --atq-budget-planned:#c79c66;
  --atq-budget-factured:var(--atq-budget-invoiced);
  --atq-budget-engaged:var(--atq-budget-planned);
  --atq-budget-available:#f2e8d8;
  --atq-budget-reserve-bg:#f7f0e7;
  --atq-budget-reserve-line:#ddccb7;
  --atq-budget-overrun:#b97a66;
  --atq-budget-ink:#1a2a40;
  --atq-budget-muted:#677282;
  --atq-budget-border:rgba(126,99,73,.14);
  --atq-budget-border-strong:rgba(31,54,93,.18);
  --atq-budget-surface-start:rgba(255,253,250,.98);
  --atq-budget-surface-end:rgba(245,238,229,.96);
  --atq-budget-shadow:0 18px 40px rgba(30,33,48,.08);
}
.atq-summary-card--budget.is-link{
  display:block;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}
.atq-summary-card--budget.is-link:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(31,54,93,.14);
}
.atq-summary-card--budget.is-link .atq-budget-summary__surface{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.atq-summary-card--budget.is-link:hover .atq-budget-summary__surface,
.atq-summary-card--budget.is-link:focus-visible .atq-budget-summary__surface{
  transform:translateY(-1px);
  border-color:var(--atq-budget-border-strong);
  box-shadow:0 20px 42px rgba(30,33,48,.11);
}
.atq-project-grid--budget-clientpage{
  grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);
  align-items:start;
}
.atq-project-grid--budget-adminpage{
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.78fr);
  align-items:start;
}
.atq-budget-page-card--summary{
  display:grid;
  gap:12px;
}
.atq-budget-page-card__toolbar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.atq-budget-page-card__note{
  margin:0;
}
.atq-budget-admin-section + .atq-budget-admin-section{
  margin-top:16px;
}
.atq-budget-admin-section summary{
  position:relative;
}
.atq-budget-admin-section summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:20px;
  line-height:1;
  color:#8a5a44;
}
.atq-budget-admin-section[open] summary::after{
  content:"-";
}
.atq-budget-admin-section__summary{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:24px;
}
.atq-budget-admin-section__summary strong{
  display:block;
  font-size:18px;
  line-height:1.2;
  color:#1f2b3b;
}
.atq-budget-admin-section__body{
  display:grid;
  gap:14px;
}
.atq-budget-admin-section__intro{
  margin:0;
}
.atq-budget-lot-group + .atq-budget-lot-group{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #ece7e1;
}
.atq-budget-lot-group__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
}
.atq-budget-lot-group__head h3{
  margin:0;
  font-size:14px;
  line-height:1.3;
}
.atq-budget-lot-group__head span{
  font-size:12px;
  color:#6f665f;
}
.atq-budget-summary{
  display:grid;
  gap:0;
}
.atq-budget-summary__head{
  margin:0 0 12px;
}
.atq-budget-summary__head .atq-summary-card__title{
  margin:0;
  color:var(--atq-budget-ink);
}
.atq-budget-summary__surface{
  display:grid;
  gap:14px;
  padding:18px 18px 16px;
  border-radius:24px;
  border:1px solid var(--atq-budget-border);
  background:linear-gradient(180deg,var(--atq-budget-surface-start) 0%,var(--atq-budget-surface-end) 100%);
  box-shadow:var(--atq-budget-shadow);
}
.atq-budget-summary__axis{
  position:relative;
  height:28px;
  margin:0 2px 6px;
}
.atq-budget-summary__marker{
  position:absolute;
  top:0;
  bottom:0;
  width:0;
}
.atq-budget-summary__marker-line{
  position:absolute;
  left:0;
  bottom:0;
  width:1px;
  height:8px;
  background:rgba(103,114,130,.34);
}
.atq-budget-summary__marker-label{
  position:absolute;
  left:0;
  bottom:12px;
  transform:translateX(-50%);
  white-space:nowrap;
  font-size:10px;
  line-height:1;
  font-weight:600;
  letter-spacing:.01em;
  color:rgba(103,114,130,.88);
}
.atq-budget-summary__marker.is-start .atq-budget-summary__marker-label{
  transform:none;
}
.atq-budget-summary__marker.is-final .atq-budget-summary__marker-label{
  transform:translateX(-100%);
}
.atq-budget-summary__bar{
  position:relative;
  height:22px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(126,99,73,.10);
  background:linear-gradient(180deg,#faf3eb 0%,#f1e5d8 100%);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.78);
}
.atq-budget-summary__segment{
  position:absolute;
  top:0;
  bottom:0;
}
.atq-budget-summary__segment.is-engaged{
  left:0;
  background:linear-gradient(180deg,var(--atq-budget-engaged) 0%,color-mix(in srgb,var(--atq-budget-engaged) 78%,#ffffff 22%) 100%);
}
.atq-budget-summary__segment.is-factured{
  left:0;
  top:0px;
  bottom:0px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--atq-budget-factured) 0%,color-mix(in srgb,var(--atq-budget-factured) 78%,#ffffff 22%) 100%);
}
.atq-budget-summary__bar > .atq-budget-summary__segment:first-of-type{
  border-radius:999px 0 0 999px;
}
.atq-budget-summary__bar > .atq-budget-summary__segment:last-of-type{
  border-radius:0 999px 999px 0;
}
.atq-budget-summary__segment.is-paid{
  left:0;
  top:0px;
  bottom:0px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--atq-budget-paid) 0%,color-mix(in srgb,var(--atq-budget-paid) 78%,#ffffff 22%) 100%);
  z-index:2;
}
.atq-budget-summary__segment.is-invoiced{background:linear-gradient(180deg,var(--atq-budget-factured) 0%,color-mix(in srgb,var(--atq-budget-factured) 78%,#ffffff 22%) 100%)}
.atq-budget-summary__segment.is-planned{background:linear-gradient(180deg,var(--atq-budget-engaged) 0%,color-mix(in srgb,var(--atq-budget-engaged) 78%,#ffffff 22%) 100%)}
.atq-budget-summary__segment.is-available{
  background:linear-gradient(180deg,#f4eadc 0%,#ecdfcd 100%);
}
.atq-budget-summary__segment.is-reserve-band{
  top:1px;
  bottom:1px;
  background:repeating-linear-gradient(-45deg,rgba(214,198,178,.28) 0,rgba(214,198,178,.28) 8px,rgba(214,198,178,.52) 8px,rgba(214,198,178,.52) 12px);
  border-radius:0 999px 999px 0;
}
.atq-budget-summary__segment.is-reserve{
  background:repeating-linear-gradient(-45deg,var(--atq-budget-reserve-bg) 0,var(--atq-budget-reserve-bg) 7px,var(--atq-budget-reserve-line) 7px,var(--atq-budget-reserve-line) 11px);
  border-radius:0 999px 999px 0;
}
.atq-budget-summary__segment.is-overrun{
  top:1px;
  bottom:1px;
  background:repeating-linear-gradient(-45deg,color-mix(in srgb,var(--atq-budget-overrun) 38%,transparent 62%) 0,color-mix(in srgb,var(--atq-budget-overrun) 38%,transparent 62%) 7px,var(--atq-budget-overrun) 7px,var(--atq-budget-overrun) 11px);
  border-left:2px solid var(--atq-budget-overrun);
  border-radius:0 999px 999px 0;
}
.atq-budget-summary__value-label{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  padding:0 10px;
  color:#fff;
  font-size:11px;
  line-height:1.2;
  font-weight:700;
  text-shadow:0 1px 2px rgba(31,43,59,.28);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  z-index:3;
}
.atq-budget-summary__overrun{
  margin:2px 0 0;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(178,111,91,.20);
  background:rgba(178,111,91,.09);
  color:#8b4f3f;
  font-size:12px;
  line-height:1.4;
}
.atq-budget-summary__overrun strong{
  color:#6f4023;
  font-weight:700;
}
.atq-budget-summary__target{position:relative;height:34px;margin:0 2px 0;--atq-reference-left:0%}
.atq-budget-summary__target-line{position:absolute;left:var(--atq-reference-left);top:-46px;width:2px;height:66px;margin-left:-1px;background:#6f482c;opacity:.92}
.atq-budget-summary__target-label{position:absolute;right:calc(100% - var(--atq-reference-left));top:4px;max-width:min(240px,calc(var(--atq-reference-left) - 10px));padding-right:12px;font-size:11px;line-height:1.35;color:#5f4a3e;text-align:right;white-space:normal}
.atq-budget-summary__stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.atq-budget-summary.is-client-view .atq-budget-summary__stats--primary.has-reserve{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.atq-budget-summary__stat{
  display:grid;
  gap:4px;
  min-width:0;
  padding-top:12px;
  border-top:1px solid rgba(126,99,73,.09);
}
.atq-budget-summary__stat span{
  font-size:11px;
  line-height:1.35;
  color:var(--atq-budget-muted);
}
.atq-budget-summary__stat strong{
  display:block;
  font-size:18px;
  line-height:1.12;
  letter-spacing:-.02em;
  color:var(--atq-budget-ink);
  font-variant-numeric:tabular-nums;
}
.atq-budget-summary__stats--secondary{
  gap:10px;
}
.atq-budget-summary__stats--secondary .atq-budget-summary__stat{
  padding-top:10px;
}
.atq-budget-summary__stats--secondary .atq-budget-summary__stat span{
  font-size:10px;
}
.atq-budget-summary__stats--secondary .atq-budget-summary__stat strong{
  font-size:15px;
  color:#314159;
}
.atq-budget-visual{
  display:grid;
  gap:16px;
}
.atq-budget-visual.is-compact-summary{
  gap:12px;
}
.atq-budget-visual__head{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.atq-budget-visual__headline{
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(139,94,60,.12);
  background:linear-gradient(145deg,rgba(255,255,255,.94) 0%,rgba(244,235,226,.92) 100%);
  box-shadow:0 10px 24px rgba(40,32,24,.05);
}
.atq-budget-visual__headline span{
  display:block;
  margin-bottom:6px;
  font-size:11px;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#7a7f89;
  font-weight:700;
}
.atq-budget-visual__headline strong{
  display:block;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.03em;
  color:#1f2b3b;
}
.atq-budget-visual__headline.is-secondary{
  background:rgba(249,247,243,.94);
}
.atq-budget-bar-wrap{
  padding:18px 18px 14px;
  border-radius:22px;
  border:1px solid rgba(139,94,60,.14);
  background:rgba(255,255,255,.88);
  box-shadow:0 14px 34px rgba(40,32,24,.06);
  overflow:visible;
}
.atq-budget-bar-wrap.is-summary{
  padding:16px 16px 14px;
  border-color:rgba(139,94,60,.12);
  background:linear-gradient(180deg,rgba(255,252,248,.96) 0%,rgba(248,242,236,.94) 100%);
  box-shadow:0 10px 24px rgba(40,32,24,.05);
}
.atq-budget-bar{
  position:relative;
  height:24px;
  border-radius:999px;
  background:#ece3d9;
  border:1px solid rgba(111,72,44,.10);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.75);
  overflow:hidden;
  margin:6px 2px 4px;
}
.atq-budget-bar__segment{
  position:absolute;
  top:0;
  bottom:0;
}
.atq-budget-bar__segment.is-engaged{
  left:0;
  background:linear-gradient(180deg,var(--atq-budget-engaged) 0%,color-mix(in srgb,var(--atq-budget-engaged) 78%,#ffffff 22%) 100%);
  border-radius:999px;
}
.atq-budget-bar__segment.is-factured{
  left:0;
  top:0;
  bottom:0;
  border-radius:999px;
  background:linear-gradient(180deg,var(--atq-budget-factured) 0%,color-mix(in srgb,var(--atq-budget-factured) 78%,#ffffff 22%) 100%);
}
.atq-budget-bar__segment.is-paid{
  left:0;
  top:0;
  bottom:0;
  border-radius:999px;
  background:linear-gradient(180deg,var(--atq-budget-paid) 0%,color-mix(in srgb,var(--atq-budget-paid) 78%,#ffffff 22%) 100%);
  z-index:2;
}
.atq-budget-bar__segment.is-invoiced{background:linear-gradient(180deg,var(--atq-budget-factured) 0%,color-mix(in srgb,var(--atq-budget-factured) 78%,#ffffff 22%) 100%)}
.atq-budget-bar__segment.is-planned{background:linear-gradient(180deg,var(--atq-budget-engaged) 0%,color-mix(in srgb,var(--atq-budget-engaged) 78%,#ffffff 22%) 100%)}
.atq-budget-bar__segment.is-available{
  background:linear-gradient(180deg,#f5efe7 0%,#eee3d6 100%);
}
.atq-budget-bar__segment.is-reserve-band{
  top:1px;
  bottom:1px;
  background:repeating-linear-gradient(-45deg,rgba(214,198,178,.28) 0,rgba(214,198,178,.28) 8px,rgba(214,198,178,.52) 8px,rgba(214,198,178,.52) 12px);
  border-radius:0 999px 999px 0;
}
.atq-budget-bar__segment.is-reserve{
  background:repeating-linear-gradient(-45deg,#ede5db 0,#ede5db 7px,#d7c8b7 7px,#d7c8b7 12px);
  border-radius:0 999px 999px 0;
}
.atq-budget-bar__segment.is-overrun{
  top:1px;
  bottom:1px;
  background:repeating-linear-gradient(-45deg,color-mix(in srgb,var(--atq-budget-overrun) 38%,transparent 62%) 0,color-mix(in srgb,var(--atq-budget-overrun) 38%,transparent 62%) 7px,var(--atq-budget-overrun) 7px,var(--atq-budget-overrun) 11px);
  border-left:2px solid var(--atq-budget-overrun);
  border-radius:0 999px 999px 0;
}
.atq-budget-bar__value-label{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  padding:0 12px;
  color:#fff;
  font-size:11px;
  line-height:1.2;
  font-weight:700;
  text-shadow:0 1px 2px rgba(31,43,59,.28);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  z-index:3;
}
.atq-budget-bar__reference{position:relative;height:36px;margin:2px 2px 0;--atq-reference-left:0%}
.atq-budget-bar__reference-line{position:absolute;left:var(--atq-reference-left);top:-46px;width:2px;height:66px;margin-left:-1px;background:#6f482c;opacity:.92}
.atq-budget-bar__reference-label{position:absolute;right:calc(100% - var(--atq-reference-left));top:4px;max-width:min(240px,calc(var(--atq-reference-left) - 10px));padding-right:12px;font-size:11px;line-height:1.35;color:#5f4a3e;text-align:right;white-space:normal}
.atq-budget-bar__legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:12px}
.atq-budget-bar__legend span{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#5a463d;font-weight:600}
.atq-budget-bar__legend span::before{content:"";display:block;flex:0 0 14px;height:14px;border-radius:999px;background:var(--atq-budget-paid)}
.atq-budget-bar__legend .is-factured::before{background:var(--atq-budget-factured)}
.atq-budget-bar__legend .is-actual::before{background:var(--atq-budget-engaged)}
.atq-budget-bar__legend .is-reference::before{width:2px;height:16px;border-radius:0;background:#6f482c}
.atq-budget-columns{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.atq-budget-columns__col h3{
  margin:0 0 10px;
  font-size:13px;
}
.atq-budget-stats{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}
.atq-budget-stats li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:9px 11px;
  border:1px solid #ece7e1;
  border-radius:12px;
  background:#faf8f6;
}
.atq-budget-stats span{
  color:#6f665f;
}
.atq-budget-stats strong{
  color:#2f2926;
}
.atq-budget-visual__details{
  border-top:1px solid rgba(139,94,60,.10);
  padding-top:4px;
}
.atq-budget-visual__details-toggle{
  cursor:pointer;
  list-style:none;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
  color:#6f482c;
  padding:6px 0 2px;
}
.atq-budget-visual__details-toggle::-webkit-details-marker{
  display:none;
}
.atq-budget-reference-list{
  display:grid;
  gap:10px;
}
.atq-budget-reference{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  padding:12px 14px;
  border:1px solid #e9e3dc;
  border-radius:14px;
  background:#faf8f6;
}
.atq-budget-reference.is-active{
  border-color:#caa889;
  background:#fff;
}
.atq-budget-reference-note{
  margin:10px 2px 0;
  font-size:12px;
  line-height:1.5;
  color:#6f665f;
}
.atq-budget-reference__side{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end;
}
.atq-budget-quote{
  margin-top:12px;
}
.atq-budget-quote__summary{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
}
.atq-budget-quote__summary small{
  display:block;
  margin-top:4px;
  color:#6f665f;
  font-size:12px;
}
.atq-budget-quote__amounts{
  text-align:right;
}
.atq-budget-quote__amounts span{
  display:block;
  font-weight:700;
  color:#2f2926;
}
.atq-budget-quote__amounts small{
  display:block;
  color:#6f665f;
  font-size:12px;
  margin-top:4px;
}
.atq-budget-quote__meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}
.atq-budget-quote__meta div{
  padding:10px 12px;
  border:1px solid #ece7e1;
  border-radius:12px;
  background:#faf8f6;
}
.atq-budget-quote__meta strong{
  display:block;
  margin-bottom:4px;
}
.atq-budget-subgrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.atq-budget-mini-list{
  list-style:none;
  margin:0 0 12px;
  padding:0;
  display:grid;
  gap:8px;
}
.atq-budget-mini-list li{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  align-items:center;
  padding:10px 12px;
  border:1px solid #ece7e1;
  border-radius:12px;
  background:#fff;
}
.atq-budget-mini-list li em{
  grid-column:1/-1;
  font-style:normal;
  font-size:12px;
  color:#6f665f;
}
.atq-budget-inline-form{
  padding:12px;
  border:1px solid #ece7e1;
  border-radius:14px;
  background:#faf8f6;
}
.atq-budget-inline-form__notice{margin:0;font-size:12px;line-height:1.5;color:#6b7280}
.atq-budget-mini-list__actions{display:inline-flex;align-items:center;gap:10px;margin-left:12px;font-size:11px}
.atq-budget-mini-list__edit{color:#8a5a44;text-decoration:none;font-weight:600}
.atq-budget-mini-list__edit:hover{color:#6f482c}
.atq-budget-mini-list__delete{margin:0}
.atq-budget-mini-list__delete button{padding:0;border:0;background:transparent;color:#9f3c2a;font-size:11px;line-height:1.2;font-weight:600;cursor:pointer}
.atq-budget-mini-list__delete button:hover{color:#7a2f22}
.atq-budget-mini-list li em a,
.atq-budget-quote__meta a{
  color:#8a5a44;
  text-decoration:none;
  font-weight:600;
}
.atq-budget-mini-list li em a:hover,
.atq-budget-quote__meta a:hover{
  text-decoration:underline;
}
@media (max-width:860px){
  .atq-project-grid--budget-clientpage,
  .atq-project-grid--budget-adminpage{
    grid-template-columns:1fr;
  }
  .atq-budget-page-card__toolbar,
  .atq-budget-lot-group__head{
    display:block;
  }
  .atq-budget-lot-group__head span{
    display:block;
    margin-top:4px;
  }
  .atq-budget-visual__head,
  .atq-budget-columns,
  .atq-budget-subgrid,
  .atq-budget-quote__meta{
    grid-template-columns:1fr;
  }
  .atq-budget-bar-wrap{
    padding:14px 14px 12px;
  }
  .atq-budget-bar{
    margin-top:12px;
  }
  .atq-budget-bar__legend{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    margin-top:10px;
  }
}
@media (max-width:860px){
  .atq-budget-summary__surface{
    padding:16px 16px 15px;
    border-radius:22px;
  }
  .atq-budget-summary__axis{
    height:24px;
  }
  .atq-budget-summary__marker-label{
    font-size:9px;
  }
  .atq-budget-summary__stats{
    gap:10px;
  }
  .atq-budget-summary.is-client-view .atq-budget-summary__stats--primary.has-reserve{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .atq-budget-summary__stat strong{
    font-size:17px;
  }
  .atq-budget-summary__stats--secondary .atq-budget-summary__stat strong{
    font-size:14px;
  }
}
@media (max-width:680px){
  .atq-budget-summary__surface{
    padding:15px 14px 14px;
    gap:12px;
  }
  .atq-budget-summary__target-label,
  .atq-budget-bar__reference-label{
    max-width:calc(100vw - 64px);
    font-size:10px;
  }
  .atq-budget-summary__marker:not(.is-final):nth-child(even) .atq-budget-summary__marker-label{
    display:none;
  }
  .atq-budget-summary__stat{
    padding-top:10px;
  }
  .atq-budget-summary__stat strong{
    font-size:16px;
  }
  .atq-budget-summary__stats--secondary .atq-budget-summary__stat strong{
    font-size:13px;
  }
  .atq-budget-summary__overrun{
    padding:9px 10px;
    font-size:11px;
  }
}
@media (max-width:520px){
  .atq-budget-summary__stats--primary{
    grid-template-columns:1fr;
  }
  .atq-budget-summary__stats--secondary{
    gap:8px;
  }
  .atq-budget-summary__stats--secondary .atq-budget-summary__stat span{
    font-size:9px;
  }
  .atq-budget-summary__axis{
    height:22px;
  }
}

/* 4.2.x navigation refinement */
.atq-portal-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.atq-portal-main{
  flex:1 0 auto;
}
.atq-portal-header{
  padding:12px 22px;
  flex-wrap:nowrap;
  align-items:center;
  gap:16px;
}
.atq-portal-header__actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;
  flex:0 0 auto;
}
.atq-portal-user{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  font-size:12px;
  line-height:1.2;
  color:#7a7f89;
  white-space:nowrap;
}
.atq-portal-user span{
  font-weight:600;
}
.atq-portal-user a{
  color:#8b5e3c;
  text-decoration:none;
  font-weight:700;
}
.atq-project-tabs--projecthead{
  margin:0 0 16px;
}
.atq-portal-footer{
  margin-top:28px;
  background:var(--atq-portal-footer-bg,#1f2b3b);
  color:var(--atq-portal-footer-text,#f5efe7);
}
.atq-portal-footer__inner{
  max-width:1180px;
  margin:0 auto;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.atq-portal-footer__site{
  color:inherit;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  opacity:.82;
}
.atq-portal-footer__site:hover{
  text-decoration:underline;
  opacity:1;
}
.atq-portal-footer__link{
  color:inherit;
  text-decoration:none;
  font-weight:600;
  font-size:12px;
}
.atq-portal-footer__link:hover{
  text-decoration:underline;
  opacity:.92;
}
.atq-portal-footer--login{
  margin-top:0;
  background:transparent;
  color:#655d55;
  border-top:1px solid rgba(83,63,47,.08);
}
.atq-portal-footer--login .atq-portal-footer__inner{
  padding:12px 20px 16px;
}
@media (min-width:861px){
  .atq-portal-header{
    min-height:78px;
  }
}
@media (max-width:860px){
  .atq-portal-header{
    padding:10px 16px;
    gap:12px;
  }
  .atq-portal-user{
    width:auto;
    max-width:100%;
    font-size:11px;
    white-space:normal;
    text-align:right;
    flex-wrap:wrap;
  }
  .atq-portal-main{
    padding-top:16px;
  }
  .atq-project-tabs--projecthead{
    margin:0 0 14px;
  }
  .atq-portal-footer__inner{
    padding:14px 16px;
    display:grid;
    gap:8px;
  }
}

/* 4.2.3 portal header/footer refresh */
.atq-portal-header{
  min-height:70px;
  padding:10px 20px;
  gap:14px;
  justify-content:space-between;
}
.atq-portal-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:0;
  text-decoration:none;
  color:#1d2430;
}
.atq-portal-brand__logo{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}
.atq-portal-brand__logo img{
  height:32px;
  width:auto;
  display:block;
}
.atq-portal-header__actions{
  min-width:0;
}
.atq-portal-user{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
  max-width:100%;
  white-space:nowrap;
}
.atq-portal-user__name,
.atq-portal-user span{
  min-width:0;
  max-width:24ch;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.atq-portal-user__logout,
.atq-portal-user a{
  white-space:nowrap;
}
.atq-portal-footer{
  margin-top:24px;
  border-top:1px solid rgba(255,255,255,.08);
}
.atq-portal-footer__inner{
  max-width:1180px;
  padding:12px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 18px;
}
.atq-portal-footer__site{
  font-size:10px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  opacity:.76;
}
.atq-portal-footer__link{
  font-size:12px;
  line-height:1.35;
  font-weight:500;
}
.atq-portal-footer--login{
  border-top:1px solid rgba(83,63,47,.08);
}
.atq-portal-footer--login .atq-portal-footer__site{
  opacity:.66;
}
@media (max-width:860px){
  .atq-portal-header{
    min-height:64px;
    padding:10px 16px;
    gap:10px;
  }
  .atq-portal-brand{
    gap:10px;
  }
  .atq-portal-brand__logo img{
    height:28px;
  }
  .atq-portal-user{
    gap:10px;
    font-size:11px;
  }
  .atq-portal-user__name,
  .atq-portal-user span{
    max-width:14ch;
  }
  .atq-portal-footer__inner{
    padding:12px 16px;
    gap:8px;
  }
}
@media (max-width:640px){
  .atq-portal-header{
    padding:9px 14px;
  }
  .atq-portal-brand{
    gap:8px;
  }
  .atq-portal-brand__logo img{
    height:26px;
  }
  .atq-portal-user{
    gap:8px;
  }
  .atq-portal-user__name,
  .atq-portal-user span{
    display:none;
  }
  .atq-portal-footer__inner{
    display:grid;
    justify-content:flex-start;
    gap:6px;
  }
  .atq-portal-footer__link{
    font-size:11px;
  }
}
