/* Shared UI/UX Pro Max refinement: pastel accents, white surfaces, navy type. */
:root{--ui-blue:#285FA5;--ui-ink:#183757;--ui-copy:#375979;--ui-border:#CBDEF2;--ui-focus:#376DB4;--ui-blue-soft:#EAF3FF;--ui-lavender:#F0EDFF;--ui-pink:#FCECF2;--ui-shadow:0 3px 16px #21487809;--ink:var(--ui-ink);--muted:var(--ui-copy);--accent:var(--ui-blue);--bg:#F6FAFF;--line:var(--ui-border)}
body{font-feature-settings:'palt';text-rendering:optimizeLegibility}h1,h2,h3{font-weight:700}button,.button{min-height:44px;border-radius:8px;transition:background-color .18s,border-color .18s,box-shadow .18s}button:hover,.button:hover{border-color:#83AEDC;background:#EDF5FF;box-shadow:0 2px 8px #285FA512}button:active,.button:active{background:#DDEBFF}.primary{background:var(--ui-blue);border-color:var(--ui-blue);color:#fff}.primary:hover{background:#204D89;color:#fff}:focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px;scroll-margin-block:90px}input,select,textarea{border-radius:8px;border-color:#9DBADB;background:#fff;min-height:44px;line-height:1.6}input:hover,textarea:hover,select:hover{border-color:#699CD0}input:focus,textarea:focus,select:focus{border-color:var(--ui-focus)}input[type=checkbox]{min-height:22px;accent-color:var(--ui-blue)}.field{gap:8px;min-width:0}.field>label{font-size:14px;color:var(--ui-ink)}.help{line-height:1.7}.section-sheet,.board-panel,.question-card,.property-focus-card{box-shadow:var(--ui-shadow);border-radius:12px}.masthead{border-color:var(--ui-border)}.page-heading h1{letter-spacing:.015em}.section-sheet>h2{font-size:19px;padding-bottom:15px;border-bottom:1px solid var(--ui-border);margin-bottom:22px}.form-grid{gap:22px 24px}.sticky-save{padding:16px 4px;box-shadow:0 -5px 15px #23487808;border-radius:8px;flex-wrap:wrap}.footer{line-height:1.8}.save-status{font-size:13px;line-height:1.6}.document-row{border-radius:6px}.document-row:hover{background:#F3F8FF}.document-row.checked{background:#EEF5FF}.document-row input{margin-left:4px}.board-panel h2{letter-spacing:.02em}.board-panel{border-top-width:3px}.board-purpose{border-top-color:#82B4EA}.board-phase{border-top-color:#B6A6E8}.board-next{border-top-color:#E9AFC3}.board-documents{border-top-color:#9BBBE8}.board-calendar{border-top-color:#ABB9EF}.board-viewings{border-top-color:#C0AFE7}.board-phase .phase-name{display:inline-block;padding:5px 10px;background:var(--ui-lavender);border-radius:7px;font-size:21px;color:#3F3E79;margin-top:0}.dashboard-sidebar{border-radius:12px;box-shadow:var(--ui-shadow);border-top:3px solid #9FBEEC}.dashboard-sidebar nav a{border-radius:7px;border:1px solid transparent}.dashboard-sidebar nav a:hover{background:#F1F6FF;border-color:#D9E6F8}.dashboard-sidebar nav .active{background:#EAF2FF;color:#204F86;border-color:#C7DDF6}.dashboard-heading h1{letter-spacing:.01em}.dashboard-heading{padding-bottom:18px}.panel-heading a{padding:6px 0;min-height:32px}.question-card{border-top-width:3px}.question-category{background:var(--ui-lavender);color:#4B4678;border-radius:6px}.question-context{background:#F0F5FF;border-radius:12px}.question-answers .item-btn{border-radius:9px}.question-answers .item-btn[data-value=flag][aria-pressed=true]{background:var(--ui-pink);color:#85415B}.question-navigation{gap:16px}.property-focus-card{border-top-width:3px}.calendar-sheet{border-radius:12px}.calendar-next{background:#F0EDFF;border-left-color:#B6A6E8;border-radius:9px}.calendar-week{background:#EDF4FF;border-radius:6px 6px 0 0}.calendar-day{min-height:82px;border-radius:0}.calendar-day.selected{background:#E9F2FF}.calendar-share{background:#F3F7FF;border-radius:9px}.calendar-event h3{font-size:18px}.calendar-nav button{min-width:44px;min-height:44px}.event-kind{border-radius:6px}
/* Management has one editing surface with persistent, predictable navigation. */
.admin-shell{max-width:1280px;padding:0 28px 36px}.admin-shell .masthead .brand{font-size:17px}.admin-shell>.page-heading{padding:22px 0 18px}.admin-shell>.section-sheet{border-top:3px solid #9FBEEC;padding:18px 24px;margin-bottom:24px}.admin-shell>.section-sheet>h2{font-size:16px;margin-bottom:14px;padding-bottom:12px}.admin-shell>.section-sheet .form-grid{gap:16px 24px}.admin-shell>.section-sheet .help{font-size:12px}.admin-shell>.section-sheet .save-status{margin-bottom:0}.admin-tabs{background:white;border:1px solid var(--ui-border);border-radius:12px;padding:14px;box-shadow:var(--ui-shadow)}.admin-tabs:before{content:'編集する内容';display:block;color:var(--ui-copy);font-size:12px;padding:6px 10px 12px}.admin-tabs button{text-align:left;justify-content:flex-start;border:1px solid transparent;background:#fff;gap:10px;padding:11px 12px;min-height:48px;font-size:14px;font-weight:500}.admin-tabs button[aria-selected=true]{background:var(--ui-lavender);border-color:#CBC0F1;color:#494075;font-weight:700}.ui-icon{width:18px;height:18px;flex:none;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.admin-shell #editor{min-width:0}.admin-shell #editor>.section-sheet{padding:24px 28px;margin-bottom:16px;border-top:3px solid #B6A6E8}.admin-shell #editor .form-actions{gap:12px}
@media(min-width:901px){.admin-shell{display:grid;grid-template-columns:210px minmax(0,1fr);gap:0 24px;align-items:start}.admin-shell>.masthead,.admin-shell>.page-heading,.admin-shell>.section-sheet,.admin-shell>.footer{grid-column:1/-1}.admin-tabs{grid-column:1;position:sticky;top:20px;display:flex;flex-direction:column;gap:6px;margin:0}.admin-shell #editor{grid-column:2}.admin-shell>.footer{margin-top:24px}.admin-shell>.section-sheet .form-grid{grid-template-columns:1fr 1fr}.admin-shell>.section-sheet .form-actions{margin-top:12px!important}.admin-shell #editor>.sticky-save{bottom:0}}
@media(max-width:900px){.admin-tabs{gap:6px;position:static}.admin-tabs:before{width:100%;padding-bottom:4px}.admin-tabs button{padding:9px 10px}.admin-shell #editor>.section-sheet{padding:22px}.admin-shell{padding:0 18px 28px}}
@media(max-width:700px){.admin-shell>.section-sheet{padding:16px}.admin-shell>.page-heading h1{font-size:24px}.section-sheet>h2{font-size:18px}.admin-shell #editor>.section-sheet{padding:18px}.admin-tabs .ui-icon{width:16px;height:16px}.admin-tabs button{font-size:13px;min-height:44px}.dashboard-sidebar nav a{min-height:44px;display:flex;align-items:center}.dashboard-sidebar .sidebar-services .button{font-size:14px}.dashboard-heading h1{font-size:22px}.board-phase .phase-name{font-size:21px}.board-panel{padding:16px}.board-panel>p{font-size:15px}.calendar-day{min-height:68px}.calendar-sheet{padding:12px}.sticky-save{padding:12px 0}}
[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){button,.button,input,select,textarea{transition:none!important}}
@media(min-width:1101px){.admin-shell>.section-sheet{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:0 24px;align-items:center}.admin-shell>.section-sheet>h2{grid-column:1/-1;margin-bottom:12px}.admin-shell>.section-sheet .form-actions{margin:0!important;align-self:center;gap:8px}.admin-shell>.section-sheet .form-actions button{font-size:14px;padding:9px 12px}.admin-shell>.section-sheet .save-status,.admin-shell>.section-sheet .customer-list{grid-column:1/-1}.admin-shell>.section-sheet .help{font-size:12px}.admin-shell>.section-sheet .field{gap:4px}.admin-shell>.section-sheet .save-status{min-height:20px;margin-top:8px}.admin-shell>.section-sheet .field input{padding:7px 10px}}
