/* Doki AI detail page: lead with the answer, then show the supporting records. */
.doki-page .hero-copy>p{max-width:680px}
.doki-page .hero-preview{max-width:1120px}
.doki-page .hero-screen{grid-template-columns:minmax(0,.69fr) minmax(0,1.31fr);min-height:392px}
.doki-page .workspace{background:#f8fafc}
.doki-page .workspace-content{grid-template-columns:84px minmax(0,1fr);min-height:338px}
.doki-page .workspace-side{padding-inline:6px}
.doki-page .workspace-main{padding:16px 13px}
.doki-page .workspace-summary{gap:5px}
.doki-page .workspace-summary div{padding:9px 7px}
.doki-page .workspace-summary span{font-size:8px}
.doki-page .workspace-summary strong{font-size:15px}
.doki-page .workspace-row{grid-template-columns:1fr auto;gap:3px;padding:10px 0}
.doki-page .workspace-row span:nth-child(2){display:none}
.doki-page .workspace-row strong,.doki-page .workspace-row span{font-size:9px}
.doki-page .chat-pane{border-left-color:#d7e3f1;box-shadow:-8px 0 22px rgba(23,38,61,.04)}
.doki-page .chat-head{padding:14px 18px}
.doki-page .chat-head strong{font-size:14px}
.doki-page .chat-head span:last-child{font-size:10px}
.doki-page .chat-body{padding:20px 22px}
.doki-page .chat-user{max-width:78%;margin-bottom:17px;padding:12px 15px;font-size:13px}
.doki-page .chat-answer{max-width:91%;padding:17px 19px}
.doki-page .chat-answer strong{font-size:15px}
.doki-page .chat-answer p{font-size:12px}
.doki-page .chat-answer-row{padding:9px 0;font-size:11px}
.doki-page .chat-answer-row b{font-size:11px}
.doki-page .chat-input{margin-inline:20px;padding:10px 12px;font-size:10px}

.doki-page .prompts{padding-block:82px}
.doki-page .prompt-option{font-size:14px}
.doki-page .prompt-window{min-height:398px}
.doki-page .prompt-window-head strong{font-size:13px}
.doki-page .prompt-window-head span:last-child{font-size:10px}
.doki-page .prompt-panel{min-height:341px;padding:23px}
.doki-page .prompt-user{font-size:13px}
.doki-page .prompt-answer{max-width:100%;padding:18px}
.doki-page .prompt-answer strong{font-size:15px}
.doki-page .prompt-answer>p{font-size:12px}
.doki-page .answer-row,.doki-page .answer-row b{font-size:11px}
.doki-page .answer-tag{font-size:9px}

.doki-page .context{padding-block:63px}
.doki-page .context .section-head{margin-bottom:27px}
.doki-page .context .section-head h2{font-size:clamp(32px,3.5vw,40px)}
.doki-page .context-card{min-height:0;padding:19px 20px 20px;border:1px solid #e4eaf2;background:#f7f9fc}
.doki-page .context-card:nth-child(n){background:#f7f9fc}
.doki-page .context-number{margin-bottom:13px;font-size:9px}
.doki-page .context-card h3{font-size:16px}
.doki-page .context-card p{font-size:11px}

.doki-page .highlights .highlight-card:nth-child(n){height:450px;background:#eaf2fb}
.doki-page .highlights .highlight-copy{min-height:114px}
.doki-page .highlights .highlight-card h3{font-size:21px}
.doki-page .highlights .highlight-card p{font-size:11px;line-height:1.55}
.doki-page .highlights .highlight-visual.doki-moment-visual{margin-bottom:21px}
.doki-page .dk-detail{position:relative;width:100%;height:100%;overflow:hidden;background:#fff;color:#17263d;font-family:var(--petos-font-sans,'Rethink Sans',Inter,ui-sans-serif,system-ui,sans-serif)}
.doki-page .dk-detail-top{height:39px;display:flex;align-items:center;gap:8px;padding:0 15px;border-bottom:1px solid #e4ebf3;background:#fbfcfe}
.doki-page .dk-detail-mark{width:23px;height:23px;display:grid;place-items:center;border-radius:6px;background:#fbe7f0;color:#c92e73;font-size:13px}
.doki-page .dk-detail-top strong{font-size:11px}
.doki-page .dk-detail-top small{margin-left:auto;color:#69809b;font-size:8px;font-weight:800;letter-spacing:.045em}
.doki-page .dk-detail-question{width:max-content;max-width:calc(100% - 32px);margin:14px 16px 11px auto;padding:9px 11px;border-radius:8px 8px 2px 8px;background:#e8f1fd;color:#0d458d;font-size:10px;font-weight:700}
.doki-page .dk-detail-main{margin:0 15px;padding:11px 13px;border:1px solid #e2eaf3;border-radius:9px;background:#fff}
.doki-page .dk-detail-overline{display:block;margin-bottom:6px;color:#6681a2;font-size:8px;font-weight:800;letter-spacing:.055em}
.doki-page .dk-detail-main h4{margin:0 0 5px;font-size:15px;letter-spacing:-.03em}
.doki-page .dk-detail-main p{margin:0 0 9px;color:#52657f;font-size:10px;line-height:1.45}
.doki-page .dk-detail-fact{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #e7edf4;color:#657891;font-size:9px}
.doki-page .dk-detail-fact b{color:#17263d;text-align:right}
.doki-page .dk-detail-action{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:7px;padding:8px 10px;border-radius:6px;background:#eef5fd;color:#1355b2;font-size:9px;font-weight:800}
.doki-page .dk-detail-action b{font-size:13px}
.doki-page .dk-detail-caption{position:absolute;right:16px;bottom:7px;color:#8b9db1;font-size:7px}
.doki-page .dk-booking-result{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px 0;border-top:1px solid #e9eef4}
.doki-page .dk-booking-result time{color:#1355b2;font-size:10px;font-weight:800}
.doki-page .dk-booking-result strong,.doki-page .dk-booking-result small{display:block}
.doki-page .dk-booking-result strong{font-size:10px}
.doki-page .dk-booking-result small{margin-top:2px;color:#788ba3;font-size:8px}
.doki-page .dk-booking-result>b{color:#237a57;font-size:8px}
.doki-page .dk-booking-result>b.dk-pending{color:#9b6b27}
.doki-page .dk-detail-source{margin-top:6px;color:#7489a3;font-size:8px}
.doki-page .dk-product-result{display:flex;align-items:center;gap:10px;margin:5px 0 8px}
.doki-page .dk-product-result img{width:52px;height:52px;flex:none;object-fit:contain;border:1px solid #e4ebf3;border-radius:7px;background:#fff}
.doki-page .dk-product-result div{min-width:0;flex:1}
.doki-page .dk-product-result strong,.doki-page .dk-product-result small,.doki-page .dk-product-result span{display:block}
.doki-page .dk-product-result strong{font-size:11px}
.doki-page .dk-product-result small,.doki-page .dk-product-result span{margin-top:2px;color:#73869e;font-size:8px}
.doki-page .dk-product-result>b{padding:5px 7px;border-radius:5px;background:#fff3e9;color:#9b5d1f;font-size:9px;white-space:nowrap}
.doki-page .dk-finance-result{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.doki-page .dk-finance-result>div{min-width:0;padding:9px;border:1px solid #e5ebf3;border-radius:7px;background:#f8fafc}
.doki-page .dk-finance-result small,.doki-page .dk-finance-result strong{display:block}
.doki-page .dk-finance-result small{margin-bottom:5px;color:#6c819b;font-size:8px}
.doki-page .dk-finance-result strong{font-size:14px}
.doki-page .dk-finance-result>div:last-child strong{color:#1355b2}
.doki-page .dk-finance-bar{display:flex;height:8px;overflow:hidden;margin:10px 0;border-radius:8px;background:#e9eff7}
.doki-page .dk-finance-bar span{width:34%;background:#df8ab3}
.doki-page .dk-finance-bar i{width:66%;background:#1355b2}

.doki-page .scope-copy>p{max-width:490px}
.doki-page .scope-note{margin:13px 0 0;color:#72839a;font-size:10px;line-height:1.5}
.doki-page .scope-window{min-height:320px}
.doki-page .scope-window-head strong{font-size:13px}
.doki-page .scope-bubble{font-size:11px}
.doki-page .scope-answer{max-width:94%;padding:16px}
.doki-page .scope-answer strong{font-size:13px}
.doki-page .scope-answer p{font-size:11px}
.doki-page .scope-next{font-size:10px}

@media(max-width:900px){
  .doki-page .hero-screen{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
  .doki-page .workspace-content{grid-template-columns:1fr}
  .doki-page .workspace-side{display:none}
  .doki-page .highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .doki-page .highlights .highlight-card:nth-child(n){grid-column:auto}
}
@media(max-width:760px){
  .doki-page .highlight-grid{grid-template-columns:1fr}
  .doki-page .highlights .highlight-card:nth-child(n){height:auto;min-height:0}
  .doki-page .highlights .highlight-copy{min-height:0;margin-bottom:16px}
  .doki-page .highlights .highlight-visual.doki-moment-visual{height:300px;flex:none}
}
@media(max-width:620px){
  .doki-page .hero-screen{grid-template-columns:1fr}
  .doki-page .workspace-content{min-height:0}
  .doki-page .workspace-main{padding:12px}
  .doki-page .chat-pane{border-left:0;border-top:1px solid #d7e3f1}
  .doki-page .chat-body{min-height:0;padding:14px}
  .doki-page .chat-user{max-width:94%;font-size:11px}
  .doki-page .chat-answer{max-width:100%;padding:12px}
  .doki-page .prompt-panel{min-height:300px;padding:12px}
  .doki-page .prompt-answer{padding:13px}
  .doki-page .context{padding-block:55px}
  .doki-page .highlights .highlight-card h3{font-size:19px}
  .doki-page .highlights .highlight-card p{font-size:10px}
  .doki-page .dk-detail-main{margin-inline:10px;padding:9px}
  .doki-page .dk-detail-top{padding-inline:10px}
  .doki-page .dk-detail-caption{right:11px}
}
