@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/noto-sans-thai-400.woff2') format('woff2')}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/noto-sans-thai-500.woff2') format('woff2')}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/noto-sans-thai-600.woff2') format('woff2')}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/noto-sans-thai-700.woff2') format('woff2')}
:root{font-family:'Noto Sans Thai',Tahoma,sans-serif;font-synthesis:none;color:#302d29;background:#f7f5f1;line-height:1.7;--paper:#f7f5f1;--ink:#302d29;--muted:#71675e;--line:#dcd5cc;--accent:#704b36;--tint:#ece3d8;--error:#a33126;--success:#3d6048;--radius:14px;scroll-behavior:smooth;scroll-padding-top:94px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-underline-offset:5px}button,a{touch-action:manipulation}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #875b3f;outline-offset:4px}::selection{background:#d9bea2;color:#2c241d}input,textarea{caret-color:var(--accent)}*{scrollbar-color:#b9aa99 #eee8df;scrollbar-width:thin}[hidden]{display:none!important}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:var(--ink);color:white;padding:12px}.skip:focus{top:10px}svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button svg{pointer-events:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500;line-height:1.4}h1{font-size:34px;letter-spacing:-.025em}h2{font-size:25px}h3{font-size:18px}p{overflow-wrap:anywhere}.muted{color:var(--muted)}.small{font-size:13px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.stack{display:grid;gap:20px}.btn{border:1px solid var(--line);border-radius:9px;background:transparent;padding:10px 17px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;text-decoration:none;line-height:1.5}.btn:hover{background:var(--tint)}.btn.primary{background:var(--ink);border-color:var(--ink);color:#fff}.btn.primary:hover{background:#514335}.btn.danger{color:var(--error)}.btn.ghost{border-color:transparent}.icon-btn{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:transparent;flex:none}.icon-btn:hover{background:var(--tint)}.text-btn{border:0;background:none;padding:8px 0;min-height:44px;color:var(--accent);text-decoration:underline;text-underline-offset:5px;font-size:14px}.divider{border:0;border-top:1px solid var(--line);margin:24px 0}.notice{padding:15px 18px;background:var(--tint);border-radius:8px;font-size:14px}.notice.error{background:#f7e5df;color:#882e24}.status{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--success)}.status:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}.status.draft{color:var(--muted)}
#review-bar{background:#eae3da;border-bottom:1px solid #d5c9bc}.review-inner{max-width:1440px;margin:auto;padding:9px 36px;display:flex;gap:20px;align-items:center;justify-content:space-between}.review-label{font-size:12px;color:#665a4c;line-height:1.5}.review-label strong{color:var(--ink);font-weight:600}.review-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.review-controls button{font-size:12px;border:1px solid transparent;background:transparent;border-radius:6px;padding:7px 11px;min-height:38px}.review-controls button[aria-pressed=true]{background:#fffaf3;border-color:#d5c9bc}.review-controls button:hover{background:#f7f2eb}.review-controls .lang{border-left:1px solid #cbbbAA;border-radius:0;margin-left:6px}.brand{font-size:25px;font-weight:650;letter-spacing:.075em;text-decoration:none}.brand span{font-size:10px;letter-spacing:.03em;display:block;font-weight:400;line-height:1.3;color:var(--muted)}#app-header{max-width:1320px;margin:auto;padding:23px 40px;display:flex;align-items:center;justify-content:space-between;gap:15px}.header-title{color:var(--muted);font-size:14px}.header-end{display:flex;align-items:center;gap:14px}#main{max-width:1320px;margin:auto;padding:10px 40px 64px;min-height:72vh}#footer{max-width:1240px;margin:0 auto;padding:20px 0 32px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}
.profile-layout{display:grid;grid-template-columns:minmax(310px,420px) minmax(0,1fr);gap:54px;align-items:start}.identity-panel{position:sticky;top:24px}.portrait-sheet{position:relative;isolation:isolate;overflow:hidden;background:#83634f;border-radius:22px;color:white}.portrait-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:-2}.portrait-sheet:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 22%,rgba(78,48,29,.04) 34%,rgba(72,45,30,.57) 53%,rgba(85,57,39,.89) 75%,rgba(105,75,52,.96) 100%)}.portrait-top{display:flex;justify-content:space-between;padding:18px;align-items:center}.portrait-top .icon-btn{background:#ffffffdb;border:0;color:#3c322a}.identity{padding:255px 27px 30px;text-align:center}.identity h1{font-size:35px;font-weight:400;overflow-wrap:anywhere;line-height:1.45}.latin{font-size:11px;letter-spacing:.15em;text-transform:uppercase;margin-top:3px}.identity-role{font-size:14px;margin-top:13px}.identity-bio{font-size:15px;line-height:1.9;margin:18px auto 0;max-width:34ch}.identity .tags{justify-content:center;margin-top:21px}.identity .tag{color:#fff;background:#33221638;border-color:#ffffff38;font-size:12px}.identity .text-btn{color:#fff;text-decoration-color:#ffffff88;margin-top:6px}.portrait-sheet :focus-visible{outline-color:white}.identity-actions{margin-top:18px;display:flex;gap:8px}.identity-actions .btn{flex:1}.profile-subnote{font-size:12px;color:var(--muted);margin-top:13px;line-height:1.8}.anchor-nav{position:sticky;top:0;z-index:5;background:var(--paper);display:flex;border-bottom:1px solid var(--line);gap:25px;overflow-x:auto;scrollbar-width:none}.anchor-nav a{padding:16px 0 14px;font-size:14px;text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent}.anchor-nav a:hover,.anchor-nav a:focus{border-color:var(--accent);color:var(--accent)}.section{padding:29px 0 31px;border-bottom:1px solid var(--line);scroll-margin-top:65px}.section:last-child{border-bottom:0}.section-title{margin-bottom:20px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}.section-title h2{font-size:21px}.section-title span{font-size:12px;color:var(--muted)}.bio-copy{font-size:16px;line-height:1.95;max-width:67ch}.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 20px;margin:25px 0 0}.facts dt{font-size:12px;color:var(--muted);margin-bottom:4px}.facts dd{margin:0;font-size:16px}.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.tag{border:1px solid var(--line);padding:5px 11px;border-radius:20px;font-size:13px}.work-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:19px;align-items:start;padding:18px 0;border-top:1px solid var(--line)}.work-row:first-child{border-top:0;padding-top:0}.work-year{font-size:13px;color:var(--accent);padding-top:3px;font-variant-numeric:tabular-nums}.work-row h3{font-size:18px}.work-row p{color:var(--muted);font-size:13px;margin-top:5px}.work-arrow{padding-top:4px}.gallery{display:grid;grid-template-columns:1.05fr 1fr;gap:17px;align-items:stretch}.photo-button{padding:0;border:0;background:#dfd2c4;position:relative;border-radius:12px;overflow:hidden;min-height:245px;width:100%;display:block}.photo-button img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}.photo-caption{position:absolute;left:12px;bottom:12px;color:white;background:#2a2219aa;border-radius:6px;font-size:12px;padding:5px 10px}.skill-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.skill-columns h3{font-size:14px;color:var(--muted);margin-bottom:13px}.language-row{padding:10px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:14px}.language-row span{color:var(--muted);font-size:12px}.empty-inline{padding:24px 0;max-width:53ch}.empty-inline h3{font-size:18px;margin-bottom:9px}.empty-inline p{font-size:14px;color:var(--muted)}
.page-heading{padding:12px 0 27px;display:flex;justify-content:space-between;align-items:start;gap:20px}.page-heading p{color:var(--muted);font-size:14px;margin-top:8px}.edit-layout{display:grid;grid-template-columns:228px minmax(0,1fr);gap:50px;max-width:1110px}.edit-sidebar{position:sticky;top:24px;align-self:start}.edit-sidebar .mini-profile{padding:12px 0 25px;display:flex;align-items:center;gap:12px}.mini-profile img{height:50px;width:50px;object-fit:cover;border-radius:50%}.mini-profile strong{font-size:14px;font-weight:500;display:block}.edit-nav{display:flex;flex-direction:column;gap:5px}.edit-nav button{display:flex;align-items:center;gap:12px;text-align:left;min-height:49px;border:0;background:transparent;padding:11px 14px;border-radius:8px;font-size:14px}.edit-nav button:hover{background:#eee8df}.edit-nav button.active{background:var(--tint);color:var(--accent);font-weight:600}.edit-body{min-width:0;padding-bottom:28px}.edit-body>h2{margin:6px 0 8px}.edit-body>.muted{font-size:14px;margin-bottom:27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:14px;font-weight:500}.field input,.field textarea,.field select{width:100%;border:1px solid #c6bcaf;border-radius:8px;background:#fdfbf7;min-height:48px;padding:11px 13px;line-height:1.6;color:var(--ink)}.field textarea{resize:vertical;min-height:125px}.field input::placeholder,.field textarea::placeholder{color:#786e62}.field small{font-size:12px;color:var(--muted)}.field-error{color:var(--error);font-size:13px}.field input[aria-invalid=true]{border-color:var(--error)}.save-bar{position:sticky;bottom:0;z-index:6;background:#f7f5f1f5;border-top:1px solid var(--line);padding:17px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:28px;backdrop-filter:blur(10px)}.save-status{font-size:12px;color:var(--muted)}.editor-list{margin-bottom:24px}.editor-item{padding:20px 0;border-bottom:1px solid var(--line)}.editor-item .item-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:15px}.editor-item h3{font-size:16px}.upload-zone{position:relative;border:1px dashed #a8947f;border-radius:12px;padding:30px;text-align:center;background:#f0e8de}.upload-zone>svg{height:28px;width:28px;margin-bottom:12px}.upload-zone h3{font-size:19px}.upload-zone p{font-size:13px;color:var(--muted);margin:7px 0 18px}.upload-zone input[type=file]{max-width:100%;font-size:13px;padding:10px;background:#fdfaf6;border-radius:8px}.upload-zone input::file-selector-button{font:inherit;border:0;background:var(--ink);color:white;border-radius:5px;padding:8px 12px;margin-right:12px;cursor:pointer}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:25px}.media-item{min-width:0}.media-preview{height:175px;position:relative;overflow:hidden;background:#e4dbce;border-radius:9px;margin-bottom:9px}.media-preview img,.media-preview video{width:100%;height:100%;object-fit:cover}.media-title{font-size:12px;overflow-wrap:anywhere}.media-tools{display:flex;gap:6px;flex-wrap:wrap}.media-tools button{font-size:12px;min-height:42px}.media-grid .field label{font-size:12px}.media-grid .field input{padding:7px;font-size:13px;min-height:40px}.check-row{display:flex;gap:13px;align-items:flex-start;padding:17px 0;border-bottom:1px solid var(--line)}.check-row input{width:20px;height:20px;margin:3px 0 0;flex:none;accent-color:var(--accent)}.check-row label{cursor:pointer}.check-row strong{display:block;font-size:14px;font-weight:500}.check-row p{font-size:12px;color:var(--muted);margin-top:3px}.publish-box{padding:23px 0;border-top:1px solid var(--line);margin-top:25px}.publish-box h3{margin-bottom:9px}.publish-box p{color:var(--muted);font-size:14px;margin-bottom:18px}.preview-bar{background:var(--tint);padding:14px 20px;border-radius:9px;margin-bottom:25px;display:flex;align-items:center;justify-content:space-between;gap:15px}.preview-bar strong{font-size:14px;font-weight:500}.preview-bar p{font-size:12px;color:var(--muted)}
.state-page{min-height:55vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:17px;max-width:540px;margin:auto;padding:45px 10px}.state-symbol{width:68px;height:68px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;color:var(--accent);margin-bottom:7px}.state-symbol svg{width:29px;height:29px}.state-page p{color:var(--muted);font-size:15px;max-width:45ch}.skeleton{background:#e5ddd2;border-radius:8px;min-height:20px;margin-bottom:15px}.skeleton.portrait{min-height:620px;border-radius:22px}.skeleton.line{height:27px;width:80%}.skeleton.short{width:45%}.skeleton.area{height:160px;margin-top:30px}.state-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.state-list button{justify-content:flex-start;text-align:left}.review-dialog h3{font-size:17px;margin:24px 0 12px}.review-dialog p{font-size:13px;color:var(--muted)}.review-dialog .notice{margin-top:18px}.review-dialog .current{border-color:var(--accent);background:var(--tint)}dialog{border:1px solid var(--line);border-radius:17px;background:var(--paper);padding:28px;max-width:min(640px,calc(100% - 32px));max-height:90dvh;color:var(--ink);box-shadow:0 24px 70px #241a1438}dialog::backdrop{background:#30292080;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.dialog-head h2{font-size:23px}.dialog-body p{margin:12px 0;color:var(--muted);font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.lightbox{width:min(750px,calc(100% - 24px))}.lightbox img,.lightbox video{display:block;max-width:100%;max-height:66dvh;object-fit:contain;margin:auto}.lightbox p{font-size:13px;color:var(--muted);margin-top:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:13px 23px;border-radius:9px;background:var(--ink);color:white;font-size:14px;z-index:50;max-width:calc(100% - 36px);box-shadow:0 8px 25px #34271e20}#toast.visible{opacity:1;transform:translate(-50%,0)}progress{width:100%;height:8px;accent-color:var(--accent)}.no-photo{position:absolute;inset:0 0 auto;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#867362 0%,#7b6a5b 50%,transparent 100%);z-index:-2}.no-photo svg{width:88px;height:88px;stroke:#e0d2c2}
.portrait-top{position:absolute;top:0;left:0;right:0;justify-content:flex-end}.portrait-image{height:auto;aspect-ratio:4/5;mask-image:linear-gradient(#000 40%,#000e 58%,transparent 100%)}.identity{padding-top:92%}
input[type=range]{accent-color:var(--accent)}body[data-mode=edit] #toast{bottom:calc(var(--savebar-height,100px) + 24px)}.save-bar .btn{white-space:nowrap}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){.save-bar{display:grid;grid-template-columns:1fr;gap:8px}.save-bar>.row{justify-content:flex-end}.save-status{line-height:1.5}.page-heading>.btn{white-space:nowrap;flex-shrink:0}.page-heading>div{min-width:0}}
@media(prefers-reduced-motion:no-preference){.btn,.icon-btn,.edit-nav button{transition:background .18s}#toast{transition:opacity .2s,transform .2s}.identity{animation:arrive .65s cubic-bezier(.16,1,.3,1) both}@keyframes arrive{from{transform:translateY(8px);opacity:.5}to{transform:translateY(0);opacity:1}}.skeleton{animation:pulse 1.4s ease-in-out infinite alternate}@keyframes pulse{to{opacity:.45}}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
@media(min-width:1500px){.profile-layout{gap:68px}}
@media(max-width:1050px){.profile-layout{grid-template-columns:minmax(290px,350px) minmax(0,1fr);gap:30px}.identity{padding:92% 23px 25px}.identity h1{font-size:30px}.anchor-nav{gap:19px}.facts{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery{gap:10px}.edit-layout{gap:30px;grid-template-columns:195px minmax(0,1fr)}#footer{margin-inline:40px}.review-inner{padding-inline:25px}.media-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){#app-header{padding:18px 21px}.brand{font-size:23px}.brand span{font-size:9px}.header-title{display:none}#main{padding:5px 20px 36px}.review-inner{padding:9px 14px;gap:7px;align-items:flex-start;flex-direction:column}.review-label{font-size:10px}.review-controls{width:100%;gap:3px}.review-controls button{font-size:11px;padding:6px 9px;min-height:36px}.review-controls .lang{margin-left:auto}.header-end .btn{padding:9px 12px;font-size:12px}.profile-layout{display:block}.portrait-sheet{max-width:460px;margin:auto;border-radius:20px}.identity{padding-top:92%;padding-bottom:26px}.portrait-top{position:absolute;top:0;left:0;right:0}.identity h1{font-size:34px}.identity-bio{font-size:15px}.identity-actions{max-width:460px;margin:15px auto 0}.profile-subnote{text-align:center;margin-bottom:15px}.anchor-nav{gap:23px;top:0}.anchor-nav a{font-size:13px;padding:13px 0}.section{padding:26px 0}.facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 10px}.facts dd{font-size:14px}.facts dt{font-size:11px}.gallery{gap:12px}.photo-button{min-height:215px}.skill-columns{gap:20px}.page-heading{padding-top:16px;gap:12px;align-items:center}.page-heading h1{font-size:27px}.page-heading>.btn{padding-inline:11px}.edit-layout{display:block}.edit-sidebar{position:static}.edit-sidebar .mini-profile{display:none}.edit-nav{flex-direction:row;overflow-x:auto;margin-bottom:27px;gap:4px}.edit-nav button{white-space:nowrap;font-size:13px;min-height:46px;padding:9px 13px}.edit-nav svg{width:17px;height:17px}.edit-body>h2{font-size:23px}.form-grid{gap:20px 13px}.save-bar{padding-bottom:calc(14px + env(safe-area-inset-bottom));gap:10px}.save-bar .btn{font-size:12px;padding-inline:12px}.save-status{font-size:11px}.preview-bar{padding:13px 15px;align-items:flex-start}.preview-bar .btn{font-size:12px;white-space:nowrap;padding:9px 12px}.preview-bar{flex-wrap:wrap}#footer{margin:0 20px;display:block}#footer span{display:block;margin-top:5px}.skeleton.portrait{min-height:500px}.work-row{gap:12px;grid-template-columns:44px minmax(0,1fr) auto}.state-list{grid-template-columns:1fr 1fr}.dialog-head h2{font-size:21px}dialog{padding:22px}.media-grid{grid-template-columns:1fr 1fr}.skill-columns .tag{font-size:12px}.page-heading p{font-size:12px}}
@media(max-width:370px){#main{padding-inline:14px}.identity h1{font-size:30px}.identity{padding-inline:18px}.facts{grid-template-columns:1fr 1fr}.skill-columns{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.review-controls button{font-size:10px;padding:6px 7px}.review-controls .lang{margin-left:0}.anchor-nav{gap:17px}.anchor-nav a{font-size:12px}.state-list{grid-template-columns:1fr}.save-bar{flex-wrap:wrap}.page-heading{flex-wrap:wrap}.media-grid{grid-template-columns:1fr}.photo-button{min-height:200px}}

/* Owner revision: casting media first, neutral brand, continuous mobile portrait. */
:root{color:#202020;background:#fafafa;--paper:#fafafa;--ink:#202020;--muted:#686868;--line:#dedede;--accent:#353535;--tint:#ededed}
*{scrollbar-color:#aaa #eee}::selection{background:#d0d0d0;color:#111}:focus-visible{outline-color:#686868!important}
#review-bar{background:#ededed;border-color:#d5d5d5}.review-label{color:#606060}.review-controls button[aria-pressed=true]{background:#fff;border-color:#ccc}.review-controls button:hover{background:#fff}.review-controls .lang{border-color:#ccc}.btn.primary:hover{background:#454545}
.field input,.field textarea,.field select{background:#fff;border-color:#bcbcbc}.field input::placeholder,.field textarea::placeholder{color:#707070}.edit-nav button:hover{background:#eee}.upload-zone{background:#f2f2f2;border-color:#999}.save-bar{background:#fafafaf5}.preview-bar,.publish-box{background:#ededed}
.portrait-sheet{background:#45423f}.portrait-sheet:after{background:linear-gradient(180deg,transparent 25%,#302d2b15 40%,#302d2b99 67%,#45423ff0 90%,#45423f 100%)}
.identity-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:7px 18px;margin-top:15px;font-size:14px}.identity-facts span{white-space:nowrap}.identity-facts strong{font-weight:600}.identity-role{margin-top:9px}
.casting-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.casting-gallery .photo-button{aspect-ratio:4/5;min-height:0;border-radius:8px;background:#ddd}.casting-gallery .photo-caption{left:8px;bottom:8px;padding:3px 7px;font-size:11px;background:#191919b8}
.showreel-block{margin-top:24px}.showreel-block>h3{font-size:15px;margin-bottom:12px}.showreel-empty{display:flex;gap:17px;padding:22px;background:#efefef;border-radius:9px}.showreel-empty>svg{margin-top:3px}.showreel-empty strong{font-size:15px;font-weight:500}.showreel-empty p{font-size:13px;color:var(--muted);margin-top:5px}.showreel-empty .btn{margin-top:14px}
.bio-summary{font-size:16px;line-height:1.9;margin-bottom:16px}.bio-copy{font-size:15px;color:var(--muted)}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){
 body.profile-open{background:#302d2b}body.profile-open #app-header{background:#fafafa}body.profile-open #main{padding:0 20px;overflow:clip}
 .profile-layout{position:relative;isolation:isolate;background:#302d2b;margin-inline:-20px;padding:0 20px 25px;color:#fff;--muted:#dedad7;--line:#ffffff26;--accent:#fff;--tint:#ffffff12}
 .identity-panel{position:static}.portrait-sheet{position:static;isolation:auto;overflow:visible;background:transparent;border-radius:0;max-width:none}.portrait-sheet:after{display:none}
 .portrait-image{position:absolute;inset:0 0 auto;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;z-index:-2;mask-image:linear-gradient(#000 30%,#000e 50%,#0009 68%,transparent 100%)}
 .profile-layout:before{content:'';position:absolute;inset:0 0 auto;aspect-ratio:4/5;z-index:-1;background:linear-gradient(180deg,transparent 20%,#302d2b14 36%,#302d2b4d 65%,#302d2bb3 87%,#302d2b 100%);pointer-events:none}
 .identity{padding:calc(90vw - 20px) 8px 18px}.identity h1{font-size:32px}.identity .latin{color:#fff}.identity-facts{font-size:14px;margin-top:13px}.identity-role{font-size:13px}.portrait-top{position:absolute;top:12px;right:10px;padding:0}
 .profile-subnote{font-size:10px;color:#dedad7;margin-top:0;margin-bottom:20px}.anchor-nav{background:#302d2bef;backdrop-filter:blur(10px);gap:22px}.anchor-nav a{font-size:12px;color:#eee}.anchor-nav a:hover,.anchor-nav a:focus{border-color:#fff;color:#fff}
 .profile-layout :focus-visible{outline-color:#fff!important}.section{padding:24px 0 27px}.section-title{margin-bottom:16px}.section-title h2{font-size:20px}.casting-gallery{gap:8px}.casting-gallery .photo-button{border-radius:6px}.casting-gallery .photo-caption{font-size:9px;left:5px;bottom:5px;padding:3px 5px}
 .showreel-empty{padding:17px;background:#ffffff0d;border:1px solid #ffffff24}.showreel-empty p{color:#dedad7}.profile-layout .tag{background:#ffffff08}.profile-layout .btn{color:#fff}.profile-layout .btn.primary{background:#fff;color:#222;border-color:#fff}.profile-layout .btn:hover{background:#ffffff1a}.profile-layout .status{color:#e3eadf}
 body.profile-open #footer{color:#dedad7;border-color:#ffffff26;margin:0 20px}.preview-bar{margin-top:18px;color:#202020}/* Owner 31 Oct 2026 (FIX-LIST 1.9 / B-38): with no photo the person icon sits in an empty 4:5 frame where the photo would be, above the name, and the identity keeps the photo-state spacing. Was: .no-photo{height:350px} with the icon 100px from the top and .identity{padding-top:0}, so the icon covered the age/height and real-name rows. */.no-photo{inset:0 0 auto;height:auto;aspect-ratio:4/5;background:linear-gradient(180deg,#ffffff1c 0%,#ffffff12 55%,transparent 100%)}.no-photo svg{width:76px;height:76px;stroke:#bdb6ae}
}
@media(max-width:360px){body.profile-open #main{padding-inline:14px}.profile-layout{margin-inline:-14px;padding-inline:14px}.identity h1{font-size:29px}.identity-facts{gap:7px 12px}}

/* Portrait detail reveal and member-only contact directory. */
.identity-facts{column-gap:16px;row-gap:4px;font-size:13px}.actor-province{flex-basis:100%;font-size:12px;color:#eeecea}
.portrait-intro{font-size:14px;line-height:1.85;max-width:33ch;margin:15px auto 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.portrait-links{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:12px}.portrait-links button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;font-size:13px;color:#fff}.portrait-more{padding:6px 0;background:none;border:0;border-bottom:1px solid #ffffff65}.portrait-more svg{width:14px;height:14px}.portrait-contact{border:1px solid #ffffff5c;border-radius:24px;padding:8px 15px;background:#ffffff0b}.portrait-contact svg{width:16px;height:16px}.portrait-links button:hover{background:#ffffff16}
.account-age .locked-value{position:relative}.locked-value input{padding-right:48px;background:#ededed}.locked-value svg{position:absolute;right:16px;top:15px;color:#666}.account-consent{display:flex;gap:14px;padding:22px 0}.account-consent svg{margin-top:3px}.account-consent strong{font-weight:500;font-size:14px}.account-consent p{font-size:13px;color:var(--muted);margin-top:5px}.contact-form{margin:24px 0}.session-label{font-size:12px}
body.dialog-open{overflow:hidden}dialog.profile-sheet{width:570px;padding:28px;max-height:85dvh;border-color:#ddd;background:#fafafa;color:#202020;box-shadow:0 22px 70px #0005}dialog.profile-sheet::backdrop{background:#13131399;backdrop-filter:blur(4px)}.profile-sheet .dialog-head{padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid #ddd}.profile-sheet .dialog-head h2{font-size:23px}.sheet-identity{display:flex;align-items:center;gap:15px}.sheet-identity img{width:52px;height:64px;object-fit:cover;border-radius:5px}.sheet-identity h3{font-size:18px}.sheet-identity p{font-size:12px;margin:2px 0}.profile-sheet .sheet-lead{font-size:17px;color:#292929;margin:24px 0 18px;line-height:1.9}.profile-sheet .sheet-story{font-size:14px;line-height:1.95;color:#555}.profile-sheet .dialog-actions{justify-content:stretch;border-top:1px solid #ddd;padding-top:18px}.profile-sheet .dialog-actions .btn{width:100%}
.profile-sheet .contact-for{font-size:12px;margin-top:0}.contact-person{padding:9px 0 23px}.contact-person h3{font-size:30px}.contact-person p{margin:4px 0 0;font-size:13px}.contact-channels{margin:0}.contact-channels>div{padding:16px 0;border-top:1px solid #ddd}.contact-channels dt{font-size:12px;color:#686868}.contact-channels dd{margin:7px 0 0;display:flex;align-items:center;justify-content:space-between;gap:14px}.contact-channels dd>span{overflow-wrap:anywhere;min-width:0;font-size:16px}.copy-contact{flex:none;background:transparent;border:1px solid #ccc;border-radius:6px;font-size:12px;padding:8px 10px;min-height:44px}.copy-contact:hover{background:#eee}.contact-context{border-top:1px solid #ddd;padding-top:14px;margin-top:22px}.profile-sheet .contact-context p{font-size:12px;line-height:1.85}.contact-empty{padding:20px 0}.profile-sheet #sheet-feedback{color:#30503b;font-size:13px}.profile-sheet #sheet-feedback:empty{display:none}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){
 .identity{padding-bottom:13px}.portrait-intro{font-size:13px;max-width:32ch;margin-top:12px}.portrait-links{margin-top:10px;gap:20px}.portrait-links button{font-size:12px}.portrait-contact{padding:8px 14px}.profile-subnote{margin-bottom:13px;font-size:9px}
 dialog.profile-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:85dvh;border-radius:24px 24px 0 0;padding:22px 22px calc(20px + env(safe-area-inset-bottom));border-bottom:0;overscroll-behavior:contain}
 .profile-sheet .dialog-head{margin-bottom:18px;padding-bottom:15px}.profile-sheet .dialog-head h2{font-size:21px}.profile-sheet .sheet-lead{font-size:16px}.contact-person h3{font-size:27px}.contact-channels dd>span{font-size:15px}.sign-in-gate .row{justify-content:center}
}
@media(prefers-reduced-motion:no-preference){dialog.profile-sheet[open]{animation:detail-reveal .22s cubic-bezier(.16,1,.3,1)}@keyframes detail-reveal{from{transform:translateY(24px);opacity:.6}to{transform:translateY(0);opacity:1}}}

/* Role availability and separate media destinations — owner revision. */
.casting-fit{padding:23px 0 25px;border-bottom:1px solid var(--line)}
.casting-fit h2{font-size:15px;font-weight:600;margin:0 0 12px;color:var(--muted)}
.role-list{display:flex;flex-wrap:wrap;gap:8px 0;font-size:18px;font-weight:500}
.role-list span+span:before{content:"/";padding:0 14px;color:var(--muted);font-weight:400}
.role-picker{border:0;padding:0;margin:12px 0;min-width:0}.role-picker legend{font-weight:600}.role-picker p{margin:5px 0 12px}
.role-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.role-options label{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.role-options label:has(:checked){border-color:#444;background:#f0f0f0}.role-options input{width:18px;height:18px;accent-color:#303030;flex-shrink:0}
.media-editor-group{margin:28px 0 36px}.media-editor-group>h3{font-size:20px;margin:0 0 12px}.media-editor-group .upload-zone{padding:22px;text-align:left}.media-editor-group .upload-zone>svg{width:24px;height:24px}.upload-zone label{display:block;font-weight:600;margin:14px 0 8px}.upload-zone input{max-width:100%;font:inherit}.upload-zone small{display:block;margin-top:10px;color:var(--muted)}.media-editor-group .media-grid{margin-top:20px}.media-publish-note{font-size:14px;line-height:1.8}.preview-link{font-size:12px;padding:8px;color:inherit;text-underline-offset:3px}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){.casting-fit{padding:21px 0 24px}.casting-fit h2{font-size:14px}.role-list{font-size:17px}.role-list span+span:before{padding:0 10px}}
@media(max-width:360px){.role-options{grid-template-columns:1fr}}

.representation{font-size:14px;font-weight:500;margin:10px 0 15px;overflow-wrap:anywhere;color:inherit}.identity .casting-invite{margin-top:18px;width:100%;background:#fafafa;color:#252525;border:1px solid #fafafa}.casting-invite:hover{background:#e7e7e7;color:#222}.dialog-actions .casting-invite{background:#292929;color:#fff;border-color:#292929;width:100%}.contact-representation{font-size:15px;font-weight:600;margin:4px 0 22px}.invitation-sheet .notice{line-height:1.8}

/* Actual association lettering, floating above a soft upward portrait fade. */
:root{scroll-padding-top:calc(var(--brandbar-height,100px) + 58px)}
#app-header,body.profile-open #app-header{position:sticky;top:0;z-index:20;max-width:none;width:100%;padding:18px max(24px,calc((100vw - 1240px)/2)) 30px;color:white;background:linear-gradient(180deg,rgba(38,37,36,.98) 0%,rgba(38,37,36,.92) 60%,rgba(38,37,36,.58) 83%,rgba(38,37,36,0) 100%);border:0;pointer-events:none}
#app-header>*{pointer-events:auto}#app-header .header-title{display:none}#app-header .header-end,#app-header .muted{color:#f2f2f2}
.brand{display:block;flex-shrink:0;line-height:1}.brand .brand-mark{display:block;position:relative;width:126px;height:30px;overflow:hidden;margin:0 0 7px;color:white}
.brand-mark img{position:absolute;width:128%;max-width:none;height:auto;left:-12%;top:-225.4%;mix-blend-mode:screen}
.anchor-nav{top:calc(var(--brandbar-height,100px) - 18px)}.identity-panel{top:calc(var(--brandbar-height,100px) + 10px)}.section{scroll-margin-top:48px}.portrait-top{z-index:2}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){#app-header,body.profile-open #app-header{padding:19px 21px 32px;background:linear-gradient(180deg,rgba(48,45,43,.98) 0%,rgba(48,45,43,.88) 56%,rgba(48,45,43,.45) 82%,rgba(48,45,43,0) 100%)}
.brand .brand-mark{width:110px;height:26px}.header-end{font-size:11px;max-width:110px}.session-label{font-size:10px}
body.profile-open[data-mode=viewer] #main{margin-top:calc(-1 * var(--brandbar-height,100px))}.profile-open[data-mode=viewer] .portrait-image{mask-image:linear-gradient(transparent 0%,#000c 15%,#000 28%,#000e 50%,#0009 68%,transparent 100%)}
.profile-open[data-mode=viewer] .identity{padding-top:calc(100vw + 15px)}.anchor-nav{top:calc(var(--brandbar-height,100px) - 15px)}
}
.brand .brand-mark{height:auto;aspect-ratio:750/180}.brand-mark img{top:-216.666667%}

/* Smaller top blend; the original complete mark blends as one group. */
#app-header,body.profile-open #app-header{padding-top:10px;padding-bottom:19px;background:linear-gradient(180deg,rgba(38,37,36,.94),rgba(38,37,36,.79) 52%,rgba(38,37,36,.30) 80%,transparent)}
.brand .brand-mark{width:145px;aspect-ratio:750/230;height:auto;margin:0;mix-blend-mode:screen}.brand-mark img{top:-169.565217%;mix-blend-mode:normal}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){#app-header,body.profile-open #app-header{padding:9px 21px 18px;background:linear-gradient(180deg,rgba(48,45,43,.94),rgba(48,45,43,.77) 48%,rgba(48,45,43,.25) 80%,transparent)}.brand .brand-mark{width:130px;height:auto}.profile-open[data-mode=viewer] .portrait-image{top:30px;mask-image:linear-gradient(transparent,#000c 10%,#000 22%,#000e 50%,#0009 68%,transparent)}.profile-open[data-mode=viewer] .identity{padding-top:calc(100vw + 30px)}}
.video-tile{width:100%;padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:transparent;color:inherit;text-align:left;display:block;margin-top:17px}.video-poster{position:relative;display:block;aspect-ratio:16/9;background:#121212;overflow:hidden}.video-poster>img,.video-poster>video{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.video-poster>img{object-fit:cover;opacity:.65}.video-play{position:absolute;inset:0;display:grid;place-items:center;color:white}.video-play svg{width:56px;height:56px;padding:16px;border:1px solid #fff9;border-radius:50%;background:#161616b8;fill:currentColor}.video-tile:hover .video-play svg{background:#333}.video-tile-copy{display:block;padding:14px 16px}.video-tile-copy strong{font-size:16px;font-weight:500;display:block}.video-tile-copy small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.player-demo-tile .video-poster{aspect-ratio:21/8}.player-demo-tile .video-poster img{object-fit:contain}
dialog.cinema-dialog{width:min(960px,calc(100vw - 32px));max-width:960px;padding:0;border:1px solid #ffffff30;border-radius:14px;max-height:calc(100dvh - 32px);background:#111;color:#fff;box-shadow:0 24px 80px #0008;overflow:auto}
.cinema-dialog::backdrop{background:#090909bf;backdrop-filter:blur(6px)}.cinema-dialog .dialog-head{padding:14px 18px;margin:0;gap:12px}.cinema-dialog .dialog-head h2{font-size:16px;font-weight:500;overflow-wrap:anywhere}.cinema-dialog .icon-btn{border-color:#ffffff50;min-width:44px;min-height:44px}.cinema-dialog .icon-btn:hover{background:#333}.cinema-dialog .dialog-body{padding:0}.cinema-stage{display:grid;place-items:center;background:#000}.cinema-stage video{width:100%;max-height:65dvh;display:block;object-fit:contain;aspect-ratio:16/9}.cinema-dialog .dialog-body p{color:#ddd;font-size:12px;margin:12px 18px}.cinema-dialog #video-status:empty,.cinema-dialog #sheet-feedback:empty{display:none}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){dialog.cinema-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);margin:auto;border-radius:12px}.cinema-dialog .dialog-head{padding:9px 12px}.cinema-dialog .dialog-head h2{font-size:14px}.cinema-stage video{max-height:60dvh}}
@media(prefers-reduced-motion:no-preference){dialog.cinema-dialog[open]{animation:cinema-in 260ms cubic-bezier(.16,1,.3,1)}.cinema-dialog[open]::backdrop{animation:cinema-shade-in 260ms ease-out}.cinema-dialog.is-closing[open]{animation:cinema-out 180ms ease-in forwards}.cinema-dialog.is-closing::backdrop{animation:cinema-shade-out 180ms ease-in forwards}@keyframes cinema-in{from{opacity:0;transform:scale(.985);filter:blur(3px)}to{opacity:1;transform:scale(1);filter:blur(0)}}@keyframes cinema-out{to{opacity:0;transform:scale(.99);filter:blur(2px)}}@keyframes cinema-shade-in{from{background:#09090900;backdrop-filter:blur(0)}to{background:#090909bf;backdrop-filter:blur(6px)}}@keyframes cinema-shade-out{to{background:#09090900;backdrop-filter:blur(0)}}}

.brand-filter-defs{position:absolute;pointer-events:none}.brand .brand-mark{mix-blend-mode:normal}.brand-mark img{filter:url(#logo-alpha);mix-blend-mode:normal}

/* My Project invitation template: one choice per step, status scoped to actor/project/role. */
.invitation-sheet .invite-demo-note{font-size:12px;color:#666;line-height:1.7;margin:0 0 20px}.invite-options{border:0;padding:0;margin:20px 0;min-width:0}.invite-options legend{font-size:15px;font-weight:600;margin-bottom:12px}.invite-options label{display:flex;align-items:center;gap:14px;padding:17px 3px;border-bottom:1px solid #ddd;cursor:pointer}.invite-options input{width:19px;height:19px;accent-color:#292929;flex-shrink:0}.invite-options label:has(:checked){background:#eee;border-radius:6px;padding-inline:12px}.invite-options strong,.sent-invitation strong{font-weight:500;display:block;font-size:17px}.invite-options small,.sent-invitation small{display:block;font-size:12px;color:#666;margin-top:3px}.invite-project-name{font-size:18px!important;color:#252525!important}.invite-summary{margin:18px 0 24px}.invite-summary>div{display:grid;grid-template-columns:78px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #ddd}.invite-summary dt{font-size:13px;color:#666}.invite-summary dd{margin:0;font-size:16px;overflow-wrap:anywhere}.sent-invitations h3{font-size:15px;margin-bottom:8px}.sent-invitation{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;background:none;border:0;border-bottom:1px solid #ddd;text-align:left}.sent-invitation>span:last-child{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.sent-invitation svg{width:16px;height:16px}.invite-result{display:flex;gap:9px;align-items:center;color:#292929!important;font-weight:500}.invitation-sheet .dialog-actions{flex-wrap:wrap}.invitation-sheet .dialog-actions .btn{width:auto;flex:1;min-width:130px}.invite-empty{padding:15px 0}

/* Clearly exposed review control; account switching is a prototype-only affordance. */
.review-inner{flex-wrap:wrap;row-gap:8px}.audience-switch{flex:0 0 100%;display:flex;align-items:center;gap:14px;color:#292929;font-size:12px}.audience-switch>span{font-weight:600}.audience-switch>div{display:flex;gap:4px;padding:3px;border:1px solid #bcbcbc;border-radius:9px;background:#fff}.audience-switch button{min-height:40px;padding:8px 16px;border:0;border-radius:6px;background:transparent;color:#3e3e3e;font-size:12px;font-weight:600;white-space:nowrap}.audience-switch button:hover{background:#e9e9e9}.audience-switch button[aria-pressed=true]{background:#292929;color:#fff}.audience-switch button:focus-visible{outline:2px solid #292929;outline-offset:3px}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){.audience-switch{flex-basis:auto;width:100%;gap:6px;align-items:flex-start;flex-direction:column}.audience-switch>div{width:100%}.audience-switch button{flex:1;min-width:0;padding-inline:8px}.audience-switch>span{font-size:11px}}

/* Optional social profile destinations: small monochrome marks, comfortable targets. */
.social-links{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:13px 0 5px}.social-link{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:#fff;border-radius:50%;text-decoration:none}.social-link img{width:19px;height:19px;filter:invert(1);opacity:.88}.social-link:hover{background:#ffffff14}.social-link:hover img{opacity:1}.social-link:focus-visible{outline:2px solid #fff;outline-offset:2px}.social-editor{display:grid;gap:25px;margin:22px 0 26px}.social-editor label{display:flex;align-items:center;gap:11px}.social-editor img{width:19px;height:19px}.social-editor input{min-width:0}.social-help{max-width:65ch}.media-count{font-size:13px;font-weight:400;color:#646464;margin-left:8px;font-variant-numeric:tabular-nums}.upload-zone small+small{display:block;margin-top:5px}

/* An old profile stays usable; recency is context rather than a lock or a badge. */
.profile-recency{display:flex;align-items:flex-start;justify-content:center;gap:7px;text-align:left;font-size:12px;line-height:1.6;color:#f4c4bd;margin:17px 0 6px}.profile-recency svg{width:15px;height:15px;flex-shrink:0;margin-top:3px}.profile-recency small{display:block;font-size:11px;color:#ddd0ce;margin-top:3px}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){.profile-recency{max-width:290px;margin-inline:auto}}

/* Review-only reminder preview; keeps the actor draft and published date untouched. */
.recency-preview{display:flex;align-items:center;gap:16px;min-height:40px;padding:8px 12px;border:1px solid #bcbcbc;border-radius:7px;background:#fff;color:#373737;font-size:12px;text-align:left}.recency-preview strong{font-size:11px;min-width:30px;text-align:center;border-radius:4px;padding:3px 7px;background:#eaeaea;color:#555}.recency-preview[aria-pressed=true]{border-color:#80615b;background:#fbf5f3}.recency-preview[aria-pressed=true] strong{background:#663c34;color:white}.recency-preview:hover{border-color:#555}.recency-preview:focus-visible{outline:2px solid #292929;outline-offset:2px}.recency-preview:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:760px), (orientation:landscape) and (max-height:599px){.recency-preview{width:100%;justify-content:space-between;gap:8px;font-size:11px}}

/* Carry the approved charcoal ground through the desktop profile as on mobile. */
body.profile-open{background:#302d2b}.profile-layout{color:#f4f2f0;--paper:#302d2b;--ink:#f4f2f0;--muted:#c8c1bb;--line:#ffffff26;--accent:#f0ece8;--tint:#ffffff12}.profile-layout .anchor-nav{background:#302d2bef;backdrop-filter:blur(10px)}.profile-layout .tag{background:#ffffff08}.profile-layout .showreel-empty{background:#ffffff0d;border:1px solid #ffffff26}.profile-layout .btn.primary{background:#f4f2f0;border-color:#f4f2f0;color:#252525}.profile-layout .btn:hover{background:#ffffff1a}.profile-layout .btn.primary:hover{background:#ddd8d3}.profile-layout :focus-visible{outline-color:#fff!important}.profile-layout .status{color:#dce8d8}body.profile-open #footer{color:#c8c1bb;border-color:#ffffff26}body.profile-open #app-header{background:linear-gradient(180deg,rgba(48,45,43,.94),rgba(48,45,43,.79) 52%,rgba(48,45,43,.30) 80%,transparent)}
.acting-experience{margin-top:28px;padding-top:22px;border-top:1px solid var(--line,#ffffff26)}.acting-experience h3{margin:0 0 14px;font-size:17px;font-weight:500}.acting-experience .tag{overflow-wrap:anywhere;max-width:100%}.acting-experience-editor{border:0;padding:0;margin:12px 0 0;min-width:0}.acting-experience-editor legend{font-weight:600;margin-bottom:8px}#experience-error:empty{display:none}#experience-error{margin-top:8px}


/* Shared typed experience tags: compact tokens, no checkbox options. */
.experience-entry{border:1px solid #8887;border-radius:12px;padding:10px 12px;background:transparent;min-width:0}.experience-entry:focus-within{border-color:#92b8a5;box-shadow:0 0 0 2px #92b8a514}.experience-token-list{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.experience-token-list:empty{display:none}.experience-token,.td-experience-token>button{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:28px;border:1px solid #8885;border-radius:7px;background:#8881;color:inherit;font:inherit;font-size:12px;line-height:1.5;padding:3px 9px;cursor:pointer;text-align:left;overflow-wrap:anywhere}.experience-token>span,.td-experience-token>button>span{font-size:16px;color:#999;flex-shrink:0}.experience-token:hover,.td-experience-token>button:hover{border-color:#92b8a5;background:#92b8a512}.experience-input-row{display:flex;align-items:center;gap:4px;margin-top:5px;min-width:0}.experience-input-row input,#td-dialog .experience-input-row input{flex:1;width:100%;min-width:0;border:0!important;box-shadow:none!important;background:transparent!important;color:inherit;padding:10px 0!important;font:inherit;font-size:13px}.experience-input-row>button{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;padding:10px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.experience-input-row>button:hover{background:#8882}.experience-input-row>button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}.acting-experience .tag{padding:4px 10px;font-size:12px;border-radius:7px;line-height:1.5}

/* FB08: long authored credit titles/roles wrap inside the vertical credits list. */
.work-row>div{min-width:0}.work-row :is(h3,p){overflow-wrap:anywhere}

/* FB08: keep authored language names and proficiency readable together. */
.language-row{min-width:0;overflow-wrap:anywhere}.language-row>span{flex:0 0 auto}
/* A phone clip this browser cannot play yet: quiet placeholder until the service converts it (owner request 16 Oct 2026). */
.video-converting{position:absolute;inset:0;background:linear-gradient(135deg,#1d2422,#2c3431)}

/* Work permit (owner decisions 16 Oct 2026) */
.work-permit-line{margin:8px 0 0;font-size:13px;line-height:1.5;color:inherit;opacity:.92}
.work-permit-line span{display:block;font-size:12px;opacity:.8}
.work-rights-notice{margin:12px 0 0;padding:10px 12px;border-radius:10px;font-size:14px;line-height:1.55;background:#fcf0dc;color:#5d3a07;border:1px solid #ecd3a6}
.work-rights-notice.soon{background:#eef2e4;color:#33461f;border-color:#cfdab7}
/* FIX-LIST s1 item 2 (owner 31 Oct 2026): the old demo footer text is gone; an empty footer takes no space. */
#footer:empty{display:none}

/* Owner 31 Oct 2026 (FIX-LIST 1.9 / B-38): photo thumbnails in the editor are 4:5 like every profile photo, and new photos are cropped in a fixed 4:5 frame (profile.js openPhotoCrop). Was: a 175px-high thumbnail of any shape and no crop step. */
.media-item:has(img) .media-preview{height:auto;aspect-ratio:4/5}
.photo-crop-dialog{width:min(460px,calc(100% - 24px))}.photo-crop-frame{position:relative;width:min(100%,300px,calc(38dvh * .8));aspect-ratio:4/5;margin:14px auto 16px;overflow:hidden;border-radius:10px;background:#1b1c1e;touch-action:none;cursor:grab;user-select:none}.photo-crop-frame:active{cursor:grabbing}.photo-crop-frame img{position:absolute;max-width:none;display:block;pointer-events:none}.photo-crop-frame:after{content:'';position:absolute;inset:0;border:1px solid #ffffff80;border-radius:inherit;pointer-events:none}.photo-crop-controls{display:grid;gap:6px}.photo-crop-control{display:grid;grid-template-columns:minmax(80px,auto) minmax(0,1fr);align-items:center;gap:12px;font-size:13px;min-height:44px}.photo-crop-control input{width:100%;min-height:44px;margin:0}.photo-crop-control input:disabled{opacity:.4}
/* QA BUG-41: a refused publish shows its reason under the field it names, across the whole row. */
.form-grid>.field-error,.editor-item .field-error{grid-column:1/-1;margin:-8px 0 0}

/* Fix round 11 Nov 2026 item 112 (re-check 12 Nov): a work-experience chip, a button that removes it ("นำออก …"), is at least 44 px tall.
   Was: 33 px tall. */
.experience-token,.td-experience-token>button{min-height:44px}
