:root{
  --primary:#4f6df5;--primary-dark:#3553d8;--primary-soft:#eef2ff;
  --text:#263044;--muted:#7d879b;--line:#e5eaf2;--surface:#fff;
  --bg:#f4f7fb;--danger:#d94a4a;--shadow:0 14px 36px rgba(44,61,103,.10);
}
*{box-sizing:border-box}
html,body{margin:0;min-width:0;overflow-x:hidden}
html{background:#c8d6ee}
body{background:#c8d6ee;color:#263044;}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
body.modal-open{position:fixed;width:100%;overflow:hidden;touch-action:none}

.app-shell{position:relative;z-index:1;width:min(980px,100%);margin:0 auto;padding:22px 18px 40px}
.calendar-card,.schedule-card{background:#ffffff;border:1px solid rgba(255,255,255,.88);border-radius:28px;box-shadow:0 18px 50px rgba(43,75,117,.13);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.calendar-card{padding:24px;margin-bottom:18px}
.schedule-card{padding:22px}

.calendar-head{position:relative;display:flex;align-items:center;justify-content:center;min-height:58px;margin-bottom:10px;padding:0 62px 0 64px}
.header-home-logo{position:absolute;left:0;top:50%;z-index:20;display:flex;width:50px;height:60px;align-items:center;justify-content:center;transform:translateY(-50%);text-decoration:none}
.header-home-logo img{display:block;width:50px;height:50px;object-fit:contain}
.month-title-button{display:inline-flex;min-width:0;align-items:center;justify-content:center;gap:9px;padding:8px 13px;border:0;border-radius:13px;background:transparent;color:var(--text);font-size:28px;font-weight:900;letter-spacing:-.6px;box-shadow:none}.month-title-button:active{background:var(--primary-soft)}.month-caret{color:var(--primary);font-size:20px;transition:transform .18s ease}.month-title-button[aria-expanded="true"] .month-caret{transform:rotate(180deg)}
.month-title-icon{display:none}
.calendar-head-actions{position:absolute;right:0;top:50%;display:flex;align-items:center;transform:translateY(-50%)}
.month-picker{margin:0 0 16px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#f8faff;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}.month-picker-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.month-picker-top label{color:var(--muted);font-size:13px;font-weight:850}.month-picker-top select{width:132px;height:42px;padding:0 12px;border:1px solid #dbe3f1;border-radius:12px;background:#fff;font-size:15px;font-weight:800}.month-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.month-options button{min-height:42px;padding:0 7px;border:1px solid #e0e6f0;border-radius:12px;background:#fff;color:#4f5b70;font-weight:800;box-shadow:none}.month-options button.active{border-color:#9fb1ff;background:#eaf0ff;color:#3155d9}.month-options button:active{transform:scale(.98)}
.menu-wrap{position:relative}
.menu-toggle{display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none}
.menu-toggle:focus-visible{outline:3px solid rgba(79,109,245,.28);outline-offset:3px;border-radius:12px!important}
.menu-toggle img{display:block;width:44px;height:44px;object-fit:cover;border-radius:12px}
.user-menu{position:absolute;right:0;top:70px;z-index:350;width:230px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 48px rgba(39,53,92,.18)}
.user-menu button,.user-menu a{display:flex;width:100%;min-height:50px;align-items:center;gap:11px;padding:0 13px;border:0;border-radius:12px;background:transparent;color:var(--text);font-size:15px;font-weight:750;text-align:left;text-decoration:none;white-space:nowrap}
.user-menu button:hover,.user-menu a:hover{background:#f4f7ff}
.user-menu .menu-icon{display:inline-flex;width:28px;height:28px;flex:0 0 28px;align-items:center;justify-content:center;border-radius:9px;background:#f0f3ff;font-size:15px}
.user-menu .menu-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
.user-menu .logout-link{margin-top:4px;border-top:1px solid var(--line);border-radius:0 0 12px 12px;color:var(--danger)}

.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.weekdays{margin-bottom:8px;color:var(--muted);font-size:14px;font-weight:800;text-align:center}
.weekdays span:first-child{color:#e15b64}.weekdays span:last-child{color:#5477d9}
.day{min-width:0;min-height:86px;padding:9px;border:1px solid rgba(255,255,255,.68);border-radius:16px;background:rgba(248,250,255,.76);color:var(--text);text-align:left;transition:.16s ease}
.day:hover{transform:translateY(-1px);background:#f1f5ff}
.day.selected{border-color:#91a8ff;background:#edf2ff;box-shadow:inset 0 0 0 1px rgba(79,109,245,.08)}
.day>span{display:flex;width:31px;height:31px;align-items:center;justify-content:center;border-radius:50%;font-weight:850}
.day.today{border-color:#b8e7d5;background:#e8f8f1;color:#216b57}
.dots{display:flex;flex-wrap:wrap;gap:4px;padding-top:9px}.dots i{display:block;width:7px;height:7px;border-radius:50%}

.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.section-head h2{margin:0;font-size:23px;letter-spacing:-.3px}.section-head p{margin:3px 0 0;color:var(--muted);font-size:14px}
.section-head>button,.auth-card button,.save-schedule-button{border:0;border-radius:15px;background:linear-gradient(135deg,var(--primary),#6f83ff);color:#fff;font-weight:850;box-shadow:0 10px 22px rgba(79,109,245,.24)}
.section-head>button{padding:13px 17px}
.schedule-list{display:grid;gap:10px}
.schedule-item{overflow:hidden;border:1px solid rgba(226,232,243,.9);border-left:6px solid #777;border-radius:17px;background:rgba(255,255,255,.88);box-shadow:0 6px 16px rgba(42,55,90,.05)}
.schedule-summary{display:grid;width:100%;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:10px;padding:16px;border:0;background:transparent;color:var(--text);text-align:left}
.schedule-summary .time{color:var(--primary);font-weight:900}.schedule-summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-summary small{color:var(--muted)}
.schedule-detail{padding:0 16px 16px;border-top:1px solid #f0f2f7}.schedule-detail p{margin:12px 0}.schedule-detail .meta{color:var(--muted);font-size:14px}
.schedule-detail button{margin-right:7px;padding:8px 12px;border:0;border-radius:10px}.danger{color:#b42318}
.empty{padding:42px 18px;text-align:center;color:#98a1b2;background:#f9fbfe;border-radius:16px}

.modal{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(20,29,48,.62);overscroll-behavior:contain}
.modal-panel{position:relative;width:min(610px,100%);max-height:calc(100dvh - 36px);overflow-y:auto;overflow-x:hidden;padding:28px;background:linear-gradient(180deg,#fff 0,#fbfcff 100%);border-radius:26px;box-shadow:0 28px 80px rgba(0,0,0,.25);overscroll-behavior:contain}
.close{position:absolute;right:15px;top:14px;z-index:3;width:42px;height:42px;border:0;border-radius:50%;background:#f1f3f7;color:#445066;font-size:27px;line-height:1}
.modal-panel h2{margin:0 54px 4px 0;font-size:27px}.registration-date{margin:0 0 17px;color:var(--primary);font-weight:850}
.quick-register-area{display:grid;gap:18px}.register-method{padding:18px;border:1px solid #e1e7f3;border-radius:20px;background:#f8faff}
.method-title{display:flex;align-items:flex-start;gap:10px}.method-title strong{display:block;font-size:20px}.method-title small{display:block;margin-top:4px;color:var(--muted);font-size:14px;line-height:1.45}
.voice-guide,.voice-status{margin:10px 0;color:var(--muted);text-align:center}
.voice-wave-button{display:flex;width:100%;height:104px;align-items:center;justify-content:center;border:1.5px solid #91a8ff;border-radius:18px;background:#eef3ff}
.voice-wave{display:flex;align-items:center;gap:7px;height:58px}.voice-wave i{display:block;width:7px;border-radius:99px;background:var(--primary)}
.voice-wave i:nth-child(1),.voice-wave i:nth-child(7){height:22px}.voice-wave i:nth-child(2),.voice-wave i:nth-child(6){height:36px}.voice-wave i:nth-child(3),.voice-wave i:nth-child(5){height:48px}.voice-wave i:nth-child(4){height:58px}
.voice-wave-button.is-listening{border-color:#ef6262;background:#fff0f0}.voice-wave-button.is-listening .voice-wave i{background:#e43d46;animation:wave .7s ease-in-out infinite alternate}
.voice-wave-button.is-listening .voice-wave i:nth-child(2){animation-delay:.1s}.voice-wave-button.is-listening .voice-wave i:nth-child(3){animation-delay:.2s}.voice-wave-button.is-listening .voice-wave i:nth-child(4){animation-delay:.3s}.voice-wave-button.is-listening .voice-wave i:nth-child(5){animation-delay:.2s}.voice-wave-button.is-listening .voice-wave i:nth-child(6){animation-delay:.1s}
@keyframes wave{to{transform:scaleY(.45)}}
.voice-preview{margin:12px 0;padding:13px;border-radius:13px;background:#eef3ff;color:#33405a;line-height:1.55}.apply-quick{width:100%;padding:14px;border:0;border-radius:14px;background:var(--primary);color:#fff;font-weight:850}
.method-divider{display:flex;align-items:center;gap:12px;color:#99a2b2}.method-divider:before,.method-divider:after{content:"";height:1px;flex:1;background:#dfe4ec}
.quick-text-row{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:10px;margin-top:14px}.quick-text-row button{border:0;border-radius:12px;background:#263044;color:#fff;font-weight:850}
.modal-panel input,.modal-panel select,.modal-panel textarea,.auth-card input{display:block;width:100%;max-width:100%;margin-top:7px;padding:13px;border:1px solid #d8deea;border-radius:12px;background:#fff;color:var(--text)}
.modal-panel textarea{resize:vertical}.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}

.schedule-form{min-width:0;margin-top:22px;padding:18px;border:1px solid #e5eaf4;border-radius:22px;background:linear-gradient(145deg,#fff,#f8faff);box-shadow:0 12px 32px rgba(49,94,251,.07)}
.detail-heading{display:flex;align-items:center;gap:11px;margin:0 0 8px;padding:13px 14px;border:1px solid #f0dff0;border-radius:16px;background:linear-gradient(135deg,#fff3fa,#eef5ff)}
.detail-heading>span{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:13px;background:#fff;font-size:20px}.detail-heading strong{display:block;font-size:18px}.detail-heading small{display:block;margin-top:3px;color:#7c8497;font-size:13px}
.schedule-form .field{display:block;min-width:0;margin:13px 0;padding:12px 13px 13px;border:1px solid #e6eaf3;border-radius:16px;background:#fff;box-shadow:0 4px 13px rgba(43,58,94,.04);color:#39445a;font-weight:750}
.schedule-form .field-label{display:flex;align-items:center;gap:7px;margin-bottom:8px;font-size:14px;font-weight:850}.schedule-form .field-label i{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:9px;background:#f1f4ff;font-style:normal;font-size:14px}
.schedule-form input,.schedule-form select,.schedule-form textarea{min-width:0;width:100%;max-width:100%;margin:0;padding:13px 12px;border:1px solid #dce2ed;border-radius:12px;background:#fbfcff;color:#263044;font-size:16px;line-height:1.25;outline:none;box-shadow:none}
.schedule-form input[type=date],.schedule-form input[type=time]{display:block;min-width:0;width:100%;max-width:100%;height:48px;padding:9px 10px;-webkit-appearance:none;appearance:none}
.schedule-form input:focus,.schedule-form select:focus,.schedule-form textarea:focus{border-color:#8ba4ff;background:#fff;box-shadow:0 0 0 4px rgba(49,94,251,.10)}
.schedule-form textarea{min-height:100px}.schedule-form .two-col>*{min-width:0}.date-time-row .field-date{background:linear-gradient(145deg,#fff,#fff9f2)}.date-time-row .field-time{background:linear-gradient(145deg,#fff,#f4fbff)}.option-row .field-alert{background:linear-gradient(145deg,#fff,#fff8f2)}.option-row .field-repeat{background:linear-gradient(145deg,#fff,#f7f4ff)}
.form-note{display:flex;align-items:flex-start;gap:7px;margin:14px 2px;padding:11px 12px;border-radius:13px;background:#fff9e9;color:#74643e;font-size:13px;font-weight:650}
.save-schedule-button{display:flex;width:100%;min-height:54px;align-items:center;justify-content:center;gap:8px;margin-top:7px;font-size:17px}.save-schedule-button span{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.22)}

.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(135deg,#eef3ff,#f8fbff)}
.auth-card{width:min(430px,100%);padding:30px;background:#fff;border-radius:24px;box-shadow:var(--shadow)}.auth-card h1{margin:0}.auth-card p{color:var(--muted)}.auth-card label{display:block;margin:14px 0;color:#39445a;font-weight:750}.auth-card button{width:100%;padding:14px;margin:8px 0 14px}.auth-card a{color:var(--primary);text-decoration:none}.back-link{display:inline-block;margin-bottom:18px;color:var(--primary);font-weight:800;text-decoration:none}.error,.success{margin:14px 0;padding:12px;border-radius:10px}.error{background:#fff0f0;color:#b42318}.success{background:#ecfdf3;color:#067647}

@media(max-width:700px){
  .app-shell{padding:10px 10px 26px}.calendar-card,.schedule-card{padding:15px;border-radius:20px;margin-bottom:12px}
  .calendar-head{min-height:50px;margin-bottom:8px;padding:0 52px 0 58px}.month-title-button{padding:7px 9px;font-size:22px}.month-caret{font-size:17px}.menu-toggle{width:46px;height:46px}.menu-toggle img{width:40px;height:40px}.month-picker{margin-bottom:13px;padding:12px;border-radius:16px}.month-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.month-options button{min-height:40px}
  .user-menu{position:fixed;right:10px;top:calc(env(safe-area-inset-top,0px) + 72px);width:min(230px,calc(100vw - 20px));z-index:700}
  .weekdays,.calendar-grid{gap:5px}.day{min-height:67px;padding:6px;border-radius:12px}.day>span{width:27px;height:27px;font-size:14px}.dots{gap:3px;padding-top:6px}.dots i{width:6px;height:6px}
  .section-head{align-items:flex-start;gap:10px}.section-head h2{font-size:20px}.section-head>button{padding:12px 14px;font-size:14px}.schedule-summary{grid-template-columns:58px minmax(0,1fr);padding:14px}.schedule-summary small{display:none}
  .modal{align-items:stretch;padding:0;background:#fff}.modal-panel{width:100%;height:100dvh;max-height:100dvh;padding:calc(env(safe-area-inset-top,0px) + 20px) 14px calc(env(safe-area-inset-bottom,0px) + 24px);border-radius:0;box-shadow:none}.close{top:calc(env(safe-area-inset-top,0px) + 10px);right:10px}
  .register-method{padding:15px}.method-title strong{font-size:19px}.voice-wave-button{height:88px}.quick-text-row{grid-template-columns:1fr}.quick-text-row button{min-height:48px}
  .schedule-form{margin-top:18px;padding:12px;border-radius:18px}.schedule-form .field{margin:10px 0;padding:10px;border-radius:14px}.schedule-form input,.schedule-form select,.schedule-form textarea{font-size:16px;padding:12px 10px}.schedule-form input[type=date],.schedule-form input[type=time]{height:47px;padding:9px 8px;font-size:15px}.date-time-row,.option-row{grid-template-columns:minmax(0,1fr)!important;gap:0!important;width:100%;min-width:0}
}
@media(max-width:380px){.calendar-head{padding:0 48px 0 54px}.month-title-button{font-size:20px;gap:6px}.menu-toggle{width:44px;height:44px}.menu-toggle img{width:38px;height:38px}.day{min-height:61px}.section-head{display:block}.section-head>button{width:100%;margin-top:12px}.modal-panel{padding-left:10px;padding-right:10px}.schedule-form{padding:9px}.schedule-form .field{padding:9px}}

/* v4.3 사용성 중심 메인·등록 폼 */
.register-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:6px;border-radius:17px;background:#edf1f7}.register-tab{min-height:47px;border:0;border-radius:12px;background:transparent;color:#727c90;font-weight:850}.register-tab.active{background:#fff;color:var(--primary);box-shadow:0 5px 14px rgba(54,74,121,.10)}.register-tab span{margin-right:5px}
.quick-register-area{gap:12px}.quick-register-area .register-method{margin-top:0}.voice-method,.text-method{animation:soft-in .18s ease-out}@keyframes soft-in{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}
.primary-field{border-color:#cfdafd!important;background:linear-gradient(145deg,#fff,#f8faff)!important}.primary-field input{font-size:17px!important;font-weight:750}
.core-time-row{margin-top:2px}.quick-choice-block{margin:13px 0;padding:13px;border:1px solid #e4e9f2;border-radius:16px;background:#fff}.choice-title{display:block;margin-bottom:9px;color:#59657a;font-size:13px;font-weight:850}.choice-chips{display:flex;gap:7px;flex-wrap:wrap}.choice-chips button{min-height:37px;padding:0 12px;border:1px solid #dfe5ef;border-radius:999px;background:#f8faff;color:#657086;font-size:13px;font-weight:800}.choice-chips button.active{border-color:#9db0ff;background:#eaf0ff;color:#3553d8;box-shadow:0 0 0 3px rgba(79,109,245,.08)}
.more-details{margin:13px 0;border:1px solid #e3e8f1;border-radius:16px;background:#fbfcff;overflow:hidden}.more-details summary{display:flex;min-height:52px;align-items:center;gap:8px;padding:0 14px;color:#536078;font-weight:850;cursor:pointer;list-style:none}.more-details summary::-webkit-details-marker{display:none}.more-details summary span{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:8px;background:#edf2ff;color:var(--primary)}.more-details[open] summary{border-bottom:1px solid #e7ebf2;background:#f5f8ff}.more-details-body{padding:1px 12px 10px}.more-details .field{box-shadow:none}
.widget-page{min-height:100vh;padding:18px;background:linear-gradient(160deg,#edf4ff,#f5fff9)}.widget-shell{width:min(480px,100%);margin:0 auto}.widget-card{padding:20px;border:1px solid rgba(217,225,240,.95);border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 20px 55px rgba(46,66,112,.14)}.widget-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.widget-brand{display:flex;align-items:center;gap:10px}.widget-brand img{width:42px;height:42px;border-radius:12px}.widget-brand strong{display:block}.widget-brand small{color:var(--muted)}.widget-date{color:var(--primary);font-size:13px;font-weight:900}.widget-next{margin:17px 0;padding:17px;border-radius:19px;background:linear-gradient(135deg,#ecf2ff,#f0fff9)}.widget-next small{color:var(--muted);font-weight:750}.widget-next strong{display:block;margin:5px 0 2px;font-size:20px}.widget-list{display:grid;gap:9px}.widget-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;padding:12px 13px;border-left:5px solid #777;border-radius:14px;background:#f8faff}.widget-item time{color:var(--primary);font-weight:900}.widget-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.widget-empty{padding:30px 10px;color:var(--muted);text-align:center}.widget-actions{display:flex;gap:8px;margin-top:15px}.widget-actions a{display:flex;min-height:44px;flex:1;align-items:center;justify-content:center;border-radius:13px;background:var(--primary);color:#fff;font-weight:850;text-decoration:none}.widget-actions a:last-child{background:#eef2f8;color:#48556d}.widget-note{margin:13px 4px 0;color:#7e889b;font-size:12px;line-height:1.55;text-align:center}
@media(max-width:700px){.register-tabs{position:sticky;top:0;z-index:4}.choice-chips{display:grid;grid-template-columns:1fr 1fr}.choice-chips button{width:100%}}


/* 사진·PDF 일정표 일괄 등록 */
.register-tab{min-width:0;padding-left:8px;padding-right:8px;white-space:nowrap}.photo-method{display:grid;gap:14px}.photo-source-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.photo-source-button{min-width:0;min-height:132px;border:1px solid #dce5f8;border-radius:20px;background:linear-gradient(145deg,#fff,#f5f8ff);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px 10px;cursor:pointer;box-shadow:0 8px 22px rgba(49,94,251,.08);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.photo-source-button:active{transform:scale(.98)}.photo-source-button:hover{border-color:#9eb5f5;box-shadow:0 12px 26px rgba(49,94,251,.13)}.photo-source-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.photo-source-button>span{width:52px;height:52px;border-radius:17px;background:#fff;display:grid;place-items:center;font-size:28px;box-shadow:0 8px 22px rgba(49,94,251,.12);margin-bottom:10px}.photo-source-button strong{font-size:16px;color:#20304d}.photo-source-button small{margin-top:5px;color:#74809a;font-size:12px}.photo-source-help{margin:0;text-align:center;color:#74809a;font-size:13px;line-height:1.5}.photo-selected{display:grid;grid-template-columns:72px minmax(0,1fr) 38px;align-items:center;gap:12px;padding:10px;border:1px solid #e1e7f2;border-radius:17px;background:#fff}.file-preview-wrap{width:72px;height:72px;border-radius:13px;overflow:hidden;background:#eef3ff;display:grid;place-items:center}.photo-selected img{width:72px;height:72px;object-fit:cover}.pdf-preview-icon{font-size:18px;font-weight:900;letter-spacing:.5px;color:#fff;background:#e44747;padding:10px 8px;border-radius:10px}.photo-selected strong,.photo-selected small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-selected small{margin-top:5px;color:#7c879b}.photo-selected button{width:34px;height:34px;border:0;border-radius:50%;background:#f1f4f9;font-size:22px}.analyze-photo,.save-photo-schedules{width:100%;min-height:54px;border:0;border-radius:16px;background:#315efb;color:#fff;font-size:16px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 10px 24px rgba(49,94,251,.2)}.analyze-photo:disabled,.save-photo-schedules:disabled{opacity:.48;box-shadow:none}.analyze-photo.loading span{animation:photoSpin 1s linear infinite}@keyframes photoSpin{to{transform:rotate(360deg)}}.photo-analyze-status{min-height:22px;text-align:center;color:#53617a;font-size:14px}.photo-results{border-top:1px solid #e8ecf4;padding-top:14px}.photo-results-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.photo-results-head button{border:0;background:#edf2ff;color:#315efb;border-radius:999px;padding:8px 12px;font-weight:700}.photo-schedule-rows{display:grid;gap:10px;max-height:52vh;overflow:auto;padding:2px 2px 8px}.photo-schedule-row{display:grid;grid-template-columns:30px minmax(0,1fr) 34px;gap:8px;padding:12px;border:1px solid #e1e7f2;border-radius:18px;background:#fff}.photo-row-check input{width:20px;height:20px;accent-color:#315efb}.photo-row-fields{display:grid;gap:8px;min-width:0}.photo-row-fields input,.photo-row-fields textarea{width:100%;min-width:0;border:1px solid #dce3ef;border-radius:12px;background:#f9fbff;padding:10px 11px;font-size:15px;box-sizing:border-box}.photo-row-fields>input:first-child{font-weight:800}.photo-row-date-time{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:8px}.photo-confidence{color:#8490a5}.photo-row-remove{width:32px;height:32px;border:0;border-radius:50%;background:#fff0f0;color:#d64141;font-size:20px}.photo-batch-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.photo-batch-options label{display:grid;gap:6px;font-size:13px;font-weight:700}.photo-batch-options select{width:100%;height:46px;border:1px solid #dce3ef;border-radius:13px;background:#fff;padding:0 10px}.photo-warning{text-align:center;color:#8a6b25;font-size:13px}@media(max-width:480px){.register-tab{font-size:13px;padding:10px 4px}.register-tab span{display:none}.photo-source-buttons{grid-template-columns:1fr 1fr;gap:9px}.photo-source-button.pdf{grid-column:1/-1;min-height:92px;flex-direction:row;gap:12px}.photo-source-button.pdf>span{margin:0}.photo-source-button{min-height:116px;padding:12px 6px}.photo-source-button>span{width:46px;height:46px;font-size:24px;margin-bottom:8px}.photo-source-button strong{font-size:14px}.photo-source-button small{font-size:11px}.photo-row-date-time,.photo-batch-options{grid-template-columns:1fr}.photo-schedule-rows{max-height:48vh}}

/* v4.7 관리자·프리미엄 상태 표시 */
.premium-lock-card{margin:8px 0 14px;padding:28px 20px;text-align:center;border:1px solid #eadcae;border-radius:20px;background:linear-gradient(145deg,#fffdf5,#fff7dc);color:#5d4b16}.premium-lock-card .premium-lock-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 12px;border-radius:18px;background:#f5ca54;color:#fff;font-size:24px}.premium-lock-card strong{display:block;font-size:19px}.premium-lock-card p{margin:9px auto 15px;max-width:430px;color:#7a6940;line-height:1.6}.premium-lock-card a{display:inline-flex;padding:11px 16px;border-radius:12px;background:#2f5df6;color:#fff;text-decoration:none;font-weight:800}.membership-card{display:flex;flex-direction:column;gap:5px;margin:14px 0 18px;padding:15px;border-radius:15px}.membership-card strong{font-size:17px}.membership-card span{font-size:13px}.membership-card.free{background:#f3f5f9;color:#566076}.membership-card.premium{background:linear-gradient(135deg,#fff5cc,#fffaf0);color:#7b5b00;border:1px solid #f0d77c}


/* 메인 상단 날씨 */
.top-weather{
  position:relative;
  z-index:20;
  width:min(980px,calc(100% - 36px));
  margin:10px auto -8px;
  display:flex;
  justify-content:flex-end;
}
.weather-summary{
  display:flex;
  min-height:42px;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:14px;
  background:rgba(30,38,52,.78);
  color:#fff;
  box-shadow:0 8px 20px rgba(16,24,40,.16);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.weather-icon{font-size:22px;line-height:1}
.weather-main{display:grid;line-height:1.1;text-align:left}
.weather-main strong{font-size:15px}
.weather-main small{margin-top:3px;color:rgba(255,255,255,.76);font-size:11px;white-space:nowrap}
.weather-arrow{font-size:14px;transition:transform .18s ease}
.weather-summary[aria-expanded="true"] .weather-arrow{transform:rotate(180deg)}
.weather-detail{
  position:absolute;
  right:0;
  top:50px;
  width:min(330px,calc(100vw - 24px));
  padding:15px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:18px;
  background:rgba(255,255,255,.96);
  color:var(--text);
  box-shadow:0 18px 44px rgba(15,23,42,.22);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.weather-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.weather-detail-head strong{font-size:15px}
.weather-detail-head small{color:var(--muted);font-size:11px}
.weather-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.weather-detail-grid span{display:grid;gap:3px;padding:9px 4px;border-radius:12px;background:#f3f6fb;text-align:center}
.weather-detail-grid small{color:var(--muted);font-size:10px}
.weather-detail-grid strong{font-size:13px}
.weather-message{margin:11px 2px 0;color:#5c6678;font-size:12px;line-height:1.45}
@media(max-width:700px){
  .top-weather{width:calc(100% - 20px);margin:8px auto -4px}
  .weather-summary{min-height:38px;padding:6px 9px;border-radius:13px}
  .weather-icon{font-size:20px}
  .weather-detail{top:46px}
}
