/* AI 다이어리 /main CLEAN MAIN 01
   이 파일이 /main 화면의 유일한 디자인 CSS입니다.
   기능별 구역을 직접 수정하며, 같은 선택자를 파일 끝에 재추가하지 않습니다.
*/

:root{
  --page:#d9d9d9;
  --white:#fff;
  --ink:#202b3a;
  --gray:#858585;
  --muted:#9aa0a4;
  --pink:#ff6fa5;
  --pink-deep:#ed6f9b;
  --blue:#4d78f2;
  --sat:#159bd7;
  --sun:#ef4050;
  --line:#e4e4e4;
  --radius:28px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--page);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR","Segoe UI",sans-serif}
html{min-height:100%;background:var(--page)!important}
body.aidiary-main{padding:0 20px 34px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit}
[hidden],.compat-hidden{display:none!important}

/* 전체 폭 */
.app-header,.service-notice,.app-shell{width:min(100%,790px);margin-left:auto;margin-right:auto}

/* 상단 */
.app-header{height:112px;display:flex;align-items:center;justify-content:space-between}
.brand{display:block}
.brand img{display:block;width:auto;height:68px}
.menu-trigger{width:54px;height:54px;border:0;border-radius:0;background:transparent;display:grid;place-items:center;padding:0}
.menu-trigger img{display:block;width:42px;height:42px}

