:root{font-family:Segoe UI Variable,Segoe UI,system-ui,-apple-system,Roboto,sans-serif;--safe-top: env(safe-area-inset-top, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--c-primary: #0078d4;--c-primary-hover: #106ebe;--c-primary-soft: #deecf9;--c-surface: #ffffff;--c-muted-surface: #faf9f8;--c-border: #edebe9;--c-border-strong: #c8c6c4;--c-text: #323130;--c-text-subtle: #605e5c;--c-bg-page: #f7f6f5;--c-bg-app: #f2f3f5;--c-bg-app-mid: #f6f7f9;--c-bg-app-highlight: #fafbfc;--c-shell-divider: rgba(0, 0, 0, .06);--radius-card: 4px;--radius-control: 2px;--control-h: 40px;--shadow-card: 0 .3px .9px rgba(0, 0, 0, .08), 0 1.6px 3.6px rgba(0, 0, 0, .06);--focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px var(--c-primary);--focus-composer-glow: 0 0 0 1px rgba(0, 120, 212, .35), 0 0 0 4px rgba(0, 120, 212, .14), 0 6px 24px rgba(0, 120, 212, .12);--font-input: 16px}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:100%;scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar{width:0;height:0;background:transparent}body{margin:0;color:var(--c-text);-webkit-font-smoothing:antialiased;overflow-x:hidden;min-height:100vh;min-height:100dvh;min-height:100svh;background-color:var(--c-bg-app-mid);background-image:radial-gradient(140% 90% at 50% -25%,var(--c-bg-app-highlight) 0%,var(--c-bg-app-mid) 42%,var(--c-bg-app) 100%);background-attachment:fixed;scrollbar-width:none;-ms-overflow-style:none}body::-webkit-scrollbar{width:0;height:0;background:transparent}#root{min-height:100vh;min-height:100dvh;min-height:100svh;display:flex;flex-direction:column}.app-shell{box-sizing:border-box;max-width:min(600px,100%);width:100%;margin:0 auto;flex:1 1 auto;display:flex;flex-direction:column;min-height:100%;min-height:100dvh;min-height:100svh;padding:max(8px,var(--safe-top)) max(12px,var(--safe-right)) max(14px,var(--safe-bottom)) max(12px,var(--safe-left));overscroll-behavior-y:contain;background:transparent}.app-header{flex-shrink:0;padding-bottom:0;margin-bottom:2px;border-bottom:1px solid var(--c-shell-divider)}.app-header.app-header--compact{border-bottom:none;margin-bottom:0;padding-bottom:0}.app-header h1{margin:0 0 2px;font-size:22px}.app-header p{margin:0 0 12px;color:#4f5b76;font-size:13px}.app-header--compact>h1{margin:0 0 10px;white-space:nowrap;line-height:1.2;font-size:clamp(1.1rem,4.2vw,1.32rem);font-weight:600;letter-spacing:-.012em;color:#2d4f76}.app-header--compact .header-title-block{min-width:0;flex:1}.app-header--compact .header-title-block h1{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:22px;font-weight:500;letter-spacing:-.02em}.header-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:4px}.app-header--compact .header-row{margin-bottom:12px;align-items:center}.header-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap;margin-bottom:0;min-height:40px}.header-title-group{position:relative;display:flex;align-items:center;gap:10px;min-width:0;flex:1}.header-title-group .app-title{margin:0;flex:0 1 auto;max-width:32%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.08rem,3.4vw,1.26rem);line-height:1.2;font-weight:600;letter-spacing:-.012em;color:#2d4f76;filter:none}.header-title-group .header-toolbar{margin-left:auto;flex-shrink:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0}.header-name-search{flex:1 1 auto;min-width:148px;max-width:none;width:auto;box-sizing:border-box;height:32px;padding:0 8px;border:1px solid var(--c-border);border-radius:3px;background:var(--c-muted-surface);font:inherit;font-size:14px;color:var(--c-text);transition:border-color .15s ease,box-shadow .15s ease}.header-name-search::placeholder{color:var(--c-text-subtle);font-size:12px;letter-spacing:.01em}.header-name-search:focus{outline:none;border-color:var(--c-primary);box-shadow:none}.header-notify-bell--on{color:#c41e3a;background:#c41e3a14}.header-notify-bell--off{color:#94a3b8}.header-notify-bell--limited{opacity:.88}.header-notify-bell__icon{display:block;width:20px;height:20px}.header-user-btn{flex-shrink:0;color:#1d4f8f;background:linear-gradient(180deg,#f7fbff,#ecf4fd);border:1px solid #c6d9ef;border-radius:3px}.header-user-btn svg{width:18px;height:18px}.header-user-btn:hover:not(:disabled){background:linear-gradient(180deg,#f2f8ff,#e4effb);color:#1a457f}.header-user-btn--open{background:linear-gradient(180deg,#e4f0fc,#d7e8fa);color:#143e78;border-color:#aecaec}.header-user-dropdown{position:absolute;top:calc(100% + 6px);right:0;left:auto;min-width:220px;max-width:min(92vw,300px);padding:10px 12px 12px;background:var(--c-surface);border:1px solid rgba(15,23,42,.08);border-radius:3px;box-shadow:0 1px 2px #0f172a0a,0 8px 24px #0f172a1a;z-index:50}.header-user-dropdown__email{font-size:12px;line-height:1.45;font-weight:500;color:#475569;word-break:break-word;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--c-shell-divider)}.header-user-dropdown__logout{display:flex;align-items:center;justify-content:center;width:100%;margin:0;padding:9px 14px;font-size:13px;font-weight:600;letter-spacing:.02em;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;font-family:inherit;transition:background .15s ease,border-color .15s ease,color .15s ease}.header-user-dropdown__logout:hover{background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}.header-user-dropdown__logout:active{background:#e2e8f0;border-color:#cbd5e1}.header-user-dropdown__logout:focus{outline:none}.header-user-dropdown__logout:focus-visible{box-shadow:var(--focus-ring)}.header-user-dropdown__notify{display:inline-flex;align-items:center;gap:8px;width:100%;margin:0 0 8px;padding:9px 10px;font-size:12px;font-weight:500;border:1px solid #dbe4ef;border-radius:4px;background:#f8fafc;color:#334155;cursor:pointer;font-family:inherit}.header-user-dropdown__notify:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.header-user-dropdown__notify:disabled{opacity:.65;cursor:default}.header-user-dropdown__notify-icon{width:16px;height:16px;flex-shrink:0}.header-user-dropdown__notify--on .header-user-dropdown__notify-icon{color:#be123c}.header-user-dropdown__notify--off .header-user-dropdown__notify-icon{color:#1d4ed8}.app-title{margin:0;font-size:clamp(1rem,3.6vw,1.15rem);font-weight:500;letter-spacing:-.015em;line-height:1.15;font-family:Segoe UI Variable,Segoe UI,Inter,system-ui,-apple-system,sans-serif;min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-header h1.app-title{margin:0}.header-toolbar{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;flex-shrink:0}.list-bg-sync-hint{font-size:.75rem;font-weight:400;color:var(--c-text-muted, #64748b);white-space:nowrap;max-width:7rem;overflow:hidden;text-overflow:ellipsis}.notify-toggle{border:none;background:var(--c-muted-surface);color:var(--c-text);padding:0 8px 0 10px;border-radius:3px;min-height:38px;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;line-height:1;box-sizing:border-box;transition:background .15s ease,filter .15s ease}.notify-toggle-bell{flex-shrink:0;color:var(--c-text-subtle);opacity:.92}.notify-toggle--on .notify-toggle-bell{color:var(--c-text)}.notify-toggle:hover:not(:disabled){background:var(--c-surface);filter:brightness(.985)}.notify-toggle:focus,.notify-toggle:focus-visible,.header-refresh-btn,.header-refresh-btn:focus,.header-refresh-btn:focus-visible{outline:none}.header-refresh-btn,.header-refresh-btn:focus,.header-refresh-btn:focus-visible{border:none!important;box-shadow:none}.notify-toggle:focus-visible,.header-refresh-btn:focus-visible{box-shadow:var(--focus-ring)}.header-toolbar .icon-btn{min-width:38px;min-height:38px;border-radius:3px}.notify-toggle--header{flex-shrink:0}.notify-toggle--limited .notify-switch-ui{opacity:.75}.header-user-dropdown__row{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;margin:0 0 10px;border:1px solid var(--c-shell-divider);border-radius:4px;background:var(--c-bg-app-mid, #f6f7f9);font-size:14px;font-weight:500;color:var(--c-text);cursor:pointer;font-family:inherit;text-align:left}.header-user-dropdown__row:hover{filter:brightness(.99)}.icon-loading{display:block;animation:icon-loading-rotate .75s linear infinite;transform-origin:50% 50%}@keyframes icon-loading-rotate{to{transform:rotate(360deg)}}.notify-toggle:disabled{opacity:.7;cursor:default}.notify-toggle-label{font-size:11px;font-weight:500;letter-spacing:-.01em;color:var(--c-text-subtle);max-width:6.5rem;overflow:hidden;text-overflow:ellipsis}.notify-sub{font-size:11px;color:#4f5b76;font-weight:500;margin-top:1px}.notify-switch-ui{width:36px;height:20px;border-radius:6px;position:relative;background:#e1dfdd;flex:0 0 auto}.notify-switch-ui:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #00000029;transition:transform .16s ease,background .16s ease}.notify-toggle--on{background:var(--c-muted-surface)}.notify-toggle--on .notify-switch-ui{background:var(--c-text-subtle)}.notify-toggle--on .notify-switch-ui:after{transform:translate(16px)}.header-sub{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px;padding-top:6px;border-top:1px solid var(--c-shell-divider)}.header-logout{flex-shrink:0;margin-left:auto}.user-bar{display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:48%}.user-email{font-size:12px;color:var(--c-text-subtle);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.link-btn{border:0;background:none;color:var(--c-primary);font-size:13px;font-weight:500;padding:4px 0;cursor:pointer}.auth-card{text-align:center}.google-signin-host{display:flex;justify-content:center;min-height:44px}.auth-hint{margin:12px 0 0;font-size:12px;color:#6b7280;line-height:1.4}.auth-hint code{font-size:11px}.auth-sso-block{margin-top:18px;padding-top:14px;border-top:1px solid var(--c-border)}.auth-sso-btn{width:100%;max-width:320px;padding:10px 14px;font-size:14px;font-weight:600;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:3px;cursor:pointer}.auth-sso-btn:active{transform:scale(.98)}.auth-hint--sso{margin-top:8px;font-size:11px}.auth-emr-gate{text-align:left;max-width:420px;margin-left:auto;margin-right:auto}.auth-emr-gate__badge{width:44px;height:44px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:#fff;background:#dc2626;border-radius:50%}.auth-emr-gate__title{margin:0 0 8px;font-size:1.25rem;text-align:center}.auth-emr-gate__lead{margin:0 0 14px;font-size:14px;line-height:1.45;color:#374151}.auth-emr-gate__steps{margin:0 0 18px;padding-left:1.25rem;font-size:13px;line-height:1.55;color:#4b5563}.auth-emr-gate__error{margin:0 0 14px;padding:10px 12px;font-size:13px;line-height:1.45;color:#991b1b;background:#fef2f2;border-radius:4px;border:1px solid #fecaca}.auth-emr-gate__actions{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.auth-emr-gate__btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;font-size:15px;font-weight:600;text-decoration:none;border:none;border-radius:3px;cursor:pointer;text-align:center}.auth-emr-gate__btn--primary{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8)}.auth-emr-gate__btn--secondary{color:#1f2937;background:#f3f4f6;border:1px solid #e5e7eb}.auth-emr-gate__btn:disabled{opacity:.65;cursor:not-allowed}.auth-emr-gate__hint{margin:0;text-align:center}.quick-input-card:not(.auth-card),.today-list-card{background:transparent;border:none;border-radius:0;box-shadow:none;padding-left:2px;padding-right:2px}.quick-input-card:not(.auth-card){padding-top:4px;padding-bottom:14px;margin-bottom:0;border-bottom:1px solid var(--c-shell-divider)}.today-list-card{padding-top:12px;padding-bottom:max(8px,var(--safe-bottom));margin-bottom:0;flex:1 1 auto}.quick-input-card.auth-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius-card);padding:16px 14px;box-shadow:var(--shadow-card);margin:8px 0 12px}.quick-input-card label{display:block;margin-bottom:6px;font-weight:500}.quick-input-card input{width:100%;box-sizing:border-box;border:1px solid #d0d6e3;border-radius:4px;padding:10px 12px;font-size:var(--font-input);min-height:40px}.primary-btn{width:100%;margin-top:8px;border:0;border-radius:var(--radius-control);min-height:var(--control-h);padding:8px 12px;background:var(--c-primary);color:#fff;font-weight:600;font-size:.95rem;transition:background .15s ease}.primary-btn:hover:not(:disabled){background:var(--c-primary-hover)}.primary-btn:disabled{opacity:.7}.list-fetching-hint{margin:0 0 8px;font-size:.8rem;color:var(--c-text-subtle)}.today-list{list-style:none;margin:0;padding:0}.appointment-item{border:1px solid var(--c-border);border-radius:4px;padding:10px 12px;margin-bottom:8px;min-height:0;background:var(--c-surface);box-shadow:0 .5px 1.5px #0000000a}.appointment-item-swipe{position:relative;overflow:hidden;border-radius:4px}.appointment-item-reveal{position:absolute;top:0;right:0;bottom:0;width:210px;box-sizing:border-box;display:none;flex-direction:row;align-items:center;justify-content:flex-end;gap:6px;padding:6px 9px 6px 11px;background:linear-gradient(90deg,#f1f5f9f5,#f8fafcfa 55%,#f8fafc);border-left:1px solid #e8edf5;border-radius:0 6px 6px 0;box-shadow:inset 1px 0 #ffffffb3;z-index:0}.today-list-card--row-swipe .appointment-item-reveal{display:flex}.appointment-item-reveal .action-tile.appointment-item-reveal__btn{flex-shrink:0;box-sizing:border-box;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;padding:0;box-shadow:0 1px 2px #0f172a0d}.appointment-item-reveal .action-tile.appointment-item-reveal__btn:hover:not(:disabled){transform:translateY(-1px)}.appointment-item-reveal .action-tile svg{width:16px;height:16px;display:block}.appointment-item-front{position:relative;z-index:1;background:var(--c-surface);border-radius:inherit;will-change:transform}.appointment-item-front--dragging{transition:none!important}.appointment-item--swipe-open{box-shadow:0 2px 10px #0f172a14}.row-1{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;min-width:0}.row-1 .name-phone-line{min-width:0;flex:1;white-space:normal;word-break:break-word}.name-phone-line{line-height:1.35;font-weight:500;color:var(--c-text)}.name-phone-line__name{font-weight:500}.name-phone-line__sep{font-weight:500;color:var(--c-text-subtle)}button.name-phone-line__phone{margin:0 -4px;padding:2px 4px;border:none;border-radius:3px;background:none;font:inherit;font-weight:500;color:#5f6f86;text-decoration:none;cursor:pointer;text-align:left;max-width:100%;word-break:break-word;transition:color .12s ease,background .12s ease}button.name-phone-line__phone:hover{color:#4f617b;background:#5f6f8614}button.name-phone-line__phone:active{color:#44566f;background:#5f6f861f}.name-phone-line__phone--static{font-weight:500;color:var(--c-text-subtle)}.row-2{color:#4f5b76;margin-top:2px;font-size:.8rem}.row-3{margin-top:4px;font-size:.85rem;font-weight:400;color:var(--c-text-subtle)}.row-4{margin-top:8px;display:flex;gap:10px;align-items:center}.badge{display:inline-block;font-size:12px;padding:3px 8px;border-radius:6px;font-weight:500}.action-link{min-height:44px;display:inline-flex;align-items:center;font-size:13px;text-decoration:none;color:#1a73e8}.status-new{border-left:3px solid #22a06b}.status-new .badge{background:#d3f9d8;color:#146c43}.status-done{border-left:3px solid #1a73e8}.status-done .badge{background:#e8f1fe;color:#1557b0}.status-cancel{border-left:3px solid #f59e0b}.status-cancel .badge{background:#fff3c4;color:#9a5b00}.empty-state{margin:4px 0 8px;padding:16px 14px;border:1px dashed #d8e0ef;border-radius:4px;background:linear-gradient(180deg,#fbfcfe,#f6f9fc);color:var(--c-text-subtle);display:grid;justify-items:center;text-align:center;gap:5px}.empty-state__icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:#5f6c80;background:#edf2f8;border:1px solid #d6deea;border-radius:3px}.empty-state__icon svg{width:18px;height:18px}.empty-state__title{margin:0;font-size:.9rem;font-weight:600;color:#3d4a63}.empty-state__hint{margin:0;font-size:.78rem;color:#718096}.appointment-skeleton{position:relative;overflow:hidden;border-color:#e4e9f2;border-radius:8px;background:#eef2f7;min-height:96px;box-shadow:none}.appointment-skeleton:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#fff0 22%,#ffffff6b,#fff0 74%);transform:translate3d(-120%,0,0);will-change:transform;animation:skeleton-shimmer 1.5s ease-in-out infinite}@keyframes skeleton-shimmer{to{transform:translate3d(120%,0,0)}}.status-line{margin:0;color:#1a73e8;font-size:13px}.toast-container{position:fixed;left:0;right:0;bottom:max(12px,var(--safe-bottom));display:flex;justify-content:center;padding:0 max(12px,var(--safe-right)) 0 max(12px,var(--safe-left));z-index:80;pointer-events:none}.toast-message{width:min(520px,100%);border-radius:4px;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border:1px solid transparent;box-shadow:0 10px 32px #0f172a1f;pointer-events:auto}.toast-message span{font-size:14px;line-height:1.4;font-weight:500}.toast-message--info{background:linear-gradient(165deg,#f4f9ff,#e8f2fc);color:#16365a;border-color:#3b82f647;box-shadow:0 10px 28px #1e40af1a}.toast-message--success{background:linear-gradient(165deg,#f0fdf6,#dcfce8);color:#14532d;border-color:#22c55e59;box-shadow:0 10px 28px #15532d1a}.toast-message--warning{background:linear-gradient(165deg,#fffbeb,#fef3c7);color:#78350f;border-color:#f59e0b66;box-shadow:0 10px 28px #78350f1a}.toast-message--error{background:linear-gradient(165deg,#fff5f5,#fee2e2);color:#7f1d1d;border-color:#ef444459;box-shadow:0 10px 28px #7f1d1d1a}.toast-close{flex-shrink:0;border:none;background:transparent;color:inherit;opacity:.55;width:30px;height:30px;border-radius:6px;cursor:pointer;font-size:20px;line-height:1;transition:opacity .15s ease,background .15s ease}.toast-close:hover{opacity:1;background:#0000000f}.toast-message--error .toast-close:hover{background:#7f1d1d14}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px}.quick-textarea{width:100%;box-sizing:border-box;border:1px solid var(--c-border-strong);border-radius:var(--radius-control);padding:12px 14px;font-size:var(--font-input);line-height:1.45;min-height:92px;resize:vertical;font-family:inherit;background:var(--c-surface);color:var(--c-text)}.quick-textarea:focus{outline:none;border-color:var(--c-primary);box-shadow:none}.quick-input-composer{position:relative;margin-top:6px;border-radius:4px;border:1px solid var(--c-border);background:var(--c-surface);box-shadow:0 1px 3px #0000000d;transition:border-color .2s ease,box-shadow .2s ease}.quick-input-composer:focus-within{border-color:#8ebee9;box-shadow:none}.quick-textarea--composer{min-height:76px;max-height:280px;resize:none;overflow-y:auto;padding-left:14px;padding-right:52px;padding-bottom:10px;border-radius:3px;font-size:var(--font-input);line-height:1.45;border:none;box-shadow:none;background:transparent;scrollbar-width:none;-ms-overflow-style:none}.quick-input-clear-btn{border-color:#9cadc457!important;background:#ffffffc7!important;color:#6f8098}.quick-input-clear-btn svg{width:14px;height:14px;display:block}.quick-input-clear-btn:hover{background:#f1f5f9eb!important;border-color:#9cadc47a!important;color:#586b85}.quick-input-clear-btn:active{background:#e9eff7b8!important}.quick-textarea--composer::placeholder{font-size:.875rem;color:#7a8699}.quick-textarea--composer::-webkit-scrollbar{width:0;height:0;background:transparent}.quick-textarea--composer:focus{outline:none;border-color:transparent;box-shadow:none}.quick-send-btn{position:absolute;right:6px;bottom:6px;width:32px;height:32px;border:1px solid rgba(0,120,212,.35);border-radius:999px;background:var(--c-primary-soft);color:var(--c-primary);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none;transition:background .15s ease,transform .12s ease,border-color .15s ease}.quick-send-btn svg{width:15px;height:15px}.quick-input-composer-tools{position:absolute;top:6px;right:6px;z-index:2;display:inline-flex;flex-direction:row;align-items:center;gap:6px}.quick-input-composer-tools .icon-btn{width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;padding:0;border-radius:999px;border:1px solid rgba(148,163,184,.22);background:#ffffffb8;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.quick-reminder-bell-btn,.icon-btn.quick-input-mic,.quick-input-tool.quick-input-mic{width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px}.quick-input-speech-stop{position:absolute;right:46px;bottom:8px;z-index:2;min-height:32px;padding:0 8px;font-size:12px;box-shadow:none}.quick-send-btn:hover:not(:disabled){background:#d0e7f9;border-color:var(--c-primary)}.quick-send-btn:active:not(:disabled){transform:scale(.96)}.quick-send-btn:disabled{opacity:.55;cursor:default}.quick-send-btn__spinner{width:18px;height:18px;border:2px solid rgba(0,120,212,.2);border-top-color:var(--c-primary);border-radius:50%;animation:quick-send-spin .7s linear infinite}@keyframes quick-send-spin{to{transform:rotate(360deg)}}.action-more-anchor{position:relative;display:inline-flex;align-items:center;vertical-align:middle}.reminder-inline{margin-top:8px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:10px;border-radius:3px;background:#f6f8fc;border:1px solid #e2e7f0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.quick-submit-row{margin-top:10px;display:flex;align-items:stretch;gap:12px}.quick-reminder-row{padding:12px;border-radius:4px;background:#f6f8fc;border:1px solid #e2e7f0;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0}.quick-reminder-label{font-size:13px;font-weight:500;letter-spacing:-.01em;color:#1b1f2a;flex:0 0 auto}.quick-reminder-row .reminder-switch{flex:0 0 auto;width:auto}.quick-submit-primary{width:auto;min-width:140px;margin-top:0;align-self:stretch;display:inline-flex;align-items:center;justify-content:center;padding-left:18px;padding-right:18px;border-radius:4px}@media(max-width:420px){.quick-submit-row{flex-wrap:wrap}.quick-submit-primary{width:100%;min-width:0}}.reminder-switch{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 12px;border-radius:6px;border:1px solid #d0d6e3;background:#fff;color:#1b1f2a;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;white-space:nowrap}.reminder-switch-label{letter-spacing:-.01em}.reminder-switch-ui{width:44px;height:26px;border-radius:6px;position:relative;background:#e6eaf3;flex:0 0 auto}.reminder-switch-ui:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #0000002e;transition:transform .16s ease,background .16s ease}.reminder-switch--on .reminder-switch-ui{background:#1a73e8}.reminder-switch--on .reminder-switch-ui:after{transform:translate(18px)}.reminder-switch--compact{min-height:40px;padding:0 10px;gap:8px}.reminder-switch--tiny{padding:0;width:52px;justify-content:center;gap:0}.reminder-switch--tiny .reminder-switch-ui{width:40px}.reminder-switch--compact .reminder-switch-ui{width:40px;height:22px}.reminder-switch--compact .reminder-switch-ui:after{width:16px;height:16px;top:2px;left:2px}.reminder-switch--compact.reminder-switch--on .reminder-switch-ui:after{transform:translate(18px)}.reminder-selects{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.reminder-selects select{min-height:40px;border:1px solid #d0d6e3;border-radius:4px;padding:8px 10px;font-size:var(--font-input);font-family:inherit;background:#fff}.reminder-selects--inline{display:flex;flex-wrap:wrap;gap:6px;align-items:center;width:100%}.reminder-selects--inline select{flex:1 1 0;min-width:0;min-height:40px;font-size:var(--font-input);padding:6px 8px}.reminder-edit{display:flex;flex-direction:column;gap:8px}@media(max-width:420px){.reminder-inline{grid-template-columns:1fr;align-items:stretch}.reminder-switch{width:100%}.reminder-selects{grid-template-columns:1fr}}.filter-chips-outer{flex-shrink:0;margin-bottom:0;padding:10px 2px 12px;border-bottom:1px solid var(--c-shell-divider)}.filter-chips{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:4px 0 6px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none}.filter-chips::-webkit-scrollbar{display:none;height:0}.chip{flex:0 0 auto;border:1px solid var(--c-border);background:#ffffffeb;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border-radius:999px;padding:6px 11px;font-size:.8125rem;font-weight:500;cursor:pointer;min-height:36px;color:var(--c-text);white-space:nowrap;scroll-snap-align:start}.chip-active{background:var(--c-primary-soft);border-color:var(--c-primary);color:var(--c-primary)}.day-groups{display:flex;flex-direction:column;gap:12px}.day-group-header__date-wrap{display:inline-flex;align-items:center;gap:6px;min-width:0}.day-group-header__cal-icon{display:block;width:15px;height:15px;flex-shrink:0;color:var(--c-primary);opacity:.88}.day-group-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px;row-gap:2px;background:linear-gradient(180deg,var(--c-bg-app-mid) 78%,transparent);padding:6px 0 4px;font-size:.8125rem;border-bottom:1px solid var(--c-shell-divider)}.day-group-header__date{font-weight:400;color:var(--c-text-subtle)}.day-group-header__sep{color:var(--c-border-strong);font-weight:400;-webkit-user-select:none;user-select:none}.day-group-header__count{display:inline-flex;align-items:baseline;gap:4px;font-size:.8125rem;line-height:1.2}.day-group-header__count-num{font-weight:700;font-variant-numeric:tabular-nums;color:var(--c-primary);letter-spacing:-.02em}.day-group-header__count-suffix{font-weight:500;color:#5c6b82}.datetime-badge-wrap{display:inline-flex;align-items:flex-start;justify-content:flex-end;gap:5px;flex-shrink:0;max-width:58%;min-width:0}.card-reminder-bell{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}.card-reminder-bell--on{color:#c41e3a}.card-reminder-bell--off{color:#94a3b8;opacity:.85}.card-reminder-bell__icon{display:block;width:16px;height:16px}.datetime-badge{font-size:.75rem;font-weight:400;color:var(--c-text-subtle);text-align:right;line-height:1.25;min-width:0}.datetime-badge--accent{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:6px;font-size:.78rem;line-height:1.25;padding:0;border:none;background:none}.datetime-badge__time-week{font-weight:600;font-size:.78rem;color:#b91c1c}.datetime-badge__date{font-weight:600;font-size:.78rem;color:#4c1d95}.row-actions{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between}.card-badges{display:inline-flex;align-items:center;gap:6px}.badge-emr-cluster{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;margin:0;font-size:12px;padding:3px 8px;border-radius:6px;font-weight:500;font-family:inherit;line-height:1.2;border:none;cursor:pointer;vertical-align:middle;background:#e8f1fe;color:#1557b0;box-sizing:border-box}.badge-emr-cluster:hover{filter:brightness(.97)}.badge-emr-cluster:active{transform:scale(.98)}.badge-emr-cluster svg{width:13px;height:13px;flex-shrink:0;display:block}.badge-emr-cluster__count{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1;min-width:.65em;text-align:center}.badge-emr-cluster__label{white-space:nowrap}.linked-exams-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #e2e8f0}.linked-exams-sheet-head--patient{flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 12px 10px 14px}.linked-exams-sheet-title{margin:0;font-size:1.05rem;font-weight:600}.linked-exams-sheet-title--patient{flex:1 1 10rem;min-width:0;font-size:.875rem;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.linked-exams-sheet-head-ctas{display:flex;align-items:center;gap:6px;flex-shrink:0}.action-tile--sheet{min-width:34px;min-height:34px}.action-tile--sheet svg{width:18px;height:18px}.icon-btn.icon-btn--sheet-close{min-width:34px;min-height:34px}.linked-exams-sheet-body{padding:10px 14px 14px;overflow-y:auto}.linked-exams-sheet-body--exam-detail{padding-top:8px;font-size:.8125rem;line-height:1.35;color:var(--c-text)}.linked-exams-sub{margin:0 0 12px;font-size:.875rem;color:var(--c-text-subtle);line-height:1.4}.linked-exams-loading,.linked-exams-error{padding:12px 0;text-align:center;font-size:.8125rem;color:var(--c-text-subtle)}.linked-exams-loading{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.linked-exams-error{color:#b42318}.linked-exam-row{display:flex;flex-direction:column;gap:8px;padding:10px 12px;margin-bottom:8px;border:1px solid var(--c-border);border-radius:var(--radius-card);background:var(--c-muted-surface)}.linked-exam-row:last-child{margin-bottom:0}.linked-exam-row__meta{font-size:.8125rem;color:var(--c-text-subtle)}.linked-exam-row__desc{font-size:.875rem;color:var(--c-text);line-height:1.35;word-break:break-word}.linked-exam-row__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.linked-exam-open-btn{font-size:.8125rem;font-weight:600;padding:6px 12px;border-radius:var(--radius-control);border:none;cursor:pointer;background:var(--c-primary);color:#fff}.linked-exam-open-btn:hover{background:var(--c-primary-hover)}.linked-exam-detail-block{margin-bottom:4px}.linked-exam-detail-block:last-child{margin-bottom:0}.linked-exam-detail-block--sep{padding-top:10px;margin-top:10px;border-top:1px solid #e2e8f0}.linked-exam-detail-lines{padding:2px 0 0}.linked-exam-detail-line{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px dotted #e2e8f0}.linked-exam-detail-line:last-child{border-bottom:none}.linked-exam-detail-line__left{min-width:0;font-size:.8125rem;font-weight:400;line-height:1.35;color:var(--c-text)}.linked-exam-detail-line__name{word-break:break-word}.linked-exam-detail-line__qty{font-style:italic;font-weight:400;color:var(--c-text-subtle)}.linked-exam-detail-line__price{flex-shrink:0;font-size:.8125rem;font-weight:500;font-variant-numeric:tabular-nums;color:#0d6b4f}.linked-exam-detail-foot{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:2px;padding-top:8px;border-top:1px solid #e2e8f0;font-size:.8125rem;font-weight:400;line-height:1.35;color:var(--c-text)}.linked-exam-detail-foot__meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-width:0}.linked-exam-detail-foot__date{display:inline-flex;align-items:center;gap:4px;color:var(--c-text-subtle)}.linked-exam-detail-foot__cal,.linked-exam-detail-foot__cal svg{width:14px;height:14px;flex-shrink:0;display:block;color:inherit;opacity:.92}.linked-exam-detail-foot__sep{color:var(--c-text-subtle);-webkit-user-select:none;user-select:none}.linked-exam-detail-foot__link{font-size:inherit;font-weight:500;color:#1a56c9;text-decoration:none;white-space:nowrap}.linked-exam-detail-foot__link:hover{text-decoration:underline}.linked-exam-detail-foot__amount{flex-shrink:0;font-variant-numeric:tabular-nums;font-weight:500;color:#0d6b4f}.linked-exam-detail-missing,.linked-exam-detail-empty{margin:0;padding:8px 0;font-size:.8125rem;line-height:1.35}.linked-exam-detail-missing{color:#b42318}.linked-exam-detail-empty{color:var(--c-text-subtle)}.action-icons{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-left:auto;position:relative}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:var(--control-h);min-height:var(--control-h);padding:0;border:none;border-radius:var(--radius-control);background:var(--c-muted-surface);color:var(--c-text);cursor:pointer}.icon-btn:disabled{opacity:.45;cursor:not-allowed}.quick-reminder-bell-btn--on,.edit-reminder-bell-btn--on{color:#c41e3a;background:#c41e3a14}.quick-reminder-bell-btn--off,.edit-reminder-bell-btn--off{color:#aeb8c6;background:#f8fafc}.quick-reminder-bell-btn__icon,.edit-reminder-bell-btn__icon{display:block;width:20px;height:20px}.action-icon{background:#f0f3f8}.action-icon.danger{color:#9b1c1f;background:#ffe8e8}.link-icon{text-decoration:none;color:#1a73e8;background:#e8f1fe}.link-icon.disabled{opacity:.35;pointer-events:none}.modal-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:flex-end;justify-content:center;z-index:50;padding:max(12px,var(--safe-top)) max(12px,var(--safe-right)) max(12px,var(--safe-bottom)) max(12px,var(--safe-left));box-sizing:border-box}.modal-sheet{width:100%;max-width:460px;max-height:min(96vh,96dvh);overflow:auto;-webkit-overflow-scrolling:touch;background:#fff;border-radius:6px 6px 0 0;padding:12px;padding-bottom:max(12px,var(--safe-bottom));box-shadow:0 -8px 28px #0f172a26;scrollbar-width:none;-ms-overflow-style:none}.modal-sheet.modal-sheet--linked-exams{max-width:440px;width:calc(100vw - 32px);max-height:min(82vh,600px);display:flex;flex-direction:column;padding:0;border-radius:6px;border:1px solid #e2e8f0;box-shadow:0 10px 36px #0f172a24;overflow:hidden}.modal-sheet.modal-sheet--linked-exams .linked-exams-sheet-body{flex:1 1 auto;min-height:0}.modal-sheet::-webkit-scrollbar{width:0;height:0;background:transparent}.modal-sheet--edit{display:flex;flex-direction:column;width:calc(100vw - 16px);max-width:min(600px,100%);max-height:min(88dvh,92vh);padding:0;overflow:hidden;border-radius:6px;border:1px solid rgba(15,23,42,.1);box-sizing:border-box;box-shadow:0 1px 2px #0f172a0d,0 16px 40px #0f172a1f}.modal-sheet--edit .edit-sheet-header{flex-shrink:0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--c-shell-divider);background:linear-gradient(180deg,#fafbfc,#fff)}.modal-sheet--edit .edit-sheet-title{margin:0;font-size:clamp(1.02rem,3.5vw,1.12rem);font-weight:500;letter-spacing:-.02em;line-height:1.2;min-width:0;max-width:100%;display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;text-align:left;justify-self:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-sheet-title__icon{width:18px;height:18px;color:var(--c-primary);opacity:.88;flex-shrink:0}.edit-sheet-close-btn{flex-shrink:0;min-width:34px;min-height:34px;border-radius:var(--radius-control);border:1px solid var(--c-border);background:#f8f9fb;justify-self:start;color:#475569;justify-self:end}.modal-sheet--edit .edit-sheet-close-btn:hover:not(:disabled){color:#0f172a;background:#f1f5f9}.edit-sheet-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px 10px max(14px,var(--safe-bottom));scrollbar-width:none;-ms-overflow-style:none;background:var(--c-surface);display:flex;flex-direction:column;gap:12px}.modal-sheet--edit .edit-sheet-footer{flex-shrink:0;display:flex;justify-content:flex-end;padding:8px 10px 10px;border-top:1px solid var(--c-shell-divider);background:#fff}.modal-sheet--edit .edit-sheet-save-footer{width:auto;min-width:96px;margin:0;min-height:36px;padding:6px 14px;font-size:13px;font-weight:600}.edit-sheet-scroll::-webkit-scrollbar{width:0;height:0;background:transparent}.edit-field-grid{display:flex;flex-direction:column;gap:12px;margin:0;flex-shrink:0}.modal-sheet--edit .edit-input-wrap{position:relative;display:block;width:100%}.modal-sheet--edit .edit-input-wrap__icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);z-index:1;display:flex;align-items:center;justify-content:center;color:#64748b;pointer-events:none}.modal-sheet--edit .edit-input-wrap__icon--user{color:#0078d4}.modal-sheet--edit .edit-input-wrap__icon--phone{color:#0f766e}.modal-sheet--edit .edit-input-wrap__icon--content{color:#b45309}.modal-sheet--edit .edit-input-wrap__icon--datetime{color:#6d28d9}.modal-sheet--edit .edit-input-wrap__icon svg{width:17px;height:17px;display:block}.modal-sheet--edit .edit-input-wrap--textarea .edit-input-wrap__icon{top:12px;transform:none}.modal-sheet--edit .edit-sheet-scroll>.modal-field,.modal-sheet--edit .edit-sheet-scroll>.modal-field--edit-status,.modal-sheet--edit .edit-sheet-scroll>.modal-field--edit-reminder,.modal-sheet--edit .edit-field-grid>.modal-field{margin-bottom:0}.modal-sheet--edit .modal-field{gap:5px;font-size:.75rem;font-weight:400;color:var(--c-text-subtle)}.modal-sheet--edit .edit-status-row{display:flex;flex-direction:row;align-items:center;width:100%;min-width:0}.modal-sheet--edit .edit-status-row .status-segment{flex:1 1 auto;min-width:0}.modal-sheet--edit .modal-field input,.modal-sheet--edit .modal-field textarea,.modal-sheet--edit .modal-field select{box-sizing:border-box;border-radius:var(--radius-control);border:1px solid var(--c-border);background:#fff;font-family:inherit;font-size:15px;font-weight:400;font-style:normal;line-height:1.3;color:var(--c-text);transition:box-shadow .15s ease,background-color .15s ease}.modal-sheet--edit .modal-field input,.modal-sheet--edit .modal-field select{min-height:34px}.modal-sheet--edit .modal-field textarea{min-height:36px}.modal-sheet--edit .modal-field .edit-input-wrap>input{width:100%;padding:0 10px 0 40px}.modal-sheet--edit .modal-field .edit-input-wrap--textarea>textarea{width:100%;padding:10px 10px 8px 40px}.modal-sheet--edit .modal-field input::placeholder,.modal-sheet--edit .modal-field textarea::placeholder{font-size:13px;font-weight:400;line-height:1.25;color:var(--c-text-subtle);letter-spacing:.01em;opacity:1}.modal-sheet--edit .modal-field input::-webkit-input-placeholder,.modal-sheet--edit .modal-field textarea::-webkit-input-placeholder{font-size:13px;font-weight:400;line-height:1.25;color:var(--c-text-subtle);letter-spacing:.01em}.modal-sheet--edit .modal-field input::-moz-placeholder,.modal-sheet--edit .modal-field textarea::-moz-placeholder{font-size:13px;font-weight:400;line-height:1.25;color:var(--c-text-subtle);letter-spacing:.01em;opacity:1}.modal-sheet--edit .modal-field textarea.edit-content-textarea{min-height:52px;max-height:96px;line-height:1.4;resize:none;overflow-y:auto}.modal-sheet--edit .modal-field input:focus,.modal-sheet--edit .modal-field textarea:focus,.modal-sheet--edit .modal-field select:focus{outline:none;box-shadow:inset 0 0 0 1px var(--c-primary);background:#fdfefe}.header-name-search,.quick-input-composer,.quick-textarea,.modal-sheet--edit .modal-field input,.modal-sheet--edit .modal-field textarea,.modal-sheet--edit .modal-field select{transition-property:box-shadow,background-color,color}.header-name-search:focus,.quick-textarea:focus:not(.quick-textarea--composer){border-color:var(--c-border);box-shadow:inset 0 0 0 1px #0078d461;background:#fff}.modal-sheet--edit .status-chip{font-size:.68rem;min-height:26px;padding:0 7px;border-radius:var(--radius-control)}.modal-sheet--edit .status-segment{gap:4px}.modal-sheet--edit .reminder-switch{min-height:30px;padding:0 8px;font-size:11px}.modal-sheet--edit .reminder-selects{gap:5px}.modal-sheet--edit .reminder-selects--disabled{opacity:.6}.modal-sheet--edit .reminder-selects select{min-height:34px;padding:0 10px;font-size:15px;font-weight:400;font-family:inherit;border:1px solid var(--c-border);background:#fff;border-radius:var(--radius-control);color:var(--c-text);box-sizing:border-box}.modal-sheet--edit .reminder-edit{flex-direction:row;align-items:center;gap:5px}.modal-sheet--edit .edit-reminder-bell-btn{min-width:36px;min-height:36px;border-radius:var(--radius-control);border:1px solid var(--c-border)}.modal-sheet--edit .edit-reminder-bell-btn--off{color:#0284c7}.modal-sheet--edit .edit-reminder-bell-btn--off:hover:not(:disabled){color:#0369a1}.modal-sheet--edit .reminder-edit .reminder-selects{flex:1 1 auto;min-width:0}.modal-sheet--edit .edit-reminder-bell-btn__icon{width:19px;height:19px}.modal-sheet--edit .edit-sheet-title__icon{width:18px;height:18px}.modal-sheet--edit .modal-field-error{font-size:12px}.modal-sheet h3{margin:0 0 12px;font-size:18px;font-weight:500}.modal-subtitle{margin:-6px 0 8px;color:var(--c-text-subtle);font-size:12px}.modal-field{display:flex;flex-direction:column;gap:3px;margin-bottom:8px;font-size:12px;font-weight:500;color:var(--c-text-subtle)}.modal-field input,.modal-field textarea,.modal-field select{font-size:var(--font-input);padding:6px 9px;border:1px solid var(--c-border);border-radius:var(--radius-control);font-family:inherit}.modal-field input:focus,.modal-field textarea:focus,.modal-field select:focus{outline:none;border-color:var(--c-primary);box-shadow:var(--focus-ring)}.modal-field-hint{font-size:12px;color:#6b7280}.modal-field-error{font-size:12px;color:#b42318;font-weight:500}.status-segment{display:flex;gap:8px;flex-wrap:wrap}.status-chip{border:1px solid var(--c-border);background:#fff;color:#334155;min-height:34px;padding:0 10px;border-radius:3px;font-weight:500;font-size:12px;cursor:pointer;font-family:inherit}.status-chip--active{border-color:var(--c-primary);background:var(--c-primary-soft);color:var(--c-primary)}.modal-actions{display:flex;gap:10px;margin-top:10px}.secondary-btn{flex:1;min-height:var(--control-h);border-radius:var(--radius-control);border:1px solid var(--c-border);background:#fff;font-weight:500;font-size:.9rem;cursor:pointer}.list-load-more{display:flex;justify-content:center;margin-top:8px;padding-bottom:max(6px,env(safe-area-inset-bottom,0px))}.list-load-more-btn{width:100%;max-width:280px;min-height:40px}.modal-primary{flex:1;margin-top:0}.quick-input-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;flex-wrap:nowrap;min-height:38px}.quick-input-title{display:inline-flex;align-items:center;gap:4px;min-width:0;flex:1}.quick-input-label-row label{display:inline-block;margin-bottom:0;font-size:.88rem;font-weight:500;letter-spacing:-.02em;color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-input-inline-actions{display:flex;gap:4px;flex-shrink:0;flex-wrap:nowrap;justify-content:flex-end;align-items:center;min-height:36px}.quick-input-reminder-bell{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--c-text-subtle);opacity:.72;pointer-events:none}.quick-input-reminder-bell--on{color:var(--c-primary);opacity:1}.quick-input-reminder-bell__svg{display:block;width:18px;height:18px}.quick-input-tool{min-width:40px;min-height:40px;border-radius:3px;background:transparent;color:#1557b0}.icon-btn.quick-input-mic,.quick-input-tool.quick-input-mic{box-sizing:border-box;padding:0;border-radius:999px;border:1px solid rgba(156,173,196,.34)!important;background:#ffffffb3;color:#7288a6;box-shadow:none;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .14s ease}.icon-btn.quick-input-mic:hover:not(:disabled),.quick-input-tool.quick-input-mic:hover:not(:disabled){background:#f1f5f9eb;border-color:#9cadc480!important;color:#607a9b;box-shadow:none;transform:translateY(-1px)}.icon-btn.quick-input-mic:active:not(:disabled),.quick-input-tool.quick-input-mic:active:not(:disabled){transform:translateY(0);background:#e9eff7f2;box-shadow:none}.icon-btn.quick-input-mic:disabled,.quick-input-tool.quick-input-mic:disabled{background:var(--c-muted-surface);color:var(--c-text-subtle);box-shadow:none;transform:none}.quick-reminder-bell-btn__icon{width:18px;height:18px}.icon-btn.quick-input-mic svg,.quick-input-tool.quick-input-mic svg{width:15px;height:15px}.icon-btn.quick-input-mic.quick-input-tool--listening,.quick-input-tool.quick-input-mic.quick-input-tool--listening{background:linear-gradient(180deg,#fff8f8,#fdeff0);border-color:#e4b8bc!important;color:#a4262c;box-shadow:0 0 0 1px #c42b1c1f,0 2px 8px #a4262c1a;animation:mic-breathe 1.6s ease-in-out infinite;transform:none}.icon-btn.quick-input-mic.quick-input-tool--listening:hover:not(:disabled),.quick-input-tool.quick-input-mic.quick-input-tool--listening:hover:not(:disabled){transform:none}.quick-input-tool--inline{min-width:34px;min-height:34px;border-radius:6px;background:transparent;color:var(--c-text-subtle)}.quick-reminder-toggle{border:none!important;background:transparent!important;box-shadow:none!important;min-height:auto;padding:0!important;border-radius:0}.quick-reminder-toggle.reminder-switch--on{background:transparent!important}.quick-reminder-toggle.reminder-switch--tiny{width:auto}.quick-reminder-toggle .reminder-switch-ui{width:40px;height:24px}.quick-reminder-toggle .reminder-switch-ui:after{top:3px;left:3px;width:18px;height:18px}.quick-reminder-toggle.reminder-switch--on .reminder-switch-ui:after{transform:translate(16px)}.quick-input-tool:disabled{opacity:.4}@keyframes mic-breathe{0%,to{box-shadow:0 0 0 1px #c42b1c1a,0 2px 6px #a4262c14}50%{box-shadow:0 0 0 1px #c42b1c2e,0 3px 12px #a4262c1f}}.modal-sheet.help-modal .help-modal-title-bar{margin:-12px -12px 14px;padding:10px 12px 12px;border-bottom:1px solid var(--c-shell-divider);border-radius:0 0 4px 4px;background:var(--c-surface);box-sizing:border-box}.modal-sheet.help-modal .help-modal-title{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:0;box-sizing:border-box}.help-modal-title__icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--c-primary)}.help-modal-title__icon svg{width:22px;height:22px}.help-modal-title__text{min-width:0;flex:1}.quick-input-tool--help-info svg{display:block;width:15px;height:15px}.help-modal .modal-actions{margin-top:8px}.help-modal-body{font-size:14px;line-height:1.5;color:#3d4a63}.help-modal-body p{margin:0 0 10px}.help-lead{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:14px}.help-lead__icon{display:inline-flex;flex-shrink:0;margin-top:1px;color:var(--c-primary);opacity:.92}.help-lead__icon svg{width:18px;height:18px}.help-lead__text{min-width:0;flex:1}.help-examples-title,.help-patterns-title{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:500;color:#1b1f2a;margin-top:4px!important}.help-section-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;color:var(--c-primary);opacity:.9}.help-section-icon svg{width:18px;height:18px}.help-examples,.help-patterns{margin:0 0 12px;padding-left:18px}.help-examples li,.help-patterns li{margin-bottom:6px}.help-examples code{display:block;font-size:12px;background:#f0f3f8;padding:8px 10px;border-radius:4px;word-break:break-word;color:#1b1f2a}.help-patterns code{font-size:12px;background:#f0f3f8;padding:1px 4px;border-radius:4px}.help-footnote{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:12px;color:#6b7280;margin-bottom:0!important}.help-footnote__icon{display:inline-flex;flex-shrink:0;margin-top:1px;color:var(--c-primary);opacity:.85}.help-footnote__icon svg{width:18px;height:18px}.help-footnote__text{min-width:0;flex:1}.speech-stop-btn{display:inline-flex;align-items:center;gap:6px;min-height:var(--control-h);padding:0 14px;border:none;border-radius:3px;background:#de3b40;color:#fff;font-size:14px;font-weight:500;cursor:pointer;font-family:inherit;box-shadow:0 2px 8px #de3b4059}button:focus-visible,a:focus-visible{outline:none;box-shadow:var(--focus-ring)}.speech-stop-btn:hover{filter:brightness(1.05)}.speech-stop-btn:active{transform:scale(.98)}.action-tile{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:0;border:none;border-radius:999px;cursor:pointer;font:inherit;color:inherit;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease;box-shadow:0 1px 3px #0000000f}.action-tile:active:not(:disabled){transform:scale(.94)}.action-tile:disabled{opacity:.45;cursor:not-allowed}.action-tile--done{background:#eefaf3;color:#2e7d57}.action-tile--cancel{background:#fff7ec;color:#c07a36}.action-tile--edit{background:#f3f6fa;color:#66758d}.action-tile--delete{background:#fff1f1;color:#cc5f5f}.action-tile--share{background:#eef4fe;color:#5b7fc8}.action-tile--call{background:#eef4fe;color:#5a7dbf}.action-tile--zalo{background:#ebf7ff;color:#4b86bd}.action-tile--more{background:#f3f6fa;color:#66758d}.action-tile--inactive{opacity:.72;box-shadow:none}.action-more-menu{position:absolute;right:0;top:calc(100% + 6px);display:inline-flex;align-items:center;gap:6px;padding:6px;border-radius:4px;border:1px solid #d8e0ef;background:#fff;box-shadow:0 10px 28px #0f172a29;z-index:6}.appointment-item-swipe .action-more-menu{top:auto;bottom:calc(100% + 6px)}.modal-backdrop--center{align-items:center;justify-content:center;padding:max(20px,var(--safe-top)) max(20px,var(--safe-right)) max(20px,var(--safe-bottom)) max(20px,var(--safe-left));background:#0f172a73;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.confirm-dialog{width:100%;max-width:340px;background:#fff;border-radius:4px;padding:22px 20px 18px;box-shadow:0 20px 50px #0000002e;text-align:center}.confirm-dialog-icon{width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:linear-gradient(145deg,#ffe8e8,#ffd6d6);color:#c41e1e;display:flex;align-items:center;justify-content:center}.confirm-dialog-icon svg{width:26px;height:26px}.confirm-dialog h3{margin:0 0 10px;font-size:18px;font-weight:500;color:#1b1f2a}.confirm-dialog-text{margin:0 0 20px;font-size:14px;line-height:1.5;color:#4f5b76}.confirm-dialog-text strong{color:#1b1f2a}.confirm-dialog-actions{display:flex;gap:10px}.confirm-dialog-btn{flex:1;min-height:46px;border-radius:3px;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;border:none}.confirm-dialog-btn:disabled{opacity:.6;cursor:not-allowed}.confirm-dialog-btn--ghost{background:#f0f3f8;color:#3d4a63}.confirm-dialog-btn--danger{background:linear-gradient(180deg,#ef4444,#dc2626);color:#fff;box-shadow:0 4px 14px #dc262659}.confirm-dialog.confirm-dialog--delete{max-width:380px;padding:0;overflow:hidden;text-align:left;border:1px solid rgba(15,23,42,.08);border-radius:4px;box-shadow:0 1px 2px #0f172a0d,0 14px 42px #0f172a24}.confirm-dialog--delete .confirm-dialog-top{display:flex;flex-direction:row;align-items:flex-start;gap:14px;padding:20px 20px 16px}.confirm-dialog--delete .confirm-dialog-icon{margin:0;flex-shrink:0;width:48px;height:48px;border-radius:3px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c}.confirm-dialog--delete .confirm-dialog-icon svg{width:24px;height:24px}.confirm-dialog--delete .confirm-dialog-copy{min-width:0;flex:1;padding-top:2px}.confirm-dialog--delete .confirm-dialog-copy h3{margin:0 0 8px;font-size:1.0625rem;font-weight:600;letter-spacing:-.02em;color:#0f172a;text-align:left}.confirm-dialog--delete .confirm-dialog-text{margin:0;text-align:left;font-size:13px;line-height:1.55;color:#475569}.confirm-dialog--delete .confirm-dialog-actions{margin:0;padding:12px 16px 16px;border-top:1px solid var(--c-shell-divider);background:linear-gradient(180deg,#f8fafc,#f1f5f9);gap:10px}.confirm-dialog--delete .confirm-dialog-btn{min-height:44px;border-radius:4px;font-size:14px}.confirm-dialog--delete .confirm-dialog-btn--ghost{background:#fff;border:1px solid #e2e8f0;color:#334155;box-shadow:0 1px 2px #0f172a0a}.confirm-dialog--delete .confirm-dialog-btn--danger{background:linear-gradient(180deg,#e11d48,#be123c);box-shadow:0 2px 10px #be123c47}@media(max-width:420px){.header-name-search{flex:1 1 auto;height:32px;font-size:16px;padding:0 8px;min-width:132px;max-width:none}.header-name-search::placeholder{font-size:11px}.modal-sheet--edit .modal-field input,.modal-sheet--edit .modal-field textarea,.modal-sheet--edit .modal-field select{font-size:16px;font-weight:400}.modal-sheet--edit .modal-field input,.modal-sheet--edit .modal-field select{min-height:36px}.modal-sheet--edit .modal-field textarea{min-height:38px}.modal-sheet--edit .modal-field .edit-input-wrap>input{padding:0 10px 0 42px}.modal-sheet--edit .modal-field .edit-input-wrap--textarea>textarea{padding:10px 10px 8px 42px}.modal-sheet--edit .modal-field input::placeholder,.modal-sheet--edit .modal-field textarea::placeholder{font-size:12px;font-weight:400}.modal-sheet--edit .modal-field input::-webkit-input-placeholder,.modal-sheet--edit .modal-field textarea::-webkit-input-placeholder{font-size:12px;font-weight:400}.modal-sheet--edit .modal-field input::-moz-placeholder,.modal-sheet--edit .modal-field textarea::-moz-placeholder{font-size:12px;font-weight:400}.modal-sheet--edit .reminder-selects select{min-height:36px;font-size:16px}.datetime-badge-wrap{max-width:52%}.chip{min-height:36px;padding:6px 11px}.app-shell{padding-left:max(8px,var(--safe-left));padding-right:max(8px,var(--safe-right))}.notify-toggle-label{display:none}.notify-toggle{padding:0 6px 0 8px;gap:6px;min-height:36px}.header-toolbar .icon-btn{min-width:36px;min-height:36px}.header-bar{min-height:36px;gap:6px;flex-wrap:nowrap}.header-title-group{gap:6px;width:100%}.notify-toggle--header{padding:0 5px 0 6px;gap:5px;min-height:36px}.quick-input-label-row{min-height:36px;gap:6px}.quick-input-inline-actions{min-height:34px}.modal-sheet--edit .reminder-edit{flex-direction:column;align-items:stretch}.speech-stop-btn{min-height:36px;padding:0 10px;font-size:13px}.quick-input-speech-stop{min-height:30px;padding:0 8px;font-size:11px}}@media(max-width:720px){.modal-backdrop{align-items:flex-end;backdrop-filter:none;-webkit-backdrop-filter:none}.modal-sheet--edit{width:calc(100vw - 8px);max-height:92dvh;border-radius:10px 10px 0 0;will-change:transform;contain:layout paint}}.app-header h1,.app-title,.app-header--compact .header-title-block h1,.modal-sheet h3,.confirm-dialog h3,.chip,.badge,.notify-toggle-label,.quick-reminder-label,.reminder-switch,.modal-field,.quick-input-card label,.help-examples-title,.help-patterns-title,.link-btn{font-weight:500}@media(hover:none)and (pointer:coarse){button,.chip,.action-tile,.icon-btn,.quick-input-tool,.speech-stop-btn,a.action-tile{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.action-tile{min-width:40px;min-height:40px}.quick-input-tool:not(.quick-input-mic){min-width:40px;min-height:40px}.quick-input-composer-tools .icon-btn{width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px}.quick-input-tool.quick-input-mic,.icon-btn.quick-input-mic{width:40px;min-width:40px;max-width:40px;min-height:40px;height:40px}.quick-send-btn{width:40px;height:40px}.speech-stop-btn{min-height:40px;min-width:40px}}@media(prefers-reduced-motion:reduce){.icon-loading{animation:none}.quick-input-composer:focus-within,.modal-sheet--edit .modal-field input:focus,.modal-sheet--edit .modal-field textarea:focus,.modal-sheet--edit .modal-field select:focus{box-shadow:none}.icon-btn.quick-input-mic.quick-input-tool--listening,.quick-input-tool.quick-input-mic.quick-input-tool--listening{animation:none}.action-tile:active:not(:disabled),.speech-stop-btn:active{transform:none}}
