/* Customer account settings only; form actions and authentication are unchanged. */
.customer-account-flat-page{background:#fff;color:#172a42}
.customer-account-flat-page .account-header{box-sizing:border-box;width:min(calc(100% - 48px),480px);max-width:none;margin:0 auto;padding:28px 0 0}
.customer-account-flat-page .account-header img{width:145px;height:auto}
.customer-account-flat-page .customer-account-flat{box-sizing:border-box;width:min(calc(100% - 48px),480px);margin:28px auto 64px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere}
.customer-account-flat .eyebrow{display:none}
.account-portal.customer-account-flat-page .customer-account-flat h1{font-size:20px;line-height:1.4;letter-spacing:.01em;margin:0 0 20px}
.customer-account-flat p{font-size:14px;line-height:1.8;margin:16px 0}
.customer-account-flat .account-notice{padding:0;margin:0 0 24px;background:transparent;border:0;border-radius:0;color:#586b82;font-size:14px;line-height:1.8}
.customer-account-flat .account-notice p{font-size:13px;line-height:1.8;margin:0}
.customer-account-flat .account-notice p+p{margin-top:8px}
.customer-account-flat .account-identity{margin:24px 0 0}
.customer-account-flat .account-identity-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#647890}
.customer-account-flat .account-identity-state{display:inline-flex;align-items:center;gap:3px;flex:none;white-space:nowrap;color:#39766d;font-size:12px}
.customer-account-flat .account-identity-state svg{width:16px;height:16px;flex:none}
.customer-account-flat .account-identity-state.unverified{color:#8b6d43}
.customer-account-flat .account-identity-email{font-size:15px;line-height:1.6;font-weight:600;margin:6px 0 0;overflow-wrap:anywhere}
.customer-account-flat .account-identity-guidance{font-size:13px;line-height:1.8;margin:6px 0 0;color:#647890}
.customer-account-flat form{border-top:1px solid #e6ecf3;margin:24px 0 0;padding-top:24px;gap:16px}
.customer-account-flat .field-label{font-size:14px;font-weight:600;color:#263c57;margin-bottom:8px}
.customer-account-flat input:not([type=checkbox]),.customer-account-flat textarea,.customer-account-flat select{min-height:48px;border-color:#ccd7e4;border-radius:8px;padding:11px 12px;background:#fff;font-size:16px}
.customer-account-flat .account-actions{gap:4px;margin-top:8px}
.customer-account-flat button{min-height:48px;border-radius:8px;border-color:#2867e9;background:#2867e9;font-size:15px;font-weight:600}
.customer-account-flat button.secondary{background:#fff;color:#2867e9;border-color:#b9cbed}
.customer-account-flat .account-actions>button.secondary{justify-self:end;width:auto;max-width:100%;min-height:44px;padding:8px 0;border:0;border-radius:4px;background:transparent;color:#526c8e;font-size:13px;font-weight:500;line-height:1.6;text-decoration:underline;text-underline-offset:3px}
.customer-account-flat .helptext{font-size:12px;line-height:1.7}
.customer-account-flat .account-change-notes{margin:4px 0 0;color:#62718a}
.customer-account-flat .account-change-notes p{font-size:12px;line-height:1.8;margin:0}
.customer-account-flat .account-change-notes p+p{margin-top:6px}
.customer-account-flat .account-code{margin:24px 0 0;padding:24px 0 0;border:0;border-top:1px solid #e6ecf3;border-radius:0;background:transparent;box-shadow:none;min-width:0}
.customer-account-flat .account-code h2{font-size:14px;font-weight:600;line-height:1.7;margin:0 0 16px}
.customer-account-flat .account-code code{display:block;max-width:100%;padding:0;border:0;border-radius:0;background:transparent;color:#263c57;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px;line-height:1.8;letter-spacing:.05em;overflow-wrap:anywhere;word-break:break-all;white-space:normal;user-select:all}
.customer-account-flat .account-code .account-code-notes{font-size:12px;line-height:1.8;color:#62718a;margin:20px 0 0}
.customer-account-flat .account-code-sentence{display:block}
.customer-account-flat .account-code-sentence+.account-code-sentence{margin-top:4px}
.customer-account-flat .account-google-connection{margin:0 0 12px}
.customer-account-flat .account-google-connection-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#2867e9;font-size:13px;font-weight:500;line-height:1.7}
.customer-account-flat .account-google-connection-link::after{content:"›";color:#8999ae;font-size:20px;line-height:1;flex:none}
.customer-account-flat .account-google-only-guidance{font-size:13px;line-height:1.8;color:#62718a;margin:0 0 24px}
.customer-account-flat .account-google-sentence{display:block}
.customer-account-flat .account-google-sentence+.account-google-sentence{margin-top:6px}
.customer-account-flat .account-google-sentence:first-child{font-size:14px;font-weight:600;color:#263c57}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help{margin:28px 0 0;border-top:1px solid #e6ecf3;border-bottom:1px solid #e6ecf3}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:10px 0;list-style:none;font-size:14px;font-weight:600;color:#263c57;cursor:pointer}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help>summary::-webkit-details-marker{display:none}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help>summary svg{width:20px;height:20px;flex:none;color:#687d98;transition:transform .15s}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help[open]>summary svg{transform:rotate(180deg)}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help nav{padding:0 0 14px}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help-group h2{font-size:11px;font-weight:600;letter-spacing:.04em;color:#667991;margin:10px 0 2px}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help-group+.account-help-group{margin-top:16px}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help-group a{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:8px 0;font-size:13px;line-height:1.6;border-bottom:1px solid #f0f3f8;overflow-wrap:anywhere}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help-group a:last-child{border-bottom:0}
:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help-group a>span{color:#8999ae;font-size:22px;flex:none;line-height:1}
.customer-account-flat .account-footer{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:20px}
.customer-account-flat .account-footer .auth-return{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:#526c8e}
.customer-account-flat .account-procedures-link{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:12px 0 0;border-top:1px solid #e6ecf3;font-size:12px;line-height:1.7;color:#728198}
.customer-account-flat .account-procedures-link span{flex:none;font-size:20px;line-height:1;color:#8999ae}
.customer-account-flat .errorlist{font-size:14px;line-height:1.7}
.customer-account-flat :focus-visible{outline:3px solid #2867e9;outline-offset:3px}
@media(prefers-reduced-motion:reduce){:is(.customer-account-flat,.account-signup-flat-page .account-card,.account-recovery-flat-page .account-card) .account-help>summary svg{transition:none}}
@media(max-width:359px){.customer-account-flat-page .account-header,.customer-account-flat-page .customer-account-flat{width:calc(100% - 40px)}}

/* Shared public login and signup layout; applied by explicit audience/page guards. */
.account-entry-flat-page{--auth-accent:#2867e9;margin:0;background:#fff;color:#172a42}
.account-entry-flat-page.account-portal-cast{--auth-accent:#a33766}
.account-entry-flat-page .account-header{box-sizing:border-box;width:min(calc(100% - 48px),480px);max-width:none;margin:0 auto;padding:28px 0 0}
.account-entry-flat-page .account-header img{width:145px;height:auto}
.account-entry-flat-page .account-card{box-sizing:border-box;width:min(calc(100% - 48px),480px);margin:28px auto 64px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere}
.account-entry-flat-page .eyebrow{display:block;font-size:11px;font-weight:500;line-height:1.6;letter-spacing:.1em;color:#647890;margin:0 0 8px}
.account-entry-flat-page .account-card h1{font-size:20px;line-height:1.4;letter-spacing:.01em;margin:0 0 28px}
.account-entry-flat-page .form-fields{gap:20px}
.account-entry-flat-page .field-label{font-size:14px;font-weight:600;color:#263c57;margin-bottom:8px}
.account-entry-flat-page .account-card input:not([type=checkbox]){min-height:48px;border-color:#ccd7e4;border-radius:8px;padding:11px 12px;font-size:16px}
.account-entry-flat-page .account-card form>button:not(.google-login-button){min-height:48px;border-radius:8px;border-color:var(--auth-accent);background:var(--auth-accent);font-size:15px;font-weight:600}
.account-entry-flat-page a{color:var(--auth-accent)}
.account-entry-flat-page .account-links[aria-label="ログインできない場合"]{margin:16px 0 0;gap:2px 16px}
.account-entry-flat-page .account-links[aria-label="ログインできない場合"] a{box-sizing:border-box;font-size:13px;line-height:1.6;min-height:44px;padding:8px 0}
.account-entry-flat-page .account-links[aria-label="新規登録"]{border-top:1px solid #e6ecf3;padding-top:24px;margin:24px 0 0}
.account-entry-flat-page .account-links[aria-label="新規登録"] .button{min-height:48px;border-color:#b9cbed;border-radius:8px;color:var(--auth-accent);background:#fff;font-size:14px}
.account-entry-flat-page .auth-return{font-size:13px;color:#526c8e;margin-top:20px}
.account-entry-flat-page :focus-visible{outline:3px solid var(--auth-accent);outline-offset:3px}
@media(max-width:359px){.account-entry-flat-page .account-header,.account-entry-flat-page .account-card{width:calc(100% - 40px)}}

/* Registration keeps its consent, validation and verification content visible. */
.account-signup-flat-page .account-card p{font-size:13px;line-height:1.8}
.account-signup-flat-page .account-notice{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#647890;font-size:13px;line-height:1.8}
.account-signup-flat-page .account-card>form:not(.google-login-form){border-top:1px solid #e6ecf3;margin-top:24px;padding-top:24px}
.account-signup-flat-page .account-card form>p{font-size:12px;line-height:1.8;margin:4px 0}
.account-signup-flat-page .account-steps{gap:8px 20px;margin:16px 0 24px;padding-left:20px;font-size:12px;line-height:1.7;color:#647890}
.account-signup-flat-page .account-steps li{margin-right:0}
.account-signup-flat-page .helptext{font-size:12px;line-height:1.7}
.account-signup-flat-page .form-field-check>label{font-size:13px;font-weight:400;line-height:1.8}
.account-signup-flat-page .customer-signup-benefits{margin:0 0 24px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.account-signup-flat-page .customer-signup-benefits h2{font-size:14px;line-height:1.7;margin:0 0 8px;font-weight:600}
.account-signup-flat-page .customer-signup-benefits ul{margin:0 0 10px;padding-left:18px;color:#647890;font-size:13px;line-height:1.8}
.account-signup-flat-page .customer-signup-benefits li+li{margin-top:4px}
.account-signup-flat-page .customer-signup-benefits p.help{font-size:12px;color:#647890;margin:0}
.account-signup-flat-page .customer-signup-benefits p.help>span{display:inline-block;max-width:100%}
.account-signup-flat-page .account-links{border-top:1px solid #e6ecf3;margin:28px 0 0;padding-top:12px;gap:0 16px}
.account-signup-flat-page .account-links a{box-sizing:border-box;font-size:13px;min-height:44px;line-height:1.6}
.account-signup-flat-page .shop-verification{margin-top:32px;padding-top:24px;border-top:1px solid #e6ecf3}
.account-signup-flat-page .shop-verification .verification-label{display:block;margin:0 0 8px;padding:0;border:0;border-radius:0;background:transparent;font-size:11px;color:#647890}
.account-signup-flat-page .shop-verification h2{font-size:16px;line-height:1.7;margin:0 0 12px}
.account-signup-flat-page .shop-verification .verification-intro{font-size:13px;line-height:1.8;margin:0 0 16px}
.account-signup-flat-page .shop-verification .verification-steps{grid-template-columns:1fr;gap:0;margin:0 0 16px}
.account-signup-flat-page .shop-verification .verification-steps>li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:2px 12px;padding:16px 0;border:0;border-bottom:1px solid #edf1f6;border-radius:0;background:transparent;box-shadow:none}
.account-signup-flat-page .shop-verification .verification-number{grid-column:1;grid-row:1/3;font-size:12px;line-height:1.8;color:#647890;margin:0}
.account-signup-flat-page .shop-verification h3{grid-column:2;font-size:14px;line-height:1.7;margin:0 0 6px}
.account-signup-flat-page .shop-verification .verification-steps p{grid-column:2;font-size:12px;line-height:1.8}
.account-signup-flat-page .shop-verification .verification-status{margin:16px 0 0;padding:0;border:0;border-radius:0;background:transparent;font-size:12px;line-height:1.8}

/* Measurement preferences retain their existing browser-local privacy choices. */
body.navia-ui[data-page="measurement_preferences"] main.measurement-preferences-flat{box-sizing:border-box;width:min(calc(100% - 48px),480px);max-width:none;margin:28px auto 64px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere}
body.navia-ui[data-page="measurement_preferences"] .measurement-preferences-flat h1{font-size:20px;line-height:1.4;letter-spacing:.01em;margin:0 0 28px}
body.navia-ui[data-page="measurement_preferences"] .measurement-preferences-flat h2{font-size:14px;font-weight:600;line-height:1.7;margin:0 0 12px}
body.navia-ui[data-page="measurement_preferences"] .measurement-preferences-flat p{font-size:13px;line-height:1.85;margin:0 0 16px}
.measurement-preferences-flat .measurement-current{padding:16px 0;border-top:1px solid #e6ecf3;border-bottom:1px solid #e6ecf3}
.measurement-preferences-flat .measurement-status-note{color:var(--ui-muted,#647890)}
.measurement-preferences-flat fieldset{min-width:0;margin:24px 0 16px;padding:0;border:0;border-radius:0}
.measurement-preferences-flat legend{padding:0;margin:0 0 8px;font-size:14px;font-weight:600}
.measurement-preferences-flat fieldset label{gap:12px;min-height:48px;font-size:14px;font-weight:400;cursor:pointer}
.measurement-preferences-flat input[type=radio]{width:22px;height:22px;min-width:22px;min-height:22px;padding:0;accent-color:var(--ui-accent,#2867e9);cursor:pointer}
.measurement-preferences-flat form>button{width:100%;min-height:48px;border-radius:8px;font-size:15px;font-weight:600}
.measurement-preferences-flat .measurement-details{border-top:1px solid #e6ecf3;margin-top:32px;padding-top:24px}
.measurement-preferences-flat>.auth-return{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:12px;padding:8px 0;border:0;border-radius:0;background:transparent;color:var(--ui-muted,#526c8e);font-size:13px;font-weight:400}
.measurement-preferences-flat>.auth-return::before{content:"←";flex:none}
@media(max-width:359px){body.navia-ui[data-page="measurement_preferences"] main.measurement-preferences-flat{width:calc(100% - 40px)}}

/* Personal image/name editing shares the latest flat account shell. */
.account-profile-flat-page .customer-profile-editor>.auth-return{margin:0 0 12px;padding:8px 0;font-size:13px;line-height:1.6;min-height:44px}
.account-profile-flat-page .customer-profile-editor>.auth-return>span{font-size:16px;line-height:1}
.account-profile-flat-page .customer-profile-editor .profile-editor-heading{margin:0 0 28px}
.account-profile-flat-page .customer-profile-editor .profile-name-field input{background:#fff;border-radius:8px;border-color:#ccd7e4}
.account-profile-flat-page .customer-profile-editor button[type=submit]{border-radius:8px;box-shadow:none}
.account-profile-flat-page .customer-profile-editor .profile-form-error{padding:0;border:0;border-radius:0;background:transparent}

/* Google connection and callback results share the flat account layout. */
.account-google-flat-page .account-card p{font-size:13px;line-height:1.8;margin:0 0 20px}
.account-google-flat-page .account-card .account-notice{margin:0 0 24px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#647890;font-size:13px;line-height:1.8}
.account-google-flat-page .account-card .google-connection-state{font-size:14px;font-weight:600;color:#39766d;margin:0 0 8px}
.account-google-flat-page .account-card form{gap:20px;margin:24px 0 0}
.account-google-flat-page .account-card form>button{margin-top:0}
.account-google-flat-page .account-card .google-reauth-form>button{background:#fff;color:var(--auth-accent);border-color:#b9cbed;font-size:14px}
.account-google-flat-page .google-reauth-form+form{border-top:1px solid #e6ecf3;padding-top:24px}
.account-google-flat-page .account-card form>p{margin:0;color:#647890;font-size:12px;line-height:1.8}
.account-google-flat-page .account-card>.auth-return{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:44px;margin:24px 0 0;padding:8px 0;border:0;border-radius:0;background:transparent;font-size:13px;font-weight:400;color:#526c8e}
.account-google-flat-page .account-card>.auth-return::before{content:"←";flex:none}
.account-google-flat-page .account-links{border-top:1px solid #e6ecf3;margin:24px 0 0;padding-top:8px;gap:0 20px}
.account-google-flat-page .account-links a{font-size:13px;min-height:44px;line-height:1.6}
.account-google-flat-page .account-card .errorlist{font-size:13px;line-height:1.7;margin:8px 0 0;padding-left:18px}

/* Password reset and its shared mail-result pages retain their existing flow. */
.account-recovery-flat-page .account-notice{margin:0 0 24px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#647890;font-size:13px;line-height:1.8}
.account-recovery-flat-page p.account-notice{white-space:pre-line}
.account-recovery-flat-page .account-card p{font-size:13px;line-height:1.8}
.account-recovery-flat-page .account-confirmation-address{margin:0 0 16px;min-width:0}
.account-recovery-flat-page .account-confirmation-label{display:block;font-size:12px;line-height:1.7;color:#647890}
.account-recovery-flat-page .account-card .account-confirmation-email{margin:4px 0 0;font-size:15px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
.account-recovery-flat-page .account-card form{gap:20px}
.account-recovery-flat-page .account-card select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;padding:11px 12px;border:1px solid #ccd7e4;border-radius:8px;background:#fff;color:#172a42;font:inherit;font-size:16px}
.account-recovery-flat-page .account-card textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:160px;border:1px solid #ccd7e4;border-radius:8px;padding:11px 12px;background:#fff;color:#172a42;font:inherit;font-size:16px;line-height:1.8;resize:vertical}
.account-recovery-flat-page .form-field-check>label{font-size:13px;line-height:1.8}
.account-recovery-flat-page .account-card .form-field-check.has-error{row-gap:0}
.account-recovery-flat-page .account-card .form-field-check.has-error>.errorlist{margin-top:0}
.account-recovery-flat-page .account-notice h2{font-size:16px;line-height:1.7;margin:0 0 12px}
.account-recovery-flat-page .account-notice h3{font-size:14px;line-height:1.7;margin:20px 0 8px}
.account-recovery-flat-page .account-notice>div{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.account-recovery-flat-page .helptext{font-size:12px;line-height:1.7}
.account-recovery-flat-page .helptext ul{margin:8px 0 0;padding-left:18px}
.account-recovery-flat-page .helptext li+li{margin-top:4px}
.account-recovery-flat-page .account-card .errorlist{font-size:13px;line-height:1.7;margin:8px 0 0;padding-left:18px}
.account-recovery-flat-page .account-card .errorlist>li{white-space:pre-line}
.account-recovery-flat-page .account-card>.auth-return{display:flex;align-items:center;justify-content:flex-start;width:auto;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;font-size:13px;font-weight:400;color:#526c8e}

/* Keep account page titles aligned without changing other product headings. */
body.navia-ui:is([data-page="password"],[data-page="password_change_done"]) main.auth>h1,
body.navia-ui:is([data-page="content_report_history"],[data-page="content_report_status"]) .customer-help-page h1{font-size:20px;line-height:1.4;letter-spacing:.01em}

/* The signed-in password form uses the same flat layout and quiet return link. */
body.navia-ui:is([data-page="password"],[data-page="password_change_done"]) main.auth{box-sizing:border-box;width:min(calc(100% - 48px),480px);max-width:none;margin:28px auto 64px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere}
body.navia-ui:is([data-page="password"],[data-page="password_change_done"]) main.auth>h1{text-align:left;margin:0 0 28px}
body.navia-ui:is([data-page="password"],[data-page="password_change_done"]) main.auth>a.auth-return{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;width:auto;min-width:0;max-width:100%;min-height:44px;padding:8px 0;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--ui-muted,#526c8e);font-size:13px;line-height:1.6;font-weight:400}
body.navia-ui:is([data-page="password"],[data-page="password_change_done"]) main.auth>a.auth-return::before{content:"←";flex:none}
body.navia-ui:is([data-page="password"],[data-page="password_change_done"]) main.auth>a.auth-return:hover{text-decoration:underline;background:transparent}
body.navia-ui[data-page="password"] main.auth>a.auth-return{margin:0 0 12px}
body.navia-ui[data-page="password"] main.auth form,body.navia-ui[data-page="password"] main.auth .form-fields{display:grid;gap:20px}
body.navia-ui[data-page="password"] main.auth .field-label{font-size:14px;color:var(--ui-ink,#263c57);margin-bottom:8px}
body.navia-ui[data-page="password"] main.auth input:not([type=checkbox]){min-height:48px;border-color:#ccd7e4;border-radius:8px;font-size:16px}
body.navia-ui[data-page="password"] main.auth .helptext{font-size:12px;line-height:1.7}
body.navia-ui[data-page="password"] main.auth form>button{min-height:48px;border:1px solid #2867e9;border-radius:8px;background:#2867e9;color:#fff;font-size:15px;font-weight:600}
body.navia-ui[data-page="password_change_done"] main.auth>p{font-size:13px;line-height:1.8}
@media(max-width:359px){body.navia-ui:is([data-page="password"],[data-page="password_change_done"]) main.auth{width:calc(100% - 40px)}}

/* Personal report history and detail share the same flat account layout. */
body.navia-ui:is([data-page="content_report_history"],[data-page="content_report_status"]) main.customer-reports-flat{box-sizing:border-box;width:min(calc(100% - 48px),480px);max-width:none;margin:28px auto 64px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere}
body.navia-ui:is([data-page="content_report_history"],[data-page="content_report_status"]) .customer-reports-flat>h1{margin:0 0 28px;text-align:left}
.customer-reports-flat .customer-report-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 0;margin:0 0 12px;color:var(--ui-muted,#526c8e);font-size:13px;line-height:1.6;font-weight:400}
.customer-reports-flat .customer-report-list{border-top:1px solid #e6ecf3}
.customer-reports-flat .customer-report-row{padding:20px 0 12px;margin:0;border:0;border-bottom:1px solid #e6ecf3;border-radius:0;background:transparent;box-shadow:none}
.customer-reports-flat .customer-report-row h2{font-size:16px;font-weight:600;line-height:1.7;letter-spacing:0;margin:0 0 8px;overflow-wrap:anywhere}
.customer-reports-flat .customer-report-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;margin:0;font-size:12px;line-height:1.7;color:var(--ui-muted,#62718a)}
.customer-reports-flat .customer-report-meta>span{font-size:13px;color:var(--ui-ink,#263c57)}
.customer-reports-flat .customer-report-open{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 0;font-size:13px;line-height:1.6;font-weight:500}
.customer-reports-flat .customer-report-open>span{flex:none}
.customer-reports-flat .customer-report-empty{margin:0;padding:24px 0;font-size:13px;line-height:1.8;color:var(--ui-muted,#62718a)}
.customer-reports-flat .customer-report-detail{padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.customer-reports-flat .customer-report-subject{font-size:16px;font-weight:600;line-height:1.7;margin:0 0 20px}
.customer-reports-flat .customer-report-facts{display:grid;gap:12px;margin:0 0 24px;padding:0 0 24px;border-bottom:1px solid #e6ecf3}
.customer-reports-flat .customer-report-facts>div{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:baseline}
.customer-reports-flat .customer-report-facts dt{font-size:12px;color:var(--ui-muted,#62718a)}
.customer-reports-flat .customer-report-facts dd{margin:0;font-size:13px;line-height:1.8}
.customer-reports-flat .customer-report-body h2{margin:0 0 12px;font-size:14px;line-height:1.7;font-weight:600}
.customer-reports-flat .customer-report-body>div{font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.customer-reports-flat .customer-report-note{font-size:12px;line-height:1.8;color:var(--ui-muted,#62718a);margin:24px 0 12px}
@media(max-width:359px){body.navia-ui:is([data-page="content_report_history"],[data-page="content_report_status"]) main.customer-reports-flat{width:calc(100% - 40px)}}

/* Report composition preserves the existing multipart form and all field errors. */
body.navia-ui[data-page="content_report_new"] main.customer-report-compose{box-sizing:border-box;width:min(calc(100% - 48px),480px);max-width:none;margin:28px auto 64px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere}
.customer-report-compose .customer-report-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 0;margin:0 0 12px;color:var(--ui-muted,#526c8e);font-size:13px;line-height:1.6;font-weight:400}
body.navia-ui[data-page="content_report_new"] .customer-report-compose h1{font-size:20px;line-height:1.4;letter-spacing:.01em;margin:0 0 20px}
.customer-report-compose .customer-report-form-section{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.customer-report-compose .customer-report-target{font-size:14px;font-weight:600;line-height:1.8;margin:0 0 16px;overflow-wrap:anywhere}
.customer-report-compose .customer-report-description{font-size:13px;line-height:1.85;margin:0 0 28px;color:var(--ui-muted,#647890)}
.customer-report-compose form>p{margin:0 0 24px}
.customer-report-compose form label{font-size:14px;line-height:1.7;font-weight:600;margin:0 0 8px}
.customer-report-compose form select{width:100%;min-width:0;max-width:100%;min-height:48px;padding:11px 12px;border:1px solid var(--ui-line,#ccd7e4);border-radius:8px;background:var(--ui-input,#fff);color:var(--ui-ink,#172a42);font:inherit;font-size:16px}
.customer-report-compose form textarea{box-sizing:border-box;min-height:160px;padding:11px 12px;border:1px solid var(--ui-line,#ccd7e4);border-radius:8px;background:var(--ui-input,#fff);color:var(--ui-ink,#172a42);font:inherit;font-size:16px;line-height:1.8;resize:vertical}
.customer-report-compose form input[type=file]{min-height:48px;padding:8px;border:1px solid var(--ui-line,#ccd7e4);border-radius:8px;font-size:13px;line-height:1.8}
.customer-report-compose form input[type=file]::file-selector-button{min-height:32px;margin-right:10px;padding:4px 10px;border:0;border-radius:5px;background:#edf3fb;color:#526c8e;font:inherit;cursor:pointer}
.customer-report-compose .helptext{display:block;font-size:12px;line-height:1.8;color:var(--ui-muted,#647890);margin:8px 0 0}
.customer-report-compose .errorlist{font-size:13px;line-height:1.8;margin:4px 0 8px;padding-left:18px}
.customer-report-compose form>.customer-report-privacy-note{font-size:12px;line-height:1.8;color:var(--ui-muted,#647890);margin:0 0 16px}
.customer-report-compose form>button{width:100%;min-height:48px;border-radius:8px;font-size:15px;font-weight:600}
@media(max-width:359px){body.navia-ui[data-page="content_report_new"] main.customer-report-compose{width:calc(100% - 40px)}}

/* Customer exceptions; standalone failures do not depend on account/DB context. */
.customer-error-standalone{margin:0;background:#fff;color:#172a42;font:16px/1.6 system-ui,-apple-system,"Noto Sans JP",sans-serif}
.customer-error-header{box-sizing:border-box;width:min(calc(100% - 48px),480px);margin:0 auto;padding:28px 0 0}
.customer-error-header>a{display:inline-flex;align-items:center;min-height:44px}
.customer-error-header img{display:block;width:145px;height:auto}
main.customer-error-flat{box-sizing:border-box;width:min(calc(100% - 48px),480px);max-width:none;margin:28px auto 64px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere;text-align:left}
.customer-error-flat .customer-error-number{font-size:12px;line-height:1.7;letter-spacing:.08em;color:#647890;margin:0 0 12px}
body.navia-ui main.page.customer-error-flat>h1,.customer-error-flat h1{font-size:20px;line-height:1.4;letter-spacing:.01em;margin:0 0 20px}
.customer-error-flat p{font-size:13px;line-height:1.85;margin:0 0 16px;color:#62718a}
.customer-error-flat .customer-error-actions{display:grid;gap:12px;margin:28px 0 0;padding:0}
.customer-error-flat .customer-error-actions>a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:48px;padding:11px 16px;border:1px solid #2867e9;border-radius:8px;background:#2867e9;color:#fff;font:600 15px/1.6 system-ui,-apple-system,"Noto Sans JP",sans-serif;text-decoration:none;box-shadow:none}
.customer-error-flat .customer-error-actions>a.secondary{background:#fff;border-color:#cbd7e4;color:#526c8e;font-weight:500}
.customer-error-flat .customer-error-actions>a:hover{background:#1f5cd6;text-decoration:none}
.customer-error-flat .customer-error-actions>a.secondary:hover{background:#f4f7fc}
.customer-error-flat a:focus-visible,.customer-error-header a:focus-visible{outline:3px solid #2867e9;outline-offset:3px}
@media(max-width:359px){main.customer-error-flat,.customer-error-header{width:calc(100% - 40px)}}

/* The person's own procedure receipt, separate from operator review screens. */
body.navia-ui[data-page="account_procedure_status"] main.account-procedure-status-flat{box-sizing:border-box;width:min(calc(100% - 48px),480px);max-width:none;margin:28px auto 64px;padding:0;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere}
body.navia-ui[data-page="account_procedure_status"] main.account-procedure-status-flat>h1{font-size:20px;line-height:1.4;letter-spacing:.01em;margin:0 0 28px}
.account-procedure-status-flat .procedure-detail{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.account-procedure-status-flat h2{font-size:16px;line-height:1.7;margin:0 0 12px}
.account-procedure-status-flat .procedure-status{font-size:13px;line-height:1.8;margin:0 0 16px}
.account-procedure-status-flat .procedure-target{font-size:13px;line-height:1.8}
.account-procedure-status-flat .procedure-notice{font-size:12px;line-height:1.9;color:var(--ui-muted,#62718a);margin:20px 0}
.account-procedure-status-flat .procedure-reply{padding:20px 0;border-top:1px solid #e6ecf3;border-bottom:1px solid #e6ecf3;margin:24px 0}
.account-procedure-status-flat .procedure-reply h3{font-size:14px;line-height:1.7;margin:0 0 12px}
.account-procedure-status-flat .procedure-reply>div{font-size:13px;line-height:1.9;overflow-wrap:anywhere}
.account-procedure-status-flat .procedure-receipt{display:grid;gap:16px;padding:20px 0 0;margin:24px 0 0;border-top:1px solid #e6ecf3}
.account-procedure-status-flat .procedure-receipt dt{font-size:12px;color:var(--ui-muted,#62718a)}
.account-procedure-status-flat .procedure-receipt dd{font-size:13px;line-height:1.8;margin:4px 0 0;overflow-wrap:anywhere}
.account-procedure-status-flat .procedure-return{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 0;margin:20px 0 0;font-size:13px;color:var(--ui-muted,#526c8e)}
@media(max-width:359px){body.navia-ui[data-page="account_procedure_status"] main.account-procedure-status-flat{width:calc(100% - 40px)}}

