:root{
  --tm-bg:#0f172a;
  --tm-panel:rgba(255,255,255,.16);
  --tm-panel-border:rgba(255,255,255,.2);
  --tm-text:#fff;
  --tm-muted:rgba(255,255,255,.72);
  --tm-accent:#dbeafe;
  --tm-dark:#0b1220;
  --tm-card:#fff;
  --tm-line:#e5e7eb;
  --tm-primary:#2563eb;
  --tm-danger:#dc2626;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;background:#eaf4ff;color:#111827}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
body.admin-bar .tm-weather-lock{top:32px}
html.tm-hide-wp-admin-bar{margin-top:0!important}
html.tm-hide-wp-admin-bar #wpadminbar{display:none!important}
html.tm-hide-wp-admin-bar body.admin-bar .tm-weather-lock{top:0!important}
.tm-root{min-height:100vh}
.tm-weather-lock{position:fixed;inset:0;z-index:1000;display:none;overflow:auto;background:linear-gradient(180deg,#58a8ed 0%,#9cd2fb 47%,#eaf6ff 100%);color:#fff}
.tm-weather-lock.is-active{display:block}
.tm-weather-lock.is-overlay-capable{z-index:9999}
html.tm-app-force-locked,html.tm-app-force-locked body{overscroll-behavior-y:none}
.tm-weather-bg{position:fixed;inset:0;overflow:hidden;pointer-events:none}
.tm-weather-bg:before{content:"";position:absolute;left:-15%;right:-15%;bottom:-10%;height:45%;background:linear-gradient(180deg,rgba(255,255,255,.25),rgba(255,255,255,.8));filter:blur(24px)}
.tm-cloud{position:absolute;width:190px;height:55px;border-radius:999px;background:rgba(255,255,255,.68);filter:blur(1px);box-shadow:45px -22px 0 5px rgba(255,255,255,.62),95px 2px 0 10px rgba(255,255,255,.55)}
.tm-cloud-a{top:14%;left:-8%;transform:scale(.8)}
.tm-cloud-b{top:26%;right:-8%;transform:scale(1.1)}
.tm-cloud-c{top:58%;left:8%;opacity:.45;transform:scale(.7)}
.tm-weather-shell{position:relative;z-index:2;width:min(100%,760px);min-height:100%;margin:0 auto;padding:max(24px,env(safe-area-inset-top)) 18px max(32px,env(safe-area-inset-bottom))}
.tm-weather-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:12px}
.tm-icon-button{width:44px;height:44px;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:23px;backdrop-filter:blur(12px)}
.tm-place-wrap{text-align:center}
.tm-place{font-size:24px;font-weight:800;letter-spacing:.03em}
.tm-updated{margin-top:3px;font-size:12px;color:var(--tm-muted)}
.tm-current-weather{text-align:center;padding:28px 0 22px}
.tm-current-icon{font-size:72px;line-height:1;filter:drop-shadow(0 12px 15px rgba(0,0,0,.1))}
.tm-weather-login-trigger{display:inline-block;cursor:default!important;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none}
.tm-weather-login-trigger:hover,.tm-weather-login-trigger:active{cursor:default!important}
.tm-temperature-display{display:inline-flex;align-items:flex-start;color:#fff;margin:8px 0 0;font-size:104px;font-weight:200;line-height:.92;letter-spacing:-.08em}
.tm-degree{font-size:.43em;margin-top:.05em;margin-left:.03em}
.tm-current-label{margin-top:14px;font-size:19px;font-weight:700}
.tm-high-low{display:flex;justify-content:center;gap:18px;margin-top:8px;font-size:14px;color:var(--tm-muted)}
.tm-high-low b{color:#fff}
.tm-hourly-card,.tm-daily-card,.tm-sun-card{background:var(--tm-panel);border:1px solid var(--tm-panel-border);border-radius:22px;backdrop-filter:blur(22px);box-shadow:0 14px 42px rgba(25,74,118,.14)}
.tm-hourly-card{padding:18px 8px;margin-bottom:14px;overflow:hidden}
.tm-hourly{display:flex;gap:4px;overflow-x:auto;padding:2px 7px 6px;scrollbar-width:none}
.tm-hourly::-webkit-scrollbar{display:none}
.tm-hour-item{flex:0 0 64px;text-align:center;padding:8px 5px;border-radius:14px}
.tm-hour-item.is-now{background:rgba(255,255,255,.16)}
.tm-hour-item span{display:block;font-size:12px;color:var(--tm-muted)}
.tm-hour-item b{display:block;margin-top:5px;font-size:17px}
.tm-hour-item i{display:block;font-style:normal;font-size:25px;margin:6px 0}
.tm-daily-card{padding:8px 16px}
.tm-day-row{display:grid;grid-template-columns:1fr 45px 54px 54px;align-items:center;gap:8px;min-height:50px;border-bottom:1px solid rgba(255,255,255,.18)}
.tm-day-row:last-child{border-bottom:0}
.tm-day-row span{font-size:14px}
.tm-day-row i{font-style:normal;text-align:center;font-size:24px}
.tm-day-row b{text-align:right;font-size:14px}
.tm-day-row .tm-low{color:var(--tm-muted)}
.tm-sun-card{display:grid;grid-template-columns:1fr 1fr;margin-top:14px;padding:18px}
.tm-sun-card>div{text-align:center}
.tm-sun-card>div+div{border-left:1px solid rgba(255,255,255,.2)}
.tm-sun-card span{display:block;color:var(--tm-muted);font-size:12px}
.tm-sun-card strong{display:block;margin-top:5px;font-size:19px}
.tm-hidden-hint{text-align:center;font-size:11px;color:rgba(255,255,255,.46);margin:16px 0 0}
.tm-app{min-height:100vh;background:#f5f7fb}
.tm-app-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 28px;background:#fff;border-bottom:1px solid var(--tm-line);position:sticky;top:0;z-index:20}
.tm-app-header h1{margin:2px 0 0;font-size:26px}
.tm-eyebrow{margin:0;color:#64748b;font-size:11px;letter-spacing:.16em}
.tm-app-user{display:flex;align-items:center;gap:10px;font-size:13px}
.tm-small-button{border:1px solid #d9e0ea;border-radius:10px;background:#fff;padding:8px 11px}
.tm-tabs{display:flex;gap:6px;padding:10px 28px;background:#fff;border-bottom:1px solid var(--tm-line);overflow-x:auto}
.tm-tab{border:0;background:transparent;color:#64748b;font-weight:700;padding:10px 16px;border-radius:12px;white-space:nowrap}
.tm-tab.is-active{background:#e8f1ff;color:#1d4ed8}
.tm-app-body{display:grid;grid-template-columns:minmax(270px,360px) 1fr;height:calc(100vh - 139px)}
.tm-side-panel{background:#fff;border-right:1px solid var(--tm-line);overflow:auto}
.tm-search-row{display:flex;gap:8px;padding:14px;border-bottom:1px solid var(--tm-line);position:sticky;top:0;background:#fff;z-index:3}
.tm-search-row input{min-width:0;flex:1;border:1px solid #d8dee8;border-radius:12px;padding:10px 12px}
.tm-search-row button{border:0;border-radius:12px;background:var(--tm-primary);color:#fff;padding:0 14px;font-weight:700}
.tm-side-content{padding:8px}
.tm-list-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:#fff;padding:12px;border-radius:14px;text-align:left}
.tm-list-item:hover,.tm-list-item.is-active{background:#eef5ff}
.tm-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#bfdbfe,#e9d5ff);font-weight:800;color:#334155;flex:0 0 42px}
.tm-list-copy{min-width:0;flex:1}
.tm-list-copy strong,.tm-list-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-list-copy span{margin-top:3px;color:#64748b;font-size:12px}
.tm-list-actions{display:flex;gap:6px}
.tm-list-actions button{border:1px solid #d7deea;background:#fff;border-radius:9px;padding:6px 8px;font-size:12px}
.tm-chat-panel{min-width:0;position:relative;background:#edf3fa}
.tm-empty-state{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:#64748b;gap:6px;pointer-events:none}
.tm-empty-state[hidden],.tm-chat-view[hidden]{display:none!important}
.tm-empty-state strong{font-size:19px;color:#334155}
.tm-chat-view{height:100%;display:grid;grid-template-rows:auto 1fr auto}
.tm-chat-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;background:#fff;border-bottom:1px solid var(--tm-line)}
.tm-chat-header strong,.tm-chat-header span{display:block}
.tm-chat-header span{margin-top:3px;color:#64748b;font-size:12px}
.tm-chat-actions{display:flex;gap:8px}
.tm-chat-actions button{width:40px;height:40px;border:1px solid #d7deea;border-radius:50%;background:#fff;font-size:18px}
.tm-messages{overflow:auto;padding:24px;display:flex;flex-direction:column;gap:10px}
.tm-message{max-width:min(74%,540px);align-self:flex-start}
.tm-message.is-mine{align-self:flex-end}
.tm-message-meta{margin:0 5px 4px;color:#64748b;font-size:10px}
.tm-message-bubble{padding:11px 14px;border-radius:18px;background:#fff;box-shadow:0 4px 15px rgba(15,23,42,.06);white-space:pre-wrap;word-break:break-word}
.tm-message.is-mine .tm-message-bubble{background:#2563eb;color:#fff;border-bottom-right-radius:5px}
.tm-message:not(.is-mine) .tm-message-bubble{border-bottom-left-radius:5px}
.tm-message-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;background:#fff;border-top:1px solid var(--tm-line)}
.tm-message-form textarea{resize:none;border:1px solid #d8dee8;border-radius:16px;padding:11px 14px;min-height:46px;max-height:130px}
.tm-message-form button{border:0;border-radius:14px;background:var(--tm-primary);color:#fff;padding:0 18px;font-weight:800}
.tm-settings-card{padding:18px}
.tm-settings-card h3{margin:0 0 15px}
.tm-settings-card label{display:block;margin:13px 0;color:#334155;font-size:13px}
.tm-settings-card input{width:100%;margin-top:6px;border:1px solid #d8dee8;border-radius:10px;padding:9px}
.tm-primary-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:13px;background:var(--tm-primary);color:#fff;padding:12px 18px;font-weight:800;min-height:44px}
.tm-modal[hidden]{display:none!important}
.tm-modal{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:18px}
.tm-modal-backdrop{position:absolute;inset:0;background:rgba(5,10,20,.7);backdrop-filter:blur(6px)}
.tm-modal-card{position:relative;width:min(100%,440px);max-height:min(90vh,780px);overflow:auto;background:#fff;border-radius:24px;padding:26px;color:#111827;box-shadow:0 28px 80px rgba(0,0,0,.32)}
.tm-modal-card h2{margin:0 0 8px}
.tm-modal-card>p{color:#64748b;line-height:1.65}
.tm-modal-card label{display:block;margin:15px 0;font-size:13px;font-weight:700}
.tm-modal-card input[type=text],.tm-modal-card input[type=email],.tm-modal-card input[type=password]{width:100%;margin-top:6px;border:1px solid #cfd7e3;border-radius:12px;padding:12px}
.tm-modal-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f5f9;font-size:22px}
.tm-confirm-card{width:min(100%,460px);text-align:left}
.tm-confirm-card h2{margin-bottom:10px}
.tm-confirm-card>p{margin:0;color:#475569;font-size:15px;line-height:1.8}
.tm-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}
.tm-confirm-actions .tm-secondary-button,.tm-confirm-actions .tm-primary-button{min-width:120px}
.tm-check-row{display:flex!important;align-items:flex-start;gap:8px;font-weight:400!important;line-height:1.55}
.tm-check-row input{margin-top:4px}
.tm-form-message{margin-top:12px;font-size:13px;line-height:1.5}
.tm-form-message.is-error{color:#b91c1c}
.tm-form-message.is-success{color:#047857}
.tm-call-card{width:min(100%,720px);text-align:center;background:#0f172a;color:#fff}
.tm-call-controls{display:flex;justify-content:center;gap:12px;margin-top:20px}
.tm-call-controls button{border:0;border-radius:999px;padding:12px 17px}
.tm-call-controls .is-danger{background:var(--tm-danger);color:#fff}
.tm-basic-page{padding:40px 18px}
.tm-basic-card{max-width:900px;margin:auto;background:#fff;border-radius:20px;padding:30px}
@media(max-width:782px){body.admin-bar .tm-weather-lock{top:46px}.tm-app-header{padding:15px}.tm-app-user span{display:none}.tm-tabs{padding:7px 10px}.tm-app-body{grid-template-columns:1fr;height:calc(100vh - 126px)}.tm-side-panel{border-right:0}.tm-chat-panel{position:fixed;inset:126px 0 0;z-index:30;display:none}.tm-chat-panel.is-open{display:block}.tm-chat-header:before{content:"‹";font-size:32px;margin-right:2px;cursor:pointer}.tm-chat-header>div:first-of-type{flex:1}.tm-temperature-display{font-size:88px}.tm-current-icon{font-size:64px}.tm-day-row{grid-template-columns:1fr 42px 50px 50px}.tm-app-user{gap:6px}.tm-small-button{padding:7px 9px}.tm-messages{padding:16px}.tm-message{max-width:86%}.tm-hidden-hint{opacity:.5}}
@media(max-width:420px){.tm-weather-shell{padding-left:12px;padding-right:12px}.tm-place{font-size:21px}.tm-current-weather{padding-top:20px}.tm-temperature-display{font-size:79px}.tm-hour-item{flex-basis:58px}.tm-modal-card{padding:22px 18px}.tm-app-header h1{font-size:22px}}

/* v1.0.2 マイページ・プロフィール設定 */
.tm-main-area{min-height:calc(100vh - 139px)}
.tm-page-panel{min-height:calc(100vh - 139px);padding:34px 24px 48px;background:linear-gradient(180deg,#f7faff 0%,#eef4fb 100%)}
.tm-page-panel[hidden],.tm-app-body[hidden],.tm-search-row[hidden]{display:none!important}
.tm-role-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 10px;border-radius:999px;background:#e8f1ff;color:#1d4ed8;font-size:12px;font-weight:800}
.tm-mypage-wrap,.tm-settings-page{width:min(100%,980px);margin:0 auto}
.tm-profile-hero{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:30px;border:1px solid #dbe5f1;border-radius:26px;background:#fff;box-shadow:0 18px 55px rgba(15,23,42,.08)}
.tm-profile-avatar-wrap{display:flex;align-items:center;justify-content:center}
.tm-avatar-large{width:112px;height:112px;flex:0 0 112px;font-size:38px;box-shadow:0 12px 30px rgba(37,99,235,.16)}
.tm-avatar.has-image{overflow:hidden;background:#e2e8f0}
.tm-avatar.has-image img{display:block;width:100%;height:100%;object-fit:cover}
.tm-profile-main-copy{min-width:0}
.tm-profile-main-copy h2{margin:8px 0 5px;font-size:30px;line-height:1.2;overflow-wrap:anywhere}
.tm-profile-main-copy p{margin:0;color:#64748b;font-size:15px}
.tm-profile-role{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;background:#e8f1ff;color:#1d4ed8;font-size:12px;font-weight:800}
.tm-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.tm-profile-info-card{padding:22px;border:1px solid #dbe5f1;border-radius:20px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.05)}
.tm-profile-info-card span{display:block;margin-bottom:8px;color:#64748b;font-size:12px;font-weight:700}
.tm-profile-info-card strong{display:block;color:#1e293b;font-size:18px;overflow-wrap:anywhere}
.tm-profile-memo-card{grid-column:1/-1}
.tm-profile-memo-card p{margin:0;color:#334155;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.tm-chat-rule-card{margin-top:18px;padding:24px;border:1px solid #dbe5f1;border-radius:20px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.05)}
.tm-chat-rule-card h3{margin:0 0 15px;font-size:18px}
.tm-chat-rule-card p{margin:15px 0;color:#64748b;line-height:1.7}
.tm-chat-rule-flow{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.tm-chat-rule-flow span{padding:9px 14px;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:800}
.tm-chat-rule-flow b{color:#2563eb;font-size:20px}
.tm-secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid #cbd5e1;border-radius:13px;background:#fff;color:#334155;font-weight:800}
.tm-settings-form{display:grid;gap:18px}
.tm-settings-section{padding:28px;border:1px solid #dbe5f1;border-radius:24px;background:#fff;box-shadow:0 14px 42px rgba(15,23,42,.06)}
.tm-settings-section h2{margin:0 0 6px;font-size:22px}
.tm-settings-description{margin:0 0 22px;color:#64748b;font-size:13px;line-height:1.7}
.tm-icon-setting-row{display:flex;align-items:center;gap:22px;padding:18px;border-radius:18px;background:#f8fafc}
.tm-icon-setting-row p{margin:9px 0 0;color:#64748b;font-size:12px}
.tm-file-select-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-weight:800;cursor:pointer}
.tm-settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:22px}
.tm-settings-fields label{display:block;color:#334155;font-size:13px;font-weight:800}
.tm-settings-fields input,.tm-settings-fields textarea{display:block;width:100%;margin-top:7px;border:1px solid #cfd8e5;border-radius:13px;background:#fff;padding:12px 13px;color:#111827;outline:none}
.tm-settings-fields input:focus,.tm-settings-fields textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.16)}
.tm-settings-fields textarea{resize:vertical;min-height:120px;grid-column:1/-1}
.tm-settings-fields label:has(textarea){grid-column:1/-1}
.tm-settings-fields-two{grid-template-columns:1fr 1fr}
.tm-settings-submit-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.tm-readonly-note{padding:14px 18px;border-top:1px solid #fde68a;background:#fffbeb;color:#92400e;font-size:13px;text-align:center}
.tm-readonly-chip{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:800}
.tm-side-heading{display:block;padding:12px;color:#334155;font-size:13px}
.tm-empty-side{display:grid;gap:7px;padding:40px 18px;text-align:center;color:#64748b}
.tm-empty-side strong{color:#334155;font-size:16px}
.tm-empty-side span{font-size:12px;line-height:1.7}
.tm-loading-side{padding:22px;color:#64748b}
.tm-list-actions small{color:#94a3b8;white-space:nowrap}
.tm-list-item .tm-avatar{overflow:hidden}

@media(max-width:782px){
  .tm-main-area{min-height:calc(100vh - 126px)}
  .tm-page-panel{min-height:calc(100vh - 126px);padding:20px 13px 34px}
  .tm-role-badge{display:inline-flex!important}
  .tm-profile-hero{grid-template-columns:auto 1fr;gap:16px;padding:21px}
  .tm-profile-hero>.tm-primary-button{grid-column:1/-1;width:100%}
  .tm-avatar-large{width:82px;height:82px;flex-basis:82px;font-size:29px}
  .tm-profile-main-copy h2{font-size:23px}
  .tm-profile-grid{grid-template-columns:1fr}
  .tm-profile-memo-card{grid-column:auto}
  .tm-settings-section{padding:21px 16px}
  .tm-settings-fields,.tm-settings-fields-two{grid-template-columns:1fr}
  .tm-settings-fields label:has(textarea){grid-column:auto}
  .tm-icon-setting-row{align-items:flex-start;gap:15px;padding:14px}
  .tm-settings-submit-row>*{flex:1 1 100%}
}

@media(max-width:420px){
  .tm-profile-hero{grid-template-columns:1fr;text-align:center}
  .tm-profile-avatar-wrap{margin:auto}
  .tm-profile-main-copy{text-align:center}
  .tm-profile-hero>.tm-primary-button{grid-column:auto}
  .tm-chat-rule-flow{justify-content:center}
  .tm-icon-setting-row{flex-direction:column;align-items:center;text-align:center}
}

/* v1.0.35 マイページ簡素化・複数一言メモ */
.tm-profile-hero-simple .tm-profile-main-copy h2{margin-bottom:0}
.tm-profile-memo-manager{margin-top:18px;padding:24px;border:1px solid #dbe5f1;border-radius:22px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.05)}
.tm-profile-memo-manager-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.tm-profile-memo-manager-head>div>span{display:block;color:#ff5f70;font-size:10px;font-weight:900;letter-spacing:.16em}
.tm-profile-memo-manager-head h3{margin:5px 0 0;color:#172033;font-size:22px}
.tm-profile-memo-add-toggle{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:1px solid #ff8b99;border-radius:50%;background:#fff;color:#ff566a;font-size:28px;font-weight:400;line-height:1;cursor:pointer}
.tm-profile-memo-add-toggle:hover{background:#fff4f6}
.tm-profile-memo-add-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.55fr);gap:14px;margin-top:20px;padding:18px;border:1px solid #e1e8f2;border-radius:17px;background:#f8fafc}
.tm-profile-memo-add-form[hidden]{display:none!important}
.tm-profile-memo-add-form label{display:block;color:#334155;font-size:12px;font-weight:800}
.tm-profile-memo-add-form input,.tm-profile-memo-add-form select{display:block;width:100%;margin-top:7px;border:1px solid #cfd8e5;border-radius:12px;background:#fff;padding:12px 13px;color:#111827;font-size:16px;outline:none}
.tm-profile-memo-add-form input:focus,.tm-profile-memo-add-form select:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.16)}
.tm-profile-memo-add-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}
.tm-profile-memo-add-actions button{min-width:130px}
.tm-profile-memo-add-form .tm-form-message{grid-column:1/-1;margin:0}
.tm-profile-memo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding:10px 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}
.tm-profile-memo-toolbar[hidden]{display:none!important}
.tm-profile-memo-toolbar label{display:flex;align-items:center;gap:7px;color:#475569;font-size:12px;font-weight:800;cursor:pointer}
.tm-profile-memo-toolbar input{width:18px;height:18px;accent-color:#2563eb}
.tm-profile-memo-delete-selected{min-height:38px;padding:8px 13px;border:1px solid #fda4af;border-radius:11px;background:#fff5f6;color:#be123c;font-size:12px;font-weight:900;cursor:pointer}
.tm-profile-memo-delete-selected:disabled{border-color:#e2e8f0;background:#f8fafc;color:#94a3b8;cursor:not-allowed}
.tm-profile-memo-list{display:grid;gap:10px;margin-top:15px}
.tm-profile-memo-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;border:1px solid #dbe5f1;border-radius:15px;background:#fff}
.tm-profile-memo-select{display:grid;place-items:center;cursor:pointer}
.tm-profile-memo-select input{width:19px;height:19px;accent-color:#2563eb}
.tm-profile-memo-copy{min-width:0}
.tm-profile-memo-copy p{margin:0;color:#1e293b;font-size:15px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.tm-profile-memo-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px;color:#94a3b8;font-size:11px}
.tm-profile-memo-meta strong{color:#e11d48;font-weight:800}
.tm-profile-memo-delete{min-height:36px;padding:7px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#64748b;font-size:12px;font-weight:800;cursor:pointer}
.tm-profile-memo-delete:hover{border-color:#fda4af;background:#fff5f6;color:#be123c}
.tm-profile-memo-empty{margin-top:18px;padding:34px 18px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;color:#64748b;font-size:13px;text-align:center}
.tm-settings-inline-note{grid-column:1/-1;margin:0;padding:13px 15px;border-radius:12px;background:#f8fafc;color:#64748b;font-size:12px;line-height:1.7}
@media(max-width:782px){
  .tm-profile-memo-manager{padding:20px 15px}
  .tm-profile-memo-add-form{grid-template-columns:1fr;padding:15px}
  .tm-profile-memo-add-actions,.tm-profile-memo-add-form .tm-form-message{grid-column:auto}
  .tm-profile-memo-add-actions button{flex:1;min-width:0}
}
@media(max-width:480px){
  .tm-profile-memo-item{grid-template-columns:auto minmax(0,1fr)}
  .tm-profile-memo-delete{grid-column:2;justify-self:end}
  .tm-profile-memo-toolbar{align-items:flex-start;flex-direction:column}
  .tm-profile-memo-delete-selected{width:100%}
}

/* v1.0.3 固定フッター・店舗詳細・LINE風チャット */
:root{
  --tm-footer-height:78px;
  --tm-line-green:#06c755;
  --tm-line-chat-bg:#8fa9bf;
}
.tm-app{padding-bottom:calc(var(--tm-footer-height) + env(safe-area-inset-bottom));}
.tm-app-header{z-index:70;box-shadow:0 1px 8px rgba(15,23,42,.04)}
.tm-main-area{min-height:calc(100dvh - 86px - var(--tm-footer-height));}
.tm-page-panel{min-height:calc(100dvh - 86px - var(--tm-footer-height));padding-bottom:110px}
.tm-fixed-footer{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:500;
  display:flex;
  align-items:stretch;
  justify-content:center;
  height:calc(var(--tm-footer-height) + env(safe-area-inset-bottom));
  padding:0 max(12px,env(safe-area-inset-left)) env(safe-area-inset-bottom) max(12px,env(safe-area-inset-right));
  border-top:1px solid #dfe3e8;
  background:rgba(255,255,255,.98);
  box-shadow:0 -8px 28px rgba(15,23,42,.08);
  backdrop-filter:blur(18px);
}
.tm-fixed-footer .tm-tab{
  position:relative;
  display:flex;
  flex:0 1 180px;
  min-width:100px;
  height:var(--tm-footer-height);
  padding:9px 14px 8px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#6b7280;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.tm-fixed-footer .tm-tab svg{width:25px;height:25px;fill:currentColor;transition:transform .15s ease}
.tm-footer-unread-badge{position:absolute;top:5px;left:50%;margin-left:9px;z-index:3;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#ff334f;color:#fff;font-size:9px;font-weight:900;line-height:1;box-shadow:0 2px 7px rgba(220,38,38,.22);pointer-events:none}
.tm-footer-unread-badge[hidden]{display:none!important}
.tm-fixed-footer .tm-tab.is-active{background:transparent;color:var(--tm-line-green)}
.tm-fixed-footer .tm-tab.is-active svg{transform:translateY(-1px)}
.tm-fixed-footer .tm-tab:focus-visible{outline:3px solid rgba(6,199,85,.24);outline-offset:-3px}

.tm-store-page{width:min(100%,1080px);margin:0 auto}
.tm-store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tm-store-card{padding:26px;border:1px solid #dbe5f1;border-radius:24px;background:#fff;box-shadow:0 14px 42px rgba(15,23,42,.07)}
.tm-store-card-head{display:flex;align-items:center;gap:20px}
.tm-store-card-head>div{min-width:0}
.tm-store-card-head h2{margin:7px 0 4px;font-size:24px;line-height:1.25;overflow-wrap:anywhere}
.tm-store-card-head p{margin:0;color:#64748b;overflow-wrap:anywhere}
.tm-store-details{display:grid;gap:0;margin:22px 0 0;border-top:1px solid #eef2f7}
.tm-store-details>div{padding:16px 0;border-bottom:1px solid #eef2f7}
.tm-store-details dt{margin:0 0 7px;color:#64748b;font-size:12px;font-weight:800}
.tm-store-details dd{margin:0;color:#1e293b;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.tm-store-chat-button{width:100%;min-height:46px;margin-top:18px;border:0;border-radius:14px;background:var(--tm-line-green);color:#fff;font-weight:800}
.tm-store-loading,.tm-store-empty{display:grid;gap:7px;padding:60px 20px;border:1px solid #dbe5f1;border-radius:22px;background:#fff;text-align:center;color:#64748b}
.tm-store-empty strong{color:#1e293b;font-size:18px}

.tm-app-body{
  width:min(100%,1440px);
  height:calc(100dvh - 86px - var(--tm-footer-height));
  margin:0 auto;
  grid-template-columns:minmax(320px,390px) minmax(0,1fr);
  border-left:1px solid #dde2e8;
  border-right:1px solid #dde2e8;
  background:#fff;
}
.tm-side-panel{background:#fff;border-right:1px solid #dfe3e8}
.tm-line-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 10px;background:#fff}
.tm-line-list-head h2{margin:0;font-size:24px;letter-spacing:.01em}
.tm-line-head-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#eef8f2;color:#079447;padding:8px 13px;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.tm-search-row{position:static;padding:10px 14px 13px;border-bottom:1px solid #eceff2;background:#fff}
.tm-search-row input{height:40px;border:0;border-radius:10px;background:#f0f2f4;padding:0 13px;color:#111827;outline:none}
.tm-search-row input:focus{box-shadow:0 0 0 2px rgba(6,199,85,.2)}
.tm-search-row button{min-width:58px;border-radius:10px;background:var(--tm-line-green);padding:0 12px}
.tm-side-content{padding:0}
.tm-line-room-item,.tm-side-content>.tm-list-item{
  position:relative;
  min-height:76px;
  gap:13px;
  padding:11px 14px;
  border-radius:0;
  border-bottom:1px solid #edf0f2;
}
.tm-line-room-item:hover,.tm-line-room-item.is-active,.tm-side-content>.tm-list-item:hover,.tm-side-content>.tm-list-item.is-active{background:#f2f3f5}
.tm-line-room-item .tm-avatar,.tm-side-content>.tm-list-item .tm-avatar{width:52px;height:52px;flex-basis:52px;font-size:18px}
.tm-line-room-item .tm-list-copy strong{font-size:15px;color:#111827}
.tm-line-room-item .tm-list-copy span{max-width:100%;margin-top:6px;color:#8a919b;font-size:12px}
.tm-line-room-meta{display:flex;align-self:stretch;flex:0 0 52px;align-items:flex-end;justify-content:flex-start;flex-direction:column;gap:5px;padding-top:2px}
.tm-line-room-meta time{color:#9aa1aa;font-size:10px;white-space:nowrap}
.tm-line-room-meta b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--tm-line-green);color:#fff;font-size:10px}
.tm-line-room-meta em{font-style:normal;color:#8a919b;font-size:10px}

.tm-chat-panel{background:var(--tm-line-chat-bg)}
.tm-chat-view{grid-template-rows:auto minmax(0,1fr) auto}
.tm-chat-header{min-height:66px;padding:9px 14px;background:#fff;border-bottom:1px solid #dfe3e8}
.tm-chat-back{display:none;width:38px;height:38px;border:0;background:transparent;color:#111827;font-size:36px;line-height:1}
.tm-chat-person{display:flex;min-width:0;flex:1;align-items:center;gap:11px}
.tm-chat-avatar{width:42px;height:42px;flex:0 0 42px}
.tm-chat-person>div{min-width:0}
.tm-chat-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#111827;font-size:16px}
.tm-chat-person span:not(.tm-avatar){margin-top:2px;color:#8b929c;font-size:11px}
.tm-chat-actions button{width:40px;height:40px;border:0;background:transparent;color:#4b5563;font-size:20px}
.tm-chat-actions button:hover{background:#f2f4f5}
.tm-messages{padding:22px 28px 28px;gap:8px;background:var(--tm-line-chat-bg)}
.tm-message-day{align-self:center;margin:7px 0 12px;padding:5px 12px;border-radius:999px;background:rgba(47,67,83,.36);color:#fff;font-size:11px}
.tm-message{display:flex;align-items:flex-end;gap:6px;max-width:min(78%,680px)}
.tm-message.is-mine{align-self:flex-end;flex-direction:row}
.tm-message:not(.is-mine){align-self:flex-start}
.tm-message-side{display:flex;align-items:flex-end;flex-direction:column;gap:1px;color:#f8fafc;font-size:9px;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.22)}
.tm-message-side time{white-space:nowrap}
.tm-message-bubble{padding:10px 13px;border-radius:18px;background:#fff;color:#111827;box-shadow:none;font-size:14px;line-height:1.55}
.tm-message.is-mine .tm-message-bubble{border-bottom-right-radius:5px;background:#8de75f;color:#111827}
.tm-message:not(.is-mine) .tm-message-bubble{border-bottom-left-radius:5px}
.tm-message-form{min-height:68px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:10px 13px;border-top:1px solid #d9dde1;background:#f7f7f7}
.tm-message-form textarea{min-height:44px;max-height:120px;border:1px solid #dfe3e7;border-radius:20px;background:#fff;padding:11px 15px;line-height:1.45;outline:none}
.tm-message-form textarea:focus{border-color:#b7bec7}
.tm-message-form button{width:58px;height:42px;border-radius:21px;background:var(--tm-line-green);padding:0 12px}
.tm-readonly-note{background:#fff8dc}

@media(max-width:782px){
  :root{--tm-footer-height:68px}
  .tm-app{padding-bottom:calc(var(--tm-footer-height) + env(safe-area-inset-bottom))}
  .tm-app-header{min-height:68px;padding:12px 14px}
  .tm-app-header h1{font-size:21px}
  .tm-app-user .tm-role-badge,.tm-app-user .tm-header-user-name{display:none!important}
  .tm-main-area{min-height:calc(100dvh - 68px - var(--tm-footer-height))}
  .tm-page-panel{min-height:calc(100dvh - 68px - var(--tm-footer-height));padding:17px 12px 94px}
  .tm-fixed-footer{justify-content:stretch;padding-left:0;padding-right:0}
  .tm-fixed-footer .tm-tab{flex:1 1 25%;min-width:0;height:var(--tm-footer-height);padding:7px 2px 5px;font-size:10px}
  .tm-fixed-footer .tm-tab svg{width:23px;height:23px}
  .tm-store-grid{grid-template-columns:1fr}
  .tm-store-card{padding:20px 16px}
  .tm-store-card-head{gap:14px}
  .tm-store-card-head .tm-avatar-large{width:78px;height:78px;flex-basis:78px}
  .tm-store-card-head h2{font-size:21px}
  .tm-app-body{height:calc(100dvh - 68px - var(--tm-footer-height));grid-template-columns:1fr;border:0}
  .tm-line-list-head{padding:15px 15px 8px}
  .tm-line-list-head h2{font-size:22px}
  .tm-chat-panel{
    position:fixed;
    top:68px;
    right:0;
    bottom:calc(var(--tm-footer-height) + env(safe-area-inset-bottom));
    left:0;
    z-index:300;
    display:none;
  }
  body.admin-bar .tm-chat-panel{top:114px}
  .tm-chat-panel.is-open{display:block}
  .tm-chat-back{display:block;flex:0 0 38px}
  .tm-chat-header{min-height:60px;padding:7px 9px}
  .tm-chat-avatar{width:39px;height:39px;flex-basis:39px}
  .tm-chat-actions{gap:0}
  .tm-chat-actions button{width:38px;height:38px}
  .tm-messages{padding:17px 12px 20px}
  .tm-message{max-width:88%}
  .tm-message-form{padding:8px 9px;min-height:60px}
}

@media(max-width:420px){
  .tm-fixed-footer .tm-tab span{font-size:9px}
  .tm-store-card-head{align-items:flex-start}
  .tm-chat-actions button{width:34px}
  .tm-message{max-width:91%}
}

@media(max-width:782px){.tm-chat-header:before{content:none!important;display:none!important}}


/* v1.0.37 一言メモのフォルダ分け・日付指定自動削除 */
.tm-profile-folder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-top:18px;padding-top:18px;border-top:1px solid #edf1f6}
.tm-profile-folder-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.tm-profile-folder-tab-wrap{position:relative;display:inline-flex;align-items:center}
.tm-profile-folder-tab{min-height:38px;padding:8px 14px;border:1px solid #dbe5f1;border-radius:999px;background:#f8fafc;color:#475569;font-size:12px;font-weight:900;cursor:pointer}
.tm-profile-folder-tab span{margin-left:4px;color:#94a3b8;font-size:10px}
.tm-profile-folder-tab.is-active{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}
.tm-profile-folder-delete{display:grid;place-items:center;width:24px;height:24px;margin-left:-6px;border:1px solid #fecdd3;border-radius:50%;background:#fff;color:#e11d48;font-size:16px;line-height:1;cursor:pointer}
.tm-profile-folder-add-toggle{min-height:38px;flex:0 0 auto;padding:8px 14px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#334155;font-size:12px;font-weight:900;cursor:pointer}
.tm-profile-folder-add-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:10px;margin-top:14px;padding:14px;border:1px solid #dbe5f1;border-radius:14px;background:#f8fafc}
.tm-profile-folder-add-form[hidden]{display:none!important}
.tm-profile-folder-add-form label{color:#334155;font-size:12px;font-weight:800}
.tm-profile-folder-add-form input{display:block;width:100%;margin-top:7px;border:1px solid #cfd8e5;border-radius:11px;background:#fff;padding:11px 12px;color:#111827;font-size:16px}
.tm-profile-folder-add-form .tm-form-message{grid-column:1/-1;margin:0}
.tm-profile-memo-add-form{grid-template-columns:minmax(0,1fr) minmax(180px,.45fr)}
.tm-profile-memo-auto-delete{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(180px,280px) minmax(0,1fr);align-items:end;gap:12px;padding:13px 14px;border:1px solid #dbe5f1;border-radius:13px;background:#fff}
.tm-profile-memo-auto-check{display:flex!important;align-items:center;gap:8px;min-height:44px;margin:0!important;cursor:pointer}
.tm-profile-memo-auto-check input{display:inline-block!important;width:20px!important;height:20px;margin:0!important;accent-color:#2563eb}
.tm-profile-memo-delete-date-wrap{margin:0!important}
.tm-profile-memo-delete-date-wrap[hidden]{display:none!important}
.tm-profile-memo-auto-delete small{align-self:center;color:#64748b;font-size:11px;line-height:1.6}
.tm-profile-memo-meta em{padding:3px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-style:normal;font-weight:800}
.tm-profile-memo-side{display:flex;align-items:flex-end;gap:8px}
.tm-profile-memo-side label{display:block;color:#64748b;font-size:10px;font-weight:800}
.tm-profile-memo-side select{display:block;min-width:120px;margin-top:4px;border:1px solid #dbe5f1;border-radius:9px;background:#fff;padding:8px 28px 8px 9px;color:#334155;font-size:12px}
@media(max-width:782px){
  .tm-profile-folder-head{align-items:stretch;flex-direction:column}
  .tm-profile-folder-add-toggle{width:100%}
  .tm-profile-folder-add-form{grid-template-columns:1fr 1fr}
  .tm-profile-folder-add-form label{grid-column:1/-1}
  .tm-profile-memo-auto-delete{grid-template-columns:1fr}
  .tm-profile-memo-auto-delete small{align-self:auto}
}
@media(max-width:600px){
  .tm-profile-folder-add-form{grid-template-columns:1fr}
  .tm-profile-folder-add-form label,.tm-profile-folder-add-form .tm-form-message{grid-column:auto}
  .tm-profile-memo-item{grid-template-columns:auto minmax(0,1fr)}
  .tm-profile-memo-side{grid-column:2;align-items:stretch;flex-direction:column}
  .tm-profile-memo-side select{width:100%}
  .tm-profile-memo-delete{width:100%}
}

/* v1.0.40 アイコン位置調整 */
.tm-icon-crop-card{width:min(100%,620px)}
.tm-icon-crop-card>p{margin:0 0 18px;color:#64748b;line-height:1.7}
.tm-icon-crop-stage{display:grid;place-items:center}
.tm-icon-crop-viewport{position:relative;width:min(100%,320px);aspect-ratio:1/1;overflow:hidden;border-radius:28px;background:linear-gradient(135deg,#e2e8f0,#f8fafc);box-shadow:inset 0 0 0 1px #dbe5f1;touch-action:none;cursor:grab}
.tm-icon-crop-viewport:active{cursor:grabbing}
.tm-icon-crop-viewport::after{content:'';position:absolute;inset:0;border-radius:28px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.78);pointer-events:none}
.tm-icon-crop-viewport img{position:absolute;left:0;top:0;max-width:none;user-select:none;-webkit-user-drag:none;pointer-events:none}
.tm-icon-crop-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;margin-top:18px}
.tm-icon-crop-controls label{display:grid;gap:8px;color:#334155;font-size:13px;font-weight:800}
.tm-icon-crop-controls input[type=range]{width:100%}
.tm-icon-crop-actions-inline{display:flex;gap:10px}
.tm-icon-crop-actions-inline .tm-ghost-button{min-width:48px;min-height:44px;padding:0 14px;font-size:24px;line-height:1}
.tm-icon-crop-actions{margin-top:20px}
@media(max-width:640px){.tm-icon-crop-card{width:calc(100vw - 20px);padding:24px 16px}.tm-icon-crop-viewport{width:min(100%,300px)}.tm-icon-crop-controls{grid-template-columns:1fr}.tm-icon-crop-actions-inline{justify-content:flex-end}}

/* v1.0.59 管理画面グループ入力 */
.tm-store-group-row input[type=text]{flex:1;min-width:0;width:100%}

/* =========================================================
   v1.0.77 保存リスト・店舗確認チャット
========================================================= */
.tm-profile-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.tm-profile-saved-button{display:inline-flex;align-items:center;gap:7px}
.tm-profile-saved-button span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff0f2;color:#df4257;font-size:11px;font-weight:900}
.tm-saved-store-page{width:min(100%,980px);margin:0 auto}
.tm-saved-store-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;margin-bottom:18px}
.tm-saved-store-head>div>span{display:block;color:#ff5f70;font-size:10px;font-weight:900;letter-spacing:.16em}
.tm-saved-store-head h2{margin:5px 0 4px;color:#172033;font-size:26px}
.tm-saved-store-head p{margin:0;color:#687386;font-size:12px;line-height:1.7}
.tm-saved-store-card{padding:22px;border:1px solid #dbe5f1;border-radius:22px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.05)}
.tm-saved-store-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:14px;padding:10px 12px;border-radius:12px;background:#f7f9fc;color:#536173;font-size:12px}
.tm-saved-store-toolbar label{display:inline-flex;align-items:center;gap:7px;font-weight:800;cursor:pointer}
.tm-saved-store-toolbar-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.tm-saved-store-toolbar-controls label{gap:6px;color:#667284;font-size:11px;font-weight:800}
.tm-saved-store-toolbar-controls select{min-height:34px;padding:5px 28px 5px 9px;border:1px solid #d5dde7;border-radius:9px;background:#fff;color:#334155;font-size:11px;font-weight:700}
.tm-saved-store-toolbar-right{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.tm-saved-store-clear{min-height:34px;padding:5px 10px;border:1px solid #e0aeb6;border-radius:9px;background:#fff;color:#b13f50;font-size:10px;font-weight:900;cursor:pointer}
.tm-saved-store-clear:hover{background:#fff4f6}
.tm-saved-store-clear:disabled{opacity:.55;cursor:wait}
.tm-saved-store-list{display:grid;gap:10px}
.tm-saved-store-item{display:grid;grid-template-columns:32px 92px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #e0e6ee;border-radius:15px;background:#fff}
.tm-saved-store-check{display:grid;place-items:center;width:32px;height:32px;cursor:pointer}
.tm-saved-store-check input{width:18px;height:18px}
.tm-saved-store-image{display:grid;place-items:center;width:92px;height:72px;border-radius:10px;background:#f2f5f8;overflow:hidden}
.tm-saved-store-image img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.tm-saved-store-image span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;color:#ff5367;font-weight:900}
.tm-saved-store-copy{display:grid;gap:3px;min-width:0}
.tm-saved-store-copy strong{color:#172033;font-size:15px;overflow-wrap:anywhere}
.tm-saved-store-copy span{color:#d9485b;font-size:10px;font-weight:800}
.tm-saved-store-copy small{color:#6c7788;font-size:11px;overflow-wrap:anywhere}
.tm-saved-store-remove{min-height:34px;padding:5px 10px;border:1px solid #d6dde7;border-radius:9px;background:#fff;color:#667284;font-size:10px;font-weight:800;cursor:pointer}
.tm-saved-store-actions{display:flex;justify-content:flex-end;margin-top:18px}
.tm-saved-store-actions .tm-primary-button{min-width:180px}
.tm-saved-store-empty{display:grid;gap:6px;padding:34px 18px;text-align:center;color:#738094}
.tm-saved-store-empty strong{color:#354154;font-size:16px}
.tm-saved-store-empty span{font-size:12px}
.tm-saved-room-modal[hidden]{display:none!important}
.tm-saved-room-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}
.tm-saved-room-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.48);cursor:pointer}
.tm-saved-room-dialog{position:relative;z-index:1;width:min(100%,560px);max-height:min(78vh,720px);overflow:auto;padding:22px;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.25)}
.tm-saved-room-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.tm-saved-room-dialog-head span{display:block;color:#ff5f70;font-size:9px;font-weight:900;letter-spacing:.15em}
.tm-saved-room-dialog-head h3{margin:4px 0 0;color:#172033;font-size:20px}
.tm-saved-room-dialog>p{margin:10px 0 14px;color:#687386;font-size:12px;line-height:1.7}
.tm-saved-room-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dce2ea;border-radius:50%;background:#fff;color:#667284;font-size:20px;cursor:pointer}
.tm-saved-room-list{display:grid;gap:8px}
.tm-saved-room-choice{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e0e6ee;border-radius:12px;cursor:pointer}
.tm-saved-room-choice:has(input:checked){border-color:#ff8796;background:#fff7f8;box-shadow:0 0 0 1px #ff8796 inset}
.tm-saved-room-choice input{width:17px;height:17px}
.tm-saved-room-choice .tm-avatar{width:38px;height:38px}
.tm-saved-room-choice strong{min-width:0;color:#253044;font-size:13px;overflow-wrap:anywhere}
.tm-saved-room-choice small{color:#7a8493;font-size:10px}
.tm-saved-room-empty{padding:24px 12px;text-align:center;color:#7a8493;font-size:12px}
.tm-saved-room-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.tm-message-store-list{display:grid;gap:8px;min-width:min(260px,60vw)}
.tm-message-store-list>strong{font-size:11px;color:#5b6676}
.tm-message-store-list>div{display:grid;gap:6px}
.tm-message-store-link{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid rgba(75,95,120,.2);border-radius:10px;background:rgba(255,255,255,.68);color:#1557a7!important;font-weight:900;text-decoration:none!important;line-height:1.4}
.tm-message-store-link:hover{text-decoration:underline!important;background:#fff}
.tm-message.is-mine .tm-message-store-list>strong{color:#354154}
@media(max-width:700px){
  .tm-profile-hero-actions{grid-column:1/-1;width:100%;display:grid;grid-template-columns:1fr 1fr}
  .tm-profile-hero-actions>*{width:100%}
  .tm-saved-store-head{grid-template-columns:1fr}
  .tm-saved-store-head>button{justify-self:start}
  .tm-saved-store-card{padding:15px 12px}
  .tm-saved-store-toolbar{grid-template-columns:1fr;align-items:stretch}
  .tm-saved-store-toolbar-controls{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch}
  .tm-saved-store-toolbar-controls label{display:grid;gap:5px}
  .tm-saved-store-toolbar-controls select{width:100%}
  .tm-saved-store-toolbar-right{justify-content:space-between}
  .tm-saved-store-item{grid-template-columns:28px 72px minmax(0,1fr);gap:9px;padding:10px}
  .tm-saved-store-image{width:72px;height:58px}
  .tm-saved-store-remove{grid-column:2/-1;justify-self:end}
  .tm-saved-store-actions .tm-primary-button{width:100%;min-width:0}
  .tm-saved-room-dialog{padding:18px 14px}
  .tm-saved-room-choice{grid-template-columns:auto auto minmax(0,1fr)}
  .tm-saved-room-choice small{grid-column:3}
  .tm-saved-room-actions{display:grid;grid-template-columns:1fr 1fr}
  .tm-message-store-list{min-width:min(230px,70vw)}
}

/* =========================================================
   v1.0.78 保存通知ポップアップ中央表示
========================================================= */
.tm-center-notice[hidden]{display:none!important}
.tm-center-notice{position:fixed;inset:0;z-index:120000;display:grid;place-items:center;padding:20px}
.tm-center-notice-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.48);cursor:pointer}
.tm-center-notice-dialog{position:relative;z-index:1;width:min(92vw,420px);padding:24px 22px 20px;border:1px solid #dfe5ed;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28);text-align:center}
.tm-center-notice-dialog h3{margin:0;color:#172033;font-size:20px;line-height:1.4}
.tm-center-notice-dialog p{margin:12px 0 20px;color:#5f6b7c;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.tm-center-notice-ok{min-width:120px;min-height:42px;padding:8px 20px;border:0;border-radius:999px;background:#ff6274;color:#fff;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(255,98,116,.22)}
.tm-center-notice-ok:hover{filter:brightness(.96)}
.tm-center-notice.is-error .tm-center-notice-dialog{border-color:#efc2c8}
.tm-center-notice.is-error .tm-center-notice-dialog h3{color:#b42335}
.tm-center-notice.is-error .tm-center-notice-ok{background:#b42335}
.tm-center-notice.is-success .tm-center-notice-dialog{border-color:#c9e6d5}
.tm-center-notice.is-success .tm-center-notice-dialog h3{color:#247047}
.tm-center-notice.is-success .tm-center-notice-ok{background:#2e8b57}
.tm-center-confirm[hidden]{display:none!important}
.tm-center-confirm{position:fixed;inset:0;z-index:120010;display:grid;place-items:center;padding:20px}
.tm-center-confirm-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.48);cursor:pointer}
.tm-center-confirm-dialog{position:relative;z-index:1;width:min(92vw,440px);padding:24px 22px 20px;border:1px solid #dfe5ed;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28);text-align:center}
.tm-center-confirm-dialog h3{margin:0;color:#172033;font-size:20px;line-height:1.4}
.tm-center-confirm-dialog p{margin:12px 0 20px;color:#5f6b7c;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.tm-center-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tm-center-confirm-actions button{min-height:42px;padding:8px 14px;border-radius:999px;font-size:12px;font-weight:900;cursor:pointer}
.tm-center-confirm-cancel{border:1px solid #d6dde7;background:#fff;color:#5d6878}
.tm-center-confirm-ok{border:1px solid #c64a5b;background:#c64a5b;color:#fff;box-shadow:0 8px 18px rgba(198,74,91,.18)}
@media(max-width:600px){
  .tm-center-notice{padding:16px}
  .tm-center-notice-dialog{width:min(94vw,380px);padding:22px 16px 18px;border-radius:18px}
  .tm-center-notice-dialog h3{font-size:18px}
  .tm-center-notice-ok{width:100%}
  .tm-center-confirm{padding:16px}
  .tm-center-confirm-dialog{width:min(94vw,390px);padding:22px 16px 18px;border-radius:18px}
  .tm-center-confirm-dialog h3{font-size:18px}
}

/* =========================================================
   v1.0.90 メニュー・横断更新一覧・プロフィール日程メモ
========================================================= */
body.tm-main-menu-open{overflow:hidden}
.tm-main-menu-modal[hidden]{display:none!important}
.tm-main-menu-modal{position:fixed;inset:0;z-index:10080;display:grid;place-items:center;padding:20px}
.tm-main-menu-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.48);backdrop-filter:blur(3px);cursor:pointer}
.tm-main-menu-dialog{position:relative;width:min(620px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 40px));overflow:auto;border:1px solid #e1e6ed;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.22)}
.tm-main-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 15px;border-bottom:1px solid #edf0f4}
.tm-main-menu-head span{display:block;margin-bottom:3px;color:#ff5367;font-size:10px;font-weight:900;letter-spacing:.16em}
.tm-main-menu-head h2{margin:0;color:#172033;font-size:23px}
.tm-main-menu-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid #dbe0e7;border-radius:50%;background:#fff;color:#5b6572;font-size:22px;cursor:pointer}
.tm-main-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 20px 22px}
.tm-main-menu-grid>button{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;align-items:center;min-height:82px;padding:14px;border:1px solid #e0e5eb;border-radius:14px;background:#fff;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.tm-main-menu-grid>button:hover,.tm-main-menu-grid>button:focus-visible{transform:translateY(-2px);border-color:#9dc1ff;box-shadow:0 9px 20px rgba(15,23,42,.08);outline:none}
.tm-main-menu-icon{grid-row:1/3;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f3f6fa;font-size:20px}
.tm-main-menu-grid strong{align-self:end;color:#1f2937;font-size:14px}
.tm-main-menu-grid small{align-self:start;color:#7b8492;font-size:10px;line-height:1.45}

.tm-menu-feed-page{width:min(980px,100%);margin:0 auto}
.tm-menu-feed-loading,.tm-menu-feed-empty{padding:38px 20px;border:1px solid #e1e6ed;border-radius:16px;background:#fff;color:#7a8491;text-align:center}
.tm-menu-feed-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px 20px;border:1px solid #e1e6ed;border-radius:16px;background:#fff}
.tm-menu-feed-head>div>span{display:block;color:#ff5367;font-size:10px;font-weight:900;letter-spacing:.14em}
.tm-menu-feed-head h2{margin:4px 0 5px;color:#172033;font-size:25px}
.tm-menu-feed-head p{margin:0;color:#76808e;font-size:12px;line-height:1.65}
.tm-menu-latest-list,.tm-menu-update-list{display:grid;gap:12px}
.tm-menu-latest-card,.tm-menu-update-card{position:relative;display:grid;align-items:center;border:1px solid #e0e5eb;border-radius:15px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 5px 14px rgba(15,23,42,.04);transition:transform .16s ease,border-color .16s ease}
.tm-menu-latest-card:hover,.tm-menu-update-card:hover{transform:translateY(-2px);border-color:#ff9aa6}
.tm-menu-latest-card{grid-template-columns:112px minmax(0,1fr) 28px;gap:14px;padding:12px 14px}
.tm-menu-latest-image{display:grid;place-items:center;width:112px;aspect-ratio:4/3;border-radius:10px;background:#f3f5f8;overflow:hidden}
.tm-menu-latest-image img{width:100%;height:100%;object-fit:contain}
.tm-menu-latest-image span{font-size:24px;font-weight:900;color:#ff5367}
.tm-menu-latest-card small{display:block;color:#8a93a0;font-size:10px}
.tm-menu-latest-card strong{display:block;margin:3px 0;color:#172033;font-size:16px}
.tm-menu-latest-card p,.tm-menu-latest-card span{margin:0;color:#66717f;font-size:11px;line-height:1.55}
.tm-menu-latest-card>b,.tm-menu-update-card>b{color:#b0b7c1;font-size:22px;text-align:right}
.tm-menu-update-card{grid-template-columns:minmax(0,1fr) 26px;gap:8px;padding:15px 16px}
.tm-menu-update-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;grid-column:1}
.tm-menu-update-meta strong{color:#172033;font-size:14px;overflow-wrap:anywhere}
.tm-menu-update-meta span{color:#8b95a2;font-size:10px;white-space:nowrap}
.tm-menu-update-card>p{grid-column:1;margin:8px 0 0;color:#46515f;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.tm-menu-update-card>b{grid-column:2;grid-row:1/4;align-self:center}
.tm-menu-update-card.is-campaign{border-left:5px solid #ffb43e}
.tm-menu-update-card.is-earliest{border-left:5px solid #45b97c}
.tm-menu-earliest-date{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#eefaf4;color:#25764e;font-weight:900}

.tm-profile-schedule-board{display:grid;gap:10px;margin:16px 0;padding:14px;border:1px solid #e1e6ed;border-radius:15px;background:#fff}
.tm-profile-schedule-group{display:grid;gap:7px;padding:10px 11px;border-radius:11px;background:#f8fafc}
.tm-profile-schedule-line{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.tm-profile-schedule-date{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;background:#28384f;color:#fff;font-size:11px;font-weight:900;white-space:nowrap}
.tm-profile-schedule-inline-note{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border:1px solid #dbe2ea;border-radius:999px;background:#fff;color:#354052;font-size:11px;font-weight:700}
.tm-profile-schedule-below{display:grid;gap:5px;padding-left:4px}
.tm-profile-schedule-below p{margin:0;padding:7px 9px;border-left:3px solid #87a7dc;background:#fff;color:#4a5565;font-size:12px;line-height:1.65}

.tm-profile-schedule-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:13px}
.tm-profile-schedule-settings-head h2{margin-bottom:5px}
.tm-profile-schedule-editor{display:grid;gap:10px}
.tm-profile-schedule-editor-empty{margin:0;padding:17px;border:1px dashed #ced5de;border-radius:10px;color:#7a8491;text-align:center}
.tm-profile-schedule-editor-row{display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(130px,.55fr) minmax(220px,1fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid #dfe4ea;border-radius:12px;background:#f9fafb}
.tm-profile-schedule-editor-dates{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:end}
.tm-profile-schedule-editor-dates label,.tm-profile-schedule-type,.tm-profile-schedule-text{display:grid;gap:5px;color:#566171;font-size:11px;font-weight:800}
.tm-profile-schedule-editor select,.tm-profile-schedule-editor textarea{width:100%;border:1px solid #cfd6df;border-radius:8px;background:#fff;color:#28323f}
.tm-profile-schedule-editor select{height:40px;padding:0 9px}
.tm-profile-schedule-editor textarea{min-height:40px;padding:9px 10px;resize:vertical}
.tm-profile-schedule-editor textarea.is-inline{height:40px;min-height:40px;resize:none;white-space:nowrap;overflow-x:auto}
.tm-profile-schedule-editor textarea.is-below{min-height:82px}
.tm-profile-schedule-delete{min-height:40px;padding:0 12px;border:1px solid #efc7cc;border-radius:8px;background:#fff5f6;color:#b33a48;font-weight:800;cursor:pointer}

@media(max-width:760px){
  .tm-main-menu-modal{padding:12px}
  .tm-main-menu-dialog{width:min(560px,calc(100vw - 18px));border-radius:18px}
  .tm-main-menu-head{padding:16px 15px 12px}
  .tm-main-menu-grid{gap:8px;padding:12px}
  .tm-main-menu-grid>button{grid-template-columns:34px minmax(0,1fr);min-height:72px;padding:11px 10px}
  .tm-main-menu-icon{width:34px;height:34px;border-radius:10px;font-size:17px}
  .tm-main-menu-grid strong{font-size:12px}
  .tm-main-menu-grid small{font-size:9px}
  .tm-menu-feed-head{align-items:flex-start;padding:14px;flex-direction:column}
  .tm-menu-feed-head .tm-secondary-button{align-self:stretch;width:100%}
  .tm-menu-latest-card{grid-template-columns:86px minmax(0,1fr) 20px;gap:10px;padding:10px}
  .tm-menu-latest-image{width:86px}
  .tm-menu-update-meta{align-items:flex-start;flex-direction:column;gap:3px}
  .tm-menu-update-meta span{white-space:normal}
  .tm-profile-schedule-settings-head{align-items:stretch;flex-direction:column}
  .tm-profile-schedule-settings-head .tm-secondary-button{width:100%}
  .tm-profile-schedule-editor-row{grid-template-columns:1fr}
  .tm-profile-schedule-delete{width:100%}
}


/* =========================================================
   v1.0.103 マイページ更新情報・2日以内バッジ
========================================================= */
.tm-profile-update-board{margin-top:18px;border:1px solid #dbe5f1;border-radius:22px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.05);overflow:hidden}
.tm-profile-update-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #edf1f5}
.tm-profile-update-board-head h3{margin:0;color:#172033;font-size:20px}
.tm-profile-update-board-head small{color:#8a94a2;font-size:10px}
.tm-profile-update-list{display:grid}
.tm-profile-update-row{display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:10px;width:100%;min-height:52px;padding:12px 18px;border:0;border-bottom:1px solid #edf1f5;background:#fff;color:#253044;text-align:left;cursor:pointer}
.tm-profile-update-row:last-child{border-bottom:0}
.tm-profile-update-row:hover,.tm-profile-update-row:focus-visible{background:#f8fbff;outline:none}
.tm-profile-update-row>span{font-size:13px;font-weight:900}
.tm-profile-update-row>b{color:#a2adba;font-size:20px;text-align:right}
.tm-profile-update-badge,.tm-menu-recent-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:4px 9px;border-radius:999px;background:#ffedf0;color:#d6334d;font-size:10px;font-style:normal;font-weight:900;line-height:1;white-space:nowrap}
.tm-profile-update-badge[hidden]{display:none!important}
.tm-profile-update-row.has-update{background:linear-gradient(90deg,#fff 0%,#fff 72%,#fff8f9 100%)}
.tm-menu-latest-card,.tm-menu-update-card{position:relative}
.tm-menu-recent-badge{position:absolute;right:38px;top:10px;z-index:2;box-shadow:0 2px 8px rgba(214,51,77,.10)}
.tm-menu-work-accordion>summary .tm-menu-recent-badge.is-inline{position:static;margin-left:7px;vertical-align:middle}
.tm-menu-update-card.is-notice{border-left:5px solid #e04458}
@media(max-width:782px){
  .tm-profile-update-board-head{padding:15px 14px}
  .tm-profile-update-board-head h3{font-size:18px}
  .tm-profile-update-row{min-height:50px;padding:11px 14px}
  .tm-menu-recent-badge{right:30px;top:8px;font-size:9px}
}

/* =========================================================
   v1.0.91 メニュー操作・稼働明細アコーディオン
========================================================= */
.tm-main-menu-session{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 20px 20px;padding-top:18px;border-top:1px solid #edf0f4}
.tm-main-menu-session>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 14px;border:1px solid #dce2e9;border-radius:12px;background:#f8fafc;color:#46515f;font-weight:900;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}
.tm-main-menu-session>button:hover,.tm-main-menu-session>button:focus-visible{transform:translateY(-1px);border-color:#9eb8df;background:#fff;outline:none}
.tm-main-menu-session>button[data-main-menu-action="logout"]{border-color:#efc8ce;background:#fff7f8;color:#b13b49}
.tm-main-menu-session>button span{font-size:16px;line-height:1}

.tm-menu-work-list{display:grid;gap:12px}
.tm-menu-work-accordion{border:1px solid #dfe5ed;border-left:5px solid #5a8df6;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 5px 14px rgba(15,23,42,.04)}
.tm-menu-work-accordion>summary{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:10px;align-items:center;min-height:64px;padding:13px 16px;list-style:none;cursor:pointer;color:#172033}
.tm-menu-work-accordion>summary::-webkit-details-marker{display:none}
.tm-menu-work-summary-main{display:grid;gap:5px;min-width:0}
.tm-menu-work-summary-main>strong{font-size:14px;overflow-wrap:anywhere}
.tm-menu-work-summary-sub{display:flex;align-items:center;gap:8px;min-width:0;color:#8b95a2;font-size:10px}
.tm-menu-work-summary-sub>span{white-space:nowrap}
.tm-menu-work-summary-count{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#f3f6fa;color:#64748b;font-weight:800}
.tm-menu-work-accordion>summary b{position:relative;width:30px;height:30px;border:1px solid #dce2e9;border-radius:50%;background:#fff}
.tm-menu-work-accordion>summary b::before{content:'';position:absolute;left:50%;top:47%;width:7px;height:7px;border-right:2px solid #526175;border-bottom:2px solid #526175;transform:translate(-50%,-62%) rotate(45deg);transition:transform .18s ease}
.tm-menu-work-accordion[open]>summary b::before{transform:translate(-50%,-25%) rotate(225deg)}
.tm-menu-work-accordion-body{display:grid;gap:14px;padding:16px;border-top:1px solid #edf0f4}
.tm-menu-work-slider{position:relative;width:min(760px,100%);margin:0 auto}
.tm-menu-work-stage{position:relative;width:100%;overflow:hidden;border-radius:14px;background:#f3f5f8;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.tm-menu-work-slide{display:none;width:100%;aspect-ratio:4/3;padding:0;border:0;background:#f3f5f8;cursor:zoom-in}
.tm-menu-work-slide.is-active{display:grid;place-items:center}
.tm-menu-work-slide img{display:block;width:100%;height:100%;max-height:620px;object-fit:contain;-webkit-user-drag:none;pointer-events:none}
.tm-menu-work-arrow{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:42px;height:42px;margin-top:-21px;border:1px solid rgba(255,255,255,.78);border-radius:50%;background:rgba(15,23,42,.58);color:#fff;font-size:30px;line-height:1;cursor:pointer;backdrop-filter:blur(4px)}
.tm-menu-work-arrow.is-prev{left:10px}.tm-menu-work-arrow.is-next{right:10px}
.tm-menu-work-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:10px}
.tm-menu-work-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#cbd5e1;cursor:pointer;transition:width .16s ease,background .16s ease}
.tm-menu-work-dot.is-active{width:22px;background:#5a8df6}
.tm-menu-work-text{margin:0;color:#46515f;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.tm-menu-store-check{display:inline-flex;align-items:center;justify-content:center;gap:7px;justify-self:end;min-height:42px;padding:9px 16px;border:1px solid #5a8df6;border-radius:10px;background:#fff;color:#3265c6;font-size:12px;font-weight:900;text-decoration:none}
.tm-menu-store-check:hover{background:#f3f7ff;color:#2458bc}

.tm-menu-work-lightbox[hidden]{display:none!important}
.tm-menu-work-lightbox{position:fixed;inset:0;z-index:10150;display:grid;place-items:center;padding:24px}
.tm-menu-work-lightbox-backdrop{position:absolute;inset:0;border:0;background:rgba(5,10,18,.86);cursor:zoom-out}
.tm-menu-work-lightbox-dialog{position:relative;display:grid;place-items:center;width:min(1100px,calc(100vw - 48px));height:min(820px,calc(100dvh - 48px));padding:48px 58px 40px;border-radius:18px;background:rgba(15,23,42,.92);box-shadow:0 24px 80px rgba(0,0,0,.45);overflow:hidden}
.tm-menu-work-lightbox-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;touch-action:none;transform-origin:center center;transition:transform .08s linear;will-change:transform;-webkit-user-drag:none}.tm-menu-work-lightbox-image.is-zoomed{cursor:grab}.tm-menu-work-lightbox-image.is-zoomed:active{cursor:grabbing}
.tm-menu-work-lightbox-close{position:absolute;top:12px;right:12px;z-index:3;display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:26px;cursor:pointer}
.tm-menu-work-lightbox-arrow{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:46px;height:46px;margin-top:-23px;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:32px;cursor:pointer}
.tm-menu-work-lightbox-arrow.is-prev{left:10px}.tm-menu-work-lightbox-arrow.is-next{right:10px}
.tm-menu-work-lightbox-count{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);min-width:64px;padding:5px 10px;border-radius:999px;background:rgba(0,0,0,.38);color:#fff;font-size:11px;font-weight:800;text-align:center}
body.tm-menu-work-lightbox-open{overflow:hidden}

@media(max-width:760px){
  .tm-main-menu-session{gap:8px;margin:8px 12px 14px;padding-top:14px}
  .tm-main-menu-session>button{min-height:44px;padding:9px 10px;font-size:12px}
  .tm-menu-work-accordion>summary{grid-template-columns:minmax(0,1fr) 32px;padding:12px}
  .tm-menu-work-summary-sub{gap:6px;overflow:hidden}
  .tm-menu-work-summary-sub>span:first-child{overflow:hidden;text-overflow:ellipsis}
  .tm-menu-work-accordion>summary b{grid-column:2;align-self:center}
  .tm-menu-work-accordion-body{padding:12px}
  .tm-menu-work-arrow{width:36px;height:36px;margin-top:-18px;font-size:26px}
  .tm-menu-work-arrow.is-prev{left:7px}.tm-menu-work-arrow.is-next{right:7px}
  .tm-menu-store-check{justify-self:stretch;width:100%}
  .tm-menu-work-lightbox{padding:10px}
  .tm-menu-work-lightbox-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);padding:46px 42px 36px;border-radius:14px}
  .tm-menu-work-lightbox-arrow{width:38px;height:38px;margin-top:-19px;font-size:27px}
  .tm-menu-work-lightbox-arrow.is-prev{left:4px}.tm-menu-work-lightbox-arrow.is-next{right:4px}
}

.tm-app-header[hidden]{display:none!important}
.tm-app-header[hidden]+.tm-main-area{min-height:calc(100dvh - var(--tm-footer-height))}
.tm-app-header[hidden]+.tm-main-area>.tm-page-panel{min-height:calc(100dvh - var(--tm-footer-height))}
.tm-app-header[hidden]+.tm-main-area>.tm-app-body{height:calc(100dvh - var(--tm-footer-height))}
@media(max-width:782px){
  .tm-app-header[hidden]+.tm-main-area>.tm-chat-panel{top:0}
  body.admin-bar .tm-app-header[hidden]+.tm-main-area>.tm-chat-panel{top:46px}
}

/* =========================================================
   v1.0.100 天気エリア手動設定
========================================================= */
.tm-weather-area-modal{z-index:22000}
.tm-weather-area-card{width:min(100%,520px);padding:24px}
.tm-weather-area-eyebrow{margin:0 0 4px;color:#2563eb;font-size:10px;font-weight:900;letter-spacing:.16em}
.tm-weather-area-card h2{margin:0;color:#172033;font-size:23px}
.tm-weather-area-description{margin:8px 0 16px;color:#687386;font-size:12px;line-height:1.7}
.tm-weather-area-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.tm-weather-area-search-form input{min-width:0;height:46px;padding:0 13px;border:1px solid #d7deea;border-radius:12px;background:#fff;color:#1f2937}
.tm-weather-area-search-form button{min-width:76px;border:0;border-radius:12px;background:#2563eb;color:#fff;font-weight:900}
.tm-weather-area-message{min-height:20px;margin:8px 2px;color:#64748b;font-size:11px}
.tm-weather-area-search-results{display:grid;gap:7px;max-height:220px;overflow-y:auto}
.tm-weather-area-result{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:9px 12px;border:1px solid #dde4ee;border-radius:11px;background:#fff;color:#263244;text-align:left}
.tm-weather-area-result:hover,.tm-weather-area-result:focus-visible{border-color:#87aef2;background:#f3f7ff;outline:none}
.tm-weather-area-result strong{font-size:13px}
.tm-weather-area-result span{color:#8590a0;font-size:10px;white-space:nowrap}
.tm-weather-area-saved-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px;padding-top:14px;border-top:1px solid #edf0f4}
.tm-weather-area-saved-head strong{font-size:13px}
.tm-weather-area-saved-head span{color:#8a94a3;font-size:10px}
.tm-weather-area-saved{display:grid;gap:7px}
.tm-weather-area-saved-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:7px}
.tm-weather-area-saved-row:has(.tm-weather-area-delete:nth-child(0)){grid-template-columns:1fr}
.tm-weather-area-select{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:45px;padding:8px 12px;border:1px solid #dce3ed;border-radius:11px;background:#fff;color:#334155;text-align:left;font-weight:800}
.tm-weather-area-saved-row.is-active .tm-weather-area-select{border-color:#6f9fee;background:#eef5ff;color:#1d4ed8}
.tm-weather-area-select b{padding:3px 7px;border-radius:999px;background:#2563eb;color:#fff;font-size:9px;white-space:nowrap}
.tm-weather-area-delete{width:38px;border:1px solid #e2e6ec;border-radius:10px;background:#fff;color:#dc4b5d;font-size:18px;font-weight:800}
.tm-weather-area-saved-row:first-child .tm-weather-area-select{grid-column:1/-1}
.tm-weather-area-saved-row:first-child .tm-weather-area-delete{display:none}
@media(max-width:600px){
  .tm-weather-area-card{padding:21px 16px;border-radius:20px}
  .tm-weather-area-search-form{grid-template-columns:1fr}
  .tm-weather-area-search-form button{min-height:44px}
  .tm-weather-area-search-results{max-height:190px}
}

/* =========================================================
   v1.0.104 マイページ更新情報・お知らせ・メモUI整理
========================================================= */
.tm-profile-update-board-head{justify-content:flex-start}
.tm-profile-update-row{position:relative;display:flex;align-items:center;padding-right:124px}
.tm-profile-update-row>span{min-width:0;flex:1 1 auto}
.tm-profile-update-badge{position:absolute;right:48px;top:50%;transform:translateY(-50%);min-width:64px;text-align:center}
.tm-profile-update-row>b{position:absolute;right:16px;top:50%;display:grid;place-items:center;width:24px;height:24px;transform:translateY(-50%);text-align:center}

.tm-profile-memo-add-form textarea{display:block;width:100%;min-height:112px;margin-top:7px;border:1px solid #cfd8e5;border-radius:12px;background:#fff;padding:12px 13px;color:#111827;font:inherit;font-size:16px;line-height:1.65;outline:none;resize:vertical;box-sizing:border-box}
.tm-profile-memo-add-form textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.16)}

.tm-announcement-compose{margin-bottom:18px;padding:20px;border:1px solid #dbe5f1;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(15,23,42,.045)}
.tm-announcement-compose-head span{display:block;color:#2563eb;font-size:9px;font-weight:900;letter-spacing:.14em}
.tm-announcement-compose-head h3{margin:5px 0 4px;color:#172033;font-size:20px}
.tm-announcement-compose-head p{margin:0;color:#748092;font-size:11px;line-height:1.65}
.tm-announcement-form{display:grid;gap:13px;margin-top:16px}
.tm-announcement-form label{display:grid;gap:6px;color:#334155;font-size:12px;font-weight:900}
.tm-announcement-form input,.tm-announcement-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfd8e5;border-radius:12px;background:#fff;padding:12px 13px;color:#111827;font-size:16px;line-height:1.6;outline:none}
.tm-announcement-form textarea{min-height:140px;resize:vertical}
.tm-announcement-form input:focus,.tm-announcement-form textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.16)}
.tm-announcement-form-actions{display:flex;justify-content:flex-end}
.tm-announcement-form-actions button{min-width:150px}
.tm-announcement-list{display:grid;gap:12px}
.tm-announcement-card{padding:17px 18px;border:1px solid #dfe5ed;border-left:5px solid #5a8df6;border-radius:15px;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.04)}
.tm-announcement-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}
.tm-announcement-card-head>div{display:grid;gap:4px;min-width:0}
.tm-announcement-card-head strong{color:#172033;font-size:15px;overflow-wrap:anywhere}
.tm-announcement-card-head small{color:#8a94a3;font-size:10px}
.tm-announcement-card>p{margin:13px 0 0;color:#46515f;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.tm-announcement-card-actions{display:flex;justify-content:flex-end;margin-top:12px;padding-top:10px;border-top:1px solid #edf1f5}
.tm-announcement-card-actions button{min-height:34px;padding:6px 11px;border:1px solid #efc2c8;border-radius:9px;background:#fff7f8;color:#b42335;font-size:10px;font-weight:900;cursor:pointer}

@media(max-width:782px){
  .tm-profile-update-row{padding-left:14px;padding-right:112px}
  .tm-profile-update-badge{right:42px;min-width:62px;padding-left:6px;padding-right:6px}
  .tm-profile-update-row>b{right:12px;width:22px;height:22px}
  .tm-profile-memo-add-form{display:grid;grid-template-columns:1fr;gap:14px}
  .tm-profile-memo-input-wrap,.tm-profile-memo-folder-wrap,.tm-profile-memo-auto-delete,.tm-profile-memo-add-actions,.tm-profile-memo-add-form .tm-form-message{grid-column:1/-1!important}
  .tm-profile-memo-add-form textarea{min-height:132px}
  .tm-profile-memo-folder-wrap select{min-height:50px}
  .tm-profile-memo-auto-delete{display:grid;grid-template-columns:1fr!important;gap:8px;align-items:stretch}
  .tm-profile-memo-auto-check{min-height:42px}
  .tm-profile-memo-add-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;width:100%}
  .tm-profile-memo-add-actions button{width:100%;min-width:0!important;min-height:52px}
  .tm-announcement-compose{padding:16px 14px}
  .tm-announcement-form-actions{display:grid}
  .tm-announcement-form-actions button{width:100%;min-width:0;min-height:48px}
  .tm-announcement-card{padding:15px 14px}
  .tm-announcement-card-head{grid-template-columns:minmax(0,1fr) 68px}
}

/* Feed cards: opened pages do not show update badges; keep the arrow fixed at the right edge. */
.tm-menu-latest-card,.tm-menu-update-card{padding-right:50px}
.tm-menu-latest-card>b,.tm-menu-update-card>b{position:absolute;right:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:22px;height:28px}
.tm-menu-latest-card{grid-template-columns:112px minmax(0,1fr)}
.tm-menu-update-card{grid-template-columns:minmax(0,1fr)}
.tm-menu-update-card>p{grid-column:1}
@media(max-width:782px){
  .tm-menu-latest-card,.tm-menu-update-card{padding-right:42px}
  .tm-menu-latest-card>b,.tm-menu-update-card>b{right:8px;width:20px}
}
@media(max-width:760px){.tm-menu-latest-card{grid-template-columns:86px minmax(0,1fr)}}

/* =========================================================
   v1.0.106 お知らせインライン表示・最短日程表示
========================================================= */
.tm-profile-update-row.is-notice-toggle.is-open>b{transform:translateY(-50%) rotate(90deg)}
.tm-mypage-notice-inline{border-bottom:1px solid #edf1f5;background:#fbfcfe;padding:12px 14px}
.tm-mypage-notice-loading,.tm-mypage-notice-empty{padding:16px;border:1px dashed #d8e1ec;border-radius:12px;background:#fff;color:#7b8492;font-size:12px;text-align:center}
.tm-mypage-notice-items{display:grid;gap:9px}
.tm-mypage-notice-item{padding:13px 14px;border:1px solid #cfd9e6;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.025)}
.tm-mypage-notice-item p{margin:0;color:#334155;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.tm-mypage-notice-manage{display:block;margin:10px 0 0 auto;min-height:38px;padding:7px 13px;border:1px solid #b9cced;border-radius:10px;background:#fff;color:#2459a8;font-size:11px;font-weight:900;cursor:pointer}

.tm-announcement-card>p{margin:0;color:#46515f;font-size:13px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}
.tm-announcement-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;color:#7d8795;font-size:10px}
.tm-announcement-card-actions{gap:8px}
.tm-announcement-card-actions button:first-child{border-color:#bed2f4;background:#f5f9ff;color:#2459a8}
.tm-announcement-form label small{font-size:10px;font-weight:500;color:#8a94a3}

.tm-menu-earliest-main{grid-column:1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.tm-menu-earliest-main>em{flex:0 0 auto;max-width:45%;padding:6px 9px;border-radius:999px;background:#fff5df;color:#865f0a;font-size:10px;font-style:normal;font-weight:900;overflow-wrap:anywhere}
.tm-menu-earliest-note{grid-column:1;margin:8px 0 0!important;padding:10px 12px;border-left:3px solid #7bb997;background:#f7fcf9;color:#445348!important;white-space:pre-wrap}
.tm-menu-earliest-schedules{display:grid;gap:0;margin-top:8px}
.tm-menu-earliest-schedule{display:grid;gap:8px;padding:12px 0;border-top:1px solid #e7eee9}
.tm-menu-earliest-schedule:first-child{padding-top:0;border-top:0}
.tm-menu-earliest-schedule:last-child{padding-bottom:0}
.tm-menu-update-card.is-earliest.is-grouped .tm-menu-earliest-main{margin-top:0}
.tm-menu-update-card.is-earliest.is-grouped .tm-menu-earliest-note{margin-top:0!important}

@media(max-width:760px){
  .tm-mypage-notice-inline{padding:10px 11px}
  .tm-mypage-notice-item{padding:12px}
  .tm-menu-earliest-main{align-items:flex-start;flex-direction:column;gap:7px}
  .tm-menu-earliest-main>em{max-width:100%}
}

/* =========================================================
   v1.0.110 最短日程：枠コメント横固定＋業種タブ
========================================================= */
.tm-menu-earliest-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
}
.tm-menu-earliest-tabs button{
  min-height:38px;
  padding:7px 16px;
  border:1px solid #d9e0e8;
  border-radius:999px;
  background:#fff;
  color:#526071;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.tm-menu-earliest-tabs button.is-active{
  border-color:#3978ef;
  background:#3978ef;
  color:#fff;
  box-shadow:0 5px 12px rgba(57,120,239,.18);
}
.tm-menu-earliest-main{
  justify-content:flex-start;
  flex-direction:row;
  flex-wrap:nowrap;
  gap:7px;
  min-width:0;
}
.tm-menu-earliest-date{
  flex:0 0 auto;
  white-space:nowrap;
}
.tm-menu-earliest-main>em{
  flex:0 0 auto;
  max-width:none;
  white-space:nowrap;
}
.tm-menu-update-card[hidden]{display:none!important}
@media(max-width:760px){
  .tm-menu-earliest-tabs{gap:6px;margin-bottom:12px}
  .tm-menu-earliest-tabs button{min-height:36px;padding:6px 13px;font-size:11px}
  .tm-menu-earliest-main{align-items:center;flex-direction:row;flex-wrap:nowrap;gap:6px}
  .tm-menu-earliest-main>em{max-width:none;padding:5px 8px;font-size:9px}
  .tm-menu-earliest-date{padding:7px 10px;font-size:12px}
}

/* =========================================================
   v1.0.111 マイページ更新ブロック分離・アイコン表示
========================================================= */
.tm-profile-update-board.tm-profile-update-grid{
  display:grid;
  gap:10px;
  margin-top:18px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.tm-profile-update-card{
  overflow:hidden;
  border:1px solid #c7d5e6;
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
}
.tm-profile-update-card .tm-profile-update-row{
  min-height:54px;
  border-bottom:0;
  border-radius:0;
}
.tm-profile-update-card.is-notice-card .tm-profile-update-row.is-open{
  border-bottom:1px solid #edf1f5;
}
.tm-profile-update-row>span{
  display:flex;
  align-items:center;
  gap:9px;
}
.tm-profile-update-row>span>i{
  display:inline-grid;
  place-items:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  font-style:normal;
  font-size:15px;
  line-height:1;
}
.tm-profile-update-card .tm-mypage-notice-inline{
  border-bottom:0;
  background:#fbfcfe;
}
@media(max-width:782px){
  .tm-profile-update-board.tm-profile-update-grid{gap:8px}
  .tm-profile-update-card{border-radius:14px}
  .tm-profile-update-card .tm-profile-update-row{min-height:52px}
  .tm-profile-update-row>span{gap:8px}
  .tm-profile-update-row>span>i{flex-basis:20px;width:20px;height:20px;font-size:14px}
}


/* =========================================================
   v1.0.112 新着店舗30件・お知らせ本文アコーディオン
========================================================= */
.tm-mypage-notice-text-accordion{margin:0}
.tm-mypage-notice-text-accordion>summary{position:relative;display:block;padding-right:28px;color:#334155;font-size:13px;font-weight:700;line-height:1.8;cursor:pointer;list-style:none;overflow-wrap:anywhere}
.tm-mypage-notice-text-accordion>summary::-webkit-details-marker{display:none}
.tm-mypage-notice-text-accordion>summary::after{content:"＋";position:absolute;right:2px;top:50%;transform:translateY(-50%);color:#8c9aab;font-size:15px;font-weight:700}
.tm-mypage-notice-text-accordion[open]>summary::after{content:"−"}
.tm-mypage-notice-rest{margin-top:9px;padding-top:9px;border-top:1px dashed #d6dee8;color:#475569;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.tm-menu-latest-more{display:flex;align-items:center;justify-content:center;gap:7px;width:min(360px,100%);min-height:44px;margin:16px auto 0;padding:8px 18px;border:1px solid #b9cbe2;border-radius:12px;background:#fff;color:#31577f;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.tm-menu-latest-more:hover,.tm-menu-latest-more:focus-visible{border-color:#7fa7d5;background:#f7fbff;outline:none}
.tm-menu-latest-more span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:22px;padding:2px 7px;border-radius:999px;background:#eef5ff;color:#2d5f98;font-size:10px}
.tm-menu-latest-card{border-color:#c9d6e5}
@media(max-width:782px){
  .tm-mypage-notice-text-accordion>summary,.tm-mypage-notice-rest{font-size:12px}
  .tm-menu-latest-more{min-height:42px;margin-top:12px}
}

/* =========================================================
   v1.0.112 一言メモ編集・更新カード視認性調整
========================================================= */
.tm-profile-update-card{border-color:#b8c9dc;box-shadow:0 7px 20px rgba(15,23,42,.075)}
.tm-profile-update-card.is-notice-card .tm-profile-update-row.is-notice-heading{cursor:default}
.tm-profile-update-card.is-notice-card .tm-profile-update-row.is-notice-heading:hover{background:#fff}
.tm-profile-memo-side{min-width:220px}
.tm-profile-memo-item-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-top:7px}
.tm-profile-memo-edit,.tm-profile-memo-delete{width:100%;min-width:0;min-height:38px;padding:8px 10px;border-radius:10px;font-size:12px;font-weight:900;cursor:pointer;box-sizing:border-box}
.tm-profile-memo-edit{border:1px solid #93c5fd;background:#eff6ff;color:#1d4ed8}
.tm-profile-memo-edit:hover,.tm-profile-memo-edit:focus-visible{border-color:#60a5fa;background:#dbeafe;outline:none}
.tm-profile-memo-delete{border:1px solid #fecdd3;background:#fff5f6;color:#be123c}
.tm-profile-memo-delete:hover,.tm-profile-memo-delete:focus-visible{border-color:#fb7185;background:#ffe4e6;color:#9f1239;outline:none}
@media(max-width:600px){
  .tm-profile-memo-side{min-width:0;width:100%}
  .tm-profile-memo-item-actions{grid-template-columns:1fr 1fr;gap:8px}
  .tm-profile-memo-edit,.tm-profile-memo-delete{width:100%;min-height:44px}
}

/* =========================================================
   v1.0.114 新着／更新店舗の補足情報
========================================================= */
.tm-menu-latest-main{min-width:0}
.tm-menu-latest-business{margin-bottom:4px!important}
.tm-menu-latest-details{display:grid;gap:4px;margin-top:3px}
.tm-menu-latest-details>span{display:inline-flex;align-items:flex-start;gap:3px}
.tm-menu-latest-details .is-location-sb{min-width:0;color:#526475;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-menu-latest-details .is-notice{width:max-content;max-width:100%;margin-top:2px;padding:4px 7px;border-radius:7px;background:#fff0f2;color:#a3283a;font-weight:800}
@media(max-width:760px){
  .tm-menu-latest-details{gap:3px}
  .tm-menu-latest-details .is-location-sb{font-size:10px}
  .tm-menu-latest-details .is-notice{width:100%}
}

/* =========================================================
   v1.0.115 PWA Pull-to-Refresh
========================================================= */
html.tm-pull-refresh-enabled,
html.tm-pull-refresh-enabled body{overscroll-behavior-y:contain}
.tm-pull-refresh{
  --tm-pull-progress:0;
  position:fixed;
  z-index:10075;
  top:calc(env(safe-area-inset-top,0px) + 10px);
  left:50%;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:7px 13px;
  border:1px solid rgba(177,194,214,.92);
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#536173;
  box-shadow:0 8px 24px rgba(15,23,42,.14);
  opacity:0;
  pointer-events:none;
  transform:translate3d(-50%,-16px,0) scale(.94);
  transition:opacity .14s ease,transform .14s ease,background .14s ease,border-color .14s ease,color .14s ease;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.tm-pull-refresh.is-visible{opacity:calc(.55 + (var(--tm-pull-progress) * .45));transform:translate3d(-50%,0,0) scale(1)}
.tm-pull-refresh.is-ready{border-color:#77a4dd;background:rgba(239,246,255,.97);color:#245a96}
.tm-pull-refresh-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#eef3f8;font-size:14px;font-weight:900;line-height:1;transform:rotate(calc(var(--tm-pull-progress) * 180deg));transition:transform .08s linear,background .14s ease}
.tm-pull-refresh.is-ready .tm-pull-refresh-icon{background:#dcecff}
.tm-pull-refresh strong{font-size:11px;font-weight:900;white-space:nowrap}
.tm-pull-refresh.is-refreshing .tm-pull-refresh-icon{animation:tm-pull-refresh-spin .7s linear infinite}
@keyframes tm-pull-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
  .tm-pull-refresh,.tm-pull-refresh-icon{transition:none}
  .tm-pull-refresh.is-refreshing .tm-pull-refresh-icon{animation-duration:1.2s}
}

/* v1.0.143 LINE風チャット拡張 */
.tm-line-list-head-actions{display:flex;align-items:center;gap:7px}
.tm-line-head-group{background:#eef4ff;color:#2563eb}
.tm-room-menu-button{font-size:25px!important;line-height:1}
.tm-message-form{grid-template-columns:auto minmax(0,1fr) auto}
.tm-message-image-button{width:42px!important;height:42px!important;align-self:end;border:1px solid #dfe3e7!important;border-radius:50%!important;background:#fff!important;color:#4b5563!important;padding:0!important;font-size:25px!important;font-weight:500!important}
.tm-message-content{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:3px}
.tm-message.is-mine .tm-message-content{align-items:flex-end}
.tm-message-sender-name{max-width:220px;margin:0 7px 1px;color:#f8fafc;font-size:10px;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.22);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-message-forward-label{margin:0 8px;color:rgba(255,255,255,.86);font-size:9px;font-weight:800;letter-spacing:.08em;text-shadow:0 1px 2px rgba(0,0,0,.22)}
.tm-message.is-mine .tm-message-forward-label{color:#425466;text-shadow:none}
.tm-message-menu-button{align-self:center;display:grid;place-items:center;width:28px;height:32px;flex:0 0 28px;border:0;border-radius:8px;background:transparent;color:rgba(255,255,255,.9);font-size:22px;line-height:1;opacity:.72;cursor:pointer}
.tm-message.is-mine .tm-message-menu-button{order:-2;color:#334155}
.tm-message-menu-button:hover,.tm-message-menu-button:focus{background:rgba(255,255,255,.25);opacity:1;outline:none}
.tm-message-select-check{display:none;width:24px;height:24px;flex:0 0 24px;place-items:center;align-self:center;border:2px solid rgba(255,255,255,.92);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-weight:900;cursor:pointer}
.tm-messages.is-selecting .tm-message-select-check{display:grid}
.tm-message.is-selected .tm-message-select-check{border-color:#06c755;background:#06c755}
.tm-message.is-selected{filter:drop-shadow(0 0 0.35rem rgba(6,199,85,.32))}
.tm-message.is-highlighted .tm-message-bubble{animation:tmChatHighlight 1.2s ease}
@keyframes tmChatHighlight{0%,100%{box-shadow:none}35%{box-shadow:0 0 0 5px rgba(255,238,88,.9)}}
.tm-message-recalled{color:#8a919b;font-size:12px;font-style:italic}
.tm-message.is-recalled .tm-message-bubble{background:rgba(255,255,255,.82);color:#8a919b}
.tm-message.is-mine.is-recalled .tm-message-bubble{background:rgba(255,255,255,.72)}
.tm-message-reply-reference{display:grid;gap:2px;width:min(300px,62vw);margin:0 3px 2px;padding:6px 9px;border:0;border-left:3px solid #06c755;border-radius:7px;background:rgba(255,255,255,.76);text-align:left;cursor:pointer}
.tm-message.is-mine .tm-message-reply-reference{background:rgba(255,255,255,.52)}
.tm-message-reply-reference strong{overflow:hidden;color:#198b46;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.tm-message-reply-reference span{overflow:hidden;color:#5e6772;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.tm-message-action-popover{position:fixed;z-index:100030;display:grid;gap:2px;padding:7px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.22);opacity:0;transform:translateY(-4px);transition:.14s ease}
.tm-message-action-popover.is-open{opacity:1;transform:none}
.tm-message-action-popover button{min-height:39px;border:0;border-radius:9px;background:#fff;color:#1f2937;padding:7px 11px;text-align:left;font-size:13px;font-weight:700;cursor:pointer}
.tm-message-action-popover button:hover{background:#f2f5f7}
.tm-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;border-top:1px solid #dfe3e7;background:#fff}
.tm-selection-bar[hidden]{display:none!important}
.tm-selection-bar strong{font-size:13px}
.tm-selection-bar>div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.tm-selection-bar button{min-height:34px;border:1px solid #d9e0e7;border-radius:9px;background:#fff;padding:6px 10px;color:#334155;font-size:11px;font-weight:800;cursor:pointer}
.tm-selection-bar #tm-selection-forward{border-color:#b9d6ff;background:#eff6ff;color:#1d4ed8}
.tm-reply-compose{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 13px;border-top:1px solid #e1e5e9;background:#f7f7f7}
.tm-reply-compose[hidden]{display:none!important}
.tm-reply-compose>div{display:grid;min-width:0;gap:2px;padding-left:10px;border-left:3px solid #06c755}
.tm-reply-compose strong{color:#198b46;font-size:11px}
.tm-reply-compose span{overflow:hidden;color:#65707c;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.tm-reply-compose button{width:30px;height:30px;border:0;border-radius:50%;background:#e9edf0;color:#55606d;font-size:20px;cursor:pointer}
.tm-image-compose-preview{display:flex;gap:7px;overflow-x:auto;padding:8px 13px;border-top:1px solid #e1e5e9;background:#f7f7f7}
.tm-image-compose-preview[hidden]{display:none!important}
.tm-image-compose-item{position:relative;width:66px;height:66px;flex:0 0 66px;border-radius:10px;overflow:hidden;background:#e5e7eb}
.tm-image-compose-item img{width:100%;height:100%;object-fit:cover}
.tm-image-compose-item button{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:50%;background:rgba(17,24,39,.82);color:#fff;font-size:15px;cursor:pointer}
.tm-chat-image-grid{display:grid;gap:2px;width:min(330px,66vw);overflow:hidden;border-radius:13px}
.tm-chat-image-grid.is-count-1{grid-template-columns:1fr}
.tm-chat-image-grid.is-count-2{grid-template-columns:repeat(2,1fr)}
.tm-chat-image-grid.is-count-3,.tm-chat-image-grid.is-count-4{grid-template-columns:repeat(2,1fr)}
.tm-chat-image-item{display:block;aspect-ratio:1/1;min-width:0;border:0;background:#d7dde4;padding:0;overflow:hidden;cursor:pointer}
.tm-chat-image-grid.is-count-1 .tm-chat-image-item{aspect-ratio:auto;max-height:360px}
.tm-chat-image-item img{display:block;width:100%;height:100%;object-fit:cover}
.tm-message-bubble:has(.tm-chat-image-grid){padding:0;overflow:hidden;background:transparent!important;border-radius:13px;box-shadow:none}
.tm-message-image-missing{display:block;padding:10px 13px;color:#7b8490;background:#fff;border-radius:14px}
.tm-chat-image-viewer{position:fixed;inset:0;z-index:100090;display:grid;place-items:center;padding:14px}
.tm-chat-image-viewer-backdrop{position:absolute;inset:0;border:0;background:rgba(5,10,18,.86)}
.tm-chat-image-viewer>section{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;width:min(980px,96vw);height:min(860px,92dvh);overflow:hidden;border-radius:18px;background:#111827;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.tm-chat-image-viewer-head{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;color:#fff}
.tm-chat-image-viewer-head button{width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:25px}
.tm-chat-image-stage{display:grid;min-height:0;place-items:center;padding:6px 12px;overflow:hidden;touch-action:none;overscroll-behavior:contain}
.tm-chat-image-stage img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center center;will-change:transform;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}.tm-chat-image-stage img.is-zoomed{cursor:grab}
.tm-chat-image-nav{display:flex;justify-content:center;gap:10px;padding:4px 10px}
.tm-chat-image-nav button{width:42px;height:35px;border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:24px}
.tm-chat-image-downloads{display:flex;gap:8px;justify-content:center;padding:10px 12px 14px}
.tm-chat-image-downloads a,.tm-chat-image-downloads button{min-height:40px;display:grid;place-items:center;border:0;border-radius:10px;background:#fff;color:#111827;padding:8px 15px;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer}.tm-chat-image-downloads button{background:#06c755;color:#fff}.tm-chat-image-downloads button:disabled{opacity:.55;cursor:wait}
.tm-chat-image-downloads a:last-child{background:#243041;color:#fff}
.tm-chat-modal{position:fixed;inset:0;z-index:100070;display:grid;place-items:center;padding:16px}
.tm-chat-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
.tm-chat-modal-card{position:relative;z-index:1;display:flex;flex-direction:column;width:min(560px,94vw);max-height:min(760px,88dvh);overflow:hidden;border-radius:19px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.3)}
.tm-chat-modal-card.is-small{width:min(440px,94vw)}
.tm-chat-modal-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #edf0f3}
.tm-chat-modal-card>header small{display:block;color:#06a948;font-size:9px;font-weight:900;letter-spacing:.14em}
.tm-chat-modal-card>header h3{margin:2px 0 0;font-size:19px}
.tm-chat-modal-card>header>button{width:36px;height:36px;border:0;border-radius:50%;background:#f0f2f4;color:#59636f;font-size:22px}
.tm-chat-modal-body{overflow:auto;padding:17px 18px}
.tm-chat-modal-card>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #edf0f3;background:#fafbfc}
.tm-chat-modal-card>footer button{min-height:40px;border:1px solid #d8dfe6;border-radius:10px;background:#fff;padding:8px 15px;font-weight:800}
.tm-chat-modal-card>footer button.is-primary{border-color:#06c755;background:#06c755;color:#fff}
.tm-chat-modal-note{margin:0 0 12px;color:#64748b;font-size:12px;line-height:1.65}
.tm-chat-field{display:grid;gap:7px;color:#334155;font-size:12px;font-weight:900}
.tm-chat-field input{min-height:44px;width:100%;border:1px solid #d8dfe6;border-radius:10px;background:#fff;padding:8px 11px;font-size:14px}
.tm-chat-inline-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.tm-chat-inline-field button{border:0;border-radius:9px;background:#06c755;color:#fff;padding:0 14px;font-weight:900}
.tm-chat-text-button{margin-top:9px;border:0;background:transparent;color:#2563eb;padding:0;font-size:12px;font-weight:800;text-decoration:underline;cursor:pointer}
.tm-chat-member-list,.tm-chat-room-picker{display:grid;gap:4px;margin-top:9px}
.tm-chat-member-list>button,.tm-chat-room-picker>label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"avatar name action" "avatar role action";align-items:center;gap:0 10px;min-height:62px;border:0;border-bottom:1px solid #eef1f4;background:#fff;padding:8px 4px;text-align:left;cursor:pointer}
.tm-chat-member-list>button>span,.tm-chat-room-picker>label>span{grid-area:avatar}
.tm-chat-member-list>button>strong,.tm-chat-room-picker>label>strong{grid-area:name;font-size:13px}
.tm-chat-member-list>button>small,.tm-chat-room-picker>label>small{grid-area:role;color:#8a919b;font-size:10px}
.tm-chat-member-list>button>b{grid-area:action;color:#7a8490;font-size:11px}
.tm-chat-room-picker>label{grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:"radio avatar name" "radio avatar role"}
.tm-chat-room-picker>label>input{grid-area:radio}
.tm-group-create-card{padding:16px 14px 22px;background:#fff}
.tm-group-create-intro{margin-bottom:16px;padding:15px;border-radius:15px;background:linear-gradient(135deg,#eefaf2,#f7fbff)}
.tm-group-create-intro>span{color:#06a948;font-size:9px;font-weight:900;letter-spacing:.15em}
.tm-group-create-intro h3{margin:3px 0 6px;font-size:20px}
.tm-group-create-intro p{margin:0;color:#66717e;font-size:11px;line-height:1.6}
.tm-group-create-card>.tm-chat-field{margin-bottom:12px}
.tm-group-create-status{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0;color:#475569;font-size:11px}
.tm-group-create-status small{color:#94a3b8}
.tm-group-candidates{max-height:46dvh;overflow:auto;border:1px solid #e6ebef;border-radius:13px;background:#fff}
.tm-group-candidate{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:"check avatar name mark" "check avatar role mark";align-items:center;gap:0 10px;min-height:66px;padding:8px 10px;border-bottom:1px solid #eef1f4;cursor:pointer}
.tm-group-candidate:last-child{border-bottom:0}
.tm-group-candidate input{grid-area:check}
.tm-group-candidate>span{grid-area:avatar}
.tm-group-candidate>strong{grid-area:name;font-size:13px}
.tm-group-candidate>small{grid-area:role;color:#8a919b;font-size:10px}
.tm-group-candidate>b{grid-area:mark;display:none;width:24px;height:24px;place-items:center;border-radius:50%;background:#06c755;color:#fff}
.tm-group-candidate.is-selected{background:#f1fbf5}
.tm-group-candidate.is-selected>b{display:grid}
.tm-group-create-submit{width:100%;min-height:46px;margin-top:14px}

@media(max-width:782px){
  .tm-line-list-head-actions{gap:5px}
  .tm-line-head-button{padding:7px 10px;font-size:11px}
  .tm-message{max-width:94%;gap:3px}
  .tm-message-menu-button{width:24px;flex-basis:24px;font-size:19px}
  .tm-message-side{font-size:8px}
  .tm-message-reply-reference{width:min(260px,67vw)}
  .tm-chat-image-grid{width:min(290px,72vw)}
  .tm-selection-bar{align-items:flex-start;flex-direction:column}
  .tm-selection-bar>div{width:100%;justify-content:flex-start}
  .tm-chat-image-viewer>section{width:100%;height:min(830px,94dvh);border-radius:14px}
  .tm-chat-modal{align-items:end;padding:0}
  .tm-chat-modal-card,.tm-chat-modal-card.is-small{width:100%;max-width:none;max-height:90dvh;border-radius:20px 20px 0 0}
  .tm-group-candidates{max-height:43dvh}
}
.tm-chat-view.is-message-selecting .tm-reply-compose,.tm-chat-view.is-message-selecting .tm-image-compose-preview,.tm-chat-view.is-message-selecting .tm-message-form{display:none!important}
.tm-read-state{display:inline-flex;align-items:center;justify-content:center;color:#0b6b3a;font-size:9px;font-weight:900;line-height:1.1;white-space:nowrap}
.tm-read-state[hidden]{display:none!important}
.tm-store-detail-chat{display:flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:782px){.tm-chat-image-downloads{flex-wrap:wrap}.tm-chat-image-downloads a,.tm-chat-image-downloads button{flex:1 1 calc(50% - 8px);min-width:135px}.tm-footer-unread-badge{top:3px;margin-left:7px}}

/* v1.0.147 standalone chat runtime */
.tm-chat-list-title{display:grid;gap:2px;min-width:0}
.tm-chat-list-title h2{margin:0}
.tm-chat-runtime-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:2px 7px;border-radius:999px;background:#eef2f7;color:#64748b;font-size:9px;font-weight:800;line-height:1.4;white-space:nowrap}
.tm-chat-runtime-status.is-ok{background:#eafaf0;color:#078b40}
.tm-chat-runtime-status.is-error{background:#fff0f0;color:#c62828}
.tm-chat-standalone-toast{position:fixed;left:50%;bottom:calc(var(--tm-footer-height) + env(safe-area-inset-bottom) + 18px);z-index:130000;max-width:min(88vw,520px);transform:translate(-50%,16px);opacity:0;pointer-events:none;padding:11px 15px;border-radius:12px;background:rgba(17,24,39,.94);color:#fff;font-size:12px;font-weight:800;box-shadow:0 12px 34px rgba(15,23,42,.28);transition:opacity .18s ease,transform .18s ease}
.tm-chat-standalone-toast.is-show{opacity:1;transform:translate(-50%,0)}
.tm-chat-standalone-toast[data-type="error"]{background:rgba(185,28,28,.96)}
.tm-chat-load-error{display:grid;gap:8px;margin:14px;padding:14px;border-radius:13px}
.tm-chat-load-error strong,.tm-chat-load-error span{display:block}
.tm-chat-load-error button{width:max-content;min-height:38px;border:0;border-radius:9px;background:#111827;color:#fff;padding:7px 13px;font-weight:800}
.tm-message-form{grid-template-columns:auto minmax(0,1fr) auto!important}
.tm-message-image-button{width:42px!important;min-width:42px;height:42px!important;padding:0!important;border-radius:50%!important;background:#e9edf1!important;color:#44505d!important;font-size:24px!important}
html.tm-standalone-chat-active #tm-page-panel{display:none!important}
html.tm-standalone-chat-active #tm-chat-layout{display:grid!important;height:calc(100dvh - var(--tm-footer-height) - env(safe-area-inset-bottom))!important;pointer-events:auto!important}
html.tm-standalone-chat-active #tm-chat-layout button,
html.tm-standalone-chat-active #tm-chat-layout input,
html.tm-standalone-chat-active #tm-chat-layout textarea,
html.tm-standalone-chat-active #tm-chat-layout a{pointer-events:auto!important;touch-action:manipulation}
@media(max-width:782px){
  html.tm-standalone-chat-active .tm-chat-panel{top:0}
  html.tm-standalone-chat-active body.admin-bar .tm-chat-panel{top:46px}
  html.tm-standalone-chat-active #tm-chat-layout{height:calc(100dvh - var(--tm-footer-height) - env(safe-area-inset-bottom))!important}
  .tm-chat-runtime-status{font-size:8px}
}

/* v1.0.151 chat cleanup / group management */
.tm-chat-danger-zone{margin-top:20px;padding:14px;border:1px solid #fecaca;border-radius:14px;background:#fff7f7}
.tm-chat-danger-zone strong{display:block;color:#991b1b;font-size:13px;font-weight:900}
.tm-chat-danger-zone p{margin:5px 0 11px;color:#7f1d1d;font-size:11px;line-height:1.6}
.tm-chat-danger-zone button{width:100%;min-height:40px;border:0;border-radius:10px;background:var(--tm-danger);color:#fff;font-size:12px;font-weight:900;cursor:pointer}
.tm-chat-danger-zone button:disabled{opacity:.55;cursor:wait}

/* v1.0.152 音声通話 / リプライ移動 / 最新位置ボタン */
.tm-chat-view{position:relative}
.tm-message.is-highlighted .tm-message-bubble{animation:none!important}
.tm-message.is-reply-focused .tm-message-bubble{
  outline:3px solid #ffe55c;
  outline-offset:2px;
  box-shadow:0 0 0 6px rgba(255,229,92,.28)!important;
}
.tm-message.is-reply-focused .tm-message-content:before{
  content:"返信先";
  align-self:flex-start;
  margin:0 6px 2px;
  padding:3px 8px;
  border-radius:999px;
  background:#ffe55c;
  color:#3f3a13;
  font-size:9px;
  font-weight:900;
  line-height:1.2;
}
.tm-message.is-mine.is-reply-focused .tm-message-content:before{align-self:flex-end}
.tm-reply-return{
  position:absolute;
  left:50%;
  top:50%;
  z-index:45;
  transform:translate(-50%,-50%);
  min-height:42px;
  border:0;
  border-radius:999px;
  background:rgba(17,24,39,.92);
  color:#fff;
  padding:9px 18px;
  box-shadow:0 10px 28px rgba(15,23,42,.28);
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.tm-reply-return[hidden]{display:none!important}
.tm-chat-scroll-bottom{
  position:absolute;
  right:18px;
  bottom:84px;
  z-index:40;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:50%;
  background:rgba(255,255,255,.96);
  color:#334155;
  box-shadow:0 8px 24px rgba(15,23,42,.18);
  font-size:24px;
  font-weight:900;
}
.tm-chat-scroll-bottom[hidden]{display:none!important}
.tm-call-card{width:min(92vw,420px)}
.tm-call-audio-mark{
  display:grid;
  place-items:center;
  width:82px;
  height:82px;
  margin:0 auto 12px;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  font-size:38px;
}
.tm-call-incoming-actions,.tm-call-controls{display:flex;justify-content:center;gap:12px;margin-top:20px}
.tm-call-incoming-actions[hidden],.tm-call-controls[hidden]{display:none!important}
.tm-call-incoming-actions button,.tm-call-controls button{min-width:96px;border:0;border-radius:999px;padding:12px 18px;font-weight:900}
.tm-call-incoming-actions .is-accept{background:#06c755;color:#fff}
.tm-call-incoming-actions .is-danger,.tm-call-controls .is-danger{background:var(--tm-danger);color:#fff}
@media(max-width:782px){
  .tm-chat-scroll-bottom{right:12px;bottom:78px;width:42px;height:42px}
  .tm-reply-return{top:46%}
}
.tm-chat-image-save-note{display:block;margin:8px 14px 14px;color:#94a3b8;font-size:9px;line-height:1.5;text-align:center}

/* =========================================================
   v1.0.153 ロック画面：現在天気連動のAtmospheric Weather Scene
   - iPhone標準天気アプリの「空気感」を参考にした独自表現
   - 画像不使用。CSSグラデーション／軽量アニメーションのみ
========================================================= */
.tm-weather-lock{
  --wx-sky-top:#4d9fe8;
  --wx-sky-mid:#8bc9f7;
  --wx-sky-bottom:#e8f5ff;
  --wx-cloud:.62;
  --wx-panel:rgba(255,255,255,.16);
  --wx-panel-border:rgba(255,255,255,.2);
  background:linear-gradient(180deg,var(--wx-sky-top) 0%,var(--wx-sky-mid) 52%,var(--wx-sky-bottom) 100%);
  transition:background 1.1s ease;
}
.tm-weather-lock .tm-hourly-card,.tm-weather-lock .tm-daily-card,.tm-weather-lock .tm-sun-card{
  background:var(--wx-panel);
  border-color:var(--wx-panel-border);
  transition:background .8s ease,border-color .8s ease;
}
.tm-weather-bg{background:transparent;isolation:isolate}
.tm-weather-atmosphere,.tm-weather-celestial,.tm-weather-rain,.tm-weather-snow,.tm-weather-lightning,.tm-weather-haze{position:absolute;inset:0;pointer-events:none}
.tm-weather-atmosphere{z-index:-3;background:radial-gradient(circle at 50% -12%,rgba(255,255,255,.35),transparent 48%);transition:opacity .8s ease}
.tm-weather-celestial{z-index:-2;overflow:hidden}
.tm-weather-sun,.tm-weather-moon{position:absolute;display:block;border-radius:50%;opacity:0;transition:opacity 1.2s ease,transform 1.2s ease}
.tm-weather-sun{width:118px;height:118px;right:7%;top:8%;background:radial-gradient(circle,#fffbe3 0 22%,#ffe98c 38%,rgba(255,221,98,.12) 68%,transparent 72%);box-shadow:0 0 58px 22px rgba(255,231,137,.38);transform:scale(.78)}
.tm-weather-moon{width:80px;height:80px;right:10%;top:10%;background:radial-gradient(circle at 38% 34%,#fff 0 14%,#e9efff 44%,#bfcdea 100%);box-shadow:0 0 48px 16px rgba(190,212,255,.18);transform:scale(.82)}
.tm-weather-lock.tm-wx-clear.tm-wx-day .tm-weather-sun,.tm-weather-lock.tm-wx-partly-cloudy.tm-wx-day .tm-weather-sun{opacity:1;transform:scale(1)}
.tm-weather-lock.tm-wx-clear.tm-wx-night .tm-weather-moon,.tm-weather-lock.tm-wx-partly-cloudy.tm-wx-night .tm-weather-moon{opacity:.92;transform:scale(1)}
.tm-weather-lock.tm-wx-day.tm-wx-clear{--wx-sky-top:#257fd2;--wx-sky-mid:#5fb4ee;--wx-sky-bottom:#ccecff;--wx-cloud:.22;--wx-panel:rgba(80,135,183,.22);--wx-panel-border:rgba(255,255,255,.24)}
.tm-weather-lock.tm-wx-night.tm-wx-clear{--wx-sky-top:#07172e;--wx-sky-mid:#102f52;--wx-sky-bottom:#315b7e;--wx-cloud:.16;--wx-panel:rgba(24,45,70,.42);--wx-panel-border:rgba(255,255,255,.12)}
.tm-weather-lock.tm-wx-day.tm-wx-partly-cloudy{--wx-sky-top:#418ecb;--wx-sky-mid:#82b9dd;--wx-sky-bottom:#d0e5ee;--wx-cloud:.55;--wx-panel:rgba(84,117,143,.24)}
.tm-weather-lock.tm-wx-night.tm-wx-partly-cloudy{--wx-sky-top:#0c1b2b;--wx-sky-mid:#243c54;--wx-sky-bottom:#526b7e;--wx-cloud:.5;--wx-panel:rgba(30,42,55,.43)}
.tm-weather-lock.tm-wx-cloudy{--wx-sky-top:#536879;--wx-sky-mid:#8194a3;--wx-sky-bottom:#c2ccd3;--wx-cloud:.9;--wx-panel:rgba(58,73,86,.31);--wx-panel-border:rgba(255,255,255,.16)}
.tm-weather-lock.tm-wx-fog{--wx-sky-top:#6d7d88;--wx-sky-mid:#a2adb4;--wx-sky-bottom:#d3d9dc;--wx-cloud:.48;--wx-panel:rgba(67,78,86,.28)}
.tm-weather-lock.tm-wx-rain{--wx-sky-top:#2e4558;--wx-sky-mid:#536d7e;--wx-sky-bottom:#92a5b2;--wx-cloud:.92;--wx-panel:rgba(30,49,64,.38);--wx-panel-border:rgba(255,255,255,.13)}
.tm-weather-lock.tm-wx-heavy-rain{--wx-sky-top:#162a3b;--wx-sky-mid:#344c5d;--wx-sky-bottom:#738895;--wx-cloud:1;--wx-panel:rgba(18,31,43,.5);--wx-panel-border:rgba(255,255,255,.1)}
.tm-weather-lock.tm-wx-snow{--wx-sky-top:#768b99;--wx-sky-mid:#a9b9c3;--wx-sky-bottom:#e1e8eb;--wx-cloud:.68;--wx-panel:rgba(73,91,103,.26)}
.tm-weather-lock.tm-wx-thunder{--wx-sky-top:#0e1722;--wx-sky-mid:#273849;--wx-sky-bottom:#5d6f7c;--wx-cloud:1;--wx-panel:rgba(12,21,31,.52);--wx-panel-border:rgba(255,255,255,.09)}
.tm-weather-lock .tm-cloud{opacity:var(--wx-cloud);transition:opacity 1s ease,filter 1s ease;background:rgba(238,245,250,.67);box-shadow:45px -22px 0 5px rgba(239,245,249,.62),95px 2px 0 10px rgba(228,237,243,.55)}
.tm-weather-lock.tm-wx-rain .tm-cloud,.tm-weather-lock.tm-wx-heavy-rain .tm-cloud,.tm-weather-lock.tm-wx-thunder .tm-cloud{filter:blur(1.4px) brightness(.7)}
.tm-weather-lock.tm-wx-fog .tm-weather-haze{opacity:1;background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 6%,rgba(255,255,255,.20) 11%,rgba(255,255,255,.03) 18%);filter:blur(18px);animation:tmWeatherHaze 9s ease-in-out infinite alternate}
.tm-weather-rain{opacity:0;z-index:1;background-image:repeating-linear-gradient(103deg,transparent 0 9px,rgba(210,232,247,.5) 10px 11px,transparent 12px 22px);background-size:34px 85px;transform:scale(1.12);animation:tmWeatherRain 1s linear infinite;will-change:background-position}
.tm-weather-lock.tm-wx-rain .tm-weather-rain{opacity:.48;animation-duration:.78s}
.tm-weather-lock.tm-wx-heavy-rain .tm-weather-rain{opacity:.82;background-size:25px 65px;animation-duration:.46s}
.tm-weather-lock.tm-wx-thunder .tm-weather-rain{opacity:.65;background-size:27px 70px;animation-duration:.5s}
.tm-weather-snow{opacity:0;z-index:1;background-image:radial-gradient(circle,rgba(255,255,255,.9) 0 2px,transparent 2.6px),radial-gradient(circle,rgba(255,255,255,.72) 0 1.3px,transparent 2px),radial-gradient(circle,rgba(255,255,255,.58) 0 2.2px,transparent 2.8px);background-size:71px 86px,49px 67px,97px 113px;background-position:0 -90px,20px -70px,45px -120px;animation:tmWeatherSnow 9s linear infinite;will-change:background-position}
.tm-weather-lock.tm-wx-snow .tm-weather-snow{opacity:.9}
.tm-weather-lightning{opacity:0;z-index:2;background:rgba(230,241,255,.82);mix-blend-mode:screen}
.tm-weather-lock.tm-wx-thunder .tm-weather-lightning{animation:tmWeatherLightning 7s steps(1,end) infinite}
.tm-weather-lock.tm-wx-heavy-rain .tm-weather-atmosphere,.tm-weather-lock.tm-wx-thunder .tm-weather-atmosphere{background:radial-gradient(circle at 48% -10%,rgba(157,181,199,.18),transparent 55%)}
@keyframes tmWeatherRain{from{background-position:0 -90px}to{background-position:-30px 90px}}
@keyframes tmWeatherSnow{from{background-position:0 -110px,20px -90px,45px -130px}to{background-position:24px 820px,-20px 690px,70px 980px}}
@keyframes tmWeatherLightning{0%,9%,11%,68%,70%,100%{opacity:0}10%{opacity:.42}69%{opacity:.25}}
@keyframes tmWeatherHaze{from{transform:translate3d(-3%,0,0)}to{transform:translate3d(3%,1%,0)}}
@media (prefers-reduced-motion:reduce){.tm-weather-rain,.tm-weather-snow,.tm-weather-lightning,.tm-weather-haze{animation:none!important}}
@media(max-width:600px){.tm-weather-sun{width:102px;height:102px;right:4%;top:7%}.tm-weather-moon{width:68px;height:68px;right:7%;top:8%}}

/* =========================================================
   v1.0.154 ロック画面：Cinematic Weather FX
   - 単純な繰り返し模様を廃止し、奥行き・光・風・粒子感を強化
========================================================= */
.tm-weather-lock{overflow:hidden}
.tm-weather-bg{z-index:0;perspective:900px}
.tm-weather-shell{position:relative;z-index:4}
.tm-weather-fx-canvas{position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none;mix-blend-mode:screen;opacity:.94}
.tm-weather-rain,.tm-weather-snow,.tm-weather-lightning{display:none!important}
.tm-weather-atmosphere{z-index:-1;overflow:hidden;opacity:1}
.tm-weather-atmosphere:before,.tm-weather-atmosphere:after{content:"";position:absolute;inset:-18%;pointer-events:none;will-change:transform,opacity;transform:translate3d(0,0,0)}
.tm-weather-atmosphere:before{background:
 radial-gradient(ellipse at 8% 19%,rgba(255,255,255,.36) 0 7%,rgba(255,255,255,.16) 14%,transparent 30%),
 radial-gradient(ellipse at 50% 25%,rgba(255,255,255,.26) 0 9%,rgba(255,255,255,.11) 18%,transparent 33%),
 radial-gradient(ellipse at 86% 15%,rgba(255,255,255,.31) 0 8%,rgba(255,255,255,.12) 17%,transparent 31%),
 radial-gradient(ellipse at 68% 55%,rgba(255,255,255,.16) 0 8%,transparent 27%);
 filter:blur(24px);opacity:calc(var(--wx-cloud) * .78);animation:tmWxCloudFront 34s ease-in-out infinite alternate}
.tm-weather-atmosphere:after{background:
 radial-gradient(ellipse at 17% 39%,rgba(228,238,246,.18) 0 11%,transparent 34%),
 radial-gradient(ellipse at 62% 32%,rgba(232,241,247,.20) 0 14%,transparent 37%),
 radial-gradient(ellipse at 95% 44%,rgba(225,237,244,.17) 0 11%,transparent 35%);
 filter:blur(42px);opacity:calc(var(--wx-cloud) * .86);animation:tmWxCloudBack 52s linear infinite alternate}
.tm-weather-lock .tm-cloud{border-radius:48% 52% 46% 54% / 58% 49% 51% 42%;filter:blur(11px);background:linear-gradient(180deg,rgba(246,249,251,.56),rgba(185,202,214,.25));box-shadow:52px -18px 32px rgba(238,244,248,.35),100px 10px 48px rgba(181,199,211,.22),-30px 10px 36px rgba(207,220,229,.24);opacity:calc(var(--wx-cloud) * .5);animation:tmWxCloudDrift 28s ease-in-out infinite alternate;will-change:transform,opacity}
.tm-weather-lock .tm-cloud-b{animation-duration:39s;animation-delay:-11s;filter:blur(17px);opacity:calc(var(--wx-cloud) * .38)}
.tm-weather-lock .tm-cloud-c{animation-duration:48s;animation-delay:-23s;filter:blur(22px);opacity:calc(var(--wx-cloud) * .28)}
.tm-weather-lock.tm-wx-rain .tm-weather-atmosphere:before,.tm-weather-lock.tm-wx-heavy-rain .tm-weather-atmosphere:before,.tm-weather-lock.tm-wx-thunder .tm-weather-atmosphere:before{filter:blur(19px) brightness(.58) saturate(.72);opacity:.92}
.tm-weather-lock.tm-wx-rain .tm-weather-atmosphere:after,.tm-weather-lock.tm-wx-heavy-rain .tm-weather-atmosphere:after,.tm-weather-lock.tm-wx-thunder .tm-weather-atmosphere:after{filter:blur(35px) brightness(.52) saturate(.68);opacity:.88}
.tm-weather-lock.tm-wx-heavy-rain:after,.tm-weather-lock.tm-wx-thunder:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(5,12,19,.16),transparent 28%,rgba(8,18,27,.14) 72%,rgba(18,30,38,.28));box-shadow:inset 0 -120px 140px rgba(15,27,35,.2)}
.tm-weather-lock.tm-wx-clear.tm-wx-day .tm-weather-atmosphere{background:
 radial-gradient(circle at 76% 15%,rgba(255,248,207,.22),transparent 25%),
 linear-gradient(180deg,rgba(255,255,255,.05),transparent 45%)}
.tm-weather-lock.tm-wx-clear.tm-wx-day .tm-weather-atmosphere:before{opacity:.14;filter:blur(35px)}
.tm-weather-lock.tm-wx-clear.tm-wx-night .tm-weather-atmosphere{background:
 radial-gradient(circle at 74% 14%,rgba(164,194,238,.12),transparent 22%),
 radial-gradient(circle at 14% 20%,rgba(255,255,255,.42) 0 .7px,transparent 1px),
 radial-gradient(circle at 44% 34%,rgba(255,255,255,.32) 0 .6px,transparent .9px),
 radial-gradient(circle at 82% 47%,rgba(255,255,255,.28) 0 .65px,transparent 1px);background-size:auto,93px 117px,127px 143px,161px 131px}
.tm-weather-sun{background:radial-gradient(circle,#fffdf2 0 19%,#fff3b0 30%,rgba(255,229,126,.52) 46%,rgba(255,216,92,.10) 65%,transparent 73%);box-shadow:0 0 45px 16px rgba(255,236,154,.32),0 0 130px 45px rgba(255,220,102,.13);animation:tmWxSunBreath 8s ease-in-out infinite alternate}
.tm-weather-moon{background:radial-gradient(circle at 38% 34%,#fff 0 12%,#f1f4fb 38%,#c9d3e5 70%,#9eacc5 100%);box-shadow:inset -14px -9px 22px rgba(86,105,138,.24),0 0 55px 17px rgba(193,216,255,.12)}
.tm-weather-lock.tm-wx-fog .tm-weather-haze{opacity:.86;background:linear-gradient(180deg,transparent 0 12%,rgba(241,246,248,.16) 27%,rgba(245,248,250,.36) 49%,rgba(236,242,245,.18) 68%,transparent 92%);filter:blur(26px);animation:tmWeatherHaze 14s ease-in-out infinite alternate}
.tm-weather-lock.tm-wx-snow .tm-weather-atmosphere:after{opacity:.7;filter:blur(40px) brightness(1.12)}
.tm-weather-lock .tm-hourly-card,.tm-weather-lock .tm-daily-card,.tm-weather-lock .tm-sun-card{backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 36px rgba(7,18,28,.08)}
@keyframes tmWxCloudFront{0%{transform:translate3d(-6%,-1%,0) scale(1.03)}50%{transform:translate3d(2%,1%,0) scale(1.08)}100%{transform:translate3d(7%,-2%,0) scale(1.04)}}
@keyframes tmWxCloudBack{0%{transform:translate3d(7%,0,0) scale(1.08)}100%{transform:translate3d(-8%,2%,0) scale(1.12)}}
@keyframes tmWxCloudDrift{0%{transform:translate3d(-7%,0,0) scale(.98)}100%{transform:translate3d(9%,1.5%,0) scale(1.06)}}
@keyframes tmWxSunBreath{from{filter:brightness(.98);box-shadow:0 0 45px 16px rgba(255,236,154,.28),0 0 120px 42px rgba(255,220,102,.10)}to{filter:brightness(1.06);box-shadow:0 0 58px 22px rgba(255,239,164,.35),0 0 150px 55px rgba(255,220,102,.16)}}
@media(prefers-reduced-motion:reduce){.tm-weather-atmosphere:before,.tm-weather-atmosphere:after,.tm-weather-lock .tm-cloud,.tm-weather-sun{animation:none!important}.tm-weather-fx-canvas{display:none!important}}


/* =========================================================
   v1.0.155 ロック画面：気象警戒カード（表示専用）
   - フロントの天気データだけから参考警戒を表示
   - ロック／通知／検索／管理データには一切影響しない
========================================================= */
.tm-weather-alert[hidden]{display:none!important}
.tm-weather-alert{position:relative;isolation:isolate;width:min(100%,520px);margin:4px auto 18px;padding:16px 17px 15px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:linear-gradient(145deg,rgba(37,49,61,.5),rgba(25,34,43,.35));box-shadow:0 16px 46px rgba(5,13,21,.2),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(20px) saturate(1.12);-webkit-backdrop-filter:blur(20px) saturate(1.12);overflow:hidden;text-align:left;animation:tmWeatherAlertIn .38s ease-out both}
.tm-weather-alert-glow{position:absolute;inset:-60% -20% auto;height:155%;z-index:-1;opacity:.72;background:radial-gradient(circle at 50% 50%,rgba(255,195,91,.28),transparent 63%);pointer-events:none}
.tm-weather-alert-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.tm-weather-alert-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:rgba(255,183,0,.18);border:1px solid rgba(255,210,85,.32);color:#fff1bd;font-size:10px;font-weight:900;letter-spacing:.08em}
.tm-weather-alert-reference{color:rgba(255,255,255,.65);font-size:9px;font-weight:800;letter-spacing:.08em}
.tm-weather-alert-title{display:block;color:#fff;font-size:21px;line-height:1.25;letter-spacing:.01em;text-shadow:0 2px 10px rgba(0,0,0,.15)}
.tm-weather-alert-message{margin:7px 0 0;color:rgba(255,255,255,.86);font-size:12px;line-height:1.65;font-weight:700}
.tm-weather-alert-details{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.tm-weather-alert-details:empty{display:none}
.tm-weather-alert-details span{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.11);color:#fff;font-size:10px;font-weight:800}
.tm-weather-alert[data-tone="notice"]{background:linear-gradient(145deg,rgba(55,83,103,.5),rgba(37,55,70,.38))}
.tm-weather-alert[data-tone="warning"]{background:linear-gradient(145deg,rgba(118,81,24,.58),rgba(72,51,21,.46));border-color:rgba(255,202,85,.26)}
.tm-weather-alert[data-tone="warning"] .tm-weather-alert-glow{background:radial-gradient(circle at 50% 50%,rgba(255,177,35,.38),transparent 63%)}
.tm-weather-alert[data-tone="danger"]{background:linear-gradient(145deg,rgba(125,43,35,.67),rgba(62,24,25,.54));border-color:rgba(255,126,104,.31)}
.tm-weather-alert[data-tone="danger"] .tm-weather-alert-badge{background:rgba(255,96,74,.2);border-color:rgba(255,148,128,.34);color:#ffe0d9}
.tm-weather-alert[data-tone="danger"] .tm-weather-alert-glow{background:radial-gradient(circle at 50% 50%,rgba(255,78,49,.4),transparent 63%)}
.tm-weather-alert[data-tone="extreme"]{background:linear-gradient(145deg,rgba(112,18,27,.78),rgba(45,12,20,.67));border-color:rgba(255,98,111,.36);box-shadow:0 18px 52px rgba(34,2,8,.35),inset 0 1px 0 rgba(255,255,255,.13)}
.tm-weather-alert[data-tone="extreme"] .tm-weather-alert-badge{background:#c81f32;border-color:rgba(255,255,255,.25);color:#fff;box-shadow:0 0 24px rgba(222,27,51,.28)}
.tm-weather-alert[data-tone="extreme"] .tm-weather-alert-glow{opacity:.92;background:radial-gradient(circle at 50% 50%,rgba(224,30,50,.42),transparent 64%)}
@keyframes tmWeatherAlertIn{from{opacity:0;transform:translate3d(0,8px,0) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:600px){.tm-weather-alert{width:calc(100% - 8px);margin-top:0;padding:14px 14px 13px;border-radius:16px}.tm-weather-alert-title{font-size:19px}.tm-weather-alert-message{font-size:11px;line-height:1.6}}
@media(prefers-reduced-motion:reduce){.tm-weather-alert{animation:none!important}}
