@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap";:root{font-family:Montserrat,Segoe UI,sans-serif;line-height:1.4;font-weight:500;color:#1a1a1a;background-color:#f5f9fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f5f9fa}#root{min-height:100vh}button{font-family:inherit}.app{max-width:980px;margin:0 auto;padding:24px 20px 100px;display:flex;flex-direction:column;gap:20px}.ios-install-banner{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:14px;border:1px solid #e5e7ef;background:#f2f2f7;box-shadow:0 6px 14px #3e375e14}.ios-install-icon{width:32px;height:32px;border-radius:10px;overflow:hidden;flex:0 0 auto;box-shadow:inset 0 0 0 1px #1a1a1a14;background:#fff}.ios-install-icon img{width:100%;height:100%;display:block;object-fit:cover}.ios-install-content{min-width:0;flex:1;display:grid;gap:2px}.ios-install-title{font-size:13px;font-weight:600;color:#1f2a44}.ios-install-text{font-size:12px;color:#3e375e;line-height:1.25}.ios-install-share{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:6px;background:#ffffffbf;box-shadow:inset 0 0 0 1px #11182714;vertical-align:-3px}.ios-install-share svg{width:14px;height:14px;display:block}.ios-install-close{border:none;background:transparent;color:#6b7280;cursor:pointer;font-size:20px;line-height:1;padding:0 4px;margin-left:2px}.ios-install-close:hover{color:#111827}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.topbar-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.eyebrow{margin:0;font-size:13px;color:#7a889b}.eyebrow-link{cursor:pointer}.eyebrow-link:hover{color:#3e375e}.title{margin:4px 0 0;font-size:28px;font-weight:700}.countdown-sub{margin:4px 0 0;font-size:13px;color:#7a889b}.notice{margin:6px 0 0;color:#1f7a4f;font-weight:600}.pill{border:none;background:#7cb7fd;color:#fff;padding:10px 20px;border-radius:999px;font-size:14px;cursor:pointer;box-shadow:0 6px 16px #7cb7fd59}.pill.full-width{width:100%}.pill.ghost{background:#fff;color:#2a3350;border:1px solid #d9e1f0;box-shadow:none}.pill.ghost:hover{border-color:#b7c6e3;color:#1f2a44}.pill.exit-demo{background:#ff8b6a;box-shadow:0 6px 16px #ff8b6a59}.pill.exit-demo:hover{background:#ff6f46}.home-list{display:grid;gap:12px}.schedule-card{background:#fff;border-radius:14px;padding:16px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 6px 16px #3e375e14;cursor:pointer;border:1px solid transparent;gap:12px}.schedule-card>div{min-width:0}.schedule-card.active{border-color:#7cb7fd;box-shadow:0 8px 18px #7cb7fd40}.schedule-card h2{margin:0 0 6px;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.muted{margin:0;color:#7a889b;font-size:13px}.badge{background:#bc77ec;color:#fff;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:600}.badge.small{padding:4px 10px;font-size:11px}.share-row{display:grid;grid-template-columns:1fr;align-items:center}.share-row input{width:100%}.share-link-input{background:#f0f2f7;color:#52607a;border-color:#d6dbe6;cursor:not-allowed}.share-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px}.share-toggle input{width:18px;height:18px}.share-dialog{max-width:520px}.share-dialog-header{display:grid;gap:6px;margin-bottom:12px}.share-header-row{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center}.share-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#e9f2ff;color:#1f7cff;font-size:20px;box-shadow:inset 0 0 0 1px #cfe0fb}.share-dialog-header h3{margin:0}.share-panel{background:#f8f9fd;border-radius:16px;padding:16px;display:grid;gap:12px;border:1px solid #e4e9f2}.share-label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:600;color:#7a889b}.share-link-box{background:#fff;border-radius:14px;padding:12px;border:1px solid #d8e0ed;display:flex;align-items:center}.share-link-box .share-link-input{border:none;background:transparent;padding:0;cursor:text;color:#2a3350;width:100%;display:block;flex:1;min-width:0}.share-link-input:disabled{opacity:1;color:#52607a}.share-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;color:#2d3553}.share-toggle-row input{width:20px;height:20px;accent-color:#1f7cff;opacity:1}.share-helper{margin:0;font-size:12px;color:#7a889b}.share-actions{display:grid;gap:10px;margin-top:12px}.share-actions .pill.is-disabled{background:#dfe5ef;color:#9aa6bc;box-shadow:none;cursor:not-allowed}.dialog-panel{background:#f8f9fd;border-radius:16px;padding:16px;display:grid;gap:12px;border:1px solid #e4e9f2}.dialog-panel.scrollable{max-height:min(65vh,520px);overflow:auto;padding-right:12px}.dialog-title-row{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;margin-bottom:12px}.dialog-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#e9f2ff;color:#1f7cff;font-size:20px;box-shadow:inset 0 0 0 1px #cfe0fb}.icon-btn img{width:22px;height:22px;display:block}.calendar-card{background:#fff;border-radius:16px;padding:18px;box-shadow:0 6px 16px #3e375e14}.calendar-header{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:12px;margin-bottom:12px;padding:10px 12px;background:#f5f5f9;border-radius:14px;border:1px solid #edf0f5}.calendar-header h2{margin:4px 0 0;font-size:18px}.icon-btn{width:40px;height:40px;border-radius:14px;border:1px solid #e5e7ef;background:#f2f2f7;font-size:22px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#1a1a1a;box-shadow:0 2px 6px #1e1e3714}.icon-btn:hover{background:#e9e9f2}.icon-btn.primary{background:#1f7cff;color:#fff;border-color:transparent;box-shadow:0 10px 20px #1f7cff40}.icon-btn.primary:hover{background:#1a6fe4}.schedule-switcher{display:grid;grid-template-columns:40px 1fr 40px;gap:12px;align-items:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:12px 0 16px}.weekday{text-align:center;font-size:12px;color:#7a889b}.day{background:#f5f9fa;border-radius:12px;height:42px;display:flex;align-items:center;justify-content:center;font-size:14px;border:none;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.day.empty{background:transparent;border:none;box-shadow:none;cursor:default}.day.outside{background:transparent;color:#c0cad7;box-shadow:none}.day.none{background:#f5f9fa;color:#7a889b}.day:hover{transform:translateY(-1px);box-shadow:0 6px 12px #3e375e1f}.day.today{outline:2px solid #3e375e;outline-offset:2px}.day.today-before-start{outline-color:#7cb7fd;background:#eef4ff;color:#3e375e}.day.work{background:var(--color-work, #3fc5f2);color:#fff;box-shadow:0 4px 10px #3fc5f259}.day.off{background:var(--color-off, #ffffff);color:#3e375e;border:1px solid #dfe6ee}.day.evening{background:var(--color-evening, #2567f9);color:#fff}.day.night{background:var(--color-night, #6a4c93);color:#fff}.day.extra-work{background:var(--color-extra-work, #6a4c93);color:#fff}.day.vacation{background:var(--color-vacation, #f1dac4);color:#3e375e}.calendar-stats{display:flex;justify-content:space-between;font-size:14px;color:#3e375e}.shift-type-chip{margin-top:4px;display:flex;align-items:center;gap:8px;background:#f5f9fa;padding:8px 12px;border-radius:12px;font-size:13px;color:#3e375e}.actions-card{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;background:#fff;padding:14px;border-radius:16px;box-shadow:0 6px 16px #3e375e14}.actions-card.read-only{grid-template-columns:1fr;justify-items:center}.actions-card.demo-mode{grid-template-columns:repeat(2,minmax(0,1fr));justify-items:stretch}.actions-card .save-shared{justify-self:center;width:min(320px,100%)}.ghost-btn{background:#fff;border:1px solid #aab8ca;color:#3e375e;border-radius:14px;padding:10px;cursor:pointer;font-size:13px}.fab-group{position:fixed;right:24px;bottom:24px;display:grid;gap:14px}.fab{width:52px;height:52px;border-radius:50%;border:none;color:#fff;font-size:22px;cursor:pointer;box-shadow:0 10px 20px #3e375e33;display:inline-flex;align-items:center;justify-content:center}.icon-btn svg,.fab svg{width:22px;height:22px}.fab-violet{background:#bc77ec}.fab-blue{background:#7cb7fd}.fab-gray{background:#8d99ae}.dialog-backdrop{position:fixed;inset:0;background:#1a1a1a59;display:flex;align-items:center;justify-content:center;padding:20px;z-index:20}.dialog{width:min(420px,100%);background:#fff;border-radius:18px;padding:18px;box-shadow:0 24px 60px #3e375e33}.dialog-body{max-height:min(70vh,520px);overflow:auto;padding-right:4px}.dialog h3{margin:4px 6px 12px;font-size:18px}.dialog-header{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin:4px 6px 12px}.dialog-header h3{margin:0;text-align:center}.dialog-back{border:none;background:#f1f4f9;color:#2c2850;font-size:14px;font-weight:600;padding:6px 8px;border-radius:10px;cursor:pointer;box-shadow:0 1px 2px #3e375e1f}.dialog-back:hover{background:#3e375e14}.login-form{display:grid;gap:12px;padding:0 6px}.login-form+.pill.ghost.full-width{margin-top:10px}.auth-subtitle{margin:0 6px 14px;font-size:13px;color:#7a889b}.auth-divider{height:1px;margin:2px 6px 10px;background:linear-gradient(90deg,#3e375e1f,#3e375e05)}.required{color:#e56b6f;font-weight:600}.auth-error{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;text-align:center}.auth-error .error-text,.auth-error .link-btn.inline{margin:0}.link-btn.inline{padding:0;font-size:12px}.auth-footer{margin-top:12px}.login-form label{display:grid;gap:6px;font-size:13px;color:#3e375e}.label-text{display:inline-flex;align-items:center;gap:4px;line-height:1.2}.login-form input{border:1px solid #aab8ca;border-radius:12px;padding:10px 12px;font-size:14px}.error-text{margin:0;color:#e56b6f;font-size:12px}.dialog-list{display:grid;gap:12px}.mode-toggle{display:inline-flex;gap:8px;background:#f2f2f7;padding:6px;border-radius:999px;border:1px solid #e5e7ef}.mode-pill{border:none;background:transparent;padding:6px 16px;border-radius:999px;font-size:13px;cursor:pointer;color:#3e375e}.mode-pill.active{background:#fff;box-shadow:0 4px 10px #1e1e3714}.dialog-field{display:grid;gap:6px;font-size:13px;color:#3e375e;margin-bottom:10px}.dialog-field input,.pattern-row select{border:1px solid #aab8ca;border-radius:12px;padding:10px 12px;font-size:14px}.dialog-subtitle{margin:8px 6px 10px;font-size:14px;color:#3e375e}.dialog-subtitle.danger{color:#b8454b;font-weight:600}.dialog-divider{height:1px;background:linear-gradient(90deg,#3e375e14,#3e375e33,#3e375e14);margin:14px 0 6px}.shift-time-grid{display:grid;gap:12px}.shift-time-row{display:grid;grid-template-columns:minmax(88px,1fr) minmax(92px,120px) 16px minmax(92px,120px);align-items:center;gap:8px;font-size:14px;color:#3e375e}.shift-time-divider{height:1px;background:#3e375e14;margin:2px 0}.shift-time-row input[type=time]{border:1px solid rgba(62,55,94,.15);border-radius:10px;padding:6px 8px;font-size:14px;color:#2c2850;background:#fff}.shift-time-row span{text-align:left}@media(max-width:640px){.shift-time-row{grid-template-columns:1fr 1fr;grid-template-areas:"label label" "start end"}.shift-time-row span:first-child{grid-area:label}.shift-time-row input[type=time]:first-of-type{grid-area:start}.shift-time-row input[type=time]:last-of-type{grid-area:end}.shift-time-row span:nth-of-type(2){display:none}.shift-time-divider{margin:6px 0}}.spoiler{margin:8px 0 4px;border:1px solid #d5dce8;border-radius:14px;padding:10px 12px;background:#eef2f8}.spoiler summary{list-style:none;cursor:pointer;font-size:14px;font-weight:700;color:#1f2a44;display:flex;align-items:center;justify-content:space-between;padding:6px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #e1e7f2}.spoiler[open] summary{margin-bottom:8px}.spoiler summary:after{content:"›";transform:rotate(90deg);transition:transform .15s ease;color:#6f7c93;font-size:18px}.spoiler[open] summary:after{transform:rotate(-90deg)}.spoiler summary::-webkit-details-marker{display:none}.pattern-summary{margin:0 6px 10px;font-size:12px;color:#7a889b}.color-editor{display:grid;gap:14px;padding:0 6px 6px}.color-row{display:grid;gap:8px}.color-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#3e375e}.color-preview{width:18px;height:18px;border-radius:50%;border:1px solid #dfe6ee}.color-palette{display:flex;flex-wrap:wrap;gap:8px}.color-swatch{width:24px;height:24px;border-radius:50%;border:2px solid transparent;cursor:pointer}.color-swatch.active{border-color:#3e375e}.cycle-editor{display:grid;gap:10px}.cycle-editor.compact{gap:8px}.cycle-row{display:grid;grid-template-columns:1fr 80px 40px;gap:10px;align-items:center}.cycle-row.header{font-size:13px;font-weight:600;color:#3e375e}.cycle-row select,.cycle-row input{border:1px solid #aab8ca;border-radius:12px;padding:8px 10px;font-size:14px}.cycle-total{margin:4px 0 0;font-size:12px;color:#7a889b}.dialog-actions{display:grid;gap:10px;margin-top:12px}.pattern-editor{display:grid;gap:10px;padding:0 6px 6px}.pattern-row{display:grid;grid-template-columns:1fr 40px;gap:10px;align-items:center}.dialog-item{border:none;background:transparent;display:flex;justify-content:space-between;align-items:center;padding:12px 4px;font-size:15px;color:#3e375e;border-bottom:1px solid rgba(26,26,26,.08);cursor:pointer}.dialog-item-main{display:flex;align-items:center;gap:10px;min-width:0}.dialog-item-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dialog-item-actions{display:inline-flex;align-items:center;gap:8px}.dialog-item-actions .icon-btn.mini{width:34px;height:34px;border-radius:10px;background:#f4f6fb;border:1px solid #e2e7f1}.dialog-item-actions .icon-btn.mini.active{background:#f2e7ff;border-color:#d7c2f3}.dialog-item.danger{color:#b8454b;justify-content:space-between;border:1px solid rgba(231,109,109,.2);background:#fdf1f1cc}.danger-list{gap:10px}.danger-label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:600}.danger-name{font-size:14px;font-weight:600;color:#922f35;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-loading{display:grid;place-items:center;gap:8px;padding:24px 0 12px}.spinner{width:26px;height:26px;border-radius:50%;border:3px solid #dbe4f0;border-top-color:#7cb7fd;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.dialog-cancel{margin-top:12px;width:100%;background:#f5f9fa;border:none;padding:10px;border-radius:12px;cursor:pointer;font-size:14px}.link-btn{margin-top:8px;border:none;background:transparent;color:#7cb7fd;cursor:pointer;font-size:13px}@media(max-width:640px){.app{padding:20px 16px 100px}.schedule-card h2{white-space:normal}.actions-card{grid-template-columns:1fr}}
