/* Only bridge V13 forms/data and mobile cards. Original V11E styles are unchanged. */
.content .card{background:white;border:1px solid var(--line);border-radius:15px;margin:15px 0 18px;box-shadow:var(--shadow);padding:20px 22px;min-width:0}.content .card h2{font-size:16px;margin:0 0 12px}.content label{display:block;font-weight:650;font-size:12px;color:#55475a}.content input:not([type=hidden]):not([type=checkbox]),.content select{display:block;width:100%;border:1px solid #e1d6e2;border-radius:8px;padding:10px 12px;margin:5px 0 10px;background:white;color:var(--ink)}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.fields>*{min-width:0}.content button:not(.menu-toggle),.content .btn{border:1px solid transparent;border-radius:9px;padding:10px 14px;background:var(--plum);color:white;font-size:12px;font-weight:750;cursor:pointer}.content .btn.outline,.content button.secondary,.content .btn.secondary{background:white;color:var(--plum);border-color:#dccedb}.content button.danger{background:#a03b3b}.inline{display:inline-block;margin:3px;vertical-align:middle}.tag{display:inline-block;background:#fff5e7;color:#a16b24;border-radius:100px;padding:4px 9px;font-size:11px;font-weight:750}.tag.good{background:#e8f6ee;color:#167951}.tag.bad{background:#fdecef;color:#bf405a}.photo{width:64px;height:80px;object-fit:contain;border-radius:7px}.cell-value{min-width:0;overflow-wrap:anywhere}.data-table td{white-space:normal}.data-table td details{min-width:140px}.table-search{width:min(245px,100%)}.optional-fields{margin:12px 0}summary{cursor:pointer}.content code{overflow-wrap:anywhere}.entry .v11-check input{width:auto}.entry .f{font-weight:600}.sidebar .navlink{min-height:40px}
@media(max-width:800px){.shell{min-width:0}.sidebar{position:fixed;left:-290px;top:0;width:260px;max-width:85vw;height:100dvh;transition:left .2s}.sidebar.open{left:0}.sidebar .navlink{min-height:48px;font-size:14px}.top .menu-toggle{display:block;position:relative;z-index:60}.top{height:auto;min-height:58px;padding:8px 14px;gap:8px}.topactions{gap:6px}.clock,.crumb{display:none}.content{padding:14px 12px;max-width:100%}.content .card,.panel{padding:12px;min-width:0}.panel-head{padding:10px 2px}.content .pagehead{align-items:flex-start;flex-direction:column;gap:8px}.content .pagehead h1{font-size:25px}.content .fields{display:block}.content input:not([type=hidden]):not([type=checkbox]),.content select,.content button:not(.menu-toggle),.content .btn{min-height:48px;font-size:16px;max-width:100%}.content form>button{width:100%;margin-top:8px}.inline{display:block;width:100%;margin:8px 0}.scroll{overflow:visible;max-height:none}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block;width:100%;min-width:0;max-width:100%;white-space:normal}.data-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.data-table tr{background:white;border:1px solid var(--line);border-radius:12px;padding:10px;margin:10px 0}.data-table td{display:grid;grid-template-columns:minmax(65px,34%) minmax(0,1fr);gap:8px;padding:9px 0;font-size:14px;overflow-wrap:anywhere}.data-table td::before{content:attr(data-label);font-size:12px;font-weight:700;color:var(--muted)}.data-table td.cell-action,.data-table td.cell-photo,.data-table td.empty{display:block}.data-table td.cell-photo::before,.data-table td.empty::before{display:none}.data-table td .photo{width:100%;height:180px;object-fit:contain}.table-tools{padding:0 0 8px}.table-search{min-width:0;max-width:100%}.content details{min-width:0;max-width:100%}.revenue-grid,.two-cols{grid-template-columns:minmax(0,1fr)}.metric{min-width:0}.metric-value{overflow-wrap:anywhere}.tag{max-width:100%;white-space:normal}.content .btn.call{display:block;text-align:center}.sidebar.open{z-index:50}.top{z-index:60}.entry input{font-size:16px!important}}

