/* Shared consumer detail surfaces. */
.dogu-tools .photo-simple .photo-step{border:0;padding:0;background:transparent;}
.dogu-tools .photo-simple .photo-step:not(.photo-submit-step)>.photo-step-head{display:none;}
.dogu-tools .photo-simple .photo-submit-step .photo-step-head>span{display:none;}
.dogu-tools .photo-simple .photo-submit-step .photo-step-head p{display:none;}
.dogu-tools .photo-simple .photo-upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.dogu-tools .photo-simple .photo-upload-actions button{width:100%;min-height:64px;margin:0;font-size:17px;font-weight:800;}
.dogu-tools .photo-start-tip{margin:0;color:#b5b8ae;}
.dogu-tools #mission #missionCard li{padding:0;}
.dogu-tools #mission #missionCard li::before{display:none;}
.dogu-tools #missionCard li label{display:flex;align-items:center;gap:12px;margin:0;padding:14px;cursor:pointer;}
.dogu-tools #missionCard li input{flex:0 0 24px;width:24px;height:24px;}
.dogu-tools #missionCard li:has(input:checked){background:#293b2b;}
.dogu-tools .mission-progress{font-size:14px;color:#ffad78;}
body.dogu-tools {color-scheme:dark;--ink:#f4f5ef;--muted:#b5b8ae;--blue:#f37021;--line:#393c33;--lime:#ffad78;--modern-ink:#f4f5ef;--modern-muted:#b5b8ae;--modern-blue:#f37021;--modern-line:#393c33;--modern-canvas:#111210;background:#111210;color:var(--ink);font-family:Pretendard,"Apple SD Gothic Neo",system-ui,sans-serif;}
.dogu-tools .tools-header {background:#111210f5;border-color:var(--line);height:68px;flex-wrap:nowrap;}
.dogu-tools :is(a,.tools-brand,.tools-back) {color:#ffad78;}
.dogu-tools main {max-width:1040px;padding-top:18px;}
.dogu-tools .tools-heading {align-items:center;margin:0 0 18px;padding:8px 0;}
.dogu-tools .tools-heading h1 {font-size:28px;margin:0 0 6px;}
.dogu-tools .tools-heading p {color:var(--muted);}
.dogu-tools .tools-tabs {position:static;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#1b1d19;border-color:var(--line);border-radius:12px;box-shadow:none;overflow:visible;gap:4px;}
.dogu-tools .tools-tabs button {min-width:0;white-space:normal;padding:10px 5px;line-height:1.5;}
.dogu-tools :is(button,input,select,textarea) {background:#242720;color:var(--ink);border-color:#4b5042;box-shadow:none;}
.dogu-tools :is(button,a,summary) {min-height:44px;}
.dogu-tools button:hover:not(:disabled) {background:#32372b;border-color:#ffad78;}
.dogu-tools :is(button.primary-action,.tools-tabs button[aria-selected=true]) {background:#f37021;color:#19140f;border-color:#f37021;box-shadow:none;}
.dogu-tools button.primary-action:hover:not(:disabled) {background:#ff8c43;color:#19140f;}
.dogu-tools :is(main>section,.motion-sidebar,.motion-state-card,.record-detail,.camera-help,.price-board,.photo-history,#photoContext,.question-grid fieldset,#pair>details,#records article,#records .records-empty,.result-panel:not(:empty),#pairResult:not(:empty)) {background:#1b1d19;color:var(--ink);border-color:var(--line);box-shadow:none;border-radius:12px;}
.dogu-tools :is(.motion-workspace,.photo-mode-menu button,.photo-upload-label) {box-shadow:none;border-color:var(--line);}
.dogu-tools :is(.eyebrow,small,.notice,.safety-note,.price-hint,.camera-help p,.camera-help li,.motion-stats dt,.observation-heading span,.price-board p,.price-board li span,.check,.photo-care-references) {color:var(--muted);}
.dogu-tools :is(.price-chip,.muted-chip,.summary-price) {background:#36271b;color:#ffc099;white-space:normal;line-height:1.5;}
.dogu-tools :is(.safety-note,.connection-state,.free-policy,.price-board li) {background:#242720;border-color:var(--line);color:var(--muted);}
.dogu-tools .price-board li strong,.dogu-tools .price-hint b {color:#ffad78;}
.dogu-tools .camera-stage,.dogu-tools .camera-stage video {background:#080a07;border-color:var(--line);}
.dogu-tools .camera-empty {background:radial-gradient(ellipse,#293020,#10120e);}
.dogu-tools .camera-empty p {color:#c4c9bd;}
.dogu-tools .photo-mode-menu {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;}
.dogu-tools .photo-mode-menu button {min-width:0;padding:7px;background:#242720;color:var(--ink);border-radius:10px;}
.dogu-tools .photo-mode-menu button[aria-pressed=true] {border:2px solid #f37021;background:#30251d;box-shadow:none;}
.dogu-tools .photo-mode-menu button img {height:80px;object-fit:cover;border-radius:6px;background:#242720;}
.dogu-tools .photo-mode-menu b {font-size:14px;color:inherit;}
.dogu-tools .photo-mode-menu small {font-size:12px;line-height:1.4;margin:3px 4px 4px;color:var(--muted);}
.dogu-tools .photo-upload-label {background:#242720;border-style:dashed;}
.dogu-tools .photo-upload-actions {grid-template-columns:minmax(0,1fr) auto;}
.dogu-tools #aiPreview {background:#080a07;}
.dogu-tools .tool-secondary {padding:12px 16px;border:1px solid var(--line);border-radius:12px;}
.dogu-tools .tool-secondary>summary {display:flex;align-items:center;font-size:15px;color:#d5d9cc;}
.dogu-tools .tool-secondary>summary::after {content:'＋';margin-left:auto;color:#ffad78;}
.dogu-tools .tool-secondary[open]>summary::after {content:'−';}
.dogu-tools .camera-controls {display:grid;grid-template-columns:1fr 1fr;}
.dogu-tools .camera-controls #startCamera {grid-column:1/-1;}
.dogu-tools :is(.photo-care-warning,.camera-status[data-error=true]) {background:#43221e;color:#ffcdc0;border-color:#a9695d;}
.dogu-tools :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid #f37021;outline-offset:3px;}
.dogu-tools :is(input,select,textarea) {font-size:16px;max-width:100%;min-width:0;accent-color:#f37021;}
.dogu-tools .section-title {gap:10px;flex-wrap:wrap;margin-bottom:16px;}
.dogu-tools .section-title h2 {font-size:23px;}
.dogu-tools .tools-footer {border-top:1px solid var(--line);padding-top:18px;}
.dogu-tools .photo-flow {display:grid;gap:12px;}
.dogu-tools .photo-step {margin:0;padding:18px;background:#171915;border:1px solid var(--line);border-radius:12px;}
.dogu-tools .photo-step-head {display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;}
.dogu-tools .photo-step-head>span {display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#f37021;color:#19140f;font-weight:900;}
.dogu-tools .photo-step-head h3 {margin:1px 0 3px;font-size:18px;}
.dogu-tools .photo-step-head p {margin:0;color:var(--muted);font-size:14px;}
.dogu-tools #photoModeHelp {margin:8px 0 0;padding:10px 12px;border-left:3px solid #f37021;background:#242720;color:#d5d9cc;font-size:14px;}
.dogu-tools .connection-state {display:flex;align-items:center;gap:8px;margin:10px 0;font-weight:700;}
.dogu-tools .connection-state::before {content:'';width:9px;height:9px;border-radius:50%;background:#d8a23d;box-shadow:0 0 0 4px #d8a23d22;}
.dogu-tools .connection-state[data-ready="true"]::before {background:#62c48b;box-shadow:0 0 0 4px #62c48b22;}
.dogu-tools .connection-state[data-ready="false"]::before {background:#e47b65;box-shadow:0 0 0 4px #e47b6522;}
.dogu-tools .photo-submit-step>#analyzePhoto {width:100%;min-height:54px;font-size:17px;font-weight:900;}
.dogu-tools .mission-intro {color:var(--muted);margin-top:-4px;}
.dogu-tools #missionCard {background:linear-gradient(145deg,#27231d,#181a16);border:1px solid #5a4635;color:var(--ink);padding:24px;border-radius:14px;white-space:normal;}
.dogu-tools .mission-card-top {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.dogu-tools .mission-card-top small {color:var(--muted);}
.dogu-tools .mission-tag {display:inline-flex;padding:5px 10px;border-radius:999px;background:#f37021;color:#19140f;font-size:13px;font-weight:900;}
.dogu-tools #missionCard h3 {font-size:24px;line-height:1.35;margin:16px 0 8px;}
.dogu-tools .mission-prep {margin:0 0 16px;color:#ffc099;font-size:14px;}
.dogu-tools #missionCard ol {display:grid;gap:10px;margin:0;padding:0;list-style:none;counter-reset:mission-step;}
.dogu-tools #missionCard li {position:relative;padding:12px 12px 12px 46px;background:#242720;border-radius:10px;counter-increment:mission-step;}
.dogu-tools #missionCard li::before {content:counter(mission-step);position:absolute;left:12px;top:11px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid #f37021;color:#ffad78;font-size:13px;font-weight:900;}
.dogu-tools .mission-stop {margin:14px 0 0;padding:11px 12px;border-left:3px solid #ffad78;background:#30251d;color:#ffd2b6;font-size:14px;}
.dogu-tools .mission-actions {display:grid;grid-template-columns:minmax(0,1fr) auto;}
.dogu-tools .mission-actions #completeMission {min-height:54px;font-size:17px;font-weight:900;}
.dogu-tools #missionStatus:not(:empty) {padding:12px;border-radius:10px;background:#243328;color:#c6f0d5;}
@media(max-width:760px){
 .dogu-tools .tools-header{height:auto;min-height:64px;padding:calc(8px + env(safe-area-inset-top)) 14px 8px;gap:8px;}
 .dogu-tools .tools-brand{gap:8px;min-width:0}.dogu-tools .tools-brand span{padding-left:8px;font-size:14px}.dogu-tools .tools-back{font-size:14px;white-space:nowrap;}
 .dogu-tools main{padding:18px 14px calc(28px + env(safe-area-inset-bottom));width:100%;}
 .dogu-tools .tools-heading{display:block}.dogu-tools .tools-heading h1{font-size:26px}.dogu-tools .account-link{display:inline-flex;align-items:center;white-space:normal;}
 .dogu-tools .tools-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 16px;padding:5px;}
 .dogu-tools .tools-tabs button{font-size:14px;min-height:46px;}
 .dogu-tools main>section{padding:16px 12px;border-radius:12px;scroll-margin-top:80px;}
 .dogu-tools .motion-workspace{grid-template-columns:minmax(0,1fr);gap:16px;}
 .dogu-tools .form-grid,.dogu-tools .question-grid{grid-template-columns:minmax(0,1fr);gap:8px;}
 .dogu-tools .photo-upload-actions{grid-template-columns:minmax(0,1fr);gap:8px;}
 .dogu-tools .photo-upload-label{margin:8px 0;padding:14px;}.dogu-tools .photo-upload-label input{padding:6px 0;font-size:14px;}
 .dogu-tools .photo-mode-menu button img{height:62px;}
 .dogu-tools .photo-mode-menu small{display:none;}
 .dogu-tools .photo-step{padding:14px 10px;}
 .dogu-tools .photo-step-head{padding:0 2px;}
 .dogu-tools #analyzePhoto{width:100%;min-height:52px;}
 .dogu-tools .section-title .price-chip{font-size:13px;padding:5px 9px;}
 .dogu-tools .motion-sidebar{padding:14px}.dogu-tools .record-detail summary small{display:block;margin:6px 0;}
 .dogu-tools .price-board{padding:12px}.dogu-tools .price-board ul{grid-template-columns:1fr;}
 .dogu-tools #missionCard{padding:16px 12px;}.dogu-tools #missionCard h3{font-size:21px;}.dogu-tools .mission-actions{grid-template-columns:minmax(0,1fr);}.dogu-tools .mission-actions button{width:100%;}
}
/* The same restrained surfaces for consultation, matching and care routes. */
.dogu-user-app .app-page:is(.route-page,.academy-page,.portal-page) {background:#111210;color:#f4f5ef;--ink:#f4f5ef;--muted:#b5b8ae;--line:#393c33;--blue:#ffad78;--paper:#1b1d19;}
.dogu-user-app :is(.route-head,.portal-head,.academy-head) :is(h1,h2,p) {color:inherit;}
.dogu-user-app :is(.route-content,.training-routes,.portal-action-grid,.shop-choice) {--ink:#17243b;--muted:#536178;}
.dogu-user-app :is(.route-back,.inline-back) {color:#ffad78;border-color:#393c33;background:#1b1d19;}
.dogu-user-app .consult-panel {background:#1b1d19;color:#f4f5ef;border-color:#393c33;padding:22px;border-radius:12px;}
.dogu-user-app .consult-panel :is(h2,p,label) {color:#d5d9cc;}
.dogu-user-app .consult-panel :is(textarea,input) {background:#242720;color:#f4f5ef;border-color:#4b5042;font-size:16px;}
.dogu-user-app .consult-panel .prompt-chips button {background:#242720;color:#f4f5ef;border-color:#4b5042;}
.dogu-user-app #aiConsultSubmit {background:#f37021;color:#19140f;min-height:48px;}
@media(max-width:760px){.dogu-user-app .consult-panel{padding:16px;min-height:0}.dogu-user-app #aiConsultForm>div{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.dogu-user-app .route-head h1{font-size:28px;line-height:1.35}.dogu-user-app .consult-panel .prompt-chips{display:flex;flex-wrap:wrap}.dogu-user-app .consult-panel .prompt-chips button{white-space:normal;text-align:left;min-height:44px}}
