/* Shared Aon reasoning shell; task widgets follow the official reference recordings. */
.ar-verbal-sheet { justify-content:flex-start; padding:32px 28px; gap:21px; }
.ar-verbal-sheet h2 { font-size:17px; font-weight:600; line-height:1.4; }
.ar-verbal-sheet p { font-size:15px; line-height:1.65; }
.ar-answer-hint { min-height:16px; margin-top:6px!important; font-size:12px; color:#8b3f22; }
.ar-logic-board { min-height:503px; padding:20px 28px 18px; background:#f5f7f7; text-align:center; }
.ar-logic-board>.aon-question-position { text-align:left; }
.ar-logic-board h2 { font-weight:400; font-size:18px; line-height:1.5; margin:0 auto 16px; }
.ar-logic-board>.aon-feedback { max-width:570px; margin:16px auto 0; text-align:left; }
.ar-logic-board>.aon-check { margin-top:4px; }
.ar-switch-diagram { width:min(380px,100%); margin:0 auto; color:#6f7779; }
.ar-symbol-row { display:flex; justify-content:center; gap:14px; }
.ar-symbol-tile { width:55px; height:55px; background:#e0e5e5; border:1px solid #d9dddd; border-radius:7px; box-shadow:0 2px 4px #00000010; display:grid; place-items:center; }
.ar-symbol { width:39px; height:39px; fill:currentColor; flex:none; }
.ar-color-circle { color:#81ad36; }
.ar-color-triangle { color:#edc644; }
.ar-color-square { color:#dc6b64; }
.ar-color-cross { color:#65afd2; }
.ar-color-star { color:#9d73c5; }
.ar-pipe { width:100%; height:85px; display:block; margin:0 auto; overflow:visible; }
.ar-pipe path { fill:none; stroke:#d6dddf; stroke-width:12px; stroke-linejoin:round; }
.ar-pipe .ar-funnel { fill:#a1a9ac; stroke:none; }
.ar-pipe-bottom { height:77px; }
.ar-code-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding:0 9px; }
.ar-code { display:flex; justify-content:center; align-items:center; padding:8px 6px; min-height:52px; color:#6b7375; font-size:26px!important; letter-spacing:5px; line-height:1.25; border:1px solid #d7dcdd; border-radius:7px!important; background:linear-gradient(#e7ebec,#dbe0e1); font-weight:400; }
.ar-code:hover { background:#fff; border-color:#969fa3; }
.ar-code.ar-selected { color:#fff; background:#234863; border-color:#234863; }
.ar-fixed-stage { display:flex; flex-direction:column; align-items:center; }
.ar-stem { width:12px; height:20px; background:#d6dddf; }
.ar-fixed-code { border:1px solid #bbc2c4; border-radius:4px; background:#dfe4e5; font-size:18px; letter-spacing:5px; padding:2px 14px; }
.ar-gap-board { background:#f6f6f6; }
.ar-gap-grid { --ar-size:4; display:grid; grid-template-columns:repeat(var(--ar-size),1fr); gap:9px; width:min(365px,100%); margin:0 auto; }
.ar-gap-cell { aspect-ratio:1; border:0; border-bottom:2px solid #d5d5d5; border-right:1px solid #dedede; background:#fff; display:grid; place-items:center; padding:4px; color:#292929; box-shadow:0 1px 3px #00000009; }
.ar-gap-cell .ar-symbol { width:58%; height:58%; }
.ar-gap-cell.ar-target { font-size:45px; font-weight:400; line-height:1; }
.ar-gap-cell.ar-scratch { color:#6b7880; }
.ar-gap-cell.ar-scratch:hover { box-shadow:inset 0 0 0 2px #9dadb9; background:#f8fafb; }
.ar-shape-options { display:flex; justify-content:center; gap:10px; margin:20px auto 0; padding-top:20px; border-top:2px solid #d4d4d4; width:min(390px,100%); }
.ar-shape-choice { display:grid; place-items:center; width:59px; height:59px; padding:9px; border:1px solid #d8d8d8; border-bottom:2px solid #c5c5c5; background:#fff; color:#292929; box-shadow:0 1px 3px #0000000d; }
.ar-shape-choice .ar-symbol { width:100%; height:100%; }
.ar-shape-choice:hover { background:#f2f5f7; border-color:#9ca8b2; }
.ar-shape-choice.ar-selected { background:#234863; border-color:#234863; color:#fff; }
.ar-nav-label { font-size:12px; color:#777; }
.ar-nav-space { width:44px; }
.ar-review-source { margin-top:20px; }
.ar-review-source .ar-verbal-sheet { min-height:0; padding:15px 0 0; gap:12px; }
.ar-review-source .ar-verbal-sheet p { font-size:13px; }
.ar-review-source .ar-verbal-sheet h2 { font-size:14px; }
.ar-shell .aon-review-body .ar-switch-diagram { margin:23px auto 0; }
.ar-shell .aon-review-body .ar-gap-grid { margin-top:23px; }
.ar-shell .aon-dialog .ar-shape-options { padding-top:15px; }
@media (min-width:801px) and (max-height:820px) {
  .ar-player .ar-verbal-sheet { min-height:clamp(245px,calc(100dvh - 385px),397px); padding:24px 28px; gap:18px; }
  .ar-logic-board { min-height:0; padding:12px 28px 14px; }
  .ar-logic-board h2 { margin-bottom:10px; font-size:17px; }
  .ar-gap-grid { width:285px; gap:7px; }
  .ar-gap-cell.ar-target { font-size:38px; }
  .ar-shape-options { margin-top:15px; padding-top:15px; }
  .ar-shape-choice { width:48px; height:48px; padding:7px; }
  .ar-symbol-tile { width:45px; height:45px; }
  .ar-symbol-tile .ar-symbol { width:31px; height:31px; }
  .ar-pipe { height:68px; }
  .ar-pipe-bottom { height:62px; }
  .ar-code { min-height:44px; font-size:23px!important; }
  .ar-stem { height:14px; }
}
@media (max-width:800px) {
  .ar-verbal-sheet { min-height:330px; padding:26px 22px; gap:18px; }
  .ar-logic-board { padding:20px 20px 18px; min-height:0; }
}
@media (max-width:560px) {
  .ar-verbal-sheet { min-height:280px; padding:22px 18px; gap:16px; }
  .ar-verbal-sheet p { font-size:14px; line-height:1.65; }
  .ar-verbal-sheet h2 { font-size:16px; }
  .ar-logic-board { padding:14px 16px 16px; }
  .ar-logic-board h2 { font-size:16px; margin-bottom:19px; }
  .ar-symbol-row { gap:10px; }
  .ar-symbol-tile { width:47px; height:47px; }
  .ar-symbol-tile .ar-symbol { width:32px; height:32px; }
  .ar-code-options { gap:13px; padding:0 8px; }
  .ar-code { min-height:47px; font-size:22px!important; letter-spacing:4px; }
  .ar-pipe { height:77px; }
  .ar-pipe-bottom { height:70px; }
  .ar-gap-grid { width:min(300px,100%); gap:7px; }
  .ar-gap-cell.ar-target { font-size:37px; }
  .ar-shape-options { gap:7px; }
  .ar-shape-choice { width:48px; height:48px; padding:7px; }
  .ar-shell .aon-review-body dl { gap:14px; flex-wrap:wrap; }
}