/* 공지 */
.service-notice{margin:-4px auto 10px;border:2px solid rgba(255,255,255,.9);border-radius:22px;background:transparent;overflow:hidden}
.service-notice summary{list-style:none;min-height:48px;padding:10px 17px;display:flex;align-items:center;gap:9px;cursor:pointer}
.service-notice summary::-webkit-details-marker{display:none}
.service-notice summary>span{padding:4px 8px;border-radius:9px;background:var(--pink);color:#fff;font-size:11px;font-weight:900}
.service-notice summary strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.service-notice summary small{margin-left:auto;color:#888;font-size:10px}
.service-notice>div{padding:0 17px 13px;font-size:12px;line-height:1.6;color:#666}

/* 메인 */
.app-shell{display:grid;gap:34px}
.card{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.92);border-radius:48px;box-shadow:none}

/* 일정 */
.schedule-card{padding:27px 29px 28px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}
.section-head>div{display:flex;align-items:center;gap:11px;min-width:0;flex:1 1 auto}
.section-head>div:before{content:"";width:25px;height:25px;flex:0 0 25px;border-radius:50%;background:var(--pink)}
.section-head h1{margin:0;color:#8e8e8e;font-size:27px;line-height:1.15;letter-spacing:-1px;font-weight:800;white-space:nowrap}

#selectedDateTitle{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
#selectedDateTitle .selected-solar-label{display:inline}
#selectedDateTitle .selected-lunar-label{display:inline;color:#8b9397;font-size:.48em;font-weight:800;letter-spacing:-.2px;white-space:nowrap}
@media(max-width:430px){
 #selectedDateTitle{gap:6px}
 #selectedDateTitle .selected-lunar-label{font-size:.46em}
}

.section-head p{display:none}
.primary-button{min-width:190px;height:66px;padding:0 25px;border:0;border-radius:34px;background:var(--pink);color:#fff;font-size:22px;font-weight:800;white-space:nowrap}
.subheading{display:none}
.schedule-list{overflow:hidden;border-radius:52px;background:rgba(255,255,255,.78);padding:12px 32px}

.schedule-order-tools{display:flex;flex-direction:column;align-items:center;gap:6px;margin:4px 0 10px}
.schedule-order-controls{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px;border:1px solid rgba(255,255,255,.92);border-radius:17px;background:rgba(255,255,255,.42)}
.schedule-order-controls button{min-width:68px;min-height:34px;padding:0 10px;border:0;border-radius:13px;background:transparent;color:#78858b;font:inherit;font-size:11px;font-weight:850;cursor:pointer}
.schedule-order-controls button.active{background:rgba(255,255,255,.94);color:#52656d;box-shadow:0 2px 8px rgba(73,91,99,.08)}

.schedule-reorder-modal[hidden]{display:none!important}
.schedule-reorder-modal{position:fixed;inset:0;z-index:12000;display:flex;align-items:flex-end;justify-content:center}
.schedule-reorder-backdrop{position:absolute;inset:0;background:rgba(55,64,68,.38);backdrop-filter:blur(2px)}
.schedule-reorder-sheet{position:relative;z-index:1;box-sizing:border-box;width:min(100% - 20px,520px);max-height:min(82dvh,720px);margin:0 0 max(10px,env(safe-area-inset-bottom));padding:18px;border:1px solid rgba(255,255,255,.96);border-radius:30px;background:#eef1f1;box-shadow:0 18px 50px rgba(47,58,63,.22);display:flex;flex-direction:column}
.schedule-reorder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:3px 3px 13px}
.schedule-reorder-head h2{margin:0;color:#53656d;font-size:20px;letter-spacing:-.5px}
.schedule-reorder-head p{margin:5px 0 0;color:#879398;font-size:11px;line-height:1.45}
.schedule-reorder-close{width:38px;height:38px;flex:0 0 38px;border:1px solid #fff;border-radius:13px;background:rgba(255,255,255,.72);color:#68777e;font-size:25px;line-height:1;cursor:pointer}
.schedule-reorder-list{min-height:90px;max-height:52dvh;overflow-y:auto;overscroll-behavior:contain;padding:4px;display:grid;gap:7px}
.schedule-reorder-item{min-height:58px;display:grid;grid-template-columns:40px 52px minmax(0,1fr) 28px;align-items:center;gap:6px;padding:6px 9px 6px 5px;border:1px solid #fff;border-radius:18px;background:rgba(255,255,255,.82);box-shadow:0 1px 6px rgba(71,85,91,.05)}
.schedule-reorder-item.is-dragging{opacity:.62;transform:scale(.99)}
.schedule-reorder-grip{width:38px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:#7d8b90;cursor:grab;touch-action:none}
.schedule-reorder-grip:active{cursor:grabbing}
.schedule-reorder-grip .material-symbols-rounded{font-size:25px}
.schedule-reorder-time{color:#6e7d83;font-size:12px;font-weight:900}
.schedule-reorder-item strong{min-width:0;color:#53656d;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.schedule-reorder-number{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#e2e8e6;color:#6c7e76;font-size:11px;font-weight:900}
.schedule-reorder-empty{padding:32px 10px;color:#8a959a;text-align:center;font-size:12px}
.schedule-reorder-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;padding-top:13px}
.schedule-reorder-actions button{min-height:50px;border:0;border-radius:16px;font:inherit;font-size:13px;font-weight:900;cursor:pointer}
.schedule-reorder-cancel{background:rgba(255,255,255,.72);color:#718087}
.schedule-reorder-confirm{background:#eb76a1;color:#fff}
.schedule-reorder-confirm:disabled{opacity:.55}
body.schedule-reorder-open{overflow:hidden;touch-action:none}


.schedule-list .schedule-item{position:relative}





.schedule-list .schedule-summary strong{display:flex;align-items:center;gap:7px}






@media(max-width:560px){
 .schedule-order-tools{margin-top:2px}
 .schedule-order-controls{width:min(100%,280px);box-sizing:border-box}
 .schedule-order-controls button{min-width:0;flex:1;padding:0 5px}
}


.schedule-list>.empty{padding:27px 10px;color:#999;text-align:center}
.schedule-list>.schedule-empty-state{
  min-height:220px;padding:34px 22px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:14px;color:#9a9a9a
}
.schedule-empty-state i{
  width:20px;height:20px;border-radius:50%;background:#ff70a4;display:block;margin-bottom:4px
}
.schedule-empty-state strong{
  display:block;color:#969696;font-size:25px;font-weight:500;letter-spacing:-.7px
}
.schedule-empty-state span{
  display:block;color:#a4a4a4;font-size:15px;font-weight:500
}

/* app.js가 만드는 실제 일정 항목 */
.schedule-list .schedule-item{min-height:68px;border:0!important;border-bottom:1px solid #ddd!important;background:transparent!important;margin:0!important;padding:0!important;box-shadow:none!important}
.schedule-list .schedule-item:last-child{border-bottom:0!important}
.schedule-list .schedule-summary{width:100%;min-height:68px;padding:0 8px!important;border:0!important;background:transparent!important;display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;text-align:left!important}
.schedule-list .schedule-summary .time{color:#3f7687!important;font-size:25px!important;font-weight:800!important;white-space:nowrap!important}
.schedule-list .schedule-summary strong{min-width:0;color:#39434e!important;font-size:24px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.schedule-list .schedule-summary small{display:none!important}
.schedule-list .schedule-detail{padding:0 7px 16px 157px;color:#747b80;font-size:13px}
.schedule-list .schedule-detail p{margin:5px 0}.schedule-list .schedule-detail button{margin-right:6px;padding:7px 12px;border:0;border-radius:9px;background:#eef0f2;color:#555}.schedule-list .schedule-detail .danger{color:#c65d6d}


/* 달력 */
.calendar-card{padding:32px 27px 32px}
.calendar-head{height:64px;display:grid;grid-template-columns:90px 1fr 125px;align-items:center;margin-bottom:14px}
.today-button{justify-self:start;width:62px;height:62px;border:0;border-radius:50%;background:var(--pink);color:#fff;padding:0;display:grid;place-items:center}
.today-button .material-symbols-rounded{font-size:43px;font-weight:800;line-height:1}
.month-title-button{justify-self:center;min-width:260px;height:64px;padding:0 23px;border:0;border-radius:32px;background:#fff;color:#888;display:flex;align-items:center;justify-content:center;gap:5px;font-size:30px;font-weight:500}
.month-title-button .material-symbols-rounded{font-size:24px;color:#888}
.calendar-weather-mini{justify-self:end;width:118px;height:64px;display:flex;align-items:center;justify-content:center;gap:7px;color:#777;padding:6px 9px;border:1px solid rgba(255,255,255,.92);border-radius:20px;background:#edf7fd}
.calendar-weather-mini>span{font-size:32px;line-height:1}
.calendar-weather-mini>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-width:0}
.calendar-weather-mini strong{font-size:20px;line-height:1;white-space:nowrap}
.calendar-weather-mini small{font-size:11px;line-height:1;color:#999;white-space:nowrap}
.month-picker{margin:0 0 14px;padding:15px 18px;border:2px solid #fff;border-radius:22px;background:rgba(255,255,255,.55)}
.month-picker label{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;color:#777;font-size:14px}
.month-picker select{width:100%;min-width:0;min-height:64px;border:0;border-radius:22px;background:#fff;padding:12px 18px;color:#333;font-size:20px;font-weight:500}
.month-options{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:10px}
.month-options button{height:36px;border:0;border-radius:12px;background:#fff;color:#666}
.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));column-gap:7px}
.weekdays{margin:0 0 12px;padding:0;text-align:center;color:#8f8f8f;font-size:20px;font-weight:800}
.weekdays span:first-child{color:var(--pink)}
.weekdays span:last-child{color:var(--sat)}
.calendar-grid{row-gap:10px;background:transparent!important;border:0!important;padding:0!important}
.calendar-grid>div{min-height:74px;background:transparent!important;border:0!important}
.calendar-grid .day{
  appearance:none!important;-webkit-appearance:none!important;
  position:relative!important;justify-self:center!important;align-self:center!important;
  width:74px!important;height:74px!important;min-width:74px!important;min-height:74px!important;
  margin:0!important;padding:0!important;border:0!important;outline:0;
  border-radius:50%!important;background:rgba(255,255,255,.94)!important;
  color:var(--ink);font-size:22px;font-weight:800;line-height:1;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-shadow:none!important;
}
.calendar-grid .day:nth-child(7n+1){color:var(--sun)}
.calendar-grid .day:nth-child(7n){color:var(--sat)}
.calendar-grid .day.today,.calendar-grid .day.selected.today{background:var(--pink)!important;color:#fff!important}
.calendar-grid .day.selected:not(.today){box-shadow:inset 0 0 0 3px rgba(255,111,165,.42)!important}
.calendar-grid .day>span{display:block;line-height:1;transform:translateY(-1px)}
.calendar-grid .dots{position:absolute!important;left:50%!important;bottom:7px!important;width:auto!important;height:auto!important;display:flex!important;gap:2px!important;transform:translateX(-50%)!important;background:transparent!important;border:0!important}
.calendar-grid .dots i{display:block!important;width:8px!important;height:8px!important;border-radius:50%!important;background:#d9d9d9!important;border:0!important}

/* 오늘 메모 */
.memo-card{padding:25px 27px}
.memo-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.memo-head>div{display:flex;align-items:center;gap:12px}
.memo-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#ff70a4;font-size:25px}
.memo-head strong{color:#617078;font-size:27px}
.memo-head small{color:#92989c;font-size:15px;font-weight:800}
.memo-head a{padding:12px 20px;border:1px solid #fff;border-radius:24px;color:#69757b;text-decoration:none;font-size:16px;font-weight:800}
.memo-list{overflow:hidden;border-radius:34px;background:rgba(255,255,255,.93);padding:0 22px}
.memo-list>.empty{
  min-height:68px;
  padding:18px 12px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  color:#5f666b;
  font-size:15px;
  text-align:left
}
.memo-item{min-height:76px;display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid #e5e5e5;text-decoration:none}
.memo-item:last-child{border-bottom:0}
.memo-item time{color:#8b969c;font-size:15px}
.memo-item span{min-width:0;font-size:18px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.memo-item small{padding:6px 10px;border-radius:14px;background:#f4f4f4;color:#9ba0a3;font-size:11px}


/* 메뉴 — 단일 기준 규칙 */
.user-menu{
  position:fixed;
  z-index:5000;
  top:82px;
  right:max(4px,calc((100vw - 790px)/2));
  width:min(358px,calc(100vw - 12px));
  padding:11px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  border:1px solid rgba(255,255,255,.94);
  border-radius:24px;
  background:rgba(238,238,238,.96);
  box-shadow:0 14px 30px rgba(40,47,52,.14);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.user-menu a{
  min-width:0;
  min-height:70px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.95);
  border-radius:18px;
  background:rgba(255,255,255,.78);
  color:#414a4f;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  overflow:hidden;
}
.user-menu a .material-symbols-rounded{
  font-size:30px;
  line-height:1;
  color:#0b7f8d;
}
.user-menu a:nth-of-type(4) .material-symbols-rounded{color:#ea6570}
.user-menu .wide{
  grid-column:1/-1;
  min-height:64px;
  padding:9px 14px;
  flex-direction:row;
  justify-content:center;
  gap:12px;
  font-size:15px;
  white-space:nowrap;
}
.user-menu .wide img{
  width:44px;
  height:44px;
  flex:0 0 44px;
  object-fit:contain;
  display:block;
  align-self:center;
  transform:translateY(5px);
}
.user-menu .wide .menu-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.user-menu .android-download img{
  width:38px;
  height:38px;
  flex-basis:38px;
  transform:none;
  border-radius:10px;
}
.user-menu .admin{
  min-height:58px;
  justify-content:center;
  gap:10px;
}
.user-menu .admin .material-symbols-rounded{
  color:#5c70e8;
  font-size:30px;
}
.user-menu[hidden]{display:none!important}

/* 공통 모달 */
.modal,.alert-modal{position:fixed;inset:0;z-index:10000;padding:18px;background:rgba(42,47,51,.42);backdrop-filter:blur(8px);overflow:auto}
.modal{display:flex;align-items:flex-start;justify-content:center}
.modal-panel{position:relative;width:min(100%,430px);margin:auto;padding:18px;border:1px solid #ece7e8;border-radius:24px;background:#fff;box-shadow:0 22px 60px rgba(40,40,40,.2)}
.compact-panel{max-width:390px}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.modal-head h2{margin:0;font-size:18px}.modal-head p{margin:3px 0 0;color:#999;font-size:12px}
.modal-close{width:34px;height:34px;border:0;border-radius:50%;background:#f4f2f3;color:#777;font-size:22px}
.stack-form,.schedule-form{display:grid;gap:11px}
.stack-form label,.schedule-form label,.photo-results label{display:grid;gap:5px;color:#666;font-size:12px;font-weight:700}
input,select,textarea{width:100%;min-height:44px;padding:9px 11px;border:1px solid #e8e3e5;border-radius:12px;background:#fff;color:#333;outline:none}
input:focus,select:focus,textarea:focus{border-color:#eaa1b3;box-shadow:0 0 0 3px #fff0f4}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.save-button{width:100%;min-height:48px;margin-top:8px;border:1;border-radius:13px;background:var(--pink);color:#fff;font-weight:800}

/* 일정 등록 — 음성 / 빠른문구 / 카메라 */
.registration-modal{align-items:center!important;padding:18px!important;background:rgba(214,214,214,.82)!important;backdrop-filter:blur(9px)!important}
.registration-panel{
  width:min(100%,760px)!important;min-height:min(78vh,760px);margin:auto!important;
  padding:38px 28px 30px!important;border:1px solid rgba(255,255,255,.94)!important;
  border-radius:48px!important;background:rgba(255,255,255,.08)!important;
  box-shadow:none!important;overflow:visible!important
}
.registration-panel>.modal-head{height:56px;margin:0 0 6px!important;position:relative}
.registration-panel>.modal-head>div{display:none!important}
.registration-panel>.modal-head .modal-close{
  position:absolute;right:0;top:-1px;width:58px;height:58px;border:1px solid rgba(255,255,255,.95);
  border-radius:50%;background:rgba(255,255,255,.12);color:#747779;font-size:33px;font-weight:300
}
.quick-register{margin:0!important}
.register-tabs{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;justify-items:center;gap:28px;margin:0 0 36px!important;padding:0 4px}
.register-tab{
  width:150px;height:150px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.93);
  color:#ff70a4;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 5px rgba(255,255,255,.24)
}
.register-tab.active{border:5px solid #ff70a4;background:#fff;color:#ff70a4;box-shadow:none}
.register-tab .material-symbols-rounded{font-size:66px}
.quick-text-label{padding:8px 12px;border:4px solid #ff70a4;border-radius:24px;color:#515151;font-size:22px;line-height:1;white-space:nowrap}
.quick-aa{color:#ff70a4;font-size:38px;font-weight:800;letter-spacing:-3px;line-height:1}
.voice-tab-wave{height:78px;display:flex;align-items:center;justify-content:center;gap:8px}
.voice-tab-wave i{width:10px;height:42px;border-radius:8px;background:currentColor}
.voice-tab-wave i:nth-child(2),.voice-tab-wave i:nth-child(6){height:58px}
.voice-tab-wave i:nth-child(3),.voice-tab-wave i:nth-child(5){height:70px}
.voice-tab-wave i:nth-child(4){height:82px}
.voice-main-trigger.is-listening .voice-tab-wave i,.voice-main-trigger.is-speaking .voice-tab-wave i{animation:wave .65s ease-in-out infinite alternate}
.voice-main-trigger.is-listening .voice-tab-wave i:nth-child(2),.voice-main-trigger.is-speaking .voice-tab-wave i:nth-child(2){animation-delay:.08s}
.voice-main-trigger.is-listening .voice-tab-wave i:nth-child(3),.voice-main-trigger.is-speaking .voice-tab-wave i:nth-child(3){animation-delay:.16s}
.voice-main-trigger.is-listening .voice-tab-wave i:nth-child(4),.voice-main-trigger.is-speaking .voice-tab-wave i:nth-child(4){animation-delay:.24s}
.voice-main-trigger.is-listening .voice-tab-wave i:nth-child(5),.voice-main-trigger.is-speaking .voice-tab-wave i:nth-child(5){animation-delay:.16s}
.voice-main-trigger.is-listening .voice-tab-wave i:nth-child(6),.voice-main-trigger.is-speaking .voice-tab-wave i:nth-child(6){animation-delay:.08s}
@keyframes wave{to{transform:scaleY(.42)}}

.register-method{width:100%;max-width:100%;min-width:0;min-height:410px;padding:30px 26px!important;border:1px solid rgba(222,232,246,.9)!important;border-radius:34px!important;background:rgba(250,252,255,.91)!important;overflow:hidden;box-sizing:border-box}
.register-method-a{min-height:320px;padding:30px 26px!important;border:1px solid rgba(222,232,246,.9)!important;border-radius:34px!important;background:rgba(250,252,255,.91)!important}
#voiceStatus{margin:0 0 24px;text-align:center;color:#8c8c8c;font-size:22px;font-weight:700}
.voice-engine-button{display:none!important}
.voice-conversation{min-height:285px;max-height:340px;overflow:auto;padding:22px;border:0;border-radius:26px;background:transparent}
.voice-conversation-empty{padding:110px 10px;text-align:center;color:#b9b9b9;font-size:19px;font-weight:700}
.voice-dialog-row{display:flex;gap:10px;margin:11px 0;font-size:16px;line-height:1.55}
.voice-dialog-row strong{flex:0 0 76px;color:#8f9397;font-size:13px}
.voice-dialog-row span{padding:10px 13px;border-radius:16px;background:#fff;color:#4b5359}
.voice-dialog-row.is-ai span{background:#fff0f5;color:#6b5660}
.voice-dialog-row.is-user{justify-content:flex-end}
.voice-dialog-row.is-user strong{order:2;flex-basis:28px}

.quick-text-method{padding:26px 22px!important}
.quick-text-title{margin:0 0 20px;color:#545454;font-size:18px;font-weight:800}
.quick-text-row{display:block;margin:0}
.quick-text-row input{min-height:64px;border:4px solid #78b9ee;border-radius:28px;padding:0 20px;font-size:18px;background:#fff}
.quick-text-row input:focus{border-color:#78b9ee;box-shadow:none}
.quick-text-apply{width:100%;min-height:58px;margin-top:15px;border:2px solid #ff70a4;border-radius:28px;background:#fff;color:#ff70a4;font-size:18px;font-weight:800}
.text-preview{margin-top:16px;padding:18px 20px;border-radius:28px;background:#ededed;color:#999;font-size:16px;text-align:center}

.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}
.photo-actions button,.photo-actions label{min-height:100px;border:1px solid #e8e3e5;border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:center;gap:8px;color:#65788e;font-size:14px;font-weight:800}

/* 사진 등록 / 카메라 / 분석 결과 — 이 구역 한 곳에서만 관리 */
#photoMethod{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
.photo-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
  width:100%;
  margin-top:10px;
}
.photo-actions button,
.photo-actions label{
  width:100%;
  min-width:0;
  min-height:82px;
  box-sizing:border-box;
  border:1px solid #e8e3e5;
  border-radius:20px;
  background:rgba(255,255,255,.88);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#65788e;
  font-size:14px;
  font-weight:800;
  text-align:center;
  cursor:pointer;
}
.photo-actions .material-symbols-rounded{font-size:27px;color:#ff70a4}

/* 선택한 사진/PDF 미리보기 */
.photo-selected{
  position:relative;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:10px 0 12px;
  padding:10px;
  box-sizing:border-box;
  border:1px solid rgba(232,227,229,.9);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  overflow:hidden;
}
.photo-selected #photoPreviewImage{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:280px!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:10px;
  background:#fff;
}
.photo-selected>div{
  width:100%;
  min-width:0;
  max-width:100%;
  margin-top:7px;
  display:grid;
  gap:2px;
}
.photo-selected #photoFileName{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.photo-selected #photoFileMeta{color:#8a8f93;font-size:12px}

/* 사진 분석 결과 */
.photo-results{
  width:100%;
  max-width:100%;
  min-width:0;
  margin-top:12px;
  overflow:hidden;
}
.photo-results-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 10px;
}
.photo-results-head strong{min-width:0;color:#34414a;font-size:16px;font-weight:800}
.photo-results-head button{
  flex:0 0 auto;
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.95);
  border-radius:17px;
  background:rgba(255,255,255,.7);
  color:#5c666d;
  font-size:13px;
  font-weight:700;
}
#photoScheduleRows{
  width:100%;
  max-width:100%;
  min-width:0;
  display:grid;
  gap:9px;
}
.photo-schedule-row{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  contain:layout paint;
  padding:11px;
  border:1px solid rgba(255,255,255,.95);
  border-radius:18px;
  background:rgba(255,255,255,.64);
  overflow:hidden;
}
.photo-row-head{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
.photo-row-select{
  min-width:0;
  display:flex!important;
  grid-template-columns:none!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:7px!important;
  color:#44525b!important;
  font-size:14px!important;
  font-weight:800!important;
  cursor:pointer;
}
.photo-row-select input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;height:1px!important;
  min-width:1px!important;min-height:1px!important;
  margin:-1px!important;padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;border:0!important;
}
.photo-check-ui{
  width:25px;height:25px;flex:0 0 25px;
  display:grid;place-items:center;
  border:2px solid #f082ab;border-radius:8px;
  background:#fff;color:transparent;
  font-size:16px;font-weight:900;line-height:1;
}
.photo-row-select input[type="checkbox"]:checked + .photo-check-ui{
  background:#f06fa0;border-color:#f06fa0;color:#fff;
}
.photo-row-select strong{font-size:14px;color:#455159;white-space:nowrap}
.photo-row-head-right{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
.photo-confidence{
  min-width:0;
  color:#768087;
  font-size:10px;
  line-height:1.25;
  text-align:right;
}
.photo-row-remove{
  width:29px;min-width:29px;height:29px;min-height:29px;
  margin:0;padding:0;
  display:grid;place-items:center;
  border:1px solid #e2dddf;border-radius:9px;
  background:rgba(255,255,255,.88);
  color:#7b7779;font-size:18px;font-weight:400;line-height:1;
}
.photo-row-fields{
  width:100%;
  min-width:0;
  max-width:100%;
  display:grid;
  gap:6px;
}
.photo-row-fields input,
.photo-row-fields textarea,
.photo-row-fields select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0!important;
  border:1px solid #e7e1e3;
  background:rgba(255,255,255,.92);
  color:#333b40;
}
.photo-row-fields input{min-height:40px;padding:7px 9px;border-radius:13px}
.photo-row-fields textarea{min-height:54px;padding:8px 9px;border-radius:13px;resize:vertical}
.photo-row-date-time{
  width:100%;
  max-width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:6px;
}
.photo-datetime-box{
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:40px;
  margin:0!important;
  padding:0 9px;
  box-sizing:border-box;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:7px!important;
  border:1px solid #e7e1e3;
  border-radius:13px;
  background:rgba(255,255,255,.92);
  overflow:hidden;
}
.photo-datetime-box>span{
  color:#8a8f93;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.photo-datetime-box .photo-date-text,
.photo-datetime-box .photo-time-text{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#333b40;
  font-size:15px!important;
  line-height:1!important;
  text-align:right;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
}
.photo-results>.two-col{
  width:100%;
  max-width:100%;
  min-width:0;
  margin-top:10px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px;
}
.photo-results>.two-col>*{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.photo-results>.two-col label{min-width:0;overflow:hidden}
.photo-results>.two-col select{
  display:block;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.photo-results .save-button{width:100%;margin-top:9px}
#analyzePhoto{
  width:100%;
  min-height:48px;
  margin-top:10px;
  border:2px solid #ff70a4;
  border-radius:24px;
  background:#fff;
  color:#ff70a4;
  font-weight:800;
  padding:0 16px;
}

.alert-choice{padding:10px 0 2px}
.alert-choice>span{display:block;margin-bottom:7px;color:#666;font-size:12px;font-weight:800}
.choice-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.choice-chips button{min-height:38px;border:1px solid #e9e4e5;border-radius:11px;background:#faf9f9;color:#696d71;font-size:11px;font-weight:800}
.choice-chips button.active{border-color:#ee9eac;background:#fff0f3;color:#c85f72}

/* 빠른등록 중 세부폼 표시 제어 */
#quickRegisterArea:not([hidden]) + #scheduleForm{display:none!important}
.registration-panel:has(#textTab.active) #quickRegisterArea:not([hidden]) + #scheduleForm{display:grid!important}
#quickRegisterArea[hidden] + #scheduleForm{display:grid!important}

/* 빠른문구 상세 확인 */
.registration-panel:has(#textTab.active) #scheduleForm{
  margin-top:10px;padding:20px;border:1px solid rgba(220,232,246,.95);border-radius:26px;background:rgba(255,255,255,.96)
}
.registration-panel:has(#textTab.active) #scheduleForm>label:first-of-type input{min-height:62px;border:2px solid #dce5f7;border-radius:20px;font-size:18px}
.registration-panel:has(#textTab.active) #scheduleForm .two-col label{padding:14px;border:1px solid #e3e3e3;border-radius:22px;background:#fff}
.registration-panel:has(#textTab.active) #scheduleForm .two-col input{border:0;padding:0;font-weight:800;text-align:center}
.registration-panel:has(#textTab.active) .alert-choice{padding:15px;border:1px solid #dce5f7;border-radius:22px}
.registration-panel:has(#textTab.active) .save-button{width:100%;min-height:58px;margin-top:15px;border:2px solid #ff70a4;border-radius:28px;background:#fff;color:#ff70a4;font-size:18px;font-weight:800}

/* 알림 팝업 */
.alert-modal{display:flex;align-items:center;justify-content:center}
.alert-card{position:relative;width:min(100%,404px);max-height:min(86vh,630px);padding:18px;border:1px solid #e9e4e5;border-radius:24px;background:#f7f5f6;box-shadow:0 24px 70px rgba(45,40,42,.24);display:flex;flex-direction:column;gap:11px;overflow:hidden}
.alert-card>header{display:flex;align-items:center;gap:10px;padding-right:32px}
.alert-icon{width:38px;height:38px;border-radius:12px;background:#fff0f3;color:#d96f82;display:grid;place-items:center}
.alert-card h2,.alert-card h3,.alert-card p{margin:0}
.alert-card h2{font-size:16px}.alert-card header p{margin-top:2px;color:#92979b;font-size:11px}
.alert-focus,.alert-next{background:#fff;border:1px solid #ebe6e7;border-radius:16px}
.alert-focus{padding:14px}.alert-focus>strong{display:block;color:#c76274;font-size:12px}.alert-focus h3{margin-top:7px;font-size:17px}.alert-focus p{margin-top:5px;color:#92979b;font-size:12px}
.alert-next{min-height:0;padding:12px;display:flex;flex-direction:column}
.alert-next-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.today-alert-schedules{max-height:180px;min-height:0;overflow:auto}
.today-alert-row{display:grid;grid-template-columns:52px 1fr;gap:8px;padding:9px 2px;border-top:1px solid #f2eeee}
.today-alert-row time{color:#c96879;font-size:12px;font-weight:800}
.today-alert-row strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.today-alert-row small{display:block;margin-top:2px;color:#999;font-size:10px}
.alert-card footer{display:grid;grid-template-columns:1.15fr .85fr;gap:8px}
.alert-card footer button{min-height:44px;border-radius:12px;font-weight:800}
.alert-card footer button:first-child{border:0;background:var(--pink);color:#fff}
.alert-card footer button:last-child{border:1px solid #e7e1e3;background:#fff;color:#666}

/* JS 토스트 */
.schedule-save-notice{position:fixed;left:50%;bottom:24px;z-index:20000;transform:translate(-50%,20px);opacity:0;max-width:calc(100vw - 28px);padding:11px 15px;border-radius:12px;background:#333;color:#fff;font-size:12px;transition:.2s}
.schedule-save-notice.show{transform:translate(-50%,0);opacity:1}

/* 모바일: 사용자가 올린 실제 iPhone 화면 비율 */
@media(max-width:600px){
 .premium-plan-main{grid-template-columns:72px minmax(0,1fr);gap:10px}
 .premium-ticket-wrap{width:72px;height:62px}
 .premium-ticket-svg{width:68px;height:51px}
 .premium-plan.best .premium-ticket-svg{width:72px;height:54px}

  .registration-modal{padding:10px!important}
  .registration-panel{min-height:78vh;padding:28px 20px 24px!important;border-radius:34px!important}
  .registration-panel>.modal-head{height:52px}
  .registration-panel>.modal-head .modal-close{width:50px;height:50px;font-size:29px}
  .register-tabs{gap:14px;margin-bottom:28px!important}
  .register-tab{width:118px;height:118px}
  .register-tab.active{border-width:4px}
  .register-tab .material-symbols-rounded{font-size:52px}
  .quick-text-label{padding:7px 8px;border-width:3px;font-size:14px}
  .voice-tab-wave{height:62px;gap:6px}
  .voice-tab-wave i{width:8px;height:34px}
  .voice-tab-wave i:nth-child(2),.voice-tab-wave i:nth-child(6){height:46px}
  .voice-tab-wave i:nth-child(3),.voice-tab-wave i:nth-child(5){height:56px}
  .voice-tab-wave i:nth-child(4){height:66px}
  .register-method{min-height:365px;padding:24px 18px!important;border-radius:28px!important}
  .register-method-a{min-height:320px;padding:24px 18px!important;border-radius:28px!important}
  #voiceStatus{font-size:18px;margin-bottom:18px}
  .voice-conversation{min-height:260px;max-height:310px;padding:15px}
  .voice-conversation-empty{padding:100px 4px;font-size:16px}

  body.aidiary-main{padding:0 20px 30px}
  .app-header{height:112px}
  .brand img{height:68px}
  .menu-trigger{width:54px;height:54px}.menu-trigger img{width:42px;height:42px}
  .app-shell{gap:34px}
  .card{border-radius:48px}
  .schedule-card{padding:27px 28px 28px}
  .section-head{margin-bottom:22px}
  .section-head h1{font-size:26px;white-space:nowrap}
  .section-head>div:before{width:24px;height:24px;flex-basis:24px}
  .primary-button{min-width:184px;height:64px;font-size:21px}
  .schedule-list{padding:11px 31px;border-radius:52px}
  .schedule-list .schedule-item{min-height:66px}
  .schedule-list .schedule-summary{min-height:66px;grid-template-columns:112px minmax(0,1fr)!important;gap:9px!important}
  .schedule-list .schedule-summary .time{font-size:24px!important}
  .schedule-list .schedule-summary strong{font-size:23px!important}
  .calendar-card{padding:32px 22px 32px}
  .calendar-head{grid-template-columns:80px 1fr 112px}
  .today-button{width:61px;height:61px}.today-button .material-symbols-rounded{font-size:42px}
  .month-title-button{min-width:250px;height:64px;font-size:29px}
  .weekdays{font-size:20px}
  .calendar-grid .day{width:74px;height:74px;min-height:74px;font-size:21px}
  .calendar-grid>div{min-height:74px}
  .memo-card{padding:25px 26px}
  .memo-head strong{font-size:27px}
  .memo-item{min-height:76px}
  .modal,.alert-modal{padding:10px}
}
/* 일반적인 작은 모바일 폭에서는 비율만 축소 */
@media(max-width:430px){
  .user-menu{
    top:78px;
    right:4px;
    width:min(270px,calc(100vw - 8px));
    padding:10px;
    gap:7px;
  }
  .user-menu a{min-height:66px;font-size:14px}
  .user-menu .wide{min-height:60px;font-size:14px}

  .registration-panel{padding:22px 14px 20px!important;border-radius:28px!important}
  .registration-panel>.modal-head{height:46px}
  .registration-panel>.modal-head .modal-close{width:44px;height:44px;font-size:26px}
  .register-tabs{gap:9px;margin-bottom:22px!important}
  .register-tab{width:96px;height:96px}
  .register-tab .material-symbols-rounded{font-size:43px}
  .quick-text-label{padding:6px;border-width:3px;font-size:18px}
  .voice-tab-wave{height:52px;gap:5px}
  .voice-tab-wave i{width:6px;height:28px}
  .voice-tab-wave i:nth-child(2),.voice-tab-wave i:nth-child(6){height:38px}
  .voice-tab-wave i:nth-child(3),.voice-tab-wave i:nth-child(5){height:46px}
  .voice-tab-wave i:nth-child(4){height:54px}
  .register-method{min-height:330px;padding:20px 14px!important;border-radius:24px!important}

  .register-method-a{min-height:230px;padding:20px 14px!important;border-radius:24px!important}
  #voiceStatus{font-size:16px}
  .voice-conversation{min-height:230px}
  .voice-conversation-empty{padding:86px 2px;font-size:15px}

  body.aidiary-main{padding-left:10px;padding-right:10px}
  .app-header{height:82px}.brand img{height:48px}.menu-trigger{width:42px;height:42px}.menu-trigger img{width:34px;height:34px}
  .app-shell{gap:20px}.card{border-radius:30px}
  .schedule-card{padding:18px 15px}
  .section-head{margin-bottom:14px}.section-head h1{font-size:20px}.section-head>div:before{width:17px;height:17px;flex-basis:17px}
  .primary-button{min-width:118px;height:48px;padding:0 12px;font-size:15px}
  .schedule-list{padding:10px 18px;border-radius:34px}
  .schedule-list .schedule-item{min-height:52px}
  .schedule-list .schedule-summary{min-height:52px;grid-template-columns:72px minmax(0,1fr)!important;gap:6px!important;padding:0 2px!important}
  .schedule-list .schedule-summary .time{font-size:18px!important}
  .schedule-list .schedule-summary strong{font-size:17px!important}
  .schedule-list>.schedule-empty-state{min-height:205px;padding:35px 12px;gap:10px}
  .schedule-empty-state i{width:14px;height:14px}
  .schedule-empty-state strong{font-size:19px}
  .schedule-empty-state span{font-size:12px}
  .schedule-list .schedule-detail{padding-left:80px}
  .calendar-card{padding:21px 12px}
  .calendar-head{height:55px;grid-template-columns:55px 1fr 75px;margin-bottom:10px}
  .today-button{width:35px;height:35px}.today-button .material-symbols-rounded{font-size:27px}
  .month-title-button{min-width:155px;height:46px;padding:0 12px;font-size:20px}
  .calendar-weather-mini{width:82px;height:44px;gap:3px;padding:4px 6px;border-radius:30px}
  .calendar-weather-mini>span{font-size:22px;line-height:1}
  .calendar-weather-mini strong{font-size:15px;line-height:1}
  .calendar-weather-mini small{font-size:9px;line-height:1}
  .weekdays{font-size:14px}
  .weekdays,.calendar-grid{column-gap:5px}
  .calendar-grid{row-gap:8px}
  .calendar-grid>div{min-height:47px}
  .calendar-grid .day{width:47px!important;height:47px!important;min-width:47px!important;min-height:47px!important;font-size:16px}
  .calendar-grid .dots{bottom:3px!important}.calendar-grid .dots i{width:5px!important;height:5px!important}
  .memo-card{padding:17px 15px}.memo-head{margin-bottom:12px}.memo-head>div:before{width:39px;height:39px;border-radius:11px;font-size:20px}.memo-head strong{font-size:20px}.memo-head a{padding:8px 13px;font-size:12px}
  .memo-list{padding:0 14px;border-radius:23px}.memo-list>.empty{min-height:58px;padding:15px 10px;font-size:14px}.memo-item{min-height:58px;grid-template-columns:55px minmax(0,1fr) auto}.memo-item time{font-size:11px}.memo-item span{font-size:14px}


  /* 카메라/사진 — 작은 화면 크기만 조정 */
  .photo-actions button,.photo-actions label{min-height:72px;font-size:13px}
  .photo-selected #photoPreviewImage{max-height:210px!important}
  .photo-schedule-row{padding:10px}
  .photo-row-head{gap:6px}
  .photo-row-head-right{gap:4px}
  .photo-confidence{max-width:105px;font-size:9px}
  .photo-row-date-time{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px}
  .photo-datetime-box{padding:0 7px;gap:5px!important}
  .photo-datetime-box>span{font-size:10px}
  .photo-datetime-box .photo-date-text,.photo-datetime-box .photo-time-text{font-size:14px!important}
  .photo-results>.two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}

}


/* 서비스 안내 페이지 */
.service-page{min-height:100vh;padding:20px}
.service-hub{width:min(680px,100%);margin:0 auto;padding:22px;border:1px solid #fff;border-radius:30px;background:rgba(255,255,255,.18)}
.service-hub header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.service-hub h1{margin:0;color:#627078;font-size:26px}
.service-hub header>a{width:42px;height:42px;display:grid;place-items:center;border:1px solid #fff;border-radius:50%;color:#777;text-decoration:none;font-size:28px}
.service-hub nav{display:grid;gap:8px}
.service-hub nav a{min-height:56px;padding:0 18px;border-radius:16px;background:rgba(255,255,255,.86);display:flex;align-items:center;justify-content:space-between;color:#4b555b;text-decoration:none;font-weight:700}
.service-hub nav b{color:#ff70a4;font-size:24px}

/* 전용 일정 알림 — 이 구역 한 곳에서만 관리 */
html.alert-modal-open,html.alert-modal-open body{overflow:hidden!important}
.dedicated-alert-modal[hidden]{display:none!important}
.dedicated-alert-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:18px;
  box-sizing:border-box;
}
.dedicated-alert-backdrop{
  position:absolute;
  inset:0;
  background:rgba(53,45,49,.38);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.dedicated-alert-card{
  position:relative;
  z-index:1;
  width:min(430px,100%);
  max-height:min(760px,calc(100dvh - 30px));
  overflow:auto;
  box-sizing:border-box;
  padding:22px;
  border:1px solid rgba(255,255,255,.95);
  border-radius:32px;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.98),rgba(255,255,255,.72) 42%,rgba(255,240,246,.9) 100%);
  box-shadow:0 24px 70px rgba(74,60,66,.2);
}
.dedicated-alert-close{
  position:absolute;
  top:15px;
  right:15px;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(227,218,222,.9);
  border-radius:50%;
  background:rgba(255,255,255,.82);
  color:#7d7478;
  font-size:25px;
  line-height:1;
}
.dedicated-alert-brand{
  padding:8px 34px 16px;
  text-align:center;
}
.dedicated-alert-icon-wrap{
  width:82px;
  height:82px;
  margin:0 auto 11px;
  padding:9px;
  box-sizing:border-box;
  border:1px solid #d6dee1;
  border-radius:25px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 28px rgba(244,112,160,.13);
}
.dedicated-alert-icon-wrap img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.dedicated-alert-kicker{
  display:inline-flex;
  min-height:30px;
  padding:0 13px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.96);
  border-radius:15px;
  background:rgba(255,255,255,.66);
  color:#687780;
  font-size:12px;
  font-weight:800;
}
.dedicated-alert-brand h2{
  margin:10px 0 5px;
  color:#34424b;
  font-size:27px;
  line-height:1.2;
  letter-spacing:-.7px;
}
.dedicated-alert-brand p{
  margin:0;
  color:#8a9196;
  font-size:13px;
}
.dedicated-alert-main{
  display:grid;
  gap:10px;
}
.dedicated-alert-time{
  min-height:48px;
  padding:0 15px;
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid rgba(255,255,255,.96);
  border-radius:18px;
  background:rgba(255,255,255,.68);
  color:#57666f;
}
.dedicated-alert-time .material-symbols-rounded{
  color:#f06fa0;
  font-size:23px;
}
.dedicated-alert-time strong{
  min-width:0;
  font-size:14px;
}
.dedicated-alert-schedule{
  padding:18px;
  border:1px solid rgba(255,255,255,.96);
  border-radius:22px;
  background:rgba(255,255,255,.84);
}
.dedicated-alert-schedule>strong{
  display:block;
  color:#343e44;
  font-size:20px;
  line-height:1.35;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.dedicated-alert-schedule p{
  margin:8px 0 0;
  color:#778187;
  font-size:13px;
  line-height:1.5;
}
.dedicated-alert-schedule p::before{
  display:inline-block;
  margin-right:6px;
  color:#f06fa0;
  font-family:'Material Symbols Rounded';
  vertical-align:-2px;
}
#dedicatedAlertLocation::before{content:'location_on'}
#dedicatedAlertMemo::before{content:'notes'}
.dedicated-alert-today{
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.95);
  border-radius:20px;
  background:rgba(249,255,246,.88);
}
.dedicated-alert-today-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:7px;
  color:#607064;
  font-size:12px;
  font-weight:800;
}
.dedicated-alert-today-head strong{
  color:#f06fa0;
}
.dedicated-alert-today-list{
  display:grid;
  gap:6px;
}
.dedicated-alert-today-item{
  min-width:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:8px;
  align-items:center;
  color:#5b6561;
  font-size:12px;
}
.dedicated-alert-today-item time{
  color:#86908a;
  font-weight:700;
}
.dedicated-alert-today-item span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dedicated-alert-confirm{
  width:100%;
  min-height:52px;
  margin-top:13px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:0;
  border-radius:26px;
  background:#f06fa0;
  color:#fff;
  font-size:15px;
  font-weight:800;
  box-shadow:0 9px 22px rgba(240,111,160,.22);
}
.dedicated-alert-confirm .material-symbols-rounded{font-size:21px}

@media(max-width:430px){
  .dedicated-alert-modal{padding:12px}
  .dedicated-alert-card{
    width:100%;
    max-height:calc(100dvh - 24px);
    padding:18px;
    border-radius:28px;
  }
  .dedicated-alert-brand{padding:4px 28px 14px}
  .dedicated-alert-icon-wrap{width:72px;height:72px;border-radius:22px}
  .dedicated-alert-brand h2{font-size:24px}
  .dedicated-alert-schedule{padding:16px}
  .dedicated-alert-schedule>strong{font-size:18px}
}
/* 전용 일정 알림 끝 */

/* 내정보 · 오늘메모 · 서비스안내 공통 서브페이지 — 이 구역 한 곳에서만 관리 */
/*
  INDEX 기준:
  1) 페이지 배경 = var(--page) (#d9d9d9)
  2) 주요 영역 = index의 공통 .card 그대로 사용
     background:rgba(255,255,255,.14)
     border:1px solid rgba(255,255,255,.92)
  별도의 외부 폼/바탕층은 만들지 않습니다.
*/
.subpage-body{
  margin:0;
  min-height:100%;
  padding:0 20px 34px;
  box-sizing:border-box;
  background:var(--page);
  color:var(--ink);
}
.subpage-shell{
  width:min(100%,790px);
  margin:0 auto;
  padding:0;
  box-sizing:border-box;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.subpage-head{
  height:112px;
  margin:0;
  display:grid;
  grid-template-columns:54px minmax(0,1fr) 54px;
  align-items:center;
  gap:14px;
}
.subpage-back{
  width:54px;height:54px;display:grid;place-items:center;
  border:0;border-radius:0;background:transparent;
  color:#617078;text-decoration:none;
}
.subpage-back .material-symbols-rounded{font-size:37px;font-weight:600}
.subpage-head>div{min-width:0}
.subpage-eyebrow{display:none}
.subpage-head h1{
  margin:0;color:#747f85;font-size:27px;line-height:1.15;
  letter-spacing:-1px;font-weight:800;
}
.subpage-logo{width:48px;height:48px;object-fit:contain;justify-self:end}

/* 주요 카드: 표면은 .card가 담당하고 여기서는 배치만 관리 */
.myinfo-hero,.service-hero{
  margin:0 0 10px;
  padding:24px 27px;
  display:flex;
  align-items:center;
  gap:16px;
}
.myinfo-avatar,.service-hero-icon{
  flex:0 0 54px;width:54px;height:54px;
  display:grid;place-items:center;
  border:0;border-radius:18px;
  background:#fff;color:var(--pink);
}
.myinfo-avatar .material-symbols-rounded,.service-hero-icon .material-symbols-rounded{font-size:30px}
.myinfo-hero-copy,.service-hero>div:last-child{min-width:0}
.myinfo-hero strong,.service-hero strong{
  display:block;margin-bottom:4px;color:#4f5d64;
  font-size:20px;line-height:1.25;letter-spacing:-.5px;
}
.myinfo-hero p,.service-hero p{margin:0;color:#8e9599;font-size:13px;line-height:1.55}

.sub-card{
  margin:0 0 10px;
  padding:25px 27px;
}
.soft-card{background:rgba(255,255,255,.14)}
.sub-card-title{
  margin-bottom:16px;
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
}
.sub-card-kicker{display:none}
.sub-card-title h2{
  margin:0;color:#617078;font-size:24px;line-height:1.2;letter-spacing:-.7px;
}
.sub-card-icon{color:#7b878d;font-size:29px}

/* INDEX의 일정/메모 내부 흰 영역과 같은 역할 */
.myinfo-info-list,.service-feature-list,.memo-page-list{
  overflow:hidden;
  padding:4px 22px;
  border-radius:34px;
  background:rgba(255,255,255,.93);
}
.myinfo-info-list{display:grid}
.myinfo-info-row{
  min-width:0;min-height:68px;padding:8px 4px;
  display:grid;grid-template-columns:38px minmax(0,1fr);
  align-items:center;gap:10px;
  border:0;border-bottom:1px solid #e5e5e5;border-radius:0;background:transparent;
}
.myinfo-info-row:last-child{border-bottom:0}
.myinfo-info-row>.material-symbols-rounded{color:#6d7880;font-size:23px}
.myinfo-info-row div{min-width:0}
.myinfo-info-row small{display:block;margin-bottom:2px;color:#92989c;font-size:11px;font-weight:700}
.myinfo-info-row strong{
  display:block;overflow:hidden;color:#34434b;font-size:15px;
  text-overflow:ellipsis;white-space:nowrap;
}

.sub-action-button{
  min-height:50px;margin-top:14px;padding:0 17px;
  display:grid;grid-template-columns:24px minmax(0,1fr) 24px;align-items:center;gap:8px;
  border:1px solid #fff;border-radius:26px;text-decoration:none;
  font-size:14px;font-weight:800;
}
.sub-action-button.muted{background:transparent;color:#69757b}
.sub-action-button.primary{background:var(--pink);color:#fff;border-color:var(--pink)}
.sub-action-button .material-symbols-rounded{font-size:21px}
.sub-action-button .action-arrow{justify-self:end}

.myinfo-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.myinfo-quick-item{
  min-width:0;min-height:112px;padding:14px 16px;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  border:1px solid #fff;border-radius:28px;
  background:rgba(255,255,255,.14);
  color:#4a565d;text-decoration:none;box-sizing:border-box;
}
.myinfo-quick-item:nth-child(even){background:rgba(255,255,255,.14)}
.myinfo-quick-item .quick-icon{
  width:38px;height:38px;margin-bottom:8px;display:grid;place-items:center;
  border:0;border-radius:12px;background:#fff;color:var(--pink);
}
.myinfo-quick-item .quick-icon .material-symbols-rounded{font-size:22px}
.myinfo-quick-item strong{font-size:15px;color:#46535a}
.myinfo-quick-item small{margin-top:3px;color:#90979b;font-size:11px;line-height:1.4}
.sub-card-desc{margin:0;color:#7d878c;font-size:13px;line-height:1.6}

.service-feature-list{display:grid}
.service-feature{
  min-width:0;min-height:68px;padding:9px 3px;
  display:grid;grid-template-columns:38px minmax(0,1fr);
  gap:10px;align-items:center;
  border:0;border-bottom:1px solid #e5e5e5;border-radius:0;background:transparent;
}
.service-feature:last-child{border-bottom:0}
.service-feature:nth-child(even){background:transparent}
.service-feature>.material-symbols-rounded{
  width:36px;height:36px;display:grid;place-items:center;
  border:0;border-radius:11px;background:#fff;color:var(--pink);font-size:21px;
}
.service-feature div{min-width:0}
.service-feature strong{display:block;color:#3f4d55;font-size:14px}
.service-feature p{margin:2px 0 0;color:#8f969a;font-size:11px;line-height:1.45}

/* 오늘 메모 전용 내부 배치 */
.memo-page-card{
  margin:0 0 10px;
  padding:25px 27px;
}
.memo-page-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.memo-page-head>div{display:flex;align-items:center;gap:12px;min-width:0}
.memo-page-icon{
  width:42px;height:42px;display:grid;place-items:center;
  border-radius:12px;background:#fff;color:var(--pink);font-size:25px;
}
.memo-page-head strong{display:block;color:#617078;font-size:27px}
.memo-page-head small{display:block;color:#92989c;font-size:12px;font-weight:800}
.memo-page-head>a{
  padding:10px 16px;
  border:1px solid #fff;
  border-radius:24px;
  color:#69757b;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}
.memo-page-empty{
  min-height:84px;
  padding:18px 8px;
  display:flex;
  align-items:center;
  color:#5f666b;
  font-size:14px;
}
.memo-page-item{
  min-height:70px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:12px;
  align-items:center;
  border-bottom:1px solid #e5e5e5;
}
.memo-page-item:last-child{border-bottom:0}
.memo-page-item time{color:#92989c;font-size:12px;font-weight:800}
.memo-page-item p{margin:0;color:#465158;font-size:14px;line-height:1.5}
.memo-page-guide{padding-bottom:25px}

.subpage-footer{padding:10px 0 2px;color:#92989c;font-size:10px;text-align:center}

@media(max-width:680px){
  .subpage-body{padding:0 12px 24px}
  .subpage-head{
    height:82px;
    grid-template-columns:44px minmax(0,1fr) 44px;
    gap:8px;
  }
  .subpage-back{width:44px;height:44px}
  .subpage-back .material-symbols-rounded{font-size:30px}
  .subpage-head h1{font-size:21px}
  .subpage-logo{width:40px;height:40px}
  .myinfo-hero,.service-hero{padding:18px 20px;border-radius:28px}
  .sub-card,.memo-page-card{padding:19px 20px;border-radius:28px}
  .sub-card-title h2{font-size:20px}
  .myinfo-info-list,.service-feature-list,.memo-page-list{
    padding-left:16px;padding-right:16px;border-radius:25px;
  }
  .myinfo-quick-item{min-height:102px;padding:12px;border-radius:23px}
  .memo-page-head strong{font-size:21px}
}
@media(max-width:360px){
  .subpage-body{padding-left:10px;padding-right:10px}
  .myinfo-quick-grid{gap:7px}
}

/* 내정보 통합관리: 기본정보 · 나의명함 · 회원탈퇴 */
.myinfo-message{margin:0 0 10px;padding:13px 18px;border-radius:20px;font-size:13px;font-weight:800}
.myinfo-message.error{background:#fff;color:#b43d55}.myinfo-message.success{background:#fff;color:#497760}
.myinfo-edit-form{display:grid;gap:12px}
.myinfo-edit-form>label,.myinfo-form-grid>label,.mycard-options>label{display:grid;gap:6px;color:#69757b;font-size:12px;font-weight:800}
.myinfo-edit-form input,.myinfo-edit-form textarea{
 width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.95);border-radius:18px;
 background:rgba(255,255,255,.88);color:#34434b;font:inherit;font-size:14px;outline:0;padding:13px 15px
}
.myinfo-edit-form textarea{resize:vertical;min-height:86px}
.myinfo-edit-form input:focus,.myinfo-edit-form textarea:focus{border-color:var(--pink)}
.myinfo-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.myinfo-submit{width:100%;border:0;cursor:pointer}
.mycard-summary{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 18px;border-radius:28px;background:rgba(255,255,255,.93)}
.mycard-summary>img,.mycard-summary>.material-symbols-rounded{width:58px;height:58px;border-radius:18px;object-fit:cover}
.mycard-summary>.material-symbols-rounded{display:grid;place-items:center;background:#fff;color:var(--pink);font-size:31px}
.mycard-summary div{min-width:0}.mycard-summary strong{display:block;color:#46535a;font-size:16px}.mycard-summary p{margin:3px 0 0;color:#90979b;font-size:12px}
.mycard-summary>a{color:var(--pink-deep);font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.mycard-editor{margin-top:12px;border:1px solid #fff;border-radius:26px;background:rgba(255,255,255,.14);overflow:hidden}
.mycard-editor>summary{padding:15px 18px;display:flex;align-items:center;gap:8px;color:#5f6d74;font-size:14px;font-weight:800;cursor:pointer;list-style:none}
.mycard-editor>summary::-webkit-details-marker{display:none}.mycard-editor>form{padding:2px 18px 18px}
.mycard-options{display:grid;gap:9px;padding:15px;border-radius:22px;background:rgba(255,255,255,.48)}
.mycard-options>strong{color:#59666d;font-size:13px}.myinfo-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important}
.myinfo-check input{width:18px!important;height:18px!important;padding:0!important;accent-color:var(--pink)}
.mycard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.mycard-actions a{min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #fff;border-radius:24px;background:rgba(255,255,255,.14);color:#647178;text-decoration:none;font-size:13px;font-weight:800}
.account-delete-card{padding-top:0;padding-bottom:0}
.account-delete-main>summary{min-height:68px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;color:#8a626a;font-size:14px;font-weight:800}
.account-delete-main>summary::-webkit-details-marker{display:none}.account-delete-main>summary>span:first-child{display:flex;align-items:center;gap:8px}
.account-delete-body{padding:0 0 22px}.account-delete-body>p{margin:0 0 14px;color:#8f7a7f;font-size:12px;line-height:1.55}
.myinfo-danger-button{min-height:48px;border:1px solid #d78b9b;border-radius:24px;background:transparent;color:#b84d64;font-size:13px;font-weight:900;cursor:pointer}
@media(max-width:680px){.myinfo-form-grid{grid-template-columns:1fr}.mycard-summary{grid-template-columns:50px minmax(0,1fr) auto;padding:13px 14px}.mycard-summary>img,.mycard-summary>.material-symbols-rounded{width:50px;height:50px}.mycard-actions{grid-template-columns:1fr}}


/* 서비스 안내: 메인과 같은 2단 구조 */
.service-directory{margin:0;padding:32px 27px}
.service-directory-head{margin:0 0 22px}
.service-directory-head h2{margin:0;color:#49616a;font-size:27px;letter-spacing:-1px}
.service-directory-head p{margin:7px 0 0;color:#899499;font-size:13px;line-height:1.5}
.service-directory-list{display:grid;gap:10px}
.service-directory-list a{
 min-height:68px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;
 box-sizing:border-box;border:1px solid rgba(255,255,255,.95);border-radius:27px;
 background:rgba(255,255,255,.78);color:#506169;text-decoration:none;font-size:17px;font-weight:800
}
.service-directory-list a .material-symbols-rounded{color:#07849d;font-size:24px}
@media(max-width:680px){
 .service-directory{padding:25px 20px;border-radius:28px}
 .service-directory-head h2{font-size:24px}
 .service-directory-list a{min-height:58px;padding:0 16px;border-radius:23px;font-size:15px}
}


/* /main 로컬 이관: 약관·지원·명함보기·QR공유 */
.local-content-card,.qr-local-card{margin:0 0 10px;padding:28px 27px}
.local-content-card{color:#52636b;line-height:1.7}
.local-content-card h1,.local-content-card h2,.local-content-card h3{color:#49616a}
.local-content-card a{color:#07849d}
.local-content-card .legal-wrap,.local-content-card .policy,.local-content-card .page,.local-content-card main,.local-content-card section{max-width:none}
.local-business-card{overflow:hidden}
.qr-local-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.qr-local-title>.material-symbols-rounded{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#fff;color:var(--pink);font-size:28px}
.qr-local-title strong{display:block;color:#4c5d65;font-size:20px}.qr-local-title p{margin:3px 0 0;color:#899499;font-size:12px}
.qr-local-code{width:max-content;max-width:100%;margin:0 auto 22px;padding:18px;border-radius:28px;background:#fff}
.qr-local-code img,.qr-local-code canvas{display:block;max-width:100%;height:auto!important}
.qr-local-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.qr-local-actions button,.qr-local-actions a{min-height:50px;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #fff;border-radius:25px;background:rgba(255,255,255,.14);color:#627178;text-decoration:none;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
@media(max-width:680px){.local-content-card,.qr-local-card{padding:20px;border-radius:28px}.qr-local-actions{grid-template-columns:1fr}.qr-local-code{padding:14px}}


/* 오늘 메모: 화면 내 직접 작성 */
.memo-page-count{padding:8px 12px;border:1px solid #fff;border-radius:20px;color:#7b878d;font-size:12px;font-weight:800}
.memo-write-card{padding-bottom:25px}
.memo-inline-form{display:grid;gap:9px}
.memo-inline-form>label{color:#68767d;font-size:13px;font-weight:800}
.memo-inline-form textarea{
 width:100%;min-height:112px;padding:15px 16px;box-sizing:border-box;resize:vertical;
 border:1px solid rgba(255,255,255,.95);border-radius:24px;background:rgba(255,255,255,.88);
 color:#34434b;font:inherit;font-size:14px;line-height:1.55;outline:0
}
.memo-inline-form textarea:focus{border-color:var(--pink)}
.memo-inline-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.memo-inline-bottom small{color:#92989c;font-size:11px;line-height:1.45}
.memo-inline-bottom button{
 min-height:46px;padding:0 18px;display:flex;align-items:center;justify-content:center;gap:6px;
 border:0;border-radius:23px;background:var(--pink);color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer;white-space:nowrap
}
.memo-inline-bottom button .material-symbols-rounded{font-size:20px}
.memo-inline-message{margin:0 0 10px;padding:11px 14px;border-radius:18px;font-size:12px;font-weight:800}
.memo-inline-message.error{background:#fff;color:#b43d55}.memo-inline-message.success{background:#fff;color:#497760}
@media(max-width:680px){.memo-inline-bottom{align-items:stretch;flex-direction:column}.memo-inline-bottom button{width:100%}}


/* 명함 보기: /main 전용 카드형 화면 */
.public-card-page-main{padding-bottom:24px}
.public-card-shell{margin:0;padding:30px 28px}
.public-card-preview-note{margin:-4px 0 18px;padding:10px 13px;display:flex;align-items:center;gap:7px;border-radius:18px;background:rgba(255,255,255,.7);color:#8a6b75;font-size:12px;font-weight:800}
.public-card-preview-note .material-symbols-rounded{font-size:19px}
.public-card-hero{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:18px}
.public-card-avatar{width:82px;height:82px;border-radius:26px;overflow:hidden;background:#fff;display:grid;place-items:center}
.public-card-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.public-card-avatar>.material-symbols-rounded{font-size:43px;color:var(--pink)}
.public-card-person{min-width:0}
.public-card-person small{display:block;margin-bottom:5px;color:#879297;font-size:10px;font-weight:900;letter-spacing:.7px}
.public-card-person h2{margin:0;color:#455a63;font-size:28px;line-height:1.2;letter-spacing:-.8px}
.public-card-person p{margin:5px 0 0;color:#7f8b90;font-size:14px}
.public-card-intro{margin:20px 0 0;padding:17px 18px;border:1px solid #fff;border-radius:24px;background:rgba(255,255,255,.20);color:#65747b;font-size:13px;line-height:1.65}
.public-card-contact-list{margin-top:18px;overflow:hidden;border-radius:31px;background:rgba(255,255,255,.93)}
.public-card-contact-list>a,.public-card-contact-static{min-height:68px;padding:8px 18px;display:grid;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:10px;box-sizing:border-box;border-bottom:1px solid #e7e7e7;color:#495a62;text-decoration:none}
.public-card-contact-list>a:last-child,.public-card-contact-static:last-child{border-bottom:0}
.public-card-contact-list>a>.material-symbols-rounded:first-child,.public-card-contact-static>.material-symbols-rounded{color:var(--pink);font-size:23px}
.public-card-contact-list div{min-width:0}.public-card-contact-list small{display:block;color:#92999d;font-size:10px;font-weight:800}.public-card-contact-list strong{display:block;overflow:hidden;margin-top:2px;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.public-card-contact-list .arrow{color:#9ba2a6;font-size:20px}
.public-card-contact-static{grid-template-columns:38px minmax(0,1fr)}
.public-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px}
.public-card-actions a,.public-card-actions button{min-height:50px;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #fff;border-radius:25px;background:rgba(255,255,255,.18);color:#607078;text-decoration:none;font:inherit;font-size:12px;font-weight:900;cursor:pointer}
.public-card-actions .material-symbols-rounded{font-size:20px}
.public-card-brand{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:7px;color:#8c9599;font-size:11px;font-weight:800}
.public-card-brand img{width:24px;height:24px}
.public-card-empty{text-align:center}.public-card-empty>span{font-size:48px;color:#8f999e}.public-card-empty h2{color:#53666f}.public-card-empty p{color:#899499}
.public-card-main-action{display:inline-flex;margin-top:12px;padding:12px 18px;border-radius:22px;background:var(--pink);color:#fff;text-decoration:none;font-size:13px;font-weight:900}

/* 서비스 안내/약관 뒤로가기: 상단 버튼 하나만 사용 */
.local-legal-body .legal-back{display:none!important}
.local-legal-body .public-footer{display:none!important}

@media(max-width:680px){
 .public-card-shell{padding:22px 20px;border-radius:28px}
 .public-card-hero{grid-template-columns:68px minmax(0,1fr);gap:14px}
 .public-card-avatar{width:68px;height:68px;border-radius:22px}
 .public-card-person h2{font-size:23px}
 .public-card-actions{grid-template-columns:1fr}
}


/* 서비스 안내 상세 상단: 아이콘/제목 겹침 방지 */
.service-detail-head{display:grid;grid-template-columns:48px minmax(0,1fr) 52px;align-items:center;gap:12px}
.service-detail-head .subpage-back{position:static!important;left:auto!important;top:auto!important;transform:none!important;width:44px;height:44px;display:grid;place-items:center}
.service-detail-head .subpage-back .material-symbols-rounded{display:block;font-family:'Material Symbols Rounded';font-size:27px;line-height:1}
.service-detail-head-title{min-width:0}
.service-detail-head-title .subpage-eyebrow{margin:0 0 2px}
.service-detail-head-title h1{margin:0!important;font-size:21px!important;line-height:1.2!important;white-space:nowrap}
.service-detail-head .subpage-logo{position:static!important;right:auto!important;top:auto!important;transform:none!important;justify-self:end}
@media(max-width:680px){
 .service-detail-head{grid-template-columns:44px minmax(0,1fr) 46px;gap:8px}
 .service-detail-head .subpage-back{width:40px;height:40px}
 .service-detail-head-title h1{font-size:19px!important}
}


/* 모바일 입력 확대 방지 */
@media (max-width: 900px){
 input,
 textarea,
 select,
 button{
   font-size:16px;
 }
 input[type="date"],
 input[type="time"],
 input[type="datetime-local"],
 input[type="month"],
 input[type="week"]{
   font-size:16px;
 }
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{-webkit-touch-callout:none}

/* 공통 서브페이지 끝 */


/* =========================================================
   내정보 · 명함 QR · 차량 QR — /main 단일 관리 (v28)
   기존 dadao 명함/차량 기능을 현재 main.css 안으로 통합
========================================================= */
.mycard-actions-three{grid-template-columns:repeat(3,minmax(0,1fr))}

/* QR은 명함용/차량용을 각각 독립 페이지로 표시 */
.qr-single-page{min-height:100vh;min-height:100dvh;padding-bottom:34px;background:var(--page)}
.qr-single-card{padding:24px;text-align:center}
.qr-single-head{display:flex;align-items:center;gap:12px;text-align:left;margin-bottom:18px}
.qr-single-head>.material-symbols-rounded{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(255,255,255,.8);color:#617078;font-size:27px}
.qr-single-head div{min-width:0}
.qr-single-head strong{display:block;color:#566873;font-size:20px}
.qr-single-head p{margin:4px 0 0;color:#8b9499;font-size:12px}
.qr-single-code{display:grid;place-items:center;width:min(280px,100%);min-height:250px;margin:0 auto 14px;padding:15px;box-sizing:border-box;border-radius:24px;background:#fff}
.qr-single-code canvas{display:block!important;max-width:220px!important;width:100%!important;height:auto!important;margin:auto!important}
.qr-single-code img{max-width:220px!important;width:100%!important;height:auto!important;margin:auto!important}
.qr-single-code canvas~img{display:none!important}
.qr-destination{margin:0 0 15px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.55);text-align:left}
.qr-destination small{display:block;margin-bottom:5px;color:#8b9499;font-size:10px;font-weight:800}
.qr-destination a{display:block;overflow-wrap:anywhere;color:#58717d;font-size:11px;line-height:1.45;text-decoration:none}
.qr-single-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.qr-single-actions a,.qr-single-actions button,.qr-settings-button{box-sizing:border-box;min-height:48px;border:1px solid rgba(255,255,255,.95);border-radius:16px;background:rgba(255,255,255,.7);color:#617078;text-decoration:none;font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center;gap:6px}
.qr-single-actions button{font-family:inherit;cursor:pointer}
.qr-status-warning{display:flex;align-items:flex-start;gap:10px;margin:0 0 16px;padding:15px;border-radius:16px;background:rgba(255,245,224,.92);color:#756752;text-align:left}
.qr-status-warning .material-symbols-rounded{font-size:21px}
.qr-status-warning p{margin:0;font-size:12px;line-height:1.55}
.qr-settings-button{width:100%}
.qr-local-error{padding:24px 10px;color:#7b8387;font-size:13px;line-height:1.55;text-align:center}

/* =========================================================
   내정보 연결 카테고리 — /main 정리본 (v32)
   내정보의 명함·QR·서비스·데이터 구분은 이 구역에서만 관리
========================================================= */
.myinfo-section-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:18px 2px 8px;padding-top:14px;border-top:1px solid rgba(255,255,255,.72)}
.myinfo-section-label strong{color:#5f6d74;font-size:13px}
.myinfo-section-label span{color:#929a9e;font-size:10px}
.myinfo-qr-label{margin-top:16px}
.mycard-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:0}
.mycard-category-grid a{position:relative;z-index:1;display:grid;min-width:0;min-height:88px;box-sizing:border-box;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-content:center;align-items:center;padding:13px 14px;border:1px solid rgba(255,255,255,.95);border-radius:18px;background:rgba(255,255,255,.55);color:#63727a;text-align:left;text-decoration:none}
.mycard-category-grid a>.material-symbols-rounded{grid-row:1/3;display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:rgba(255,255,255,.82);color:var(--pink);font-size:24px}
.mycard-category-grid strong{align-self:end;font-size:13px;color:#596970}
.mycard-category-grid small{align-self:start;margin-top:2px;color:#929a9e;font-size:10px;line-height:1.35}
.mycard-qr-grid a:first-child{background:rgba(255,255,255,.62)}
.mycard-qr-grid a:last-child{background:rgba(255,255,255,.48)}
.connected-service-card{margin-top:12px}
.connected-service-desc{margin:0 0 12px;color:#7f898e;font-size:12px;line-height:1.55}
.connected-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.connected-status-row>div{min-width:0}
.connected-status-row strong{display:block;font-size:17px;color:#5f6e75}
.connected-status-row p{margin:4px 0 0;color:#899398;font-size:11px}
.connected-status-row>a{flex:0 0 auto;min-height:42px;padding:0 14px;border-radius:14px;background:rgba(255,255,255,.72);color:#60737c;text-decoration:none;font-size:12px;font-weight:850;display:flex;align-items:center}
.data-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.data-tool-grid button{min-height:54px;padding:9px;border:1px solid rgba(255,255,255,.95);border-radius:16px;background:rgba(255,255,255,.62);color:#65757d;font-family:inherit;font-size:11px;font-weight:850;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.data-tool-grid .material-symbols-rounded{font-size:22px}
.backup-restore-form{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.7)}
.backup-restore-form label{display:block;color:#68777e;font-size:12px;font-weight:800}
.backup-restore-form input[type=file]{display:block;box-sizing:border-box;width:100%;margin-top:7px;padding:10px;border:1px solid rgba(255,255,255,.9);border-radius:14px;background:rgba(255,255,255,.62);font-size:16px}
.backup-restore-form button{width:100%;min-height:46px;margin-top:9px;border:0;border-radius:15px;background:rgba(255,255,255,.82);color:#5f7179;font-family:inherit;font-weight:850}
.data-tool-status{min-height:20px;margin-top:9px;color:#728188;font-size:11px;line-height:1.45}
@media(max-width:430px){
  .mycard-category-grid{grid-template-columns:1fr}
  .mycard-category-grid a{min-height:76px}
  .myinfo-section-label{align-items:flex-start;flex-direction:column;gap:2px}
  .data-tool-grid{grid-template-columns:1fr}
  .data-tool-grid button{min-height:48px;flex-direction:row}
}

/* 디지털 명함 수정/스캔/공유 — 현재 내정보 화면과 통일 (v50) */
.card-edit-page{min-height:100vh;min-height:100dvh;margin:0;background:var(--page)!important;color:var(--ink)}\n.card-edit-shell{padding-bottom:34px}
.card-edit-main-head{margin-bottom:12px}
.card-edit-modern{display:grid;gap:12px}
.card-edit-modern>.card{margin:0}
.card-edit-profile-card,.card-edit-info-card,.card-edit-privacy-card,.card-edit-vehicle-card{
  box-sizing:border-box;padding:22px;border:1px solid rgba(255,255,255,.95);
  border-radius:30px;background:rgba(255,255,255,.52)
}
.card-edit-profile-row{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:15px;margin-top:13px}
.card-edit-photo-preview{
  width:76px;height:76px;display:grid;place-items:center;overflow:hidden;border:1px solid #fff;border-radius:25px;
  background:rgba(255,255,255,.72);color:#829097
}
.card-edit-photo-preview img{width:100%;height:100%;object-fit:cover}
.card-edit-photo-preview .material-symbols-rounded{font-size:38px}
.card-edit-photo-copy{min-width:0}.card-edit-photo-copy strong{display:block;color:#53656d;font-size:16px}
.card-edit-photo-copy p{margin:4px 0 9px;color:#8a959a;font-size:11px}
.card-edit-file-button{
  width:max-content!important;min-height:36px!important;margin:0!important;padding:0 12px!important;display:inline-flex!important;
  align-items:center;gap:6px;border:1px solid #fff;border-radius:13px;background:rgba(255,255,255,.68);
  color:#65777e!important;font-size:11px!important;font-weight:850!important;cursor:pointer
}
.card-edit-file-button .material-symbols-rounded{font-size:17px}
.card-edit-remove-photo{display:flex!important;align-items:center!important;gap:8px!important;margin:13px 0 0!important;color:#8a7178!important}
.card-edit-remove-photo input{width:17px!important;height:17px!important;margin:0!important}
.card-edit-section-desc{margin:3px 0 13px;color:#8a959a;font-size:11px;line-height:1.55}
.digital-card-form label{display:block;margin:12px 0;color:#68777e;font-size:12px;font-weight:800}
.digital-card-form input:not([type="checkbox"]),.digital-card-form textarea{
  display:block;box-sizing:border-box;width:100%;margin-top:7px;padding:12px 13px;border:1px solid #d6dee1;
  border-radius:15px;background:#f7f9fa;color:#4f6068;font:inherit;font-size:16px;outline:none
}
.digital-card-form input:not([type="checkbox"]){min-height:49px}
.digital-card-form textarea{min-height:88px;resize:vertical}
.card-edit-modern input:not([type="checkbox"]):focus,.card-edit-modern textarea:focus{border-color:#9fb1b7;background:#fff;box-shadow:0 0 0 3px rgba(112,137,145,.08)}
.card-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 11px}
.card-edit-toggle-list{display:grid;gap:8px;margin-top:12px}
.card-edit-toggle-list>label{
  min-height:58px;margin:0!important;padding:10px 12px!important;display:flex!important;align-items:center!important;justify-content:space-between;
  gap:12px;border:1px solid rgba(255,255,255,.95);border-radius:18px;background:rgba(255,255,255,.48)
}
.card-edit-toggle-list>label>span{min-width:0}.card-edit-toggle-list strong{display:block;color:#5e6f76;font-size:12px}
.card-edit-toggle-list small{display:block;margin-top:2px;color:#929ba0;font-size:10px;font-weight:600;line-height:1.35}
.card-edit-toggle-list input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:26px!important;min-height:26px!important;max-height:26px!important;flex:0 0 44px;margin:0!important;padding:3px!important;
  border:0!important;border-radius:999px!important;background:#c7cdcf!important;position:relative;cursor:pointer
}
.card-edit-toggle-list input[type="checkbox"]::after{
  content:"";display:block;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.12);
  transition:transform .16s ease
}
.card-edit-toggle-list input[type="checkbox"]:checked{background:#758f83!important}
.card-edit-toggle-list input[type="checkbox"]:checked::after{transform:translateX(18px)}
.card-edit-main-toggle{background:rgba(255,255,255,.72)!important}
.card-edit-vehicle-note{
  display:flex;align-items:flex-start;gap:8px;margin-top:12px;padding:11px 12px;border-radius:15px;background:rgba(255,255,255,.40);
  color:#7b898f;font-size:10px;line-height:1.5
}
.card-edit-vehicle-note .material-symbols-rounded{font-size:18px;color:#72877e}
.card-edit-save-wrap{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:9px;margin-top:1px}
.digital-card-save,.card-edit-save-wrap>a{
  min-height:54px;display:flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;border:1px solid rgba(255,255,255,.95);
  border-radius:18px;font-family:inherit;font-size:13px;font-weight:900;text-decoration:none
}
.digital-card-save{border:0;background:#627e72;color:#fff}
.digital-card-save .material-symbols-rounded,.card-edit-save-wrap>a .material-symbols-rounded{font-size:19px}
.card-edit-save-wrap>a{background:rgba(255,255,255,.55);color:#65767d}
.card-scan-panel,.card-share-panel{
  box-sizing:border-box;padding:20px;border:1px solid rgba(255,255,255,.9);border-radius:28px;background:rgba(255,255,255,.16)
}
.card-section-heading{margin-bottom:14px}.card-section-heading>span,.card-v2-kicker{color:#8c969a;font-size:10px;font-weight:900;letter-spacing:1.2px}
.card-section-heading h2,.card-scan-panel h2,.card-share-panel h2{margin:4px 0 5px;color:#5d6c73;font-size:20px}
.card-section-heading p,.card-scan-panel p,.card-share-panel p{margin:0;color:#899398;font-size:11px;line-height:1.5}
.card-scan-button{display:flex;min-height:54px;align-items:center;justify-content:center;margin-top:15px;border-radius:16px;background:rgba(255,255,255,.78);color:#60727a;font-weight:900;cursor:pointer}
.tool-status{min-height:20px;margin-top:10px;color:#718087;font-size:12px}
.original-card-preview{margin-top:14px;text-align:center}.original-card-preview img{display:block;max-width:100%;max-height:320px;margin:auto;border-radius:16px}
.original-card-preview small{display:block;margin-top:6px;color:#8d979b;font-size:10px}
.card-share-url{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:8px;margin-top:14px}
.card-share-url input,.card-share-url button{box-sizing:border-box;min-height:46px;border:1px solid rgba(255,255,255,.95);border-radius:14px;background:rgba(255,255,255,.68);color:#60727a}
.card-share-url input{min-width:0;padding:0 10px;font-size:11px}
.card-share-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}
.card-share-actions a,.card-share-actions button{display:flex;min-height:48px;align-items:center;justify-content:center;box-sizing:border-box;padding:8px;border:0;border-radius:14px;background:rgba(255,255,255,.74);color:#61737b;text-decoration:none;font-family:inherit;font-size:11px;font-weight:850;text-align:center}
@media(max-width:560px){
 .card-edit-profile-card,.card-edit-info-card,.card-edit-privacy-card,.card-edit-vehicle-card{padding:18px 16px;border-radius:27px}
 .card-form-grid{grid-template-columns:1fr;gap:0}
 .card-edit-save-wrap{grid-template-columns:1fr}
 .card-edit-save-wrap>a{min-height:50px}
 .card-share-actions{grid-template-columns:1fr}
}


/* 소통하기 */
.communication-head,.premium-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.communication-head h1,.premium-head h1{margin:0;color:#5c6b73;font-size:24px}.communication-head p,.premium-head p{margin:4px 0 0;color:#899398;font-size:11px}.communication-card{margin:12px 0;padding:18px;border:1px solid rgba(255,255,255,.9);border-radius:26px;background:rgba(255,255,255,.16)}.communication-card-title,.communication-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.communication-card-title b,.communication-list-head b{color:#5d6c73}.communication-card-title small,.communication-list-head small{display:block;color:#8c969b;font-size:10px}.communication-form label{display:block;margin:12px 0;color:#68777e;font-size:12px;font-weight:800}.communication-form input,.communication-form select,.communication-form textarea{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:12px;border:1px solid rgba(255,255,255,.95);border-radius:14px;background:rgba(255,255,255,.68);font-size:16px}.communication-form button{width:100%;min-height:48px;border:0;border-radius:15px;background:rgba(255,255,255,.82);color:#5d7078;font-weight:900}.communication-alert{margin:10px 0;padding:12px;border-radius:14px}.communication-list{display:grid;gap:8px;margin-top:12px}.communication-item{padding:12px;border-radius:16px;background:rgba(255,255,255,.46)}.communication-item summary{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;cursor:pointer}.communication-item summary strong,.communication-item summary small{display:block}.communication-item summary small{margin-top:4px;color:#90999d;font-size:10px}.communication-category{font-size:10px;color:#789098}.communication-body{padding-top:12px}.communication-body p{margin:5px 0;color:#67787f;font-size:12px;line-height:1.6}.communication-reply{margin-top:10px;padding:12px;border-radius:14px;background:rgba(255,255,255,.62)}

/* 이용권 */
.premium-page{width:min(620px,100%);margin:0 auto;padding-bottom:34px}.premium-current,.access-extension-card,.premium-plans,.payment-prep-note,.premium-orders,.premium-expired-gate{margin:12px 0;padding:18px;border:1px solid rgba(255,255,255,.9);border-radius:26px;background:rgba(255,255,255,.16)}.premium-current{display:flex;align-items:center;justify-content:space-between}.premium-current small,.premium-current span{display:block;color:#8a959a;font-size:10px}.premium-current strong{display:block;margin:4px 0;color:#5c6d74;font-size:20px}.premium-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.premium-section-title h2{margin:0;color:#5c6d74;font-size:18px}.premium-section-title span{color:#8a959a;font-size:10px}.extension-request-form label{display:block;margin:11px 0;color:#69787f;font-size:12px;font-weight:800}.extension-request-form select,.extension-request-form textarea{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:11px;border:1px solid rgba(255,255,255,.95);border-radius:14px;background:rgba(255,255,255,.68);font-size:16px}.extension-request-form button{width:100%;min-height:46px;border:0;border-radius:14px;background:rgba(255,255,255,.82);color:#60727a;font-weight:900}.premium-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.premium-plan{position:relative;padding:15px 14px;border:1px solid rgba(255,255,255,.95);border-radius:18px;background:rgba(255,255,255,.5);text-align:center}.premium-plan em{position:absolute;top:7px;right:7px;font-size:9px}.premium-plan-main{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:12px;text-align:left}
.premium-ticket-wrap{display:grid;width:78px;height:66px;place-items:center}
.premium-ticket-svg{display:block;width:72px;height:54px;object-fit:contain;margin:0}
.premium-plan.best .premium-ticket-svg{width:76px;height:57px}
.premium-plan-copy{min-width:0}
.premium-plan-copy strong{font-size:15px}
.premium-plan-copy .premium-price{margin:5px 0 2px;font-size:21px}
.premium-plan-copy p{margin:0}
.premium-plan form{margin-top:12px}.premium-plan strong{display:block;color:#617179}.premium-price{margin:10px 0;color:#566a73;font-size:22px;font-weight:900}.premium-price small{font-size:11px}.premium-plan p{font-size:11px;color:#899398}.premium-plan button{width:100%;min-height:40px;border:0;border-radius:12px;background:rgba(255,255,255,.82);color:#61737b;font-weight:850}.premium-order-list{display:grid;gap:8px;margin-top:12px}.premium-order-list article{display:flex;justify-content:space-between;gap:10px;padding:12px;border-radius:15px;background:rgba(255,255,255,.45)}.premium-order-list small{display:block;color:#8c969a;font-size:9px}.premium-order-side{text-align:right}.premium-order-cancel{margin-top:4px}

@media(max-width:600px){
 .mycard-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .data-tool-grid{grid-template-columns:1fr}
 .card-form-grid{grid-template-columns:1fr}
 .card-share-actions{grid-template-columns:1fr}
 .premium-plan-grid{grid-template-columns:1fr}
 .connected-status-row{align-items:flex-start;flex-direction:column}.connected-status-row>a{width:100%;box-sizing:border-box;justify-content:center}
}

/* =========================================================
   dadao 공개명함·차량화면 핵심 스타일 통합 (v31)
   원본 card.css / vehicle-card-fix.css에서 사용자 공개화면에 필요한 부분만 가져옴
========================================================= */

/* 내 명함 상단 — index.php 구조에 맞춘 단일 상단 */
.card-index-header{
  box-sizing:border-box;width:min(calc(100% - 28px),790px);height:112px;
  margin:0 auto;display:flex;align-items:center;justify-content:space-between;
}
.card-index-brand{display:block;text-decoration:none}
.card-index-brand img{display:block;width:auto;height:68px}
.card-index-close{
  display:grid;width:54px;height:54px;place-items:center;padding:0;
  border:0;border-radius:0;background:transparent;color:#66757c;text-decoration:none;
}
.card-index-close .material-symbols-rounded{font-size:37px;font-weight:300}
@media(max-width:600px){
 .card-index-header{width:calc(100% - 28px);height:94px}
 .card-index-brand img{height:56px}
 .card-index-close{width:48px;height:48px}
 .card-index-close .material-symbols-rounded{font-size:34px}
}

/* 관리자 확장명함 자료 표시 — 통합 디지털명함 프레임 (v42) */
.digital-card-frame{
  box-sizing:border-box;width:min(560px,calc(100% - 24px));margin:0 auto 34px;padding:10px;
  border:1px solid rgba(255,255,255,.96);border-radius:36px;
  background:rgba(255,255,255,.18);
}
.digital-card-frame-single{padding-top:10px}
body.public-card-page .ext-card-nav{
  position:sticky;top:0;z-index:90;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  width:100%;margin:0;padding:0 0 10px;gap:7px;
  border:0;border-bottom:1px solid rgba(255,255,255,.78);
  background:transparent;
}
body.public-card-page .ext-card-nav button{
  box-sizing:border-box;width:100%;height:72px;min-width:0;padding:7px 3px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  border:1px solid #fff;border-radius:19px;background:transparent;color:#718087;
  font-family:inherit;font-size:11px;font-weight:800;
}
body.public-card-page .ext-card-nav button .material-symbols-rounded{font-size:22px}
body.public-card-page .ext-card-nav button strong{font-size:11px;white-space:nowrap}
body.public-card-page .ext-card-nav button.active{
  border-color:#fff;background:#fff;color:#4d6872;
  box-shadow:0 7px 18px rgba(44,62,69,.08);
}
.digital-card-stage{padding-top:10px}
body.public-card-page .ext-card-panel{display:none;box-sizing:border-box;width:100%;margin:0;padding:0}
body.public-card-page .ext-card-panel.active{display:block}
body.public-card-page .ext-card-sheet{
  box-sizing:border-box;min-height:430px;padding:24px 22px;
  border:0;border-radius:28px;background:rgba(255,255,255,.60);
}
.ext-panel-title{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.ext-panel-title>.material-symbols-rounded{
  display:grid;width:44px;height:44px;place-items:center;border-radius:14px;
  background:#fff;color:#60757e;font-size:24px;
}
.ext-panel-title>div{min-width:0}
.ext-panel-title h2{margin:0;color:#4f626a;font-size:22px;letter-spacing:-.5px}
.ext-panel-title p{margin:4px 0 0;color:#92999d;font-size:11px;line-height:1.4}

body.public-card-page .ext-profile-head{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:22px;margin:8px 0 22px}
body.public-card-page .ext-profile-photo{
  width:112px;height:142px;overflow:hidden;border:1px solid rgba(255,255,255,.96);
  border-radius:25px;background:#edf2f3;display:grid;place-items:center;color:#809198;
}
body.public-card-page .ext-profile-photo img{display:block;width:100%;height:100%;object-fit:cover}
body.public-card-page .ext-profile-photo>.material-symbols-rounded{font-size:48px}
body.public-card-page .ext-profile-person{min-width:0}
body.public-card-page .ext-profile-name{color:#314a53;font-size:28px;font-weight:900;letter-spacing:-1px}
body.public-card-page .ext-profile-sub{margin-top:5px;color:#78888e;font-size:14px}
body.public-card-page .ext-profile-desc{
  padding:18px 4px 2px;border-top:1px solid rgba(255,255,255,.95);
  color:#5e737b;font-size:14px;line-height:1.8;white-space:pre-wrap;
}

body.public-card-page .ext-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.public-card-page .ext-activity-item{overflow:hidden;border:1px solid rgba(255,255,255,.96);border-radius:20px;background:rgba(255,255,255,.68)}
body.public-card-page .ext-activity-open{display:block;width:100%;padding:0;border:0;background:transparent}
body.public-card-page .ext-activity-item img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
body.public-card-page .ext-activity-item p{margin:0;padding:10px 11px;color:#6f7e84;font-size:11px;line-height:1.45}

body.public-card-page .ext-qa-item{border-bottom:1px solid rgba(255,255,255,.92)}
body.public-card-page .ext-qa-item:last-child{border-bottom:0}
body.public-card-page .ext-qa-q{
  width:100%;min-height:62px;padding:12px 2px;
  display:grid;grid-template-columns:30px minmax(0,1fr) 28px;align-items:center;gap:7px;
  border:0;background:transparent;color:#53666e;text-align:left;font-family:inherit;font-size:14px;font-weight:850;
}
body.public-card-page .ext-qa-q>span:first-child{
  display:grid;width:28px;height:28px;place-items:center;border-radius:9px;background:#fff;color:#59727b;font-size:12px
}
body.public-card-page .ext-qa-q>.material-symbols-rounded{font-size:22px;color:#8b979c}
body.public-card-page .ext-qa-a{
  display:none;padding:0 4px 17px 37px;color:#75858b;font-size:13px;line-height:1.7;
}
body.public-card-page .ext-qa-a strong{float:left;margin-right:7px;color:#58717a}
body.public-card-page .ext-qa-a p{margin:0}
body.public-card-page .ext-qa-item.open .ext-qa-a{display:block}
body.public-card-page .ext-empty{padding:48px 10px;color:#90999d;font-size:12px;text-align:center}

body.public-card-page .public-business-card{
  box-sizing:border-box;width:100%;margin:0;padding:26px 24px 22px;
  border:0;border-radius:28px;background:#fff;box-shadow:none;
}
body.public-card-page .public-card-top{grid-template-columns:96px minmax(0,1fr);gap:18px}
body.public-card-page .public-card-photo{width:96px;height:112px;border-radius:25px;background:#f1f4f5}
body.public-card-page .public-card-photo>.material-symbols-rounded{font-size:42px;color:#829198}
body.public-card-page .public-card-name>span{color:#6e8495;letter-spacing:2px}
body.public-card-page .public-card-name h1{margin:5px 0 4px;color:#243945;font-size:30px;letter-spacing:-1px}
body.public-card-page .public-card-name p{color:#70818b;font-size:14px}
body.public-card-page .public-card-intro{
  margin:20px 0 0;padding:14px 16px;border-radius:17px;background:#f6f8f9;color:#61727a;font-size:13px;line-height:1.65
}
body.public-card-page .public-card-contact{gap:10px;margin-top:20px}
body.public-card-page .public-card-contact a,
body.public-card-page .public-card-contact-row{
  grid-template-columns:48px minmax(0,1fr);gap:11px;min-height:66px;padding:8px 11px;
  border-radius:18px;background:#f6f8f9;color:#263449
}
body.public-card-page .public-card-contact>a>span,
body.public-card-page .public-card-contact-row>span{
  display:grid;width:48px;height:48px;place-items:center;border-radius:15px;background:#edf2f4;color:#607b84;font-size:25px
}
body.public-card-page .public-card-contact small{color:#8b98a0;font-size:10px;letter-spacing:.7px}
body.public-card-page .public-card-contact strong{color:#293d49;font-size:15px;overflow-wrap:anywhere}
body.public-card-page .public-card-buttons{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}
body.public-card-page .public-card-buttons a,
body.public-card-page .public-card-buttons button{
  min-height:54px;border:0;border-radius:17px;font-family:inherit;font-size:14px;font-weight:900;
  display:flex;align-items:center;justify-content:center;gap:7px
}
body.public-card-page .public-card-buttons .material-symbols-rounded{font-size:21px}
body.public-card-page .public-card-brand{margin-top:20px;color:#a0a8ad;font-size:11px}

.ext-photo-modal[hidden]{display:none!important}
.ext-photo-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(20,28,32,.72)}
.ext-photo-modal-inner{position:relative;width:min(92vw,680px);max-height:88vh}
.ext-photo-modal-inner img{display:block;width:100%;max-height:88vh;object-fit:contain;border-radius:22px}
.ext-photo-modal-close{position:absolute;right:10px;top:10px;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);font-size:28px;line-height:1}

@media(max-width:430px){
 .digital-card-frame{width:calc(100% - 16px);padding:8px;border-radius:30px}
 body.public-card-page .ext-card-nav{gap:5px;padding-bottom:8px}
 body.public-card-page .ext-card-nav button{height:66px;border-radius:16px}
 body.public-card-page .ext-card-nav button .material-symbols-rounded{font-size:20px}
 body.public-card-page .ext-card-nav button strong{font-size:10.5px}
 .digital-card-stage{padding-top:8px}
 body.public-card-page .ext-card-sheet{min-height:390px;padding:20px 17px;border-radius:24px}
 .ext-panel-title{margin-bottom:18px}
 .ext-panel-title h2{font-size:20px}
 body.public-card-page .ext-profile-head{grid-template-columns:105px minmax(0,1fr);gap:18px}
 body.public-card-page .ext-profile-photo{width:105px;height:135px;border-radius:22px}
 body.public-card-page .ext-profile-name{font-size:25px}
 body.public-card-page .ext-profile-sub{font-size:13px}
 body.public-card-page .ext-activity-grid{gap:9px}
 body.public-card-page .public-business-card{padding:22px 18px 20px;border-radius:24px}
 body.public-card-page .public-card-top{grid-template-columns:86px minmax(0,1fr);gap:14px}
 body.public-card-page .public-card-photo{width:86px;height:100px;border-radius:22px}
 body.public-card-page .public-card-name h1{font-size:26px}
 body.public-card-page .public-card-contact a,
 body.public-card-page .public-card-contact-row{grid-template-columns:44px minmax(0,1fr);min-height:62px;padding:8px 9px}
 body.public-card-page .public-card-contact>a>span,
 body.public-card-page .public-card-contact-row>span{width:44px;height:44px;border-radius:13px;font-size:23px}
 body.public-card-page .public-card-contact strong{font-size:14px}
}

/* =========================================================
   DIGITAL BUSINESS CARD v1
========================================================= */
.digital-card-entry{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:14px;align-items:center;margin:20px 0;padding:18px;border:1px solid #dfe8f5;border-radius:20px;background:linear-gradient(145deg,#f8fbff,#eef6ff);box-shadow:0 10px 28px rgba(55,83,134,.08)}
.digital-card-entry-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:17px;background:#fff;font-size:26px;box-shadow:0 8px 18px rgba(46,78,133,.09)}
.digital-card-entry-copy{min-width:0}.digital-card-entry-copy>span,.card-edit-title span,.public-card-name>span{color:#71839c;font-size:10px;font-weight:900;letter-spacing:1.5px}.digital-card-entry-copy h2{margin:3px 0 5px;font-size:19px}.digital-card-entry-copy p{margin:0;color:#66758a;font-size:12px;line-height:1.55}.digital-card-entry-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:0 14px;border-radius:13px;background:#425ee8;color:#fff;text-decoration:none;font-size:12px;font-weight:900}
/* 기존 DIGITAL BUSINESS CARD v1의 명함수정 전용 규칙은 v50 통합구역으로 병합됨 */
.card-share-panel{margin-top:16px}.card-share-panel h2{margin:0 0 5px}.card-share-panel p{margin:0 0 14px;color:#718096;font-size:12px}.card-share-url{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.card-share-url input{min-width:0;height:44px;padding:0 11px;border:1px solid #dbe4ef;border-radius:11px;background:#f8fafc;color:#64748b}.card-share-url button{min-width:82px;border:0;border-radius:11px;background:#344054;color:#fff;font-weight:850}.card-share-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.card-share-actions button,.card-share-actions a{display:flex;min-height:46px;align-items:center;justify-content:center;border:0;border-radius:12px;background:#eef3fb;color:#34445e;text-decoration:none;font-size:11px;font-weight:850}
.public-card-top{display:grid;grid-template-columns:92px minmax(0,1fr);gap:17px;align-items:center}.public-card-photo{display:grid;width:92px;height:92px;place-items:center;overflow:hidden;border-radius:29px;background:linear-gradient(145deg,#edf3fb,#dbe9e4);font-size:40px}.public-card-photo img{width:100%;height:100%;object-fit:cover}.public-card-name h1{margin:5px 0 3px;font-size:29px}.public-card-name p{margin:0;color:#68778b;font-size:13px}.public-card-intro{margin:20px 0;padding:15px;border-radius:16px;background:#f6f9fc;color:#536174;font-size:13px;line-height:1.65}.public-card-contact{display:grid;gap:8px;margin-top:18px}.public-card-contact a,.public-card-contact-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-height:54px;padding:7px 9px;border-radius:15px;background:#f8fafc;color:#263449;text-decoration:none}.public-card-contact>a>span,.public-card-contact-row>span{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:#eaf1f7}.public-card-contact small{display:block;color:#8a97a8;font-size:9px;font-weight:850}.public-card-contact strong{display:block;margin-top:2px;overflow-wrap:anywhere;font-size:13px}.public-card-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.public-card-buttons a,.public-card-buttons button{display:flex;min-height:50px;align-items:center;justify-content:center;border:0;border-radius:14px;text-decoration:none;font-size:12px;font-weight:900}.vcf-button{background:#355e54;color:#fff}.public-card-buttons button{background:#425ee8;color:#fff}.public-card-brand{margin-top:20px;color:#a0a9b7;font-size:10px;text-align:center}.public-card-empty{width:min(440px,calc(100% - 30px));margin:100px auto;padding:30px;border-radius:24px;background:#fff;text-align:center;box-shadow:0 18px 45px rgba(30,50,80,.12)}.public-card-empty>span{font-size:40px}.public-card-empty h1{font-size:21px}.public-card-empty p{color:#758196;font-size:13px}

@media(max-width:700px){
 .digital-card-entry{grid-template-columns:48px minmax(0,1fr);padding:14px}.digital-card-entry-icon{width:48px;height:48px}.digital-card-entry-button{grid-column:1/-1;width:100%;box-sizing:border-box;min-height:48px}
 .card-share-panel{padding:15px;border-radius:19px}.card-share-actions{grid-template-columns:1fr}.card-share-actions button,.card-share-actions a{min-height:48px;font-size:13px}
.public-card-top{grid-template-columns:78px minmax(0,1fr);gap:13px}.public-card-photo{width:78px;height:78px;border-radius:24px}.public-card-name h1{font-size:24px}.public-card-buttons{grid-template-columns:1fr}.public-card-buttons a,.public-card-buttons button{min-height:52px;font-size:14px}
}


/* 차량용 QR 공개화면 — 개인정보 최소화 (v46) */
.vehicle-card-page{
  min-height:100vh;min-height:100dvh;margin:0;padding:0;
  background:var(--page)!important;color:var(--ink);
}
.vehicle-minimal-head{
  box-sizing:border-box;width:min(100%,520px);height:82px;margin:0 auto;padding:14px 18px 0;
  display:flex;align-items:center;justify-content:space-between;
}
.vehicle-minimal-home{
  min-width:76px;height:44px;padding:0 15px;display:flex;align-items:center;justify-content:center;gap:5px;
  border:1px solid rgba(255,255,255,.96);border-radius:16px;background:rgba(255,255,255,.48);
  color:#60737b;text-decoration:none;font-size:14px;font-weight:850;
}
.vehicle-minimal-home .material-symbols-rounded{font-size:21px}
.vehicle-minimal-head>img{width:42px;height:42px;object-fit:contain}
.vehicle-minimal-shell{
  box-sizing:border-box;width:min(100%,520px);
  margin:0 auto;padding:6px 18px 34px;
  display:block;
}
.vehicle-minimal-card{
  box-sizing:border-box;width:100%;padding:34px 26px 28px;
  border:1px solid rgba(255,255,255,.96);border-radius:38px;
  background:rgba(255,255,255,.20);text-align:center;
}
.vehicle-minimal-car{
  display:grid;width:min(100%,310px);height:auto;margin:0 auto 24px;place-items:center;
  background:transparent;
}
.vehicle-minimal-car img{display:block;width:100%;height:auto;object-fit:contain}
.vehicle-minimal-message{
  margin:0 auto 24px;max-width:350px;color:#596d75;
  font-size:20px;font-weight:850;line-height:1.55;letter-spacing:-.5px;
}
.vehicle-minimal-call{
  min-height:72px;padding:0 22px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  border:1px solid rgba(255,255,255,.96);border-radius:23px;background:#f4b8cc;color:#5e5360;text-decoration:none;
}
.vehicle-minimal-call .material-symbols-rounded{font-size:27px}
.vehicle-minimal-call strong{font-size:19px;letter-spacing:-.2px;color:#5e5360}
.vehicle-minimal-privacy{
  display:block;margin-top:15px;color:#959da1;font-size:10px;line-height:1.5;
}
.vehicle-minimal-disabled .vehicle-minimal-message{margin-bottom:0;color:#7c8a90}

@media(max-width:430px){
 .vehicle-minimal-head{height:74px;padding:10px 14px 0}
 .vehicle-minimal-home{min-width:70px;height:42px;padding:0 13px}
 .vehicle-minimal-head>img{width:38px;height:38px}
 .vehicle-minimal-shell{min-height:0;padding:4px 14px 30px}
 .vehicle-minimal-card{padding:30px 22px 24px;border-radius:32px}
 .vehicle-minimal-car{width:min(100%,280px);height:auto;margin-bottom:20px}
 .vehicle-minimal-message{font-size:18px;margin-bottom:21px}
 .vehicle-minimal-call{min-height:68px;border-radius:21px}
}

/* =========================================================
   차량 QR 화면 구도 보정 - 모양 유지 / 배치만 정리
   기존 card.css의 display:grid + place-items:center 해제
========================================================= */
body.vehicle-card-page{
  display:block!important;
  place-items:initial!important;
  min-height:100vh!important;
  box-sizing:border-box!important;
}

/* 상단 헤더와 본문을 하나의 흐름으로 붙임 */
body.vehicle-card-page .vehicle-public-header{
  position:relative!important;
  margin:0 auto 12px!important;
}

body.vehicle-card-page .vehicle-card{
  position:relative!important;
  margin:0 auto 20px!important;
  transform:none!important;
}

/* 본문 카드의 기존 중앙정렬 디자인은 유지하되 너무 커 보이지 않게 */
body.vehicle-card-page .vehicle-card-badge{
  display:block!important;
}
body.vehicle-card-page .vehicle-icon{
  margin-top:14px!important;
}
body.vehicle-card-page .vehicle-card h1{
  margin-top:7px!important;
}
body.vehicle-card-page .vehicle-card p{
  margin-top:10px!important;
  margin-bottom:18px!important;
}

@media(max-width:700px){
  body.vehicle-card-page{
    display:block!important;
    place-items:initial!important;
    padding:8px 0 24px!important;
  }
  body.vehicle-card-page .vehicle-public-header{
    margin:0 auto 10px!important;
  }
  body.vehicle-card-page .vehicle-card{
    margin:0 auto 16px!important;
  }
}


/* 로그인·회원가입 — AI 다이어리 통합 인증화면 (v49) */
.auth-modern-page{
  min-height:100vh;min-height:100dvh;margin:0;padding:24px 16px 34px;
  box-sizing:border-box;background:var(--page);color:var(--ink);
  display:flex;flex-direction:column;align-items:center;
}
.auth-modern-head{
  width:min(100%,480px);display:flex;align-items:center;justify-content:space-between;
  min-height:72px;margin:0 auto 8px;
}
.auth-modern-logo{display:block;width:132px;height:auto}
.auth-modern-home{
  width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.96);
  border-radius:15px;background:rgba(255,255,255,.48);color:#66777e;text-decoration:none
}
.auth-modern-home .material-symbols-rounded{font-size:24px}
.auth-modern-card{
  box-sizing:border-box;width:min(100%,480px);padding:28px 24px 24px;
  border:1px solid rgba(255,255,255,.96);border-radius:32px;background:rgba(255,255,255,.28)
}
.auth-modern-card h1{margin:0;color:#4e626b;font-size:26px;letter-spacing:-.7px}
.auth-modern-card>.auth-lead{margin:7px 0 22px;color:#849096;font-size:13px;line-height:1.55}
.auth-modern-form{display:grid;gap:13px}
.auth-modern-form label{display:grid;gap:7px;color:#66777e;font-size:12px;font-weight:800}
.auth-modern-form input[type="text"],
.auth-modern-form input[type="email"],
.auth-modern-form input[type="password"],
.auth-modern-form input:not([type]){
  box-sizing:border-box;width:100%;height:54px;padding:0 15px;border:1px solid rgba(255,255,255,.96);
  border-radius:17px;background:rgba(255,255,255,.72);color:#43555d;font:inherit;font-size:16px;outline:none
}
.auth-modern-form input:focus{border-color:#eb76a1;background:#fff}
.auth-modern-submit{
  width:100%;height:56px;margin-top:4px;border:0;border-radius:18px;background:#eb76a1;
  color:#fff;font-family:inherit;font-size:16px;font-weight:900
}
.auth-modern-link{
  display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:12px;
  color:#687a82;text-decoration:none;font-size:13px;font-weight:800
}
.auth-modern-message{margin-bottom:14px;padding:12px 14px;border-radius:15px;font-size:12px;line-height:1.5}
.auth-modern-message.error{background:#fff0f0;color:#9b5555}
.auth-modern-message.success{background:#eef8f1;color:#587761}
.auth-trial-box{
  display:grid;gap:4px;margin:0 0 18px;padding:14px 15px;border:1px solid rgba(255,255,255,.95);
  border-radius:18px;background:rgba(255,255,255,.55)
}
.auth-trial-box strong{color:#596f67;font-size:14px}
.auth-trial-box span{color:#849096;font-size:11px;line-height:1.5}
.auth-consents{
  display:grid;gap:8px;margin-top:2px;padding:13px 14px;border:1px solid rgba(255,255,255,.9);
  border-radius:17px;background:rgba(255,255,255,.42)
}
.auth-consents label{display:flex;align-items:flex-start;gap:8px;font-weight:600;line-height:1.45}
.auth-consents input[type="checkbox"]{width:17px;height:17px;margin:1px 0 0;flex:0 0 auto}
.auth-consents a{color:#5c746c}
.auth-public-footer{width:min(100%,480px);margin-top:18px}
@media(max-width:430px){
 .auth-modern-page{padding:14px 12px 26px}
 .auth-modern-head{min-height:62px;margin-bottom:5px}
 .auth-modern-logo{width:118px}
 .auth-modern-card{padding:24px 18px 20px;border-radius:28px}
 .auth-modern-card h1{font-size:23px}
}
