/* Fully namespaced personal-only shell. Never restyles the company workspace. */
.epw-screen[hidden],.epw-screen [hidden]{display:none!important}
.epw-screen{position:fixed;inset:0;z-index:1200;overflow-y:auto;overscroll-behavior:contain;background:#f4f7f8;color:#153647;font-family:Arial,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;text-align:left;-webkit-overflow-scrolling:touch}
.epw-screen *{box-sizing:border-box}
.epw-screen button,.epw-screen input,.epw-screen select,.epw-screen textarea{font:inherit}
.epw-screen button{cursor:pointer;min-height:44px;border:0;border-radius:10px;color:inherit;box-shadow:none}
.epw-screen button:disabled,.epw-screen fieldset:disabled{opacity:.55;cursor:wait}
.epw-screen :is(button,input,select,textarea):focus-visible,.epw-file-button:focus-within{outline:3px solid #21b49b;outline-offset:3px}
.epw-screen svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.epw-screen h1,.epw-screen h2,.epw-screen p{margin:0}
.epw-screen h1{font-size:28px;line-height:1.35;letter-spacing:-1px;color:#153647}
.epw-screen h2{font-size:18px;line-height:1.5;letter-spacing:-.5px;color:#153647}
.epw-shell{max-width:980px;margin:auto;min-height:100%}
.epw-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 28px;background:#fff;border-bottom:1px solid #e4ecef;padding-top:max(16px,env(safe-area-inset-top))}
.epw-brand{display:flex;align-items:center;gap:10px;background:transparent!important;padding:0!important;text-align:left}
.epw-brand>span{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#078a79;color:#fff;font-family:Arial,sans-serif;font-size:38px;font-weight:700;font-style:italic;line-height:1;padding-right:4px}
.epw-brand>strong{font-size:20px;letter-spacing:-.8px;line-height:1.1}
.epw-brand small{display:block;font-size:10px;letter-spacing:.8px;color:#607581;font-weight:500;margin-top:6px}
.epw-account{display:flex;align-items:center;gap:13px;flex-wrap:wrap;justify-content:flex-end}
.epw-account>span{display:flex;align-items:center;gap:4px;font-size:11px;color:#268276;font-weight:700}
.epw-account svg{width:15px;height:15px}
.epw-account button{padding:0 4px;background:transparent;font-size:11px;color:#687f8b}
.epw-main{padding:26px 28px calc(106px + env(safe-area-inset-bottom));max-width:820px;margin:auto}
.epw-hero{border-radius:23px;padding:28px;background:linear-gradient(115deg,#e4f5ed,#eaf4f5);border:1px solid #d9ece5;position:relative;overflow:hidden}
.epw-hero:after{content:"";position:absolute;width:165px;height:165px;border:30px solid #d1e8df77;border-radius:50%;right:-60px;top:8px;pointer-events:none}
.epw-eyebrow{display:block;color:#158777;font-size:10px;letter-spacing:2px;font-weight:800;margin-bottom:12px}
.epw-hero h1{font-size:31px;line-height:1.4;letter-spacing:-1.25px;position:relative;z-index:1}
.epw-hero h1 em{color:#008677;font-style:normal}
.epw-hero>p{font-size:13px;color:#55717a;margin-top:12px;position:relative;z-index:1}
.epw-summary{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #c8dfd9;padding-top:19px;margin-top:24px}
.epw-summary>div{display:flex;flex-direction:column;gap:5px}
.epw-summary>div>span{color:#52746f;font-size:11px}
.epw-summary strong{font-size:29px;letter-spacing:-.8px;color:#126756}
.epw-summary strong small{font-size:13px;font-weight:500;letter-spacing:0}
.epw-summary>span{font-size:12px;color:#507770}
.epw-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.epw-screen .epw-tool{padding:23px;text-align:left;background:#fff;border:1px solid #e0e9eb;border-radius:18px;box-shadow:0 4px 14px #173a4b05}
.epw-tool-icon{display:inline-flex;align-items:center;justify-content:center;background:#e6f6ef;border-radius:13px;width:46px;height:46px;color:#128677;margin-bottom:15px}
.epw-tool-icon.navy{background:#e9f1f7;color:#264a66}
.epw-tool-icon svg{width:25px;height:25px}
.epw-tool>strong{display:block;font-size:20px;font-weight:800;letter-spacing:-.7px;color:#183d4c}
.epw-tool p{font-size:12px;line-height:1.65;color:#6b808c;margin-top:9px}
.epw-tool-link{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:18px;font-size:12px;font-weight:700;color:#0f8377}
.epw-tool-link svg{width:17px;height:17px}
.epw-private{display:flex;gap:10px;align-items:flex-start;margin:20px 0;padding:0 4px;color:#208a79}
.epw-private>svg{width:19px;height:19px;margin-top:2px}
.epw-private strong{display:block;font-size:12px;line-height:1.6;color:#3a655e}
.epw-private span{display:block;font-size:11px;line-height:1.6;color:#74848c;margin-top:3px}
.epw-private.compact{margin:10px 0 20px;padding:0 10px}
.epw-card{background:#fff;border:1px solid #e0e9ec;border-radius:18px;padding:22px;margin:18px 0;overflow:hidden}
.epw-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.epw-screen .epw-text-button{background:none;padding:0 3px;color:#0a8473;font-weight:600;font-size:12px;flex-shrink:0}
.epw-empty{text-align:center;padding:28px 10px}
.epw-empty strong{font-size:14px;color:#4e6776}
.epw-empty p{font-size:12px;line-height:1.7;color:#85949d;margin-top:8px}
.epw-page-title{margin:4px 0 24px}
.epw-page-title p{font-size:13px;color:#6a808b;margin-top:8px;line-height:1.6}
.epw-month-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.epw-month-bar h2{font-size:20px}
.epw-month-bar button{width:44px;background:#f2f7f6;font-size:27px;color:#376c65}
.epw-month-total{display:flex;align-items:center;gap:9px;padding:15px 17px;background:#eef8f4;border-radius:12px;margin-bottom:20px;font-size:12px;color:#577a71}
.epw-month-total strong{font-size:25px;margin-left:auto;color:#07816e;font-weight:800}
.epw-month-total small{font-size:12px;font-weight:500}
.epw-month-total>span:last-child{font-size:10px;border-left:1px solid #c7ddd6;padding-left:12px;margin-left:3px}
.epw-weekdays,.epw-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.epw-weekdays{font-size:11px;color:#7c919b;text-align:center;margin-bottom:8px}
.epw-weekdays span:first-child{color:#c57575}.epw-weekdays span:last-child{color:#6283b0}
.epw-screen .epw-day{position:relative;height:65px;min-width:0;padding:7px 3px 4px;display:flex;align-items:center;flex-direction:column;gap:6px;background:#f8fafb;border:1px solid transparent;color:#496775;font-size:12px;border-radius:10px}
.epw-day b{font-size:12px;color:#0c8978;line-height:1.1}
.epw-screen .epw-day.today{border-color:#b3dcd1}
.epw-screen .epw-day.today>span{font-weight:800;text-decoration:underline;text-underline-offset:4px}
.epw-screen .epw-day.selected{background:#078c79;color:#fff;border-color:#078c79;box-shadow:0 4px 8px #00816a22}
.epw-day.selected b{color:#fff}
.epw-screen .epw-blank{visibility:hidden;pointer-events:none}
.epw-hint{font-size:11px!important;color:#81919a!important;line-height:1.7!important;margin-top:12px!important}
.epw-inline-form{border-color:#b8ded2;box-shadow:0 5px 22px #17745f08}
.epw-screen fieldset{border:0;padding:0;margin:0;min-width:0}
.epw-screen label:not(.epw-file-button){display:block;margin:14px 0 0;color:#526c78;font-size:12px;font-weight:700}
.epw-screen input,.epw-screen select,.epw-screen textarea{display:block;width:100%;padding:12px;margin-top:7px;min-height:46px;border:1px solid #d6e1e5;border-radius:10px;background:#fbfdfe;color:#1f4150;font-size:15px;max-width:100%;box-shadow:none}
.epw-screen textarea{resize:vertical;line-height:1.6;min-height:73px}
.epw-screen input::placeholder,.epw-screen textarea::placeholder{color:#9aaab1;font-size:13px;font-weight:400}
.epw-screen input[type=date]{min-width:0;max-width:100%;width:100%;-webkit-appearance:none;appearance:none}
.epw-form-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px}
.epw-form-grid>label{min-width:0}
.epw-presets{display:flex;gap:7px;margin:15px 0}
.epw-presets button{flex:1;background:#eff6f3;color:#268571;font-size:12px;padding:8px 4px}
.epw-screen .epw-primary,.epw-screen .epw-secondary{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:49px;padding:13px 15px;border-radius:11px;font-size:14px;font-weight:700;margin-top:17px;text-decoration:none}
.epw-screen .epw-primary{background:#078c79;color:#fff;border:1px solid #078c79}
.epw-screen .epw-primary:hover{background:#087363}
.epw-screen .epw-secondary{background:#fff;color:#1f5965;border:1px solid #bfd8d8}
.epw-entry{display:flex;align-items:flex-start;gap:10px;padding:17px 0;border-bottom:1px solid #edf2f4}
.epw-entry:last-child{border-bottom:0;padding-bottom:0}
.epw-entry-dot{width:7px;height:7px;border-radius:50%;background:#14a08b;flex-shrink:0;margin-top:6px}
.epw-entry>div:nth-child(2){min-width:0;flex:1}
.epw-entry strong{font-size:14px;overflow-wrap:anywhere}
.epw-entry p{font-size:12px;line-height:1.6;color:#708591;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}
.epw-entry small{display:block;font-size:10px;color:#98a7af;margin-top:6px}
.epw-entry-end{text-align:right;min-width:60px}
.epw-entry-end b{font-size:18px;color:#168473}
.epw-entry-end b small{display:inline;font-size:10px;font-weight:400}
.epw-entry-end button{font-size:11px;padding:5px 10px;background:#f1f6f5;color:#5c7c75;margin-top:8px}
.epw-footnote{font-size:11px;color:#7d9099;text-align:center;line-height:1.7;padding:0 12px;margin:16px 0!important}
.epw-optional{font-size:10px;color:#94a5ae;font-weight:400;margin-left:4px}
.epw-site-row{display:flex;gap:12px;align-items:flex-start;padding:20px 0;border-bottom:1px solid #eef3f4}
.epw-site-row:last-child{border:0;padding-bottom:0}
.epw-site-row>.epw-tool-icon{width:40px;height:40px;flex-shrink:0;margin:0}
.epw-site-row>div{flex:1;min-width:0}
.epw-site-row strong{font-size:14px;overflow-wrap:anywhere}
.epw-site-row p{font-size:11px;color:#81949e;margin-top:7px}
.epw-site-row small{display:block;font-size:11px;line-height:1.65;color:#718690;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.epw-badge{display:inline-block;font-size:10px;color:#2b8875;background:#eaf7f1;border:1px solid #ddede5;border-radius:6px;padding:4px 6px;white-space:nowrap;font-weight:600}
.epw-site-row>.epw-badge{margin-top:3px;flex-shrink:0}
.epw-capture-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}
.epw-screen .epw-file-button{position:relative;cursor:pointer;overflow:hidden;min-width:0;white-space:nowrap;padding:13px 8px}
.epw-file-button svg{width:19px;height:19px}
.epw-file-button>input{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;margin:0;cursor:pointer}
.epw-drafts{margin:9px 0}
.epw-drafts article{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid #e7eef0}
.epw-drafts article>img{width:78px;height:84px;object-fit:cover;border-radius:10px;background:#eef3f5;flex-shrink:0}
.epw-drafts article>div{min-width:0;flex:1}
.epw-drafts strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}
.epw-drafts p{font-size:11px;color:#7c919d;margin-top:6px}
.epw-mini-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}
.epw-mini-actions button{font-size:10px!important;padding:7px 8px;min-height:36px;background:#f0f6f5;color:#2b7b6d!important}
.epw-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:16px}
.epw-photo-card{border:1px solid #e0eaed;border-radius:13px;overflow:hidden}
.epw-photo-preview{aspect-ratio:4/3;background:#eef4f5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.epw-photo-preview img{width:100%;height:100%;object-fit:contain}
.epw-photo-preview>span{display:flex;flex-direction:column;align-items:center;gap:9px;color:#8ca2ad;font-size:11px}
.epw-photo-preview svg{width:32px;height:32px}
.epw-photo-info{padding:13px}
.epw-photo-info>strong{display:block;font-size:13px;line-height:1.5;margin:10px 0 5px;overflow-wrap:anywhere}
.epw-photo-info>p{font-size:10px;line-height:1.7;color:#8397a1;overflow-wrap:anywhere}
.epw-photo-info .epw-mini-actions{gap:5px}
.epw-photo-info .epw-mini-actions button{flex-grow:1}
.epw-company-entry{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 12px;margin-top:24px;color:#8899a2;font-size:11px;text-align:center}
.epw-company-entry button{display:flex;align-items:center;gap:4px;font-size:11px;background:transparent;color:#557481;padding:6px}
.epw-company-entry svg{width:14px;height:14px}
.epw-bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:980px;display:grid;grid-template-columns:repeat(4,1fr);padding:9px 10px calc(9px + env(safe-area-inset-bottom));gap:5px;background:#fffffff7;backdrop-filter:blur(16px);border-top:1px solid #dde8eb;box-shadow:0 -5px 25px #193f5105;z-index:2}
.epw-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;padding:6px 2px;background:transparent;color:#8a9aa3;font-weight:500;min-height:53px;border-radius:10px}
.epw-bottom-nav button.active{color:#078671;background:#eaf7f0;font-weight:700}
.epw-bottom-nav svg{width:23px;height:23px}
.epw-notice{padding:13px 15px;margin-bottom:16px;border-radius:12px;font-size:12px;line-height:1.7;background:#edf4f8;color:#3c657d;border:1px solid #d7e6ee;white-space:pre-wrap;overflow-wrap:anywhere}
.epw-notice.error,.epw-error{background:#fff4ee;color:#9b5835;border-color:#f0daca}
.epw-notice.success{background:#eaf8ef;color:#207f60;border-color:#cee9d8}
.epw-error{padding:15px;border-radius:12px;border:1px solid #f0daca;margin:0 0 18px;font-size:12px;line-height:1.7}
.epw-error button{margin-top:8px;padding:5px 13px;background:#fff;color:#8c562f;font-size:12px;border:1px solid #e3cbbb}
.epw-loading{padding:12px 15px;background:#edf5f3;color:#538174;border-radius:10px;margin-bottom:16px;font-size:12px}
.epw-account-help p{font-size:12px;color:#7b8e98;line-height:1.7;margin:12px 0}
.epw-account-help a{display:inline-flex;align-items:center;min-height:44px;color:#537884;text-decoration:underline;text-underline-offset:3px;font-size:12px}
.epw-foreground-note{padding:15px 17px;border-radius:13px;background:#e8f4f1;border:1px solid #d0e7df;color:#396d60;font-size:12px;line-height:1.7;margin-bottom:16px}
.epw-foreground-note strong{font-size:13px}.epw-foreground-note p{margin-top:5px;color:#628376;font-size:11px}
.epw-storage-warning{padding:13px 15px;border-radius:12px;background:#fff4e6;border:1px solid #efdbbd;color:#945f2d;font-size:12px;line-height:1.7;margin:12px 0}
.epw-drafts .epw-durability{font-size:10px;font-weight:700}.epw-drafts .epw-durability.saved{color:#16836b}.epw-drafts .epw-durability.warning{color:#a46f2a}.epw-drafts small{display:block;font-size:10px;color:#568578;line-height:1.6;margin-top:4px}
.epw-screen .epw-logout-dialog{max-width:390px;width:calc(100% - 32px);padding:24px;border:1px solid #d9e4e6;border-radius:18px;color:#234652;background:#fff;box-shadow:0 20px 80px #122f4933}
.epw-logout-dialog::backdrop{background:#102d3b77}.epw-logout-dialog p{font-size:13px;line-height:1.8;margin:15px 0}.epw-logout-dialog small{display:block;font-size:11px;color:#7e9099;line-height:1.7}.epw-logout-dialog .epw-secondary{color:#956645!important}
@media(max-width:600px){
  .epw-header{padding:13px 18px;padding-top:max(13px,env(safe-area-inset-top))}.epw-main{padding:21px 17px calc(102px + env(safe-area-inset-bottom))}
  .epw-hero{padding:24px 22px;border-radius:20px}.epw-hero h1{font-size:28px}.epw-hero>p{font-size:12px}.epw-summary{margin-top:20px;padding-top:17px}.epw-summary strong{font-size:27px}
  .epw-tool-grid{gap:10px;margin-top:14px}.epw-screen .epw-tool{padding:18px 15px;border-radius:16px}.epw-tool>strong{font-size:18px}.epw-tool-icon{width:42px;height:42px;margin-bottom:13px}.epw-tool p{font-size:11px}.epw-tool-link{font-size:10px;margin-top:16px}.epw-card{padding:18px 16px;border-radius:16px}
  .epw-screen .epw-day{height:58px;padding-top:7px;font-size:11px;gap:8px}.epw-calendar,.epw-weekdays{gap:4px}.epw-day b{font-size:11px}.epw-month-total{padding:13px}.epw-form-grid{gap:10px}
  .epw-photo-grid{grid-template-columns:1fr}.epw-photo-card{display:grid;grid-template-columns:115px minmax(0,1fr)}.epw-photo-preview{aspect-ratio:auto;height:100%;min-height:150px}.epw-photo-info{padding:12px}.epw-photo-info>strong{margin-top:8px}
  .epw-account{gap:8px}.epw-account>span{font-size:10px}.epw-brand>strong{font-size:18px}.epw-brand>span{width:36px;height:36px;font-size:34px}.epw-brand small{font-size:9px}
}
@media(max-width:350px){.epw-main{padding-left:12px;padding-right:12px}.epw-header{padding-left:13px;padding-right:13px}.epw-account>span{display:none}.epw-tool>strong{font-size:16px}.epw-tool-link{font-size:9px}.epw-screen .epw-tool{padding:16px 12px}.epw-screen .epw-primary,.epw-screen .epw-secondary{font-size:12px}.epw-capture-actions{gap:7px}.epw-photo-card{grid-template-columns:90px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.epw-screen *{scroll-behavior:auto!important}}

/* Design222 personal shell: text brand and ivory / forest palette only. */
.epw-screen{background:#f5f6ef;color:#183e30}
.epw-screen .epw-header{background:#fbfcf7;border-bottom-color:#e0e6da}
.epw-screen .epw-brand>strong{color:#153e30;font-size:22px}
.epw-screen .epw-brand small{color:#5a6f5e}
.epw-screen .epw-main{max-width:920px}
.epw-screen .epw-bottom-nav{background:#fff;border-color:#dce5d7}
.epw-screen .epw-bottom-nav button.active{color:#174b35;background:#edf4e7}
.epw-screen .epic-mode-switch{color:#174b35!important;border-color:#a9bea7!important;background:#f7faf3!important;min-height:44px!important}
.epw-screen .epw-company-entry{color:#385843}
@media(max-width:600px){.epw-screen .epw-header{padding-left:16px;padding-right:16px;gap:8px}.epw-screen .epw-account{gap:8px}.epw-screen .epw-brand>strong{font-size:19px}.epw-screen .epw-account>span{display:none}}

/* Personal header density follows approved mobile reference, not a large hero. */
.epw-screen .epw-header{padding:8px 14px;padding-top:max(8px,env(safe-area-inset-top));min-height:58px}
.epw-screen .epw-brand>strong{font-size:20px}
.epw-screen .epw-brand small{font-size:9px;margin-top:3px}
.epw-screen .epw-main{padding:12px 12px calc(88px + env(safe-area-inset-bottom))}
.epw-screen .epw-account{gap:7px}
.epw-screen .epic-mode-switch{border-radius:8px!important;font-size:11px!important;padding:7px 10px!important}
@media(min-width:900px){.epw-screen .epw-header{padding:12px 28px}.epw-screen .epw-main{padding:22px 28px 106px}}

/* Design223: personal/company share compact card language, never data destinations. */
.epw-screen .epw-home223{color:#173e32}
.epw-screen .epw-home-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 4px}
.epw-screen .epw-home-heading h1{font-size:22px;line-height:1.35;letter-spacing:-.6px;color:#173e32}
.epw-screen .epw-home-heading>span{font-size:12px;color:#52675b;white-space:nowrap}
.epw-screen .epw-home-scope{color:#52675b;font-size:12px;line-height:1.6;margin:0 0 12px}
.epw-screen .epw-home223 .epw-card{padding:16px;margin:12px 0;border:1px solid #dfe6db;border-radius:16px;background:#fff;box-shadow:none;overflow:visible}
.epw-screen .epw-home223 .epw-section-title{margin:0 0 10px;gap:8px}
.epw-screen .epw-home223 h2{font-size:17px;color:#173e32;line-height:1.4}
.epw-screen .epw-home223 .epw-text-button{font-size:11px;min-height:44px;display:inline-flex;align-items:center;gap:4px;color:#205c45;flex-shrink:0}
.epw-screen .epw-home223 .epw-text-button svg{width:15px;height:15px}
.epw-screen .epw-home-site{font-size:16px;font-weight:700;color:#264e3f;margin:0 0 12px;line-height:1.5;overflow-wrap:anywhere}
.epw-screen .epw-home-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;padding:11px 12px;background:#17573e;color:#fff;border:1px solid #17573e;border-radius:10px;font-size:15px;font-weight:700;line-height:1.4}
.epw-screen .epw-home-primary svg{width:23px;height:23px}
.epw-screen .epw-home-caption{font-size:11px;color:#52675b;line-height:1.55;margin:8px 0 0}
.epw-screen .epw-home223 .epw-summary{margin:0;padding:0;border:0;gap:10px}
.epw-screen .epw-home223 .epw-summary strong{font-size:24px;color:#174b35;line-height:1.4}
.epw-screen .epw-home223 .epw-summary span{font-size:12px;color:#52675b;line-height:1.5}
.epw-screen .epw-home223 .epw-empty{padding:16px 8px}
.epw-screen .epw-home223 .epw-empty strong{font-size:13px;color:#405e4e}
.epw-screen .epw-home223 .epw-empty p{font-size:11px;color:#52675b}
.epw-screen .epw-home223 .epw-badge{background:#edf4e7;color:#315941}
.epw-screen .epw-home223 .epw-private{margin:14px 2px}
.epw-screen .epw-bottom-nav{background:#fff;border-top:1px solid #dce5d7;box-shadow:0 -3px 12px #173e3204}
.epw-screen .epw-bottom-nav button{min-height:54px;font-size:11px;color:#5d7269;border-radius:10px;font-weight:600}
.epw-screen .epw-bottom-nav button.active{background:#edf4e7;color:#174b35;font-weight:700}
.epw-screen .epw-bottom-nav svg{width:24px;height:24px}
@media(min-width:900px){.epw-screen .epw-home223{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.epw-screen .epw-home-heading,.epw-screen .epw-home-scope,.epw-screen .epw-home223>.epw-private{grid-column:1/-1}.epw-screen .epw-home223 .epw-card{margin:8px 0}.epw-screen .epw-home-heading h1{font-size:25px}}
@media(max-width:360px){.epw-screen .epw-home223 .epw-card{padding:13px}.epw-screen .epw-home-primary{font-size:13px}.epw-screen .epw-home-heading h1{font-size:20px}}
@media(max-width:899px){.epw-screen .epw-main{padding-left:14px;padding-right:14px}.epw-screen .epw-header{min-height:58px}}

/* Match the company header and first-card baseline without hiding data warnings. */
.epw-screen .epw-shell .epw-header{height:calc(58px + env(safe-area-inset-top));min-height:58px;padding:7px 14px;padding-top:calc(7px + env(safe-area-inset-top));position:relative;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:0}
.epw-screen .epw-shell .epw-header:has(>.ewn-back)>.epw-brand{position:absolute;left:50%;top:calc(7px + env(safe-area-inset-top));transform:translateX(-50%);margin:0;min-height:44px;max-width:calc(100% - 150px);justify-content:center}
.epw-screen .epw-shell .epw-header .epw-brand small{display:none}
.epw-screen .epw-shell .epw-header>.epw-account{margin-left:auto;min-height:44px;flex-wrap:nowrap}
.epw-screen .epw-shell .epw-header>.ewn-back{position:relative;z-index:1;min-height:44px}
.epw-screen .epw-home-accessible-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;margin:-1px;padding:0;border:0}
.epw-screen .epw-home-scope{font-size:10px;line-height:1.4;margin:2px 0 5px;color:#52675b}
.epw-screen .epw-home223 .epw-card{padding:12px 14px;margin:8px 0;border-radius:14px}
.epw-screen .epw-home223 .epw-section-title{margin-bottom:5px;min-height:32px}
.epw-screen .epw-home-site{margin-bottom:8px;font-size:15px;line-height:1.4}
.epw-screen .epw-home-caption{font-size:10px;line-height:1.4;margin-top:5px}
.epw-screen .epw-main:has(.epw-home223)>.ewn-switch-area .ewn-current{display:none}
@media(max-width:899px){.epw-screen .epw-main{padding-top:4px}.epw-screen .epw-home223 .epw-card:first-of-type{margin-top:5px}}
@media(min-width:900px){.epw-screen .epw-home-accessible-title,.epw-screen .epw-home-scope{grid-column:1/-1}.epw-screen .epw-home223 .epw-card{padding:16px}}
@media(max-width:899px){.epw-screen .epw-main{padding-left:8px;padding-right:8px}.epw-screen .epw-home-caption{font-size:11px}.epw-screen .epw-home223 .epw-card{margin-bottom:12px}}
/* Personal photo direct-entry and site/date groups. No company selectors. */
.epw-screen .epw-photo-site-choice>span{display:block;font-weight:700;margin-bottom:8px}
.epw-screen .epw-photo-site-toggle{display:flex;gap:4px;padding:4px;background:#eaf1e7;border-radius:12px;margin-bottom:14px}
.epw-screen .epw-photo-site-toggle>button{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;background:transparent;font-weight:700}
.epw-screen .epw-photo-site-toggle>button[aria-pressed="true"],.epw-screen .epw-photo-stage-filter>button[aria-pressed="true"]{background:#19533d;color:#fff}
.epw-screen .epw-capture-actions .epw-file-button{display:flex;align-items:center;justify-content:center;text-align:center;gap:7px;min-width:0;line-height:1.4}
.epw-screen .epw-photo-stage-filter{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.epw-screen .epw-photo-stage-filter>button{flex:1;min-width:60px;display:flex;align-items:center;justify-content:center;padding:8px 10px;text-align:center;background:#edf2e9}
.epw-screen .epw-photo-site-group{border:1px solid #dce5de;border-radius:14px;padding:14px;margin-top:16px;min-width:0}
.epw-screen .epw-photo-site-group h3{margin:0 0 8px;font-size:19px;overflow-wrap:anywhere}
.epw-screen .epw-photo-date-group{margin-top:10px;min-width:0}
.epw-screen .epw-photo-date-group>summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:700;overflow-wrap:anywhere}
.epw-screen .epw-photo-date-group .epw-photo-grid{margin-top:6px}
.epw-screen .epw-photo-info strong,.epw-screen .epw-photo-info p{overflow-wrap:anywhere}
@media(max-width:380px){.epw-screen .epw-capture-actions{grid-template-columns:1fr}.epw-screen .epw-photo-site-group{padding:10px}.epw-screen .epw-photo-stage-filter>button{padding:8px 4px;font-size:13px}}
/* Compact three-column overview; expand one item to preserve readable photo actions. */
.epw-screen .epw-photo-date-group .epw-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}
.epw-screen .epw-photo-thumbnail{min-width:0;border:0}
.epw-screen .epw-photo-thumbnail>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;list-style:none;cursor:pointer;min-width:0;min-height:96px;text-align:center;border-radius:10px;padding:3px}
.epw-screen .epw-photo-thumbnail>summary::-webkit-details-marker{display:none}
.epw-screen .epw-photo-thumbnail>summary:focus-visible{outline:3px solid #a57412;outline-offset:2px}
.epw-screen .epw-photo-thumb-image{width:100%;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:9px;background:#e8eeea;color:#6e877a}
.epw-screen .epw-photo-thumb-image img{width:100%;height:100%;object-fit:cover}
.epw-screen .epw-photo-thumbnail>summary strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.epw-screen .epw-photo-thumbnail>summary small{font-size:10px;line-height:1.4;color:#60796a}
.epw-screen .epw-photo-thumbnail[open]{grid-column:1/-1;border:1px solid #cdded1;border-radius:12px;padding:8px}
.epw-screen .epw-photo-thumbnail[open]>summary{flex-direction:row;gap:10px;justify-content:flex-start;min-height:52px;text-align:left}
.epw-screen .epw-photo-thumbnail[open] .epw-photo-thumb-image{width:64px;flex-shrink:0}
.epw-screen .epw-photo-thumbnail[open]>.epw-photo-card{margin-top:8px;min-width:0}
@media(max-width:380px){.epw-screen .epw-photo-thumbnail[open]>.epw-photo-card{display:block}.epw-screen .epw-photo-thumbnail[open] .epw-photo-preview{height:150px;min-height:0}.epw-screen .epw-photo-thumbnail>summary strong{font-size:12px}}
@media(max-width:380px){
  .epw-screen .epw-photo-stage-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .epw-screen .epw-photo-stage-filter>button{min-width:0;width:100%}
  .epw-screen .epw-photo-thumbnail[open] .epw-mini-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .epw-screen .epw-photo-thumbnail[open] .epw-mini-actions>button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;text-align:center}
}
