:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172b3a;background:#f5f7fa;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#183b50;--muted:#71808c;--blue:#1673e6;--line:#e3e8ed;--surface:#fff;--shadow:0 20px 60px rgba(26,48,66,.09)}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.64}a{color:inherit}#app{min-height:100vh}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(330px,1fr) minmax(410px,1fr);max-width:1440px;margin:auto;padding:28px;gap:28px}.welcome-panel{border-radius:32px;padding:clamp(32px,6vw,88px);background:linear-gradient(145deg,#e8f4ff 0%,#dceaff 46%,#eef3fb 100%);display:flex;flex-direction:column;justify-content:space-between;min-height:calc(100vh - 56px);position:relative;overflow:hidden}.welcome-panel:before,.welcome-panel:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.welcome-panel:before{width:430px;height:430px;background:rgba(255,255,255,.48);right:-170px;top:9%}.welcome-panel:after{width:330px;height:330px;background:rgba(70,146,231,.11);left:-130px;bottom:-150px}.brand{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.brand-mark{width:44px;height:44px;border-radius:14px;background:var(--ink);display:grid;place-items:center;color:white;font-size:24px;font-weight:700;box-shadow:0 6px 14px rgba(24,59,80,.18)}.brand-name{font-size:20px;font-weight:700;letter-spacing:-.04em}.hero-copy{position:relative;z-index:1;max-width:560px;margin:50px 0}.hero-copy h1{font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.055em;margin:0 0 22px;font-weight:650;color:#173b50}.hero-copy p{font-size:18px;line-height:1.6;color:#536d7f;max-width:440px;margin:0}.tile-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(70px,94px));gap:16px;justify-content:start}.tile{aspect-ratio:1;border-radius:24px;background:#fff;box-shadow:0 10px 24px rgba(22,66,108,.11);display:grid;place-items:center;color:#2877cf}.tile svg{width:42%;height:42%;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.tile:nth-child(2){color:#20a77a}.tile:nth-child(3){color:#ef9b22}.tile:nth-child(4){color:#7766d9}.welcome-foot{position:relative;z-index:1;margin-top:28px;color:#678092;font-size:13px}.auth-side{display:flex;align-items:center;justify-content:center;padding:clamp(12px,4vw,70px)}.auth-card{width:min(100%,440px)}.auth-card .brand{display:none}.auth-card h2{font-size:34px;letter-spacing:-.045em;margin:0 0 10px;color:#1a3345}.auth-subtitle{line-height:1.55;color:var(--muted);margin:0 0 28px}.mode-switch{display:flex;background:#e9eef3;border-radius:14px;padding:4px;margin:0 0 24px}.mode-switch button{border:0;background:transparent;border-radius:11px;padding:10px 14px;color:#71808c;flex:1;font-size:14px;font-weight:600}.mode-switch button[aria-pressed="true"]{background:white;color:#1d3547;box-shadow:0 2px 6px rgba(22,43,59,.08)}.field{display:block;margin:0 0 16px}.field span{display:block;font-size:13px;font-weight:600;margin:0 0 8px;color:#334b5d}.field input,.field select,.dialog-card input,.dialog-card select{width:100%;height:54px;border:1px solid #dce3e9;background:#fff;border-radius:14px;padding:0 16px;color:#172b3a;outline:none;transition:border-color .16s,box-shadow .16s}.field input:focus,.field select:focus,.dialog-card input:focus,.dialog-card select:focus{border-color:#79ace9;box-shadow:0 0 0 4px rgba(22,115,230,.1)}.password-help{font-size:12px;color:var(--muted);margin:-7px 0 18px;line-height:1.5}.button{min-height:50px;border-radius:14px;padding:0 20px;border:1px solid transparent;font-weight:650;transition:transform .16s,box-shadow .16s,background .16s}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--blue);color:#fff;box-shadow:0 7px 16px rgba(22,115,230,.2)}.button-primary:hover{background:#0e67d3;box-shadow:0 9px 20px rgba(22,115,230,.25)}.button-secondary{background:#fff;border-color:#dce3e9;color:#28465d}.auth-actions{display:grid;gap:10px}.text-button{background:transparent;border:0;color:#286ec0;font-weight:600;padding:12px 8px}.auth-note{margin-top:24px;padding:14px 16px;border-radius:14px;background:#eef5fc;color:#526a7c;font-size:13px;line-height:1.5}.auth-note strong{color:#29495d}.form-error{min-height:20px;margin:10px 0;color:#b33a36;font-size:13px;line-height:1.4}.form-message{padding:12px 14px;margin:14px 0;border-radius:12px;background:#f0f6f0;color:#397447;font-size:14px;line-height:1.45}.form-message.error{background:#fff0ef;color:#a43b38}.auth-divider{height:1px;background:var(--line);margin:22px 0}.workspace{max-width:1320px;margin:auto;padding:26px clamp(18px,4vw,52px) 56px}.topbar{height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);margin-bottom:30px}.topbar-actions{display:flex;align-items:center;gap:10px}.account-pill{display:flex;align-items:center;gap:10px;padding:8px 13px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:13px;color:#4d6577;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e7f2ff;color:#276eb7;font-weight:700;flex:none}.icon-button{height:40px;width:40px;border-radius:50%;border:1px solid var(--line);background:#fff;color:#476174;font-size:21px;display:grid;place-items:center}.icon-button:hover{background:#eef5fc}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading h1{font-size:clamp(30px,4vw,42px);letter-spacing:-.05em;margin:0 0 8px}.page-heading p{margin:0;color:var(--muted)}.heading-actions{display:flex;gap:9px;align-items:center}.vault-strip{display:flex;gap:8px;overflow:auto;padding:3px 0 18px}.vault-chip{white-space:nowrap;border:1px solid var(--line);background:#fff;color:#617482;padding:10px 16px;border-radius:999px;font-size:13px}.vault-chip[aria-pressed="true"]{background:#eaf3ff;color:#1c65ad;border-color:#c9dfff;font-weight:650}.status-banner{padding:14px 16px;border-radius:14px;background:#fff;border:1px solid var(--line);color:#546a7b;font-size:14px;line-height:1.45;margin:12px 0 20px}.status-banner.error{background:#fff5f3;border-color:#f4d4d1;color:#994641}.status-banner.success{background:#f1f7f2;border-color:#dcebdd;color:#3b7545}.section-row{display:flex;justify-content:space-between;align-items:center;margin:24px 0 16px}.section-row h2{font-size:18px;margin:0}.section-row span{font-size:13px;color:var(--muted)}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}.photo-card{background:#fff;border:1px solid #e8edf1;border-radius:18px;overflow:hidden;transition:transform .18s,box-shadow .18s}.photo-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(28,57,79,.1)}.photo-thumb{width:100%;aspect-ratio:1.05;object-fit:cover;background:linear-gradient(135deg,#e9f2fb,#f3f5f8);display:grid;place-items:center;color:#8394a1}.photo-thumb img{width:100%;height:100%;aspect-ratio:1.05;object-fit:cover;display:block}.photo-placeholder{width:100%;aspect-ratio:1.05;display:grid;place-items:center;background:linear-gradient(145deg,#edf4fb,#e7eef5);color:#8ba0ae}.photo-placeholder svg{width:34px;height:34px;stroke:currentColor;fill:none;stroke-width:1.5}.photo-info{padding:12px 13px 14px}.photo-name{font-size:13px;font-weight:620;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:5px}.photo-date{font-size:12px;color:#84929d}.photo-large{font-size:11px;color:#a26731;margin-top:6px}.empty-state{padding:62px 22px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:22px}.empty-icon{width:60px;height:60px;border-radius:20px;background:#eef5fc;margin:0 auto 16px;display:grid;place-items:center;color:#4382bf;font-size:26px}.empty-state h2{font-size:20px;margin:0 0 8px}.empty-state p{color:var(--muted);line-height:1.55;max-width:490px;margin:0 auto 20px}.loading{display:flex;align-items:center;justify-content:center;gap:11px;padding:40px;color:var(--muted);font-size:14px}.spinner{width:20px;height:20px;border:2px solid #d8e2eb;border-top-color:#3984d5;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.security-callout{margin:24px 0 0;padding:16px 18px;border:1px solid #e1eaf2;background:#f7fafc;border-radius:16px;color:#607483;font-size:13px;line-height:1.55}.security-callout strong{color:#36556b}.dialog{width:min(100% - 32px,480px);border:0;border-radius:24px;padding:0;box-shadow:0 26px 90px rgba(11,35,54,.28);color:#182f41}.dialog::backdrop{background:rgba(16,34,48,.42);backdrop-filter:blur(4px)}.dialog-card{padding:32px;position:relative}.dialog-close{position:absolute;right:20px;top:20px;border:0;background:#f2f5f7;width:34px;height:34px}.eyebrow{font-size:10px;letter-spacing:.12em;font-weight:750;color:#5280a4;margin:4px 0 14px}.dialog-card h2{font-size:26px;letter-spacing:-.035em;margin:0 42px 8px 0}.muted{font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 20px}.dialog-card label{display:block;font-size:13px;font-weight:650;margin:14px 0 8px}.dialog-card input,.dialog-card select{height:50px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.viewer-dialog{border:0;padding:0;background:#101820;width:min(96vw,1280px);max-width:none;max-height:94vh;border-radius:18px;overflow:hidden}.viewer-dialog::backdrop{background:rgba(8,15,21,.82);backdrop-filter:blur(8px)}.viewer-dialog img{display:block;max-width:96vw;max-height:calc(94vh - 54px);margin:auto;object-fit:contain}.viewer-close{position:absolute;right:15px;top:15px;z-index:2;background:rgba(255,255,255,.92);border:0}.viewer-caption{padding:14px 20px;color:#e6edf3;text-align:center;font-size:13px}.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1f3546;color:#fff;padding:12px 18px;border-radius:12px;box-shadow:var(--shadow);font-size:14px;transition:all .2s;z-index:20}.toast.visible{opacity:1;transform:translate(-50%,0)}.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}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr;max-width:680px;padding:18px}.welcome-panel{min-height:0;padding:24px 26px 22px;border-radius:26px}.welcome-panel .hero-copy{margin:28px 0 23px}.hero-copy h1{font-size:36px;margin-bottom:12px}.hero-copy p{font-size:15px}.tile-grid{grid-template-columns:repeat(4,54px);gap:10px}.tile{border-radius:16px}.welcome-foot{display:none}.auth-side{padding:28px 8px}.auth-card{max-width:480px}.auth-card .brand{display:flex;margin:0 0 24px}.auth-card h2{font-size:30px}}
@media(max-width:540px){.auth-layout{padding:10px;gap:8px}.welcome-panel{padding:20px 20px 18px;border-radius:22px}.welcome-panel .brand-mark{width:38px;height:38px;border-radius:12px;font-size:21px}.brand-name{font-size:18px}.welcome-panel .hero-copy{margin:20px 0 18px}.hero-copy h1{font-size:29px}.hero-copy p{font-size:13px;line-height:1.45}.tile-grid{grid-template-columns:repeat(4,44px);gap:8px}.tile{border-radius:13px}.auth-side{padding:18px 10px}.auth-card h2{font-size:27px}.workspace{padding:14px 16px 42px}.topbar{margin-bottom:22px}.topbar .brand-mark{height:38px;width:38px;border-radius:12px}.topbar .brand-name{font-size:18px}.account-pill{max-width:160px}.page-heading{display:block}.heading-actions{margin-top:16px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-info{padding:10px}.dialog-card{padding:25px 22px}.dialog-actions .button{min-width:0;padding:0 13px}.viewer-dialog{width:100vw;max-height:100vh;border-radius:0}.viewer-dialog img{max-width:100vw;max-height:calc(100vh - 56px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:focus-visible{outline:3px solid #79ace9;outline-offset:3px}.photo-thumb img{cursor:zoom-in}[hidden]{display:none!important}
.library-tabs{display:flex;gap:7px;overflow:auto;padding:5px;margin:0 0 20px;background:#e9edf2;border-radius:15px;width:max-content;max-width:100%}.library-tab{border:0;border-radius:11px;background:transparent;padding:10px 16px;color:#687887;font-size:14px;font-weight:600;white-space:nowrap}.library-tab[aria-selected="true"]{background:#fff;color:#172b3a;box-shadow:0 2px 7px rgba(20,40,60,.1)}.library-tab span{margin-left:5px;color:#8995a0;font-size:12px}.library-pane{min-height:180px}.library-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:14px}.library-card{padding:19px 20px;background:#fff;border:1px solid #e8edf1;border-radius:18px;box-shadow:0 3px 12px rgba(28,57,79,.035)}.library-card h3{margin:0 0 10px;font-size:16px;line-height:1.35;overflow-wrap:anywhere}.library-detail{margin:5px 0;color:#5c6e7c;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.note-body{margin:0;color:#455b6b;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.note-card h3:empty{display:none}

/* SyncCore desktop library and responsive mobile navigation */
.workspace-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);background:#f6f8fb}.sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:26px 18px 20px;background:rgba(255,255,255,.94);border-right:1px solid #e7ecf2}.sidebar-brand{padding:0 10px 32px}.sidebar-brand .brand-mark,.topbar-mobile-brand .brand-mark{background:#eaf3ff;color:#1974e9;box-shadow:none}.sidebar-brand .brand-name,.topbar-mobile-brand .brand-name{color:#172e48}.sidebar-label{padding:0 12px 10px;color:#8998a7;font-size:10px;font-weight:750;letter-spacing:.12em}.side-nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;min-height:44px;border-radius:12px;padding:0 12px;display:flex;gap:12px;align-items:center;color:#607286;text-align:left;font-size:14px;font-weight:550}.nav-item:hover{background:#f4f7fb}.nav-item[aria-current=page]{background:#eaf3ff;color:#176bd0;font-weight:680}.nav-glyph{width:23px;font-size:20px;text-align:center}.sidebar-spacer{flex:1}.storage-card{padding:16px 14px;border:1px solid #e7edf4;border-radius:16px;background:#fafcff}.storage-label,.storage-state{display:block}.storage-label{font-size:12px;color:#617487}.storage-state{margin-top:5px;font-size:13px;font-weight:650;color:#213d56}.storage-track{height:5px;margin:14px 0 9px;border-radius:9px;background:#e8eef6;overflow:hidden}.storage-track i{display:block;width:42%;height:100%;border-radius:9px;background:#3384ef}.storage-card small{font-size:10px;color:#8b99a7}.workspace{max-width:none;width:100%;min-width:0;padding:25px clamp(22px,4vw,60px) 44px}.topbar{margin-bottom:28px}.topbar-mobile-brand{display:none}.page-heading{margin-bottom:22px}.page-heading h1{font-size:36px;font-weight:680;letter-spacing:-.055em;color:#172e48}.page-heading p{font-size:14px}.welcome-card{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:190px;padding:30px 34px;border:1px solid #d9e8fb;border-radius:24px;background:linear-gradient(112deg,#f6fbff 0%,#e9f3ff 70%,#e0edff 100%)}.welcome-card .eyebrow{color:#4281c7}.welcome-card h2{font-size:28px;letter-spacing:-.04em;margin:0 0 8px;color:#183958}.welcome-card p{margin:0;color:#5e7489;font-size:14px}.welcome-art{position:absolute;right:8%;top:-42px;font-size:220px;color:rgba(50,126,221,.1);transform:rotate(-12deg)}.section-row{margin:28px 0 14px}.section-row h2{font-size:17px;color:#203b55}.section-row .text-button{padding:7px;color:#176bd0}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.module-tile{position:relative;text-align:left;display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:17px 16px;min-height:96px;border:1px solid #e7edf3;border-radius:18px;background:#fff;box-shadow:0 4px 12px rgba(25,57,84,.035);color:#20374d;transition:transform .16s,box-shadow .16s}.module-tile:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(25,57,84,.09)}.module-icon{grid-row:1/3;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--tile-accent) 13%,white);color:var(--tile-accent);font-size:23px}.module-tile strong{font-size:14px}.module-tile>span:nth-of-type(2){font-size:11px;color:#8996a3;margin-top:4px}.module-tile b{position:absolute;right:14px;top:14px;font-size:11px;color:#798999}.dashboard-photos{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dashboard-photos .photo-card{border-radius:15px}.dashboard-photos .photo-thumb,.dashboard-photos .photo-thumb img{aspect-ratio:1.12}.dashboard-photos .photo-info{padding:9px 10px}.count-badge{display:inline-grid;place-items:center;vertical-align:2px;margin-left:7px;padding:2px 7px;border-radius:99px;background:#eaf3ff;color:#2873c4;font-size:11px}.event-time{display:block;margin-bottom:7px;font-size:12px;color:#367ac5}.calendar-card{border-left:3px solid #edaa35}.mobile-nav{display:none}.sidebar .brand-mark{width:40px;height:40px;font-size:22px}.sidebar .brand-name{font-size:20px}.library-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr))}.status-banner{border-radius:13px}.security-callout{max-width:1080px}
@media(max-width:1080px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-photos{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-shell{grid-template-columns:220px minmax(0,1fr)}.workspace{padding-left:28px;padding-right:28px}}
@media(max-width:720px){.workspace-shell{display:block;padding-bottom:76px}.sidebar{display:none}.workspace{padding:12px 16px 30px}.topbar{height:48px;margin-bottom:20px;border-bottom:0}.topbar-mobile-brand{display:block}.topbar-mobile-brand .brand-mark{width:34px;height:34px;border-radius:11px;font-size:19px}.topbar-mobile-brand .brand-name{font-size:18px}.account-pill{max-width:45vw;padding:5px 8px;font-size:11px}.account-pill .avatar{width:24px;height:24px}.topbar-actions{gap:6px}.topbar-actions .icon-button{height:34px;width:34px}.page-heading h1{font-size:29px}.page-heading p{font-size:13px}.heading-actions{margin-top:12px}.welcome-card{min-height:145px;padding:23px 20px;border-radius:20px}.welcome-card h2{font-size:23px}.welcome-card p{max-width:245px;font-size:13px;line-height:1.5}.welcome-art{right:-13px;top:4px;font-size:138px}.module-grid{gap:10px}.module-tile{min-height:89px;padding:13px 11px;grid-template-columns:38px 1fr;column-gap:9px}.module-icon{width:36px;height:36px;font-size:20px}.module-tile strong{font-size:13px}.module-tile>span:nth-of-type(2){font-size:10px}.module-tile b{top:10px;right:10px;font-size:10px}.dashboard-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav{position:fixed;z-index:15;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));left:0;right:0;bottom:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #e6ebf1;background:rgba(255,255,255,.96);backdrop-filter:blur(18px)}.mobile-nav .nav-item{min-height:48px;padding:3px 2px;display:flex;flex-direction:column;justify-content:center;gap:0;border-radius:11px;font-size:9px}.mobile-nav .nav-glyph{font-size:18px;height:21px}.vault-strip{padding-bottom:10px}.deployment-note{font-size:11px;padding:10px 12px}.security-callout{font-size:11px;padding:13px 14px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-info{padding:9px}}
@media(max-width:380px){.workspace{padding-left:12px;padding-right:12px}.module-grid{gap:7px}.module-tile{padding:11px 8px;column-gap:6px}.module-icon{width:32px;height:32px}.module-tile strong{font-size:12px}}
.secret-field-heading{display:flex;align-items:center;justify-content:space-between;margin:14px 0 8px}.secret-field-heading label{margin:0!important}.visibility-toggle{border:0;border-radius:8px;background:transparent;color:#286ec0;font-size:13px;font-weight:650;padding:7px 9px}.visibility-toggle:hover{background:#eef5fc}.visibility-toggle:focus-visible{outline:2px solid #79ace9;outline-offset:2px}