[hidden]{display:none!important}
/* V11E studio: scoped rose/sand palette, original gérant dashboard untouched. */
.studio-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 2px 6px;color:#432b2a}.studio-hero h2{font:700 clamp(24px,4vw,36px)/1.2 Georgia,serif;margin:5px 0}.studio-hero p{margin:4px 0;color:#8a6c68}.studio-hero img{width:88px;height:88px;border-radius:50%;border:5px solid white;box-shadow:0 10px 24px #724d3e12;object-fit:cover}.content .batch-studio{border-color:#ecdcd6;background:#fffefd;border-radius:22px;color:#432b2a}.batch-studio .batch-common{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-camera-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.content .camera-tile{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:130px;text-align:center;gap:6px;border:1.5px dashed #cba99d;background:#fffaf8;color:#432b2a;border-radius:18px;padding:10px;cursor:pointer}.camera-tile span{font-size:30px}.camera-tile strong{font-size:16px}.camera-tile small{font-weight:500;color:#8a6c68}.batch-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.batch-title span{font-size:12px;color:#8a6c68}.batch-row{display:grid;grid-template-columns:82px minmax(0,1fr) 44px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #ecdcd6}.batch-row img{width:82px;height:100px;object-fit:contain;background:#fff8f5;border-radius:12px}.batch-row label{min-width:0}.content .batch-row button{background:#f7ece8;color:#432b2a;font-size:18px;min-height:44px;padding:8px}.batch-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.batch-buttons button{flex:1;min-width:160px}.content .batch-buttons .studio-primary{background:linear-gradient(115deg,#ae6d65,#d39888);color:white}.content button:disabled{opacity:.45;cursor:not-allowed}.permission-grid{display:grid;gap:7px;min-width:170px}.permission-check{display:flex!important;align-items:center;gap:7px}.permission-check input{width:20px;height:20px;flex:none}.team-shell{min-height:100dvh;background:#f8f6f9;color:#281c2a}.team-top{background:#482340;color:white;display:flex;align-items:center;justify-content:space-between;padding:15px max(16px,calc((100vw - 760px)/2));gap:12px}.team-brand{display:flex;align-items:center;gap:10px;color:white;min-width:0}.team-brand img{width:44px;height:44px;border-radius:13px;object-fit:cover}.team-brand strong{display:block;font-size:13px;letter-spacing:.08em}.team-brand small{display:block;color:#ecd1df;font-size:12px}.team-account{color:white;border:1px solid #ffffff44;border-radius:12px;padding:10px 12px;font-size:12px;white-space:nowrap}.team-content.content{max-width:760px;margin:0 auto;padding:20px 16px;min-width:0}.team-welcome{background:linear-gradient(125deg,#482340,#78456a);color:white;border-radius:22px;padding:24px;margin:0 0 22px;box-shadow:0 12px 26px #4823401b}.team-welcome small{font-size:11px;letter-spacing:.14em;color:#ecd1df;font-weight:700}.team-welcome h1,.team-welcome h2{margin:8px 0 2px;font-size:26px;line-height:1.25;color:white}.team-welcome p{margin:6px 0 0;color:#f4e3ec}.team-section-title{font-size:18px;margin:16px 0 10px}.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.team-tile{min-width:0;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:12px;background:white;border:1px solid #e8dee9;box-shadow:0 4px 14px #48234008;border-radius:17px;padding:16px;color:#482340;min-height:126px;text-decoration:none}.team-icon{font-size:26px;background:#f5e8ef;border-radius:12px;display:grid;place-items:center;width:45px;height:45px;grid-column:1/3}.team-tile strong{font-size:15px;overflow-wrap:anywhere;align-self:center}.team-chevron{font-size:24px;line-height:1;align-self:center;color:#ac7f99}.team-page-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.team-page-head h1{font-size:26px;margin:4px 0}.team-refresh{display:grid;place-items:center;width:44px;height:44px;background:white;border-radius:13px;border:1px solid var(--line);font-size:22px}.team-nav{max-width:760px;margin:8px auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:6px;padding:10px 16px;background:white;border-radius:16px}.team-nav a{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:11px;line-height:1.2;padding:6px;color:#482340;border-radius:10px}.team-nav a span{font-size:20px;margin-bottom:4px}.team-nav a[aria-current=page]{background:#f0dce8;font-weight:750}.team-footer{max-width:760px;margin:auto;padding:12px 16px 24px}.team-footer button{border:1px solid #dccedb;background:white;color:#482340;border-radius:10px;min-height:44px;padding:10px 16px;width:100%;font-weight:700}.team-content .table-search{width:100%}.team-content .data-table tr{box-shadow:0 4px 12px #48234008}.team-content .data-table td{border-bottom:1px solid #f1eaf1}.team-content .data-table td:last-child{border-bottom:0}.team-content .data-table td.cell-action{background:#faf7fa;padding:10px;border-radius:12px}.team-content .tag{font-size:12px}
@media(max-width:800px){.team-content.content{padding:18px 14px 10px}.team-top{padding:12px 14px}.team-nav{margin:12px 14px;grid-template-columns:repeat(3,minmax(0,1fr))}.team-welcome{padding:20px}.team-grid{gap:10px}.team-tile{padding:14px;min-height:112px}.studio-hero img{width:64px;height:64px}.studio-camera-grid{gap:8px}.content .camera-tile{min-height:112px}.camera-tile strong{font-size:14px}.batch-buttons{display:block}.batch-buttons button{width:100%;margin-bottom:6px}.batch-row{grid-template-columns:70px minmax(0,1fr) 40px;gap:8px}.batch-row img{width:70px;height:88px}.content .batch-row button{min-width:40px}.team-content .data-table td{font-size:14px}.team-content .data-table td::before{font-size:13px}.team-content .card{padding:14px;border-radius:17px}}
.team-stats{margin-bottom:20px}.team-stat{display:flex;flex-direction:column;gap:4px;padding:14px 16px;background:#fff;border:1px solid #e8dee9;border-radius:16px;color:#482340}.team-stat strong{font-size:29px;line-height:1.15}.team-stat span{font-size:13px;font-weight:650;color:#786274}
/* V13 operational features. Preserve the existing manager shell. */
.cal-toolbar,.cal-filters,.cal-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.cal-toolbar{justify-content:space-between}.cal-toolbar h2{margin:0}.cal-legend span{font-size:12px;padding:5px 8px;border:1px solid #e8dee9;border-radius:8px}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.cal-weekday{text-align:center;font-size:12px;font-weight:700;color:#795d75;padding:5px 0}.cal-cell,.cal-blank{min-height:74px;border-radius:9px;padding:7px;min-width:0}.cal-cell{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #e3d8e2;color:#332032;text-decoration:none}.cal-none{background:#fff}.cal-red{background:#fce0e1;color:#98262f;border-color:#efb8bd}.cal-green{background:#def1e4;color:#215b38;border-color:#b4d9c0}.cal-today{outline:2px solid #76446d;outline-offset:-2px}.cal-cell b{font-size:15px}.cal-count{font-size:19px;font-weight:700}.cal-cell small{font-size:10px;overflow-wrap:anywhere}.cal-order{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #eee4ed}.ops-messenger{display:grid;grid-template-columns:minmax(200px,28%) minmax(0,1fr);gap:14px}.ops-chats,.ops-thread{min-width:0}.ops-chat-link{display:block;color:#482340;border-bottom:1px solid #eee4ed;padding:12px 8px;overflow-wrap:anywhere}.ops-chat-link.active{background:#f1e4ee;border-radius:10px}.ops-chat-link strong,.ops-chat-link small,.ops-chat-link span{display:block}.ops-chat-link small{font-size:11px;color:#846b80}.ops-chat-link span{font-size:13px;color:#695a67}.chat-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ops-messages{display:flex;flex-direction:column;gap:10px;max-height:520px;overflow:auto;background:#f8f4f7;border-radius:14px;padding:15px;margin:14px 0}.ops-bubble{border:1px solid #e6dbe4;background:#fff;padding:11px;border-radius:15px;max-width:90%;align-self:flex-start;overflow-wrap:anywhere}.ops-bubble.operator{align-self:flex-end;background:#e6f1e9;border-color:#cde2d2}.ops-bubble small{display:block;font-size:10px;color:#786573;margin-bottom:5px}.ops-thread textarea{width:100%;min-height:90px;padding:12px;border:1px solid #dfcfdb;border-radius:10px;font:inherit}.team-welcome{background:linear-gradient(100deg,#33182eed 0%,#482340d9 48%,#48234040 100%),url('/static/amazone-portrait.jpg') center 40%/cover;min-height:174px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 12px 28px #48234026}.team-tile{box-shadow:0 5px 20px #4823400e;border-radius:20px}.cal-filters .selected{background:#482340;color:white}.cal-cell:focus-visible,.ops-chat-link:focus-visible{outline:2px solid #78456a}@media(max-width:800px){.ops-messenger{grid-template-columns:minmax(0,1fr)}.ops-chats{max-height:260px;overflow:auto}.cal-grid{gap:3px}.cal-cell,.cal-blank{min-height:55px;padding:4px}.cal-cell b{font-size:12px}.cal-count{font-size:14px}.cal-cell small{font-size:9px}.cal-weekday{font-size:10px}.cal-legend{gap:4px}.cal-legend span{font-size:10px}.team-welcome{min-height:165px}.team-content .ops-calendar{padding:10px}}
.ops-bubble img{display:block;width:auto;max-width:100%;max-height:300px;object-fit:contain;border-radius:10px;margin-top:8px}.team-content .ops-thread textarea{font-size:16px}
.cal-closed-note{color:#98262f;font-weight:650;background:#fff0f0;padding:10px;border-radius:8px}.cal-cell small{line-height:1.05}

.cal-availability-closed{background:#eeebef;color:#625765;border-color:#ded6df}.cal-selected{box-shadow:inset 0 0 0 2px #482340}.ops-calendar-title{margin:12px 0;font-size:17px}.cal-cell small{word-break:normal;overflow-wrap:anywhere}
